Created
February 20, 2014 08:42
-
-
Save master-q/9109334 to your computer and use it in GitHub Desktop.
A sample NetBSD kernel driver C code compiled by Ajhc Haskell compiler
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
char jhc_c_compile[] = "gcc metasepi/sys/hsbuild/rts/profile.c metasepi/sys/hsbuild/rts/rts_support.c metasepi/sys/hsbuild/rts/gc_none.c metasepi/sys/hsbuild/rts/jhc_rts.c metasepi/sys/hsbuild/lib/lib_cbits.c metasepi/sys/hsbuild/rts/gc_jgc.c metasepi/sys/hsbuild/rts/stableptr.c metasepi/sys/hsbuild/rts/conc.c -Imetasepi/sys/hsbuild/cbits -Imetasepi/sys/hsbuild metasepi/sys/hsbuild/hsmain.c -o metasepi/sys/hsbuild/hsmain.c '-std=gnu99' -D_GNU_SOURCE '-falign-functions=4' -ffast-math -Wextra -Wall -Wno-unused-parameter -fno-strict-aliasing -Wno-unused-variable -DNDEBUG -O3 '-D_JHC_GC=_JHC_GC_JGC' '-D_JHC_CONC=_JHC_CONC_CUSTOM'"; | |
char jhc_command[] = "ajhc -fffi -fcustomthread --include=metasepi/sys/hssrc --tdir=metasepi/sys/hsbuild -C -o metasepi/sys/hsbuild/hsmain.c metasepi/sys/hssrc/Main.hs"; | |
char jhc_version[] = "ajhc 0.8.0.11 (e601dfc26abce79686e41c2609ed5beb7fd7f4d5)"; | |
#include "jhc_rts_header.h" | |
struct s_caches_pub { | |
struct s_cache *cFDev_AudioIf_p__StreamFilterList__req__size$d2; | |
struct s_cache *cFDev_AudioIf_p__AudioParamsT__channels$d2; | |
struct s_cache *cP1__Foreign_C_String_withCString$d4; | |
struct s_cache *cP1__W$__fKern_SubrPrf_printfS1$d3; | |
struct s_cache *cP1__W$__fKern_SubrPrf_printfP1$d3; | |
struct s_cache *cP1__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d3; | |
struct s_cache *cP1__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d3; | |
struct s_cache *cP1__Dev_Pci_Auich_auichWriteCodec$d12; | |
struct s_cache *cP1__FE$__CCall_auichSetParams$d4; | |
struct s_cache *cP1__FE$__CCall_auichSetParams$d6; | |
struct s_cache *cP1__FE$__CCall_auichSetParams$d8; | |
struct s_cache *cP1__FE$__CCall_auichSetParams$d10; | |
struct s_cache *cP1__FE$__CCall_auichSetParams$d13; | |
struct s_cache *cP1__FE$__CCall_auichSetParams$d15; | |
struct s_cache *cP1__FE$__CCall_auichSetParams$d17; | |
struct s_cache *cCJhc_Type_Word_WordPtr; | |
struct s_cache *cCJhc_Type_Basic_Right; | |
struct s_cache *cCJhc_Type_Basic_Left; | |
struct s_cache *cCJhc_Type_Word_Word; | |
struct s_cache *cCJhc_Type_Ptr_Ptr; | |
struct s_cache *cCJhc_Type_Word_Int; | |
struct s_cache *cCJhc_Prim_Prim_$x3a; | |
struct s_cache *cCJhc_Type_Word_Word32; | |
struct s_cache *cP1__FE$__CCall_auichSetParams$d19; | |
struct s_cache *cCJhc_Prim_Prim_$LccR; | |
struct s_cache *cFFE$__CCall_auichSetParams$d2; | |
struct s_cache *cFFE$__CCall_auichSetParams$d3; | |
struct s_cache *cP2__FE$__CCall_auichSetParams$d4; | |
struct s_cache *cFFE$__CCall_auichSetParams$d5; | |
struct s_cache *cP2__FE$__CCall_auichSetParams$d6; | |
struct s_cache *cFFE$__CCall_auichSetParams$d7; | |
struct s_cache *cP2__FE$__CCall_auichSetParams$d8; | |
struct s_cache *cFFE$__CCall_auichSetParams$d9; | |
struct s_cache *cP2__FE$__CCall_auichSetParams$d10; | |
struct s_cache *cFFE$__CCall_auichSetParams$d11; | |
struct s_cache *cFFE$__CCall_auichSetParams$d12; | |
struct s_cache *cP2__FE$__CCall_auichSetParams$d13; | |
struct s_cache *cFFE$__CCall_auichSetParams$d14; | |
struct s_cache *cP2__FE$__CCall_auichSetParams$d15; | |
struct s_cache *cFFE$__CCall_auichSetParams$d16; | |
struct s_cache *cP2__FE$__CCall_auichSetParams$d17; | |
struct s_cache *cFFE$__CCall_auichSetParams$d18; | |
struct s_cache *cP2__FE$__CCall_auichSetParams$d19; | |
struct s_cache *cP1__Dev_Pci_Auich_auichWriteCodec$d2; | |
struct s_cache *cFDev_Pci_Auich_auichWriteCodec$d4; | |
struct s_cache *cP1__Dev_Pci_Auich_auichWriteCodec$d10; | |
struct s_cache *cP2__Dev_Pci_Auich_auichWriteCodec$d11; | |
struct s_cache *cP2__Dev_Pci_Auich_auichWriteCodec$d12; | |
struct s_cache *cFDev_Pci_Auich_auichWriteCodec$d8; | |
struct s_cache *cP1__Dev_Pci_Auich_auichWriteCodec$d6; | |
struct s_cache *cFDev_Pci_Auich_auichWriteCodec$d2; | |
struct s_cache *cP1__Dev_Pci_Auich_auichWriteCodec$d3; | |
struct s_cache *cFW$__fDev_Pci_Auich_Intr_auichIntrPipe$d2; | |
struct s_cache *cP1__W$__fDev_Pci_Auich_auichHaltPipe$d2; | |
struct s_cache *cFW$__fDev_Pci_Auich_auichHaltPipe$d4; | |
struct s_cache *cP1__W$__fDev_Pci_Auich_auichHaltPipe$d9; | |
struct s_cache *cFW$__fDev_Pci_Auich_auichHaltPipe$d7; | |
struct s_cache *cP1__W$__fDev_Pci_Auich_auichHaltPipe$d5; | |
struct s_cache *cFW$__fDev_Pci_Auich_auichHaltPipe$d2; | |
struct s_cache *cP1__W$__fDev_Pci_Auich_auichHaltPipe$d3; | |
struct s_cache *cP2__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d2; | |
struct s_cache *cP2__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d3; | |
struct s_cache *cFDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d4; | |
struct s_cache *cFDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d5; | |
struct s_cache *cFDev_Pci_Auich_Ptr_p__AuichRing__blksize$d2; | |
struct s_cache *cP1__W$__fDev_Pci_Auich_auichAllocmem$d2; | |
struct s_cache *cCJhc_Prim_Prim_$LcR; | |
struct s_cache *cP1__W$__fDev_Pci_Auich_auichAllocmem$d3; | |
struct s_cache *cP1__W$__fDev_Pci_Auich_auichAllocmem$d4; | |
struct s_cache *cFDev_Pci_Auich_Ptr_p__AuichSoftc__iot$d2; | |
struct s_cache *cFDev_Pci_Auich_Ptr_p__AuichSoftc__codec__if$d2; | |
struct s_cache *cP2__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d2; | |
struct s_cache *cP2__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d3; | |
struct s_cache *cP2__W$__fKern_SubrPrf_printfP1$d2; | |
struct s_cache *cP2__W$__fKern_SubrPrf_printfP1$d3; | |
struct s_cache *cP2__W$__fKern_SubrPrf_printfS1$d2; | |
struct s_cache *cP2__W$__fKern_SubrPrf_printfS1$d3; | |
struct s_cache *cP2__Foreign_C_String_withCString$d2; | |
struct s_cache *cP2__Foreign_C_String_withCString$d4; | |
struct s_cache *cFR$__fJhc_Basics_$pp; | |
}; | |
#include <HsFFI.h> | |
#include <hs_extern.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
enum { | |
CJhc_Prim_Prim_$BE = 1, | |
CJhc_Prim_Prim_$LR = 0, | |
CJhc_Prim_Prim_$x3a = 0, | |
CJhc_Type_Basic_Char = 0, | |
CJhc_Type_Basic_Left = 0, | |
CJhc_Type_Basic_Right = 1, | |
CJhc_Type_Ptr_Ptr = 0, | |
CJhc_Type_Word_Int = 0, | |
CJhc_Type_Word_Word32 = 0, | |
CJhc_Type_Word_WordPtr = 0, | |
P1__Dev_Pci_Auich_auichWriteCodec$d10 = 0, | |
P1__Dev_Pci_Auich_auichWriteCodec$d11 = 1, | |
P1__Dev_Pci_Auich_auichWriteCodec$d12 = 2, | |
P1__Dev_Pci_Auich_auichWriteCodec$d2 = 3, | |
P1__Dev_Pci_Auich_auichWriteCodec$d3 = 4, | |
P1__Dev_Pci_Auich_auichWriteCodec$d5 = 5, | |
P1__Dev_Pci_Auich_auichWriteCodec$d6 = 6, | |
P1__Dev_Pci_Auich_auichWriteCodec$d9 = 7, | |
P1__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d2 = 8, | |
P1__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d3 = 9, | |
P1__FE$__CCall_auichSetParams$d10 = 10, | |
P1__FE$__CCall_auichSetParams$d13 = 11, | |
P1__FE$__CCall_auichSetParams$d15 = 12, | |
P1__FE$__CCall_auichSetParams$d17 = 13, | |
P1__FE$__CCall_auichSetParams$d19 = 14, | |
P1__FE$__CCall_auichSetParams$d4 = 15, | |
P1__FE$__CCall_auichSetParams$d6 = 16, | |
P1__FE$__CCall_auichSetParams$d8 = 17, | |
P1__Foreign_C_String_withCString$d2 = 18, | |
P1__Foreign_C_String_withCString$d4 = 19, | |
P1__W$__fDev_Pci_Auich_auichAllocmem$d2 = 20, | |
P1__W$__fDev_Pci_Auich_auichAllocmem$d3 = 21, | |
P1__W$__fDev_Pci_Auich_auichAllocmem$d4 = 22, | |
P1__W$__fDev_Pci_Auich_auichHaltPipe$d2 = 23, | |
P1__W$__fDev_Pci_Auich_auichHaltPipe$d3 = 24, | |
P1__W$__fDev_Pci_Auich_auichHaltPipe$d5 = 25, | |
P1__W$__fDev_Pci_Auich_auichHaltPipe$d6 = 26, | |
P1__W$__fDev_Pci_Auich_auichHaltPipe$d8 = 27, | |
P1__W$__fDev_Pci_Auich_auichHaltPipe$d9 = 28, | |
P1__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d2 = 29, | |
P1__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d3 = 30, | |
P1__W$__fKern_SubrPrf_printfP1$d2 = 31, | |
P1__W$__fKern_SubrPrf_printfP1$d3 = 32, | |
P1__W$__fKern_SubrPrf_printfS1$d2 = 33, | |
P1__W$__fKern_SubrPrf_printfS1$d3 = 34, | |
P2__Dev_Pci_Auich_auichWriteCodec$d11 = 35, | |
P2__Dev_Pci_Auich_auichWriteCodec$d12 = 36, | |
P2__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d2 = 37, | |
P2__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d3 = 38, | |
P2__FE$__CCall_auichSetParams$d10 = 39, | |
P2__FE$__CCall_auichSetParams$d13 = 40, | |
P2__FE$__CCall_auichSetParams$d15 = 41, | |
P2__FE$__CCall_auichSetParams$d17 = 42, | |
P2__FE$__CCall_auichSetParams$d19 = 43, | |
P2__FE$__CCall_auichSetParams$d4 = 44, | |
P2__FE$__CCall_auichSetParams$d6 = 45, | |
P2__FE$__CCall_auichSetParams$d8 = 46, | |
P2__Foreign_C_String_withCString$d2 = 47, | |
P2__Foreign_C_String_withCString$d4 = 48, | |
P2__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d2 = 49, | |
P2__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d3 = 50, | |
P2__W$__fKern_SubrPrf_printfP1$d2 = 51, | |
P2__W$__fKern_SubrPrf_printfP1$d3 = 52, | |
P2__W$__fKern_SubrPrf_printfS1$d2 = 53, | |
P2__W$__fKern_SubrPrf_printfS1$d3 = 54 | |
}; | |
struct sCJhc_Prim_Prim_$LcR A_ALIGNED; | |
struct sCJhc_Prim_Prim_$LccR A_ALIGNED; | |
struct sCJhc_Prim_Prim_$x3a A_ALIGNED; | |
struct sCJhc_Type_Basic_Left A_ALIGNED; | |
struct sCJhc_Type_Basic_Right A_ALIGNED; | |
struct sCJhc_Type_Ptr_Ptr A_ALIGNED; | |
struct sCJhc_Type_Word_Int A_ALIGNED; | |
struct sCJhc_Type_Word_Word A_ALIGNED; | |
struct sCJhc_Type_Word_Word32 A_ALIGNED; | |
struct sCJhc_Type_Word_WordPtr A_ALIGNED; | |
struct sFDev_AudioIf_p__AudioParamsT__channels$d2 A_ALIGNED; | |
struct sFDev_AudioIf_p__StreamFilterList__req__size$d2 A_ALIGNED; | |
struct sFDev_Pci_Auich_Ptr_p__AuichRing__blksize$d2 A_ALIGNED; | |
struct sFDev_Pci_Auich_Ptr_p__AuichSoftc__codec__if$d2 A_ALIGNED; | |
struct sFDev_Pci_Auich_Ptr_p__AuichSoftc__iot$d2 A_ALIGNED; | |
struct sFDev_Pci_Auich_auichWriteCodec$d2 A_ALIGNED; | |
struct sFDev_Pci_Auich_auichWriteCodec$d4 A_ALIGNED; | |
struct sFDev_Pci_Auich_auichWriteCodec$d8 A_ALIGNED; | |
struct sFDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d4 A_ALIGNED; | |
struct sFDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d5 A_ALIGNED; | |
struct sFDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d7 A_ALIGNED; | |
struct sFFE$__CCall_auichSetParams$d11 A_ALIGNED; | |
struct sFFE$__CCall_auichSetParams$d12 A_ALIGNED; | |
struct sFFE$__CCall_auichSetParams$d14 A_ALIGNED; | |
struct sFFE$__CCall_auichSetParams$d16 A_ALIGNED; | |
struct sFFE$__CCall_auichSetParams$d18 A_ALIGNED; | |
struct sFFE$__CCall_auichSetParams$d2 A_ALIGNED; | |
struct sFFE$__CCall_auichSetParams$d3 A_ALIGNED; | |
struct sFFE$__CCall_auichSetParams$d5 A_ALIGNED; | |
struct sFFE$__CCall_auichSetParams$d7 A_ALIGNED; | |
struct sFFE$__CCall_auichSetParams$d9 A_ALIGNED; | |
struct sFR$__fJhc_Basics_$pp A_ALIGNED; | |
struct sFW$__fDev_Pci_Auich_Intr_auichIntrPipe$d2 A_ALIGNED; | |
struct sFW$__fDev_Pci_Auich_auichHaltPipe$d2 A_ALIGNED; | |
struct sFW$__fDev_Pci_Auich_auichHaltPipe$d4 A_ALIGNED; | |
struct sFW$__fDev_Pci_Auich_auichHaltPipe$d7 A_ALIGNED; | |
struct sP1__Dev_Pci_Auich_auichWriteCodec$d10 A_ALIGNED; | |
struct sP1__Dev_Pci_Auich_auichWriteCodec$d11 A_ALIGNED; | |
struct sP1__Dev_Pci_Auich_auichWriteCodec$d12 A_ALIGNED; | |
struct sP1__Dev_Pci_Auich_auichWriteCodec$d2 A_ALIGNED; | |
struct sP1__Dev_Pci_Auich_auichWriteCodec$d3 A_ALIGNED; | |
struct sP1__Dev_Pci_Auich_auichWriteCodec$d6 A_ALIGNED; | |
struct sP1__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d2 A_ALIGNED; | |
struct sP1__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d3 A_ALIGNED; | |
struct sP1__FE$__CCall_auichSetParams$d10 A_ALIGNED; | |
struct sP1__FE$__CCall_auichSetParams$d13 A_ALIGNED; | |
struct sP1__FE$__CCall_auichSetParams$d15 A_ALIGNED; | |
struct sP1__FE$__CCall_auichSetParams$d17 A_ALIGNED; | |
struct sP1__FE$__CCall_auichSetParams$d19 A_ALIGNED; | |
struct sP1__FE$__CCall_auichSetParams$d4 A_ALIGNED; | |
struct sP1__FE$__CCall_auichSetParams$d6 A_ALIGNED; | |
struct sP1__FE$__CCall_auichSetParams$d8 A_ALIGNED; | |
struct sP1__Foreign_C_String_withCString$d2 A_ALIGNED; | |
struct sP1__Foreign_C_String_withCString$d4 A_ALIGNED; | |
struct sP1__W$__fDev_Pci_Auich_auichAllocmem$d2 A_ALIGNED; | |
struct sP1__W$__fDev_Pci_Auich_auichAllocmem$d3 A_ALIGNED; | |
struct sP1__W$__fDev_Pci_Auich_auichAllocmem$d4 A_ALIGNED; | |
struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d2 A_ALIGNED; | |
struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d3 A_ALIGNED; | |
struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d5 A_ALIGNED; | |
struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d9 A_ALIGNED; | |
struct sP1__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d2 A_ALIGNED; | |
struct sP1__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d3 A_ALIGNED; | |
struct sP1__W$__fKern_SubrPrf_printfP1$d2 A_ALIGNED; | |
struct sP1__W$__fKern_SubrPrf_printfP1$d3 A_ALIGNED; | |
struct sP1__W$__fKern_SubrPrf_printfS1$d2 A_ALIGNED; | |
struct sP1__W$__fKern_SubrPrf_printfS1$d3 A_ALIGNED; | |
struct sP2__Dev_Pci_Auich_auichWriteCodec$d11 A_ALIGNED; | |
struct sP2__Dev_Pci_Auich_auichWriteCodec$d12 A_ALIGNED; | |
struct sP2__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d2 A_ALIGNED; | |
struct sP2__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d3 A_ALIGNED; | |
struct sP2__FE$__CCall_auichSetParams$d10 A_ALIGNED; | |
struct sP2__FE$__CCall_auichSetParams$d13 A_ALIGNED; | |
struct sP2__FE$__CCall_auichSetParams$d15 A_ALIGNED; | |
struct sP2__FE$__CCall_auichSetParams$d17 A_ALIGNED; | |
struct sP2__FE$__CCall_auichSetParams$d19 A_ALIGNED; | |
struct sP2__FE$__CCall_auichSetParams$d4 A_ALIGNED; | |
struct sP2__FE$__CCall_auichSetParams$d6 A_ALIGNED; | |
struct sP2__FE$__CCall_auichSetParams$d8 A_ALIGNED; | |
struct sP2__Foreign_C_String_withCString$d2 A_ALIGNED; | |
struct sP2__Foreign_C_String_withCString$d4 A_ALIGNED; | |
struct sP2__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d2 A_ALIGNED; | |
struct sP2__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d3 A_ALIGNED; | |
struct sP2__W$__fKern_SubrPrf_printfP1$d2 A_ALIGNED; | |
struct sP2__W$__fKern_SubrPrf_printfP1$d3 A_ALIGNED; | |
struct sP2__W$__fKern_SubrPrf_printfS1$d2 A_ALIGNED; | |
struct sP2__W$__fKern_SubrPrf_printfS1$d3 A_ALIGNED; | |
struct sCJhc_Prim_Prim_$LcR { | |
sptr_t a1; | |
sptr_t a2; | |
}; | |
struct sCJhc_Prim_Prim_$LccR { | |
sptr_t a1; | |
sptr_t a2; | |
sptr_t a3; | |
}; | |
struct sCJhc_Prim_Prim_$x3a { | |
sptr_t a1; | |
sptr_t a2; | |
}; | |
struct sCJhc_Type_Basic_Left { | |
what_t what; | |
sptr_t a1; | |
}; | |
struct sCJhc_Type_Basic_Right { | |
what_t what; | |
sptr_t a1; | |
}; | |
struct sCJhc_Type_Ptr_Ptr { | |
uintptr_t a1; | |
}; | |
struct sCJhc_Type_Word_Int { | |
uint32_t a1; | |
}; | |
struct sCJhc_Type_Word_Word { | |
uint32_t a1; | |
}; | |
struct sCJhc_Type_Word_Word32 { | |
uint32_t a1; | |
}; | |
struct sCJhc_Type_Word_WordPtr { | |
uintptr_t a1; | |
}; | |
struct sFDev_AudioIf_p__AudioParamsT__channels$d2 { | |
fptr_t head; | |
sptr_t a1; | |
}; | |
struct sFDev_AudioIf_p__StreamFilterList__req__size$d2 { | |
fptr_t head; | |
sptr_t a1; | |
}; | |
struct sFDev_Pci_Auich_Ptr_p__AuichRing__blksize$d2 { | |
fptr_t head; | |
wptr_t a1; | |
}; | |
struct sFDev_Pci_Auich_Ptr_p__AuichSoftc__codec__if$d2 { | |
fptr_t head; | |
wptr_t a1; | |
}; | |
struct sFDev_Pci_Auich_Ptr_p__AuichSoftc__iot$d2 { | |
fptr_t head; | |
wptr_t a1; | |
}; | |
struct sFDev_Pci_Auich_auichWriteCodec$d2 { | |
fptr_t head; | |
uintptr_t a1; | |
uintptr_t a2; | |
uintptr_t a3; | |
uint32_t a4; | |
}; | |
struct sFDev_Pci_Auich_auichWriteCodec$d4 { | |
fptr_t head; | |
wptr_t a1; | |
}; | |
struct sFDev_Pci_Auich_auichWriteCodec$d8 { | |
fptr_t head; | |
sptr_t a1; | |
uint32_t a2; | |
}; | |
struct sFDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d4 { | |
fptr_t head; | |
uintptr_t a1; | |
}; | |
struct sFDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d5 { | |
fptr_t head; | |
sptr_t a1; | |
}; | |
struct sFDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d7 { | |
fptr_t head; | |
}; | |
struct sFFE$__CCall_auichSetParams$d11 { | |
fptr_t head; | |
sptr_t a1; | |
}; | |
struct sFFE$__CCall_auichSetParams$d12 { | |
fptr_t head; | |
wptr_t a1; | |
}; | |
struct sFFE$__CCall_auichSetParams$d14 { | |
fptr_t head; | |
wptr_t a1; | |
}; | |
struct sFFE$__CCall_auichSetParams$d16 { | |
fptr_t head; | |
wptr_t a1; | |
}; | |
struct sFFE$__CCall_auichSetParams$d18 { | |
fptr_t head; | |
wptr_t a1; | |
}; | |
struct sFFE$__CCall_auichSetParams$d2 { | |
fptr_t head; | |
sptr_t a1; | |
}; | |
struct sFFE$__CCall_auichSetParams$d3 { | |
fptr_t head; | |
wptr_t a1; | |
}; | |
struct sFFE$__CCall_auichSetParams$d5 { | |
fptr_t head; | |
wptr_t a1; | |
}; | |
struct sFFE$__CCall_auichSetParams$d7 { | |
fptr_t head; | |
wptr_t a1; | |
}; | |
struct sFFE$__CCall_auichSetParams$d9 { | |
fptr_t head; | |
wptr_t a1; | |
}; | |
struct sFR$__fJhc_Basics_$pp { | |
fptr_t head; | |
sptr_t a1; | |
wptr_t a2; | |
}; | |
struct sFW$__fDev_Pci_Auich_Intr_auichIntrPipe$d2 { | |
fptr_t head; | |
wptr_t a1; | |
}; | |
struct sFW$__fDev_Pci_Auich_auichHaltPipe$d2 { | |
fptr_t head; | |
uintptr_t a1; | |
uintptr_t a2; | |
uint32_t a3; | |
uint32_t a4; | |
}; | |
struct sFW$__fDev_Pci_Auich_auichHaltPipe$d4 { | |
fptr_t head; | |
wptr_t a1; | |
}; | |
struct sFW$__fDev_Pci_Auich_auichHaltPipe$d7 { | |
fptr_t head; | |
sptr_t a1; | |
uint32_t a2; | |
}; | |
struct sP1__Dev_Pci_Auich_auichWriteCodec$d10 { | |
what_t what; | |
sptr_t a1; | |
sptr_t a2; | |
}; | |
struct sP1__Dev_Pci_Auich_auichWriteCodec$d11 { | |
what_t what; | |
uintptr_t a1; | |
uintptr_t a2; | |
}; | |
struct sP1__Dev_Pci_Auich_auichWriteCodec$d12 { | |
what_t what; | |
sptr_t a1; | |
sptr_t a2; | |
}; | |
struct sP1__Dev_Pci_Auich_auichWriteCodec$d2 { | |
what_t what; | |
uintptr_t a1; | |
uintptr_t a2; | |
uintptr_t a3; | |
}; | |
struct sP1__Dev_Pci_Auich_auichWriteCodec$d3 { | |
what_t what; | |
uintptr_t a1; | |
uintptr_t a2; | |
uintptr_t a3; | |
}; | |
struct sP1__Dev_Pci_Auich_auichWriteCodec$d6 { | |
what_t what; | |
sptr_t a1; | |
sptr_t a2; | |
}; | |
struct sP1__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d2 { | |
what_t what; | |
uintptr_t a1; | |
uintptr_t a2; | |
}; | |
struct sP1__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d3 { | |
what_t what; | |
sptr_t a1; | |
sptr_t a2; | |
}; | |
struct sP1__FE$__CCall_auichSetParams$d10 { | |
what_t what; | |
sptr_t a2; | |
sptr_t a4; | |
uintptr_t a1; | |
uintptr_t a3; | |
}; | |
struct sP1__FE$__CCall_auichSetParams$d13 { | |
what_t what; | |
sptr_t a1; | |
sptr_t a4; | |
uintptr_t a2; | |
uintptr_t a3; | |
}; | |
struct sP1__FE$__CCall_auichSetParams$d15 { | |
what_t what; | |
sptr_t a2; | |
sptr_t a4; | |
uintptr_t a1; | |
uintptr_t a3; | |
}; | |
struct sP1__FE$__CCall_auichSetParams$d17 { | |
what_t what; | |
sptr_t a2; | |
sptr_t a4; | |
uintptr_t a1; | |
uintptr_t a3; | |
}; | |
struct sP1__FE$__CCall_auichSetParams$d19 { | |
what_t what; | |
sptr_t a1; | |
sptr_t a4; | |
uintptr_t a2; | |
uintptr_t a3; | |
}; | |
struct sP1__FE$__CCall_auichSetParams$d4 { | |
what_t what; | |
sptr_t a1; | |
sptr_t a4; | |
uintptr_t a2; | |
uintptr_t a3; | |
}; | |
struct sP1__FE$__CCall_auichSetParams$d6 { | |
what_t what; | |
sptr_t a1; | |
sptr_t a4; | |
uintptr_t a2; | |
uintptr_t a3; | |
}; | |
struct sP1__FE$__CCall_auichSetParams$d8 { | |
what_t what; | |
sptr_t a2; | |
sptr_t a4; | |
uintptr_t a1; | |
uintptr_t a3; | |
}; | |
struct sP1__Foreign_C_String_withCString$d2 { | |
what_t what; | |
sptr_t a1; | |
sptr_t a2; | |
uintptr_t a3; | |
}; | |
struct sP1__Foreign_C_String_withCString$d4 { | |
what_t what; | |
sptr_t a1; | |
sptr_t a2; | |
}; | |
struct sP1__W$__fDev_Pci_Auich_auichAllocmem$d2 { | |
what_t what; | |
uintptr_t a1; | |
uintptr_t a2; | |
uintptr_t a3; | |
}; | |
struct sP1__W$__fDev_Pci_Auich_auichAllocmem$d3 { | |
what_t what; | |
uintptr_t a1; | |
uintptr_t a2; | |
uintptr_t a3; | |
}; | |
struct sP1__W$__fDev_Pci_Auich_auichAllocmem$d4 { | |
what_t what; | |
uintptr_t a1; | |
uintptr_t a2; | |
}; | |
struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d2 { | |
what_t what; | |
uintptr_t a1; | |
uintptr_t a2; | |
uint32_t a3; | |
}; | |
struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d3 { | |
what_t what; | |
uintptr_t a1; | |
uintptr_t a2; | |
uint32_t a3; | |
}; | |
struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d5 { | |
what_t what; | |
sptr_t a1; | |
sptr_t a2; | |
}; | |
struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d9 { | |
what_t what; | |
sptr_t a1; | |
sptr_t a2; | |
}; | |
struct sP1__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d2 { | |
what_t what; | |
uintptr_t a1; | |
uintptr_t a3; | |
uint32_t a2; | |
}; | |
struct sP1__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d3 { | |
what_t what; | |
sptr_t a1; | |
sptr_t a2; | |
}; | |
struct sP1__W$__fKern_SubrPrf_printfP1$d2 { | |
what_t what; | |
uintptr_t a1; | |
uintptr_t a2; | |
}; | |
struct sP1__W$__fKern_SubrPrf_printfP1$d3 { | |
what_t what; | |
sptr_t a1; | |
sptr_t a2; | |
}; | |
struct sP1__W$__fKern_SubrPrf_printfS1$d2 { | |
what_t what; | |
uintptr_t a1; | |
uintptr_t a2; | |
}; | |
struct sP1__W$__fKern_SubrPrf_printfS1$d3 { | |
what_t what; | |
sptr_t a1; | |
sptr_t a2; | |
}; | |
struct sP2__Dev_Pci_Auich_auichWriteCodec$d11 { | |
what_t what; | |
uintptr_t a1; | |
}; | |
struct sP2__Dev_Pci_Auich_auichWriteCodec$d12 { | |
what_t what; | |
sptr_t a1; | |
}; | |
struct sP2__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d2 { | |
what_t what; | |
uintptr_t a1; | |
}; | |
struct sP2__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d3 { | |
what_t what; | |
sptr_t a1; | |
}; | |
struct sP2__FE$__CCall_auichSetParams$d10 { | |
what_t what; | |
sptr_t a2; | |
uintptr_t a1; | |
uintptr_t a3; | |
}; | |
struct sP2__FE$__CCall_auichSetParams$d13 { | |
what_t what; | |
sptr_t a1; | |
uintptr_t a2; | |
uintptr_t a3; | |
}; | |
struct sP2__FE$__CCall_auichSetParams$d15 { | |
what_t what; | |
sptr_t a2; | |
uintptr_t a1; | |
uintptr_t a3; | |
}; | |
struct sP2__FE$__CCall_auichSetParams$d17 { | |
what_t what; | |
sptr_t a2; | |
uintptr_t a1; | |
uintptr_t a3; | |
}; | |
struct sP2__FE$__CCall_auichSetParams$d19 { | |
what_t what; | |
sptr_t a1; | |
uintptr_t a2; | |
uintptr_t a3; | |
}; | |
struct sP2__FE$__CCall_auichSetParams$d4 { | |
what_t what; | |
sptr_t a1; | |
uintptr_t a2; | |
uintptr_t a3; | |
}; | |
struct sP2__FE$__CCall_auichSetParams$d6 { | |
what_t what; | |
sptr_t a1; | |
uintptr_t a2; | |
uintptr_t a3; | |
}; | |
struct sP2__FE$__CCall_auichSetParams$d8 { | |
what_t what; | |
sptr_t a2; | |
uintptr_t a1; | |
uintptr_t a3; | |
}; | |
struct sP2__Foreign_C_String_withCString$d2 { | |
what_t what; | |
sptr_t a1; | |
sptr_t a2; | |
}; | |
struct sP2__Foreign_C_String_withCString$d4 { | |
what_t what; | |
sptr_t a1; | |
}; | |
struct sP2__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d2 { | |
what_t what; | |
uintptr_t a1; | |
uint32_t a2; | |
}; | |
struct sP2__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d3 { | |
what_t what; | |
sptr_t a1; | |
}; | |
struct sP2__W$__fKern_SubrPrf_printfP1$d2 { | |
what_t what; | |
uintptr_t a1; | |
}; | |
struct sP2__W$__fKern_SubrPrf_printfP1$d3 { | |
what_t what; | |
sptr_t a1; | |
}; | |
struct sP2__W$__fKern_SubrPrf_printfS1$d2 { | |
what_t what; | |
uintptr_t a1; | |
}; | |
struct sP2__W$__fKern_SubrPrf_printfS1$d3 { | |
what_t what; | |
sptr_t a1; | |
}; | |
void jhc_hs_init(gc_t gc,arena_t arena) ; | |
static wptr_t E__fDev_AudioIf_p__AudioParamsT__channels$d2(gc_t gc,arena_t arena,struct sFDev_AudioIf_p__AudioParamsT__channels$d2* arg) A_STD A_FALIGNED; | |
static wptr_t E__fDev_AudioIf_p__StreamFilterList__req__size$d2(gc_t gc,arena_t arena,struct sFDev_AudioIf_p__StreamFilterList__req__size$d2* arg) A_STD A_FALIGNED; | |
static wptr_t E__fDev_Pci_Auich_Ptr_p__AuichRing__blksize$d2(gc_t gc,arena_t arena,struct sFDev_Pci_Auich_Ptr_p__AuichRing__blksize$d2* arg) A_STD A_FALIGNED; | |
static wptr_t E__fDev_Pci_Auich_Ptr_p__AuichSoftc__codec__if$d2(gc_t gc,arena_t arena,struct sFDev_Pci_Auich_Ptr_p__AuichSoftc__codec__if$d2* arg) A_STD A_FALIGNED; | |
static wptr_t E__fDev_Pci_Auich_Ptr_p__AuichSoftc__iot$d2(gc_t gc,arena_t arena,struct sFDev_Pci_Auich_Ptr_p__AuichSoftc__iot$d2* arg) A_STD A_FALIGNED; | |
static wptr_t E__fDev_Pci_Auich_auichWriteCodec$d2(gc_t gc,arena_t arena,struct sFDev_Pci_Auich_auichWriteCodec$d2* arg) A_STD A_FALIGNED; | |
static wptr_t E__fDev_Pci_Auich_auichWriteCodec$d4(gc_t gc,arena_t arena,struct sFDev_Pci_Auich_auichWriteCodec$d4* arg) A_STD A_FALIGNED; | |
static wptr_t E__fDev_Pci_Auich_auichWriteCodec$d8(gc_t gc,arena_t arena,struct sFDev_Pci_Auich_auichWriteCodec$d8* arg) A_STD A_FALIGNED; | |
static wptr_t E__fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d4(gc_t gc,arena_t arena,struct sFDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d4* arg) A_STD A_FALIGNED; | |
static wptr_t E__fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d5(gc_t gc,arena_t arena,struct sFDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d5* arg) A_STD A_FALIGNED; | |
static wptr_t E__fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d7(gc_t gc,arena_t arena,struct sFDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d7* arg) A_STD A_FALIGNED; | |
static wptr_t E__fFE$__CCall_auichSetParams$d11(gc_t gc,arena_t arena,struct sFFE$__CCall_auichSetParams$d11* arg) A_STD A_FALIGNED; | |
static wptr_t E__fFE$__CCall_auichSetParams$d12(gc_t gc,arena_t arena,struct sFFE$__CCall_auichSetParams$d12* arg) A_STD A_FALIGNED; | |
static wptr_t E__fFE$__CCall_auichSetParams$d14(gc_t gc,arena_t arena,struct sFFE$__CCall_auichSetParams$d14* arg) A_STD A_FALIGNED; | |
static wptr_t E__fFE$__CCall_auichSetParams$d16(gc_t gc,arena_t arena,struct sFFE$__CCall_auichSetParams$d16* arg) A_STD A_FALIGNED; | |
static wptr_t E__fFE$__CCall_auichSetParams$d18(gc_t gc,arena_t arena,struct sFFE$__CCall_auichSetParams$d18* arg) A_STD A_FALIGNED; | |
static wptr_t E__fFE$__CCall_auichSetParams$d2(gc_t gc,arena_t arena,struct sFFE$__CCall_auichSetParams$d2* arg) A_STD A_FALIGNED; | |
static wptr_t E__fFE$__CCall_auichSetParams$d3(gc_t gc,arena_t arena,struct sFFE$__CCall_auichSetParams$d3* arg) A_STD A_FALIGNED; | |
static wptr_t E__fFE$__CCall_auichSetParams$d5(gc_t gc,arena_t arena,struct sFFE$__CCall_auichSetParams$d5* arg) A_STD A_FALIGNED; | |
static wptr_t E__fFE$__CCall_auichSetParams$d7(gc_t gc,arena_t arena,struct sFFE$__CCall_auichSetParams$d7* arg) A_STD A_FALIGNED; | |
static wptr_t E__fFE$__CCall_auichSetParams$d9(gc_t gc,arena_t arena,struct sFFE$__CCall_auichSetParams$d9* arg) A_STD A_FALIGNED; | |
static wptr_t E__fR$__fJhc_Basics_$pp(gc_t gc,arena_t arena,struct sFR$__fJhc_Basics_$pp* arg) A_STD A_FALIGNED; | |
static wptr_t E__fW$__fDev_Pci_Auich_Intr_auichIntrPipe$d2(gc_t gc,arena_t arena,struct sFW$__fDev_Pci_Auich_Intr_auichIntrPipe$d2* arg) A_STD A_FALIGNED; | |
static wptr_t E__fW$__fDev_Pci_Auich_auichHaltPipe$d2(gc_t gc,arena_t arena,struct sFW$__fDev_Pci_Auich_auichHaltPipe$d2* arg) A_STD A_FALIGNED; | |
static wptr_t E__fW$__fDev_Pci_Auich_auichHaltPipe$d4(gc_t gc,arena_t arena,struct sFW$__fDev_Pci_Auich_auichHaltPipe$d4* arg) A_STD A_FALIGNED; | |
static wptr_t E__fW$__fDev_Pci_Auich_auichHaltPipe$d7(gc_t gc,arena_t arena,struct sFW$__fDev_Pci_Auich_auichHaltPipe$d7* arg) A_STD A_FALIGNED; | |
void _amain(void) ; | |
HsPtr auichAllocm(HsPtr x182,int x183,size_t x184) ; | |
int auichAllocmem(HsPtr x175,size_t x176,size_t x177,HsPtr x178) ; | |
void auichClose(HsPtr x111) ; | |
void auichFreem(HsPtr x329,HsPtr x330,size_t x331) ; | |
int auichFreemem(HsPtr x122,HsPtr x123) ; | |
void auichGetLocks(HsPtr x96,HsPtr* x97,HsPtr* x98) ; | |
int auichGetPort(HsPtr x116,HsPtr x117) ; | |
int auichGetProps(HsPtr x125) ; | |
int auichGetdev(HsPtr x347,HsPtr x348) ; | |
int auichHaltInput(HsPtr x249) ; | |
int auichHaltOutput(HsPtr x246) ; | |
void auichHaltPipe(HsPtr x242,int x243) ; | |
int auichIntr(HsPtr x272) ; | |
void auichIntrPipe(HsPtr x256,int x257,HsPtr x258) ; | |
unsigned long auichMappage(HsPtr x337,HsPtr x338,int64_t x339,int x340) ; | |
int auichOpen(HsPtr x108,int x109) ; | |
int auichQueryDevinfo(HsPtr x119,HsPtr x120) ; | |
int auichQueryEncoding(HsPtr x127,HsPtr x128) ; | |
int auichRoundBlocksize(HsPtr x342,int x343,int x344,HsPtr x345) ; | |
size_t auichRoundBuffersize(HsPtr x104,int x105,size_t x106) ; | |
int auichSetParams(HsPtr x320,int x321,int x322,HsPtr x323,HsPtr x324,HsPtr x325,HsPtr x326) ; | |
int auichSetPort(HsPtr x113,HsPtr x114) ; | |
int auichTriggerOutput(HsPtr x199,HsPtr x200,HsPtr x201,int x202,HsFunPtr x203,HsPtr x204,HsPtr x205) ; | |
void auichTriggerPipe(HsPtr x192,int x193,HsPtr x194) ; | |
int auichWriteCodec(HsPtr x297,uint8_t x298,uint16_t x299) ; | |
static void b__main(gc_t gc,arena_t arena) A_STD; | |
static wptr_t bapply__56235(gc_t gc,arena_t arena,wptr_t v1,sptr_t v2) A_STD A_MALLOC; | |
static sptr_t bapply__56236(gc_t gc,arena_t arena,wptr_t v67) A_STD A_MALLOC; | |
static wptr_t fData_List_610__lgo(gc_t gc,arena_t arena,wptr_t v256832194,wptr_t v824) A_STD A_MALLOC; | |
static sptr_t fDev_AudioIf_p__AudioParamsT__channels(gc_t gc,arena_t arena,sptr_t v124940226) A_STD A_MALLOC; | |
static wptr_t fDev_AudioIf_p__AudioParamsT__channels$d2(gc_t gc,arena_t arena,sptr_t v1642083361) A_STD A_MALLOC; | |
static sptr_t fDev_AudioIf_p__StreamFilterList__req__size(gc_t gc,arena_t arena,sptr_t v110947982) A_STD A_MALLOC; | |
static wptr_t fDev_AudioIf_p__StreamFilterList__req__size$d2(gc_t gc,arena_t arena,sptr_t v1646277665) A_STD A_MALLOC; | |
static sptr_t fDev_Pci_Auich_Ptr_p__AuichRing__blksize(gc_t gc,arena_t arena,wptr_t v194508206) A_STD A_MALLOC; | |
static wptr_t fDev_Pci_Auich_Ptr_p__AuichRing__blksize$d2(gc_t gc,arena_t arena,wptr_t v1943811119) A_STD A_MALLOC; | |
static sptr_t fDev_Pci_Auich_Ptr_p__AuichSoftc__codec__if(gc_t gc,arena_t arena,wptr_t v256943492) A_STD A_MALLOC; | |
static wptr_t fDev_Pci_Auich_Ptr_p__AuichSoftc__codec__if$d2(gc_t gc,arena_t arena,wptr_t v1851405357) A_STD A_MALLOC; | |
static sptr_t fDev_Pci_Auich_Ptr_p__AuichSoftc__iot(gc_t gc,arena_t arena,wptr_t v260457468) A_STD A_MALLOC; | |
static wptr_t fDev_Pci_Auich_Ptr_p__AuichSoftc__iot$d2(gc_t gc,arena_t arena,wptr_t v1868706861) A_STD A_MALLOC; | |
static sptr_t fDev_Pci_Auich_auichSetRate(gc_t gc,arena_t arena,wptr_t v1711813673,wptr_t v1708930093,wptr_t v44963750) A_STD A_MALLOC; | |
static wptr_t fDev_Pci_Auich_auichTriggerPipe(gc_t gc,arena_t arena,wptr_t v1806840875,wptr_t v1803826223,wptr_t v1800811567) A_STD A_MALLOC; | |
static wptr_t fDev_Pci_Auich_auichWriteCodec(gc_t gc,arena_t arena,wptr_t v1771713577,wptr_t v1768961067,wptr_t v1766208555) A_STD A_MALLOC; | |
static sptr_t fDev_Pci_Auich_auichWriteCodec$d10(gc_t gc,arena_t arena,sptr_t v50432186,sptr_t v257529854) A_STD A_MALLOC; | |
static sptr_t fDev_Pci_Auich_auichWriteCodec$d11(gc_t gc,arena_t arena,uintptr_t v105553382,uintptr_t v1916018211) A_STD A_MALLOC; | |
static sptr_t fDev_Pci_Auich_auichWriteCodec$d12(gc_t gc,arena_t arena,sptr_t v1920736799,sptr_t v128930120) A_STD A_MALLOC; | |
static wptr_t fDev_Pci_Auich_auichWriteCodec$d2(gc_t gc,arena_t arena,uintptr_t v36059414,uintptr_t v176934666,uintptr_t v137486610,uint32_t v233072034) A_STD A_MALLOC; | |
static sptr_t fDev_Pci_Auich_auichWriteCodec$d3(gc_t gc,arena_t arena,uintptr_t v53820786,uintptr_t v117945876,uintptr_t v243821962) A_STD A_MALLOC; | |
static wptr_t fDev_Pci_Auich_auichWriteCodec$d4(gc_t gc,arena_t arena,wptr_t v86428118) A_STD A_MALLOC; | |
static sptr_t fDev_Pci_Auich_auichWriteCodec$d5(gc_t gc,arena_t arena) A_STD A_MALLOC; | |
static sptr_t fDev_Pci_Auich_auichWriteCodec$d6(gc_t gc,arena_t arena,sptr_t v35624304,sptr_t v90105172) A_STD A_MALLOC; | |
static wptr_t fDev_Pci_Auich_auichWriteCodec$d7(gc_t gc,arena_t arena,wptr_t v160064800,wptr_t v100210682) A_STD A_MALLOC; | |
static wptr_t fDev_Pci_Auich_auichWriteCodec$d8(gc_t gc,arena_t arena,sptr_t v1761883203,uint32_t v86428120) A_STD A_MALLOC; | |
static sptr_t fDev_Pci_Auich_auichWriteCodec$d9(gc_t gc,arena_t arena) A_STD A_MALLOC; | |
static sptr_t fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue(gc_t gc,arena_t arena,wptr_t v1588726333,wptr_t v1614416451) A_STD A_MALLOC; | |
static sptr_t fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d2(gc_t gc,arena_t arena,uintptr_t v266519708,uintptr_t v1922702879) A_STD A_MALLOC; | |
static sptr_t fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d3(gc_t gc,arena_t arena,sptr_t v1927159325,sptr_t v53053126) A_STD A_MALLOC; | |
static wptr_t fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d4(gc_t gc,arena_t arena,uintptr_t v61835134) A_STD A_MALLOC; | |
static wptr_t fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d5(gc_t gc,arena_t arena,sptr_t v235480822) A_STD A_MALLOC; | |
static wptr_t fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d6(gc_t gc,arena_t arena,uintptr_t v40405740) A_STD A_MALLOC; | |
static wptr_t fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d7(gc_t gc,arena_t arena) A_STD A_MALLOC; | |
static wptr_t fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d8(gc_t gc,arena_t arena,uintptr_t v1217238) A_STD A_MALLOC; | |
static uintptr_t fFE$__CCall_auichAllocm(gc_t gc,arena_t arena,uintptr_t v342,uint32_t u2,uintptr_t v346) A_STD; | |
static uint32_t fFE$__CCall_auichAllocmem(gc_t gc,arena_t arena,uintptr_t v314,uintptr_t v316,uintptr_t v318,uintptr_t v320) A_STD; | |
static void fFE$__CCall_auichClose(gc_t gc,arena_t arena,uintptr_t v168732082) A_STD; | |
static void fFE$__CCall_auichFreem(gc_t gc,arena_t arena,uintptr_t v356,uintptr_t v358,uintptr_t u3) A_STD; | |
static uint32_t fFE$__CCall_auichFreemem(gc_t gc,arena_t arena,uintptr_t v330,uintptr_t v332) A_STD; | |
static void fFE$__CCall_auichGetLocks(gc_t gc,arena_t arena,uintptr_t v408,uintptr_t v410,uintptr_t v412) A_STD; | |
static uint32_t fFE$__CCall_auichGetPort(gc_t gc,arena_t arena,uintptr_t v2598,uintptr_t v292) A_STD; | |
static uint32_t fFE$__CCall_auichGetProps(gc_t gc,arena_t arena,uintptr_t v398) A_STD; | |
static uint32_t fFE$__CCall_auichGetdev(gc_t gc,arena_t arena,uintptr_t v266,uintptr_t v268) A_STD; | |
static uint32_t fFE$__CCall_auichHaltInput(gc_t gc,arena_t arena,uintptr_t v256) A_STD; | |
static uint32_t fFE$__CCall_auichHaltOutput(gc_t gc,arena_t arena,uintptr_t v246) A_STD; | |
static void fFE$__CCall_auichHaltPipe(gc_t gc,arena_t arena,uintptr_t v3028,uint32_t v132502398) A_STD; | |
static uint32_t fFE$__CCall_auichIntr(gc_t gc,arena_t arena,uintptr_t v265361532) A_STD; | |
static wptr_t fFE$__CCall_auichIntr$d2(gc_t gc,arena_t arena,uint32_t v82174980,uint32_t v212002258) A_STD A_MALLOC; | |
static wptr_t fFE$__CCall_auichIntr$d3(gc_t gc,arena_t arena,uint32_t v196970360,uint32_t v76303190) A_STD A_MALLOC; | |
static void fFE$__CCall_auichIntrPipe(gc_t gc,arena_t arena,uintptr_t v253236988,uint32_t v76769904,uintptr_t v205680836) A_STD; | |
static uintptr_t fFE$__CCall_auichMappage(gc_t gc,arena_t arena,uintptr_t v2419,uintptr_t v384,uint64_t v386,uint32_t v388) A_STD; | |
static uint32_t fFE$__CCall_auichOpen(gc_t gc,arena_t arena,uintptr_t v37441120,uint32_t u2) A_STD; | |
static uint32_t fFE$__CCall_auichQueryDevinfo(gc_t gc,arena_t arena,uintptr_t v142766502,uintptr_t v304) A_STD; | |
static uint32_t fFE$__CCall_auichQueryEncoding(gc_t gc,arena_t arena,uintptr_t v172,uintptr_t v371) A_STD; | |
static uint32_t fFE$__CCall_auichRoundBlocksize(gc_t gc,arena_t arena,uintptr_t u1,uint32_t v222,uint32_t u3,uintptr_t u4) A_STD; | |
static uintptr_t fFE$__CCall_auichRoundBuffersize(gc_t gc,arena_t arena,uintptr_t u1,uint32_t u2,uintptr_t v40099010) A_STD; | |
static uint32_t fFE$__CCall_auichSetParams(gc_t gc,arena_t arena,uintptr_t v608179,uint32_t v3512,uint32_t u3,uintptr_t v92533509,uintptr_t v162615234,uintptr_t v209403605,uintptr_t v1994) A_STD; | |
static sptr_t fFE$__CCall_auichSetParams$d10(gc_t gc,arena_t arena,uintptr_t v25494360,sptr_t v142763144,uintptr_t v95073926,sptr_t v1703425063) A_STD A_MALLOC; | |
static wptr_t fFE$__CCall_auichSetParams$d11(gc_t gc,arena_t arena,sptr_t v47581286) A_STD A_MALLOC; | |
static wptr_t fFE$__CCall_auichSetParams$d12(gc_t gc,arena_t arena,wptr_t v50432184) A_STD A_MALLOC; | |
static sptr_t fFE$__CCall_auichSetParams$d13(gc_t gc,arena_t arena,sptr_t v9648210,uintptr_t v115557554,uintptr_t v267751050,sptr_t v220415146) A_STD A_MALLOC; | |
static wptr_t fFE$__CCall_auichSetParams$d14(gc_t gc,arena_t arena,wptr_t v194492352) A_STD A_MALLOC; | |
static sptr_t fFE$__CCall_auichSetParams$d15(gc_t gc,arena_t arena,uintptr_t v240576404,sptr_t v164498534,uintptr_t v117603324,sptr_t v143140870) A_STD A_MALLOC; | |
static wptr_t fFE$__CCall_auichSetParams$d16(gc_t gc,arena_t arena,wptr_t v115766306) A_STD A_MALLOC; | |
static sptr_t fFE$__CCall_auichSetParams$d17(gc_t gc,arena_t arena,uintptr_t v197085302,sptr_t v222424780,uintptr_t v146793350,sptr_t v71727034) A_STD A_MALLOC; | |
static wptr_t fFE$__CCall_auichSetParams$d18(gc_t gc,arena_t arena,wptr_t v258411588) A_STD A_MALLOC; | |
static sptr_t fFE$__CCall_auichSetParams$d19(gc_t gc,arena_t arena,sptr_t v11885918,uintptr_t v87539958,uintptr_t v59033970,sptr_t v122815192) A_STD A_MALLOC; | |
static wptr_t fFE$__CCall_auichSetParams$d2(gc_t gc,arena_t arena,sptr_t v105986482) A_STD A_MALLOC; | |
static wptr_t fFE$__CCall_auichSetParams$d3(gc_t gc,arena_t arena,wptr_t v1705915439) A_STD A_MALLOC; | |
static sptr_t fFE$__CCall_auichSetParams$d4(gc_t gc,arena_t arena,sptr_t v17090830,uintptr_t v99988808,uintptr_t v172338608,sptr_t v1695953959) A_STD A_MALLOC; | |
static wptr_t fFE$__CCall_auichSetParams$d5(gc_t gc,arena_t arena,wptr_t v134427062) A_STD A_MALLOC; | |
static sptr_t fFE$__CCall_auichSetParams$d6(gc_t gc,arena_t arena,sptr_t v3576054,uintptr_t v268164216,uintptr_t v53399312,sptr_t v1698444327) A_STD A_MALLOC; | |
static wptr_t fFE$__CCall_auichSetParams$d7(gc_t gc,arena_t arena,wptr_t v186011614) A_STD A_MALLOC; | |
static sptr_t fFE$__CCall_auichSetParams$d8(gc_t gc,arena_t arena,uintptr_t v172537484,sptr_t v120080072,uintptr_t v58231586,sptr_t v1700934695) A_STD A_MALLOC; | |
static wptr_t fFE$__CCall_auichSetParams$d9(gc_t gc,arena_t arena,wptr_t v264842138) A_STD A_MALLOC; | |
static uint32_t fFE$__CCall_auichSetPort(gc_t gc,arena_t arena,uintptr_t v278,uintptr_t v280) A_STD; | |
static uint32_t fFE$__CCall_auichTriggerOutput(gc_t gc,arena_t arena,uintptr_t v432,uintptr_t v2206,uintptr_t v85806478,uint32_t v2212,uintptr_t v151167346,uintptr_t v2218,uintptr_t u7) A_STD; | |
static void fFE$__CCall_auichTriggerPipe(gc_t gc,arena_t arena,uintptr_t v420,uint32_t v422,uintptr_t v424) A_STD; | |
static uint32_t fFE$__CCall_auichWriteCodec(gc_t gc,arena_t arena,uintptr_t v1604,uint8_t v36820130,uint16_t v210) A_STD; | |
static uint32_t fFE$__CCall_hdaudioIntr(gc_t gc,arena_t arena,uintptr_t v215350920) A_STD; | |
static wptr_t fFE$__CCall_hdaudioIntr$d2(gc_t gc,arena_t arena,uint32_t v1318,uint32_t v202456478) A_STD A_MALLOC; | |
static uint32_t fFE$__CCall_hdaudioRirbDequeue(gc_t gc,arena_t arena,uintptr_t v775,uint16_t v29077250) A_STD; | |
static sptr_t fForeign_C_String_withCString(gc_t gc,arena_t arena,wptr_t v209623816,wptr_t v227981060) A_STD A_MALLOC; | |
static sptr_t fForeign_C_String_withCString$d2(gc_t gc,arena_t arena,sptr_t v5580104,sptr_t v133748294,uintptr_t v1893733437) A_STD A_MALLOC; | |
static wptr_t fForeign_C_String_withCString$d3(gc_t gc,arena_t arena,uintptr_t v40405746,wptr_t v168294380,uint32_t v238570488) A_STD A_MALLOC; | |
static sptr_t fForeign_C_String_withCString$d4(gc_t gc,arena_t arena,sptr_t v1906840603,sptr_t v248387722) A_STD A_MALLOC; | |
static sptr_t fForeign_Marshal_Alloc_alloca(gc_t gc,arena_t arena,wptr_t v1984042041) A_STD A_MALLOC; | |
static wptr_t fR$__fJhc_Basics_$pp(gc_t gc,arena_t arena,sptr_t v196335314,wptr_t v153480256) A_STD A_MALLOC; | |
static wptr_t fW$__fDev_Pci_Auich_22__f(gc_t gc,arena_t arena,uint32_t v1692283961,uintptr_t v196,uint32_t v1718,uintptr_t v606386,uintptr_t v92531714,uintptr_t v162613438,uintptr_t v209401808) A_STD A_MALLOC; | |
static wptr_t fW$__fDev_Pci_Auich_Intr_auichIntrPipe(gc_t gc,arena_t arena,wptr_t v1828205617,uint32_t v1824011329,wptr_t v135170748) A_STD A_MALLOC; | |
static wptr_t fW$__fDev_Pci_Auich_Intr_auichIntrPipe$d2(gc_t gc,arena_t arena,wptr_t v1831351349) A_STD A_MALLOC; | |
static sptr_t fW$__fDev_Pci_Auich_auichAllocmem(gc_t gc,arena_t arena,wptr_t v1791112235,uintptr_t v1793864763,uintptr_t v1787180093,uintptr_t v1783772213) A_STD A_MALLOC; | |
static sptr_t fW$__fDev_Pci_Auich_auichAllocmem$d2(gc_t gc,arena_t arena,uintptr_t v103925132,uintptr_t v168445052,uintptr_t v264254036) A_STD A_MALLOC; | |
static sptr_t fW$__fDev_Pci_Auich_auichAllocmem$d3(gc_t gc,arena_t arena,uintptr_t v68216842,uintptr_t v124736614,uintptr_t v260952214) A_STD A_MALLOC; | |
static sptr_t fW$__fDev_Pci_Auich_auichAllocmem$d4(gc_t gc,arena_t arena,uintptr_t v63318412,uintptr_t v73786434) A_STD A_MALLOC; | |
static wptr_t fW$__fDev_Pci_Auich_auichHaltPipe(gc_t gc,arena_t arena,wptr_t v1781019691,uint32_t v172090968) A_STD A_MALLOC; | |
static wptr_t fW$__fDev_Pci_Auich_auichHaltPipe$d2(gc_t gc,arena_t arena,uintptr_t v15858612,uintptr_t v169909354,uint32_t v45052586,uint32_t v29375124) A_STD A_MALLOC; | |
static sptr_t fW$__fDev_Pci_Auich_auichHaltPipe$d3(gc_t gc,arena_t arena,uintptr_t v67338514,uintptr_t v232701290,uint32_t v1774335035) A_STD A_MALLOC; | |
static wptr_t fW$__fDev_Pci_Auich_auichHaltPipe$d4(gc_t gc,arena_t arena,wptr_t v253791876) A_STD A_MALLOC; | |
static sptr_t fW$__fDev_Pci_Auich_auichHaltPipe$d5(gc_t gc,arena_t arena,sptr_t v822,sptr_t v1963) A_STD A_MALLOC; | |
static sptr_t fW$__fDev_Pci_Auich_auichHaltPipe$d6(gc_t gc,arena_t arena) A_STD A_MALLOC; | |
static wptr_t fW$__fDev_Pci_Auich_auichHaltPipe$d7(gc_t gc,arena_t arena,sptr_t v1778136109,uint32_t v215884492) A_STD A_MALLOC; | |
static sptr_t fW$__fDev_Pci_Auich_auichHaltPipe$d8(gc_t gc,arena_t arena) A_STD A_MALLOC; | |
static sptr_t fW$__fDev_Pci_Auich_auichHaltPipe$d9(gc_t gc,arena_t arena,sptr_t v21055638,sptr_t v45052590) A_STD A_MALLOC; | |
static sptr_t fW$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1(gc_t gc,arena_t arena,wptr_t v1644955715,wptr_t v1655048257,uint32_t v44000682) A_STD A_MALLOC; | |
static sptr_t fW$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d2(gc_t gc,arena_t arena,uintptr_t v52993244,uint32_t v606353997,uintptr_t v1928994351) A_STD A_MALLOC; | |
static sptr_t fW$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d3(gc_t gc,arena_t arena,sptr_t v1936727581,sptr_t v117752372) A_STD A_MALLOC; | |
static sptr_t fW$__fForeign_Marshal_Alloc_allocaBytes(gc_t gc,arena_t arena,uint32_t v1991382087,wptr_t v1987712057) A_STD A_MALLOC; | |
static sptr_t fW$__fKern_SubrPrf_printfP1(gc_t gc,arena_t arena,wptr_t v460468261,uintptr_t v119285242) A_STD A_MALLOC; | |
static sptr_t fW$__fKern_SubrPrf_printfP1$d2(gc_t gc,arena_t arena,uintptr_t v603208241,uintptr_t v1938562595) A_STD A_MALLOC; | |
static sptr_t fW$__fKern_SubrPrf_printfP1$d3(gc_t gc,arena_t arena,sptr_t v1943150111,sptr_t v244867478) A_STD A_MALLOC; | |
static sptr_t fW$__fKern_SubrPrf_printfS1(gc_t gc,arena_t arena,wptr_t v1974348325,uintptr_t v44725398) A_STD A_MALLOC; | |
static sptr_t fW$__fKern_SubrPrf_printfS1$d2(gc_t gc,arena_t arena,uintptr_t v597703219,uintptr_t v1945116195) A_STD A_MALLOC; | |
static sptr_t fW$__fKern_SubrPrf_printfS1$d3(gc_t gc,arena_t arena,sptr_t v1949834781,sptr_t v261514474) A_STD A_MALLOC; | |
static wptr_t fW$__fW$__fInstance$__iForeign_Storable_pokeElemOff_default(gc_t gc,arena_t arena,uintptr_t v1011358783,uint32_t v1015422013,uint8_t v533215801) A_STD A_MALLOC; | |
static void ftheMain(gc_t gc,arena_t arena) A_STD; | |
static sptr_t fx133152257(gc_t gc,arena_t arena,wptr_t v157224380,wptr_t v199828714,wptr_t v125929208) A_STD A_MALLOC; | |
int hdaudioIntr(HsPtr x279) ; | |
uint32_t hdaudioRirbDequeue(HsPtr x225,HsBool x226) ; | |
struct tup1 { | |
sptr_t t0; | |
sptr_t t1; | |
}; | |
struct tup2 { | |
sptr_t t0; | |
sptr_t t1; | |
sptr_t t2; | |
}; | |
/* CAFS */ | |
/* v-1977892955 = (FDev.Pci.Hdaudio.Hdaudio.hdaudioRirbDequeue$7)*/ | |
static node_t _g1977892955 = { .head = TO_FPTR(&E__fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d7) }; | |
#define g1977892955 (MKLAZY_C(&_g1977892955)) | |
/* (HcNode CJhc.Type.Word.WordPtr [Left -1],63) */ | |
static const struct sCJhc_Type_Word_WordPtr _c63 = {.a1 = -1}; | |
#define c63 (TO_SPTR_C(P_WHNF, (sptr_t)&_c63)) | |
/* (HcNode CJhc.Type.Word.WordPtr [Left 0],79) */ | |
static const struct sCJhc_Type_Word_WordPtr _c79 = {.a1 = 0}; | |
#define c79 (TO_SPTR_C(P_WHNF, (sptr_t)&_c79)) | |
/* (HcNode CJhc.Type.Word.WordPtr [Left 1],64) */ | |
static const struct sCJhc_Type_Word_WordPtr _c64 = {.a1 = 1}; | |
#define c64 (TO_SPTR_C(P_WHNF, (sptr_t)&_c64)) | |
/* (HcNode CJhc.Type.Basic.Right [Left &("CJhc.Prim.Prim.()")],1) */ | |
static const struct sCJhc_Type_Basic_Right _c1 = {.what = (what_t)SET_RAW_TAG(CJhc_Type_Basic_Right), .a1 = (sptr_t)SET_RAW_TAG(CJhc_Prim_Prim_$LR)}; | |
#define c1 (TO_SPTR_C(P_WHNF, (sptr_t)&_c1)) | |
/* (HcNode CJhc.Type.Basic.Right [Left &("CJhc.Prim.Prim.[]")],25) */ | |
static const struct sCJhc_Type_Basic_Right _c25 = {.what = (what_t)SET_RAW_TAG(CJhc_Type_Basic_Right), .a1 = (sptr_t)SET_RAW_TAG(CJhc_Prim_Prim_$BE)}; | |
#define c25 (TO_SPTR_C(P_WHNF, (sptr_t)&_c25)) | |
/* (HcNode CJhc.Type.Basic.Left [Left &("CJhc.Prim.Prim.()")],147) */ | |
static const struct sCJhc_Type_Basic_Left _c147 = {.what = (what_t)SET_RAW_TAG(CJhc_Type_Basic_Left), .a1 = (sptr_t)SET_RAW_TAG(CJhc_Prim_Prim_$LR)}; | |
#define c147 (TO_SPTR_C(P_WHNF, (sptr_t)&_c147)) | |
/* (HcNode CJhc.Type.Word.Int [Left CConst {primRequires = [], primConst = "EINVAL"}()],2) */ | |
static const struct sCJhc_Type_Word_Int _c2 = {.a1 = EINVAL}; | |
#define c2 (TO_SPTR_C(P_WHNF, (sptr_t)&_c2)) | |
/* (HcNode CJhc.Type.Basic.Left [Right 2],3) */ | |
static const struct sCJhc_Type_Basic_Left _c3 = {.what = (what_t)SET_RAW_TAG(CJhc_Type_Basic_Left), .a1 = c2}; | |
#define c3 (TO_SPTR_C(P_WHNF, (sptr_t)&_c3)) | |
/* (HcNode CJhc.Type.Word.Word32 [Left 4294967295],65) */ | |
static const struct sCJhc_Type_Word_Word32 _c65 = {.a1 = 4294967295}; | |
#define c65 (TO_SPTR_C(P_WHNF, (sptr_t)&_c65)) | |
/* (HcNode CJhc.Type.Basic.Left [Right 65],66) */ | |
static const struct sCJhc_Type_Basic_Left _c66 = {.what = (what_t)SET_RAW_TAG(CJhc_Type_Basic_Left), .a1 = c65}; | |
#define c66 (TO_SPTR_C(P_WHNF, (sptr_t)&_c66)) | |
/* (HcNode CJhc.Type.Ptr.Ptr [Left 0],27) */ | |
static const struct sCJhc_Type_Ptr_Ptr _c27 = {.a1 = 0}; | |
#define c27 (TO_SPTR_C(P_WHNF, (sptr_t)&_c27)) | |
/* (HcNode CJhc.Type.Word.Int [Left -1],176) */ | |
static const struct sCJhc_Type_Word_Int _c176 = {.a1 = -1}; | |
#define c176 (TO_SPTR_C(P_WHNF, (sptr_t)&_c176)) | |
/* (HcNode CJhc.Type.Word.Int [Left 0],26) */ | |
static const struct sCJhc_Type_Word_Int _c26 = {.a1 = 0}; | |
#define c26 (TO_SPTR_C(P_WHNF, (sptr_t)&_c26)) | |
/* (HcNode CJhc.Type.Word.Int [Left 1],164) */ | |
static const struct sCJhc_Type_Word_Int _c164 = {.a1 = 1}; | |
#define c164 (TO_SPTR_C(P_WHNF, (sptr_t)&_c164)) | |
/* (HcNode CJhc.Type.Word.Int [Left CConst {primRequires = [], primConst = "ICH_PCMO"}()],62) */ | |
static const struct sCJhc_Type_Word_Int _c62 = {.a1 = ICH_PCMO}; | |
#define c62 (TO_SPTR_C(P_WHNF, (sptr_t)&_c62)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 10),Left &("CJhc.Prim.Prim.[]")],28) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c28 = {.a1 = (sptr_t)RAW_SET_UF(10), .a2 = (sptr_t)SET_RAW_TAG(CJhc_Prim_Prim_$BE)}; | |
#define c28 (TO_SPTR_C(P_WHNF, (sptr_t)&_c28)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 121),Left &("CJhc.Prim.Prim.[]")],10) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c10 = {.a1 = (sptr_t)RAW_SET_UF('y'), .a2 = (sptr_t)SET_RAW_TAG(CJhc_Prim_Prim_$BE)}; | |
#define c10 (TO_SPTR_C(P_WHNF, (sptr_t)&_c10)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 114),Right 10],11) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c11 = {.a1 = (sptr_t)RAW_SET_UF('r'), .a2 = c10}; | |
#define c11 (TO_SPTR_C(P_WHNF, (sptr_t)&_c11)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 111),Right 11],12) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c12 = {.a1 = (sptr_t)RAW_SET_UF('o'), .a2 = c11}; | |
#define c12 (TO_SPTR_C(P_WHNF, (sptr_t)&_c12)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 109),Right 12],13) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c13 = {.a1 = (sptr_t)RAW_SET_UF('m'), .a2 = c12}; | |
#define c13 (TO_SPTR_C(P_WHNF, (sptr_t)&_c13)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 101),Right 13],14) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c14 = {.a1 = (sptr_t)RAW_SET_UF('e'), .a2 = c13}; | |
#define c14 (TO_SPTR_C(P_WHNF, (sptr_t)&_c14)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 109),Right 14],15) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c15 = {.a1 = (sptr_t)RAW_SET_UF('m'), .a2 = c14}; | |
#define c15 (TO_SPTR_C(P_WHNF, (sptr_t)&_c15)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 32),Right 15],16) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c16 = {.a1 = (sptr_t)RAW_SET_UF(' '), .a2 = c15}; | |
#define c16 (TO_SPTR_C(P_WHNF, (sptr_t)&_c16)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 102),Right 16],17) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c17 = {.a1 = (sptr_t)RAW_SET_UF('f'), .a2 = c16}; | |
#define c17 (TO_SPTR_C(P_WHNF, (sptr_t)&_c17)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 111),Right 17],18) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c18 = {.a1 = (sptr_t)RAW_SET_UF('o'), .a2 = c17}; | |
#define c18 (TO_SPTR_C(P_WHNF, (sptr_t)&_c18)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 32),Right 18],19) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c19 = {.a1 = (sptr_t)RAW_SET_UF(' '), .a2 = c18}; | |
#define c19 (TO_SPTR_C(P_WHNF, (sptr_t)&_c19)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 116),Right 19],20) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c20 = {.a1 = (sptr_t)RAW_SET_UF('t'), .a2 = c19}; | |
#define c20 (TO_SPTR_C(P_WHNF, (sptr_t)&_c20)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 117),Right 20],21) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c21 = {.a1 = (sptr_t)RAW_SET_UF('u'), .a2 = c20}; | |
#define c21 (TO_SPTR_C(P_WHNF, (sptr_t)&_c21)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 111),Right 21],22) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c22 = {.a1 = (sptr_t)RAW_SET_UF('o'), .a2 = c21}; | |
#define c22 (TO_SPTR_C(P_WHNF, (sptr_t)&_c22)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 32),Right 22],23) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c23 = {.a1 = (sptr_t)RAW_SET_UF(' '), .a2 = c22}; | |
#define c23 (TO_SPTR_C(P_WHNF, (sptr_t)&_c23)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 112),Right 28],29) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c29 = {.a1 = (sptr_t)RAW_SET_UF('p'), .a2 = c28}; | |
#define c29 (TO_SPTR_C(P_WHNF, (sptr_t)&_c29)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 37),Right 29],30) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c30 = {.a1 = (sptr_t)RAW_SET_UF('%'), .a2 = c29}; | |
#define c30 (TO_SPTR_C(P_WHNF, (sptr_t)&_c30)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 32),Right 30],31) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c31 = {.a1 = (sptr_t)RAW_SET_UF(' '), .a2 = c30}; | |
#define c31 (TO_SPTR_C(P_WHNF, (sptr_t)&_c31)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 114),Right 31],32) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c32 = {.a1 = (sptr_t)RAW_SET_UF('r'), .a2 = c31}; | |
#define c32 (TO_SPTR_C(P_WHNF, (sptr_t)&_c32)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 100),Right 32],33) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c33 = {.a1 = (sptr_t)RAW_SET_UF('d'), .a2 = c32}; | |
#define c33 (TO_SPTR_C(P_WHNF, (sptr_t)&_c33)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 100),Right 33],34) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c34 = {.a1 = (sptr_t)RAW_SET_UF('d'), .a2 = c33}; | |
#define c34 (TO_SPTR_C(P_WHNF, (sptr_t)&_c34)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 97),Right 34],35) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c35 = {.a1 = (sptr_t)RAW_SET_UF('a'), .a2 = c34}; | |
#define c35 (TO_SPTR_C(P_WHNF, (sptr_t)&_c35)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 32),Right 35],36) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c36 = {.a1 = (sptr_t)RAW_SET_UF(' '), .a2 = c35}; | |
#define c36 (TO_SPTR_C(P_WHNF, (sptr_t)&_c36)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 100),Right 36],37) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c37 = {.a1 = (sptr_t)RAW_SET_UF('d'), .a2 = c36}; | |
#define c37 (TO_SPTR_C(P_WHNF, (sptr_t)&_c37)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 97),Right 37],38) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c38 = {.a1 = (sptr_t)RAW_SET_UF('a'), .a2 = c37}; | |
#define c38 (TO_SPTR_C(P_WHNF, (sptr_t)&_c38)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 98),Right 38],39) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c39 = {.a1 = (sptr_t)RAW_SET_UF('b'), .a2 = c38}; | |
#define c39 (TO_SPTR_C(P_WHNF, (sptr_t)&_c39)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 32),Right 39],40) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c40 = {.a1 = (sptr_t)RAW_SET_UF(' '), .a2 = c39}; | |
#define c40 (TO_SPTR_C(P_WHNF, (sptr_t)&_c40)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 116),Right 28],67) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c67 = {.a1 = (sptr_t)RAW_SET_UF('t'), .a2 = c28}; | |
#define c67 (TO_SPTR_C(P_WHNF, (sptr_t)&_c67)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 117),Right 67],68) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c68 = {.a1 = (sptr_t)RAW_SET_UF('u'), .a2 = c67}; | |
#define c68 (TO_SPTR_C(P_WHNF, (sptr_t)&_c68)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 111),Right 68],69) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c69 = {.a1 = (sptr_t)RAW_SET_UF('o'), .a2 = c68}; | |
#define c69 (TO_SPTR_C(P_WHNF, (sptr_t)&_c69)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 101),Right 69],70) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c70 = {.a1 = (sptr_t)RAW_SET_UF('e'), .a2 = c69}; | |
#define c70 (TO_SPTR_C(P_WHNF, (sptr_t)&_c70)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 109),Right 70],71) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c71 = {.a1 = (sptr_t)RAW_SET_UF('m'), .a2 = c70}; | |
#define c71 (TO_SPTR_C(P_WHNF, (sptr_t)&_c71)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 105),Right 71],72) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c72 = {.a1 = (sptr_t)RAW_SET_UF('i'), .a2 = c71}; | |
#define c72 (TO_SPTR_C(P_WHNF, (sptr_t)&_c72)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 116),Right 72],73) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c73 = {.a1 = (sptr_t)RAW_SET_UF('t'), .a2 = c72}; | |
#define c73 (TO_SPTR_C(P_WHNF, (sptr_t)&_c73)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 32),Right 73],74) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c74 = {.a1 = (sptr_t)RAW_SET_UF(' '), .a2 = c73}; | |
#define c74 (TO_SPTR_C(P_WHNF, (sptr_t)&_c74)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 100),Right 28],80) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c80 = {.a1 = (sptr_t)RAW_SET_UF('d'), .a2 = c28}; | |
#define c80 (TO_SPTR_C(P_WHNF, (sptr_t)&_c80)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 105),Right 80],81) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c81 = {.a1 = (sptr_t)RAW_SET_UF('i'), .a2 = c80}; | |
#define c81 (TO_SPTR_C(P_WHNF, (sptr_t)&_c81)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 108),Right 81],82) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c82 = {.a1 = (sptr_t)RAW_SET_UF('l'), .a2 = c81}; | |
#define c82 (TO_SPTR_C(P_WHNF, (sptr_t)&_c82)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 97),Right 82],83) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c83 = {.a1 = (sptr_t)RAW_SET_UF('a'), .a2 = c82}; | |
#define c83 (TO_SPTR_C(P_WHNF, (sptr_t)&_c83)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 118),Right 83],84) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c84 = {.a1 = (sptr_t)RAW_SET_UF('v'), .a2 = c83}; | |
#define c84 (TO_SPTR_C(P_WHNF, (sptr_t)&_c84)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 32),Right 84],85) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c85 = {.a1 = (sptr_t)RAW_SET_UF(' '), .a2 = c84}; | |
#define c85 (TO_SPTR_C(P_WHNF, (sptr_t)&_c85)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 116),Right 85],86) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c86 = {.a1 = (sptr_t)RAW_SET_UF('t'), .a2 = c85}; | |
#define c86 (TO_SPTR_C(P_WHNF, (sptr_t)&_c86)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 111),Right 86],87) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c87 = {.a1 = (sptr_t)RAW_SET_UF('o'), .a2 = c86}; | |
#define c87 (TO_SPTR_C(P_WHNF, (sptr_t)&_c87)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 110),Right 87],88) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c88 = {.a1 = (sptr_t)RAW_SET_UF('n'), .a2 = c87}; | |
#define c88 (TO_SPTR_C(P_WHNF, (sptr_t)&_c88)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 32),Right 88],89) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c89 = {.a1 = (sptr_t)RAW_SET_UF(' '), .a2 = c88}; | |
#define c89 (TO_SPTR_C(P_WHNF, (sptr_t)&_c89)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 120),Right 89],90) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c90 = {.a1 = (sptr_t)RAW_SET_UF('x'), .a2 = c89}; | |
#define c90 (TO_SPTR_C(P_WHNF, (sptr_t)&_c90)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 50),Right 90],91) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c91 = {.a1 = (sptr_t)RAW_SET_UF('2'), .a2 = c90}; | |
#define c91 (TO_SPTR_C(P_WHNF, (sptr_t)&_c91)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 48),Right 91],92) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c92 = {.a1 = (sptr_t)RAW_SET_UF('0'), .a2 = c91}; | |
#define c92 (TO_SPTR_C(P_WHNF, (sptr_t)&_c92)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 37),Right 92],93) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c93 = {.a1 = (sptr_t)RAW_SET_UF('%'), .a2 = c92}; | |
#define c93 (TO_SPTR_C(P_WHNF, (sptr_t)&_c93)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 120),Right 93],94) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c94 = {.a1 = (sptr_t)RAW_SET_UF('x'), .a2 = c93}; | |
#define c94 (TO_SPTR_C(P_WHNF, (sptr_t)&_c94)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 48),Right 94],95) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c95 = {.a1 = (sptr_t)RAW_SET_UF('0'), .a2 = c94}; | |
#define c95 (TO_SPTR_C(P_WHNF, (sptr_t)&_c95)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 32),Right 95],96) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c96 = {.a1 = (sptr_t)RAW_SET_UF(' '), .a2 = c95}; | |
#define c96 (TO_SPTR_C(P_WHNF, (sptr_t)&_c96)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 100),Right 96],97) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c97 = {.a1 = (sptr_t)RAW_SET_UF('d'), .a2 = c96}; | |
#define c97 (TO_SPTR_C(P_WHNF, (sptr_t)&_c97)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 105),Right 97],98) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c98 = {.a1 = (sptr_t)RAW_SET_UF('i'), .a2 = c97}; | |
#define c98 (TO_SPTR_C(P_WHNF, (sptr_t)&_c98)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 32),Right 98],99) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c99 = {.a1 = (sptr_t)RAW_SET_UF(' '), .a2 = c98}; | |
#define c99 (TO_SPTR_C(P_WHNF, (sptr_t)&_c99)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 99),Right 99],100) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c100 = {.a1 = (sptr_t)RAW_SET_UF('c'), .a2 = c99}; | |
#define c100 (TO_SPTR_C(P_WHNF, (sptr_t)&_c100)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 101),Right 100],101) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c101 = {.a1 = (sptr_t)RAW_SET_UF('e'), .a2 = c100}; | |
#define c101 (TO_SPTR_C(P_WHNF, (sptr_t)&_c101)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 100),Right 101],102) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c102 = {.a1 = (sptr_t)RAW_SET_UF('d'), .a2 = c101}; | |
#define c102 (TO_SPTR_C(P_WHNF, (sptr_t)&_c102)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 111),Right 102],103) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c103 = {.a1 = (sptr_t)RAW_SET_UF('o'), .a2 = c102}; | |
#define c103 (TO_SPTR_C(P_WHNF, (sptr_t)&_c103)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 99),Right 103],104) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c104 = {.a1 = (sptr_t)RAW_SET_UF('c'), .a2 = c103}; | |
#define c104 (TO_SPTR_C(P_WHNF, (sptr_t)&_c104)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 32),Right 104],105) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c105 = {.a1 = (sptr_t)RAW_SET_UF(' '), .a2 = c104}; | |
#define c105 (TO_SPTR_C(P_WHNF, (sptr_t)&_c105)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 101),Right 28],112) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c112 = {.a1 = (sptr_t)RAW_SET_UF('e'), .a2 = c28}; | |
#define c112 (TO_SPTR_C(P_WHNF, (sptr_t)&_c112)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 103),Right 112],113) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c113 = {.a1 = (sptr_t)RAW_SET_UF('g'), .a2 = c112}; | |
#define c113 (TO_SPTR_C(P_WHNF, (sptr_t)&_c113)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 110),Right 113],114) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c114 = {.a1 = (sptr_t)RAW_SET_UF('n'), .a2 = c113}; | |
#define c114 (TO_SPTR_C(P_WHNF, (sptr_t)&_c114)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 97),Right 114],115) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c115 = {.a1 = (sptr_t)RAW_SET_UF('a'), .a2 = c114}; | |
#define c115 (TO_SPTR_C(P_WHNF, (sptr_t)&_c115)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 114),Right 115],116) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c116 = {.a1 = (sptr_t)RAW_SET_UF('r'), .a2 = c115}; | |
#define c116 (TO_SPTR_C(P_WHNF, (sptr_t)&_c116)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 32),Right 116],117) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c117 = {.a1 = (sptr_t)RAW_SET_UF(' '), .a2 = c116}; | |
#define c117 (TO_SPTR_C(P_WHNF, (sptr_t)&_c117)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 102),Right 117],118) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c118 = {.a1 = (sptr_t)RAW_SET_UF('f'), .a2 = c117}; | |
#define c118 (TO_SPTR_C(P_WHNF, (sptr_t)&_c118)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 111),Right 118],119) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c119 = {.a1 = (sptr_t)RAW_SET_UF('o'), .a2 = c118}; | |
#define c119 (TO_SPTR_C(P_WHNF, (sptr_t)&_c119)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 32),Right 119],120) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c120 = {.a1 = (sptr_t)RAW_SET_UF(' '), .a2 = c119}; | |
#define c120 (TO_SPTR_C(P_WHNF, (sptr_t)&_c120)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 116),Right 120],121) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c121 = {.a1 = (sptr_t)RAW_SET_UF('t'), .a2 = c120}; | |
#define c121 (TO_SPTR_C(P_WHNF, (sptr_t)&_c121)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 117),Right 121],122) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c122 = {.a1 = (sptr_t)RAW_SET_UF('u'), .a2 = c121}; | |
#define c122 (TO_SPTR_C(P_WHNF, (sptr_t)&_c122)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 111),Right 122],123) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c123 = {.a1 = (sptr_t)RAW_SET_UF('o'), .a2 = c122}; | |
#define c123 (TO_SPTR_C(P_WHNF, (sptr_t)&_c123)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 32),Right 123],124) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c124 = {.a1 = (sptr_t)RAW_SET_UF(' '), .a2 = c123}; | |
#define c124 (TO_SPTR_C(P_WHNF, (sptr_t)&_c124)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 120),Right 124],125) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c125 = {.a1 = (sptr_t)RAW_SET_UF('x'), .a2 = c124}; | |
#define c125 (TO_SPTR_C(P_WHNF, (sptr_t)&_c125)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 50),Right 125],126) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c126 = {.a1 = (sptr_t)RAW_SET_UF('2'), .a2 = c125}; | |
#define c126 (TO_SPTR_C(P_WHNF, (sptr_t)&_c126)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 48),Right 126],127) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c127 = {.a1 = (sptr_t)RAW_SET_UF('0'), .a2 = c126}; | |
#define c127 (TO_SPTR_C(P_WHNF, (sptr_t)&_c127)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 37),Right 127],128) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c128 = {.a1 = (sptr_t)RAW_SET_UF('%'), .a2 = c127}; | |
#define c128 (TO_SPTR_C(P_WHNF, (sptr_t)&_c128)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 120),Right 128],129) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c129 = {.a1 = (sptr_t)RAW_SET_UF('x'), .a2 = c128}; | |
#define c129 (TO_SPTR_C(P_WHNF, (sptr_t)&_c129)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 48),Right 129],130) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c130 = {.a1 = (sptr_t)RAW_SET_UF('0'), .a2 = c129}; | |
#define c130 (TO_SPTR_C(P_WHNF, (sptr_t)&_c130)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 32),Right 130],131) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c131 = {.a1 = (sptr_t)RAW_SET_UF(' '), .a2 = c130}; | |
#define c131 (TO_SPTR_C(P_WHNF, (sptr_t)&_c131)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 100),Right 131],132) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c132 = {.a1 = (sptr_t)RAW_SET_UF('d'), .a2 = c131}; | |
#define c132 (TO_SPTR_C(P_WHNF, (sptr_t)&_c132)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 105),Right 132],133) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c133 = {.a1 = (sptr_t)RAW_SET_UF('i'), .a2 = c132}; | |
#define c133 (TO_SPTR_C(P_WHNF, (sptr_t)&_c133)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 32),Right 133],134) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c134 = {.a1 = (sptr_t)RAW_SET_UF(' '), .a2 = c133}; | |
#define c134 (TO_SPTR_C(P_WHNF, (sptr_t)&_c134)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 99),Right 134],135) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c135 = {.a1 = (sptr_t)RAW_SET_UF('c'), .a2 = c134}; | |
#define c135 (TO_SPTR_C(P_WHNF, (sptr_t)&_c135)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 101),Right 135],136) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c136 = {.a1 = (sptr_t)RAW_SET_UF('e'), .a2 = c135}; | |
#define c136 (TO_SPTR_C(P_WHNF, (sptr_t)&_c136)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 100),Right 136],137) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c137 = {.a1 = (sptr_t)RAW_SET_UF('d'), .a2 = c136}; | |
#define c137 (TO_SPTR_C(P_WHNF, (sptr_t)&_c137)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 111),Right 137],138) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c138 = {.a1 = (sptr_t)RAW_SET_UF('o'), .a2 = c137}; | |
#define c138 (TO_SPTR_C(P_WHNF, (sptr_t)&_c138)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 99),Right 138],139) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c139 = {.a1 = (sptr_t)RAW_SET_UF('c'), .a2 = c138}; | |
#define c139 (TO_SPTR_C(P_WHNF, (sptr_t)&_c139)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 32),Right 139],140) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c140 = {.a1 = (sptr_t)RAW_SET_UF(' '), .a2 = c139}; | |
#define c140 (TO_SPTR_C(P_WHNF, (sptr_t)&_c140)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 110),Right 28],148) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c148 = {.a1 = (sptr_t)RAW_SET_UF('n'), .a2 = c28}; | |
#define c148 (TO_SPTR_C(P_WHNF, (sptr_t)&_c148)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 117),Right 148],149) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c149 = {.a1 = (sptr_t)RAW_SET_UF('u'), .a2 = c148}; | |
#define c149 (TO_SPTR_C(P_WHNF, (sptr_t)&_c149)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 114),Right 149],150) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c150 = {.a1 = (sptr_t)RAW_SET_UF('r'), .a2 = c149}; | |
#define c150 (TO_SPTR_C(P_WHNF, (sptr_t)&_c150)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 114),Right 150],151) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c151 = {.a1 = (sptr_t)RAW_SET_UF('r'), .a2 = c150}; | |
#define c151 (TO_SPTR_C(P_WHNF, (sptr_t)&_c151)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 101),Right 151],152) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c152 = {.a1 = (sptr_t)RAW_SET_UF('e'), .a2 = c151}; | |
#define c152 (TO_SPTR_C(P_WHNF, (sptr_t)&_c152)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 118),Right 152],153) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c153 = {.a1 = (sptr_t)RAW_SET_UF('v'), .a2 = c152}; | |
#define c153 (TO_SPTR_C(P_WHNF, (sptr_t)&_c153)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 111),Right 153],154) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c154 = {.a1 = (sptr_t)RAW_SET_UF('o'), .a2 = c153}; | |
#define c154 (TO_SPTR_C(P_WHNF, (sptr_t)&_c154)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 32),Right 154],155) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c155 = {.a1 = (sptr_t)RAW_SET_UF(' '), .a2 = c154}; | |
#define c155 (TO_SPTR_C(P_WHNF, (sptr_t)&_c155)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 111),Right 155],156) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c156 = {.a1 = (sptr_t)RAW_SET_UF('o'), .a2 = c155}; | |
#define c156 (TO_SPTR_C(P_WHNF, (sptr_t)&_c156)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 102),Right 156],157) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c157 = {.a1 = (sptr_t)RAW_SET_UF('f'), .a2 = c156}; | |
#define c157 (TO_SPTR_C(P_WHNF, (sptr_t)&_c157)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 105),Right 157],158) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c158 = {.a1 = (sptr_t)RAW_SET_UF('i'), .a2 = c157}; | |
#define c158 (TO_SPTR_C(P_WHNF, (sptr_t)&_c158)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 102),Right 158],159) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c159 = {.a1 = (sptr_t)RAW_SET_UF('f'), .a2 = c158}; | |
#define c159 (TO_SPTR_C(P_WHNF, (sptr_t)&_c159)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 32),Right 159],160) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c160 = {.a1 = (sptr_t)RAW_SET_UF(' '), .a2 = c159}; | |
#define c160 (TO_SPTR_C(P_WHNF, (sptr_t)&_c160)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 58),Right 160],161) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c161 = {.a1 = (sptr_t)RAW_SET_UF(':'), .a2 = c160}; | |
#define c161 (TO_SPTR_C(P_WHNF, (sptr_t)&_c161)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 115),Right 161],162) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c162 = {.a1 = (sptr_t)RAW_SET_UF('s'), .a2 = c161}; | |
#define c162 (TO_SPTR_C(P_WHNF, (sptr_t)&_c162)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 37),Right 162],163) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c163 = {.a1 = (sptr_t)RAW_SET_UF('%'), .a2 = c162}; | |
#define c163 (TO_SPTR_C(P_WHNF, (sptr_t)&_c163)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 58),Right 23],24) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c24 = {.a1 = (sptr_t)RAW_SET_UF(':'), .a2 = c23}; | |
#define c24 (TO_SPTR_C(P_WHNF, (sptr_t)&_c24)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 58),Right 40],41) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c41 = {.a1 = (sptr_t)RAW_SET_UF(':'), .a2 = c40}; | |
#define c41 (TO_SPTR_C(P_WHNF, (sptr_t)&_c41)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 58),Right 105],106) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c106 = {.a1 = (sptr_t)RAW_SET_UF(':'), .a2 = c105}; | |
#define c106 (TO_SPTR_C(P_WHNF, (sptr_t)&_c106)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 58),Right 140],141) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c141 = {.a1 = (sptr_t)RAW_SET_UF(':'), .a2 = c140}; | |
#define c141 (TO_SPTR_C(P_WHNF, (sptr_t)&_c141)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 66),Right 74],75) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c75 = {.a1 = (sptr_t)RAW_SET_UF('B'), .a2 = c74}; | |
#define c75 (TO_SPTR_C(P_WHNF, (sptr_t)&_c75)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 82),Right 75],76) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c76 = {.a1 = (sptr_t)RAW_SET_UF('R'), .a2 = c75}; | |
#define c76 (TO_SPTR_C(P_WHNF, (sptr_t)&_c76)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 73),Right 76],77) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c77 = {.a1 = (sptr_t)RAW_SET_UF('I'), .a2 = c76}; | |
#define c77 (TO_SPTR_C(P_WHNF, (sptr_t)&_c77)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 82),Right 77],78) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c78 = {.a1 = (sptr_t)RAW_SET_UF('R'), .a2 = c77}; | |
#define c78 (TO_SPTR_C(P_WHNF, (sptr_t)&_c78)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 116),Right 41],42) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c42 = {.a1 = (sptr_t)RAW_SET_UF('t'), .a2 = c41}; | |
#define c42 (TO_SPTR_C(P_WHNF, (sptr_t)&_c42)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 117),Right 42],43) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c43 = {.a1 = (sptr_t)RAW_SET_UF('u'), .a2 = c42}; | |
#define c43 (TO_SPTR_C(P_WHNF, (sptr_t)&_c43)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 112),Right 43],44) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c44 = {.a1 = (sptr_t)RAW_SET_UF('p'), .a2 = c43}; | |
#define c44 (TO_SPTR_C(P_WHNF, (sptr_t)&_c44)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 116),Right 44],45) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c45 = {.a1 = (sptr_t)RAW_SET_UF('t'), .a2 = c44}; | |
#define c45 (TO_SPTR_C(P_WHNF, (sptr_t)&_c45)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 117),Right 45],46) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c46 = {.a1 = (sptr_t)RAW_SET_UF('u'), .a2 = c45}; | |
#define c46 (TO_SPTR_C(P_WHNF, (sptr_t)&_c46)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 111),Right 46],47) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c47 = {.a1 = (sptr_t)RAW_SET_UF('o'), .a2 = c46}; | |
#define c47 (TO_SPTR_C(P_WHNF, (sptr_t)&_c47)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 95),Right 47],48) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c48 = {.a1 = (sptr_t)RAW_SET_UF('_'), .a2 = c47}; | |
#define c48 (TO_SPTR_C(P_WHNF, (sptr_t)&_c48)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 114),Right 48],49) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c49 = {.a1 = (sptr_t)RAW_SET_UF('r'), .a2 = c48}; | |
#define c49 (TO_SPTR_C(P_WHNF, (sptr_t)&_c49)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 101),Right 49],50) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c50 = {.a1 = (sptr_t)RAW_SET_UF('e'), .a2 = c49}; | |
#define c50 (TO_SPTR_C(P_WHNF, (sptr_t)&_c50)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 103),Right 50],51) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c51 = {.a1 = (sptr_t)RAW_SET_UF('g'), .a2 = c50}; | |
#define c51 (TO_SPTR_C(P_WHNF, (sptr_t)&_c51)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 103),Right 51],52) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c52 = {.a1 = (sptr_t)RAW_SET_UF('g'), .a2 = c51}; | |
#define c52 (TO_SPTR_C(P_WHNF, (sptr_t)&_c52)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 105),Right 52],53) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c53 = {.a1 = (sptr_t)RAW_SET_UF('i'), .a2 = c52}; | |
#define c53 (TO_SPTR_C(P_WHNF, (sptr_t)&_c53)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 114),Right 53],54) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c54 = {.a1 = (sptr_t)RAW_SET_UF('r'), .a2 = c53}; | |
#define c54 (TO_SPTR_C(P_WHNF, (sptr_t)&_c54)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 116),Right 54],55) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c55 = {.a1 = (sptr_t)RAW_SET_UF('t'), .a2 = c54}; | |
#define c55 (TO_SPTR_C(P_WHNF, (sptr_t)&_c55)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 95),Right 55],56) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c56 = {.a1 = (sptr_t)RAW_SET_UF('_'), .a2 = c55}; | |
#define c56 (TO_SPTR_C(P_WHNF, (sptr_t)&_c56)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 99),Right 74],165) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c165 = {.a1 = (sptr_t)RAW_SET_UF('c'), .a2 = c74}; | |
#define c165 (TO_SPTR_C(P_WHNF, (sptr_t)&_c165)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 101),Right 165],166) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c166 = {.a1 = (sptr_t)RAW_SET_UF('e'), .a2 = c165}; | |
#define c166 (TO_SPTR_C(P_WHNF, (sptr_t)&_c166)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 100),Right 166],167) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c167 = {.a1 = (sptr_t)RAW_SET_UF('d'), .a2 = c166}; | |
#define c167 (TO_SPTR_C(P_WHNF, (sptr_t)&_c167)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 111),Right 167],168) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c168 = {.a1 = (sptr_t)RAW_SET_UF('o'), .a2 = c167}; | |
#define c168 (TO_SPTR_C(P_WHNF, (sptr_t)&_c168)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 99),Right 168],169) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c169 = {.a1 = (sptr_t)RAW_SET_UF('c'), .a2 = c168}; | |
#define c169 (TO_SPTR_C(P_WHNF, (sptr_t)&_c169)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 95),Right 169],170) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c170 = {.a1 = (sptr_t)RAW_SET_UF('_'), .a2 = c169}; | |
#define c170 (TO_SPTR_C(P_WHNF, (sptr_t)&_c170)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 99),Left &("CJhc.Prim.Prim.[]")],4) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c4 = {.a1 = (sptr_t)RAW_SET_UF('c'), .a2 = (sptr_t)SET_RAW_TAG(CJhc_Prim_Prim_$BE)}; | |
#define c4 (TO_SPTR_C(P_WHNF, (sptr_t)&_c4)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 111),Right 4],5) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c5 = {.a1 = (sptr_t)RAW_SET_UF('o'), .a2 = c4}; | |
#define c5 (TO_SPTR_C(P_WHNF, (sptr_t)&_c5)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 108),Right 5],6) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c6 = {.a1 = (sptr_t)RAW_SET_UF('l'), .a2 = c5}; | |
#define c6 (TO_SPTR_C(P_WHNF, (sptr_t)&_c6)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 108),Right 6],7) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c7 = {.a1 = (sptr_t)RAW_SET_UF('l'), .a2 = c6}; | |
#define c7 (TO_SPTR_C(P_WHNF, (sptr_t)&_c7)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 97),Right 7],8) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c8 = {.a1 = (sptr_t)RAW_SET_UF('a'), .a2 = c7}; | |
#define c8 (TO_SPTR_C(P_WHNF, (sptr_t)&_c8)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 104),Right 56],57) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c57 = {.a1 = (sptr_t)RAW_SET_UF('h'), .a2 = c56}; | |
#define c57 (TO_SPTR_C(P_WHNF, (sptr_t)&_c57)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 99),Right 57],58) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c58 = {.a1 = (sptr_t)RAW_SET_UF('c'), .a2 = c57}; | |
#define c58 (TO_SPTR_C(P_WHNF, (sptr_t)&_c58)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 105),Right 58],59) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c59 = {.a1 = (sptr_t)RAW_SET_UF('i'), .a2 = c58}; | |
#define c59 (TO_SPTR_C(P_WHNF, (sptr_t)&_c59)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 117),Right 59],60) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c60 = {.a1 = (sptr_t)RAW_SET_UF('u'), .a2 = c59}; | |
#define c60 (TO_SPTR_C(P_WHNF, (sptr_t)&_c60)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 97),Right 60],61) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c61 = {.a1 = (sptr_t)RAW_SET_UF('a'), .a2 = c60}; | |
#define c61 (TO_SPTR_C(P_WHNF, (sptr_t)&_c61)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 101),Right 170],171) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c171 = {.a1 = (sptr_t)RAW_SET_UF('e'), .a2 = c170}; | |
#define c171 (TO_SPTR_C(P_WHNF, (sptr_t)&_c171)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 116),Right 171],172) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c172 = {.a1 = (sptr_t)RAW_SET_UF('t'), .a2 = c171}; | |
#define c172 (TO_SPTR_C(P_WHNF, (sptr_t)&_c172)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 105),Right 172],173) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c173 = {.a1 = (sptr_t)RAW_SET_UF('i'), .a2 = c172}; | |
#define c173 (TO_SPTR_C(P_WHNF, (sptr_t)&_c173)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 108),Right 106],107) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c107 = {.a1 = (sptr_t)RAW_SET_UF('l'), .a2 = c106}; | |
#define c107 (TO_SPTR_C(P_WHNF, (sptr_t)&_c107)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 108),Right 141],142) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c142 = {.a1 = (sptr_t)RAW_SET_UF('l'), .a2 = c141}; | |
#define c142 (TO_SPTR_C(P_WHNF, (sptr_t)&_c142)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 109),Right 8],9) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c9 = {.a1 = (sptr_t)RAW_SET_UF('m'), .a2 = c8}; | |
#define c9 (TO_SPTR_C(P_WHNF, (sptr_t)&_c9)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 111),Right 107],108) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c108 = {.a1 = (sptr_t)RAW_SET_UF('o'), .a2 = c107}; | |
#define c108 (TO_SPTR_C(P_WHNF, (sptr_t)&_c108)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 115),Right 108],109) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c109 = {.a1 = (sptr_t)RAW_SET_UF('s'), .a2 = c108}; | |
#define c109 (TO_SPTR_C(P_WHNF, (sptr_t)&_c109)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 110),Right 109],110) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c110 = {.a1 = (sptr_t)RAW_SET_UF('n'), .a2 = c109}; | |
#define c110 (TO_SPTR_C(P_WHNF, (sptr_t)&_c110)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 111),Right 142],143) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c143 = {.a1 = (sptr_t)RAW_SET_UF('o'), .a2 = c142}; | |
#define c143 (TO_SPTR_C(P_WHNF, (sptr_t)&_c143)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 115),Right 143],144) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c144 = {.a1 = (sptr_t)RAW_SET_UF('s'), .a2 = c143}; | |
#define c144 (TO_SPTR_C(P_WHNF, (sptr_t)&_c144)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 110),Right 144],145) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c145 = {.a1 = (sptr_t)RAW_SET_UF('n'), .a2 = c144}; | |
#define c145 (TO_SPTR_C(P_WHNF, (sptr_t)&_c145)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 114),Right 173],174) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c174 = {.a1 = (sptr_t)RAW_SET_UF('r'), .a2 = c173}; | |
#define c174 (TO_SPTR_C(P_WHNF, (sptr_t)&_c174)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 117),Right 110],111) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c111 = {.a1 = (sptr_t)RAW_SET_UF('u'), .a2 = c110}; | |
#define c111 (TO_SPTR_C(P_WHNF, (sptr_t)&_c111)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 117),Right 145],146) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c146 = {.a1 = (sptr_t)RAW_SET_UF('u'), .a2 = c145}; | |
#define c146 (TO_SPTR_C(P_WHNF, (sptr_t)&_c146)) | |
/* (HcNode CJhc.Prim.Prim.: [Left &("CJhc.Type.Basic.Char" 119),Right 174],175) */ | |
static const struct sCJhc_Prim_Prim_$x3a _c175 = {.a1 = (sptr_t)RAW_SET_UF('w'), .a2 = c174}; | |
#define c175 (TO_SPTR_C(P_WHNF, (sptr_t)&_c175)) | |
const void * const nh_stuff[] = { | |
&_g1977892955, &_c1, &_c2, &_c3, &_c4, &_c5, &_c6, &_c7, &_c8, | |
&_c9, &_c10, &_c11, &_c12, &_c13, &_c14, &_c15, &_c16, &_c17, | |
&_c18, &_c19, &_c20, &_c21, &_c22, &_c23, &_c24, &_c25, &_c26, | |
&_c27, &_c28, &_c29, &_c30, &_c31, &_c32, &_c33, &_c34, &_c35, | |
&_c36, &_c37, &_c38, &_c39, &_c40, &_c41, &_c42, &_c43, &_c44, | |
&_c45, &_c46, &_c47, &_c48, &_c49, &_c50, &_c51, &_c52, &_c53, | |
&_c54, &_c55, &_c56, &_c57, &_c58, &_c59, &_c60, &_c61, &_c62, | |
&_c63, &_c64, &_c65, &_c66, &_c67, &_c68, &_c69, &_c70, &_c71, | |
&_c72, &_c73, &_c74, &_c75, &_c76, &_c77, &_c78, &_c79, &_c80, | |
&_c81, &_c82, &_c83, &_c84, &_c85, &_c86, &_c87, &_c88, &_c89, | |
&_c90, &_c91, &_c92, &_c93, &_c94, &_c95, &_c96, &_c97, &_c98, | |
&_c99, &_c100, &_c101, &_c102, &_c103, &_c104, &_c105, &_c106, | |
&_c107, &_c108, &_c109, &_c110, &_c111, &_c112, &_c113, &_c114, | |
&_c115, &_c116, &_c117, &_c118, &_c119, &_c120, &_c121, &_c122, | |
&_c123, &_c124, &_c125, &_c126, &_c127, &_c128, &_c129, &_c130, | |
&_c131, &_c132, &_c133, &_c134, &_c135, &_c136, &_c137, &_c138, | |
&_c139, &_c140, &_c141, &_c142, &_c143, &_c144, &_c145, &_c146, | |
&_c147, &_c148, &_c149, &_c150, &_c151, &_c152, &_c153, &_c154, | |
&_c155, &_c156, &_c157, &_c158, &_c159, &_c160, &_c161, &_c162, | |
&_c163, &_c164, &_c165, &_c166, &_c167, &_c168, &_c169, &_c170, | |
&_c171, &_c172, &_c173, &_c174, &_c175, &_c176, NULL | |
}; | |
void | |
jhc_hs_init(gc_t gc,arena_t arena) | |
{ | |
alloc_public_caches(arena,sizeof(struct s_caches_pub)); | |
find_cache(&public_caches(arena)->cFDev_AudioIf_p__StreamFilterList__req__size$d2,arena,TO_BLOCKS(sizeof(struct sFDev_AudioIf_p__StreamFilterList__req__size$d2)),2); | |
find_cache(&public_caches(arena)->cFDev_AudioIf_p__AudioParamsT__channels$d2,arena,TO_BLOCKS(sizeof(struct sFDev_AudioIf_p__AudioParamsT__channels$d2)),2); | |
find_cache(&public_caches(arena)->cP1__Foreign_C_String_withCString$d4,arena,TO_BLOCKS(sizeof(struct sP1__Foreign_C_String_withCString$d4)),3); | |
find_cache(&public_caches(arena)->cP1__W$__fKern_SubrPrf_printfS1$d3,arena,TO_BLOCKS(sizeof(struct sP1__W$__fKern_SubrPrf_printfS1$d3)),3); | |
find_cache(&public_caches(arena)->cP1__W$__fKern_SubrPrf_printfP1$d3,arena,TO_BLOCKS(sizeof(struct sP1__W$__fKern_SubrPrf_printfP1$d3)),3); | |
find_cache(&public_caches(arena)->cP1__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d3,arena,TO_BLOCKS(sizeof(struct sP1__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d3)),3); | |
find_cache(&public_caches(arena)->cP1__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d3,arena,TO_BLOCKS(sizeof(struct sP1__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d3)),3); | |
find_cache(&public_caches(arena)->cP1__Dev_Pci_Auich_auichWriteCodec$d12,arena,TO_BLOCKS(sizeof(struct sP1__Dev_Pci_Auich_auichWriteCodec$d12)),3); | |
find_cache(&public_caches(arena)->cP1__FE$__CCall_auichSetParams$d4,arena,TO_BLOCKS(sizeof(struct sP1__FE$__CCall_auichSetParams$d4)),3); | |
find_cache(&public_caches(arena)->cP1__FE$__CCall_auichSetParams$d6,arena,TO_BLOCKS(sizeof(struct sP1__FE$__CCall_auichSetParams$d6)),3); | |
find_cache(&public_caches(arena)->cP1__FE$__CCall_auichSetParams$d8,arena,TO_BLOCKS(sizeof(struct sP1__FE$__CCall_auichSetParams$d8)),3); | |
find_cache(&public_caches(arena)->cP1__FE$__CCall_auichSetParams$d10,arena,TO_BLOCKS(sizeof(struct sP1__FE$__CCall_auichSetParams$d10)),3); | |
find_cache(&public_caches(arena)->cP1__FE$__CCall_auichSetParams$d13,arena,TO_BLOCKS(sizeof(struct sP1__FE$__CCall_auichSetParams$d13)),3); | |
find_cache(&public_caches(arena)->cP1__FE$__CCall_auichSetParams$d15,arena,TO_BLOCKS(sizeof(struct sP1__FE$__CCall_auichSetParams$d15)),3); | |
find_cache(&public_caches(arena)->cP1__FE$__CCall_auichSetParams$d17,arena,TO_BLOCKS(sizeof(struct sP1__FE$__CCall_auichSetParams$d17)),3); | |
find_cache(&public_caches(arena)->cCJhc_Type_Word_WordPtr,arena,TO_BLOCKS(sizeof(struct sCJhc_Type_Word_WordPtr)),0); | |
find_cache(&public_caches(arena)->cCJhc_Type_Basic_Right,arena,TO_BLOCKS(sizeof(struct sCJhc_Type_Basic_Right)),2); | |
find_cache(&public_caches(arena)->cCJhc_Type_Basic_Left,arena,TO_BLOCKS(sizeof(struct sCJhc_Type_Basic_Left)),2); | |
find_cache(&public_caches(arena)->cCJhc_Type_Word_Word,arena,TO_BLOCKS(sizeof(struct sCJhc_Type_Word_Word)),0); | |
find_cache(&public_caches(arena)->cCJhc_Type_Ptr_Ptr,arena,TO_BLOCKS(sizeof(struct sCJhc_Type_Ptr_Ptr)),0); | |
find_cache(&public_caches(arena)->cCJhc_Type_Word_Int,arena,TO_BLOCKS(sizeof(struct sCJhc_Type_Word_Int)),0); | |
find_cache(&public_caches(arena)->cCJhc_Prim_Prim_$x3a,arena,TO_BLOCKS(sizeof(struct sCJhc_Prim_Prim_$x3a)),2); | |
find_cache(&public_caches(arena)->cCJhc_Type_Word_Word32,arena,TO_BLOCKS(sizeof(struct sCJhc_Type_Word_Word32)),0); | |
find_cache(&public_caches(arena)->cP1__FE$__CCall_auichSetParams$d19,arena,TO_BLOCKS(sizeof(struct sP1__FE$__CCall_auichSetParams$d19)),3); | |
find_cache(&public_caches(arena)->cCJhc_Prim_Prim_$LccR,arena,TO_BLOCKS(sizeof(struct sCJhc_Prim_Prim_$LccR)),3); | |
find_cache(&public_caches(arena)->cFFE$__CCall_auichSetParams$d2,arena,TO_BLOCKS(sizeof(struct sFFE$__CCall_auichSetParams$d2)),2); | |
find_cache(&public_caches(arena)->cFFE$__CCall_auichSetParams$d3,arena,TO_BLOCKS(sizeof(struct sFFE$__CCall_auichSetParams$d3)),2); | |
find_cache(&public_caches(arena)->cP2__FE$__CCall_auichSetParams$d4,arena,TO_BLOCKS(sizeof(struct sP2__FE$__CCall_auichSetParams$d4)),2); | |
find_cache(&public_caches(arena)->cFFE$__CCall_auichSetParams$d5,arena,TO_BLOCKS(sizeof(struct sFFE$__CCall_auichSetParams$d5)),2); | |
find_cache(&public_caches(arena)->cP2__FE$__CCall_auichSetParams$d6,arena,TO_BLOCKS(sizeof(struct sP2__FE$__CCall_auichSetParams$d6)),2); | |
find_cache(&public_caches(arena)->cFFE$__CCall_auichSetParams$d7,arena,TO_BLOCKS(sizeof(struct sFFE$__CCall_auichSetParams$d7)),2); | |
find_cache(&public_caches(arena)->cP2__FE$__CCall_auichSetParams$d8,arena,TO_BLOCKS(sizeof(struct sP2__FE$__CCall_auichSetParams$d8)),2); | |
find_cache(&public_caches(arena)->cFFE$__CCall_auichSetParams$d9,arena,TO_BLOCKS(sizeof(struct sFFE$__CCall_auichSetParams$d9)),2); | |
find_cache(&public_caches(arena)->cP2__FE$__CCall_auichSetParams$d10,arena,TO_BLOCKS(sizeof(struct sP2__FE$__CCall_auichSetParams$d10)),2); | |
find_cache(&public_caches(arena)->cFFE$__CCall_auichSetParams$d11,arena,TO_BLOCKS(sizeof(struct sFFE$__CCall_auichSetParams$d11)),2); | |
find_cache(&public_caches(arena)->cFFE$__CCall_auichSetParams$d12,arena,TO_BLOCKS(sizeof(struct sFFE$__CCall_auichSetParams$d12)),2); | |
find_cache(&public_caches(arena)->cP2__FE$__CCall_auichSetParams$d13,arena,TO_BLOCKS(sizeof(struct sP2__FE$__CCall_auichSetParams$d13)),2); | |
find_cache(&public_caches(arena)->cFFE$__CCall_auichSetParams$d14,arena,TO_BLOCKS(sizeof(struct sFFE$__CCall_auichSetParams$d14)),2); | |
find_cache(&public_caches(arena)->cP2__FE$__CCall_auichSetParams$d15,arena,TO_BLOCKS(sizeof(struct sP2__FE$__CCall_auichSetParams$d15)),2); | |
find_cache(&public_caches(arena)->cFFE$__CCall_auichSetParams$d16,arena,TO_BLOCKS(sizeof(struct sFFE$__CCall_auichSetParams$d16)),2); | |
find_cache(&public_caches(arena)->cP2__FE$__CCall_auichSetParams$d17,arena,TO_BLOCKS(sizeof(struct sP2__FE$__CCall_auichSetParams$d17)),2); | |
find_cache(&public_caches(arena)->cFFE$__CCall_auichSetParams$d18,arena,TO_BLOCKS(sizeof(struct sFFE$__CCall_auichSetParams$d18)),2); | |
find_cache(&public_caches(arena)->cP2__FE$__CCall_auichSetParams$d19,arena,TO_BLOCKS(sizeof(struct sP2__FE$__CCall_auichSetParams$d19)),2); | |
find_cache(&public_caches(arena)->cP1__Dev_Pci_Auich_auichWriteCodec$d2,arena,TO_BLOCKS(sizeof(struct sP1__Dev_Pci_Auich_auichWriteCodec$d2)),0); | |
find_cache(&public_caches(arena)->cFDev_Pci_Auich_auichWriteCodec$d4,arena,TO_BLOCKS(sizeof(struct sFDev_Pci_Auich_auichWriteCodec$d4)),2); | |
find_cache(&public_caches(arena)->cP1__Dev_Pci_Auich_auichWriteCodec$d10,arena,TO_BLOCKS(sizeof(struct sP1__Dev_Pci_Auich_auichWriteCodec$d10)),3); | |
find_cache(&public_caches(arena)->cP2__Dev_Pci_Auich_auichWriteCodec$d11,arena,TO_BLOCKS(sizeof(struct sP2__Dev_Pci_Auich_auichWriteCodec$d11)),0); | |
find_cache(&public_caches(arena)->cP2__Dev_Pci_Auich_auichWriteCodec$d12,arena,TO_BLOCKS(sizeof(struct sP2__Dev_Pci_Auich_auichWriteCodec$d12)),2); | |
find_cache(&public_caches(arena)->cFDev_Pci_Auich_auichWriteCodec$d8,arena,TO_BLOCKS(sizeof(struct sFDev_Pci_Auich_auichWriteCodec$d8)),2); | |
find_cache(&public_caches(arena)->cP1__Dev_Pci_Auich_auichWriteCodec$d6,arena,TO_BLOCKS(sizeof(struct sP1__Dev_Pci_Auich_auichWriteCodec$d6)),3); | |
find_cache(&public_caches(arena)->cFDev_Pci_Auich_auichWriteCodec$d2,arena,TO_BLOCKS(sizeof(struct sFDev_Pci_Auich_auichWriteCodec$d2)),1); | |
find_cache(&public_caches(arena)->cP1__Dev_Pci_Auich_auichWriteCodec$d3,arena,TO_BLOCKS(sizeof(struct sP1__Dev_Pci_Auich_auichWriteCodec$d3)),0); | |
find_cache(&public_caches(arena)->cFW$__fDev_Pci_Auich_Intr_auichIntrPipe$d2,arena,TO_BLOCKS(sizeof(struct sFW$__fDev_Pci_Auich_Intr_auichIntrPipe$d2)),2); | |
find_cache(&public_caches(arena)->cP1__W$__fDev_Pci_Auich_auichHaltPipe$d2,arena,TO_BLOCKS(sizeof(struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d2)),0); | |
find_cache(&public_caches(arena)->cFW$__fDev_Pci_Auich_auichHaltPipe$d4,arena,TO_BLOCKS(sizeof(struct sFW$__fDev_Pci_Auich_auichHaltPipe$d4)),2); | |
find_cache(&public_caches(arena)->cP1__W$__fDev_Pci_Auich_auichHaltPipe$d9,arena,TO_BLOCKS(sizeof(struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d9)),3); | |
find_cache(&public_caches(arena)->cFW$__fDev_Pci_Auich_auichHaltPipe$d7,arena,TO_BLOCKS(sizeof(struct sFW$__fDev_Pci_Auich_auichHaltPipe$d7)),2); | |
find_cache(&public_caches(arena)->cP1__W$__fDev_Pci_Auich_auichHaltPipe$d5,arena,TO_BLOCKS(sizeof(struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d5)),3); | |
find_cache(&public_caches(arena)->cFW$__fDev_Pci_Auich_auichHaltPipe$d2,arena,TO_BLOCKS(sizeof(struct sFW$__fDev_Pci_Auich_auichHaltPipe$d2)),1); | |
find_cache(&public_caches(arena)->cP1__W$__fDev_Pci_Auich_auichHaltPipe$d3,arena,TO_BLOCKS(sizeof(struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d3)),0); | |
find_cache(&public_caches(arena)->cP2__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d2,arena,TO_BLOCKS(sizeof(struct sP2__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d2)),0); | |
find_cache(&public_caches(arena)->cP2__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d3,arena,TO_BLOCKS(sizeof(struct sP2__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d3)),2); | |
find_cache(&public_caches(arena)->cFDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d4,arena,TO_BLOCKS(sizeof(struct sFDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d4)),1); | |
find_cache(&public_caches(arena)->cFDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d5,arena,TO_BLOCKS(sizeof(struct sFDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d5)),2); | |
find_cache(&public_caches(arena)->cFDev_Pci_Auich_Ptr_p__AuichRing__blksize$d2,arena,TO_BLOCKS(sizeof(struct sFDev_Pci_Auich_Ptr_p__AuichRing__blksize$d2)),2); | |
find_cache(&public_caches(arena)->cP1__W$__fDev_Pci_Auich_auichAllocmem$d2,arena,TO_BLOCKS(sizeof(struct sP1__W$__fDev_Pci_Auich_auichAllocmem$d2)),0); | |
find_cache(&public_caches(arena)->cCJhc_Prim_Prim_$LcR,arena,TO_BLOCKS(sizeof(struct sCJhc_Prim_Prim_$LcR)),2); | |
find_cache(&public_caches(arena)->cP1__W$__fDev_Pci_Auich_auichAllocmem$d3,arena,TO_BLOCKS(sizeof(struct sP1__W$__fDev_Pci_Auich_auichAllocmem$d3)),0); | |
find_cache(&public_caches(arena)->cP1__W$__fDev_Pci_Auich_auichAllocmem$d4,arena,TO_BLOCKS(sizeof(struct sP1__W$__fDev_Pci_Auich_auichAllocmem$d4)),0); | |
find_cache(&public_caches(arena)->cFDev_Pci_Auich_Ptr_p__AuichSoftc__iot$d2,arena,TO_BLOCKS(sizeof(struct sFDev_Pci_Auich_Ptr_p__AuichSoftc__iot$d2)),2); | |
find_cache(&public_caches(arena)->cFDev_Pci_Auich_Ptr_p__AuichSoftc__codec__if$d2,arena,TO_BLOCKS(sizeof(struct sFDev_Pci_Auich_Ptr_p__AuichSoftc__codec__if$d2)),2); | |
find_cache(&public_caches(arena)->cP2__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d2,arena,TO_BLOCKS(sizeof(struct sP2__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d2)),0); | |
find_cache(&public_caches(arena)->cP2__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d3,arena,TO_BLOCKS(sizeof(struct sP2__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d3)),2); | |
find_cache(&public_caches(arena)->cP2__W$__fKern_SubrPrf_printfP1$d2,arena,TO_BLOCKS(sizeof(struct sP2__W$__fKern_SubrPrf_printfP1$d2)),0); | |
find_cache(&public_caches(arena)->cP2__W$__fKern_SubrPrf_printfP1$d3,arena,TO_BLOCKS(sizeof(struct sP2__W$__fKern_SubrPrf_printfP1$d3)),2); | |
find_cache(&public_caches(arena)->cP2__W$__fKern_SubrPrf_printfS1$d2,arena,TO_BLOCKS(sizeof(struct sP2__W$__fKern_SubrPrf_printfS1$d2)),0); | |
find_cache(&public_caches(arena)->cP2__W$__fKern_SubrPrf_printfS1$d3,arena,TO_BLOCKS(sizeof(struct sP2__W$__fKern_SubrPrf_printfS1$d3)),2); | |
find_cache(&public_caches(arena)->cP2__Foreign_C_String_withCString$d2,arena,TO_BLOCKS(sizeof(struct sP2__Foreign_C_String_withCString$d2)),3); | |
find_cache(&public_caches(arena)->cP2__Foreign_C_String_withCString$d4,arena,TO_BLOCKS(sizeof(struct sP2__Foreign_C_String_withCString$d4)),2); | |
find_cache(&public_caches(arena)->cFR$__fJhc_Basics_$pp,arena,TO_BLOCKS(sizeof(struct sFR$__fJhc_Basics_$pp)),3); | |
} | |
static wptr_t A_STD A_FALIGNED | |
E__fDev_AudioIf_p__AudioParamsT__channels$d2(gc_t gc,arena_t arena,struct sFDev_AudioIf_p__AudioParamsT__channels$d2* arg) | |
{ | |
{ wptr_t r; | |
gc_frame0(gc,1,MKLAZY(arg)); | |
r = fDev_AudioIf_p__AudioParamsT__channels$d2(gc,arena,arg->a1); | |
update(arg,r); | |
return r; | |
} | |
} | |
static wptr_t A_STD A_FALIGNED | |
E__fDev_AudioIf_p__StreamFilterList__req__size$d2(gc_t gc,arena_t arena,struct sFDev_AudioIf_p__StreamFilterList__req__size$d2* arg) | |
{ | |
{ wptr_t r; | |
gc_frame0(gc,1,MKLAZY(arg)); | |
r = fDev_AudioIf_p__StreamFilterList__req__size$d2(gc,arena,arg->a1); | |
update(arg,r); | |
return r; | |
} | |
} | |
static wptr_t A_STD A_FALIGNED | |
E__fDev_Pci_Auich_Ptr_p__AuichRing__blksize$d2(gc_t gc,arena_t arena,struct sFDev_Pci_Auich_Ptr_p__AuichRing__blksize$d2* arg) | |
{ | |
{ wptr_t r; | |
gc_frame0(gc,1,MKLAZY(arg)); | |
r = fDev_Pci_Auich_Ptr_p__AuichRing__blksize$d2(gc,arena,arg->a1); | |
update(arg,r); | |
return r; | |
} | |
} | |
static wptr_t A_STD A_FALIGNED | |
E__fDev_Pci_Auich_Ptr_p__AuichSoftc__codec__if$d2(gc_t gc,arena_t arena,struct sFDev_Pci_Auich_Ptr_p__AuichSoftc__codec__if$d2* arg) | |
{ | |
{ wptr_t r; | |
gc_frame0(gc,1,MKLAZY(arg)); | |
r = fDev_Pci_Auich_Ptr_p__AuichSoftc__codec__if$d2(gc,arena,arg->a1); | |
update(arg,r); | |
return r; | |
} | |
} | |
static wptr_t A_STD A_FALIGNED | |
E__fDev_Pci_Auich_Ptr_p__AuichSoftc__iot$d2(gc_t gc,arena_t arena,struct sFDev_Pci_Auich_Ptr_p__AuichSoftc__iot$d2* arg) | |
{ | |
{ wptr_t r; | |
gc_frame0(gc,1,MKLAZY(arg)); | |
r = fDev_Pci_Auich_Ptr_p__AuichSoftc__iot$d2(gc,arena,arg->a1); | |
update(arg,r); | |
return r; | |
} | |
} | |
static wptr_t A_STD A_FALIGNED | |
E__fDev_Pci_Auich_auichWriteCodec$d2(gc_t gc,arena_t arena,struct sFDev_Pci_Auich_auichWriteCodec$d2* arg) | |
{ | |
{ wptr_t r; | |
gc_frame0(gc,1,MKLAZY(arg)); | |
r = fDev_Pci_Auich_auichWriteCodec$d2(gc,arena,arg->a1,arg->a2,arg->a3,arg->a4); | |
update(arg,r); | |
return r; | |
} | |
} | |
static wptr_t A_STD A_FALIGNED | |
E__fDev_Pci_Auich_auichWriteCodec$d4(gc_t gc,arena_t arena,struct sFDev_Pci_Auich_auichWriteCodec$d4* arg) | |
{ | |
{ wptr_t r; | |
gc_frame0(gc,1,MKLAZY(arg)); | |
r = fDev_Pci_Auich_auichWriteCodec$d4(gc,arena,arg->a1); | |
update(arg,r); | |
return r; | |
} | |
} | |
static wptr_t A_STD A_FALIGNED | |
E__fDev_Pci_Auich_auichWriteCodec$d8(gc_t gc,arena_t arena,struct sFDev_Pci_Auich_auichWriteCodec$d8* arg) | |
{ | |
{ wptr_t r; | |
gc_frame0(gc,1,MKLAZY(arg)); | |
r = fDev_Pci_Auich_auichWriteCodec$d8(gc,arena,arg->a1,arg->a2); | |
update(arg,r); | |
return r; | |
} | |
} | |
static wptr_t A_STD A_FALIGNED | |
E__fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d4(gc_t gc,arena_t arena,struct sFDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d4* arg) | |
{ | |
{ wptr_t r; | |
gc_frame0(gc,1,MKLAZY(arg)); | |
r = fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d4(gc,arena,arg->a1); | |
update(arg,r); | |
return r; | |
} | |
} | |
static wptr_t A_STD A_FALIGNED | |
E__fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d5(gc_t gc,arena_t arena,struct sFDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d5* arg) | |
{ | |
{ wptr_t r; | |
gc_frame0(gc,1,MKLAZY(arg)); | |
r = fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d5(gc,arena,arg->a1); | |
update(arg,r); | |
return r; | |
} | |
} | |
static wptr_t A_STD A_FALIGNED | |
E__fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d7(gc_t gc,arena_t arena,struct sFDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d7* arg) | |
{ | |
wptr_t r; | |
r = fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d7(gc,arena); | |
update(arg,r); | |
gc_add_root(gc,arena,(sptr_t)r); | |
return r; | |
} | |
static wptr_t A_STD A_FALIGNED | |
E__fFE$__CCall_auichSetParams$d11(gc_t gc,arena_t arena,struct sFFE$__CCall_auichSetParams$d11* arg) | |
{ | |
{ wptr_t r; | |
gc_frame0(gc,1,MKLAZY(arg)); | |
r = fFE$__CCall_auichSetParams$d11(gc,arena,arg->a1); | |
update(arg,r); | |
return r; | |
} | |
} | |
static wptr_t A_STD A_FALIGNED | |
E__fFE$__CCall_auichSetParams$d12(gc_t gc,arena_t arena,struct sFFE$__CCall_auichSetParams$d12* arg) | |
{ | |
{ wptr_t r; | |
gc_frame0(gc,1,MKLAZY(arg)); | |
r = fFE$__CCall_auichSetParams$d12(gc,arena,arg->a1); | |
update(arg,r); | |
return r; | |
} | |
} | |
static wptr_t A_STD A_FALIGNED | |
E__fFE$__CCall_auichSetParams$d14(gc_t gc,arena_t arena,struct sFFE$__CCall_auichSetParams$d14* arg) | |
{ | |
{ wptr_t r; | |
gc_frame0(gc,1,MKLAZY(arg)); | |
r = fFE$__CCall_auichSetParams$d14(gc,arena,arg->a1); | |
update(arg,r); | |
return r; | |
} | |
} | |
static wptr_t A_STD A_FALIGNED | |
E__fFE$__CCall_auichSetParams$d16(gc_t gc,arena_t arena,struct sFFE$__CCall_auichSetParams$d16* arg) | |
{ | |
{ wptr_t r; | |
gc_frame0(gc,1,MKLAZY(arg)); | |
r = fFE$__CCall_auichSetParams$d16(gc,arena,arg->a1); | |
update(arg,r); | |
return r; | |
} | |
} | |
static wptr_t A_STD A_FALIGNED | |
E__fFE$__CCall_auichSetParams$d18(gc_t gc,arena_t arena,struct sFFE$__CCall_auichSetParams$d18* arg) | |
{ | |
{ wptr_t r; | |
gc_frame0(gc,1,MKLAZY(arg)); | |
r = fFE$__CCall_auichSetParams$d18(gc,arena,arg->a1); | |
update(arg,r); | |
return r; | |
} | |
} | |
static wptr_t A_STD A_FALIGNED | |
E__fFE$__CCall_auichSetParams$d2(gc_t gc,arena_t arena,struct sFFE$__CCall_auichSetParams$d2* arg) | |
{ | |
{ wptr_t r; | |
gc_frame0(gc,1,MKLAZY(arg)); | |
r = fFE$__CCall_auichSetParams$d2(gc,arena,arg->a1); | |
update(arg,r); | |
return r; | |
} | |
} | |
static wptr_t A_STD A_FALIGNED | |
E__fFE$__CCall_auichSetParams$d3(gc_t gc,arena_t arena,struct sFFE$__CCall_auichSetParams$d3* arg) | |
{ | |
{ wptr_t r; | |
gc_frame0(gc,1,MKLAZY(arg)); | |
r = fFE$__CCall_auichSetParams$d3(gc,arena,arg->a1); | |
update(arg,r); | |
return r; | |
} | |
} | |
static wptr_t A_STD A_FALIGNED | |
E__fFE$__CCall_auichSetParams$d5(gc_t gc,arena_t arena,struct sFFE$__CCall_auichSetParams$d5* arg) | |
{ | |
{ wptr_t r; | |
gc_frame0(gc,1,MKLAZY(arg)); | |
r = fFE$__CCall_auichSetParams$d5(gc,arena,arg->a1); | |
update(arg,r); | |
return r; | |
} | |
} | |
static wptr_t A_STD A_FALIGNED | |
E__fFE$__CCall_auichSetParams$d7(gc_t gc,arena_t arena,struct sFFE$__CCall_auichSetParams$d7* arg) | |
{ | |
{ wptr_t r; | |
gc_frame0(gc,1,MKLAZY(arg)); | |
r = fFE$__CCall_auichSetParams$d7(gc,arena,arg->a1); | |
update(arg,r); | |
return r; | |
} | |
} | |
static wptr_t A_STD A_FALIGNED | |
E__fFE$__CCall_auichSetParams$d9(gc_t gc,arena_t arena,struct sFFE$__CCall_auichSetParams$d9* arg) | |
{ | |
{ wptr_t r; | |
gc_frame0(gc,1,MKLAZY(arg)); | |
r = fFE$__CCall_auichSetParams$d9(gc,arena,arg->a1); | |
update(arg,r); | |
return r; | |
} | |
} | |
static wptr_t A_STD A_FALIGNED | |
E__fR$__fJhc_Basics_$pp(gc_t gc,arena_t arena,struct sFR$__fJhc_Basics_$pp* arg) | |
{ | |
{ wptr_t r; | |
gc_frame0(gc,1,MKLAZY(arg)); | |
r = fR$__fJhc_Basics_$pp(gc,arena,arg->a1,arg->a2); | |
update(arg,r); | |
return r; | |
} | |
} | |
static wptr_t A_STD A_FALIGNED | |
E__fW$__fDev_Pci_Auich_Intr_auichIntrPipe$d2(gc_t gc,arena_t arena,struct sFW$__fDev_Pci_Auich_Intr_auichIntrPipe$d2* arg) | |
{ | |
{ wptr_t r; | |
gc_frame0(gc,1,MKLAZY(arg)); | |
r = fW$__fDev_Pci_Auich_Intr_auichIntrPipe$d2(gc,arena,arg->a1); | |
update(arg,r); | |
return r; | |
} | |
} | |
static wptr_t A_STD A_FALIGNED | |
E__fW$__fDev_Pci_Auich_auichHaltPipe$d2(gc_t gc,arena_t arena,struct sFW$__fDev_Pci_Auich_auichHaltPipe$d2* arg) | |
{ | |
{ wptr_t r; | |
gc_frame0(gc,1,MKLAZY(arg)); | |
r = fW$__fDev_Pci_Auich_auichHaltPipe$d2(gc,arena,arg->a1,arg->a2,arg->a3,arg->a4); | |
update(arg,r); | |
return r; | |
} | |
} | |
static wptr_t A_STD A_FALIGNED | |
E__fW$__fDev_Pci_Auich_auichHaltPipe$d4(gc_t gc,arena_t arena,struct sFW$__fDev_Pci_Auich_auichHaltPipe$d4* arg) | |
{ | |
{ wptr_t r; | |
gc_frame0(gc,1,MKLAZY(arg)); | |
r = fW$__fDev_Pci_Auich_auichHaltPipe$d4(gc,arena,arg->a1); | |
update(arg,r); | |
return r; | |
} | |
} | |
static wptr_t A_STD A_FALIGNED | |
E__fW$__fDev_Pci_Auich_auichHaltPipe$d7(gc_t gc,arena_t arena,struct sFW$__fDev_Pci_Auich_auichHaltPipe$d7* arg) | |
{ | |
{ wptr_t r; | |
gc_frame0(gc,1,MKLAZY(arg)); | |
r = fW$__fDev_Pci_Auich_auichHaltPipe$d7(gc,arena,arg->a1,arg->a2); | |
update(arg,r); | |
return r; | |
} | |
} | |
void | |
_amain(void) | |
{ | |
arena_t arena; | |
gc_t gc; | |
gc = NULL; | |
arena = NULL; | |
jhc_alloc_init(&gc,&arena); | |
jhc_hs_init(gc,arena); | |
b__main(gc,arena); | |
jhc_alloc_fini(gc,arena); | |
} | |
HsPtr | |
auichAllocm(HsPtr x182,int x183,size_t x184) | |
{ | |
arena_t arena; | |
gc_t gc; | |
gc = NULL; | |
arena = NULL; | |
jhc_alloc_init(&gc,&arena); | |
jhc_hs_init(gc,arena); | |
HsPtr x185 = ((HsPtr)fFE$__CCall_auichAllocm(gc,arena,(uintptr_t)x182,(uint32_t)x183,(uintptr_t)x184)); | |
jhc_alloc_fini(gc,arena); | |
return x185; | |
} | |
int | |
auichAllocmem(HsPtr x175,size_t x176,size_t x177,HsPtr x178) | |
{ | |
arena_t arena; | |
gc_t gc; | |
gc = NULL; | |
arena = NULL; | |
jhc_alloc_init(&gc,&arena); | |
jhc_hs_init(gc,arena); | |
int x179 = ((int)fFE$__CCall_auichAllocmem(gc,arena,(uintptr_t)x175,(uintptr_t)x176,(uintptr_t)x177,(uintptr_t)x178)); | |
jhc_alloc_fini(gc,arena); | |
return x179; | |
} | |
void | |
auichClose(HsPtr x111) | |
{ | |
arena_t arena; | |
gc_t gc; | |
gc = NULL; | |
arena = NULL; | |
jhc_alloc_init(&gc,&arena); | |
jhc_hs_init(gc,arena); | |
fFE$__CCall_auichClose(gc,arena,(uintptr_t)x111); | |
jhc_alloc_fini(gc,arena); | |
} | |
void | |
auichFreem(HsPtr x329,HsPtr x330,size_t x331) | |
{ | |
arena_t arena; | |
gc_t gc; | |
gc = NULL; | |
arena = NULL; | |
jhc_alloc_init(&gc,&arena); | |
jhc_hs_init(gc,arena); | |
fFE$__CCall_auichFreem(gc,arena,(uintptr_t)x329,(uintptr_t)x330,(uintptr_t)x331); | |
jhc_alloc_fini(gc,arena); | |
} | |
int | |
auichFreemem(HsPtr x122,HsPtr x123) | |
{ | |
arena_t arena; | |
gc_t gc; | |
gc = NULL; | |
arena = NULL; | |
jhc_alloc_init(&gc,&arena); | |
jhc_hs_init(gc,arena); | |
int x124 = ((int)fFE$__CCall_auichFreemem(gc,arena,(uintptr_t)x122,(uintptr_t)x123)); | |
jhc_alloc_fini(gc,arena); | |
return x124; | |
} | |
void | |
auichGetLocks(HsPtr x96,HsPtr* x97,HsPtr* x98) | |
{ | |
arena_t arena; | |
gc_t gc; | |
gc = NULL; | |
arena = NULL; | |
jhc_alloc_init(&gc,&arena); | |
jhc_hs_init(gc,arena); | |
fFE$__CCall_auichGetLocks(gc,arena,(uintptr_t)x96,(uintptr_t)x97,(uintptr_t)x98); | |
jhc_alloc_fini(gc,arena); | |
} | |
int | |
auichGetPort(HsPtr x116,HsPtr x117) | |
{ | |
arena_t arena; | |
gc_t gc; | |
gc = NULL; | |
arena = NULL; | |
jhc_alloc_init(&gc,&arena); | |
jhc_hs_init(gc,arena); | |
int x118 = ((int)fFE$__CCall_auichGetPort(gc,arena,(uintptr_t)x116,(uintptr_t)x117)); | |
jhc_alloc_fini(gc,arena); | |
return x118; | |
} | |
int | |
auichGetProps(HsPtr x125) | |
{ | |
arena_t arena; | |
gc_t gc; | |
gc = NULL; | |
arena = NULL; | |
jhc_alloc_init(&gc,&arena); | |
jhc_hs_init(gc,arena); | |
int x126 = ((int)fFE$__CCall_auichGetProps(gc,arena,(uintptr_t)x125)); | |
jhc_alloc_fini(gc,arena); | |
return x126; | |
} | |
int | |
auichGetdev(HsPtr x347,HsPtr x348) | |
{ | |
arena_t arena; | |
gc_t gc; | |
gc = NULL; | |
arena = NULL; | |
jhc_alloc_init(&gc,&arena); | |
jhc_hs_init(gc,arena); | |
int x349 = ((int)fFE$__CCall_auichGetdev(gc,arena,(uintptr_t)x347,(uintptr_t)x348)); | |
jhc_alloc_fini(gc,arena); | |
return x349; | |
} | |
int | |
auichHaltInput(HsPtr x249) | |
{ | |
arena_t arena; | |
gc_t gc; | |
gc = NULL; | |
arena = NULL; | |
jhc_alloc_init(&gc,&arena); | |
jhc_hs_init(gc,arena); | |
int x250 = ((int)fFE$__CCall_auichHaltInput(gc,arena,(uintptr_t)x249)); | |
jhc_alloc_fini(gc,arena); | |
return x250; | |
} | |
int | |
auichHaltOutput(HsPtr x246) | |
{ | |
arena_t arena; | |
gc_t gc; | |
gc = NULL; | |
arena = NULL; | |
jhc_alloc_init(&gc,&arena); | |
jhc_hs_init(gc,arena); | |
int x247 = ((int)fFE$__CCall_auichHaltOutput(gc,arena,(uintptr_t)x246)); | |
jhc_alloc_fini(gc,arena); | |
return x247; | |
} | |
void | |
auichHaltPipe(HsPtr x242,int x243) | |
{ | |
arena_t arena; | |
gc_t gc; | |
gc = NULL; | |
arena = NULL; | |
jhc_alloc_init(&gc,&arena); | |
jhc_hs_init(gc,arena); | |
fFE$__CCall_auichHaltPipe(gc,arena,(uintptr_t)x242,(uint32_t)x243); | |
jhc_alloc_fini(gc,arena); | |
} | |
int | |
auichIntr(HsPtr x272) | |
{ | |
arena_t arena; | |
gc_t gc; | |
gc = NULL; | |
arena = NULL; | |
jhc_alloc_init(&gc,&arena); | |
jhc_hs_init(gc,arena); | |
int x273 = ((int)fFE$__CCall_auichIntr(gc,arena,(uintptr_t)x272)); | |
jhc_alloc_fini(gc,arena); | |
return x273; | |
} | |
void | |
auichIntrPipe(HsPtr x256,int x257,HsPtr x258) | |
{ | |
arena_t arena; | |
gc_t gc; | |
gc = NULL; | |
arena = NULL; | |
jhc_alloc_init(&gc,&arena); | |
jhc_hs_init(gc,arena); | |
fFE$__CCall_auichIntrPipe(gc,arena,(uintptr_t)x256,(uint32_t)x257,(uintptr_t)x258); | |
jhc_alloc_fini(gc,arena); | |
} | |
unsigned long | |
auichMappage(HsPtr x337,HsPtr x338,int64_t x339,int x340) | |
{ | |
arena_t arena; | |
gc_t gc; | |
gc = NULL; | |
arena = NULL; | |
jhc_alloc_init(&gc,&arena); | |
jhc_hs_init(gc,arena); | |
unsigned long x341 = ((unsigned long)fFE$__CCall_auichMappage(gc,arena,(uintptr_t)x337,(uintptr_t)x338,(uint64_t)x339,(uint32_t)x340)); | |
jhc_alloc_fini(gc,arena); | |
return x341; | |
} | |
int | |
auichOpen(HsPtr x108,int x109) | |
{ | |
arena_t arena; | |
gc_t gc; | |
gc = NULL; | |
arena = NULL; | |
jhc_alloc_init(&gc,&arena); | |
jhc_hs_init(gc,arena); | |
int x110 = ((int)fFE$__CCall_auichOpen(gc,arena,(uintptr_t)x108,(uint32_t)x109)); | |
jhc_alloc_fini(gc,arena); | |
return x110; | |
} | |
int | |
auichQueryDevinfo(HsPtr x119,HsPtr x120) | |
{ | |
arena_t arena; | |
gc_t gc; | |
gc = NULL; | |
arena = NULL; | |
jhc_alloc_init(&gc,&arena); | |
jhc_hs_init(gc,arena); | |
int x121 = ((int)fFE$__CCall_auichQueryDevinfo(gc,arena,(uintptr_t)x119,(uintptr_t)x120)); | |
jhc_alloc_fini(gc,arena); | |
return x121; | |
} | |
int | |
auichQueryEncoding(HsPtr x127,HsPtr x128) | |
{ | |
arena_t arena; | |
gc_t gc; | |
gc = NULL; | |
arena = NULL; | |
jhc_alloc_init(&gc,&arena); | |
jhc_hs_init(gc,arena); | |
int x129 = ((int)fFE$__CCall_auichQueryEncoding(gc,arena,(uintptr_t)x127,(uintptr_t)x128)); | |
jhc_alloc_fini(gc,arena); | |
return x129; | |
} | |
int | |
auichRoundBlocksize(HsPtr x342,int x343,int x344,HsPtr x345) | |
{ | |
arena_t arena; | |
gc_t gc; | |
gc = NULL; | |
arena = NULL; | |
jhc_alloc_init(&gc,&arena); | |
jhc_hs_init(gc,arena); | |
int x346 = ((int)fFE$__CCall_auichRoundBlocksize(gc,arena,(uintptr_t)x342,(uint32_t)x343,(uint32_t)x344,(uintptr_t)x345)); | |
jhc_alloc_fini(gc,arena); | |
return x346; | |
} | |
size_t | |
auichRoundBuffersize(HsPtr x104,int x105,size_t x106) | |
{ | |
arena_t arena; | |
gc_t gc; | |
gc = NULL; | |
arena = NULL; | |
jhc_alloc_init(&gc,&arena); | |
jhc_hs_init(gc,arena); | |
size_t x107 = ((size_t)fFE$__CCall_auichRoundBuffersize(gc,arena,(uintptr_t)x104,(uint32_t)x105,(uintptr_t)x106)); | |
jhc_alloc_fini(gc,arena); | |
return x107; | |
} | |
int | |
auichSetParams(HsPtr x320,int x321,int x322,HsPtr x323,HsPtr x324,HsPtr x325,HsPtr x326) | |
{ | |
arena_t arena; | |
gc_t gc; | |
gc = NULL; | |
arena = NULL; | |
jhc_alloc_init(&gc,&arena); | |
jhc_hs_init(gc,arena); | |
int x327 = ((int)fFE$__CCall_auichSetParams(gc,arena,(uintptr_t)x320,(uint32_t)x321,(uint32_t)x322,(uintptr_t)x323,(uintptr_t)x324,(uintptr_t)x325,(uintptr_t)x326)); | |
jhc_alloc_fini(gc,arena); | |
return x327; | |
} | |
int | |
auichSetPort(HsPtr x113,HsPtr x114) | |
{ | |
arena_t arena; | |
gc_t gc; | |
gc = NULL; | |
arena = NULL; | |
jhc_alloc_init(&gc,&arena); | |
jhc_hs_init(gc,arena); | |
int x115 = ((int)fFE$__CCall_auichSetPort(gc,arena,(uintptr_t)x113,(uintptr_t)x114)); | |
jhc_alloc_fini(gc,arena); | |
return x115; | |
} | |
int | |
auichTriggerOutput(HsPtr x199,HsPtr x200,HsPtr x201,int x202,HsFunPtr x203,HsPtr x204,HsPtr x205) | |
{ | |
arena_t arena; | |
gc_t gc; | |
gc = NULL; | |
arena = NULL; | |
jhc_alloc_init(&gc,&arena); | |
jhc_hs_init(gc,arena); | |
int x206 = ((int)fFE$__CCall_auichTriggerOutput(gc,arena,(uintptr_t)x199,(uintptr_t)x200,(uintptr_t)x201,(uint32_t)x202,(uintptr_t)x203,(uintptr_t)x204,(uintptr_t)x205)); | |
jhc_alloc_fini(gc,arena); | |
return x206; | |
} | |
void | |
auichTriggerPipe(HsPtr x192,int x193,HsPtr x194) | |
{ | |
arena_t arena; | |
gc_t gc; | |
gc = NULL; | |
arena = NULL; | |
jhc_alloc_init(&gc,&arena); | |
jhc_hs_init(gc,arena); | |
fFE$__CCall_auichTriggerPipe(gc,arena,(uintptr_t)x192,(uint32_t)x193,(uintptr_t)x194); | |
jhc_alloc_fini(gc,arena); | |
} | |
int | |
auichWriteCodec(HsPtr x297,uint8_t x298,uint16_t x299) | |
{ | |
arena_t arena; | |
gc_t gc; | |
gc = NULL; | |
arena = NULL; | |
jhc_alloc_init(&gc,&arena); | |
jhc_hs_init(gc,arena); | |
int x300 = ((int)fFE$__CCall_auichWriteCodec(gc,arena,(uintptr_t)x297,(uint8_t)x298,(uint16_t)x299)); | |
jhc_alloc_fini(gc,arena); | |
return x300; | |
} | |
static void A_STD | |
b__main(gc_t gc,arena_t arena) | |
{ | |
ftheMain(gc,arena); | |
return; | |
} | |
static wptr_t A_STD A_MALLOC | |
bapply__56235(gc_t gc,arena_t arena,wptr_t v1,sptr_t v2) | |
{ | |
switch (FETCH_TAG(v1)) { | |
case P2__Foreign_C_String_withCString$d4: | |
{ sptr_t v3; | |
v3 = ((struct sP2__Foreign_C_String_withCString$d4*)v1)->a1; | |
{ gc_frame0(gc,2,v2,v3); | |
wptr_t x81 = s_alloc(gc,arena,public_caches(arena)->cP1__Foreign_C_String_withCString$d4); | |
SET_MEM_TAG((struct sP1__Foreign_C_String_withCString$d4*)x81,P1__Foreign_C_String_withCString$d4); | |
((struct sP1__Foreign_C_String_withCString$d4*)x81)->a1 = v3; | |
((struct sP1__Foreign_C_String_withCString$d4*)x81)->a2 = v2; | |
return x81; | |
} | |
} | |
break; | |
case P2__W$__fKern_SubrPrf_printfS1$d3: | |
{ sptr_t v7; | |
v7 = ((struct sP2__W$__fKern_SubrPrf_printfS1$d3*)v1)->a1; | |
{ gc_frame0(gc,2,v2,v7); | |
wptr_t x82 = s_alloc(gc,arena,public_caches(arena)->cP1__W$__fKern_SubrPrf_printfS1$d3); | |
SET_MEM_TAG((struct sP1__W$__fKern_SubrPrf_printfS1$d3*)x82,P1__W$__fKern_SubrPrf_printfS1$d3); | |
((struct sP1__W$__fKern_SubrPrf_printfS1$d3*)x82)->a1 = v7; | |
((struct sP1__W$__fKern_SubrPrf_printfS1$d3*)x82)->a2 = v2; | |
return x82; | |
} | |
} | |
break; | |
case P2__W$__fKern_SubrPrf_printfP1$d3: | |
{ sptr_t v8; | |
v8 = ((struct sP2__W$__fKern_SubrPrf_printfP1$d3*)v1)->a1; | |
{ gc_frame0(gc,2,v2,v8); | |
wptr_t x83 = s_alloc(gc,arena,public_caches(arena)->cP1__W$__fKern_SubrPrf_printfP1$d3); | |
SET_MEM_TAG((struct sP1__W$__fKern_SubrPrf_printfP1$d3*)x83,P1__W$__fKern_SubrPrf_printfP1$d3); | |
((struct sP1__W$__fKern_SubrPrf_printfP1$d3*)x83)->a1 = v8; | |
((struct sP1__W$__fKern_SubrPrf_printfP1$d3*)x83)->a2 = v2; | |
return x83; | |
} | |
} | |
break; | |
case P2__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d3: | |
{ sptr_t v9; | |
v9 = ((struct sP2__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d3*)v1)->a1; | |
{ gc_frame0(gc,2,v2,v9); | |
wptr_t x84 = s_alloc(gc,arena,public_caches(arena)->cP1__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d3); | |
SET_MEM_TAG((struct sP1__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d3*)x84,P1__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d3); | |
((struct sP1__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d3*)x84)->a1 = v9; | |
((struct sP1__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d3*)x84)->a2 = v2; | |
return x84; | |
} | |
} | |
break; | |
case P2__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d3: | |
{ sptr_t v10; | |
v10 = ((struct sP2__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d3*)v1)->a1; | |
{ gc_frame0(gc,2,v2,v10); | |
wptr_t x85 = s_alloc(gc,arena,public_caches(arena)->cP1__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d3); | |
SET_MEM_TAG((struct sP1__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d3*)x85,P1__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d3); | |
((struct sP1__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d3*)x85)->a1 = v10; | |
((struct sP1__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d3*)x85)->a2 = v2; | |
return x85; | |
} | |
} | |
break; | |
case P2__Dev_Pci_Auich_auichWriteCodec$d12: | |
{ sptr_t v11; | |
v11 = ((struct sP2__Dev_Pci_Auich_auichWriteCodec$d12*)v1)->a1; | |
{ gc_frame0(gc,2,v2,v11); | |
wptr_t x86 = s_alloc(gc,arena,public_caches(arena)->cP1__Dev_Pci_Auich_auichWriteCodec$d12); | |
SET_MEM_TAG((struct sP1__Dev_Pci_Auich_auichWriteCodec$d12*)x86,P1__Dev_Pci_Auich_auichWriteCodec$d12); | |
((struct sP1__Dev_Pci_Auich_auichWriteCodec$d12*)x86)->a1 = v11; | |
((struct sP1__Dev_Pci_Auich_auichWriteCodec$d12*)x86)->a2 = v2; | |
return x86; | |
} | |
} | |
break; | |
case P2__FE$__CCall_auichSetParams$d19: | |
{ sptr_t v12; | |
uintptr_t v4; | |
uintptr_t v5; | |
v12 = ((struct sP2__FE$__CCall_auichSetParams$d19*)v1)->a1; | |
v4 = ((struct sP2__FE$__CCall_auichSetParams$d19*)v1)->a2; | |
v5 = ((struct sP2__FE$__CCall_auichSetParams$d19*)v1)->a3; | |
{ gc_frame0(gc,2,v2,v12); | |
wptr_t x87 = s_alloc(gc,arena,public_caches(arena)->cP1__FE$__CCall_auichSetParams$d19); | |
SET_MEM_TAG((struct sP1__FE$__CCall_auichSetParams$d19*)x87,P1__FE$__CCall_auichSetParams$d19); | |
((struct sP1__FE$__CCall_auichSetParams$d19*)x87)->a1 = v12; | |
((struct sP1__FE$__CCall_auichSetParams$d19*)x87)->a2 = v4; | |
((struct sP1__FE$__CCall_auichSetParams$d19*)x87)->a3 = v5; | |
((struct sP1__FE$__CCall_auichSetParams$d19*)x87)->a4 = v2; | |
return x87; | |
} | |
} | |
break; | |
case P2__FE$__CCall_auichSetParams$d17: | |
{ sptr_t v17; | |
uintptr_t v15; | |
uintptr_t v19; | |
v15 = ((struct sP2__FE$__CCall_auichSetParams$d17*)v1)->a1; | |
v17 = ((struct sP2__FE$__CCall_auichSetParams$d17*)v1)->a2; | |
v19 = ((struct sP2__FE$__CCall_auichSetParams$d17*)v1)->a3; | |
{ gc_frame0(gc,2,v2,v17); | |
wptr_t x88 = s_alloc(gc,arena,public_caches(arena)->cP1__FE$__CCall_auichSetParams$d17); | |
SET_MEM_TAG((struct sP1__FE$__CCall_auichSetParams$d17*)x88,P1__FE$__CCall_auichSetParams$d17); | |
((struct sP1__FE$__CCall_auichSetParams$d17*)x88)->a1 = v15; | |
((struct sP1__FE$__CCall_auichSetParams$d17*)x88)->a2 = v17; | |
((struct sP1__FE$__CCall_auichSetParams$d17*)x88)->a3 = v19; | |
((struct sP1__FE$__CCall_auichSetParams$d17*)x88)->a4 = v2; | |
return x88; | |
} | |
} | |
break; | |
case P2__FE$__CCall_auichSetParams$d15: | |
{ sptr_t v20; | |
uintptr_t v18; | |
uintptr_t v22; | |
v18 = ((struct sP2__FE$__CCall_auichSetParams$d15*)v1)->a1; | |
v20 = ((struct sP2__FE$__CCall_auichSetParams$d15*)v1)->a2; | |
v22 = ((struct sP2__FE$__CCall_auichSetParams$d15*)v1)->a3; | |
{ gc_frame0(gc,2,v2,v20); | |
wptr_t x89 = s_alloc(gc,arena,public_caches(arena)->cP1__FE$__CCall_auichSetParams$d15); | |
SET_MEM_TAG((struct sP1__FE$__CCall_auichSetParams$d15*)x89,P1__FE$__CCall_auichSetParams$d15); | |
((struct sP1__FE$__CCall_auichSetParams$d15*)x89)->a1 = v18; | |
((struct sP1__FE$__CCall_auichSetParams$d15*)x89)->a2 = v20; | |
((struct sP1__FE$__CCall_auichSetParams$d15*)x89)->a3 = v22; | |
((struct sP1__FE$__CCall_auichSetParams$d15*)x89)->a4 = v2; | |
return x89; | |
} | |
} | |
break; | |
case P2__FE$__CCall_auichSetParams$d13: | |
{ sptr_t v21; | |
uintptr_t v23; | |
uintptr_t v25; | |
v21 = ((struct sP2__FE$__CCall_auichSetParams$d13*)v1)->a1; | |
v23 = ((struct sP2__FE$__CCall_auichSetParams$d13*)v1)->a2; | |
v25 = ((struct sP2__FE$__CCall_auichSetParams$d13*)v1)->a3; | |
{ gc_frame0(gc,2,v2,v21); | |
wptr_t x90 = s_alloc(gc,arena,public_caches(arena)->cP1__FE$__CCall_auichSetParams$d13); | |
SET_MEM_TAG((struct sP1__FE$__CCall_auichSetParams$d13*)x90,P1__FE$__CCall_auichSetParams$d13); | |
((struct sP1__FE$__CCall_auichSetParams$d13*)x90)->a1 = v21; | |
((struct sP1__FE$__CCall_auichSetParams$d13*)x90)->a2 = v23; | |
((struct sP1__FE$__CCall_auichSetParams$d13*)x90)->a3 = v25; | |
((struct sP1__FE$__CCall_auichSetParams$d13*)x90)->a4 = v2; | |
return x90; | |
} | |
} | |
break; | |
case P2__FE$__CCall_auichSetParams$d10: | |
{ sptr_t v26; | |
uintptr_t v24; | |
uintptr_t v28; | |
v24 = ((struct sP2__FE$__CCall_auichSetParams$d10*)v1)->a1; | |
v26 = ((struct sP2__FE$__CCall_auichSetParams$d10*)v1)->a2; | |
v28 = ((struct sP2__FE$__CCall_auichSetParams$d10*)v1)->a3; | |
{ gc_frame0(gc,2,v2,v26); | |
wptr_t x91 = s_alloc(gc,arena,public_caches(arena)->cP1__FE$__CCall_auichSetParams$d10); | |
SET_MEM_TAG((struct sP1__FE$__CCall_auichSetParams$d10*)x91,P1__FE$__CCall_auichSetParams$d10); | |
((struct sP1__FE$__CCall_auichSetParams$d10*)x91)->a1 = v24; | |
((struct sP1__FE$__CCall_auichSetParams$d10*)x91)->a2 = v26; | |
((struct sP1__FE$__CCall_auichSetParams$d10*)x91)->a3 = v28; | |
((struct sP1__FE$__CCall_auichSetParams$d10*)x91)->a4 = v2; | |
return x91; | |
} | |
} | |
break; | |
case P2__FE$__CCall_auichSetParams$d8: | |
{ sptr_t v29; | |
uintptr_t v27; | |
uintptr_t v31; | |
v27 = ((struct sP2__FE$__CCall_auichSetParams$d8*)v1)->a1; | |
v29 = ((struct sP2__FE$__CCall_auichSetParams$d8*)v1)->a2; | |
v31 = ((struct sP2__FE$__CCall_auichSetParams$d8*)v1)->a3; | |
{ gc_frame0(gc,2,v2,v29); | |
wptr_t x92 = s_alloc(gc,arena,public_caches(arena)->cP1__FE$__CCall_auichSetParams$d8); | |
SET_MEM_TAG((struct sP1__FE$__CCall_auichSetParams$d8*)x92,P1__FE$__CCall_auichSetParams$d8); | |
((struct sP1__FE$__CCall_auichSetParams$d8*)x92)->a1 = v27; | |
((struct sP1__FE$__CCall_auichSetParams$d8*)x92)->a2 = v29; | |
((struct sP1__FE$__CCall_auichSetParams$d8*)x92)->a3 = v31; | |
((struct sP1__FE$__CCall_auichSetParams$d8*)x92)->a4 = v2; | |
return x92; | |
} | |
} | |
break; | |
case P2__FE$__CCall_auichSetParams$d6: | |
{ sptr_t v30; | |
uintptr_t v32; | |
uintptr_t v34; | |
v30 = ((struct sP2__FE$__CCall_auichSetParams$d6*)v1)->a1; | |
v32 = ((struct sP2__FE$__CCall_auichSetParams$d6*)v1)->a2; | |
v34 = ((struct sP2__FE$__CCall_auichSetParams$d6*)v1)->a3; | |
{ gc_frame0(gc,2,v2,v30); | |
wptr_t x93 = s_alloc(gc,arena,public_caches(arena)->cP1__FE$__CCall_auichSetParams$d6); | |
SET_MEM_TAG((struct sP1__FE$__CCall_auichSetParams$d6*)x93,P1__FE$__CCall_auichSetParams$d6); | |
((struct sP1__FE$__CCall_auichSetParams$d6*)x93)->a1 = v30; | |
((struct sP1__FE$__CCall_auichSetParams$d6*)x93)->a2 = v32; | |
((struct sP1__FE$__CCall_auichSetParams$d6*)x93)->a3 = v34; | |
((struct sP1__FE$__CCall_auichSetParams$d6*)x93)->a4 = v2; | |
return x93; | |
} | |
} | |
break; | |
case P2__FE$__CCall_auichSetParams$d4: | |
{ sptr_t v33; | |
uintptr_t v35; | |
uintptr_t v37; | |
v33 = ((struct sP2__FE$__CCall_auichSetParams$d4*)v1)->a1; | |
v35 = ((struct sP2__FE$__CCall_auichSetParams$d4*)v1)->a2; | |
v37 = ((struct sP2__FE$__CCall_auichSetParams$d4*)v1)->a3; | |
{ gc_frame0(gc,2,v2,v33); | |
wptr_t x94 = s_alloc(gc,arena,public_caches(arena)->cP1__FE$__CCall_auichSetParams$d4); | |
SET_MEM_TAG((struct sP1__FE$__CCall_auichSetParams$d4*)x94,P1__FE$__CCall_auichSetParams$d4); | |
((struct sP1__FE$__CCall_auichSetParams$d4*)x94)->a1 = v33; | |
((struct sP1__FE$__CCall_auichSetParams$d4*)x94)->a2 = v35; | |
((struct sP1__FE$__CCall_auichSetParams$d4*)x94)->a3 = v37; | |
((struct sP1__FE$__CCall_auichSetParams$d4*)x94)->a4 = v2; | |
return x94; | |
} | |
} | |
break; | |
default: jhc_case_fell_off(__LINE__); | |
} | |
} | |
static sptr_t A_STD A_MALLOC | |
bapply__56236(gc_t gc,arena_t arena,wptr_t v67) | |
{ | |
switch (FETCH_TAG(v67)) { | |
case P1__W$__fDev_Pci_Auich_auichAllocmem$d4: | |
{ uintptr_t v39; | |
uintptr_t v71; | |
v71 = ((struct sP1__W$__fDev_Pci_Auich_auichAllocmem$d4*)v67)->a1; | |
v39 = ((struct sP1__W$__fDev_Pci_Auich_auichAllocmem$d4*)v67)->a2; | |
return fW$__fDev_Pci_Auich_auichAllocmem$d4(gc,arena,v71,v39); | |
} | |
break; | |
case P1__W$__fDev_Pci_Auich_auichAllocmem$d3: | |
{ uintptr_t v41; | |
uintptr_t v43; | |
uintptr_t v75; | |
v75 = ((struct sP1__W$__fDev_Pci_Auich_auichAllocmem$d3*)v67)->a1; | |
v41 = ((struct sP1__W$__fDev_Pci_Auich_auichAllocmem$d3*)v67)->a2; | |
v43 = ((struct sP1__W$__fDev_Pci_Auich_auichAllocmem$d3*)v67)->a3; | |
return fW$__fDev_Pci_Auich_auichAllocmem$d3(gc,arena,v75,v41,v43); | |
} | |
break; | |
case P1__W$__fDev_Pci_Auich_auichAllocmem$d2: | |
{ uintptr_t v42; | |
uintptr_t v44; | |
uintptr_t v46; | |
v42 = ((struct sP1__W$__fDev_Pci_Auich_auichAllocmem$d2*)v67)->a1; | |
v44 = ((struct sP1__W$__fDev_Pci_Auich_auichAllocmem$d2*)v67)->a2; | |
v46 = ((struct sP1__W$__fDev_Pci_Auich_auichAllocmem$d2*)v67)->a3; | |
return fW$__fDev_Pci_Auich_auichAllocmem$d2(gc,arena,v42,v44,v46); | |
} | |
break; | |
case P1__W$__fDev_Pci_Auich_auichHaltPipe$d3: | |
{ uintptr_t v45; | |
uintptr_t v47; | |
uint32_t v49; | |
v45 = ((struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d3*)v67)->a1; | |
v47 = ((struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d3*)v67)->a2; | |
v49 = ((struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d3*)v67)->a3; | |
return fW$__fDev_Pci_Auich_auichHaltPipe$d3(gc,arena,v45,v47,v49); | |
} | |
break; | |
case P1__W$__fDev_Pci_Auich_auichHaltPipe$d5: | |
{ sptr_t v48; | |
sptr_t v50; | |
v48 = ((struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d5*)v67)->a1; | |
v50 = ((struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d5*)v67)->a2; | |
{ gc_frame0(gc,2,v48,v50); | |
return fW$__fDev_Pci_Auich_auichHaltPipe$d5(gc,arena,v48,v50); | |
} | |
} | |
break; | |
case P1__W$__fDev_Pci_Auich_auichHaltPipe$d6: | |
{ return fW$__fDev_Pci_Auich_auichHaltPipe$d6(gc,arena); | |
} | |
break; | |
case P1__W$__fDev_Pci_Auich_auichHaltPipe$d8: | |
{ return fW$__fDev_Pci_Auich_auichHaltPipe$d8(gc,arena); | |
} | |
break; | |
case P1__W$__fDev_Pci_Auich_auichHaltPipe$d9: | |
{ sptr_t v52; | |
sptr_t v97; | |
v97 = ((struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d9*)v67)->a1; | |
v52 = ((struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d9*)v67)->a2; | |
{ gc_frame0(gc,2,v52,v97); | |
return fW$__fDev_Pci_Auich_auichHaltPipe$d9(gc,arena,v97,v52); | |
} | |
} | |
break; | |
case P1__Dev_Pci_Auich_auichWriteCodec$d3: | |
{ uintptr_t v101; | |
uintptr_t v54; | |
uintptr_t v56; | |
v101 = ((struct sP1__Dev_Pci_Auich_auichWriteCodec$d3*)v67)->a1; | |
v54 = ((struct sP1__Dev_Pci_Auich_auichWriteCodec$d3*)v67)->a2; | |
v56 = ((struct sP1__Dev_Pci_Auich_auichWriteCodec$d3*)v67)->a3; | |
return fDev_Pci_Auich_auichWriteCodec$d3(gc,arena,v101,v54,v56); | |
} | |
break; | |
case P1__Dev_Pci_Auich_auichWriteCodec$d5: | |
{ return fDev_Pci_Auich_auichWriteCodec$d5(gc,arena); | |
} | |
break; | |
case P1__Dev_Pci_Auich_auichWriteCodec$d6: | |
{ sptr_t v55; | |
sptr_t v57; | |
v55 = ((struct sP1__Dev_Pci_Auich_auichWriteCodec$d6*)v67)->a1; | |
v57 = ((struct sP1__Dev_Pci_Auich_auichWriteCodec$d6*)v67)->a2; | |
{ gc_frame0(gc,2,v55,v57); | |
return fDev_Pci_Auich_auichWriteCodec$d6(gc,arena,v55,v57); | |
} | |
} | |
break; | |
case P1__Dev_Pci_Auich_auichWriteCodec$d9: | |
{ return fDev_Pci_Auich_auichWriteCodec$d9(gc,arena); | |
} | |
break; | |
case P1__Dev_Pci_Auich_auichWriteCodec$d10: | |
{ sptr_t v111; | |
sptr_t v59; | |
v111 = ((struct sP1__Dev_Pci_Auich_auichWriteCodec$d10*)v67)->a1; | |
v59 = ((struct sP1__Dev_Pci_Auich_auichWriteCodec$d10*)v67)->a2; | |
{ gc_frame0(gc,2,v59,v111); | |
return fDev_Pci_Auich_auichWriteCodec$d10(gc,arena,v111,v59); | |
} | |
} | |
break; | |
case P1__FE$__CCall_auichSetParams$d19: | |
{ sptr_t v115; | |
sptr_t v6; | |
uintptr_t v61; | |
uintptr_t v63; | |
v115 = ((struct sP1__FE$__CCall_auichSetParams$d19*)v67)->a1; | |
v61 = ((struct sP1__FE$__CCall_auichSetParams$d19*)v67)->a2; | |
v63 = ((struct sP1__FE$__CCall_auichSetParams$d19*)v67)->a3; | |
v6 = ((struct sP1__FE$__CCall_auichSetParams$d19*)v67)->a4; | |
{ gc_frame0(gc,2,v6,v115); | |
return fFE$__CCall_auichSetParams$d19(gc,arena,v115,v61,v63,v6); | |
} | |
} | |
break; | |
case P1__FE$__CCall_auichSetParams$d17: | |
{ sptr_t v65; | |
sptr_t v69; | |
uintptr_t v123; | |
uintptr_t v129; | |
v123 = ((struct sP1__FE$__CCall_auichSetParams$d17*)v67)->a1; | |
v65 = ((struct sP1__FE$__CCall_auichSetParams$d17*)v67)->a2; | |
v129 = ((struct sP1__FE$__CCall_auichSetParams$d17*)v67)->a3; | |
v69 = ((struct sP1__FE$__CCall_auichSetParams$d17*)v67)->a4; | |
{ gc_frame0(gc,2,v65,v69); | |
return fFE$__CCall_auichSetParams$d17(gc,arena,v123,v65,v129,v69); | |
} | |
} | |
break; | |
case P1__FE$__CCall_auichSetParams$d15: | |
{ sptr_t v134; | |
sptr_t v73; | |
uintptr_t v131; | |
uintptr_t v137; | |
v131 = ((struct sP1__FE$__CCall_auichSetParams$d15*)v67)->a1; | |
v134 = ((struct sP1__FE$__CCall_auichSetParams$d15*)v67)->a2; | |
v137 = ((struct sP1__FE$__CCall_auichSetParams$d15*)v67)->a3; | |
v73 = ((struct sP1__FE$__CCall_auichSetParams$d15*)v67)->a4; | |
{ gc_frame0(gc,2,v73,v134); | |
return fFE$__CCall_auichSetParams$d15(gc,arena,v131,v134,v137,v73); | |
} | |
} | |
break; | |
case P1__FE$__CCall_auichSetParams$d13: | |
{ sptr_t v139; | |
sptr_t v77; | |
uintptr_t v142; | |
uintptr_t v145; | |
v139 = ((struct sP1__FE$__CCall_auichSetParams$d13*)v67)->a1; | |
v142 = ((struct sP1__FE$__CCall_auichSetParams$d13*)v67)->a2; | |
v145 = ((struct sP1__FE$__CCall_auichSetParams$d13*)v67)->a3; | |
v77 = ((struct sP1__FE$__CCall_auichSetParams$d13*)v67)->a4; | |
{ gc_frame0(gc,2,v77,v139); | |
return fFE$__CCall_auichSetParams$d13(gc,arena,v139,v142,v145,v77); | |
} | |
} | |
break; | |
case P1__FE$__CCall_auichSetParams$d10: | |
{ sptr_t v150; | |
sptr_t v81; | |
uintptr_t v147; | |
uintptr_t v79; | |
v147 = ((struct sP1__FE$__CCall_auichSetParams$d10*)v67)->a1; | |
v150 = ((struct sP1__FE$__CCall_auichSetParams$d10*)v67)->a2; | |
v79 = ((struct sP1__FE$__CCall_auichSetParams$d10*)v67)->a3; | |
v81 = ((struct sP1__FE$__CCall_auichSetParams$d10*)v67)->a4; | |
{ gc_frame0(gc,2,v81,v150); | |
return fFE$__CCall_auichSetParams$d10(gc,arena,v147,v150,v79,v81); | |
} | |
} | |
break; | |
case P1__FE$__CCall_auichSetParams$d8: | |
{ sptr_t v158; | |
sptr_t v85; | |
uintptr_t v155; | |
uintptr_t v83; | |
v155 = ((struct sP1__FE$__CCall_auichSetParams$d8*)v67)->a1; | |
v158 = ((struct sP1__FE$__CCall_auichSetParams$d8*)v67)->a2; | |
v83 = ((struct sP1__FE$__CCall_auichSetParams$d8*)v67)->a3; | |
v85 = ((struct sP1__FE$__CCall_auichSetParams$d8*)v67)->a4; | |
{ gc_frame0(gc,2,v85,v158); | |
return fFE$__CCall_auichSetParams$d8(gc,arena,v155,v158,v83,v85); | |
} | |
} | |
break; | |
case P1__FE$__CCall_auichSetParams$d6: | |
{ sptr_t v163; | |
sptr_t v89; | |
uintptr_t v166; | |
uintptr_t v87; | |
v163 = ((struct sP1__FE$__CCall_auichSetParams$d6*)v67)->a1; | |
v166 = ((struct sP1__FE$__CCall_auichSetParams$d6*)v67)->a2; | |
v87 = ((struct sP1__FE$__CCall_auichSetParams$d6*)v67)->a3; | |
v89 = ((struct sP1__FE$__CCall_auichSetParams$d6*)v67)->a4; | |
{ gc_frame0(gc,2,v89,v163); | |
return fFE$__CCall_auichSetParams$d6(gc,arena,v163,v166,v87,v89); | |
} | |
} | |
break; | |
case P1__FE$__CCall_auichSetParams$d4: | |
{ sptr_t v171; | |
sptr_t v93; | |
uintptr_t v174; | |
uintptr_t v91; | |
v171 = ((struct sP1__FE$__CCall_auichSetParams$d4*)v67)->a1; | |
v174 = ((struct sP1__FE$__CCall_auichSetParams$d4*)v67)->a2; | |
v91 = ((struct sP1__FE$__CCall_auichSetParams$d4*)v67)->a3; | |
v93 = ((struct sP1__FE$__CCall_auichSetParams$d4*)v67)->a4; | |
{ gc_frame0(gc,2,v93,v171); | |
return fFE$__CCall_auichSetParams$d4(gc,arena,v171,v174,v91,v93); | |
} | |
} | |
break; | |
case P1__Dev_Pci_Auich_auichWriteCodec$d12: | |
{ sptr_t v179; | |
sptr_t v182; | |
v179 = ((struct sP1__Dev_Pci_Auich_auichWriteCodec$d12*)v67)->a1; | |
v182 = ((struct sP1__Dev_Pci_Auich_auichWriteCodec$d12*)v67)->a2; | |
{ gc_frame0(gc,2,v179,v182); | |
return fDev_Pci_Auich_auichWriteCodec$d12(gc,arena,v179,v182); | |
} | |
} | |
break; | |
case P1__Dev_Pci_Auich_auichWriteCodec$d11: | |
{ uintptr_t v183; | |
uintptr_t v95; | |
v183 = ((struct sP1__Dev_Pci_Auich_auichWriteCodec$d11*)v67)->a1; | |
v95 = ((struct sP1__Dev_Pci_Auich_auichWriteCodec$d11*)v67)->a2; | |
return fDev_Pci_Auich_auichWriteCodec$d11(gc,arena,v183,v95); | |
} | |
break; | |
case P1__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d3: | |
{ sptr_t v187; | |
sptr_t v190; | |
v187 = ((struct sP1__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d3*)v67)->a1; | |
v190 = ((struct sP1__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d3*)v67)->a2; | |
{ gc_frame0(gc,2,v187,v190); | |
return fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d3(gc,arena,v187,v190); | |
} | |
} | |
break; | |
case P1__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d2: | |
{ uintptr_t v191; | |
uintptr_t v99; | |
v191 = ((struct sP1__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d2*)v67)->a1; | |
v99 = ((struct sP1__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d2*)v67)->a2; | |
return fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d2(gc,arena,v191,v99); | |
} | |
break; | |
case P1__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d3: | |
{ sptr_t v195; | |
sptr_t v198; | |
v195 = ((struct sP1__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d3*)v67)->a1; | |
v198 = ((struct sP1__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d3*)v67)->a2; | |
{ gc_frame0(gc,2,v195,v198); | |
return fW$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d3(gc,arena,v195,v198); | |
} | |
} | |
break; | |
case P1__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d2: | |
{ uint32_t v103; | |
uintptr_t v105; | |
uintptr_t v199; | |
v199 = ((struct sP1__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d2*)v67)->a1; | |
v103 = ((struct sP1__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d2*)v67)->a2; | |
v105 = ((struct sP1__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d2*)v67)->a3; | |
return fW$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d2(gc,arena,v199,v103,v105); | |
} | |
break; | |
case P1__W$__fKern_SubrPrf_printfP1$d3: | |
{ sptr_t v104; | |
sptr_t v106; | |
v104 = ((struct sP1__W$__fKern_SubrPrf_printfP1$d3*)v67)->a1; | |
v106 = ((struct sP1__W$__fKern_SubrPrf_printfP1$d3*)v67)->a2; | |
{ gc_frame0(gc,2,v104,v106); | |
return fW$__fKern_SubrPrf_printfP1$d3(gc,arena,v104,v106); | |
} | |
} | |
break; | |
case P1__W$__fKern_SubrPrf_printfP1$d2: | |
{ uintptr_t v108; | |
uintptr_t v209; | |
v209 = ((struct sP1__W$__fKern_SubrPrf_printfP1$d2*)v67)->a1; | |
v108 = ((struct sP1__W$__fKern_SubrPrf_printfP1$d2*)v67)->a2; | |
return fW$__fKern_SubrPrf_printfP1$d2(gc,arena,v209,v108); | |
} | |
break; | |
case P1__W$__fKern_SubrPrf_printfS1$d3: | |
{ sptr_t v110; | |
sptr_t v213; | |
v213 = ((struct sP1__W$__fKern_SubrPrf_printfS1$d3*)v67)->a1; | |
v110 = ((struct sP1__W$__fKern_SubrPrf_printfS1$d3*)v67)->a2; | |
{ gc_frame0(gc,2,v110,v213); | |
return fW$__fKern_SubrPrf_printfS1$d3(gc,arena,v213,v110); | |
} | |
} | |
break; | |
case P1__W$__fKern_SubrPrf_printfS1$d2: | |
{ uintptr_t v112; | |
uintptr_t v217; | |
v217 = ((struct sP1__W$__fKern_SubrPrf_printfS1$d2*)v67)->a1; | |
v112 = ((struct sP1__W$__fKern_SubrPrf_printfS1$d2*)v67)->a2; | |
return fW$__fKern_SubrPrf_printfS1$d2(gc,arena,v217,v112); | |
} | |
break; | |
case P1__Foreign_C_String_withCString$d4: | |
{ sptr_t v114; | |
sptr_t v221; | |
v221 = ((struct sP1__Foreign_C_String_withCString$d4*)v67)->a1; | |
v114 = ((struct sP1__Foreign_C_String_withCString$d4*)v67)->a2; | |
{ gc_frame0(gc,2,v114,v221); | |
return fForeign_C_String_withCString$d4(gc,arena,v221,v114); | |
} | |
} | |
break; | |
case P1__Foreign_C_String_withCString$d2: | |
{ sptr_t v116; | |
sptr_t v225; | |
uintptr_t v118; | |
v225 = ((struct sP1__Foreign_C_String_withCString$d2*)v67)->a1; | |
v116 = ((struct sP1__Foreign_C_String_withCString$d2*)v67)->a2; | |
v118 = ((struct sP1__Foreign_C_String_withCString$d2*)v67)->a3; | |
{ gc_frame0(gc,2,v116,v225); | |
return fForeign_C_String_withCString$d2(gc,arena,v225,v116,v118); | |
} | |
} | |
break; | |
default: jhc_case_fell_off(__LINE__); | |
} | |
} | |
static wptr_t A_STD A_MALLOC | |
fData_List_610__lgo(gc_t gc,arena_t arena,wptr_t v256832194,wptr_t v824) | |
{ | |
sptr_t v2297 = demote(v824); | |
{ sptr_t v1551; | |
wptr_t v256832920; | |
gc_frame0(gc,2,v2297,v256832194); | |
{ gc_frame0(gc,2,v2297,v256832194); | |
v256832920 = v256832194; | |
v1551 = v2297; | |
goto bRfData_List_610__lgo__232; | |
} | |
/* [nd256832920,ni1551] */ | |
bRfData_List_610__lgo__232:; | |
{ sptr_t v256834399 = demote(v256832920); | |
{ gc_frame0(gc,2,v256832920,v256834399); | |
wptr_t v100384 = eval(gc,arena,v1551); | |
if (SET_RAW_TAG(CJhc_Prim_Prim_$BE) == v100384) { | |
return v256832920; | |
} else { | |
sptr_t v58334286; | |
sptr_t v828; | |
/* ("CJhc.Prim.Prim.:" ni58334286 ni828) */ | |
v58334286 = ((struct sCJhc_Prim_Prim_$x3a*)v100384)->a1; | |
v828 = ((struct sCJhc_Prim_Prim_$x3a*)v100384)->a2; | |
{ gc_frame0(gc,2,v828,v58334286); | |
wptr_t x233 = s_alloc(gc,arena,public_caches(arena)->cP1__W$__fDev_Pci_Auich_auichHaltPipe$d5); | |
SET_MEM_TAG((struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d5*)x233,P1__W$__fDev_Pci_Auich_auichHaltPipe$d5); | |
((struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d5*)x233)->a1 = v256834399; | |
((struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d5*)x233)->a2 = v58334286; | |
wptr_t v759 = x233; | |
{ gc_frame0(gc,1,v759); | |
v256832920 = v759; | |
v1551 = v828; | |
goto bRfData_List_610__lgo__232; | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
static sptr_t A_STD A_MALLOC | |
fDev_AudioIf_p__AudioParamsT__channels(gc_t gc,arena_t arena,sptr_t v124940226) | |
{ | |
{ gc_frame0(gc,1,v124940226); | |
sptr_t x101 = s_alloc(gc,arena,public_caches(arena)->cFDev_AudioIf_p__AudioParamsT__channels$d2); | |
((struct sFDev_AudioIf_p__AudioParamsT__channels$d2*)x101)->head = TO_FPTR(&E__fDev_AudioIf_p__AudioParamsT__channels$d2); | |
((struct sFDev_AudioIf_p__AudioParamsT__channels$d2*)x101)->a1 = v124940226; | |
return MKLAZY(x101); | |
} | |
} | |
static wptr_t A_STD A_MALLOC | |
fDev_AudioIf_p__AudioParamsT__channels$d2(gc_t gc,arena_t arena,sptr_t v1642083361) | |
{ | |
uintptr_t v65312586; | |
wptr_t v100552 = eval(gc,arena,v1642083361); | |
v65312586 = ((struct sCJhc_Type_Ptr_Ptr*)v100552)->a1; | |
uintptr_t v29375120 = (v65312586 + ((intptr_t)((int32_t)offsetof(struct audio_params, channels)))); | |
wptr_t x100 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x100)->a1 = v29375120; | |
return x100; | |
} | |
static sptr_t A_STD A_MALLOC | |
fDev_AudioIf_p__StreamFilterList__req__size(gc_t gc,arena_t arena,sptr_t v110947982) | |
{ | |
{ gc_frame0(gc,1,v110947982); | |
sptr_t x103 = s_alloc(gc,arena,public_caches(arena)->cFDev_AudioIf_p__StreamFilterList__req__size$d2); | |
((struct sFDev_AudioIf_p__StreamFilterList__req__size$d2*)x103)->head = TO_FPTR(&E__fDev_AudioIf_p__StreamFilterList__req__size$d2); | |
((struct sFDev_AudioIf_p__StreamFilterList__req__size$d2*)x103)->a1 = v110947982; | |
return MKLAZY(x103); | |
} | |
} | |
static wptr_t A_STD A_MALLOC | |
fDev_AudioIf_p__StreamFilterList__req__size$d2(gc_t gc,arena_t arena,sptr_t v1646277665) | |
{ | |
uintptr_t v129659910; | |
wptr_t v100550 = eval(gc,arena,v1646277665); | |
v129659910 = ((struct sCJhc_Type_Ptr_Ptr*)v100550)->a1; | |
uintptr_t v10527816 = (v129659910 + ((intptr_t)((int32_t)offsetof(struct stream_filter_list, req_size)))); | |
wptr_t x102 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x102)->a1 = v10527816; | |
return x102; | |
} | |
static sptr_t A_STD A_MALLOC | |
fDev_Pci_Auich_Ptr_p__AuichRing__blksize(gc_t gc,arena_t arena,wptr_t v194508206) | |
{ | |
{ gc_frame0(gc,1,v194508206); | |
sptr_t x187 = s_alloc(gc,arena,public_caches(arena)->cFDev_Pci_Auich_Ptr_p__AuichRing__blksize$d2); | |
((struct sFDev_Pci_Auich_Ptr_p__AuichRing__blksize$d2*)x187)->head = TO_FPTR(&E__fDev_Pci_Auich_Ptr_p__AuichRing__blksize$d2); | |
((struct sFDev_Pci_Auich_Ptr_p__AuichRing__blksize$d2*)x187)->a1 = v194508206; | |
return MKLAZY(x187); | |
} | |
} | |
static wptr_t A_STD A_MALLOC | |
fDev_Pci_Auich_Ptr_p__AuichRing__blksize$d2(gc_t gc,arena_t arena,wptr_t v1943811119) | |
{ | |
uintptr_t v238570484; | |
v238570484 = ((struct sCJhc_Type_Ptr_Ptr*)v1943811119)->a1; | |
uintptr_t v235480816 = (v238570484 + ((intptr_t)((int32_t)offsetof(struct auich_ring, blksize)))); | |
wptr_t x186 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x186)->a1 = v235480816; | |
return x186; | |
} | |
static sptr_t A_STD A_MALLOC | |
fDev_Pci_Auich_Ptr_p__AuichSoftc__codec__if(gc_t gc,arena_t arena,wptr_t v256943492) | |
{ | |
{ gc_frame0(gc,1,v256943492); | |
sptr_t x146 = s_alloc(gc,arena,public_caches(arena)->cFDev_Pci_Auich_Ptr_p__AuichSoftc__codec__if$d2); | |
((struct sFDev_Pci_Auich_Ptr_p__AuichSoftc__codec__if$d2*)x146)->head = TO_FPTR(&E__fDev_Pci_Auich_Ptr_p__AuichSoftc__codec__if$d2); | |
((struct sFDev_Pci_Auich_Ptr_p__AuichSoftc__codec__if$d2*)x146)->a1 = v256943492; | |
return MKLAZY(x146); | |
} | |
} | |
static wptr_t A_STD A_MALLOC | |
fDev_Pci_Auich_Ptr_p__AuichSoftc__codec__if$d2(gc_t gc,arena_t arena,wptr_t v1851405357) | |
{ | |
uintptr_t v42118966; | |
v42118966 = ((struct sCJhc_Type_Ptr_Ptr*)v1851405357)->a1; | |
uintptr_t v195325126 = (v42118966 + ((intptr_t)((int32_t)offsetof(struct auich_softc, codec_if)))); | |
wptr_t x145 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x145)->a1 = v195325126; | |
return x145; | |
} | |
static sptr_t A_STD A_MALLOC | |
fDev_Pci_Auich_Ptr_p__AuichSoftc__iot(gc_t gc,arena_t arena,wptr_t v260457468) | |
{ | |
{ gc_frame0(gc,1,v260457468); | |
sptr_t x148 = s_alloc(gc,arena,public_caches(arena)->cFDev_Pci_Auich_Ptr_p__AuichSoftc__iot$d2); | |
((struct sFDev_Pci_Auich_Ptr_p__AuichSoftc__iot$d2*)x148)->head = TO_FPTR(&E__fDev_Pci_Auich_Ptr_p__AuichSoftc__iot$d2); | |
((struct sFDev_Pci_Auich_Ptr_p__AuichSoftc__iot$d2*)x148)->a1 = v260457468; | |
return MKLAZY(x148); | |
} | |
} | |
static wptr_t A_STD A_MALLOC | |
fDev_Pci_Auich_Ptr_p__AuichSoftc__iot$d2(gc_t gc,arena_t arena,wptr_t v1868706861) | |
{ | |
uintptr_t v58800110; | |
v58800110 = ((struct sCJhc_Type_Ptr_Ptr*)v1868706861)->a1; | |
uintptr_t v11885914 = (v58800110 + ((intptr_t)((int32_t)offsetof(struct auich_softc, iot)))); | |
wptr_t x147 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x147)->a1 = v11885914; | |
return x147; | |
} | |
static sptr_t A_STD A_MALLOC | |
fDev_Pci_Auich_auichSetRate(gc_t gc,arena_t arena,wptr_t v1711813673,wptr_t v1708930093,wptr_t v44963750) | |
{ | |
{ sptr_t v183916742; | |
uintptr_t v117603326; | |
uint32_t v267321790; | |
uintptr_t v44963748; | |
gc_frame0(gc,3,v44963750,v1708930093,v1711813673); | |
v183916742 = fDev_Pci_Auich_Ptr_p__AuichSoftc__codec__if(gc,arena,v1711813673); | |
wptr_t v100056 = eval(gc,arena,v183916742); | |
v117603326 = ((struct sCJhc_Type_Ptr_Ptr*)v100056)->a1; | |
uintptr_t v42970050 = *((uintptr_t *)(v117603326)); | |
v44963748 = ((struct sCJhc_Type_Ptr_Ptr*)v1711813673)->a1; | |
uintptr_t v44540626 = (v44963748 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_ac97_clock)))); | |
uint32_t v182966166 = *((uint32_t *)(v44540626)); | |
uintptr_t v42118972 = (v42970050 + ((intptr_t)((int32_t)offsetof(struct ac97_codec_if, vtbl)))); | |
uintptr_t v7252608 = *((uintptr_t *)(v42118972)); | |
uintptr_t v220194068 = (v7252608 + ((intptr_t)((int32_t)offsetof(struct ac97_codec_if_vtbl, set_clock)))); | |
uintptr_t v179466814 = *((uintptr_t *)(v220194068)); | |
uintmax_t v136238530 = ((uintmax_t)v182966166); | |
uint32_t v185818834 = ((uint32_t)v136238530); | |
(void)((void (*)(HsPtr,unsigned))v179466814)((HsPtr)v42970050,(unsigned)v185818834); | |
uintptr_t v194143632 = (v42970050 + ((intptr_t)((int32_t)offsetof(struct ac97_codec_if, vtbl)))); | |
uintptr_t v21208656 = *((uintptr_t *)(v194143632)); | |
uintptr_t v145790746 = (v21208656 + ((intptr_t)((int32_t)offsetof(struct ac97_codec_if_vtbl, set_rate)))); | |
uintptr_t v44540628 = *((uintptr_t *)(v145790746)); | |
v267321790 = ((struct sCJhc_Type_Word_Int*)v1708930093)->a1; | |
uint16_t v100062 = (AUMODE_RECORD == v267321790); | |
if (0 == v100062) { | |
sptr_t x2 = s_alloc(gc,arena,public_caches(arena)->cFFE$__CCall_auichSetParams$d5); | |
((struct sFFE$__CCall_auichSetParams$d5*)x2)->head = TO_FPTR(&E__fFE$__CCall_auichSetParams$d5); | |
((struct sFFE$__CCall_auichSetParams$d5*)x2)->a1 = v44963750; | |
sptr_t v101519594 = MKLAZY(x2); | |
{ sptr_t v77294354; | |
gc_frame0(gc,1,v101519594); | |
wptr_t x3 = s_alloc(gc,arena,public_caches(arena)->cP2__FE$__CCall_auichSetParams$d6); | |
SET_MEM_TAG((struct sP2__FE$__CCall_auichSetParams$d6*)x3,P2__FE$__CCall_auichSetParams$d6); | |
((struct sP2__FE$__CCall_auichSetParams$d6*)x3)->a1 = v101519594; | |
((struct sP2__FE$__CCall_auichSetParams$d6*)x3)->a2 = v44540628; | |
((struct sP2__FE$__CCall_auichSetParams$d6*)x3)->a3 = v42970050; | |
wptr_t v1720 = x3; | |
{ gc_frame0(gc,1,v1720); | |
v77294354 = fForeign_Marshal_Alloc_alloca(gc,arena,v1720); | |
} | |
{ uint32_t v224917162; | |
gc_frame0(gc,1,v77294354); | |
wptr_t v100064 = eval(gc,arena,v77294354); | |
v224917162 = ((struct sCJhc_Type_Word_Int*)v100064)->a1; | |
if (0 == v224917162) { | |
sptr_t x4 = s_alloc(gc,arena,public_caches(arena)->cFFE$__CCall_auichSetParams$d7); | |
((struct sFFE$__CCall_auichSetParams$d7*)x4)->head = TO_FPTR(&E__fFE$__CCall_auichSetParams$d7); | |
((struct sFFE$__CCall_auichSetParams$d7*)x4)->a1 = v44963750; | |
sptr_t v82174984 = MKLAZY(x4); | |
{ sptr_t v250404514; | |
gc_frame0(gc,1,v82174984); | |
wptr_t x5 = s_alloc(gc,arena,public_caches(arena)->cP2__FE$__CCall_auichSetParams$d8); | |
SET_MEM_TAG((struct sP2__FE$__CCall_auichSetParams$d8*)x5,P2__FE$__CCall_auichSetParams$d8); | |
((struct sP2__FE$__CCall_auichSetParams$d8*)x5)->a1 = v44540628; | |
((struct sP2__FE$__CCall_auichSetParams$d8*)x5)->a2 = v82174984; | |
((struct sP2__FE$__CCall_auichSetParams$d8*)x5)->a3 = v42970050; | |
wptr_t v1727 = x5; | |
{ gc_frame0(gc,1,v1727); | |
v250404514 = fForeign_Marshal_Alloc_alloca(gc,arena,v1727); | |
} | |
{ uint32_t v116668568; | |
gc_frame0(gc,1,v250404514); | |
wptr_t v100066 = eval(gc,arena,v250404514); | |
v116668568 = ((struct sCJhc_Type_Word_Int*)v100066)->a1; | |
if (0 == v116668568) { | |
sptr_t x6 = s_alloc(gc,arena,public_caches(arena)->cFFE$__CCall_auichSetParams$d9); | |
((struct sFFE$__CCall_auichSetParams$d9*)x6)->head = TO_FPTR(&E__fFE$__CCall_auichSetParams$d9); | |
((struct sFFE$__CCall_auichSetParams$d9*)x6)->a1 = v44963750; | |
sptr_t v255683962 = MKLAZY(x6); | |
{ gc_frame0(gc,1,v255683962); | |
wptr_t x7 = s_alloc(gc,arena,public_caches(arena)->cP2__FE$__CCall_auichSetParams$d10); | |
SET_MEM_TAG((struct sP2__FE$__CCall_auichSetParams$d10*)x7,P2__FE$__CCall_auichSetParams$d10); | |
((struct sP2__FE$__CCall_auichSetParams$d10*)x7)->a1 = v44540628; | |
((struct sP2__FE$__CCall_auichSetParams$d10*)x7)->a2 = v255683962; | |
((struct sP2__FE$__CCall_auichSetParams$d10*)x7)->a3 = v42970050; | |
wptr_t v1734 = x7; | |
{ gc_frame0(gc,1,v1734); | |
return fForeign_Marshal_Alloc_alloca(gc,arena,v1734); | |
} | |
} | |
} else { | |
return v250404514; | |
} | |
} | |
} | |
} else { | |
return v77294354; | |
} | |
} | |
} | |
} else { | |
/* 1 */ | |
assert(1 == v100062); | |
sptr_t x8 = s_alloc(gc,arena,public_caches(arena)->cFFE$__CCall_auichSetParams$d3); | |
((struct sFFE$__CCall_auichSetParams$d3*)x8)->head = TO_FPTR(&E__fFE$__CCall_auichSetParams$d3); | |
((struct sFFE$__CCall_auichSetParams$d3*)x8)->a1 = v44963750; | |
sptr_t v155054260 = MKLAZY(x8); | |
{ gc_frame0(gc,1,v155054260); | |
wptr_t x9 = s_alloc(gc,arena,public_caches(arena)->cP2__FE$__CCall_auichSetParams$d4); | |
SET_MEM_TAG((struct sP2__FE$__CCall_auichSetParams$d4*)x9,P2__FE$__CCall_auichSetParams$d4); | |
((struct sP2__FE$__CCall_auichSetParams$d4*)x9)->a1 = v155054260; | |
((struct sP2__FE$__CCall_auichSetParams$d4*)x9)->a2 = v44540628; | |
((struct sP2__FE$__CCall_auichSetParams$d4*)x9)->a3 = v42970050; | |
wptr_t v1717 = x9; | |
{ gc_frame0(gc,1,v1717); | |
return fForeign_Marshal_Alloc_alloca(gc,arena,v1717); | |
} | |
} | |
} | |
} | |
} | |
static wptr_t A_STD A_MALLOC | |
fDev_Pci_Auich_auichTriggerPipe(gc_t gc,arena_t arena,wptr_t v1806840875,wptr_t v1803826223,wptr_t v1800811567) | |
{ | |
{ sptr_t v42056692; | |
uintptr_t v119285252; | |
uint32_t v122892004; | |
uintptr_t v239029638; | |
uintptr_t v59642632; | |
gc_frame0(gc,3,v1800811567,v1803826223,v1806840875); | |
v42056692 = fDev_Pci_Auich_Ptr_p__AuichRing__blksize(gc,arena,v1800811567); | |
wptr_t v100452 = eval(gc,arena,v42056692); | |
v119285252 = ((struct sCJhc_Type_Ptr_Ptr*)v100452)->a1; | |
uint32_t v88760336 = *((uint32_t *)(v119285252)); | |
v239029638 = ((struct sCJhc_Type_Ptr_Ptr*)v1800811567)->a1; | |
uintptr_t v132679406 = (v239029638 + ((intptr_t)((int32_t)offsetof(struct auich_ring, dmalist)))); | |
uintptr_t v124940234 = *((uintptr_t *)(v132679406)); | |
v59642632 = ((struct sCJhc_Type_Ptr_Ptr*)v1806840875)->a1; | |
uintptr_t v217301932 = (v59642632 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_sample_shift)))); | |
uint32_t v172537482 = *((uint32_t *)(v217301932)); | |
v122892004 = 0; | |
fW$__fDev_Pci_Auich_225__while__188:; | |
{ uint16_t v100458 = (((int32_t)v122892004) < ((int32_t)((uint32_t)ICH_DMALIST_MAX))); | |
if (0 == v100458) { | |
uint32_t v154420604; | |
uintptr_t v183082878 = (v239029638 + ((intptr_t)((int32_t)offsetof(struct auich_ring, qptr)))); | |
*((uint32_t *)(v183082878)) = 0; | |
uintptr_t v150886642 = (v59642632 + ((intptr_t)((int32_t)offsetof(struct auich_softc, iot)))); | |
uintptr_t v135370992 = *((uintptr_t *)(v150886642)); | |
uintptr_t v1674622 = (v59642632 + ((intptr_t)((int32_t)offsetof(struct auich_softc, aud_ioh)))); | |
uintptr_t v240576414 = *((uintptr_t *)(v1674622)); | |
v154420604 = ((struct sCJhc_Type_Word_Int*)v1803826223)->a1; | |
uintptr_t v256943494 = ((intptr_t)((int32_t)v154420604)); | |
uintptr_t v228308042 = (v256943494 + ICH_LVI); | |
uint32_t v154420602 = (v122892004 - 1); | |
uint8_t v148294372 = ((uint8_t)v154420602); | |
uint8_t v88032710 = (v148294372 & ICH_LVI_MASK); | |
bus_space_write_1((HsPtr)v135370992,(unsigned long)v240576414,(size_t)v228308042,(uint8_t)v88032710); | |
uintptr_t v242479196 = ((intptr_t)((int32_t)v154420604)); | |
uintptr_t v146663954 = (v242479196 + ICH_CTRL); | |
bus_space_write_1((HsPtr)v135370992,(unsigned long)v240576414,(size_t)v146663954,(uint8_t)(ICH_IOCE | (ICH_FEIE | ICH_RPBM))); | |
return SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} else { | |
/* 1 */ | |
assert(1 == v100458); | |
uintptr_t v89450794 = (v239029638 + ((intptr_t)((int32_t)offsetof(struct auich_ring, p)))); | |
uint32_t v153480250 = *((uint32_t *)(v89450794)); | |
uint32_t v243292922 = (sizeof(struct auich_dmalist) * v122892004); | |
uintptr_t v78256150 = ((intptr_t)((int32_t)v243292922)); | |
uintptr_t v110947990 = (v124940234 + v78256150); | |
uintptr_t v267892978 = (v110947990 + ((intptr_t)((int32_t)offsetof(struct auich_dmalist, base)))); | |
*((uint32_t *)(v267892978)) = v153480250; | |
uint32_t v249143452 = (sizeof(struct auich_dmalist) * v122892004); | |
uintptr_t v418670 = ((intptr_t)((int32_t)v249143452)); | |
uintptr_t v86998728 = (v124940234 + v418670); | |
uintptr_t v29534748 = (v86998728 + ((intptr_t)((int32_t)offsetof(struct auich_dmalist, len)))); | |
uint32_t v236706544 = (v88760336 >> v172537482); | |
uint32_t v138499564 = (v236706544 | ICH_DMAF_IOC); | |
*((uint32_t *)(v29534748)) = v138499564; | |
uint32_t v120087512 = *((uint32_t *)(v89450794)); | |
uint32_t v245783998 = (v120087512 + v88760336); | |
*((uint32_t *)(v89450794)) = v245783998; | |
uintptr_t v52515412 = (v239029638 + ((intptr_t)((int32_t)offsetof(struct auich_ring, end)))); | |
uint32_t v196080002 = *((uint32_t *)(v52515412)); | |
uint16_t v100460 = (v245783998 >= v196080002); | |
if (0 == v100460) { | |
} else { | |
/* 1 */ | |
assert(1 == v100460); | |
uintptr_t v29821312 = (v239029638 + ((intptr_t)((int32_t)offsetof(struct auich_ring, start)))); | |
uint32_t v15818822 = *((uint32_t *)(v29821312)); | |
*((uint32_t *)(v89450794)) = v15818822; | |
} | |
uint32_t v256832190 = (1 + v122892004); | |
v122892004 = v256832190; | |
goto fW$__fDev_Pci_Auich_225__while__188; | |
} | |
} | |
} | |
} | |
static wptr_t A_STD A_MALLOC | |
fDev_Pci_Auich_auichWriteCodec(gc_t gc,arena_t arena,wptr_t v1771713577,wptr_t v1768961067,wptr_t v1766208555) | |
{ | |
{ sptr_t v260587490; | |
uintptr_t v208569450; | |
uintptr_t v89450800; | |
gc_frame0(gc,3,v1766208555,v1768961067,v1771713577); | |
v260587490 = fDev_Pci_Auich_Ptr_p__AuichSoftc__iot(gc,arena,v1771713577); | |
wptr_t v100192 = eval(gc,arena,v260587490); | |
v208569450 = ((struct sCJhc_Type_Ptr_Ptr*)v100192)->a1; | |
uintptr_t v53587374 = *((uintptr_t *)(v208569450)); | |
v89450800 = ((struct sCJhc_Type_Ptr_Ptr*)v1771713577)->a1; | |
uintptr_t v2998646 = (v89450800 + ((intptr_t)((int32_t)offsetof(struct auich_softc, aud_ioh)))); | |
uintptr_t v179695638 = *((uintptr_t *)(v2998646)); | |
uintptr_t v78256144 = (v89450800 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_modem_offset)))); | |
uintptr_t v146854714 = *((size_t *)(v78256144)); | |
uint32_t v59551454 = (ICH_SEMATIMO / ICH_CODECIO_INTERVAL); | |
uint32_t v196970366 = (v59551454 / 10); | |
wptr_t x290 = s_alloc(gc,arena,public_caches(arena)->cP1__Dev_Pci_Auich_auichWriteCodec$d2); | |
SET_MEM_TAG((struct sP1__Dev_Pci_Auich_auichWriteCodec$d2*)x290,P1__Dev_Pci_Auich_auichWriteCodec$d2); | |
((struct sP1__Dev_Pci_Auich_auichWriteCodec$d2*)x290)->a1 = v53587374; | |
((struct sP1__Dev_Pci_Auich_auichWriteCodec$d2*)x290)->a2 = v179695638; | |
((struct sP1__Dev_Pci_Auich_auichWriteCodec$d2*)x290)->a3 = v146854714; | |
wptr_t v1288 = x290; | |
{ wptr_t v100196; | |
wptr_t v100200; | |
sptr_t v250404516; | |
sptr_t v817; | |
gc_frame0(gc,1,v1288); | |
sptr_t x291 = s_alloc(gc,arena,public_caches(arena)->cFDev_Pci_Auich_auichWriteCodec$d4); | |
((struct sFDev_Pci_Auich_auichWriteCodec$d4*)x291)->head = TO_FPTR(&E__fDev_Pci_Auich_auichWriteCodec$d4); | |
((struct sFDev_Pci_Auich_auichWriteCodec$d4*)x291)->a1 = v1288; | |
sptr_t v88379836 = MKLAZY(x291); | |
{ gc_frame0(gc,1,v88379836); | |
v100196 = fDev_Pci_Auich_auichWriteCodec$d8(gc,arena,v88379836,v196970366); | |
} | |
sptr_t v40520306 = demote(v100196); | |
{ sptr_t v143261708; | |
wptr_t v267751048; | |
gc_frame0(gc,1,v40520306); | |
{ gc_frame0(gc,1,v40520306); | |
v267751048 = SET_RAW_TAG(P1__Dev_Pci_Auich_auichWriteCodec$d9); | |
v143261708 = v40520306; | |
goto fx123670242__292; | |
} | |
goto done292; | |
fx123670242__292:; | |
{ sptr_t v267751824 = demote(v267751048); | |
{ gc_frame0(gc,2,v267751048,v267751824); | |
wptr_t v100212 = eval(gc,arena,v143261708); | |
if (SET_RAW_TAG(CJhc_Prim_Prim_$BE) == v100212) { | |
v100200 = v267751048; | |
} else { | |
sptr_t v266208114; | |
sptr_t v53587376; | |
/* ("CJhc.Prim.Prim.:" ni266208114 ni53587376) */ | |
v266208114 = ((struct sCJhc_Prim_Prim_$x3a*)v100212)->a1; | |
v53587376 = ((struct sCJhc_Prim_Prim_$x3a*)v100212)->a2; | |
{ gc_frame0(gc,2,v53587376,v266208114); | |
wptr_t x293 = s_alloc(gc,arena,public_caches(arena)->cP1__Dev_Pci_Auich_auichWriteCodec$d10); | |
SET_MEM_TAG((struct sP1__Dev_Pci_Auich_auichWriteCodec$d10*)x293,P1__Dev_Pci_Auich_auichWriteCodec$d10); | |
((struct sP1__Dev_Pci_Auich_auichWriteCodec$d10*)x293)->a1 = v267751824; | |
((struct sP1__Dev_Pci_Auich_auichWriteCodec$d10*)x293)->a2 = v266208114; | |
wptr_t v1331 = x293; | |
{ gc_frame0(gc,1,v1331); | |
v267751048 = v1331; | |
v143261708 = v53587376; | |
goto fx123670242__292; | |
} | |
} | |
} | |
} | |
} | |
} | |
done292:; | |
{ gc_frame0(gc,1,v100200); | |
v250404516 = bapply__56236(gc,arena,v100200); | |
} | |
wptr_t v100202 = eval(gc,arena,v250404516); | |
if (CJhc_Type_Basic_Left == FETCH_TAG(v100202)) { | |
sptr_t v108459198; | |
uint16_t v1022; | |
uint8_t v220263226; | |
v108459198 = ((struct sCJhc_Type_Basic_Left*)v100202)->a1; | |
eval(gc,arena,v108459198); | |
uintptr_t v56119428 = (v89450800 + ((intptr_t)((int32_t)offsetof(struct auich_softc, mix_ioh)))); | |
uintptr_t v86998730 = *((uintptr_t *)(v56119428)); | |
uintptr_t v135243418 = (v89450800 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_codecnum)))); | |
uint32_t v138499566 = *((uint32_t *)(v135243418)); | |
uintptr_t v234194696 = ((intptr_t)((int32_t)v138499566)); | |
uintptr_t v117547716 = (v234194696 * ICH_CODEC_OFFSET); | |
v220263226 = ((uint8_t)RAW_GET_UF(v1768961067)); | |
uintmax_t v264446470 = ((uintmax_t)v220263226); | |
uintptr_t v241919658 = ((uintptr_t)v264446470); | |
uintptr_t v260952210 = (v117547716 + v241919658); | |
v1022 = ((uint16_t)RAW_GET_UF(v1766208555)); | |
bus_space_write_2((HsPtr)v53587374,(unsigned long)v86998730,(size_t)v260952210,(uint16_t)v1022); | |
v817 = c26; | |
} else { | |
sptr_t v82; | |
/* ("CJhc.Type.Basic.Right" ni82) */ | |
v82 = ((struct sCJhc_Type_Basic_Right*)v100202)->a1; | |
eval(gc,arena,v82); | |
uintptr_t v102549690 = (v89450800 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_dev)))); | |
uintptr_t v67443748 = *((uintptr_t *)(v102549690)); | |
wptr_t x294 = s_alloc(gc,arena,public_caches(arena)->cP2__Dev_Pci_Auich_auichWriteCodec$d11); | |
SET_MEM_TAG((struct sP2__Dev_Pci_Auich_auichWriteCodec$d11*)x294,P2__Dev_Pci_Auich_auichWriteCodec$d11); | |
((struct sP2__Dev_Pci_Auich_auichWriteCodec$d11*)x294)->a1 = v67443748; | |
wptr_t v1320 = x294; | |
sptr_t v227078452 = demote(v1320); | |
{ gc_frame0(gc,1,v227078452); | |
wptr_t x295 = s_alloc(gc,arena,public_caches(arena)->cP2__Dev_Pci_Auich_auichWriteCodec$d12); | |
SET_MEM_TAG((struct sP2__Dev_Pci_Auich_auichWriteCodec$d12*)x295,P2__Dev_Pci_Auich_auichWriteCodec$d12); | |
((struct sP2__Dev_Pci_Auich_auichWriteCodec$d12*)x295)->a1 = v227078452; | |
wptr_t v1322 = x295; | |
{ gc_frame0(gc,1,v1322); | |
fForeign_C_String_withCString(gc,arena,PROMOTE(c175),v1322); | |
} | |
v817 = c176; | |
} | |
} | |
return promote(v817); | |
} | |
} | |
} | |
static sptr_t A_STD A_MALLOC | |
fDev_Pci_Auich_auichWriteCodec$d10(gc_t gc,arena_t arena,sptr_t v50432186,sptr_t v257529854) | |
{ | |
wptr_t v100220 = promote(v50432186); | |
{ sptr_t v143516990; | |
gc_frame0(gc,1,v257529854); | |
{ gc_frame0(gc,1,v100220); | |
v143516990 = bapply__56236(gc,arena,v100220); | |
} | |
wptr_t v100222 = eval(gc,arena,v143516990); | |
if (CJhc_Type_Basic_Left == FETCH_TAG(v100222)) { | |
sptr_t v88379834; | |
v88379834 = ((struct sCJhc_Type_Basic_Left*)v100222)->a1; | |
{ gc_frame0(gc,1,v88379834); | |
wptr_t x289 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Left); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Left*)x289,CJhc_Type_Basic_Left); | |
((struct sCJhc_Type_Basic_Left*)x289)->a1 = v88379834; | |
wptr_t v1259 = x289; | |
return demote(v1259); | |
} | |
} else { | |
/* ("CJhc.Type.Basic.Right" ni0) */ | |
wptr_t v100224 = eval(gc,arena,v257529854); | |
{ gc_frame0(gc,1,v100224); | |
return bapply__56236(gc,arena,v100224); | |
} | |
} | |
} | |
} | |
static sptr_t A_STD A_MALLOC | |
fDev_Pci_Auich_auichWriteCodec$d11(gc_t gc,arena_t arena,uintptr_t v105553382,uintptr_t v1916018211) | |
{ | |
aprint_normal_dev((HsPtr)v105553382,(char*)v1916018211); | |
return (sptr_t)SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} | |
static sptr_t A_STD A_MALLOC | |
fDev_Pci_Auich_auichWriteCodec$d12(gc_t gc,arena_t arena,sptr_t v1920736799,sptr_t v128930120) | |
{ | |
{ uintptr_t v11483698; | |
uintptr_t v1340; | |
gc_frame0(gc,1,v1920736799); | |
wptr_t v100214 = eval(gc,arena,v128930120); | |
wptr_t v100216 = promote(v1920736799); | |
v11483698 = ((struct sCJhc_Type_Ptr_Ptr*)v100214)->a1; | |
v1340 = ((struct sP2__Dev_Pci_Auich_auichWriteCodec$d11*)v100216)->a1; | |
return fDev_Pci_Auich_auichWriteCodec$d11(gc,arena,v1340,v11483698); | |
} | |
} | |
static wptr_t A_STD A_MALLOC | |
fDev_Pci_Auich_auichWriteCodec$d2(gc_t gc,arena_t arena,uintptr_t v36059414,uintptr_t v176934666,uintptr_t v137486610,uint32_t v233072034) | |
{ | |
uint16_t v100242 = (((int32_t)0) >= ((int32_t)v233072034)); | |
if (0 == v100242) { | |
uint32_t v105905110 = (v233072034 - 1); | |
sptr_t x281 = s_alloc(gc,arena,public_caches(arena)->cFDev_Pci_Auich_auichWriteCodec$d2); | |
((struct sFDev_Pci_Auich_auichWriteCodec$d2*)x281)->head = TO_FPTR(&E__fDev_Pci_Auich_auichWriteCodec$d2); | |
((struct sFDev_Pci_Auich_auichWriteCodec$d2*)x281)->a1 = v36059414; | |
((struct sFDev_Pci_Auich_auichWriteCodec$d2*)x281)->a2 = v176934666; | |
((struct sFDev_Pci_Auich_auichWriteCodec$d2*)x281)->a3 = v137486610; | |
((struct sFDev_Pci_Auich_auichWriteCodec$d2*)x281)->a4 = v105905110; | |
sptr_t v256950264 = MKLAZY(x281); | |
{ gc_frame0(gc,1,v256950264); | |
wptr_t x282 = s_alloc(gc,arena,public_caches(arena)->cP1__Dev_Pci_Auich_auichWriteCodec$d3); | |
SET_MEM_TAG((struct sP1__Dev_Pci_Auich_auichWriteCodec$d3*)x282,P1__Dev_Pci_Auich_auichWriteCodec$d3); | |
((struct sP1__Dev_Pci_Auich_auichWriteCodec$d3*)x282)->a1 = v36059414; | |
((struct sP1__Dev_Pci_Auich_auichWriteCodec$d3*)x282)->a2 = v176934666; | |
((struct sP1__Dev_Pci_Auich_auichWriteCodec$d3*)x282)->a3 = v137486610; | |
wptr_t v1223 = x282; | |
sptr_t v410531903 = demote(v1223); | |
{ gc_frame0(gc,1,v410531903); | |
wptr_t x283 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Prim_Prim_$x3a); | |
((struct sCJhc_Prim_Prim_$x3a*)x283)->a1 = v410531903; | |
((struct sCJhc_Prim_Prim_$x3a*)x283)->a2 = v256950264; | |
return x283; | |
} | |
} | |
} else { | |
/* 1 */ | |
assert(1 == v100242); | |
return SET_RAW_TAG(CJhc_Prim_Prim_$BE); | |
} | |
} | |
static sptr_t A_STD A_MALLOC | |
fDev_Pci_Auich_auichWriteCodec$d3(gc_t gc,arena_t arena,uintptr_t v53820786,uintptr_t v117945876,uintptr_t v243821962) | |
{ | |
uintptr_t v174020700 = (ICH_CAS + v243821962); | |
uint8_t v129854878 = ((uint8_t)bus_space_read_1((HsPtr)v53820786,(unsigned long)v117945876,(size_t)v174020700)); | |
uint8_t v100244 = (1 & v129854878); | |
if (0 == v100244) { | |
delay((unsigned)ICH_CODECIO_INTERVAL); | |
return c1; | |
} else { | |
return c147; | |
} | |
} | |
static wptr_t A_STD A_MALLOC | |
fDev_Pci_Auich_auichWriteCodec$d4(gc_t gc,arena_t arena,wptr_t v86428118) | |
{ | |
wptr_t v100236; | |
uintptr_t v1310; | |
uintptr_t v1312; | |
uintptr_t v1314; | |
v1310 = ((struct sP1__Dev_Pci_Auich_auichWriteCodec$d2*)v86428118)->a1; | |
v1312 = ((struct sP1__Dev_Pci_Auich_auichWriteCodec$d2*)v86428118)->a2; | |
v1314 = ((struct sP1__Dev_Pci_Auich_auichWriteCodec$d2*)v86428118)->a3; | |
v100236 = fDev_Pci_Auich_auichWriteCodec$d2(gc,arena,v1310,v1312,v1314,10); | |
{ gc_frame0(gc,1,v100236); | |
return fDev_Pci_Auich_auichWriteCodec$d7(gc,arena,SET_RAW_TAG(P1__Dev_Pci_Auich_auichWriteCodec$d5),v100236); | |
} | |
} | |
static sptr_t A_STD A_MALLOC | |
fDev_Pci_Auich_auichWriteCodec$d5(gc_t gc,arena_t arena) | |
{ | |
return c1; | |
} | |
static sptr_t A_STD A_MALLOC | |
fDev_Pci_Auich_auichWriteCodec$d6(gc_t gc,arena_t arena,sptr_t v35624304,sptr_t v90105172) | |
{ | |
wptr_t v100230 = promote(v90105172); | |
{ sptr_t v193506086; | |
gc_frame0(gc,1,v35624304); | |
{ gc_frame0(gc,1,v100230); | |
v193506086 = bapply__56236(gc,arena,v100230); | |
} | |
wptr_t v100232 = eval(gc,arena,v193506086); | |
if (CJhc_Type_Basic_Left == FETCH_TAG(v100232)) { | |
sptr_t v218946968; | |
v218946968 = ((struct sCJhc_Type_Basic_Left*)v100232)->a1; | |
{ gc_frame0(gc,1,v218946968); | |
wptr_t x284 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Left); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Left*)x284,CJhc_Type_Basic_Left); | |
((struct sCJhc_Type_Basic_Left*)x284)->a1 = v218946968; | |
wptr_t v1232 = x284; | |
return demote(v1232); | |
} | |
} else { | |
/* ("CJhc.Type.Basic.Right" ni0) */ | |
wptr_t v100234 = eval(gc,arena,v35624304); | |
{ gc_frame0(gc,1,v100234); | |
return bapply__56236(gc,arena,v100234); | |
} | |
} | |
} | |
} | |
static wptr_t A_STD A_MALLOC | |
fDev_Pci_Auich_auichWriteCodec$d7(gc_t gc,arena_t arena,wptr_t v160064800,wptr_t v100210682) | |
{ | |
sptr_t v100211535 = demote(v100210682); | |
{ sptr_t v100211891; | |
wptr_t v160066008; | |
gc_frame0(gc,2,v100211535,v160064800); | |
{ gc_frame0(gc,2,v100211535,v160064800); | |
v160066008 = v160064800; | |
v100211891 = v100211535; | |
goto bRfDev_Pci_Auich_auichWriteCodec$d7u285; | |
} | |
/* [nd160066008,ni100211891] */ | |
bRfDev_Pci_Auich_auichWriteCodec$d7u285:; | |
{ sptr_t v160066867 = demote(v160066008); | |
{ gc_frame0(gc,2,v160066008,v160066867); | |
wptr_t v100228 = eval(gc,arena,v100211891); | |
if (SET_RAW_TAG(CJhc_Prim_Prim_$BE) == v100228) { | |
return v160066008; | |
} else { | |
sptr_t v207549708; | |
sptr_t v50432182; | |
/* ("CJhc.Prim.Prim.:" ni50432182 ni207549708) */ | |
v50432182 = ((struct sCJhc_Prim_Prim_$x3a*)v100228)->a1; | |
v207549708 = ((struct sCJhc_Prim_Prim_$x3a*)v100228)->a2; | |
{ gc_frame0(gc,2,v50432182,v207549708); | |
wptr_t x286 = s_alloc(gc,arena,public_caches(arena)->cP1__Dev_Pci_Auich_auichWriteCodec$d6); | |
SET_MEM_TAG((struct sP1__Dev_Pci_Auich_auichWriteCodec$d6*)x286,P1__Dev_Pci_Auich_auichWriteCodec$d6); | |
((struct sP1__Dev_Pci_Auich_auichWriteCodec$d6*)x286)->a1 = v50432182; | |
((struct sP1__Dev_Pci_Auich_auichWriteCodec$d6*)x286)->a2 = v160066867; | |
wptr_t v1241 = x286; | |
{ gc_frame0(gc,1,v1241); | |
v160066008 = v1241; | |
v100211891 = v207549708; | |
goto bRfDev_Pci_Auich_auichWriteCodec$d7u285; | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
static wptr_t A_STD A_MALLOC | |
fDev_Pci_Auich_auichWriteCodec$d8(gc_t gc,arena_t arena,sptr_t v1761883203,uint32_t v86428120) | |
{ | |
uint16_t v100226 = (((int32_t)0) >= ((int32_t)v86428120)); | |
if (0 == v100226) { | |
uint32_t v160064804 = (v86428120 - 1); | |
{ gc_frame0(gc,1,v1761883203); | |
sptr_t x287 = s_alloc(gc,arena,public_caches(arena)->cFDev_Pci_Auich_auichWriteCodec$d8); | |
((struct sFDev_Pci_Auich_auichWriteCodec$d8*)x287)->head = TO_FPTR(&E__fDev_Pci_Auich_auichWriteCodec$d8); | |
((struct sFDev_Pci_Auich_auichWriteCodec$d8*)x287)->a1 = v1761883203; | |
((struct sFDev_Pci_Auich_auichWriteCodec$d8*)x287)->a2 = v160064804; | |
sptr_t v3960918 = MKLAZY(x287); | |
{ gc_frame0(gc,1,v3960918); | |
wptr_t x288 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Prim_Prim_$x3a); | |
((struct sCJhc_Prim_Prim_$x3a*)x288)->a1 = v1761883203; | |
((struct sCJhc_Prim_Prim_$x3a*)x288)->a2 = v3960918; | |
return x288; | |
} | |
} | |
} else { | |
/* 1 */ | |
assert(1 == v100226); | |
return SET_RAW_TAG(CJhc_Prim_Prim_$BE); | |
} | |
} | |
static sptr_t A_STD A_MALLOC | |
fDev_Pci_Auich_auichWriteCodec$d9(gc_t gc,arena_t arena) | |
{ | |
return c1; | |
} | |
static sptr_t A_STD A_MALLOC | |
fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue(gc_t gc,arena_t arena,wptr_t v1588726333,wptr_t v1614416451) | |
{ | |
{ wptr_t v1588726824; | |
wptr_t v1614416943; | |
gc_frame0(gc,2,v1588726333,v1614416451); | |
{ gc_frame0(gc,2,v1588726333,v1614416451); | |
v1588726824 = v1588726333; | |
v1614416943 = v1614416451; | |
goto bRfDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue__210; | |
} | |
/* [nd1588726824,nd1614416943] */ | |
bRfDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue__210:; | |
{ uintptr_t v109152432; | |
v109152432 = ((struct sCJhc_Type_Ptr_Ptr*)v1588726824)->a1; | |
uintptr_t v124235160 = (v109152432 + ((intptr_t)((int32_t)offsetof(struct hdaudio_softc, sc_rirbrp)))); | |
uint16_t v105905108 = *((uint16_t *)(v124235160)); | |
uintptr_t v218886262 = (v109152432 + ((intptr_t)((int32_t)offsetof(struct hdaudio_softc, sc_memt)))); | |
uintptr_t v69432564 = *((uintptr_t *)(v218886262)); | |
uintptr_t v61835136 = (v109152432 + ((intptr_t)((int32_t)offsetof(struct hdaudio_softc, sc_memh)))); | |
uintptr_t v220263214 = *((uintptr_t *)(v61835136)); | |
uint16_t v180 = ((uint16_t)bus_space_read_2((HsPtr)v69432564,(unsigned long)v220263214,(size_t)HDAUDIO_MMIO_RIRBWP)); | |
{ wptr_t v3107; | |
gc_frame0(gc,2,v1588726824,v1614416943); | |
wptr_t v547 = RAW_SET_UF(v180); | |
{ wptr_t v179695646; | |
uint32_t v146226752; | |
gc_frame0(gc,1,v547); | |
{ gc_frame0(gc,1,v547); | |
v146226752 = (HDAUDIO_RIRB_TIMEOUT - 1); | |
v179695646 = v547; | |
goto fW$__fDev_Pci_Hdaudio_Hdaudio_17__while__211; | |
} | |
goto done211; | |
fW$__fDev_Pci_Hdaudio_Hdaudio_17__while__211:; | |
{ { gc_frame0(gc,1,v179695646); | |
wptr_t x212 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Int); | |
((struct sCJhc_Type_Word_Int*)x212)->a1 = v146226752; | |
wptr_t v696 = x212; | |
sptr_t v69432566 = demote(v696); | |
uint16_t v100428 = (((int32_t)0) < ((int32_t)v146226752)); | |
if (0 == v100428) { | |
{ gc_frame0(gc,1,v69432566); | |
wptr_t x213 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Right); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Right*)x213,CJhc_Type_Basic_Right); | |
((struct sCJhc_Type_Basic_Right*)x213)->a1 = v69432566; | |
v3107 = x213; | |
} | |
} else { | |
uint16_t v255950354; | |
/* 1 */ | |
assert(1 == v100428); | |
v255950354 = ((uint16_t)RAW_GET_UF(v179695646)); | |
uint16_t v154207014 = (255 & v255950354); | |
uint16_t v100432 = (v154207014 == v105905108); | |
if (0 == v100432) { | |
{ gc_frame0(gc,1,v69432566); | |
wptr_t x214 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Right); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Right*)x214,CJhc_Type_Basic_Right); | |
((struct sCJhc_Type_Basic_Right*)x214)->a1 = v69432566; | |
v3107 = x214; | |
} | |
} else { | |
uint16_t v531; | |
/* 1 */ | |
assert(1 == v100432); | |
v531 = ((uint16_t)RAW_GET_UF(v1614416943)); | |
if (0 == v531) { | |
delay((unsigned)10); | |
uintptr_t v216085100 = (v109152432 + ((intptr_t)((int32_t)offsetof(struct hdaudio_softc, sc_memt)))); | |
uintptr_t v194635144 = *((uintptr_t *)(v216085100)); | |
uintptr_t v153480262 = (v109152432 + ((intptr_t)((int32_t)offsetof(struct hdaudio_softc, sc_memh)))); | |
uintptr_t v253468956 = *((uintptr_t *)(v153480262)); | |
uint16_t v209623814 = ((uint16_t)bus_space_read_2((HsPtr)v194635144,(unsigned long)v253468956,(size_t)HDAUDIO_MMIO_RIRBWP)); | |
wptr_t v713 = RAW_SET_UF(v209623814); | |
uint32_t v168907476 = (v146226752 - 1); | |
{ gc_frame0(gc,1,v713); | |
v146226752 = v168907476; | |
v179695646 = v713; | |
goto fW$__fDev_Pci_Hdaudio_Hdaudio_17__while__211; | |
} | |
} else { | |
/* 1 */ | |
assert(1 == v531); | |
v3107 = PROMOTE(c66); | |
} | |
} | |
} | |
} | |
} | |
} | |
done211:; | |
if (CJhc_Type_Basic_Left == FETCH_TAG(v3107)) { | |
sptr_t v257895266; | |
v257895266 = ((struct sCJhc_Type_Basic_Left*)v3107)->a1; | |
return v257895266; | |
} else { | |
sptr_t v137823514; | |
uint32_t v162398304; | |
/* ("CJhc.Type.Basic.Right" ni137823514) */ | |
v137823514 = ((struct sCJhc_Type_Basic_Right*)v3107)->a1; | |
wptr_t v100400 = eval(gc,arena,v137823514); | |
v162398304 = ((struct sCJhc_Type_Word_Int*)v100400)->a1; | |
if (0 == v162398304) { | |
uintptr_t v216085096 = (v109152432 + ((intptr_t)((int32_t)offsetof(struct hdaudio_softc, sc_dev)))); | |
uintptr_t v130564416 = *((uintptr_t *)(v216085096)); | |
wptr_t x215 = s_alloc(gc,arena,public_caches(arena)->cP2__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d2); | |
SET_MEM_TAG((struct sP2__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d2*)x215,P2__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d2); | |
((struct sP2__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d2*)x215)->a1 = v130564416; | |
wptr_t v559 = x215; | |
sptr_t v21055634 = demote(v559); | |
{ gc_frame0(gc,1,v21055634); | |
wptr_t x216 = s_alloc(gc,arena,public_caches(arena)->cP2__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d3); | |
SET_MEM_TAG((struct sP2__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d3*)x216,P2__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d3); | |
((struct sP2__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d3*)x216)->a1 = v21055634; | |
wptr_t v561 = x216; | |
{ gc_frame0(gc,1,v561); | |
fForeign_C_String_withCString(gc,arena,PROMOTE(c78),v561); | |
} | |
return c65; | |
} | |
} else { | |
uintptr_t v163734714 = (v109152432 + ((intptr_t)((int32_t)offsetof(struct hdaudio_softc, sc_rirb)))); | |
uintptr_t v260457470 = (v163734714 + ((intptr_t)((int32_t)offsetof(struct hdaudio_dma, dma_addr)))); | |
uintptr_t v105553374 = *((uintptr_t *)(v260457470)); | |
uintptr_t v209623820 = (v109152432 + ((intptr_t)((int32_t)offsetof(struct hdaudio_softc, sc_rirb)))); | |
uintptr_t v235511026 = (v209623820 + ((intptr_t)((int32_t)offsetof(struct hdaudio_dma, dma_size)))); | |
uintptr_t v163734716 = *((size_t *)(v235511026)); | |
uintptr_t v228308050 = (v109152432 + ((intptr_t)((int32_t)offsetof(struct hdaudio_softc, sc_rirbrp)))); | |
uint16_t v174402332 = *((uint16_t *)(v228308050)); | |
uint16_t v170633596 = (1 + v174402332); | |
uintmax_t v44725416 = ((uintmax_t)v170633596); | |
uintptr_t v194346582 = ((uintptr_t)v44725416); | |
sptr_t x217 = s_alloc(gc,arena,public_caches(arena)->cFDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d4); | |
((struct sFDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d4*)x217)->head = TO_FPTR(&E__fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d4); | |
((struct sFDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d4*)x217)->a1 = v163734716; | |
sptr_t v109152422 = MKLAZY(x217); | |
uintptr_t v124235150 = (((intptr_t)v163734716) % ((intptr_t)((intptr_t)((int32_t)sizeof(struct rirb_entry))))); | |
{ gc_frame0(gc,1,v109152422); | |
wptr_t x218 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_WordPtr); | |
((struct sCJhc_Type_Word_WordPtr*)x218)->a1 = v124235150; | |
wptr_t v578 = x218; | |
sptr_t v169909362 = demote(v578); | |
{ wptr_t v1146; | |
sptr_t v224871426; | |
sptr_t v552; | |
uintptr_t v119514826; | |
uintptr_t v237538704; | |
uintptr_t v67585040; | |
struct tup1 x220; | |
gc_frame0(gc,1,v169909362); | |
if (0 == v124235150) { | |
v1146 = PROMOTE(c79); | |
} else { | |
wptr_t v100402; | |
uintptr_t v115160446; | |
v100402 = fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d8(gc,arena,v124235150); | |
v115160446 = ((struct sCJhc_Type_Word_WordPtr*)v100402)->a1; | |
wptr_t x219 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_WordPtr); | |
((struct sCJhc_Type_Word_WordPtr*)x219)->a1 = v115160446; | |
v1146 = x219; | |
} | |
v67585040 = ((struct sCJhc_Type_Word_WordPtr*)v1146)->a1; | |
if (0 == ((intptr_t)((int32_t)sizeof(struct rirb_entry)))) { | |
v552 = c79; | |
} else { | |
v552 = g1977892955; | |
} | |
wptr_t v100424 = eval(gc,arena,v552); | |
v119514826 = ((struct sCJhc_Type_Word_WordPtr*)v100424)->a1; | |
uintptr_t v136238526 = (-((intptr_t)v119514826)); | |
uint16_t v100426 = (v67585040 == v136238526); | |
if (0 == v100426) { | |
x220.t0 = v109152422; | |
x220.t1 = v169909362; | |
} else { | |
/* 1 */ | |
assert(1 == v100426); | |
sptr_t x221 = s_alloc(gc,arena,public_caches(arena)->cFDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d5); | |
((struct sFDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d5*)x221)->head = TO_FPTR(&E__fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d5); | |
((struct sFDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d5*)x221)->a1 = v109152422; | |
sptr_t v47527750 = MKLAZY(x221); | |
{ wptr_t v4579; | |
gc_frame0(gc,1,v47527750); | |
v4579 = fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d6(gc,arena,v124235150); | |
sptr_t v47527752 = demote(v4579); | |
x220.t0 = v47527750; | |
x220.t1 = v47527752; | |
} | |
} | |
v224871426 = x220.t0; | |
wptr_t v100404 = eval(gc,arena,v224871426); | |
v237538704 = ((struct sCJhc_Type_Word_WordPtr*)v100404)->a1; | |
uint16_t v100406 = (((intptr_t)v194346582) >= ((intptr_t)v237538704)); | |
if (0 == v100406) { | |
*((uint16_t *)(v228308050)) = v170633596; | |
uintptr_t v154420600 = (v109152432 + ((intptr_t)((int32_t)offsetof(struct hdaudio_softc, sc_dmat)))); | |
uintptr_t v132679404 = *((uintptr_t *)(v154420600)); | |
uintptr_t v260952206 = (v109152432 + ((intptr_t)((int32_t)offsetof(struct hdaudio_softc, sc_rirb)))); | |
uintptr_t v23565126 = (v260952206 + ((intptr_t)((int32_t)offsetof(struct hdaudio_dma, dma_map)))); | |
uintptr_t v251973242 = *((uintptr_t *)(v23565126)); | |
bus_dmamap_sync((HsPtr)v132679404,(HsPtr)v251973242,(unsigned long)0,(size_t)v163734716,(int)BUS_DMASYNC_POSTREAD); | |
uint16_t v59069480 = *((uint16_t *)(v228308050)); | |
uint32_t v240673848 = ((uint32_t)v59069480); | |
uint32_t v163734730 = (sizeof(struct rirb_entry) * v240673848); | |
uintptr_t v109152436 = ((intptr_t)((int32_t)v163734730)); | |
uintptr_t v124235162 = (v105553374 + v109152436); | |
uintptr_t v51274856 = (v124235162 + ((intptr_t)((int32_t)offsetof(struct rirb_entry, resp)))); | |
uint32_t v120834808 = *((uint32_t *)(v51274856)); | |
uintptr_t v183082886 = (v124235162 + ((intptr_t)((int32_t)offsetof(struct rirb_entry, resp_ex)))); | |
uint32_t v238502460 = *((uint32_t *)(v183082886)); | |
bus_dmamap_sync((HsPtr)v132679404,(HsPtr)v251973242,(unsigned long)0,(size_t)v163734716,(int)BUS_DMASYNC_PREREAD); | |
uint32_t v100414 = (16 & v238502460); | |
if (0 == v100414) { | |
wptr_t x222 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Word32); | |
((struct sCJhc_Type_Word_Word32*)x222)->a1 = v120834808; | |
wptr_t v652 = x222; | |
return demote(v652); | |
} else { | |
uint32_t v141244528 = (15 & v238502460); | |
uintmax_t v130564428 = ((uintmax_t)v141244528); | |
uint8_t v21055642 = ((uint8_t)v130564428); | |
uint16_t v100416 = (v21055642 >= HDAUDIO_MAX_CODECS); | |
if (0 == v100416) { | |
uint32_t v45052598 = ((uint32_t)v21055642); | |
uint32_t v253791882 = (v45052598 * sizeof(struct hdaudio_codec)); | |
uint32_t v237992590 = (offsetof(struct hdaudio_softc, sc_codec) + v253791882); | |
uintptr_t v172090982 = ((intptr_t)((int32_t)v237992590)); | |
uintptr_t v111142944 = (v109152432 + v172090982); | |
uintptr_t v89450806 = (v111142944 + ((intptr_t)((int32_t)offsetof(struct hdaudio_codec, co_valid)))); | |
uint32_t v123670254 = ((uint32_t)hs_peekbool((HsBool*)v89450806)); | |
if (0 == v123670254) { | |
uint32_t v267751054 = ((uint32_t)v21055642); | |
fW$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1(gc,arena,v1588726824,PROMOTE(c111),v267751054); | |
} else { | |
uintptr_t v196970376 = (v111142944 + ((intptr_t)((int32_t)offsetof(struct hdaudio_codec, co_nfg)))); | |
uint32_t v163333532 = *((int *)(v196970376)); | |
uint16_t v100418 = (((int32_t)0) < ((int32_t)v163333532)); | |
if (0 == v100418) { | |
} else { | |
/* 1 */ | |
assert(1 == v100418); | |
uintptr_t v218886274 = (v111142944 + ((intptr_t)((int32_t)offsetof(struct hdaudio_codec, co_fg)))); | |
uintptr_t v28059888 = *((uintptr_t *)(v218886274)); | |
uintptr_t v35624308 = (v28059888 + ((intptr_t)((int32_t)offsetof(struct hdaudio_function_group, fg_device)))); | |
uintptr_t v116668582 = *((uintptr_t *)(v35624308)); | |
uintptr_t v176934668 = (v28059888 + ((intptr_t)((int32_t)offsetof(struct hdaudio_function_group, fg_unsol)))); | |
uintptr_t v247340492 = *((uintptr_t *)(v176934668)); | |
if (0 == v116668582) { | |
} else { | |
if (0 == v247340492) { | |
} else { | |
uintmax_t v146854728 = ((uintmax_t)v120834808); | |
uint8_t v69432558 = ((uint8_t)v146854728); | |
(uint32_t)((int (*)(HsPtr,uint8_t))v247340492)((HsPtr)v116668582,(uint8_t)v69432558); | |
} | |
} | |
} | |
(sptr_t)SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} | |
} else { | |
/* 1 */ | |
assert(1 == v100416); | |
uint32_t v169909370 = ((uint32_t)v21055642); | |
fW$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1(gc,arena,v1588726824,PROMOTE(c146),v169909370); | |
} | |
v1588726824 = v1588726824; | |
v1614416943 = v1614416943; | |
goto bRfDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue__210; | |
} | |
} else { | |
/* 1 */ | |
assert(1 == v100406); | |
*((uint16_t *)(v228308050)) = 0; | |
uintptr_t v90861648 = (v109152432 + ((intptr_t)((int32_t)offsetof(struct hdaudio_softc, sc_dmat)))); | |
uintptr_t v173749924 = *((uintptr_t *)(v90861648)); | |
uintptr_t v44000678 = (v109152432 + ((intptr_t)((int32_t)offsetof(struct hdaudio_softc, sc_rirb)))); | |
uintptr_t v194635142 = (v44000678 + ((intptr_t)((int32_t)offsetof(struct hdaudio_dma, dma_map)))); | |
uintptr_t v167101726 = *((uintptr_t *)(v194635142)); | |
bus_dmamap_sync((HsPtr)v173749924,(HsPtr)v167101726,(unsigned long)0,(size_t)v163734716,(int)BUS_DMASYNC_POSTREAD); | |
uint16_t v214892892 = *((uint16_t *)(v228308050)); | |
uint32_t v153539806 = ((uint32_t)v214892892); | |
uint32_t v224199308 = (sizeof(struct rirb_entry) * v153539806); | |
uintptr_t v131959578 = ((intptr_t)((int32_t)v224199308)); | |
uintptr_t v191386608 = (v105553374 + v131959578); | |
uintptr_t v182639120 = (v191386608 + ((intptr_t)((int32_t)offsetof(struct rirb_entry, resp)))); | |
uint32_t v204193218 = *((uint32_t *)(v182639120)); | |
uintptr_t v115160444 = (v191386608 + ((intptr_t)((int32_t)offsetof(struct rirb_entry, resp_ex)))); | |
uint32_t v124940224 = *((uint32_t *)(v115160444)); | |
bus_dmamap_sync((HsPtr)v173749924,(HsPtr)v167101726,(unsigned long)0,(size_t)v163734716,(int)BUS_DMASYNC_PREREAD); | |
uint32_t v100408 = (16 & v124940224); | |
if (0 == v100408) { | |
wptr_t x223 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Word32); | |
((struct sCJhc_Type_Word_Word32*)x223)->a1 = v204193218; | |
wptr_t v607 = x223; | |
return demote(v607); | |
} else { | |
uint32_t v32506484 = (15 & v124940224); | |
uintmax_t v119285256 = ((uintmax_t)v32506484); | |
uint8_t v251973254 = ((uint8_t)v119285256); | |
uint16_t v100410 = (v251973254 >= HDAUDIO_MAX_CODECS); | |
if (0 == v100410) { | |
uint32_t v74410712 = ((uint32_t)v251973254); | |
uint32_t v209765092 = (v74410712 * sizeof(struct hdaudio_codec)); | |
uint32_t v94522162 = (offsetof(struct hdaudio_softc, sc_codec) + v209765092); | |
uintptr_t v75583674 = ((intptr_t)((int32_t)v94522162)); | |
uintptr_t v204193222 = (v109152432 + v75583674); | |
uintptr_t v4342796 = (v204193222 + ((intptr_t)((int32_t)offsetof(struct hdaudio_codec, co_valid)))); | |
uint32_t v182639122 = ((uint32_t)hs_peekbool((HsBool*)v4342796)); | |
if (0 == v182639122) { | |
uint32_t v138245502 = ((uint32_t)v251973254); | |
fW$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1(gc,arena,v1588726824,PROMOTE(c111),v138245502); | |
} else { | |
uintptr_t v33617548 = (v204193222 + ((intptr_t)((int32_t)offsetof(struct hdaudio_codec, co_nfg)))); | |
uint32_t v14863430 = *((int *)(v33617548)); | |
uint16_t v100412 = (((int32_t)0) < ((int32_t)v14863430)); | |
if (0 == v100412) { | |
} else { | |
/* 1 */ | |
assert(1 == v100412); | |
uintptr_t v147060712 = (v204193222 + ((intptr_t)((int32_t)offsetof(struct hdaudio_codec, co_fg)))); | |
uintptr_t v55142478 = *((uintptr_t *)(v147060712)); | |
uintptr_t v264677750 = (v55142478 + ((intptr_t)((int32_t)offsetof(struct hdaudio_function_group, fg_device)))); | |
uintptr_t v206725782 = *((uintptr_t *)(v264677750)); | |
uintptr_t v80721892 = (v55142478 + ((intptr_t)((int32_t)offsetof(struct hdaudio_function_group, fg_unsol)))); | |
uintptr_t v256237318 = *((uintptr_t *)(v80721892)); | |
if (0 == v206725782) { | |
} else { | |
if (0 == v256237318) { | |
} else { | |
uintmax_t v44000692 = ((uintmax_t)v204193218); | |
uint8_t v71920778 = ((uint8_t)v44000692); | |
(uint32_t)((int (*)(HsPtr,uint8_t))v256237318)((HsPtr)v206725782,(uint8_t)v71920778); | |
} | |
} | |
} | |
(sptr_t)SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} | |
} else { | |
/* 1 */ | |
assert(1 == v100410); | |
uint32_t v112481744 = ((uint32_t)v251973254); | |
fW$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1(gc,arena,v1588726824,PROMOTE(c146),v112481744); | |
} | |
v1588726824 = v1588726824; | |
v1614416943 = v1614416943; | |
goto bRfDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue__210; | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
static sptr_t A_STD A_MALLOC | |
fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d2(gc_t gc,arena_t arena,uintptr_t v266519708,uintptr_t v1922702879) | |
{ | |
aprint_error_dev((HsPtr)v266519708,(char*)v1922702879); | |
return (sptr_t)SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} | |
static sptr_t A_STD A_MALLOC | |
fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d3(gc_t gc,arena_t arena,sptr_t v1927159325,sptr_t v53053126) | |
{ | |
{ uintptr_t v262817798; | |
uintptr_t v528; | |
gc_frame0(gc,1,v1927159325); | |
wptr_t v100442 = eval(gc,arena,v53053126); | |
wptr_t v100444 = promote(v1927159325); | |
v262817798 = ((struct sCJhc_Type_Ptr_Ptr*)v100442)->a1; | |
v528 = ((struct sP2__Dev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d2*)v100444)->a1; | |
return fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d2(gc,arena,v528,v262817798); | |
} | |
} | |
static wptr_t A_STD A_MALLOC | |
fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d4(gc_t gc,arena_t arena,uintptr_t v61835134) | |
{ | |
uintptr_t v215884498 = (((intptr_t)v61835134) / ((intptr_t)((intptr_t)((int32_t)sizeof(struct rirb_entry))))); | |
wptr_t x207 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_WordPtr); | |
((struct sCJhc_Type_Word_WordPtr*)x207)->a1 = v215884498; | |
return x207; | |
} | |
static wptr_t A_STD A_MALLOC | |
fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d5(gc_t gc,arena_t arena,sptr_t v235480822) | |
{ | |
uintptr_t v80256472; | |
wptr_t v100440 = eval(gc,arena,v235480822); | |
v80256472 = ((struct sCJhc_Type_Word_WordPtr*)v100440)->a1; | |
uintptr_t v181754698 = (v80256472 - 1); | |
wptr_t x208 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_WordPtr); | |
((struct sCJhc_Type_Word_WordPtr*)x208)->a1 = v181754698; | |
return x208; | |
} | |
static wptr_t A_STD A_MALLOC | |
fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d6(gc_t gc,arena_t arena,uintptr_t v40405740) | |
{ | |
uintptr_t v46454718 = (v40405740 + ((intptr_t)((int32_t)sizeof(struct rirb_entry)))); | |
wptr_t x209 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_WordPtr); | |
((struct sCJhc_Type_Word_WordPtr*)x209)->a1 = v46454718; | |
return x209; | |
} | |
static wptr_t A_STD A_MALLOC | |
fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d7(gc_t gc,arena_t arena) | |
{ | |
if (0 == (((intptr_t)0) < ((intptr_t)((intptr_t)((int32_t)sizeof(struct rirb_entry)))))) { | |
return PROMOTE(c63); | |
} else { | |
/* 1 */ | |
assert(1 == (((intptr_t)0) < ((intptr_t)((intptr_t)((int32_t)sizeof(struct rirb_entry)))))); | |
return PROMOTE(c64); | |
} | |
} | |
static wptr_t A_STD A_MALLOC | |
fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue$d8(gc_t gc,arena_t arena,uintptr_t v1217238) | |
{ | |
uint16_t v100436 = (((intptr_t)0) < ((intptr_t)v1217238)); | |
if (0 == v100436) { | |
return PROMOTE(c63); | |
} else { | |
/* 1 */ | |
assert(1 == v100436); | |
return PROMOTE(c64); | |
} | |
} | |
static uintptr_t A_STD | |
fFE$__CCall_auichAllocm(gc_t gc,arena_t arena,uintptr_t v342,uint32_t u2,uintptr_t v346) | |
{ | |
wptr_t v683; | |
uintptr_t v1838; | |
uint16_t v143960012 = (((intptr_t)v346) > ((intptr_t)(ICH_DMALIST_MAX * ICH_DMASEG_MAX))); | |
if (0 == v143960012) { | |
uintptr_t v29051568 = ((uintptr_t)kmem_alloc((size_t)((intptr_t)((int32_t)sizeof(struct auich_dma))),(unsigned)KM_SLEEP)); | |
if (0 == v29051568) { | |
v683 = PROMOTE(c27); | |
} else { | |
sptr_t v226363436; | |
uint32_t v120734300; | |
wptr_t x180 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x180)->a1 = v342; | |
wptr_t v2303 = x180; | |
{ gc_frame0(gc,1,v2303); | |
v226363436 = fW$__fDev_Pci_Auich_auichAllocmem(gc,arena,v2303,v346,0,v29051568); | |
} | |
wptr_t v100466 = eval(gc,arena,v226363436); | |
v120734300 = ((struct sCJhc_Type_Word_Int*)v100466)->a1; | |
if (0 == v120734300) { | |
uintptr_t v691662 = (v29051568 + ((intptr_t)((int32_t)offsetof(struct auich_dma, next)))); | |
uintptr_t v124335568 = (v342 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_dmas)))); | |
uintptr_t v114140700 = *((uintptr_t *)(v124335568)); | |
*((uintptr_t *)(v691662)) = v114140700; | |
*((uintptr_t *)(v124335568)) = v29051568; | |
uintptr_t v239029648 = (v29051568 + ((intptr_t)((int32_t)offsetof(struct auich_dma, addr)))); | |
uintptr_t v217301936 = *((uintptr_t *)(v239029648)); | |
wptr_t x181 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x181)->a1 = v217301936; | |
v683 = x181; | |
} else { | |
kmem_free((HsPtr)v29051568,(size_t)((intptr_t)((int32_t)sizeof(struct auich_dma)))); | |
v683 = PROMOTE(c27); | |
} | |
} | |
} else { | |
/* 1 */ | |
assert(1 == v143960012); | |
v683 = PROMOTE(c27); | |
} | |
v1838 = ((struct sCJhc_Type_Ptr_Ptr*)v683)->a1; | |
return v1838; | |
} | |
static uint32_t A_STD | |
fFE$__CCall_auichAllocmem(gc_t gc,arena_t arena,uintptr_t v314,uintptr_t v316,uintptr_t v318,uintptr_t v320) | |
{ | |
sptr_t v326; | |
uint32_t v692; | |
wptr_t x174 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x174)->a1 = v314; | |
wptr_t v360 = x174; | |
{ gc_frame0(gc,1,v360); | |
v326 = fW$__fDev_Pci_Auich_auichAllocmem(gc,arena,v360,v316,v318,v320); | |
} | |
wptr_t v100470 = eval(gc,arena,v326); | |
v692 = ((struct sCJhc_Type_Word_Int*)v100470)->a1; | |
return v692; | |
} | |
static void A_STD | |
fFE$__CCall_auichClose(gc_t gc,arena_t arena,uintptr_t v168732082) | |
{ | |
uintptr_t v224834306 = (v168732082 + ((intptr_t)((int32_t)offsetof(struct auich_softc, codec_if)))); | |
uintptr_t v53214130 = *((uintptr_t *)(v224834306)); | |
uintptr_t v216085098 = (v53214130 + ((intptr_t)((int32_t)offsetof(struct ac97_codec_if, vtbl)))); | |
uintptr_t v153539804 = *((uintptr_t *)(v216085098)); | |
uintptr_t v212933206 = (v153539804 + ((intptr_t)((int32_t)offsetof(struct ac97_codec_if_vtbl, unlock)))); | |
uintptr_t v65888628 = *((uintptr_t *)(v212933206)); | |
uintptr_t v68294572 = (v168732082 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_intr_lock)))); | |
mutex_spin_exit((HsPtr)v68294572); | |
(void)((void (*)(HsPtr))v65888628)((HsPtr)v53214130); | |
mutex_spin_enter((HsPtr)v68294572); | |
return; | |
} | |
static void A_STD | |
fFE$__CCall_auichFreem(gc_t gc,arena_t arena,uintptr_t v356,uintptr_t v358,uintptr_t u3) | |
{ | |
uintptr_t v225040676; | |
uintptr_t v134000984 = (v356 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_dmas)))); | |
v225040676 = v134000984; | |
fW$__fDev_Pci_Auich_188__while__328:; | |
{ uintptr_t v182966160 = *((uintptr_t *)(v225040676)); | |
if (0 == v182966160) { | |
SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} else { | |
uintptr_t v59642622 = (v182966160 + ((intptr_t)((int32_t)offsetof(struct auich_dma, addr)))); | |
uintptr_t v186011622 = *((uintptr_t *)(v59642622)); | |
uint16_t v100006 = (v186011622 == v358); | |
if (0 == v100006) { | |
uintptr_t v13690790 = (v182966160 + ((intptr_t)((int32_t)offsetof(struct auich_dma, next)))); | |
v225040676 = v13690790; | |
goto fW$__fDev_Pci_Auich_188__while__328; | |
} else { | |
/* 1 */ | |
assert(1 == v100006); | |
uintptr_t v123321942 = (v182966160 + ((intptr_t)((int32_t)offsetof(struct auich_dma, next)))); | |
uintptr_t v110947988 = *((uintptr_t *)(v123321942)); | |
*((uintptr_t *)(v225040676)) = v110947988; | |
kmem_free((HsPtr)v182966160,(size_t)((intptr_t)((int32_t)sizeof(struct auich_dma)))); | |
SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} | |
} | |
} | |
return; | |
} | |
static uint32_t A_STD | |
fFE$__CCall_auichFreemem(gc_t gc,arena_t arena,uintptr_t v330,uintptr_t v332) | |
{ | |
uintptr_t v235430064 = (v330 + ((intptr_t)((int32_t)offsetof(struct auich_softc, dmat)))); | |
uintptr_t v188753484 = *((uintptr_t *)(v235430064)); | |
uintptr_t v41060118 = (v332 + ((intptr_t)((int32_t)offsetof(struct auich_dma, map)))); | |
uintptr_t v224424528 = *((uintptr_t *)(v41060118)); | |
uintptr_t v221385242 = (v332 + ((intptr_t)((int32_t)offsetof(struct auich_dma, addr)))); | |
uintptr_t v196385514 = *((uintptr_t *)(v221385242)); | |
uintptr_t v203039192 = (v332 + ((intptr_t)((int32_t)offsetof(struct auich_dma, size)))); | |
uintptr_t v138499560 = *((size_t *)(v203039192)); | |
uintptr_t v44119798 = (v332 + ((intptr_t)((int32_t)offsetof(struct auich_dma, nsegs)))); | |
uint32_t v244429588 = *((uint32_t *)(v44119798)); | |
bus_dmamap_unload((HsPtr)v188753484,(HsPtr)v224424528); | |
bus_dmamap_destroy((HsPtr)v188753484,(HsPtr)v224424528); | |
bus_dmamem_unmap((HsPtr)v188753484,(HsPtr)v196385514,(size_t)v138499560); | |
uintptr_t v105734070 = (v332 + ((intptr_t)((int32_t)offsetof(struct auich_dma, segs)))); | |
bus_dmamem_free((HsPtr)v188753484,(HsPtr)v105734070,(int)v244429588); | |
return 0; | |
} | |
static void A_STD | |
fFE$__CCall_auichGetLocks(gc_t gc,arena_t arena,uintptr_t v408,uintptr_t v410,uintptr_t v412) | |
{ | |
uintptr_t v208940922 = (v408 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_intr_lock)))); | |
*((uintptr_t *)(v410)) = v208940922; | |
uintptr_t v170030618 = (v408 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_lock)))); | |
*((uintptr_t *)(v412)) = v170030618; | |
return; | |
} | |
static uint32_t A_STD | |
fFE$__CCall_auichGetPort(gc_t gc,arena_t arena,uintptr_t v2598,uintptr_t v292) | |
{ | |
uintptr_t v26364024 = (v2598 + ((intptr_t)((int32_t)offsetof(struct auich_softc, codec_if)))); | |
uintptr_t v123829542 = *((uintptr_t *)(v26364024)); | |
uintptr_t v153480258 = (v123829542 + ((intptr_t)((int32_t)offsetof(struct ac97_codec_if, vtbl)))); | |
uintptr_t v170248830 = *((uintptr_t *)(v153480258)); | |
uintptr_t v8563662 = (v170248830 + ((intptr_t)((int32_t)offsetof(struct ac97_codec_if_vtbl, mixer_get_port)))); | |
uintptr_t v62352840 = *((uintptr_t *)(v8563662)); | |
return (uint32_t)((int (*)(HsPtr,HsPtr))v62352840)((HsPtr)v123829542,(HsPtr)v292); | |
} | |
static uint32_t A_STD | |
fFE$__CCall_auichGetProps(gc_t gc,arena_t arena,uintptr_t v398) | |
{ | |
uintptr_t v122527204 = (v398 + ((intptr_t)((int32_t)offsetof(struct auich_softc, codec_if)))); | |
uintptr_t v56622488 = *((uintptr_t *)(v122527204)); | |
uintptr_t v42178510 = (v398 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_codectype)))); | |
uint32_t v124940228 = *((uint32_t *)(v42178510)); | |
uintptr_t v241147976 = (v56622488 + ((intptr_t)((int32_t)offsetof(struct ac97_codec_if, vtbl)))); | |
uintptr_t v837332 = *((uintptr_t *)(v241147976)); | |
uintptr_t v118052048 = (v837332 + ((intptr_t)((int32_t)offsetof(struct ac97_codec_if_vtbl, get_extcaps)))); | |
uintptr_t v267350492 = *((uintptr_t *)(v118052048)); | |
uint16_t v78939490 = ((uint16_t)((uint16_t (*)(HsPtr))v267350492)((HsPtr)v56622488)); | |
uint16_t v100544 = (v78939490 & ((uint16_t)AC97_EXT_AUDIO_VRA)); | |
if (0 == v100544) { | |
uint16_t v100546 = (v124940228 == AC97_CODEC_TYPE_MODEM); | |
if (0 == v100546) { | |
return AUDIO_PROP_INDEPENDENT | AUDIO_PROP_FULLDUPLEX; | |
} else { | |
/* 1 */ | |
assert(1 == v100546); | |
return AUDIO_PROP_INDEPENDENT | (AUDIO_PROP_FULLDUPLEX | AUDIO_PROP_MMAP); | |
} | |
} else { | |
return AUDIO_PROP_INDEPENDENT | (AUDIO_PROP_FULLDUPLEX | AUDIO_PROP_MMAP); | |
} | |
} | |
static uint32_t A_STD | |
fFE$__CCall_auichGetdev(gc_t gc,arena_t arena,uintptr_t v266,uintptr_t v268) | |
{ | |
uintptr_t v264841570 = (v266 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_audev)))); | |
(uintptr_t)memcpy((HsPtr)v268,(HsPtr)v264841570,(size_t)((intptr_t)((int32_t)sizeof(struct audio_device)))); | |
return 0; | |
} | |
static uint32_t A_STD | |
fFE$__CCall_auichHaltInput(gc_t gc,arena_t arena,uintptr_t v256) | |
{ | |
wptr_t x248 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x248)->a1 = v256; | |
wptr_t v823 = x248; | |
{ gc_frame0(gc,1,v823); | |
fW$__fDev_Pci_Auich_auichHaltPipe(gc,arena,v823,ICH_PCMI); | |
} | |
uintptr_t v105527378 = (v256 + ((intptr_t)((int32_t)offsetof(struct auich_softc, pcmi)))); | |
uintptr_t v202526180 = (v105527378 + ((intptr_t)((int32_t)offsetof(struct auich_ring, intr)))); | |
*((uintptr_t *)(v202526180)) = 0; | |
return 0; | |
} | |
static uint32_t A_STD | |
fFE$__CCall_auichHaltOutput(gc_t gc,arena_t arena,uintptr_t v246) | |
{ | |
wptr_t x245 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x245)->a1 = v246; | |
wptr_t v2204 = x245; | |
{ gc_frame0(gc,1,v2204); | |
fW$__fDev_Pci_Auich_auichHaltPipe(gc,arena,v2204,ICH_PCMO); | |
} | |
uintptr_t v151167348 = (v246 + ((intptr_t)((int32_t)offsetof(struct auich_softc, pcmo)))); | |
uintptr_t v152606388 = (v151167348 + ((intptr_t)((int32_t)offsetof(struct auich_ring, intr)))); | |
*((uintptr_t *)(v152606388)) = 0; | |
return 0; | |
} | |
static void A_STD | |
fFE$__CCall_auichHaltPipe(gc_t gc,arena_t arena,uintptr_t v3028,uint32_t v132502398) | |
{ | |
wptr_t x241 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x241)->a1 = v3028; | |
wptr_t v813 = x241; | |
{ gc_frame0(gc,1,v813); | |
fW$__fDev_Pci_Auich_auichHaltPipe(gc,arena,v813,v132502398); | |
} | |
return; | |
} | |
static uint32_t A_STD | |
fFE$__CCall_auichIntr(gc_t gc,arena_t arena,uintptr_t v265361532) | |
{ | |
sptr_t v188122480; | |
uint32_t v1144; | |
uintptr_t v240673856 = (v265361532 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_dev)))); | |
uintptr_t v81057820 = *((uintptr_t *)(v240673856)); | |
uintptr_t v8344916 = (v81057820 + ((intptr_t)((int32_t)offsetof(struct device, dv_flags)))); | |
uint32_t v155054258 = *((uint32_t *)(v8344916)); | |
wptr_t x260 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x260)->a1 = v265361532; | |
wptr_t v923 = x260; | |
uint32_t v192437292 = (v155054258 & (DVF_ACTIVE | DVF_BUS_SUSPENDED)); | |
uint16_t v232926342 = (v192437292 == DVF_ACTIVE); | |
if (0 == v232926342) { | |
v188122480 = c26; | |
} else { | |
/* 1 */ | |
assert(1 == v232926342); | |
uintptr_t v94356368 = (v265361532 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_intr_lock)))); | |
mutex_spin_enter((HsPtr)v94356368); | |
uintptr_t v19462808 = (v265361532 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_codectype)))); | |
uint32_t v163333522 = *((uint32_t *)(v19462808)); | |
uintptr_t v51274854 = (v265361532 + ((intptr_t)((int32_t)offsetof(struct auich_softc, iot)))); | |
uintptr_t v243604032 = *((uintptr_t *)(v51274854)); | |
uintptr_t v183082888 = (v265361532 + ((intptr_t)((int32_t)offsetof(struct auich_softc, aud_ioh)))); | |
uintptr_t v913272 = *((uintptr_t *)(v183082888)); | |
uintptr_t v66102166 = (v265361532 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_modem_offset)))); | |
uintptr_t v225564912 = *((size_t *)(v66102166)); | |
uintptr_t v195664544 = (ICH_GSTS + v225564912); | |
uint32_t v73700196 = ((uint32_t)bus_space_read_4((HsPtr)v243604032,(unsigned long)v913272,(size_t)v195664544)); | |
{ sptr_t v80721890; | |
wptr_t v848; | |
gc_frame0(gc,1,v923); | |
v848 = fFE$__CCall_auichIntr$d2(gc,arena,v163333522,v73700196); | |
uint16_t v100266 = (v163333522 == AC97_CODEC_TYPE_AUDIO); | |
if (0 == v100266) { | |
uint16_t v162490322; | |
v162490322 = ((uint16_t)RAW_GET_UF(v848)); | |
if (0 == v162490322) { | |
v80721890 = c26; | |
} else { | |
/* 1 */ | |
assert(1 == v162490322); | |
uintptr_t v116668566 = (v265361532 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_sts_reg)))); | |
uint32_t v196080008 = *((uint32_t *)(v116668566)); | |
uintptr_t v260457472 = ((intptr_t)((int32_t)v196080008)); | |
uintptr_t v6503380 = (((intptr_t)((int32_t)ICH_PCMO)) + v260457472); | |
uint16_t v99286690 = ((uint16_t)bus_space_read_2((HsPtr)v243604032,(unsigned long)v913272,(size_t)v6503380)); | |
uint16_t v100270 = (v99286690 & ICH_FIFOE); | |
if (0 == v100270) { | |
(sptr_t)SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} else { | |
uintptr_t v15858622 = (v265361532 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_dev)))); | |
uintptr_t v187458414 = *((uintptr_t *)(v15858622)); | |
uintptr_t v244592738 = (v187458414 + ((intptr_t)((int32_t)offsetof(struct device, dv_xname)))); | |
fW$__fKern_SubrPrf_printfS1(gc,arena,PROMOTE(c163),v244592738); | |
} | |
uint16_t v100272 = (v99286690 & ICH_BCIS); | |
if (0 == v100272) { | |
SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} else { | |
uintptr_t v212210744 = (v265361532 + ((intptr_t)((int32_t)offsetof(struct auich_softc, pcmo)))); | |
wptr_t x261 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x261)->a1 = v212210744; | |
wptr_t v1999 = x261; | |
{ gc_frame0(gc,1,v1999); | |
fW$__fDev_Pci_Auich_Intr_auichIntrPipe(gc,arena,v923,ICH_PCMO,v1999); | |
} | |
} | |
uintptr_t v152966622 = ((intptr_t)((int32_t)v196080008)); | |
uintptr_t v40313382 = (((intptr_t)((int32_t)ICH_PCMO)) + v152966622); | |
uint16_t v218239112 = (v99286690 & (ICH_BCIS | ICH_FIFOE)); | |
bus_space_write_2((HsPtr)v243604032,(unsigned long)v913272,(size_t)v40313382,(uint16_t)v218239112); | |
uint16_t v100274 = (v163333522 == AC97_CODEC_TYPE_AUDIO); | |
if (0 == v100274) { | |
uintptr_t v160021402 = (ICH_GSTS + v225564912); | |
bus_space_write_4((HsPtr)v243604032,(unsigned long)v913272,(size_t)v160021402,(uint32_t)ICH_MOINT); | |
} else { | |
/* 1 */ | |
assert(1 == v100274); | |
uintptr_t v169473702 = (ICH_GSTS + v225564912); | |
bus_space_write_4((HsPtr)v243604032,(unsigned long)v913272,(size_t)v169473702,(uint32_t)ICH_POINT); | |
} | |
v80721890 = c164; | |
} | |
} else { | |
/* 1 */ | |
assert(1 == v100266); | |
uint32_t v100276 = (v73700196 & ICH_POINT); | |
if (0 == v100276) { | |
uint16_t v21208658; | |
v21208658 = ((uint16_t)RAW_GET_UF(v848)); | |
if (0 == v21208658) { | |
v80721890 = c26; | |
} else { | |
/* 1 */ | |
assert(1 == v21208658); | |
uintptr_t v7598856 = (v265361532 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_sts_reg)))); | |
uint32_t v66251200 = *((uint32_t *)(v7598856)); | |
uintptr_t v226286984 = ((intptr_t)((int32_t)v66251200)); | |
uintptr_t v246725376 = (((intptr_t)((int32_t)ICH_PCMO)) + v226286984); | |
uint16_t v46110840 = ((uint16_t)bus_space_read_2((HsPtr)v243604032,(unsigned long)v913272,(size_t)v246725376)); | |
uint16_t v100280 = (v46110840 & ICH_FIFOE); | |
if (0 == v100280) { | |
(sptr_t)SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} else { | |
uintptr_t v178407652 = (v265361532 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_dev)))); | |
uintptr_t v238502454 = *((uintptr_t *)(v178407652)); | |
uintptr_t v158113106 = (v238502454 + ((intptr_t)((int32_t)offsetof(struct device, dv_xname)))); | |
fW$__fKern_SubrPrf_printfS1(gc,arena,PROMOTE(c163),v158113106); | |
} | |
uint16_t v100282 = (v46110840 & ICH_BCIS); | |
if (0 == v100282) { | |
SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} else { | |
uintptr_t v167886990 = (v265361532 + ((intptr_t)((int32_t)offsetof(struct auich_softc, pcmo)))); | |
wptr_t x262 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x262)->a1 = v167886990; | |
wptr_t v1995 = x262; | |
{ gc_frame0(gc,1,v1995); | |
fW$__fDev_Pci_Auich_Intr_auichIntrPipe(gc,arena,v923,ICH_PCMO,v1995); | |
} | |
} | |
uintptr_t v33022052 = ((intptr_t)((int32_t)v66251200)); | |
uintptr_t v160358332 = (((intptr_t)((int32_t)ICH_PCMO)) + v33022052); | |
uint16_t v57262136 = (v46110840 & (ICH_BCIS | ICH_FIFOE)); | |
bus_space_write_2((HsPtr)v243604032,(unsigned long)v913272,(size_t)v160358332,(uint16_t)v57262136); | |
uint16_t v100284 = (v163333522 == AC97_CODEC_TYPE_AUDIO); | |
if (0 == v100284) { | |
uintptr_t v155036410 = (ICH_GSTS + v225564912); | |
bus_space_write_4((HsPtr)v243604032,(unsigned long)v913272,(size_t)v155036410,(uint32_t)ICH_MOINT); | |
} else { | |
/* 1 */ | |
assert(1 == v100284); | |
uintptr_t v195552930 = (ICH_GSTS + v225564912); | |
bus_space_write_4((HsPtr)v243604032,(unsigned long)v913272,(size_t)v195552930,(uint32_t)ICH_POINT); | |
} | |
v80721890 = c164; | |
} | |
} else { | |
uintptr_t v256832200 = (v265361532 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_sts_reg)))); | |
uint32_t v120254454 = *((uint32_t *)(v256832200)); | |
uintptr_t v2998638 = ((intptr_t)((int32_t)v120254454)); | |
uintptr_t v205657476 = (((intptr_t)((int32_t)ICH_PCMO)) + v2998638); | |
uint16_t v41073646 = ((uint16_t)bus_space_read_2((HsPtr)v243604032,(unsigned long)v913272,(size_t)v205657476)); | |
uint16_t v100286 = (v41073646 & ICH_FIFOE); | |
if (0 == v100286) { | |
(sptr_t)SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} else { | |
uintptr_t v237992588 = (v265361532 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_dev)))); | |
uintptr_t v73700200 = *((uintptr_t *)(v237992588)); | |
uintptr_t v110207574 = (v73700200 + ((intptr_t)((int32_t)offsetof(struct device, dv_xname)))); | |
fW$__fKern_SubrPrf_printfS1(gc,arena,PROMOTE(c163),v110207574); | |
} | |
uint16_t v100288 = (v41073646 & ICH_BCIS); | |
if (0 == v100288) { | |
SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} else { | |
uintptr_t v220594024 = (v265361532 + ((intptr_t)((int32_t)offsetof(struct auich_softc, pcmo)))); | |
wptr_t x263 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x263)->a1 = v220594024; | |
wptr_t v1005 = x263; | |
{ gc_frame0(gc,1,v1005); | |
fW$__fDev_Pci_Auich_Intr_auichIntrPipe(gc,arena,v923,ICH_PCMO,v1005); | |
} | |
} | |
uintptr_t v76303194 = ((intptr_t)((int32_t)v120254454)); | |
uintptr_t v171317422 = (((intptr_t)((int32_t)ICH_PCMO)) + v76303194); | |
uint16_t v212595294 = (v41073646 & (ICH_BCIS | ICH_FIFOE)); | |
bus_space_write_2((HsPtr)v243604032,(unsigned long)v913272,(size_t)v171317422,(uint16_t)v212595294); | |
uint16_t v100290 = (v163333522 == AC97_CODEC_TYPE_AUDIO); | |
if (0 == v100290) { | |
uintptr_t v139519350 = (ICH_GSTS + v225564912); | |
bus_space_write_4((HsPtr)v243604032,(unsigned long)v913272,(size_t)v139519350,(uint32_t)ICH_MOINT); | |
} else { | |
/* 1 */ | |
assert(1 == v100290); | |
uintptr_t v253021000 = (ICH_GSTS + v225564912); | |
bus_space_write_4((HsPtr)v243604032,(unsigned long)v913272,(size_t)v253021000,(uint32_t)ICH_POINT); | |
} | |
v80721890 = c164; | |
} | |
} | |
{ sptr_t v105289582; | |
sptr_t v223899782; | |
wptr_t v927; | |
gc_frame0(gc,1,v80721890); | |
v927 = fFE$__CCall_auichIntr$d3(gc,arena,v163333522,v73700196); | |
uint16_t v100292 = (v163333522 == AC97_CODEC_TYPE_AUDIO); | |
if (0 == v100292) { | |
uint16_t v215884496; | |
v215884496 = ((uint16_t)RAW_GET_UF(v927)); | |
if (0 == v215884496) { | |
v223899782 = v80721890; | |
} else { | |
uint32_t v111018028; | |
/* 1 */ | |
assert(1 == v215884496); | |
uintptr_t v196970370 = (v265361532 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_sts_reg)))); | |
uint32_t v225040680 = *((uint32_t *)(v196970370)); | |
uintptr_t v183512494 = ((intptr_t)((int32_t)v225040680)); | |
uintptr_t v92400196 = (((intptr_t)((int32_t)ICH_PCMI)) + v183512494); | |
uint16_t v178413712 = ((uint16_t)bus_space_read_2((HsPtr)v243604032,(unsigned long)v913272,(size_t)v92400196)); | |
uint16_t v100296 = (v178413712 & ICH_FIFOE); | |
if (0 == v100296) { | |
(sptr_t)SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} else { | |
uintptr_t v73700204 = (v265361532 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_dev)))); | |
uintptr_t v135594738 = *((uintptr_t *)(v73700204)); | |
uintptr_t v130564422 = (v135594738 + ((intptr_t)((int32_t)offsetof(struct device, dv_xname)))); | |
fW$__fKern_SubrPrf_printfS1(gc,arena,PROMOTE(c163),v130564422); | |
} | |
uint16_t v100298 = (v178413712 & ICH_BCIS); | |
if (0 == v100298) { | |
SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} else { | |
uintptr_t v151167342 = (v265361532 + ((intptr_t)((int32_t)offsetof(struct auich_softc, pcmi)))); | |
wptr_t x264 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x264)->a1 = v151167342; | |
wptr_t v2164 = x264; | |
{ gc_frame0(gc,1,v2164); | |
fW$__fDev_Pci_Auich_Intr_auichIntrPipe(gc,arena,v923,ICH_PCMI,v2164); | |
} | |
} | |
uintptr_t v107672534 = ((intptr_t)((int32_t)v225040680)); | |
uintptr_t v160512928 = (((intptr_t)((int32_t)ICH_PCMI)) + v107672534); | |
uint16_t v29821316 = (v178413712 & (ICH_BCIS | ICH_FIFOE)); | |
bus_space_write_2((HsPtr)v243604032,(unsigned long)v913272,(size_t)v160512928,(uint16_t)v29821316); | |
wptr_t v100300 = promote(v80721890); | |
v111018028 = ((struct sCJhc_Type_Word_Int*)v100300)->a1; | |
uint32_t v75583676 = (1 + v111018028); | |
wptr_t x265 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Int); | |
((struct sCJhc_Type_Word_Int*)x265)->a1 = v75583676; | |
wptr_t v1042 = x265; | |
sptr_t v209077202 = demote(v1042); | |
uint16_t v100302 = (v163333522 == AC97_CODEC_TYPE_AUDIO); | |
if (0 == v100302) { | |
uintptr_t v204311876 = (ICH_GSTS + v225564912); | |
bus_space_write_4((HsPtr)v243604032,(unsigned long)v913272,(size_t)v204311876,(uint32_t)ICH_MIINT); | |
v223899782 = v209077202; | |
} else { | |
/* 1 */ | |
assert(1 == v100302); | |
uintptr_t v122214796 = (ICH_GSTS + v225564912); | |
bus_space_write_4((HsPtr)v243604032,(unsigned long)v913272,(size_t)v122214796,(uint32_t)ICH_PIINT); | |
v223899782 = v209077202; | |
} | |
} | |
} else { | |
/* 1 */ | |
assert(1 == v100292); | |
uint32_t v100304 = (v73700196 & ICH_PIINT); | |
if (0 == v100304) { | |
uint16_t v28059880; | |
v28059880 = ((uint16_t)RAW_GET_UF(v927)); | |
if (0 == v28059880) { | |
v223899782 = v80721890; | |
} else { | |
uint32_t v267663504; | |
/* 1 */ | |
assert(1 == v28059880); | |
uintptr_t v209100928 = (v265361532 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_sts_reg)))); | |
uint32_t v70889128 = *((uint32_t *)(v209100928)); | |
uintptr_t v211219934 = ((intptr_t)((int32_t)v70889128)); | |
uintptr_t v116463170 = (((intptr_t)((int32_t)ICH_PCMI)) + v211219934); | |
uint16_t v40099008 = ((uint16_t)bus_space_read_2((HsPtr)v243604032,(unsigned long)v913272,(size_t)v116463170)); | |
uint16_t v100308 = (v40099008 & ICH_FIFOE); | |
if (0 == v100308) { | |
(sptr_t)SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} else { | |
uintptr_t v135594742 = (v265361532 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_dev)))); | |
uintptr_t v268164218 = *((uintptr_t *)(v135594742)); | |
uintptr_t v58334294 = (v268164218 + ((intptr_t)((int32_t)offsetof(struct device, dv_xname)))); | |
fW$__fKern_SubrPrf_printfS1(gc,arena,PROMOTE(c163),v58334294); | |
} | |
uint16_t v100310 = (v40099008 & ICH_BCIS); | |
if (0 == v100310) { | |
SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} else { | |
uintptr_t v86428124 = (v265361532 + ((intptr_t)((int32_t)offsetof(struct auich_softc, pcmi)))); | |
wptr_t x266 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x266)->a1 = v86428124; | |
wptr_t v1063 = x266; | |
{ gc_frame0(gc,1,v1063); | |
fW$__fDev_Pci_Auich_Intr_auichIntrPipe(gc,arena,v923,ICH_PCMI,v1063); | |
} | |
} | |
uintptr_t v264841572 = ((intptr_t)((int32_t)v70889128)); | |
uintptr_t v133026460 = (((intptr_t)((int32_t)ICH_PCMI)) + v264841572); | |
uint16_t v17089572 = (v40099008 & (ICH_BCIS | ICH_FIFOE)); | |
bus_space_write_2((HsPtr)v243604032,(unsigned long)v913272,(size_t)v133026460,(uint16_t)v17089572); | |
wptr_t v100312 = promote(v80721890); | |
v267663504 = ((struct sCJhc_Type_Word_Int*)v100312)->a1; | |
uint32_t v158838900 = (1 + v267663504); | |
wptr_t x267 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Int); | |
((struct sCJhc_Type_Word_Int*)x267)->a1 = v158838900; | |
wptr_t v1073 = x267; | |
sptr_t v69432560 = demote(v1073); | |
uint16_t v100314 = (v163333522 == AC97_CODEC_TYPE_AUDIO); | |
if (0 == v100314) { | |
uintptr_t v85954378 = (ICH_GSTS + v225564912); | |
bus_space_write_4((HsPtr)v243604032,(unsigned long)v913272,(size_t)v85954378,(uint32_t)ICH_MIINT); | |
v223899782 = v69432560; | |
} else { | |
/* 1 */ | |
assert(1 == v100314); | |
uintptr_t v166857226 = (ICH_GSTS + v225564912); | |
bus_space_write_4((HsPtr)v243604032,(unsigned long)v913272,(size_t)v166857226,(uint32_t)ICH_PIINT); | |
v223899782 = v69432560; | |
} | |
} | |
} else { | |
uint32_t v105734068; | |
uintptr_t v174020704 = (v265361532 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_sts_reg)))); | |
uint32_t v218789760 = *((uint32_t *)(v174020704)); | |
uintptr_t v87539960 = ((intptr_t)((int32_t)v218789760)); | |
uintptr_t v151125778 = (((intptr_t)((int32_t)ICH_PCMI)) + v87539960); | |
uint16_t v82716436 = ((uint16_t)bus_space_read_2((HsPtr)v243604032,(unsigned long)v913272,(size_t)v151125778)); | |
uint16_t v100316 = (v82716436 & ICH_FIFOE); | |
if (0 == v100316) { | |
(sptr_t)SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} else { | |
uintptr_t v22769946 = (v265361532 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_dev)))); | |
uintptr_t v123491438 = *((uintptr_t *)(v22769946)); | |
uintptr_t v45052592 = (v123491438 + ((intptr_t)((int32_t)offsetof(struct device, dv_xname)))); | |
fW$__fKern_SubrPrf_printfS1(gc,arena,PROMOTE(c163),v45052592); | |
} | |
uint16_t v100318 = (v82716436 & ICH_BCIS); | |
if (0 == v100318) { | |
SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} else { | |
uintptr_t v35624306 = (v265361532 + ((intptr_t)((int32_t)offsetof(struct auich_softc, pcmi)))); | |
wptr_t x268 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x268)->a1 = v35624306; | |
wptr_t v2299 = x268; | |
{ gc_frame0(gc,1,v2299); | |
fW$__fDev_Pci_Auich_Intr_auichIntrPipe(gc,arena,v923,ICH_PCMI,v2299); | |
} | |
} | |
uintptr_t v115557552 = ((intptr_t)((int32_t)v218789760)); | |
uintptr_t v126148286 = (((intptr_t)((int32_t)ICH_PCMI)) + v115557552); | |
uint16_t v127463880 = (v82716436 & (ICH_BCIS | ICH_FIFOE)); | |
bus_space_write_2((HsPtr)v243604032,(unsigned long)v913272,(size_t)v126148286,(uint16_t)v127463880); | |
wptr_t v100320 = promote(v80721890); | |
v105734068 = ((struct sCJhc_Type_Word_Int*)v100320)->a1; | |
uint32_t v44119796 = (1 + v105734068); | |
wptr_t x269 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Int); | |
((struct sCJhc_Type_Word_Int*)x269)->a1 = v44119796; | |
wptr_t v2324 = x269; | |
sptr_t v111424374 = demote(v2324); | |
uint16_t v100322 = (v163333522 == AC97_CODEC_TYPE_AUDIO); | |
if (0 == v100322) { | |
uintptr_t v224371662 = (ICH_GSTS + v225564912); | |
bus_space_write_4((HsPtr)v243604032,(unsigned long)v913272,(size_t)v224371662,(uint32_t)ICH_MIINT); | |
v223899782 = v111424374; | |
} else { | |
/* 1 */ | |
assert(1 == v100322); | |
uintptr_t v162777572 = (ICH_GSTS + v225564912); | |
bus_space_write_4((HsPtr)v243604032,(unsigned long)v913272,(size_t)v162777572,(uint32_t)ICH_PIINT); | |
v223899782 = v111424374; | |
} | |
} | |
} | |
uint16_t v100324 = (v163333522 == AC97_CODEC_TYPE_AUDIO); | |
if (0 == v100324) { | |
v105289582 = v223899782; | |
} else { | |
/* 1 */ | |
assert(1 == v100324); | |
uint32_t v100326 = (v73700196 & ICH_MINT); | |
if (0 == v100326) { | |
v105289582 = v223899782; | |
} else { | |
uintptr_t v50432190 = (v265361532 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_sts_reg)))); | |
uint32_t v242443218 = *((uint32_t *)(v50432190)); | |
uintptr_t v195552932 = ((intptr_t)((int32_t)v242443218)); | |
uintptr_t v245643264 = (ICH_MICI + v195552932); | |
uint16_t v138591036 = ((uint16_t)bus_space_read_2((HsPtr)v243604032,(unsigned long)v913272,(size_t)v245643264)); | |
uint16_t v100328 = (v138591036 & ICH_FIFOE); | |
{ uint32_t v104020522; | |
gc_frame0(gc,1,v223899782); | |
if (0 == v100328) { | |
(sptr_t)SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} else { | |
uintptr_t v53587380 = (v265361532 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_dev)))); | |
uintptr_t v251295708 = *((uintptr_t *)(v53587380)); | |
uintptr_t v111142934 = (v251295708 + ((intptr_t)((int32_t)offsetof(struct device, dv_xname)))); | |
fW$__fKern_SubrPrf_printfS1(gc,arena,PROMOTE(c163),v111142934); | |
} | |
uint16_t v100330 = (v138591036 & ICH_BCIS); | |
if (0 == v100330) { | |
SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} else { | |
uintptr_t v100210678 = (v265361532 + ((intptr_t)((int32_t)offsetof(struct auich_softc, mici)))); | |
wptr_t x270 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x270)->a1 = v100210678; | |
wptr_t v1120 = x270; | |
{ gc_frame0(gc,1,v1120); | |
fW$__fDev_Pci_Auich_Intr_auichIntrPipe(gc,arena,v923,(uint32_t)ICH_MICI,v1120); | |
} | |
} | |
uintptr_t v215350918 = ((intptr_t)((int32_t)v242443218)); | |
uintptr_t v48071578 = (ICH_MICI + v215350918); | |
uint16_t v53820784 = (v138591036 & (ICH_BCIS | ICH_FIFOE)); | |
bus_space_write_2((HsPtr)v243604032,(unsigned long)v913272,(size_t)v48071578,(uint16_t)v53820784); | |
uintptr_t v140606610 = (ICH_GSTS + v225564912); | |
bus_space_write_4((HsPtr)v243604032,(unsigned long)v913272,(size_t)v140606610,(uint32_t)ICH_MINT); | |
wptr_t v100332 = promote(v223899782); | |
v104020522 = ((struct sCJhc_Type_Word_Int*)v100332)->a1; | |
uint32_t v141005604 = (1 + v104020522); | |
wptr_t x271 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Int); | |
((struct sCJhc_Type_Word_Int*)x271)->a1 = v141005604; | |
wptr_t v1131 = x271; | |
v105289582 = demote(v1131); | |
} | |
} | |
} | |
mutex_spin_exit((HsPtr)v94356368); | |
v188122480 = v105289582; | |
} | |
} | |
} | |
wptr_t v100334 = promote(v188122480); | |
v1144 = ((struct sCJhc_Type_Word_Int*)v100334)->a1; | |
return v1144; | |
} | |
static wptr_t A_STD A_MALLOC | |
fFE$__CCall_auichIntr$d2(gc_t gc,arena_t arena,uint32_t v82174980,uint32_t v212002258) | |
{ | |
uint16_t v100340 = (v82174980 == AC97_CODEC_TYPE_MODEM); | |
if (0 == v100340) { | |
return RAW_SET_UF(0); | |
} else { | |
/* 1 */ | |
assert(1 == v100340); | |
uint32_t v100342 = (v212002258 & ICH_MOINT); | |
if (0 == v100342) { | |
return RAW_SET_UF(0); | |
} else { | |
return RAW_SET_UF(1); | |
} | |
} | |
} | |
static wptr_t A_STD A_MALLOC | |
fFE$__CCall_auichIntr$d3(gc_t gc,arena_t arena,uint32_t v196970360,uint32_t v76303190) | |
{ | |
uint16_t v100336 = (v196970360 == AC97_CODEC_TYPE_MODEM); | |
if (0 == v100336) { | |
return RAW_SET_UF(0); | |
} else { | |
/* 1 */ | |
assert(1 == v100336); | |
uint32_t v100338 = (v76303190 & ICH_MIINT); | |
if (0 == v100338) { | |
return RAW_SET_UF(0); | |
} else { | |
return RAW_SET_UF(1); | |
} | |
} | |
} | |
static void A_STD | |
fFE$__CCall_auichIntrPipe(gc_t gc,arena_t arena,uintptr_t v253236988,uint32_t v76769904,uintptr_t v205680836) | |
{ | |
wptr_t x254 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x254)->a1 = v205680836; | |
wptr_t v909 = x254; | |
{ gc_frame0(gc,1,v909); | |
wptr_t x255 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x255)->a1 = v253236988; | |
wptr_t v911 = x255; | |
{ gc_frame0(gc,1,v911); | |
fW$__fDev_Pci_Auich_Intr_auichIntrPipe(gc,arena,v911,v76769904,v909); | |
} | |
return; | |
} | |
} | |
static uintptr_t A_STD | |
fFE$__CCall_auichMappage(gc_t gc,arena_t arena,uintptr_t v2419,uintptr_t v384,uint64_t v386,uint32_t v388) | |
{ | |
wptr_t v1869; | |
uintptr_t v396; | |
uint16_t v98508476 = (((int64_t)0) > ((int64_t)v386)); | |
if (0 == v98508476) { | |
uintptr_t v242443210 = (v2419 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_dmas)))); | |
uintptr_t v10461224 = *((uintptr_t *)(v242443210)); | |
wptr_t x333 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x333)->a1 = v10461224; | |
wptr_t v2045 = x333; | |
{ wptr_t v1749431337; | |
gc_frame0(gc,1,v2045); | |
{ gc_frame0(gc,1,v2045); | |
v1749431337 = v2045; | |
goto fDev_Pci_Auich_201__while__334; | |
} | |
goto done334; | |
fDev_Pci_Auich_201__while__334:; | |
{ uintptr_t v74909134; | |
v74909134 = ((struct sCJhc_Type_Ptr_Ptr*)v1749431337)->a1; | |
switch (v74909134) { | |
case 0: | |
{ v1869 = PROMOTE(c63); | |
} | |
break; | |
default: | |
{ uintptr_t v52608294; | |
v52608294 = v74909134; | |
uintptr_t v154420598 = (v74909134 + ((intptr_t)((int32_t)offsetof(struct auich_dma, addr)))); | |
uintptr_t v73786432 = *((uintptr_t *)(v154420598)); | |
uint16_t v100002 = (v73786432 != v384); | |
if (0 == v100002) { | |
if (0 == v52608294) { | |
v1869 = PROMOTE(c63); | |
} else { | |
uintptr_t v172329330 = (v2419 + ((intptr_t)((int32_t)offsetof(struct auich_softc, dmat)))); | |
uintptr_t v990232 = *((uintptr_t *)(v172329330)); | |
uintptr_t v132679388 = (v74909134 + ((intptr_t)((int32_t)offsetof(struct auich_dma, segs)))); | |
uintptr_t v86998726 = (v74909134 + ((intptr_t)((int32_t)offsetof(struct auich_dma, nsegs)))); | |
uint32_t v155049470 = *((uint32_t *)(v86998726)); | |
uintptr_t v10240734 = ((uintptr_t)bus_dmamem_mmap((HsPtr)v990232,(HsPtr)v132679388,(int)v155049470,(int64_t)v386,(int)v388,(int)BUS_DMA_WAITOK)); | |
wptr_t x335 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_WordPtr); | |
((struct sCJhc_Type_Word_WordPtr*)x335)->a1 = v10240734; | |
v1869 = x335; | |
} | |
} else { | |
/* 1 */ | |
assert(1 == v100002); | |
uintptr_t v237284572 = (v74909134 + ((intptr_t)((int32_t)offsetof(struct auich_dma, next)))); | |
uintptr_t v24133718 = *((uintptr_t *)(v237284572)); | |
wptr_t x336 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x336)->a1 = v24133718; | |
wptr_t v2057 = x336; | |
{ gc_frame0(gc,1,v2057); | |
v1749431337 = v2057; | |
goto fDev_Pci_Auich_201__while__334; | |
} | |
} | |
} | |
break; | |
} | |
} | |
} | |
} else { | |
/* 1 */ | |
assert(1 == v98508476); | |
v1869 = PROMOTE(c63); | |
} | |
done334:; | |
v396 = ((struct sCJhc_Type_Word_WordPtr*)v1869)->a1; | |
return v396; | |
} | |
static uint32_t A_STD | |
fFE$__CCall_auichOpen(gc_t gc,arena_t arena,uintptr_t v37441120,uint32_t u2) | |
{ | |
uintptr_t v49809206 = (v37441120 + ((intptr_t)((int32_t)offsetof(struct auich_softc, codec_if)))); | |
uintptr_t v14505216 = *((uintptr_t *)(v49809206)); | |
uintptr_t v166085086 = (v14505216 + ((intptr_t)((int32_t)offsetof(struct ac97_codec_if, vtbl)))); | |
uintptr_t v119996350 = *((uintptr_t *)(v166085086)); | |
uintptr_t v70303308 = (v119996350 + ((intptr_t)((int32_t)offsetof(struct ac97_codec_if_vtbl, lock)))); | |
uintptr_t v53822940 = *((uintptr_t *)(v70303308)); | |
uintptr_t v18683940 = (v37441120 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_intr_lock)))); | |
mutex_spin_exit((HsPtr)v18683940); | |
(void)((void (*)(HsPtr))v53822940)((HsPtr)v14505216); | |
mutex_spin_enter((HsPtr)v18683940); | |
return 0; | |
} | |
static uint32_t A_STD | |
fFE$__CCall_auichQueryDevinfo(gc_t gc,arena_t arena,uintptr_t v142766502,uintptr_t v304) | |
{ | |
uintptr_t v48578442 = (v142766502 + ((intptr_t)((int32_t)offsetof(struct auich_softc, codec_if)))); | |
uintptr_t v202671868 = *((uintptr_t *)(v48578442)); | |
uintptr_t v220263212 = (v202671868 + ((intptr_t)((int32_t)offsetof(struct ac97_codec_if, vtbl)))); | |
uintptr_t v31637638 = *((uintptr_t *)(v220263212)); | |
uintptr_t v36596534 = (v31637638 + ((intptr_t)((int32_t)offsetof(struct ac97_codec_if_vtbl, query_devinfo)))); | |
uintptr_t v80926652 = *((uintptr_t *)(v36596534)); | |
return (uint32_t)((int (*)(HsPtr,HsPtr))v80926652)((HsPtr)v202671868,(HsPtr)v304); | |
} | |
static uint32_t A_STD | |
fFE$__CCall_auichQueryEncoding(gc_t gc,arena_t arena,uintptr_t v172,uintptr_t v371) | |
{ | |
uintptr_t v16425686 = (v172 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_spdif)))); | |
uint32_t v3404 = ((uint32_t)hs_peekbool((HsBool*)v16425686)); | |
if (0 == v3404) { | |
uintptr_t v189721676 = (v172 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_encodings)))); | |
uintptr_t v116469604 = *((uintptr_t *)(v189721676)); | |
return (uint32_t)auconv_query_encoding((HsPtr)v116469604,(HsPtr)v371); | |
} else { | |
uintptr_t v122224656 = (v172 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_spdif_encodings)))); | |
uintptr_t v196335304 = *((uintptr_t *)(v122224656)); | |
return (uint32_t)auconv_query_encoding((HsPtr)v196335304,(HsPtr)v371); | |
} | |
} | |
static uint32_t A_STD | |
fFE$__CCall_auichRoundBlocksize(gc_t gc,arena_t arena,uintptr_t u1,uint32_t v222,uint32_t u3,uintptr_t u4) | |
{ | |
return v222 & (~63); | |
} | |
static uintptr_t A_STD | |
fFE$__CCall_auichRoundBuffersize(gc_t gc,arena_t arena,uintptr_t u1,uint32_t u2,uintptr_t v40099010) | |
{ | |
uint16_t v100548 = (((intptr_t)v40099010) > ((intptr_t)(((uintptr_t)((intmax_t)((intptr_t)ICH_DMALIST_MAX))) * ((uintptr_t)((intmax_t)((intptr_t)ICH_DMASEG_MAX)))))); | |
if (0 == v100548) { | |
return v40099010; | |
} else { | |
/* 1 */ | |
assert(1 == v100548); | |
return ((uintptr_t)((intmax_t)((intptr_t)ICH_DMALIST_MAX))) * ((uintptr_t)((intmax_t)((intptr_t)ICH_DMASEG_MAX))); | |
} | |
} | |
static uint32_t A_STD | |
fFE$__CCall_auichSetParams(gc_t gc,arena_t arena,uintptr_t v608179,uint32_t v3512,uint32_t u3,uintptr_t v92533509,uintptr_t v162615234,uintptr_t v209403605,uintptr_t v1994) | |
{ | |
wptr_t v1472; | |
wptr_t v1478; | |
v1478 = fW$__fDev_Pci_Auich_22__f(gc,arena,AUMODE_RECORD,v1994,v3512,v608179,v92533509,v162615234,v209403605); | |
if (CJhc_Type_Basic_Left == FETCH_TAG(v1478)) { | |
sptr_t v237992582; | |
v237992582 = ((struct sCJhc_Type_Basic_Left*)v1478)->a1; | |
{ gc_frame0(gc,1,v237992582); | |
wptr_t x319 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Left); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Left*)x319,CJhc_Type_Basic_Left); | |
((struct sCJhc_Type_Basic_Left*)x319)->a1 = v237992582; | |
v1472 = x319; | |
} | |
} else { | |
/* ("CJhc.Type.Basic.Right" ni0) */ | |
v1472 = fW$__fDev_Pci_Auich_22__f(gc,arena,AUMODE_PLAY,v1994,v3512,v608179,v92533509,v162615234,v209403605); | |
} | |
if (CJhc_Type_Basic_Left == FETCH_TAG(v1472)) { | |
sptr_t v156167040; | |
uint32_t v133685182; | |
v156167040 = ((struct sCJhc_Type_Basic_Left*)v1472)->a1; | |
wptr_t v100012 = eval(gc,arena,v156167040); | |
v133685182 = ((struct sCJhc_Type_Word_Int*)v100012)->a1; | |
return v133685182; | |
} else { | |
/* ("CJhc.Type.Basic.Right" ni0) */ | |
return 0; | |
} | |
} | |
static sptr_t A_STD A_MALLOC | |
fFE$__CCall_auichSetParams$d10(gc_t gc,arena_t arena,uintptr_t v25494360,sptr_t v142763144,uintptr_t v95073926,sptr_t v1703425063) | |
{ | |
{ gc_frame0(gc,1,v142763144); | |
wptr_t v100164 = eval(gc,arena,v1703425063); | |
{ uint32_t v160064802; | |
uintptr_t v16254244; | |
gc_frame0(gc,1,v100164); | |
wptr_t v100166 = eval(gc,arena,v142763144); | |
v16254244 = ((struct sCJhc_Type_Ptr_Ptr*)v100164)->a1; | |
v160064802 = ((struct sCJhc_Type_Word_Word*)v100166)->a1; | |
*((int *)(v16254244)) = v160064802; | |
uint32_t v264446468 = ((uint32_t)((int (*)(HsPtr,int,unsigned*))v25494360)((HsPtr)v95073926,(int)AC97_REG_PCM_LFE_DAC_RATE,(unsigned*)v16254244)); | |
wptr_t x309 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Int); | |
((struct sCJhc_Type_Word_Int*)x309)->a1 = v264446468; | |
wptr_t v2892 = x309; | |
return demote(v2892); | |
} | |
} | |
} | |
static wptr_t A_STD A_MALLOC | |
fFE$__CCall_auichSetParams$d11(gc_t gc,arena_t arena,sptr_t v47581286) | |
{ | |
uintptr_t v56167746; | |
wptr_t v100162 = eval(gc,arena,v47581286); | |
v56167746 = ((struct sCJhc_Type_Ptr_Ptr*)v100162)->a1; | |
uintptr_t v94426894 = (v56167746 + ((intptr_t)((int32_t)offsetof(struct stream_filter_list, filters)))); | |
uintptr_t v105621782 = (v94426894 + ((intptr_t)((int32_t)offsetof(struct stream_filter_req, param)))); | |
wptr_t x310 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x310)->a1 = v105621782; | |
return x310; | |
} | |
static wptr_t A_STD A_MALLOC | |
fFE$__CCall_auichSetParams$d12(gc_t gc,arena_t arena,wptr_t v50432184) | |
{ | |
uintptr_t v160021406; | |
v160021406 = ((struct sCJhc_Type_Word_WordPtr*)v50432184)->a1; | |
uintmax_t v183082884 = ((uintmax_t)v160021406); | |
uint32_t v212933208 = ((uint32_t)v183082884); | |
wptr_t x311 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Word); | |
((struct sCJhc_Type_Word_Word*)x311)->a1 = v212933208; | |
return x311; | |
} | |
static sptr_t A_STD A_MALLOC | |
fFE$__CCall_auichSetParams$d13(gc_t gc,arena_t arena,sptr_t v9648210,uintptr_t v115557554,uintptr_t v267751050,sptr_t v220415146) | |
{ | |
{ gc_frame0(gc,1,v9648210); | |
wptr_t v100156 = eval(gc,arena,v220415146); | |
{ uintptr_t v177169976; | |
uint32_t v68279152; | |
gc_frame0(gc,1,v100156); | |
wptr_t v100158 = eval(gc,arena,v9648210); | |
v177169976 = ((struct sCJhc_Type_Ptr_Ptr*)v100156)->a1; | |
v68279152 = ((struct sCJhc_Type_Word_Word*)v100158)->a1; | |
*((int *)(v177169976)) = v68279152; | |
uint32_t v71383252 = ((uint32_t)((int (*)(HsPtr,int,unsigned*))v115557554)((HsPtr)v267751050,(int)AC97_REG_PCM_LR_ADC_RATE,(unsigned*)v177169976)); | |
wptr_t x312 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Int); | |
((struct sCJhc_Type_Word_Int*)x312)->a1 = v71383252; | |
wptr_t v1447 = x312; | |
return demote(v1447); | |
} | |
} | |
} | |
static wptr_t A_STD A_MALLOC | |
fFE$__CCall_auichSetParams$d14(gc_t gc,arena_t arena,wptr_t v194492352) | |
{ | |
uintptr_t v32158694; | |
v32158694 = ((struct sCJhc_Type_Word_WordPtr*)v194492352)->a1; | |
uintmax_t v238502462 = ((uintmax_t)v32158694); | |
uint32_t v197016946 = ((uint32_t)v238502462); | |
wptr_t x313 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Word); | |
((struct sCJhc_Type_Word_Word*)x313)->a1 = v197016946; | |
return x313; | |
} | |
static sptr_t A_STD A_MALLOC | |
fFE$__CCall_auichSetParams$d15(gc_t gc,arena_t arena,uintptr_t v240576404,sptr_t v164498534,uintptr_t v117603324,sptr_t v143140870) | |
{ | |
{ gc_frame0(gc,1,v164498534); | |
wptr_t v100150 = eval(gc,arena,v143140870); | |
{ uintptr_t v120254444; | |
uint32_t v28343196; | |
gc_frame0(gc,1,v100150); | |
wptr_t v100152 = eval(gc,arena,v164498534); | |
v120254444 = ((struct sCJhc_Type_Ptr_Ptr*)v100150)->a1; | |
v28343196 = ((struct sCJhc_Type_Word_Word*)v100152)->a1; | |
*((int *)(v120254444)) = v28343196; | |
uint32_t v90955822 = ((uint32_t)((int (*)(HsPtr,int,unsigned*))v240576404)((HsPtr)v117603324,(int)AC97_REG_PCM_FRONT_DAC_RATE,(unsigned*)v120254444)); | |
wptr_t x314 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Int); | |
((struct sCJhc_Type_Word_Int*)x314)->a1 = v90955822; | |
wptr_t v1465 = x314; | |
return demote(v1465); | |
} | |
} | |
} | |
static wptr_t A_STD A_MALLOC | |
fFE$__CCall_auichSetParams$d16(gc_t gc,arena_t arena,wptr_t v115766306) | |
{ | |
uintptr_t v73437330; | |
v73437330 = ((struct sCJhc_Type_Word_WordPtr*)v115766306)->a1; | |
uintmax_t v130564414 = ((uintmax_t)v73437330); | |
uint32_t v261514476 = ((uint32_t)v130564414); | |
wptr_t x315 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Word); | |
((struct sCJhc_Type_Word_Word*)x315)->a1 = v261514476; | |
return x315; | |
} | |
static sptr_t A_STD A_MALLOC | |
fFE$__CCall_auichSetParams$d17(gc_t gc,arena_t arena,uintptr_t v197085302,sptr_t v222424780,uintptr_t v146793350,sptr_t v71727034) | |
{ | |
{ gc_frame0(gc,1,v222424780); | |
wptr_t v100144 = eval(gc,arena,v71727034); | |
{ uint32_t v248834780; | |
uintptr_t v56146994; | |
gc_frame0(gc,1,v100144); | |
wptr_t v100146 = eval(gc,arena,v222424780); | |
v56146994 = ((struct sCJhc_Type_Ptr_Ptr*)v100144)->a1; | |
v248834780 = ((struct sCJhc_Type_Word_Word*)v100146)->a1; | |
*((int *)(v56146994)) = v248834780; | |
uint32_t v52608292 = ((uint32_t)((int (*)(HsPtr,int,unsigned*))v197085302)((HsPtr)v146793350,(int)AC97_REG_PCM_SURR_DAC_RATE,(unsigned*)v56146994)); | |
wptr_t x316 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Int); | |
((struct sCJhc_Type_Word_Int*)x316)->a1 = v52608292; | |
wptr_t v1483 = x316; | |
return demote(v1483); | |
} | |
} | |
} | |
static wptr_t A_STD A_MALLOC | |
fFE$__CCall_auichSetParams$d18(gc_t gc,arena_t arena,wptr_t v258411588) | |
{ | |
uintptr_t v95584984; | |
v95584984 = ((struct sCJhc_Type_Word_WordPtr*)v258411588)->a1; | |
uintmax_t v169909356 = ((uintmax_t)v95584984); | |
uint32_t v40313386 = ((uint32_t)v169909356); | |
wptr_t x317 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Word); | |
((struct sCJhc_Type_Word_Word*)x317)->a1 = v40313386; | |
return x317; | |
} | |
static sptr_t A_STD A_MALLOC | |
fFE$__CCall_auichSetParams$d19(gc_t gc,arena_t arena,sptr_t v11885918,uintptr_t v87539958,uintptr_t v59033970,sptr_t v122815192) | |
{ | |
{ gc_frame0(gc,1,v11885918); | |
wptr_t v100138 = eval(gc,arena,v122815192); | |
{ uintptr_t v7088584; | |
uint32_t v78256146; | |
gc_frame0(gc,1,v100138); | |
wptr_t v100140 = eval(gc,arena,v11885918); | |
v7088584 = ((struct sCJhc_Type_Ptr_Ptr*)v100138)->a1; | |
v78256146 = ((struct sCJhc_Type_Word_Word*)v100140)->a1; | |
*((int *)(v7088584)) = v78256146; | |
uint32_t v257895264 = ((uint32_t)((int (*)(HsPtr,int,unsigned*))v87539958)((HsPtr)v59033970,(int)AC97_REG_PCM_LFE_DAC_RATE,(unsigned*)v7088584)); | |
wptr_t x318 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Int); | |
((struct sCJhc_Type_Word_Int*)x318)->a1 = v257895264; | |
wptr_t v1501 = x318; | |
return demote(v1501); | |
} | |
} | |
} | |
static wptr_t A_STD A_MALLOC | |
fFE$__CCall_auichSetParams$d2(gc_t gc,arena_t arena,sptr_t v105986482) | |
{ | |
uintptr_t v265053594; | |
wptr_t v100188 = eval(gc,arena,v105986482); | |
v265053594 = ((struct sCJhc_Type_Ptr_Ptr*)v100188)->a1; | |
uintptr_t v220973822 = (v265053594 + ((intptr_t)((int32_t)offsetof(struct stream_filter_list, filters)))); | |
uintptr_t v181794762 = (v220973822 + ((intptr_t)((int32_t)offsetof(struct stream_filter_req, param)))); | |
wptr_t x301 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x301)->a1 = v181794762; | |
return x301; | |
} | |
static wptr_t A_STD A_MALLOC | |
fFE$__CCall_auichSetParams$d3(gc_t gc,arena_t arena,wptr_t v1705915439) | |
{ | |
uintptr_t v44000688; | |
v44000688 = ((struct sCJhc_Type_Word_WordPtr*)v1705915439)->a1; | |
uintmax_t v108955772 = ((uintmax_t)v44000688); | |
uint32_t v137643152 = ((uint32_t)v108955772); | |
wptr_t x302 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Word); | |
((struct sCJhc_Type_Word_Word*)x302)->a1 = v137643152; | |
return x302; | |
} | |
static sptr_t A_STD A_MALLOC | |
fFE$__CCall_auichSetParams$d4(gc_t gc,arena_t arena,sptr_t v17090830,uintptr_t v99988808,uintptr_t v172338608,sptr_t v1695953959) | |
{ | |
{ gc_frame0(gc,1,v17090830); | |
wptr_t v100182 = eval(gc,arena,v1695953959); | |
{ uint32_t v174020698; | |
uintptr_t v214666120; | |
gc_frame0(gc,1,v100182); | |
wptr_t v100184 = eval(gc,arena,v17090830); | |
v214666120 = ((struct sCJhc_Type_Ptr_Ptr*)v100182)->a1; | |
v174020698 = ((struct sCJhc_Type_Word_Word*)v100184)->a1; | |
*((int *)(v214666120)) = v174020698; | |
uint32_t v60694798 = ((uint32_t)((int (*)(HsPtr,int,unsigned*))v99988808)((HsPtr)v172338608,(int)AC97_REG_PCM_LR_ADC_RATE,(unsigned*)v214666120)); | |
wptr_t x303 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Int); | |
((struct sCJhc_Type_Word_Int*)x303)->a1 = v60694798; | |
wptr_t v1369 = x303; | |
return demote(v1369); | |
} | |
} | |
} | |
static wptr_t A_STD A_MALLOC | |
fFE$__CCall_auichSetParams$d5(gc_t gc,arena_t arena,wptr_t v134427062) | |
{ | |
uintptr_t v204090794; | |
v204090794 = ((struct sCJhc_Type_Word_WordPtr*)v134427062)->a1; | |
uintmax_t v80256474 = ((uintmax_t)v204090794); | |
uint32_t v266112372 = ((uint32_t)v80256474); | |
wptr_t x304 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Word); | |
((struct sCJhc_Type_Word_Word*)x304)->a1 = v266112372; | |
return x304; | |
} | |
static sptr_t A_STD A_MALLOC | |
fFE$__CCall_auichSetParams$d6(gc_t gc,arena_t arena,sptr_t v3576054,uintptr_t v268164216,uintptr_t v53399312,sptr_t v1698444327) | |
{ | |
{ gc_frame0(gc,1,v3576054); | |
wptr_t v100176 = eval(gc,arena,v1698444327); | |
{ uintptr_t v244853750; | |
uint32_t v67443750; | |
gc_frame0(gc,1,v100176); | |
wptr_t v100178 = eval(gc,arena,v3576054); | |
v244853750 = ((struct sCJhc_Type_Ptr_Ptr*)v100176)->a1; | |
v67443750 = ((struct sCJhc_Type_Word_Word*)v100178)->a1; | |
*((int *)(v244853750)) = v67443750; | |
uint32_t v170217792 = ((uint32_t)((int (*)(HsPtr,int,unsigned*))v268164216)((HsPtr)v53399312,(int)AC97_REG_PCM_FRONT_DAC_RATE,(unsigned*)v244853750)); | |
wptr_t x305 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Int); | |
((struct sCJhc_Type_Word_Int*)x305)->a1 = v170217792; | |
wptr_t v1387 = x305; | |
return demote(v1387); | |
} | |
} | |
} | |
static wptr_t A_STD A_MALLOC | |
fFE$__CCall_auichSetParams$d7(gc_t gc,arena_t arena,wptr_t v186011614) | |
{ | |
uintptr_t v67585042; | |
v67585042 = ((struct sCJhc_Type_Word_WordPtr*)v186011614)->a1; | |
uintmax_t v181754700 = ((uintmax_t)v67585042); | |
uint32_t v118067940 = ((uint32_t)v181754700); | |
wptr_t x306 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Word); | |
((struct sCJhc_Type_Word_Word*)x306)->a1 = v118067940; | |
return x306; | |
} | |
static sptr_t A_STD A_MALLOC | |
fFE$__CCall_auichSetParams$d8(gc_t gc,arena_t arena,uintptr_t v172537484,sptr_t v120080072,uintptr_t v58231586,sptr_t v1700934695) | |
{ | |
{ gc_frame0(gc,1,v120080072); | |
wptr_t v100170 = eval(gc,arena,v1700934695); | |
{ uint32_t v111018026; | |
uintptr_t v251465076; | |
gc_frame0(gc,1,v100170); | |
wptr_t v100172 = eval(gc,arena,v120080072); | |
v251465076 = ((struct sCJhc_Type_Ptr_Ptr*)v100170)->a1; | |
v111018026 = ((struct sCJhc_Type_Word_Word*)v100172)->a1; | |
*((int *)(v251465076)) = v111018026; | |
uint32_t v98167660 = ((uint32_t)((int (*)(HsPtr,int,unsigned*))v172537484)((HsPtr)v58231586,(int)AC97_REG_PCM_SURR_DAC_RATE,(unsigned*)v251465076)); | |
wptr_t x307 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Int); | |
((struct sCJhc_Type_Word_Int*)x307)->a1 = v98167660; | |
wptr_t v2860 = x307; | |
return demote(v2860); | |
} | |
} | |
} | |
static wptr_t A_STD A_MALLOC | |
fFE$__CCall_auichSetParams$d9(gc_t gc,arena_t arena,wptr_t v264842138) | |
{ | |
uintptr_t v170248832; | |
v170248832 = ((struct sCJhc_Type_Word_WordPtr*)v264842138)->a1; | |
uintmax_t v127754106 = ((uintmax_t)v170248832); | |
uint32_t v225267858 = ((uint32_t)v127754106); | |
wptr_t x308 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Word); | |
((struct sCJhc_Type_Word_Word*)x308)->a1 = v225267858; | |
return x308; | |
} | |
static uint32_t A_STD | |
fFE$__CCall_auichSetPort(gc_t gc,arena_t arena,uintptr_t v278,uintptr_t v280) | |
{ | |
uintptr_t v218150378 = (v278 + ((intptr_t)((int32_t)offsetof(struct auich_softc, codec_if)))); | |
uintptr_t v267350490 = *((uintptr_t *)(v218150378)); | |
uintptr_t v68216838 = (v267350490 + ((intptr_t)((int32_t)offsetof(struct ac97_codec_if, vtbl)))); | |
uintptr_t v196551380 = *((uintptr_t *)(v68216838)); | |
uintptr_t v2171400 = (v196551380 + ((intptr_t)((int32_t)offsetof(struct ac97_codec_if_vtbl, mixer_set_port)))); | |
uintptr_t v47807380 = *((uintptr_t *)(v2171400)); | |
return (uint32_t)((int (*)(HsPtr,HsPtr))v47807380)((HsPtr)v267350490,(HsPtr)v280); | |
} | |
static uint32_t A_STD | |
fFE$__CCall_auichTriggerOutput(gc_t gc,arena_t arena,uintptr_t v432,uintptr_t v2206,uintptr_t v85806478,uint32_t v2212,uintptr_t v151167346,uintptr_t v2218,uintptr_t u7) | |
{ | |
wptr_t v1781; | |
uintptr_t v242443214; | |
uint32_t v452; | |
uintptr_t v80626762 = (v432 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_dmas)))); | |
uintptr_t v200654378 = *((uintptr_t *)(v80626762)); | |
v242443214 = v200654378; | |
fW$__fDev_Pci_Auich_247__while__196:; | |
{ sptr_t v1839; | |
switch (v242443214) { | |
case 0: | |
{ fW$__fKern_SubrPrf_printfP1(gc,arena,PROMOTE(c61),v2206); | |
v1839 = c2; | |
} | |
break; | |
default: | |
{ uintptr_t v226176100; | |
v226176100 = v242443214; | |
uintptr_t v44725402 = (v242443214 + ((intptr_t)((int32_t)offsetof(struct auich_dma, addr)))); | |
uintptr_t v29375128 = *((uintptr_t *)(v44725402)); | |
uint16_t v100450 = (v29375128 != v2206); | |
if (0 == v100450) { | |
if (0 == v226176100) { | |
fW$__fKern_SubrPrf_printfP1(gc,arena,PROMOTE(c61),v2206); | |
v1839 = c2; | |
} else { | |
uint32_t v103925136 = (v85806478 - v2206); | |
uintptr_t v245643266 = (v432 + ((intptr_t)((int32_t)offsetof(struct auich_softc, pcmo)))); | |
uintptr_t v198205318 = (v245643266 + ((intptr_t)((int32_t)offsetof(struct auich_ring, intr)))); | |
*((uintptr_t *)(v198205318)) = v151167346; | |
uintptr_t v258411592 = (v245643266 + ((intptr_t)((int32_t)offsetof(struct auich_ring, arg)))); | |
*((uintptr_t *)(v258411592)) = v2218; | |
uintptr_t v242021450 = (v242443214 + ((intptr_t)((int32_t)offsetof(struct auich_dma, map)))); | |
uintptr_t v256832192 = *((uintptr_t *)(v242021450)); | |
uintptr_t v7598850 = (v256832192 + ((intptr_t)((int32_t)offsetof(struct x86_bus_dmamap, dm_segs)))); | |
uintptr_t v112490102 = (v7598850 + ((intptr_t)((int32_t)offsetof(struct x86_bus_dma_segment, ds_addr)))); | |
uintptr_t v131743046 = *((uintptr_t *)(v112490102)); | |
uintmax_t v128764936 = ((uintmax_t)v131743046); | |
uint32_t v103925142 = ((uint32_t)v128764936); | |
uintptr_t v123491440 = (v245643266 + ((intptr_t)((int32_t)offsetof(struct auich_ring, start)))); | |
*((uint32_t *)(v123491440)) = v103925142; | |
uintptr_t v214107640 = (v245643266 + ((intptr_t)((int32_t)offsetof(struct auich_ring, p)))); | |
*((uint32_t *)(v214107640)) = v103925142; | |
uintptr_t v86365016 = (v245643266 + ((intptr_t)((int32_t)offsetof(struct auich_ring, end)))); | |
uint32_t v265004794 = (v103925142 + v103925136); | |
*((uint32_t *)(v86365016)) = v265004794; | |
uintptr_t v84409402 = (v245643266 + ((intptr_t)((int32_t)offsetof(struct auich_ring, blksize)))); | |
*((uint32_t *)(v84409402)) = v2212; | |
uintptr_t v101519596 = (v432 + ((intptr_t)((int32_t)offsetof(struct auich_softc, iot)))); | |
uintptr_t v197291876 = *((uintptr_t *)(v101519596)); | |
uintptr_t v14053570 = (v432 + ((intptr_t)((int32_t)offsetof(struct auich_softc, aud_ioh)))); | |
uintptr_t v241919660 = *((uintptr_t *)(v14053570)); | |
uintptr_t v205591736 = (v432 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_cddmamap)))); | |
uintptr_t v18261974 = *((uintptr_t *)(v205591736)); | |
uintptr_t v201297312 = (v18261974 + ((intptr_t)((int32_t)offsetof(struct x86_bus_dmamap, dm_segs)))); | |
uintptr_t v178901586 = (v201297312 + ((intptr_t)((int32_t)offsetof(struct x86_bus_dma_segment, ds_addr)))); | |
uintptr_t v86428116 = *((uintptr_t *)(v178901586)); | |
uintptr_t v38718556 = (v86428116 + ((uintptr_t)offsetof(struct auich_cdata, ic_dmalist_pcmo))); | |
uintmax_t v267321798 = ((uintmax_t)v38718556); | |
uint32_t v122214798 = ((uint32_t)v267321798); | |
bus_space_write_4((HsPtr)v197291876,(unsigned long)v241919660,(size_t)((intptr_t)((int32_t)(ICH_PCMO + ICH_BDBAR))),(uint32_t)v122214798); | |
wptr_t x197 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x197)->a1 = v432; | |
wptr_t v510 = x197; | |
{ gc_frame0(gc,1,v510); | |
wptr_t x198 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x198)->a1 = v245643266; | |
wptr_t v512 = x198; | |
{ gc_frame0(gc,1,v512); | |
fDev_Pci_Auich_auichTriggerPipe(gc,arena,v510,PROMOTE(c62),v512); | |
} | |
v1839 = c26; | |
} | |
} | |
} else { | |
wptr_t v3585; | |
/* 1 */ | |
assert(1 == v100450); | |
uintptr_t v142243382 = (v242443214 + ((intptr_t)((int32_t)offsetof(struct auich_dma, next)))); | |
uintptr_t v260555430 = *((uintptr_t *)(v142243382)); | |
v242443214 = v260555430; | |
goto fW$__fDev_Pci_Auich_247__while__196; | |
} | |
} | |
break; | |
} | |
v1781 = promote(v1839); | |
} | |
v452 = ((struct sCJhc_Type_Word_Int*)v1781)->a1; | |
return v452; | |
} | |
static void A_STD | |
fFE$__CCall_auichTriggerPipe(gc_t gc,arena_t arena,uintptr_t v420,uint32_t v422,uintptr_t v424) | |
{ | |
wptr_t x189 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x189)->a1 = v420; | |
wptr_t v453 = x189; | |
{ gc_frame0(gc,1,v453); | |
wptr_t x190 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Int); | |
((struct sCJhc_Type_Word_Int*)x190)->a1 = v422; | |
wptr_t v455 = x190; | |
{ gc_frame0(gc,1,v455); | |
wptr_t x191 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x191)->a1 = v424; | |
wptr_t v457 = x191; | |
{ gc_frame0(gc,1,v457); | |
fDev_Pci_Auich_auichTriggerPipe(gc,arena,v453,v455,v457); | |
} | |
return; | |
} | |
} | |
} | |
static uint32_t A_STD | |
fFE$__CCall_auichWriteCodec(gc_t gc,arena_t arena,uintptr_t v1604,uint8_t v36820130,uint16_t v210) | |
{ | |
wptr_t x296 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x296)->a1 = v1604; | |
wptr_t v1336 = x296; | |
{ gc_frame0(gc,1,v1336); | |
wptr_t v2740 = RAW_SET_UF(v36820130); | |
{ wptr_t v741; | |
uint32_t v218; | |
gc_frame0(gc,1,v2740); | |
wptr_t v2743 = RAW_SET_UF(v210); | |
{ gc_frame0(gc,1,v2743); | |
v741 = fDev_Pci_Auich_auichWriteCodec(gc,arena,v1336,v2740,v2743); | |
} | |
v218 = ((struct sCJhc_Type_Word_Int*)v741)->a1; | |
return v218; | |
} | |
} | |
} | |
static uint32_t A_STD | |
fFE$__CCall_hdaudioIntr(gc_t gc,arena_t arena,uintptr_t v215350920) | |
{ | |
sptr_t v43838988; | |
uint32_t v1205; | |
uintptr_t v260952216 = (v215350920 + ((intptr_t)((int32_t)offsetof(struct hdaudio_softc, sc_memt)))); | |
uintptr_t v85122222 = *((uintptr_t *)(v260952216)); | |
uintptr_t v23565134 = (v215350920 + ((intptr_t)((int32_t)offsetof(struct hdaudio_softc, sc_memh)))); | |
uintptr_t v43838990 = *((uintptr_t *)(v23565134)); | |
uint32_t v262424428 = ((uint32_t)bus_space_read_4((HsPtr)v85122222,(unsigned long)v43838990,(size_t)HDAUDIO_MMIO_INTSTS)); | |
wptr_t x275 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x275)->a1 = v215350920; | |
wptr_t v2342 = x275; | |
uint32_t v100246 = (v262424428 & HDAUDIO_INTSTS_GIS); | |
if (0 == v100246) { | |
v43838988 = c26; | |
} else { | |
uint32_t v100248 = (v262424428 & HDAUDIO_INTSTS_CIS); | |
if (0 == v100248) { | |
} else { | |
uintptr_t v132679396 = (v215350920 + ((intptr_t)((int32_t)offsetof(struct hdaudio_softc, sc_memt)))); | |
uintptr_t v196079998 = *((uintptr_t *)(v132679396)); | |
uintptr_t v217301942 = (v215350920 + ((intptr_t)((int32_t)offsetof(struct hdaudio_softc, sc_memh)))); | |
uintptr_t v42766596 = *((uintptr_t *)(v217301942)); | |
uint8_t v2353 = ((uint8_t)bus_space_read_1((HsPtr)v196079998,(unsigned long)v42766596,(size_t)HDAUDIO_MMIO_RIRBSTS)); | |
uint8_t v100250 = (v2353 & HDAUDIO_RIRBSTS_RINTFL); | |
if (0 == v100250) { | |
} else { | |
uintptr_t v66251204 = (v215350920 + ((intptr_t)((int32_t)offsetof(struct hdaudio_softc, sc_corb_mtx)))); | |
mutex_enter((HsPtr)v66251204); | |
{ gc_frame0(gc,1,v2342); | |
fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue(gc,arena,v2342,RAW_SET_UF(1)); | |
} | |
mutex_exit((HsPtr)v66251204); | |
} | |
uint8_t v100252 = (v2353 & (HDAUDIO_RIRBSTS_RIRBOIS | HDAUDIO_RIRBSTS_RINTFL)); | |
if (0 == v100252) { | |
} else { | |
uintptr_t v29821322 = (v215350920 + ((intptr_t)((int32_t)offsetof(struct hdaudio_softc, sc_memt)))); | |
uintptr_t v197291872 = *((uintptr_t *)(v29821322)); | |
uintptr_t v1674616 = (v215350920 + ((intptr_t)((int32_t)offsetof(struct hdaudio_softc, sc_memh)))); | |
uintptr_t v237284574 = *((uintptr_t *)(v1674616)); | |
bus_space_write_1((HsPtr)v197291872,(unsigned long)v237284574,(size_t)HDAUDIO_MMIO_RIRBSTS,(uint8_t)v2353); | |
} | |
uintptr_t v68216826 = (v215350920 + ((intptr_t)((int32_t)offsetof(struct hdaudio_softc, sc_memt)))); | |
uintptr_t v209100926 = *((uintptr_t *)(v68216826)); | |
uintptr_t v92400194 = (v215350920 + ((intptr_t)((int32_t)offsetof(struct hdaudio_softc, sc_memh)))); | |
uintptr_t v63710470 = *((uintptr_t *)(v92400194)); | |
bus_space_write_4((HsPtr)v209100926,(unsigned long)v63710470,(size_t)HDAUDIO_MMIO_INTSTS,(uint32_t)HDAUDIO_INTSTS_CIS); | |
} | |
uint32_t v100254 = (v262424428 & HDAUDIO_INTSTS_SIS_MASK); | |
if (0 == v100254) { | |
} else { | |
wptr_t v1871; | |
uintptr_t v160512926 = (v215350920 + ((intptr_t)((int32_t)offsetof(struct hdaudio_softc, sc_stream_mtx)))); | |
mutex_enter((HsPtr)v160512926); | |
uintptr_t v22769940 = (v215350920 + ((intptr_t)((int32_t)offsetof(struct hdaudio_softc, sc_stream_mask)))); | |
uint32_t v108823172 = *((uint32_t *)(v22769940)); | |
v1871 = fFE$__CCall_hdaudioIntr$d2(gc,arena,v262424428,v108823172); | |
{ wptr_t v1569196605; | |
wptr_t v1574308417; | |
gc_frame0(gc,1,v1871); | |
{ gc_frame0(gc,1,v1871); | |
v1569196605 = PROMOTE(c26); | |
v1574308417 = v1871; | |
goto fDev_Pci_Hdaudio_Hdaudio_5__while__276; | |
} | |
goto done276; | |
fDev_Pci_Hdaudio_Hdaudio_5__while__276:; | |
{ uint32_t v126919656; | |
v126919656 = ((struct sCJhc_Type_Word_Int*)v1569196605)->a1; | |
uint16_t v100258 = (((int32_t)v126919656) >= ((int32_t)HDAUDIO_MAX_STREAMS)); | |
if (0 == v100258) { | |
uint32_t v102952082; | |
v102952082 = ((struct sCJhc_Type_Word_Word32*)v1574308417)->a1; | |
if (0 == v102952082) { | |
SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} else { | |
uint32_t v218789762 = (v126919656 * sizeof(struct hdaudio_stream)); | |
uint32_t v123670240 = (offsetof(struct hdaudio_softc, sc_stream) + v218789762); | |
uintptr_t v90861650 = ((intptr_t)((int32_t)v123670240)); | |
uintptr_t v125929214 = (v215350920 + v90861650); | |
uintptr_t v205779220 = (v125929214 + ((intptr_t)((int32_t)offsetof(struct hdaudio_stream, st_intr)))); | |
uintptr_t v29077246 = *((uintptr_t *)(v205779220)); | |
uint32_t v100262 = (1 & v102952082); | |
if (0 == v100262) { | |
} else { | |
if (0 == v29077246) { | |
} else { | |
(uint32_t)((int (*)(HsPtr))v29077246)((HsPtr)v125929214); | |
} | |
} | |
uint32_t v158113098 = (v102952082 >> 1); | |
uint32_t v238502452 = (1 + v126919656); | |
wptr_t x277 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Int); | |
((struct sCJhc_Type_Word_Int*)x277)->a1 = v238502452; | |
wptr_t v1202 = x277; | |
{ gc_frame0(gc,1,v1202); | |
wptr_t x278 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Word32); | |
((struct sCJhc_Type_Word_Word32*)x278)->a1 = v158113098; | |
wptr_t v1204 = x278; | |
{ gc_frame0(gc,1,v1204); | |
v1569196605 = v1202; | |
v1574308417 = v1204; | |
goto fDev_Pci_Hdaudio_Hdaudio_5__while__276; | |
} | |
} | |
} | |
} else { | |
/* 1 */ | |
assert(1 == v100258); | |
SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} | |
} | |
} | |
done276:; | |
mutex_exit((HsPtr)v160512926); | |
uintptr_t v216085086 = (v215350920 + ((intptr_t)((int32_t)offsetof(struct hdaudio_softc, sc_memt)))); | |
uintptr_t v68216830 = *((uintptr_t *)(v216085086)); | |
uintptr_t v153480254 = (v215350920 + ((intptr_t)((int32_t)offsetof(struct hdaudio_softc, sc_memh)))); | |
uintptr_t v209623824 = *((uintptr_t *)(v153480254)); | |
bus_space_write_4((HsPtr)v68216830,(unsigned long)v209623824,(size_t)HDAUDIO_MMIO_INTSTS,(uint32_t)HDAUDIO_INTSTS_SIS_MASK); | |
} | |
v43838988 = c164; | |
} | |
wptr_t v100264 = promote(v43838988); | |
v1205 = ((struct sCJhc_Type_Word_Int*)v100264)->a1; | |
return v1205; | |
} | |
static wptr_t A_STD A_MALLOC | |
fFE$__CCall_hdaudioIntr$d2(gc_t gc,arena_t arena,uint32_t v1318,uint32_t v202456478) | |
{ | |
uint32_t v225040674 = (v1318 & v202456478); | |
wptr_t x274 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Word32); | |
((struct sCJhc_Type_Word_Word32*)x274)->a1 = v225040674; | |
return x274; | |
} | |
static uint32_t A_STD | |
fFE$__CCall_hdaudioRirbDequeue(gc_t gc,arena_t arena,uintptr_t v775,uint16_t v29077250) | |
{ | |
wptr_t v719 = RAW_SET_UF(v29077250); | |
{ sptr_t v787; | |
uint32_t v791; | |
gc_frame0(gc,1,v719); | |
wptr_t x224 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x224)->a1 = v775; | |
wptr_t v721 = x224; | |
{ gc_frame0(gc,1,v721); | |
v787 = fDev_Pci_Hdaudio_Hdaudio_hdaudioRirbDequeue(gc,arena,v721,v719); | |
} | |
wptr_t v100554 = eval(gc,arena,v787); | |
v791 = ((struct sCJhc_Type_Word_Word32*)v100554)->a1; | |
return v791; | |
} | |
} | |
static sptr_t A_STD A_MALLOC | |
fForeign_C_String_withCString(gc_t gc,arena_t arena,wptr_t v209623816,wptr_t v227981060) | |
{ | |
sptr_t v209625956 = demote(v209623816); | |
sptr_t v227983201 = demote(v227981060); | |
{ sptr_t v19172378; | |
uint32_t v214053726; | |
uint32_t v231532612; | |
gc_frame0(gc,2,v209625956,v227983201); | |
v19172378 = v209625956; | |
v231532612 = 0; | |
fW$__fR$__fJhc_List_253__f__136:; | |
{ wptr_t v100512 = eval(gc,arena,v19172378); | |
if (SET_RAW_TAG(CJhc_Prim_Prim_$BE) == v100512) { | |
v214053726 = v231532612; | |
} else { | |
sptr_t v221098676; | |
/* ("CJhc.Prim.Prim.:" ni0 ni221098676) */ | |
v221098676 = ((struct sCJhc_Prim_Prim_$x3a*)v100512)->a2; | |
uint32_t v78002918 = (1 + v231532612); | |
{ gc_frame0(gc,1,v221098676); | |
v19172378 = v221098676; | |
v231532612 = v78002918; | |
goto fW$__fR$__fJhc_List_253__f__136; | |
} | |
} | |
} | |
wptr_t x137 = s_alloc(gc,arena,public_caches(arena)->cP2__Foreign_C_String_withCString$d2); | |
SET_MEM_TAG((struct sP2__Foreign_C_String_withCString$d2*)x137,P2__Foreign_C_String_withCString$d2); | |
((struct sP2__Foreign_C_String_withCString$d2*)x137)->a1 = v227983201; | |
((struct sP2__Foreign_C_String_withCString$d2*)x137)->a2 = v209625956; | |
wptr_t v168 = x137; | |
sptr_t v61835120 = demote(v168); | |
{ gc_frame0(gc,1,v61835120); | |
wptr_t x138 = s_alloc(gc,arena,public_caches(arena)->cP2__Foreign_C_String_withCString$d4); | |
SET_MEM_TAG((struct sP2__Foreign_C_String_withCString$d4*)x138,P2__Foreign_C_String_withCString$d4); | |
((struct sP2__Foreign_C_String_withCString$d4*)x138)->a1 = v61835120; | |
wptr_t v170 = x138; | |
uint32_t v244429590 = (1 + v214053726); | |
uint32_t v262653758 = (v244429590 * sizeof(uint8_t)); | |
{ gc_frame0(gc,1,v170); | |
return fW$__fForeign_Marshal_Alloc_allocaBytes(gc,arena,v262653758,v170); | |
} | |
} | |
} | |
} | |
static sptr_t A_STD A_MALLOC | |
fForeign_C_String_withCString$d2(gc_t gc,arena_t arena,sptr_t v5580104,sptr_t v133748294,uintptr_t v1893733437) | |
{ | |
wptr_t v4440 = promote(v133748294); | |
{ gc_frame0(gc,1,v5580104); | |
{ gc_frame0(gc,1,v4440); | |
fForeign_C_String_withCString$d3(gc,arena,v1893733437,v4440,0); | |
} | |
wptr_t v100540 = promote(v5580104); | |
{ wptr_t v100542; | |
gc_frame0(gc,1,v100540); | |
wptr_t x131 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x131)->a1 = v1893733437; | |
wptr_t v1797 = x131; | |
sptr_t v1903694897 = demote(v1797); | |
{ gc_frame0(gc,1,v1903694897); | |
v100542 = bapply__56235(gc,arena,v100540,v1903694897); | |
} | |
{ gc_frame0(gc,1,v100542); | |
return bapply__56236(gc,arena,v100542); | |
} | |
} | |
} | |
} | |
static wptr_t A_STD A_MALLOC | |
fForeign_C_String_withCString$d3(gc_t gc,arena_t arena,uintptr_t v40405746,wptr_t v168294380,uint32_t v238570488) | |
{ | |
sptr_t v168296609 = demote(v168294380); | |
{ sptr_t v168294485; | |
uint32_t v238570594; | |
uintptr_t v40405850; | |
gc_frame0(gc,1,v168296609); | |
{ gc_frame0(gc,1,v168296609); | |
v40405850 = v40405746; | |
v168294485 = v168296609; | |
v238570594 = v238570488; | |
goto bRfForeign_C_String_withCString$d3u130; | |
} | |
/* [bp40405850,ni168294485,w238570594] */ | |
bRfForeign_C_String_withCString$d3u130:; | |
{ wptr_t v100536 = eval(gc,arena,v168294485); | |
if (SET_RAW_TAG(CJhc_Prim_Prim_$BE) == v100536) { | |
return fW$__fW$__fInstance$__iForeign_Storable_pokeElemOff_default(gc,arena,v40405850,v238570594,0); | |
} else { | |
sptr_t v192; | |
sptr_t v194; | |
/* ("CJhc.Prim.Prim.:" ni192 ni194) */ | |
v192 = ((struct sCJhc_Prim_Prim_$x3a*)v100536)->a1; | |
v194 = ((struct sCJhc_Prim_Prim_$x3a*)v100536)->a2; | |
{ uint32_t v82168000; | |
gc_frame0(gc,1,v194); | |
wptr_t v100538 = eval(gc,arena,v192); | |
v82168000 = ((uint32_t)RAW_GET_UF(v100538)); | |
uint8_t v210294126 = ((uint8_t)v82168000); | |
fW$__fW$__fInstance$__iForeign_Storable_pokeElemOff_default(gc,arena,v40405850,v238570594,v210294126); | |
uint32_t v22391460 = (1 + v238570594); | |
v40405850 = v40405850; | |
v168294485 = v194; | |
v238570594 = v22391460; | |
goto bRfForeign_C_String_withCString$d3u130; | |
} | |
} | |
} | |
} | |
} | |
static sptr_t A_STD A_MALLOC | |
fForeign_C_String_withCString$d4(gc_t gc,arena_t arena,sptr_t v1906840603,sptr_t v248387722) | |
{ | |
{ sptr_t v184; | |
sptr_t v186; | |
uintptr_t v204090792; | |
gc_frame0(gc,1,v1906840603); | |
wptr_t v100514 = eval(gc,arena,v248387722); | |
wptr_t v100516 = promote(v1906840603); | |
v204090792 = ((struct sCJhc_Type_Ptr_Ptr*)v100514)->a1; | |
v184 = ((struct sP2__Foreign_C_String_withCString$d2*)v100516)->a1; | |
v186 = ((struct sP2__Foreign_C_String_withCString$d2*)v100516)->a2; | |
{ gc_frame0(gc,2,v184,v186); | |
return fForeign_C_String_withCString$d2(gc,arena,v184,v186,v204090792); | |
} | |
} | |
} | |
static sptr_t A_STD A_MALLOC | |
fForeign_Marshal_Alloc_alloca(gc_t gc,arena_t arena,wptr_t v1984042041) | |
{ | |
{ gc_frame0(gc,1,v1984042041); | |
return fW$__fForeign_Marshal_Alloc_allocaBytes(gc,arena,sizeof(int),v1984042041); | |
} | |
} | |
static wptr_t A_STD A_MALLOC | |
fR$__fJhc_Basics_$pp(gc_t gc,arena_t arena,sptr_t v196335314,wptr_t v153480256) | |
{ | |
{ gc_frame0(gc,1,v153480256); | |
wptr_t v100520 = eval(gc,arena,v196335314); | |
if (SET_RAW_TAG(CJhc_Prim_Prim_$BE) == v100520) { | |
return v153480256; | |
} else { | |
sptr_t v261; | |
sptr_t v264; | |
/* ("CJhc.Prim.Prim.:" ni261 ni264) */ | |
v261 = ((struct sCJhc_Prim_Prim_$x3a*)v100520)->a1; | |
v264 = ((struct sCJhc_Prim_Prim_$x3a*)v100520)->a2; | |
{ gc_frame0(gc,2,v261,v264); | |
sptr_t x132 = s_alloc(gc,arena,public_caches(arena)->cFR$__fJhc_Basics_$pp); | |
((struct sFR$__fJhc_Basics_$pp*)x132)->head = TO_FPTR(&E__fR$__fJhc_Basics_$pp); | |
((struct sFR$__fJhc_Basics_$pp*)x132)->a1 = v264; | |
((struct sFR$__fJhc_Basics_$pp*)x132)->a2 = v153480256; | |
sptr_t v192773432 = MKLAZY(x132); | |
{ gc_frame0(gc,1,v192773432); | |
wptr_t x133 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Prim_Prim_$x3a); | |
((struct sCJhc_Prim_Prim_$x3a*)x133)->a1 = v261; | |
((struct sCJhc_Prim_Prim_$x3a*)x133)->a2 = v192773432; | |
return x133; | |
} | |
} | |
} | |
} | |
} | |
static wptr_t A_STD A_MALLOC | |
fW$__fDev_Pci_Auich_22__f(gc_t gc,arena_t arena,uint32_t v1692283961,uintptr_t v196,uint32_t v1718,uintptr_t v606386,uintptr_t v92531714,uintptr_t v162613438,uintptr_t v209401808) | |
{ | |
wptr_t x18 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Int); | |
((struct sCJhc_Type_Word_Int*)x18)->a1 = v1692283961; | |
wptr_t v1523 = x18; | |
uint32_t v100014 = (v1718 & v1692283961); | |
if (0 == v100014) { | |
return PROMOTE(c1); | |
} else { | |
uint16_t v100016 = (v1692283961 == AUMODE_PLAY); | |
if (0 == v100016) { | |
if (0 == v162613438) { | |
return PROMOTE(c1); | |
} else { | |
uintptr_t v135370996 = (v606386 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_codectype)))); | |
uint32_t v203886776 = *((uint32_t *)(v135370996)); | |
uintptr_t v240841804 = (v162613438 + ((intptr_t)((int32_t)offsetof(struct audio_params, sample_rate)))); | |
uint32_t v183528712 = *((int *)(v240841804)); | |
uint16_t v100078 = (v203886776 == AC97_CODEC_TYPE_AUDIO); | |
{ wptr_t v1656; | |
wptr_t v1762; | |
wptr_t v3479; | |
gc_frame0(gc,1,v1523); | |
if (0 == v100078) { | |
v3479 = PROMOTE(c3); | |
} else { | |
/* 1 */ | |
assert(1 == v100078); | |
uint16_t v100080 = (((int32_t)8000) > ((int32_t)v183528712)); | |
if (0 == v100080) { | |
uint16_t v100082 = (((int32_t)48000) < ((int32_t)v183528712)); | |
if (0 == v100082) { | |
sptr_t v1627; | |
sptr_t v1629; | |
sptr_t v1631; | |
struct tup2 x19; | |
uintptr_t v185244528 = (v606386 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_spdif)))); | |
uint32_t v235430070 = ((uint32_t)hs_peekbool((HsBool*)v185244528)); | |
if (0 == v235430070) { | |
wptr_t x20 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x20)->a1 = v162613438; | |
wptr_t v1786 = x20; | |
sptr_t v15781990 = demote(v1786); | |
uint16_t v100084 = (v1692283961 == AUMODE_PLAY); | |
if (0 == v100084) { | |
{ gc_frame0(gc,1,v15781990); | |
wptr_t x21 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x21)->a1 = v196; | |
wptr_t v1798 = x21; | |
sptr_t v137643146 = demote(v1798); | |
uintptr_t v198354894 = (v606386 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_audio_formats)))); | |
uint32_t v100297606 = ((uint32_t)auconv_set_converter((HsPtr)v198354894,(int)AUICH_AUDIO_NFORMATS,(int)v1692283961,(HsPtr)v162613438,(int)1,(HsPtr)v196)); | |
{ gc_frame0(gc,1,v137643146); | |
wptr_t x22 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Int); | |
((struct sCJhc_Type_Word_Int*)x22)->a1 = v100297606; | |
wptr_t v1802 = x22; | |
sptr_t v156675384 = demote(v1802); | |
x19.t0 = v15781990; | |
x19.t1 = v137643146; | |
x19.t2 = v156675384; | |
} | |
} | |
} else { | |
/* 1 */ | |
assert(1 == v100084); | |
{ gc_frame0(gc,1,v15781990); | |
wptr_t x23 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x23)->a1 = v209401808; | |
wptr_t v1789 = x23; | |
sptr_t v168089166 = demote(v1789); | |
uintptr_t v49142776 = (v606386 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_audio_formats)))); | |
uint32_t v22016926 = ((uint32_t)auconv_set_converter((HsPtr)v49142776,(int)AUICH_AUDIO_NFORMATS,(int)v1692283961,(HsPtr)v162613438,(int)1,(HsPtr)v209401808)); | |
{ gc_frame0(gc,1,v168089166); | |
wptr_t x24 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Int); | |
((struct sCJhc_Type_Word_Int*)x24)->a1 = v22016926; | |
wptr_t v1793 = x24; | |
sptr_t v10603238 = demote(v1793); | |
x19.t0 = v15781990; | |
x19.t1 = v168089166; | |
x19.t2 = v10603238; | |
} | |
} | |
} | |
} else { | |
wptr_t x25 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x25)->a1 = v162613438; | |
wptr_t v1808 = x25; | |
sptr_t v62470112 = demote(v1808); | |
uint16_t v100086 = (v1692283961 == AUMODE_PLAY); | |
if (0 == v100086) { | |
{ gc_frame0(gc,1,v62470112); | |
wptr_t x26 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x26)->a1 = v196; | |
wptr_t v1820 = x26; | |
sptr_t v98167652 = demote(v1820); | |
uintptr_t v46454714 = ((uintptr_t)get_auich_spdif_formats()); | |
uint32_t v124235156 = ((uint32_t)auconv_set_converter((HsPtr)v46454714,(int)AUICH_SPDIF_NFORMATS,(int)v1692283961,(HsPtr)v162613438,(int)1,(HsPtr)v196)); | |
{ gc_frame0(gc,1,v98167652); | |
wptr_t x27 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Int); | |
((struct sCJhc_Type_Word_Int*)x27)->a1 = v124235156; | |
wptr_t v1824 = x27; | |
sptr_t v159023314 = demote(v1824); | |
x19.t0 = v62470112; | |
x19.t1 = v98167652; | |
x19.t2 = v159023314; | |
} | |
} | |
} else { | |
/* 1 */ | |
assert(1 == v100086); | |
{ gc_frame0(gc,1,v62470112); | |
wptr_t x28 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x28)->a1 = v209401808; | |
wptr_t v1811 = x28; | |
sptr_t v260952208 = demote(v1811); | |
uintptr_t v211324748 = ((uintptr_t)get_auich_spdif_formats()); | |
uint32_t v108386434 = ((uint32_t)auconv_set_converter((HsPtr)v211324748,(int)AUICH_SPDIF_NFORMATS,(int)v1692283961,(HsPtr)v162613438,(int)1,(HsPtr)v209401808)); | |
{ gc_frame0(gc,1,v260952208); | |
wptr_t x29 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Int); | |
((struct sCJhc_Type_Word_Int*)x29)->a1 = v108386434; | |
wptr_t v1815 = x29; | |
sptr_t v80256468 = demote(v1815); | |
x19.t0 = v62470112; | |
x19.t1 = v260952208; | |
x19.t2 = v80256468; | |
} | |
} | |
} | |
} | |
v1627 = x19.t0; | |
v1629 = x19.t1; | |
v1631 = x19.t2; | |
{ gc_frame0(gc,3,v1627,v1629,v1631); | |
wptr_t x30 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Prim_Prim_$LccR); | |
((struct sCJhc_Prim_Prim_$LccR*)x30)->a1 = v1627; | |
((struct sCJhc_Prim_Prim_$LccR*)x30)->a2 = v1629; | |
((struct sCJhc_Prim_Prim_$LccR*)x30)->a3 = v1631; | |
wptr_t v1622 = x30; | |
sptr_t v1623 = demote(v1622); | |
{ gc_frame0(gc,1,v1623); | |
wptr_t x31 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Right); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Right*)x31,CJhc_Type_Basic_Right); | |
((struct sCJhc_Type_Basic_Right*)x31)->a1 = v1623; | |
v3479 = x31; | |
} | |
} | |
} else { | |
/* 1 */ | |
assert(1 == v100082); | |
v3479 = PROMOTE(c3); | |
} | |
} else { | |
/* 1 */ | |
assert(1 == v100080); | |
v3479 = PROMOTE(c3); | |
} | |
} | |
if (CJhc_Type_Basic_Left == FETCH_TAG(v3479)) { | |
sptr_t v191240590; | |
v191240590 = ((struct sCJhc_Type_Basic_Left*)v3479)->a1; | |
{ gc_frame0(gc,1,v191240590); | |
wptr_t x32 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Left); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Left*)x32,CJhc_Type_Basic_Left); | |
((struct sCJhc_Type_Basic_Left*)x32)->a1 = v191240590; | |
v1656 = x32; | |
} | |
} else { | |
sptr_t v111142940; | |
sptr_t v18755250; | |
sptr_t v211631426; | |
sptr_t v225040670; | |
/* ("CJhc.Type.Basic.Right" ni18755250) */ | |
v18755250 = ((struct sCJhc_Type_Basic_Right*)v3479)->a1; | |
wptr_t v100090 = eval(gc,arena,v18755250); | |
v111142940 = ((struct sCJhc_Prim_Prim_$LccR*)v100090)->a1; | |
v225040670 = ((struct sCJhc_Prim_Prim_$LccR*)v100090)->a2; | |
v211631426 = ((struct sCJhc_Prim_Prim_$LccR*)v100090)->a3; | |
{ uint32_t v88824876; | |
gc_frame0(gc,3,v111142940,v211631426,v225040670); | |
wptr_t v100092 = eval(gc,arena,v211631426); | |
v88824876 = ((struct sCJhc_Type_Word_Int*)v100092)->a1; | |
uint16_t v100094 = (((int32_t)0) > ((int32_t)v88824876)); | |
if (0 == v100094) { | |
sptr_t v1652; | |
sptr_t v3473; | |
sptr_t v3476; | |
sptr_t v68911724; | |
uintptr_t v238570486; | |
struct tup2 x33; | |
v68911724 = fDev_AudioIf_p__StreamFilterList__req__size(gc,arena,v225040670); | |
wptr_t v100096 = eval(gc,arena,v68911724); | |
v238570486 = ((struct sCJhc_Type_Ptr_Ptr*)v100096)->a1; | |
uint32_t v84044592 = *((uint32_t *)(v238570486)); | |
uint16_t v100098 = (((int32_t)0) < ((int32_t)v84044592)); | |
if (0 == v100098) { | |
x33.t0 = v111142940; | |
x33.t1 = v225040670; | |
x33.t2 = v211631426; | |
} else { | |
/* 1 */ | |
assert(1 == v100098); | |
sptr_t x34 = s_alloc(gc,arena,public_caches(arena)->cFFE$__CCall_auichSetParams$d11); | |
((struct sFFE$__CCall_auichSetParams$d11*)x34)->head = TO_FPTR(&E__fFE$__CCall_auichSetParams$d11); | |
((struct sFFE$__CCall_auichSetParams$d11*)x34)->a1 = v225040670; | |
sptr_t v261886140 = MKLAZY(x34); | |
x33.t0 = v261886140; | |
x33.t1 = v225040670; | |
x33.t2 = v211631426; | |
} | |
v3473 = x33.t0; | |
v3476 = x33.t1; | |
v1652 = x33.t2; | |
{ gc_frame0(gc,3,v1652,v3473,v3476); | |
wptr_t x35 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Prim_Prim_$LccR); | |
((struct sCJhc_Prim_Prim_$LccR*)x35)->a1 = v3473; | |
((struct sCJhc_Prim_Prim_$LccR*)x35)->a2 = v3476; | |
((struct sCJhc_Prim_Prim_$LccR*)x35)->a3 = v1652; | |
wptr_t v1640 = x35; | |
sptr_t v3285 = demote(v1640); | |
{ gc_frame0(gc,1,v3285); | |
wptr_t x36 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Right); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Right*)x36,CJhc_Type_Basic_Right); | |
((struct sCJhc_Type_Basic_Right*)x36)->a1 = v3285; | |
v1656 = x36; | |
} | |
} | |
} else { | |
/* 1 */ | |
assert(1 == v100094); | |
v1656 = PROMOTE(c3); | |
} | |
} | |
} | |
if (CJhc_Type_Basic_Left == FETCH_TAG(v1656)) { | |
sptr_t v691660; | |
v691660 = ((struct sCJhc_Type_Basic_Left*)v1656)->a1; | |
{ gc_frame0(gc,1,v691660); | |
wptr_t x37 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Left); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Left*)x37,CJhc_Type_Basic_Left); | |
((struct sCJhc_Type_Basic_Left*)x37)->a1 = v691660; | |
v1762 = x37; | |
} | |
} else { | |
sptr_t v150360142; | |
sptr_t v176586370; | |
sptr_t v201297314; | |
sptr_t v64614476; | |
/* ("CJhc.Type.Basic.Right" ni201297314) */ | |
v201297314 = ((struct sCJhc_Type_Basic_Right*)v1656)->a1; | |
wptr_t v100102 = eval(gc,arena,v201297314); | |
v176586370 = ((struct sCJhc_Prim_Prim_$LccR*)v100102)->a1; | |
v150360142 = ((struct sCJhc_Prim_Prim_$LccR*)v100102)->a2; | |
v64614476 = ((struct sCJhc_Prim_Prim_$LccR*)v100102)->a3; | |
uint16_t v137486614 = (v203886776 == AC97_CODEC_TYPE_AUDIO); | |
{ gc_frame0(gc,3,v64614476,v150360142,v176586370); | |
wptr_t x38 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x38)->a1 = v606386; | |
wptr_t v1870 = x38; | |
if (0 == v137486614) { | |
{ uint32_t v192823750; | |
gc_frame0(gc,1,v1870); | |
wptr_t v100110 = eval(gc,arena,v64614476); | |
v192823750 = ((struct sCJhc_Type_Word_Int*)v100110)->a1; | |
uint32_t v230909486 = (v192823750 * sizeof(struct audio_format)); | |
uint32_t v233337134 = (offsetof(struct auich_softc, sc_modem_formats) + v230909486); | |
uintptr_t v257664008 = ((intptr_t)((int32_t)v233337134)); | |
uintptr_t v13690788 = (v606386 + v257664008); | |
uintptr_t v100210680 = (v13690788 + ((intptr_t)((int32_t)offsetof(struct audio_format, frequency_type)))); | |
uint32_t v53168218 = *((int *)(v100210680)); | |
if (1 == v53168218) { | |
wptr_t x39 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Prim_Prim_$LccR); | |
((struct sCJhc_Prim_Prim_$LccR*)x39)->a1 = v176586370; | |
((struct sCJhc_Prim_Prim_$LccR*)x39)->a2 = v150360142; | |
((struct sCJhc_Prim_Prim_$LccR*)x39)->a3 = v64614476; | |
wptr_t v1911 = x39; | |
sptr_t v194646142 = demote(v1911); | |
{ gc_frame0(gc,1,v194646142); | |
wptr_t x40 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Right); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Right*)x40,CJhc_Type_Basic_Right); | |
((struct sCJhc_Type_Basic_Right*)x40)->a1 = v194646142; | |
v1762 = x40; | |
} | |
} else { | |
sptr_t v63710468; | |
uint32_t v114140698; | |
uintptr_t v207549710; | |
wptr_t v100112 = eval(gc,arena,v176586370); | |
v207549710 = ((struct sCJhc_Type_Ptr_Ptr*)v100112)->a1; | |
uintptr_t v262424426 = (v207549710 + ((intptr_t)((int32_t)offsetof(struct audio_params, sample_rate)))); | |
uint32_t v98968046 = *((int *)(v262424426)); | |
uintmax_t v253791884 = ((uintmax_t)v98968046); | |
uintptr_t v61551852 = ((uintptr_t)v253791884); | |
wptr_t x41 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_WordPtr); | |
((struct sCJhc_Type_Word_WordPtr*)x41)->a1 = v61551852; | |
wptr_t v1922 = x41; | |
{ gc_frame0(gc,1,v1922); | |
v63710468 = fx133152257(gc,arena,v1870,v1523,v1922); | |
} | |
wptr_t v100114 = eval(gc,arena,v63710468); | |
v114140698 = ((struct sCJhc_Type_Word_Int*)v100114)->a1; | |
if (0 == v114140698) { | |
uintmax_t v111142948 = ((uintmax_t)v98968046); | |
uint16_t v77277010 = ((uint16_t)v111142948); | |
wptr_t v1930 = RAW_SET_UF(v77277010); | |
{ gc_frame0(gc,1,v1930); | |
fDev_Pci_Auich_auichWriteCodec(gc,arena,v1870,RAW_SET_UF(AC97_REG_LINE1_RATE),v1930); | |
} | |
fDev_Pci_Auich_auichWriteCodec(gc,arena,v1870,RAW_SET_UF(AC97_REG_LINE1_LEVEL),RAW_SET_UF(0)); | |
wptr_t x42 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Prim_Prim_$LccR); | |
((struct sCJhc_Prim_Prim_$LccR*)x42)->a1 = v176586370; | |
((struct sCJhc_Prim_Prim_$LccR*)x42)->a2 = v150360142; | |
((struct sCJhc_Prim_Prim_$LccR*)x42)->a3 = v64614476; | |
wptr_t v1934 = x42; | |
sptr_t v95297350 = demote(v1934); | |
{ gc_frame0(gc,1,v95297350); | |
wptr_t x43 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Right); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Right*)x43,CJhc_Type_Basic_Right); | |
((struct sCJhc_Type_Basic_Right*)x43)->a1 = v95297350; | |
v1762 = x43; | |
} | |
} else { | |
v1762 = PROMOTE(c3); | |
} | |
} | |
} | |
} else { | |
/* 1 */ | |
assert(1 == v137486614); | |
{ uint32_t v33729112; | |
gc_frame0(gc,1,v1870); | |
wptr_t v100104 = eval(gc,arena,v64614476); | |
v33729112 = ((struct sCJhc_Type_Word_Int*)v100104)->a1; | |
uint32_t v120087508 = (v33729112 * sizeof(struct audio_format)); | |
uint32_t v245783994 = (offsetof(struct auich_softc, sc_audio_formats) + v120087508); | |
uintptr_t v206629276 = ((intptr_t)((int32_t)v245783994)); | |
uintptr_t v192968706 = (v606386 + v206629276); | |
uintptr_t v11751994 = (v192968706 + ((intptr_t)((int32_t)offsetof(struct audio_format, frequency_type)))); | |
uint32_t v127463882 = *((int *)(v11751994)); | |
if (1 == v127463882) { | |
wptr_t x44 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Prim_Prim_$LccR); | |
((struct sCJhc_Prim_Prim_$LccR*)x44)->a1 = v176586370; | |
((struct sCJhc_Prim_Prim_$LccR*)x44)->a2 = v150360142; | |
((struct sCJhc_Prim_Prim_$LccR*)x44)->a3 = v64614476; | |
wptr_t v1881 = x44; | |
sptr_t v79653102 = demote(v1881); | |
{ gc_frame0(gc,1,v79653102); | |
wptr_t x45 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Right); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Right*)x45,CJhc_Type_Basic_Right); | |
((struct sCJhc_Type_Basic_Right*)x45)->a1 = v79653102; | |
v1762 = x45; | |
} | |
} else { | |
sptr_t v151514820; | |
uint32_t v165432870; | |
uintptr_t v245228926; | |
wptr_t v100106 = eval(gc,arena,v176586370); | |
v245228926 = ((struct sCJhc_Type_Ptr_Ptr*)v100106)->a1; | |
uintptr_t v208364922 = (v245228926 + ((intptr_t)((int32_t)offsetof(struct audio_params, sample_rate)))); | |
uint32_t v196385516 = *((int *)(v208364922)); | |
uintmax_t v256832204 = ((uintmax_t)v196385516); | |
uintptr_t v78382144 = ((uintptr_t)v256832204); | |
wptr_t x46 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_WordPtr); | |
((struct sCJhc_Type_Word_WordPtr*)x46)->a1 = v78382144; | |
wptr_t v1892 = x46; | |
{ gc_frame0(gc,1,v1892); | |
v151514820 = fx133152257(gc,arena,v1870,v1523,v1892); | |
} | |
wptr_t v100108 = eval(gc,arena,v151514820); | |
v165432870 = ((struct sCJhc_Type_Word_Int*)v100108)->a1; | |
if (0 == v165432870) { | |
wptr_t x47 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Prim_Prim_$LccR); | |
((struct sCJhc_Prim_Prim_$LccR*)x47)->a1 = v176586370; | |
((struct sCJhc_Prim_Prim_$LccR*)x47)->a2 = v150360142; | |
((struct sCJhc_Prim_Prim_$LccR*)x47)->a3 = v64614476; | |
wptr_t v3795 = x47; | |
sptr_t v36833254 = demote(v3795); | |
{ gc_frame0(gc,1,v36833254); | |
wptr_t x48 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Right); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Right*)x48,CJhc_Type_Basic_Right); | |
((struct sCJhc_Type_Basic_Right*)x48)->a1 = v36833254; | |
v1762 = x48; | |
} | |
} else { | |
v1762 = PROMOTE(c3); | |
} | |
} | |
} | |
} | |
} | |
} | |
if (CJhc_Type_Basic_Left == FETCH_TAG(v1762)) { | |
sptr_t v246624244; | |
v246624244 = ((struct sCJhc_Type_Basic_Left*)v1762)->a1; | |
{ gc_frame0(gc,1,v246624244); | |
wptr_t x49 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Left); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Left*)x49,CJhc_Type_Basic_Left); | |
((struct sCJhc_Type_Basic_Left*)x49)->a1 = v246624244; | |
return x49; | |
} | |
} else { | |
sptr_t v67242578; | |
sptr_t v76483310; | |
/* ("CJhc.Type.Basic.Right" ni76483310) */ | |
v76483310 = ((struct sCJhc_Type_Basic_Right*)v1762)->a1; | |
wptr_t v100130 = eval(gc,arena,v76483310); | |
v67242578 = ((struct sCJhc_Prim_Prim_$LccR*)v100130)->a1; | |
uint16_t v100132 = (v1692283961 == AUMODE_PLAY); | |
if (0 == v100132) { | |
} else { | |
/* 1 */ | |
assert(1 == v100132); | |
uint16_t v100134 = (v203886776 == AC97_CODEC_TYPE_AUDIO); | |
if (0 == v100134) { | |
} else { | |
sptr_t v10112356; | |
uintptr_t v28059882; | |
/* 1 */ | |
assert(1 == v100134); | |
uintptr_t v41060116 = (v606386 + ((intptr_t)((int32_t)offsetof(struct auich_softc, iot)))); | |
uintptr_t v195460596 = *((uintptr_t *)(v41060116)); | |
uintptr_t v53168210 = (v606386 + ((intptr_t)((int32_t)offsetof(struct auich_softc, aud_ioh)))); | |
uintptr_t v251243818 = *((uintptr_t *)(v53168210)); | |
uintptr_t v160744292 = (v606386 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_modem_offset)))); | |
uintptr_t v44119800 = *((size_t *)(v160744292)); | |
uintptr_t v75828520 = (ICH_GCTRL + v44119800); | |
uint32_t v260587484 = ((uint32_t)bus_space_read_4((HsPtr)v195460596,(unsigned long)v251243818,(size_t)v75828520)); | |
{ gc_frame0(gc,1,v67242578); | |
v10112356 = fDev_AudioIf_p__AudioParamsT__channels(gc,arena,v67242578); | |
} | |
wptr_t v100136 = eval(gc,arena,v10112356); | |
v28059882 = ((struct sCJhc_Type_Ptr_Ptr*)v100136)->a1; | |
uint32_t v186660876 = *((int *)(v28059882)); | |
uintptr_t v165876934 = (v606386 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_pcm246_mask)))); | |
uint32_t v260587492 = *((uint32_t *)(v165876934)); | |
uintptr_t v28631068 = (v606386 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_pcm4)))); | |
uint32_t v214396902 = *((uint32_t *)(v28631068)); | |
uintptr_t v48578440 = (v606386 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_pcm6)))); | |
uint32_t v165876942 = *((uint32_t *)(v48578440)); | |
uintptr_t v261247682 = (ICH_GCTRL + v44119800); | |
uint32_t v219145900 = (~v260587492); | |
uint32_t v171612948 = (v260587484 & v219145900); | |
if (4 == v186660876) { | |
uint32_t v33337812 = (v171612948 | v214396902); | |
bus_space_write_4((HsPtr)v195460596,(unsigned long)v251243818,(size_t)v261247682,(uint32_t)v33337812); | |
} else { | |
uint32_t v183916736 = (v171612948 | v165876942); | |
bus_space_write_4((HsPtr)v195460596,(unsigned long)v251243818,(size_t)v261247682,(uint32_t)v183916736); | |
} | |
} | |
} | |
return PROMOTE(c1); | |
} | |
} | |
} | |
} else { | |
/* 1 */ | |
assert(1 == v100016); | |
if (0 == v92531714) { | |
return PROMOTE(c1); | |
} else { | |
uintptr_t v42458064 = (v606386 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_codectype)))); | |
uint32_t v120087510 = *((uint32_t *)(v42458064)); | |
uintptr_t v29208316 = (v92531714 + ((intptr_t)((int32_t)offsetof(struct audio_params, sample_rate)))); | |
uint32_t v51294368 = *((int *)(v29208316)); | |
uint16_t v100018 = (v120087510 == AC97_CODEC_TYPE_AUDIO); | |
{ wptr_t v1425; | |
wptr_t v3105; | |
wptr_t v4344; | |
gc_frame0(gc,1,v1523); | |
if (0 == v100018) { | |
v1425 = PROMOTE(c3); | |
} else { | |
/* 1 */ | |
assert(1 == v100018); | |
uint16_t v100020 = (((int32_t)8000) > ((int32_t)v51294368)); | |
if (0 == v100020) { | |
uint16_t v100022 = (((int32_t)48000) < ((int32_t)v51294368)); | |
if (0 == v100022) { | |
sptr_t v1426; | |
sptr_t v1595; | |
sptr_t v1597; | |
struct tup2 x50; | |
uintptr_t v261514472 = (v606386 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_spdif)))); | |
uint32_t v192968708 = ((uint32_t)hs_peekbool((HsBool*)v261514472)); | |
if (0 == v192968708) { | |
wptr_t x51 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x51)->a1 = v92531714; | |
wptr_t v1537 = x51; | |
sptr_t v1686516783 = demote(v1537); | |
uint16_t v100024 = (v1692283961 == AUMODE_PLAY); | |
if (0 == v100024) { | |
{ gc_frame0(gc,1,v1686516783); | |
wptr_t x52 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x52)->a1 = v196; | |
wptr_t v1549 = x52; | |
sptr_t v173801152 = demote(v1549); | |
uintptr_t v117600218 = (v606386 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_audio_formats)))); | |
uint32_t v26450572 = ((uint32_t)auconv_set_converter((HsPtr)v117600218,(int)AUICH_AUDIO_NFORMATS,(int)v1692283961,(HsPtr)v92531714,(int)1,(HsPtr)v196)); | |
{ gc_frame0(gc,1,v173801152); | |
wptr_t x53 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Int); | |
((struct sCJhc_Type_Word_Int*)x53)->a1 = v26450572; | |
wptr_t v1553 = x53; | |
sptr_t v78382140 = demote(v1553); | |
x50.t0 = v1686516783; | |
x50.t1 = v173801152; | |
x50.t2 = v78382140; | |
} | |
} | |
} else { | |
/* 1 */ | |
assert(1 == v100024); | |
{ gc_frame0(gc,1,v1686516783); | |
wptr_t x54 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x54)->a1 = v209401808; | |
wptr_t v1540 = x54; | |
sptr_t v1689531435 = demote(v1540); | |
uintptr_t v87687694 = (v606386 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_audio_formats)))); | |
uint32_t v107001064 = ((uint32_t)auconv_set_converter((HsPtr)v87687694,(int)AUICH_AUDIO_NFORMATS,(int)v1692283961,(HsPtr)v92531714,(int)1,(HsPtr)v209401808)); | |
{ gc_frame0(gc,1,v1689531435); | |
wptr_t x55 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Int); | |
((struct sCJhc_Type_Word_Int*)x55)->a1 = v107001064; | |
wptr_t v1544 = x55; | |
sptr_t v246712078 = demote(v1544); | |
x50.t0 = v1686516783; | |
x50.t1 = v1689531435; | |
x50.t2 = v246712078; | |
} | |
} | |
} | |
} else { | |
wptr_t x56 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x56)->a1 = v92531714; | |
wptr_t v1559 = x56; | |
sptr_t v135370990 = demote(v1559); | |
uint16_t v100026 = (v1692283961 == AUMODE_PLAY); | |
if (0 == v100026) { | |
{ gc_frame0(gc,1,v135370990); | |
wptr_t x57 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x57)->a1 = v196; | |
wptr_t v1571 = x57; | |
sptr_t v242479202 = demote(v1571); | |
uintptr_t v14348048 = ((uintptr_t)get_auich_spdif_formats()); | |
uint32_t v4177720 = ((uint32_t)auconv_set_converter((HsPtr)v14348048,(int)AUICH_SPDIF_NFORMATS,(int)v1692283961,(HsPtr)v92531714,(int)1,(HsPtr)v196)); | |
{ gc_frame0(gc,1,v242479202); | |
wptr_t x58 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Int); | |
((struct sCJhc_Type_Word_Int*)x58)->a1 = v4177720; | |
wptr_t v1575 = x58; | |
sptr_t v244867476 = demote(v1575); | |
x50.t0 = v135370990; | |
x50.t1 = v242479202; | |
x50.t2 = v244867476; | |
} | |
} | |
} else { | |
/* 1 */ | |
assert(1 == v100026); | |
{ gc_frame0(gc,1,v135370990); | |
wptr_t x59 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x59)->a1 = v209401808; | |
wptr_t v1562 = x59; | |
sptr_t v44000686 = demote(v1562); | |
uintptr_t v148134850 = ((uintptr_t)get_auich_spdif_formats()); | |
uint32_t v111307258 = ((uint32_t)auconv_set_converter((HsPtr)v148134850,(int)AUICH_SPDIF_NFORMATS,(int)v1692283961,(HsPtr)v92531714,(int)1,(HsPtr)v209401808)); | |
{ gc_frame0(gc,1,v44000686); | |
wptr_t x60 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Int); | |
((struct sCJhc_Type_Word_Int*)x60)->a1 = v111307258; | |
wptr_t v1566 = x60; | |
sptr_t v45539880 = demote(v1566); | |
x50.t0 = v135370990; | |
x50.t1 = v44000686; | |
x50.t2 = v45539880; | |
} | |
} | |
} | |
} | |
v1426 = x50.t0; | |
v1595 = x50.t1; | |
v1597 = x50.t2; | |
{ gc_frame0(gc,3,v1426,v1595,v1597); | |
wptr_t x61 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Prim_Prim_$LccR); | |
((struct sCJhc_Prim_Prim_$LccR*)x61)->a1 = v1426; | |
((struct sCJhc_Prim_Prim_$LccR*)x61)->a2 = v1595; | |
((struct sCJhc_Prim_Prim_$LccR*)x61)->a3 = v1597; | |
wptr_t v2905 = x61; | |
sptr_t v2900 = demote(v2905); | |
{ gc_frame0(gc,1,v2900); | |
wptr_t x62 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Right); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Right*)x62,CJhc_Type_Basic_Right); | |
((struct sCJhc_Type_Basic_Right*)x62)->a1 = v2900; | |
v1425 = x62; | |
} | |
} | |
} else { | |
/* 1 */ | |
assert(1 == v100022); | |
v1425 = PROMOTE(c3); | |
} | |
} else { | |
/* 1 */ | |
assert(1 == v100020); | |
v1425 = PROMOTE(c3); | |
} | |
} | |
if (CJhc_Type_Basic_Left == FETCH_TAG(v1425)) { | |
sptr_t v54181510; | |
v54181510 = ((struct sCJhc_Type_Basic_Left*)v1425)->a1; | |
{ gc_frame0(gc,1,v54181510); | |
wptr_t x63 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Left); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Left*)x63,CJhc_Type_Basic_Left); | |
((struct sCJhc_Type_Basic_Left*)x63)->a1 = v54181510; | |
v4344 = x63; | |
} | |
} else { | |
sptr_t v177904410; | |
sptr_t v224988698; | |
sptr_t v26624106; | |
sptr_t v2789334; | |
/* ("CJhc.Type.Basic.Right" ni26624106) */ | |
v26624106 = ((struct sCJhc_Type_Basic_Right*)v1425)->a1; | |
wptr_t v100030 = eval(gc,arena,v26624106); | |
v2789334 = ((struct sCJhc_Prim_Prim_$LccR*)v100030)->a1; | |
v177904410 = ((struct sCJhc_Prim_Prim_$LccR*)v100030)->a2; | |
v224988698 = ((struct sCJhc_Prim_Prim_$LccR*)v100030)->a3; | |
{ uint32_t v130284332; | |
gc_frame0(gc,3,v2789334,v177904410,v224988698); | |
wptr_t v100032 = eval(gc,arena,v224988698); | |
v130284332 = ((struct sCJhc_Type_Word_Int*)v100032)->a1; | |
uint16_t v100034 = (((int32_t)0) > ((int32_t)v130284332)); | |
if (0 == v100034) { | |
sptr_t v1449; | |
sptr_t v1451; | |
sptr_t v171612950; | |
sptr_t v2893; | |
uintptr_t v1780418; | |
struct tup2 x64; | |
v171612950 = fDev_AudioIf_p__StreamFilterList__req__size(gc,arena,v177904410); | |
wptr_t v100036 = eval(gc,arena,v171612950); | |
v1780418 = ((struct sCJhc_Type_Ptr_Ptr*)v100036)->a1; | |
uint32_t v227732188 = *((uint32_t *)(v1780418)); | |
uint16_t v100038 = (((int32_t)0) < ((int32_t)v227732188)); | |
if (0 == v100038) { | |
x64.t0 = v2789334; | |
x64.t1 = v177904410; | |
x64.t2 = v224988698; | |
} else { | |
/* 1 */ | |
assert(1 == v100038); | |
sptr_t x65 = s_alloc(gc,arena,public_caches(arena)->cFFE$__CCall_auichSetParams$d2); | |
((struct sFFE$__CCall_auichSetParams$d2*)x65)->head = TO_FPTR(&E__fFE$__CCall_auichSetParams$d2); | |
((struct sFFE$__CCall_auichSetParams$d2*)x65)->a1 = v177904410; | |
sptr_t v219339026 = MKLAZY(x65); | |
x64.t0 = v219339026; | |
x64.t1 = v177904410; | |
x64.t2 = v224988698; | |
} | |
v2893 = x64.t0; | |
v1449 = x64.t1; | |
v1451 = x64.t2; | |
{ gc_frame0(gc,3,v1449,v1451,v2893); | |
wptr_t x66 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Prim_Prim_$LccR); | |
((struct sCJhc_Prim_Prim_$LccR*)x66)->a1 = v2893; | |
((struct sCJhc_Prim_Prim_$LccR*)x66)->a2 = v1449; | |
((struct sCJhc_Prim_Prim_$LccR*)x66)->a3 = v1451; | |
wptr_t v1445 = x66; | |
sptr_t v1441 = demote(v1445); | |
{ gc_frame0(gc,1,v1441); | |
wptr_t x67 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Right); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Right*)x67,CJhc_Type_Basic_Right); | |
((struct sCJhc_Type_Basic_Right*)x67)->a1 = v1441; | |
v4344 = x67; | |
} | |
} | |
} else { | |
/* 1 */ | |
assert(1 == v100034); | |
v4344 = PROMOTE(c3); | |
} | |
} | |
} | |
if (CJhc_Type_Basic_Left == FETCH_TAG(v4344)) { | |
sptr_t v104319394; | |
v104319394 = ((struct sCJhc_Type_Basic_Left*)v4344)->a1; | |
{ gc_frame0(gc,1,v104319394); | |
wptr_t x68 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Left); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Left*)x68,CJhc_Type_Basic_Left); | |
((struct sCJhc_Type_Basic_Left*)x68)->a1 = v104319394; | |
v3105 = x68; | |
} | |
} else { | |
sptr_t v10112352; | |
sptr_t v264851502; | |
sptr_t v58; | |
sptr_t v63628386; | |
/* ("CJhc.Type.Basic.Right" ni10112352) */ | |
v10112352 = ((struct sCJhc_Type_Basic_Right*)v4344)->a1; | |
wptr_t v100042 = eval(gc,arena,v10112352); | |
v63628386 = ((struct sCJhc_Prim_Prim_$LccR*)v100042)->a1; | |
v58 = ((struct sCJhc_Prim_Prim_$LccR*)v100042)->a2; | |
v264851502 = ((struct sCJhc_Prim_Prim_$LccR*)v100042)->a3; | |
uint16_t v111142938 = (v120087510 == AC97_CODEC_TYPE_AUDIO); | |
{ gc_frame0(gc,3,v58,v63628386,v264851502); | |
wptr_t x69 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x69)->a1 = v606386; | |
wptr_t v1621 = x69; | |
if (0 == v111142938) { | |
{ uint32_t v121824440; | |
gc_frame0(gc,1,v1621); | |
wptr_t v100050 = eval(gc,arena,v264851502); | |
v121824440 = ((struct sCJhc_Type_Word_Int*)v100050)->a1; | |
uint32_t v119410564 = (v121824440 * sizeof(struct audio_format)); | |
uint32_t v194508210 = (offsetof(struct auich_softc, sc_modem_formats) + v119410564); | |
uintptr_t v242256500 = ((intptr_t)((int32_t)v194508210)); | |
uintptr_t v198238808 = (v606386 + v242256500); | |
uintptr_t v267321786 = (v198238808 + ((intptr_t)((int32_t)offsetof(struct audio_format, frequency_type)))); | |
uint32_t v94356372 = *((int *)(v267321786)); | |
if (1 == v94356372) { | |
wptr_t x70 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Prim_Prim_$LccR); | |
((struct sCJhc_Prim_Prim_$LccR*)x70)->a1 = v63628386; | |
((struct sCJhc_Prim_Prim_$LccR*)x70)->a2 = v58; | |
((struct sCJhc_Prim_Prim_$LccR*)x70)->a3 = v264851502; | |
wptr_t v1662 = x70; | |
sptr_t v31577662 = demote(v1662); | |
{ gc_frame0(gc,1,v31577662); | |
wptr_t x71 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Right); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Right*)x71,CJhc_Type_Basic_Right); | |
((struct sCJhc_Type_Basic_Right*)x71)->a1 = v31577662; | |
v3105 = x71; | |
} | |
} else { | |
sptr_t v85954376; | |
uintptr_t v135170746; | |
uint32_t v208569444; | |
wptr_t v100052 = eval(gc,arena,v63628386); | |
v135170746 = ((struct sCJhc_Type_Ptr_Ptr*)v100052)->a1; | |
uintptr_t v168294382 = (v135170746 + ((intptr_t)((int32_t)offsetof(struct audio_params, sample_rate)))); | |
uint32_t v79172084 = *((int *)(v168294382)); | |
uintmax_t v59069494 = ((uintmax_t)v79172084); | |
uintptr_t v80007682 = ((uintptr_t)v59069494); | |
wptr_t x72 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_WordPtr); | |
((struct sCJhc_Type_Word_WordPtr*)x72)->a1 = v80007682; | |
wptr_t v1673 = x72; | |
{ gc_frame0(gc,1,v1673); | |
v85954376 = fDev_Pci_Auich_auichSetRate(gc,arena,v1621,v1523,v1673); | |
} | |
wptr_t v100054 = eval(gc,arena,v85954376); | |
v208569444 = ((struct sCJhc_Type_Word_Int*)v100054)->a1; | |
if (0 == v208569444) { | |
uintmax_t v240673858 = ((uintmax_t)v79172084); | |
uint16_t v194508220 = ((uint16_t)v240673858); | |
wptr_t v1681 = RAW_SET_UF(v194508220); | |
{ gc_frame0(gc,1,v1681); | |
fDev_Pci_Auich_auichWriteCodec(gc,arena,v1621,RAW_SET_UF(AC97_REG_LINE1_RATE),v1681); | |
} | |
fDev_Pci_Auich_auichWriteCodec(gc,arena,v1621,RAW_SET_UF(AC97_REG_LINE1_LEVEL),RAW_SET_UF(0)); | |
wptr_t x73 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Prim_Prim_$LccR); | |
((struct sCJhc_Prim_Prim_$LccR*)x73)->a1 = v63628386; | |
((struct sCJhc_Prim_Prim_$LccR*)x73)->a2 = v58; | |
((struct sCJhc_Prim_Prim_$LccR*)x73)->a3 = v264851502; | |
wptr_t v1685 = x73; | |
sptr_t v108754598 = demote(v1685); | |
{ gc_frame0(gc,1,v108754598); | |
wptr_t x74 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Right); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Right*)x74,CJhc_Type_Basic_Right); | |
((struct sCJhc_Type_Basic_Right*)x74)->a1 = v108754598; | |
v3105 = x74; | |
} | |
} else { | |
v3105 = PROMOTE(c3); | |
} | |
} | |
} | |
} else { | |
/* 1 */ | |
assert(1 == v111142938); | |
{ uint32_t v176065410; | |
gc_frame0(gc,1,v1621); | |
wptr_t v100044 = eval(gc,arena,v264851502); | |
v176065410 = ((struct sCJhc_Type_Word_Int*)v100044)->a1; | |
uint32_t v158044790 = (v176065410 * sizeof(struct audio_format)); | |
uint32_t v212060610 = (offsetof(struct auich_softc, sc_audio_formats) + v158044790); | |
uintptr_t v108990010 = ((intptr_t)((int32_t)v212060610)); | |
uintptr_t v6704984 = (v606386 + v108990010); | |
uintptr_t v194635132 = (v6704984 + ((intptr_t)((int32_t)offsetof(struct audio_format, frequency_type)))); | |
uint32_t v35878050 = *((int *)(v194635132)); | |
if (1 == v35878050) { | |
wptr_t x75 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Prim_Prim_$LccR); | |
((struct sCJhc_Prim_Prim_$LccR*)x75)->a1 = v63628386; | |
((struct sCJhc_Prim_Prim_$LccR*)x75)->a2 = v58; | |
((struct sCJhc_Prim_Prim_$LccR*)x75)->a3 = v264851502; | |
wptr_t v1632 = x75; | |
sptr_t v230105880 = demote(v1632); | |
{ gc_frame0(gc,1,v230105880); | |
wptr_t x76 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Right); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Right*)x76,CJhc_Type_Basic_Right); | |
((struct sCJhc_Type_Basic_Right*)x76)->a1 = v230105880; | |
v3105 = x76; | |
} | |
} else { | |
sptr_t v102549692; | |
uint32_t v128694240; | |
uintptr_t v220415150; | |
wptr_t v100046 = eval(gc,arena,v63628386); | |
v220415150 = ((struct sCJhc_Type_Ptr_Ptr*)v100046)->a1; | |
uintptr_t v82174986 = (v220415150 + ((intptr_t)((int32_t)offsetof(struct audio_params, sample_rate)))); | |
uint32_t v88032712 = *((int *)(v82174986)); | |
uintmax_t v90861656 = ((uintmax_t)v88032712); | |
uintptr_t v1217250 = ((uintptr_t)v90861656); | |
wptr_t x77 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_WordPtr); | |
((struct sCJhc_Type_Word_WordPtr*)x77)->a1 = v1217250; | |
wptr_t v1643 = x77; | |
{ gc_frame0(gc,1,v1643); | |
v102549692 = fDev_Pci_Auich_auichSetRate(gc,arena,v1621,v1523,v1643); | |
} | |
wptr_t v100048 = eval(gc,arena,v102549692); | |
v128694240 = ((struct sCJhc_Type_Word_Int*)v100048)->a1; | |
if (0 == v128694240) { | |
wptr_t x78 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Prim_Prim_$LccR); | |
((struct sCJhc_Prim_Prim_$LccR*)x78)->a1 = v63628386; | |
((struct sCJhc_Prim_Prim_$LccR*)x78)->a2 = v58; | |
((struct sCJhc_Prim_Prim_$LccR*)x78)->a3 = v264851502; | |
wptr_t v1649 = x78; | |
sptr_t v162023252 = demote(v1649); | |
{ gc_frame0(gc,1,v162023252); | |
wptr_t x79 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Right); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Right*)x79,CJhc_Type_Basic_Right); | |
((struct sCJhc_Type_Basic_Right*)x79)->a1 = v162023252; | |
v3105 = x79; | |
} | |
} else { | |
v3105 = PROMOTE(c3); | |
} | |
} | |
} | |
} | |
} | |
} | |
if (CJhc_Type_Basic_Left == FETCH_TAG(v3105)) { | |
sptr_t v251295706; | |
v251295706 = ((struct sCJhc_Type_Basic_Left*)v3105)->a1; | |
{ gc_frame0(gc,1,v251295706); | |
wptr_t x80 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Left); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Left*)x80,CJhc_Type_Basic_Left); | |
((struct sCJhc_Type_Basic_Left*)x80)->a1 = v251295706; | |
return x80; | |
} | |
} else { | |
sptr_t v148739198; | |
sptr_t v307; | |
/* ("CJhc.Type.Basic.Right" ni148739198) */ | |
v148739198 = ((struct sCJhc_Type_Basic_Right*)v3105)->a1; | |
wptr_t v100070 = eval(gc,arena,v148739198); | |
v307 = ((struct sCJhc_Prim_Prim_$LccR*)v100070)->a1; | |
uint16_t v100072 = (v1692283961 == AUMODE_PLAY); | |
if (0 == v100072) { | |
} else { | |
/* 1 */ | |
assert(1 == v100072); | |
uint16_t v100074 = (v120087510 == AC97_CODEC_TYPE_AUDIO); | |
if (0 == v100074) { | |
} else { | |
sptr_t v239100278; | |
uintptr_t v172090980; | |
/* 1 */ | |
assert(1 == v100074); | |
uintptr_t v140584654 = (v606386 + ((intptr_t)((int32_t)offsetof(struct auich_softc, iot)))); | |
uintptr_t v226454206 = *((uintptr_t *)(v140584654)); | |
uintptr_t v147317240 = (v606386 + ((intptr_t)((int32_t)offsetof(struct auich_softc, aud_ioh)))); | |
uintptr_t v107001070 = *((uintptr_t *)(v147317240)); | |
uintptr_t v138260332 = (v606386 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_modem_offset)))); | |
uintptr_t v246712088 = *((size_t *)(v138260332)); | |
uintptr_t v109152426 = (ICH_GCTRL + v246712088); | |
uint32_t v3653044 = ((uint32_t)bus_space_read_4((HsPtr)v226454206,(unsigned long)v107001070,(size_t)v109152426)); | |
{ gc_frame0(gc,1,v307); | |
v239100278 = fDev_AudioIf_p__AudioParamsT__channels(gc,arena,v307); | |
} | |
wptr_t v100076 = eval(gc,arena,v239100278); | |
v172090980 = ((struct sCJhc_Type_Ptr_Ptr*)v100076)->a1; | |
uint32_t v147864908 = *((int *)(v172090980)); | |
uintptr_t v30877582 = (v606386 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_pcm246_mask)))); | |
uint32_t v159335790 = *((uint32_t *)(v30877582)); | |
uintptr_t v205428828 = (v606386 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_pcm4)))); | |
uint32_t v114140706 = *((uint32_t *)(v205428828)); | |
uintptr_t v206870250 = (v606386 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_pcm6)))); | |
uint32_t v13593610 = *((uint32_t *)(v206870250)); | |
uintptr_t v227585992 = (ICH_GCTRL + v246712088); | |
uint32_t v118721824 = (~v159335790); | |
uint32_t v62685466 = (v3653044 & v118721824); | |
if (4 == v147864908) { | |
uint32_t v108955764 = (v62685466 | v114140706); | |
bus_space_write_4((HsPtr)v226454206,(unsigned long)v107001070,(size_t)v227585992,(uint32_t)v108955764); | |
} else { | |
uint32_t v222802716 = (v62685466 | v13593610); | |
bus_space_write_4((HsPtr)v226454206,(unsigned long)v107001070,(size_t)v227585992,(uint32_t)v222802716); | |
} | |
} | |
} | |
return PROMOTE(c1); | |
} | |
} | |
} | |
} | |
} | |
} | |
static wptr_t A_STD A_MALLOC | |
fW$__fDev_Pci_Auich_Intr_auichIntrPipe(gc_t gc,arena_t arena,wptr_t v1828205617,uint32_t v1824011329,wptr_t v135170748) | |
{ | |
{ sptr_t v65312590; | |
uintptr_t v251973244; | |
uintptr_t v256943490; | |
uintptr_t v45052584; | |
gc_frame0(gc,2,v135170748,v1828205617); | |
v65312590 = fDev_Pci_Auich_Ptr_p__AuichRing__blksize(gc,arena,v135170748); | |
wptr_t v100344 = eval(gc,arena,v65312590); | |
v256943490 = ((struct sCJhc_Type_Ptr_Ptr*)v100344)->a1; | |
uint32_t v115766308 = *((uint32_t *)(v256943490)); | |
v251973244 = ((struct sCJhc_Type_Ptr_Ptr*)v1828205617)->a1; | |
uintptr_t v108955760 = (v251973244 + ((intptr_t)((int32_t)offsetof(struct auich_softc, iot)))); | |
uintptr_t v246712084 = *((uintptr_t *)(v108955760)); | |
uintptr_t v75583678 = (v251973244 + ((intptr_t)((int32_t)offsetof(struct auich_softc, aud_ioh)))); | |
uintptr_t v198205322 = *((uintptr_t *)(v75583678)); | |
uintptr_t v206289776 = ((intptr_t)((int32_t)v1824011329)); | |
uintptr_t v53587372 = (v206289776 + ICH_CIV); | |
uint8_t v13593614 = ((uint8_t)bus_space_read_1((HsPtr)v246712084,(unsigned long)v198205322,(size_t)v53587372)); | |
uintptr_t v257529850 = (v251973244 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_sample_shift)))); | |
uint32_t v87539968 = *((uint32_t *)(v257529850)); | |
v45052584 = ((struct sCJhc_Type_Ptr_Ptr*)v135170748)->a1; | |
uintptr_t v58334284 = (v45052584 + ((intptr_t)((int32_t)offsetof(struct auich_ring, start)))); | |
uint32_t v56119438 = *((uint32_t *)(v58334284)); | |
uintptr_t v21055632 = (v45052584 + ((intptr_t)((int32_t)offsetof(struct auich_ring, end)))); | |
uint32_t v153819168 = *((uint32_t *)(v21055632)); | |
uintptr_t v241309826 = (v45052584 + ((intptr_t)((int32_t)offsetof(struct auich_ring, intr)))); | |
uintptr_t v163205526 = *((uintptr_t *)(v241309826)); | |
uintptr_t v109152424 = (v45052584 + ((intptr_t)((int32_t)offsetof(struct auich_ring, qptr)))); | |
uint32_t v42970054 = *((uint32_t *)(v109152424)); | |
sptr_t x252 = s_alloc(gc,arena,public_caches(arena)->cFW$__fDev_Pci_Auich_Intr_auichIntrPipe$d2); | |
((struct sFW$__fDev_Pci_Auich_Intr_auichIntrPipe$d2*)x252)->head = TO_FPTR(&E__fW$__fDev_Pci_Auich_Intr_auichIntrPipe$d2); | |
((struct sFW$__fDev_Pci_Auich_Intr_auichIntrPipe$d2*)x252)->a1 = v135170748; | |
sptr_t v103925140 = MKLAZY(x252); | |
{ uint32_t v215130362; | |
gc_frame0(gc,1,v103925140); | |
v215130362 = v42970054; | |
fW$__fDev_Pci_Auich_Intr_13__while__253:; | |
{ uint8_t v68216832 = ((uint8_t)v215130362); | |
uint16_t v100350 = (v68216832 == v13593614); | |
if (0 == v100350) { | |
uint32_t v1742; | |
uintptr_t v214396898; | |
uintptr_t v178407644 = (v45052584 + ((intptr_t)((int32_t)offsetof(struct auich_ring, dmalist)))); | |
uintptr_t v219478864 = *((uintptr_t *)(v178407644)); | |
wptr_t v100352 = eval(gc,arena,v103925140); | |
v214396898 = ((struct sCJhc_Type_Ptr_Ptr*)v100352)->a1; | |
uint32_t v108428560 = *((uint32_t *)(v214396898)); | |
uint32_t v166168412 = (sizeof(struct auich_dmalist) * v215130362); | |
uintptr_t v162777576 = ((intptr_t)((int32_t)v166168412)); | |
uintptr_t v47086274 = (v219478864 + v162777576); | |
uintptr_t v131743044 = (v47086274 + ((intptr_t)((int32_t)offsetof(struct auich_dmalist, base)))); | |
*((uint32_t *)(v131743044)) = v108428560; | |
uint32_t v188192948 = (1 + v215130362); | |
uint32_t v28631072 = (v188192948 & ((uint32_t)ICH_LVI_MASK)); | |
uint32_t v29534750 = (sizeof(struct auich_dmalist) * v215130362); | |
uintptr_t v241919656 = ((intptr_t)((int32_t)v29534750)); | |
uintptr_t v84222530 = (v219478864 + v241919656); | |
uintptr_t v16106294 = (v84222530 + ((intptr_t)((int32_t)offsetof(struct auich_dmalist, len)))); | |
uint32_t v50988724 = (v115766308 >> v87539968); | |
uint32_t v79607520 = (v50988724 | ICH_DMAF_IOC); | |
*((uint32_t *)(v16106294)) = v79607520; | |
uint32_t v66102156 = (v108428560 + v115766308); | |
uint16_t v100354 = (v66102156 >= v153819168); | |
if (0 == v100354) { | |
*((uint32_t *)(v214396898)) = v66102156; | |
if (0 == v163205526) { | |
} else { | |
uintptr_t v181085616 = (v45052584 + ((intptr_t)((int32_t)offsetof(struct auich_ring, arg)))); | |
uintptr_t v145315036 = *((uintptr_t *)(v181085616)); | |
(void)((void (*)(HsPtr))v163205526)((HsPtr)v145315036); | |
} | |
v1742 = v28631072; | |
} else { | |
/* 1 */ | |
assert(1 == v100354); | |
*((uint32_t *)(v214396898)) = v56119438; | |
if (0 == v163205526) { | |
} else { | |
uintptr_t v31637640 = (v45052584 + ((intptr_t)((int32_t)offsetof(struct auich_ring, arg)))); | |
uintptr_t v245068350 = *((uintptr_t *)(v31637640)); | |
(void)((void (*)(HsPtr))v163205526)((HsPtr)v245068350); | |
} | |
v1742 = v28631072; | |
} | |
v215130362 = v1742; | |
goto fW$__fDev_Pci_Auich_Intr_13__while__253; | |
} else { | |
/* 1 */ | |
assert(1 == v100350); | |
uintptr_t v216085090 = (v45052584 + ((intptr_t)((int32_t)offsetof(struct auich_ring, qptr)))); | |
*((uint32_t *)(v216085090)) = v215130362; | |
uintptr_t v90861654 = (v251973244 + ((intptr_t)((int32_t)offsetof(struct auich_softc, iot)))); | |
uintptr_t v119285246 = *((uintptr_t *)(v90861654)); | |
uintptr_t v205779226 = (v251973244 + ((intptr_t)((int32_t)offsetof(struct auich_softc, aud_ioh)))); | |
uintptr_t v132292958 = *((uintptr_t *)(v205779226)); | |
uintptr_t v209623818 = ((intptr_t)((int32_t)v1824011329)); | |
uintptr_t v160744296 = (v209623818 + ICH_LVI); | |
uint8_t v251243816 = ((uint8_t)v215130362); | |
uint8_t v196335308 = (v251243816 - 1); | |
uint8_t v105734072 = (v196335308 & ICH_LVI_MASK); | |
bus_space_write_1((HsPtr)v119285246,(unsigned long)v132292958,(size_t)v160744296,(uint8_t)v105734072); | |
return SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} | |
} | |
} | |
} | |
} | |
static wptr_t A_STD A_MALLOC | |
fW$__fDev_Pci_Auich_Intr_auichIntrPipe$d2(gc_t gc,arena_t arena,wptr_t v1831351349) | |
{ | |
uintptr_t v230320878; | |
v230320878 = ((struct sCJhc_Type_Ptr_Ptr*)v1831351349)->a1; | |
uintptr_t v194346574 = (v230320878 + ((intptr_t)((int32_t)offsetof(struct auich_ring, p)))); | |
wptr_t x251 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x251)->a1 = v194346574; | |
return x251; | |
} | |
static sptr_t A_STD A_MALLOC | |
fW$__fDev_Pci_Auich_auichAllocmem(gc_t gc,arena_t arena,wptr_t v1791112235,uintptr_t v1793864763,uintptr_t v1787180093,uintptr_t v1783772213) | |
{ | |
wptr_t v305; | |
wptr_t v563; | |
wptr_t v571; | |
wptr_t v591; | |
uintptr_t v202526176; | |
uintptr_t v116984018 = (v1783772213 + ((intptr_t)((int32_t)offsetof(struct auich_dma, size)))); | |
*((size_t *)(v116984018)) = v1793864763; | |
v202526176 = ((struct sCJhc_Type_Ptr_Ptr*)v1791112235)->a1; | |
uintptr_t v169337066 = (v202526176 + ((intptr_t)((int32_t)offsetof(struct auich_softc, dmat)))); | |
uintptr_t v166168408 = *((uintptr_t *)(v169337066)); | |
uintptr_t v240841806 = (v1783772213 + ((intptr_t)((int32_t)offsetof(struct auich_dma, size)))); | |
uintptr_t v118721818 = *((size_t *)(v240841806)); | |
uintptr_t v5942958 = (v202526176 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_dmamap_flags)))); | |
uint32_t v153480246 = *((uint32_t *)(v5942958)); | |
uintptr_t v239029634 = (v1783772213 + ((intptr_t)((int32_t)offsetof(struct auich_dma, segs)))); | |
uintptr_t v132679386 = (v1783772213 + ((intptr_t)((int32_t)offsetof(struct auich_dma, nsegs)))); | |
uint32_t v2278 = ((uint32_t)bus_dmamem_alloc((HsPtr)v166168408,(size_t)v118721818,(size_t)v1787180093,(size_t)0,(HsPtr)v239029634,(int)AUICH_NUM_SEGS,(int*)v132679386,(int)BUS_DMA_WAITOK)); | |
uintptr_t v132127014 = (v1783772213 + ((intptr_t)((int32_t)offsetof(struct auich_dma, addr)))); | |
if (0 == v2278) { | |
wptr_t x149 = s_alloc(gc,arena,public_caches(arena)->cP1__W$__fDev_Pci_Auich_auichAllocmem$d2); | |
SET_MEM_TAG((struct sP1__W$__fDev_Pci_Auich_auichAllocmem$d2*)x149,P1__W$__fDev_Pci_Auich_auichAllocmem$d2); | |
((struct sP1__W$__fDev_Pci_Auich_auichAllocmem$d2*)x149)->a1 = v239029634; | |
((struct sP1__W$__fDev_Pci_Auich_auichAllocmem$d2*)x149)->a2 = v132679386; | |
((struct sP1__W$__fDev_Pci_Auich_auichAllocmem$d2*)x149)->a3 = v166168408; | |
wptr_t v275 = x149; | |
sptr_t v419444797 = demote(v275); | |
{ gc_frame0(gc,1,v419444797); | |
wptr_t x150 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Prim_Prim_$x3a); | |
((struct sCJhc_Prim_Prim_$x3a*)x150)->a1 = v419444797; | |
((struct sCJhc_Prim_Prim_$x3a*)x150)->a2 = ((sptr_t)SET_RAW_TAG(CJhc_Prim_Prim_$BE)); | |
wptr_t v2261 = x150; | |
sptr_t v62069334 = demote(v2261); | |
{ gc_frame0(gc,1,v62069334); | |
wptr_t x151 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Right); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Right*)x151,CJhc_Type_Basic_Right); | |
((struct sCJhc_Type_Basic_Right*)x151)->a1 = v62069334; | |
v571 = x151; | |
} | |
} | |
} else { | |
wptr_t x152 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Int); | |
((struct sCJhc_Type_Word_Int*)x152)->a1 = v2278; | |
wptr_t v2268 = x152; | |
sptr_t v185244530 = demote(v2268); | |
{ gc_frame0(gc,1,v185244530); | |
wptr_t x153 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Prim_Prim_$LcR); | |
((struct sCJhc_Prim_Prim_$LcR*)x153)->a1 = v185244530; | |
((struct sCJhc_Prim_Prim_$LcR*)x153)->a2 = ((sptr_t)SET_RAW_TAG(CJhc_Prim_Prim_$BE)); | |
wptr_t v283 = x153; | |
sptr_t v71153490 = demote(v283); | |
{ gc_frame0(gc,1,v71153490); | |
wptr_t x154 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Left); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Left*)x154,CJhc_Type_Basic_Left); | |
((struct sCJhc_Type_Basic_Left*)x154)->a1 = v71153490; | |
v571 = x154; | |
} | |
} | |
} | |
if (CJhc_Type_Basic_Left == FETCH_TAG(v571)) { | |
sptr_t v38225104; | |
v38225104 = ((struct sCJhc_Type_Basic_Left*)v571)->a1; | |
{ gc_frame0(gc,1,v38225104); | |
wptr_t x155 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Left); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Left*)x155,CJhc_Type_Basic_Left); | |
((struct sCJhc_Type_Basic_Left*)x155)->a1 = v38225104; | |
v563 = x155; | |
} | |
} else { | |
sptr_t v211324750; | |
/* ("CJhc.Type.Basic.Right" ni211324750) */ | |
v211324750 = ((struct sCJhc_Type_Basic_Right*)v571)->a1; | |
uint32_t v260952212 = *((uint32_t *)(v132679386)); | |
uint32_t v132679390 = (BUS_DMA_WAITOK | v153480246); | |
uint32_t v372 = ((uint32_t)bus_dmamem_map((HsPtr)v166168408,(HsPtr)v239029634,(int)v260952212,(size_t)v118721818,(HsPtr*)v132127014,(int)v132679390)); | |
if (0 == v372) { | |
{ gc_frame0(gc,1,v211324750); | |
wptr_t x156 = s_alloc(gc,arena,public_caches(arena)->cP1__W$__fDev_Pci_Auich_auichAllocmem$d3); | |
SET_MEM_TAG((struct sP1__W$__fDev_Pci_Auich_auichAllocmem$d3*)x156,P1__W$__fDev_Pci_Auich_auichAllocmem$d3); | |
((struct sP1__W$__fDev_Pci_Auich_auichAllocmem$d3*)x156)->a1 = v118721818; | |
((struct sP1__W$__fDev_Pci_Auich_auichAllocmem$d3*)x156)->a2 = v132127014; | |
((struct sP1__W$__fDev_Pci_Auich_auichAllocmem$d3*)x156)->a3 = v166168408; | |
wptr_t v295 = x156; | |
sptr_t v423376959 = demote(v295); | |
{ gc_frame0(gc,1,v423376959); | |
wptr_t x157 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Prim_Prim_$x3a); | |
((struct sCJhc_Prim_Prim_$x3a*)x157)->a1 = v423376959; | |
((struct sCJhc_Prim_Prim_$x3a*)x157)->a2 = v211324750; | |
wptr_t v297 = x157; | |
sptr_t v248673040 = demote(v297); | |
{ gc_frame0(gc,1,v248673040); | |
wptr_t x158 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Right); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Right*)x158,CJhc_Type_Basic_Right); | |
((struct sCJhc_Type_Basic_Right*)x158)->a1 = v248673040; | |
v563 = x158; | |
} | |
} | |
} | |
} else { | |
{ gc_frame0(gc,1,v211324750); | |
wptr_t x159 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Int); | |
((struct sCJhc_Type_Word_Int*)x159)->a1 = v372; | |
wptr_t v301 = x159; | |
sptr_t v108386436 = demote(v301); | |
{ gc_frame0(gc,1,v108386436); | |
wptr_t x160 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Prim_Prim_$LcR); | |
((struct sCJhc_Prim_Prim_$LcR*)x160)->a1 = v108386436; | |
((struct sCJhc_Prim_Prim_$LcR*)x160)->a2 = v211324750; | |
wptr_t v303 = x160; | |
sptr_t v132519856 = demote(v303); | |
{ gc_frame0(gc,1,v132519856); | |
wptr_t x161 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Left); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Left*)x161,CJhc_Type_Basic_Left); | |
((struct sCJhc_Type_Basic_Left*)x161)->a1 = v132519856; | |
v563 = x161; | |
} | |
} | |
} | |
} | |
} | |
uintptr_t v23565122 = (v1783772213 + ((intptr_t)((int32_t)offsetof(struct auich_dma, map)))); | |
if (CJhc_Type_Basic_Left == FETCH_TAG(v563)) { | |
sptr_t v123660924; | |
v123660924 = ((struct sCJhc_Type_Basic_Left*)v563)->a1; | |
{ gc_frame0(gc,1,v123660924); | |
wptr_t x162 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Left); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Left*)x162,CJhc_Type_Basic_Left); | |
((struct sCJhc_Type_Basic_Left*)x162)->a1 = v123660924; | |
v591 = x162; | |
} | |
} else { | |
sptr_t v9745020; | |
/* ("CJhc.Type.Basic.Right" ni9745020) */ | |
v9745020 = ((struct sCJhc_Type_Basic_Right*)v563)->a1; | |
uint32_t v440 = ((uint32_t)bus_dmamap_create((HsPtr)v166168408,(size_t)v118721818,(int)1,(size_t)v118721818,(size_t)0,(int)BUS_DMA_WAITOK,(HsPtr*)v23565122)); | |
if (0 == v440) { | |
{ gc_frame0(gc,1,v9745020); | |
wptr_t x163 = s_alloc(gc,arena,public_caches(arena)->cP1__W$__fDev_Pci_Auich_auichAllocmem$d4); | |
SET_MEM_TAG((struct sP1__W$__fDev_Pci_Auich_auichAllocmem$d4*)x163,P1__W$__fDev_Pci_Auich_auichAllocmem$d4); | |
((struct sP1__W$__fDev_Pci_Auich_auichAllocmem$d4*)x163)->a1 = v23565122; | |
((struct sP1__W$__fDev_Pci_Auich_auichAllocmem$d4*)x163)->a2 = v166168408; | |
wptr_t v313 = x163; | |
sptr_t v427440195 = demote(v313); | |
{ gc_frame0(gc,1,v427440195); | |
wptr_t x164 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Prim_Prim_$x3a); | |
((struct sCJhc_Prim_Prim_$x3a*)x164)->a1 = v427440195; | |
((struct sCJhc_Prim_Prim_$x3a*)x164)->a2 = v9745020; | |
wptr_t v315 = x164; | |
sptr_t v191240592 = demote(v315); | |
{ gc_frame0(gc,1,v191240592); | |
wptr_t x165 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Right); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Right*)x165,CJhc_Type_Basic_Right); | |
((struct sCJhc_Type_Basic_Right*)x165)->a1 = v191240592; | |
v591 = x165; | |
} | |
} | |
} | |
} else { | |
{ gc_frame0(gc,1,v9745020); | |
wptr_t x166 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Int); | |
((struct sCJhc_Type_Word_Int*)x166)->a1 = v440; | |
wptr_t v319 = x166; | |
sptr_t v19239268 = demote(v319); | |
{ gc_frame0(gc,1,v19239268); | |
wptr_t x167 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Prim_Prim_$LcR); | |
((struct sCJhc_Prim_Prim_$LcR*)x167)->a1 = v19239268; | |
((struct sCJhc_Prim_Prim_$LcR*)x167)->a2 = v9745020; | |
wptr_t v321 = x167; | |
sptr_t v132679392 = demote(v321); | |
{ gc_frame0(gc,1,v132679392); | |
wptr_t x168 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Left); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Left*)x168,CJhc_Type_Basic_Left); | |
((struct sCJhc_Type_Basic_Left*)x168)->a1 = v132679392; | |
v591 = x168; | |
} | |
} | |
} | |
} | |
} | |
if (CJhc_Type_Basic_Left == FETCH_TAG(v591)) { | |
sptr_t v235511032; | |
v235511032 = ((struct sCJhc_Type_Basic_Left*)v591)->a1; | |
{ gc_frame0(gc,1,v235511032); | |
wptr_t x169 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Left); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Left*)x169,CJhc_Type_Basic_Left); | |
((struct sCJhc_Type_Basic_Left*)x169)->a1 = v235511032; | |
v305 = x169; | |
} | |
} else { | |
sptr_t v264446466; | |
/* ("CJhc.Type.Basic.Right" ni264446466) */ | |
v264446466 = ((struct sCJhc_Type_Basic_Right*)v591)->a1; | |
uintptr_t v29821318 = *((uintptr_t *)(v23565122)); | |
uintptr_t v213250188 = *((uintptr_t *)(v132127014)); | |
uint32_t v56167748 = ((uint32_t)bus_dmamap_load((HsPtr)v166168408,(HsPtr)v29821318,(HsPtr)v213250188,(size_t)v118721818,(HsPtr)0,(int)BUS_DMA_WAITOK)); | |
if (0 == v56167748) { | |
v305 = PROMOTE(c25); | |
} else { | |
{ gc_frame0(gc,1,v264446466); | |
wptr_t x170 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Word_Int); | |
((struct sCJhc_Type_Word_Int*)x170)->a1 = v56167748; | |
wptr_t v334 = x170; | |
sptr_t v33876322 = demote(v334); | |
{ gc_frame0(gc,1,v33876322); | |
wptr_t x171 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Prim_Prim_$LcR); | |
((struct sCJhc_Prim_Prim_$LcR*)x171)->a1 = v33876322; | |
((struct sCJhc_Prim_Prim_$LcR*)x171)->a2 = v264446466; | |
wptr_t v720 = x171; | |
sptr_t v173975072 = demote(v720); | |
{ gc_frame0(gc,1,v173975072); | |
wptr_t x172 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Left); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Left*)x172,CJhc_Type_Basic_Left); | |
((struct sCJhc_Type_Basic_Left*)x172)->a1 = v173975072; | |
v305 = x172; | |
} | |
} | |
} | |
} | |
} | |
if (CJhc_Type_Basic_Left == FETCH_TAG(v305)) { | |
sptr_t v213979134; | |
sptr_t v94; | |
sptr_t v96; | |
v94 = ((struct sCJhc_Type_Basic_Left*)v305)->a1; | |
wptr_t v100482 = eval(gc,arena,v94); | |
v96 = ((struct sCJhc_Prim_Prim_$LcR*)v100482)->a1; | |
v213979134 = ((struct sCJhc_Prim_Prim_$LcR*)v100482)->a2; | |
{ gc_frame0(gc,1,v96); | |
{ sptr_t v209623812; | |
gc_frame0(gc,1,v213979134); | |
{ gc_frame0(gc,1,v213979134); | |
v209623812 = v213979134; | |
goto fR$__fJhc_Monad_89__f__173; | |
} | |
goto done173; | |
fR$__fJhc_Monad_89__f__173:; | |
{ wptr_t v100484 = eval(gc,arena,v209623812); | |
if (SET_RAW_TAG(CJhc_Prim_Prim_$BE) == v100484) { | |
SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} else { | |
sptr_t v2102; | |
sptr_t v60; | |
/* ("CJhc.Prim.Prim.:" ni60 ni2102) */ | |
v60 = ((struct sCJhc_Prim_Prim_$x3a*)v100484)->a1; | |
v2102 = ((struct sCJhc_Prim_Prim_$x3a*)v100484)->a2; | |
{ gc_frame0(gc,1,v2102); | |
wptr_t v100486 = eval(gc,arena,v60); | |
{ gc_frame0(gc,1,v100486); | |
bapply__56236(gc,arena,v100486); | |
} | |
v209623812 = v2102; | |
goto fR$__fJhc_Monad_89__f__173; | |
} | |
} | |
} | |
} | |
done173:; | |
return v96; | |
} | |
} else { | |
/* ("CJhc.Type.Basic.Right" ni0) */ | |
return c26; | |
} | |
} | |
static sptr_t A_STD A_MALLOC | |
fW$__fDev_Pci_Auich_auichAllocmem$d2(gc_t gc,arena_t arena,uintptr_t v103925132,uintptr_t v168445052,uintptr_t v264254036) | |
{ | |
uint32_t v77051622 = *((uint32_t *)(v168445052)); | |
bus_dmamem_free((HsPtr)v264254036,(HsPtr)v103925132,(int)v77051622); | |
return (sptr_t)SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} | |
static sptr_t A_STD A_MALLOC | |
fW$__fDev_Pci_Auich_auichAllocmem$d3(gc_t gc,arena_t arena,uintptr_t v68216842,uintptr_t v124736614,uintptr_t v260952214) | |
{ | |
uintptr_t v118721828 = *((uintptr_t *)(v124736614)); | |
bus_dmamem_unmap((HsPtr)v260952214,(HsPtr)v118721828,(size_t)v68216842); | |
return (sptr_t)SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} | |
static sptr_t A_STD A_MALLOC | |
fW$__fDev_Pci_Auich_auichAllocmem$d4(gc_t gc,arena_t arena,uintptr_t v63318412,uintptr_t v73786434) | |
{ | |
uintptr_t v223645830 = *((uintptr_t *)(v63318412)); | |
bus_dmamap_destroy((HsPtr)v73786434,(HsPtr)v223645830); | |
return (sptr_t)SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} | |
static wptr_t A_STD A_MALLOC | |
fW$__fDev_Pci_Auich_auichHaltPipe(gc_t gc,arena_t arena,wptr_t v1781019691,uint32_t v172090968) | |
{ | |
{ sptr_t v226176106; | |
uintptr_t v169337076; | |
uintptr_t v43838984; | |
gc_frame0(gc,1,v1781019691); | |
v226176106 = fDev_Pci_Auich_Ptr_p__AuichSoftc__iot(gc,arena,v1781019691); | |
wptr_t v100358 = eval(gc,arena,v226176106); | |
v169337076 = ((struct sCJhc_Type_Ptr_Ptr*)v100358)->a1; | |
uintptr_t v202961034 = *((uintptr_t *)(v169337076)); | |
v43838984 = ((struct sCJhc_Type_Ptr_Ptr*)v1781019691)->a1; | |
uintptr_t v42766586 = (v43838984 + ((intptr_t)((int32_t)offsetof(struct auich_softc, aud_ioh)))); | |
uintptr_t v89450796 = *((uintptr_t *)(v42766586)); | |
uintptr_t v10527820 = ((intptr_t)((int32_t)v172090968)); | |
uintptr_t v137643148 = (v10527820 + ICH_CTRL); | |
bus_space_write_1((HsPtr)v202961034,(unsigned long)v89450796,(size_t)v137643148,(uint8_t)0); | |
wptr_t x237 = s_alloc(gc,arena,public_caches(arena)->cP1__W$__fDev_Pci_Auich_auichHaltPipe$d2); | |
SET_MEM_TAG((struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d2*)x237,P1__W$__fDev_Pci_Auich_auichHaltPipe$d2); | |
((struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d2*)x237)->a1 = v202961034; | |
((struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d2*)x237)->a2 = v89450796; | |
((struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d2*)x237)->a3 = v172090968; | |
wptr_t v794 = x237; | |
{ wptr_t v100362; | |
wptr_t v100366; | |
gc_frame0(gc,1,v794); | |
sptr_t x238 = s_alloc(gc,arena,public_caches(arena)->cFW$__fDev_Pci_Auich_auichHaltPipe$d4); | |
((struct sFW$__fDev_Pci_Auich_auichHaltPipe$d4*)x238)->head = TO_FPTR(&E__fW$__fDev_Pci_Auich_auichHaltPipe$d4); | |
((struct sFW$__fDev_Pci_Auich_auichHaltPipe$d4*)x238)->a1 = v794; | |
sptr_t v128764926 = MKLAZY(x238); | |
{ gc_frame0(gc,1,v128764926); | |
v100362 = fW$__fDev_Pci_Auich_auichHaltPipe$d7(gc,arena,v128764926,10); | |
} | |
sptr_t v257433236 = demote(v100362); | |
{ wptr_t v123670242; | |
sptr_t v15858618; | |
gc_frame0(gc,1,v257433236); | |
{ gc_frame0(gc,1,v257433236); | |
v123670242 = SET_RAW_TAG(P1__W$__fDev_Pci_Auich_auichHaltPipe$d8); | |
v15858618 = v257433236; | |
goto fx65282210__239; | |
} | |
goto done239; | |
fx65282210__239:; | |
{ sptr_t v123671674 = demote(v123670242); | |
{ gc_frame0(gc,2,v123670242,v123671674); | |
wptr_t v100368 = eval(gc,arena,v15858618); | |
if (SET_RAW_TAG(CJhc_Prim_Prim_$BE) == v100368) { | |
v100366 = v123670242; | |
} else { | |
sptr_t v44000680; | |
sptr_t v58750238; | |
/* ("CJhc.Prim.Prim.:" ni58750238 ni44000680) */ | |
v58750238 = ((struct sCJhc_Prim_Prim_$x3a*)v100368)->a1; | |
v44000680 = ((struct sCJhc_Prim_Prim_$x3a*)v100368)->a2; | |
{ gc_frame0(gc,2,v44000680,v58750238); | |
wptr_t x240 = s_alloc(gc,arena,public_caches(arena)->cP1__W$__fDev_Pci_Auich_auichHaltPipe$d9); | |
SET_MEM_TAG((struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d9*)x240,P1__W$__fDev_Pci_Auich_auichHaltPipe$d9); | |
((struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d9*)x240)->a1 = v123671674; | |
((struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d9*)x240)->a2 = v58750238; | |
wptr_t v809 = x240; | |
{ gc_frame0(gc,1,v809); | |
v123670242 = v809; | |
v15858618 = v44000680; | |
goto fx65282210__239; | |
} | |
} | |
} | |
} | |
} | |
} | |
done239:; | |
{ gc_frame0(gc,1,v100366); | |
bapply__56236(gc,arena,v100366); | |
} | |
uintptr_t v80100078 = ((intptr_t)((int32_t)v172090968)); | |
uintptr_t v172090972 = (v80100078 + ICH_CTRL); | |
bus_space_write_1((HsPtr)v202961034,(unsigned long)v89450796,(size_t)v172090972,(uint8_t)ICH_RR); | |
return SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} | |
} | |
} | |
static wptr_t A_STD A_MALLOC | |
fW$__fDev_Pci_Auich_auichHaltPipe$d2(gc_t gc,arena_t arena,uintptr_t v15858612,uintptr_t v169909354,uint32_t v45052586,uint32_t v29375124) | |
{ | |
uint16_t v100392 = (((int32_t)0) >= ((int32_t)v29375124)); | |
if (0 == v100392) { | |
uint32_t v46454716 = (v29375124 - 1); | |
sptr_t x228 = s_alloc(gc,arena,public_caches(arena)->cFW$__fDev_Pci_Auich_auichHaltPipe$d2); | |
((struct sFW$__fDev_Pci_Auich_auichHaltPipe$d2*)x228)->head = TO_FPTR(&E__fW$__fDev_Pci_Auich_auichHaltPipe$d2); | |
((struct sFW$__fDev_Pci_Auich_auichHaltPipe$d2*)x228)->a1 = v15858612; | |
((struct sFW$__fDev_Pci_Auich_auichHaltPipe$d2*)x228)->a2 = v169909354; | |
((struct sFW$__fDev_Pci_Auich_auichHaltPipe$d2*)x228)->a3 = v45052586; | |
((struct sFW$__fDev_Pci_Auich_auichHaltPipe$d2*)x228)->a4 = v46454716; | |
sptr_t v85433876 = MKLAZY(x228); | |
{ gc_frame0(gc,1,v85433876); | |
wptr_t x229 = s_alloc(gc,arena,public_caches(arena)->cP1__W$__fDev_Pci_Auich_auichHaltPipe$d3); | |
SET_MEM_TAG((struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d3*)x229,P1__W$__fDev_Pci_Auich_auichHaltPipe$d3); | |
((struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d3*)x229)->a1 = v15858612; | |
((struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d3*)x229)->a2 = v169909354; | |
((struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d3*)x229)->a3 = v45052586; | |
wptr_t v2245 = x229; | |
sptr_t v414595113 = demote(v2245); | |
{ gc_frame0(gc,1,v414595113); | |
wptr_t x230 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Prim_Prim_$x3a); | |
((struct sCJhc_Prim_Prim_$x3a*)x230)->a1 = v414595113; | |
((struct sCJhc_Prim_Prim_$x3a*)x230)->a2 = v85433876; | |
return x230; | |
} | |
} | |
} else { | |
/* 1 */ | |
assert(1 == v100392); | |
return SET_RAW_TAG(CJhc_Prim_Prim_$BE); | |
} | |
} | |
static sptr_t A_STD A_MALLOC | |
fW$__fDev_Pci_Auich_auichHaltPipe$d3(gc_t gc,arena_t arena,uintptr_t v67338514,uintptr_t v232701290,uint32_t v1774335035) | |
{ | |
uintptr_t v240673852 = ((intptr_t)((int32_t)v1774335035)); | |
uintptr_t v163734720 = (v240673852 + ICH_STS); | |
uint32_t v86448658 = ((uint32_t)bus_space_read_4((HsPtr)v67338514,(unsigned long)v232701290,(size_t)v163734720)); | |
uint32_t v100394 = (v86448658 & ICH_DCH); | |
if (0 == v100394) { | |
delay((unsigned)1); | |
return c1; | |
} else { | |
return c147; | |
} | |
} | |
static wptr_t A_STD A_MALLOC | |
fW$__fDev_Pci_Auich_auichHaltPipe$d4(gc_t gc,arena_t arena,wptr_t v253791876) | |
{ | |
wptr_t v100378; | |
uintptr_t v782; | |
uintptr_t v784; | |
uint32_t v786; | |
v782 = ((struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d2*)v253791876)->a1; | |
v784 = ((struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d2*)v253791876)->a2; | |
v786 = ((struct sP1__W$__fDev_Pci_Auich_auichHaltPipe$d2*)v253791876)->a3; | |
v100378 = fW$__fDev_Pci_Auich_auichHaltPipe$d2(gc,arena,v782,v784,v786,10); | |
{ gc_frame0(gc,1,v100378); | |
return fData_List_610__lgo(gc,arena,SET_RAW_TAG(P1__W$__fDev_Pci_Auich_auichHaltPipe$d6),v100378); | |
} | |
} | |
static sptr_t A_STD A_MALLOC | |
fW$__fDev_Pci_Auich_auichHaltPipe$d5(gc_t gc,arena_t arena,sptr_t v822,sptr_t v1963) | |
{ | |
wptr_t v100386 = promote(v822); | |
{ sptr_t v183082882; | |
gc_frame0(gc,1,v1963); | |
{ gc_frame0(gc,1,v100386); | |
v183082882 = bapply__56236(gc,arena,v100386); | |
} | |
wptr_t v100388 = eval(gc,arena,v183082882); | |
if (CJhc_Type_Basic_Left == FETCH_TAG(v100388)) { | |
sptr_t v1780408; | |
v1780408 = ((struct sCJhc_Type_Basic_Left*)v100388)->a1; | |
{ gc_frame0(gc,1,v1780408); | |
wptr_t x231 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Left); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Left*)x231,CJhc_Type_Basic_Left); | |
((struct sCJhc_Type_Basic_Left*)x231)->a1 = v1780408; | |
wptr_t v750 = x231; | |
return demote(v750); | |
} | |
} else { | |
/* ("CJhc.Type.Basic.Right" ni0) */ | |
wptr_t v100390 = eval(gc,arena,v1963); | |
{ gc_frame0(gc,1,v100390); | |
return bapply__56236(gc,arena,v100390); | |
} | |
} | |
} | |
} | |
static sptr_t A_STD A_MALLOC | |
fW$__fDev_Pci_Auich_auichHaltPipe$d6(gc_t gc,arena_t arena) | |
{ | |
return c1; | |
} | |
static wptr_t A_STD A_MALLOC | |
fW$__fDev_Pci_Auich_auichHaltPipe$d7(gc_t gc,arena_t arena,sptr_t v1778136109,uint32_t v215884492) | |
{ | |
uint16_t v100376 = (((int32_t)0) >= ((int32_t)v215884492)); | |
if (0 == v100376) { | |
uint32_t v66102162 = (v215884492 - 1); | |
{ gc_frame0(gc,1,v1778136109); | |
sptr_t x234 = s_alloc(gc,arena,public_caches(arena)->cFW$__fDev_Pci_Auich_auichHaltPipe$d7); | |
((struct sFW$__fDev_Pci_Auich_auichHaltPipe$d7*)x234)->head = TO_FPTR(&E__fW$__fDev_Pci_Auich_auichHaltPipe$d7); | |
((struct sFW$__fDev_Pci_Auich_auichHaltPipe$d7*)x234)->a1 = v1778136109; | |
((struct sFW$__fDev_Pci_Auich_auichHaltPipe$d7*)x234)->a2 = v66102162; | |
sptr_t v141244516 = MKLAZY(x234); | |
{ gc_frame0(gc,1,v141244516); | |
wptr_t x235 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Prim_Prim_$x3a); | |
((struct sCJhc_Prim_Prim_$x3a*)x235)->a1 = v1778136109; | |
((struct sCJhc_Prim_Prim_$x3a*)x235)->a2 = v141244516; | |
return x235; | |
} | |
} | |
} else { | |
/* 1 */ | |
assert(1 == v100376); | |
return SET_RAW_TAG(CJhc_Prim_Prim_$BE); | |
} | |
} | |
static sptr_t A_STD A_MALLOC | |
fW$__fDev_Pci_Auich_auichHaltPipe$d8(gc_t gc,arena_t arena) | |
{ | |
return c1; | |
} | |
static sptr_t A_STD A_MALLOC | |
fW$__fDev_Pci_Auich_auichHaltPipe$d9(gc_t gc,arena_t arena,sptr_t v21055638,sptr_t v45052590) | |
{ | |
wptr_t v100370 = promote(v21055638); | |
{ sptr_t v227981062; | |
gc_frame0(gc,1,v45052590); | |
{ gc_frame0(gc,1,v100370); | |
v227981062 = bapply__56236(gc,arena,v100370); | |
} | |
wptr_t v100372 = eval(gc,arena,v227981062); | |
if (CJhc_Type_Basic_Left == FETCH_TAG(v100372)) { | |
sptr_t v61835124; | |
v61835124 = ((struct sCJhc_Type_Basic_Left*)v100372)->a1; | |
{ gc_frame0(gc,1,v61835124); | |
wptr_t x236 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Basic_Left); | |
SET_MEM_TAG((struct sCJhc_Type_Basic_Left*)x236,CJhc_Type_Basic_Left); | |
((struct sCJhc_Type_Basic_Left*)x236)->a1 = v61835124; | |
wptr_t v1576 = x236; | |
return demote(v1576); | |
} | |
} else { | |
/* ("CJhc.Type.Basic.Right" ni0) */ | |
wptr_t v100374 = eval(gc,arena,v45052590); | |
{ gc_frame0(gc,1,v100374); | |
return bapply__56236(gc,arena,v100374); | |
} | |
} | |
} | |
} | |
static sptr_t A_STD A_MALLOC | |
fW$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1(gc_t gc,arena_t arena,wptr_t v1644955715,wptr_t v1655048257,uint32_t v44000682) | |
{ | |
uintptr_t v99988812; | |
v99988812 = ((struct sCJhc_Type_Ptr_Ptr*)v1644955715)->a1; | |
uintptr_t v251973252 = (v99988812 + ((intptr_t)((int32_t)offsetof(struct hdaudio_softc, sc_dev)))); | |
uintptr_t v242479192 = *((uintptr_t *)(v251973252)); | |
{ gc_frame0(gc,1,v1655048257); | |
wptr_t x143 = s_alloc(gc,arena,public_caches(arena)->cP2__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d2); | |
SET_MEM_TAG((struct sP2__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d2*)x143,P2__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d2); | |
((struct sP2__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d2*)x143)->a1 = v242479192; | |
((struct sP2__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d2*)x143)->a2 = v44000682; | |
wptr_t v229 = x143; | |
sptr_t v117740408 = demote(v229); | |
{ gc_frame0(gc,1,v117740408); | |
wptr_t x144 = s_alloc(gc,arena,public_caches(arena)->cP2__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d3); | |
SET_MEM_TAG((struct sP2__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d3*)x144,P2__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d3); | |
((struct sP2__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d3*)x144)->a1 = v117740408; | |
wptr_t v231 = x144; | |
{ gc_frame0(gc,1,v231); | |
return fForeign_C_String_withCString(gc,arena,v1655048257,v231); | |
} | |
} | |
} | |
} | |
static sptr_t A_STD A_MALLOC | |
fW$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d2(gc_t gc,arena_t arena,uintptr_t v52993244,uint32_t v606353997,uintptr_t v1928994351) | |
{ | |
aprint_error_dev((HsPtr)v52993244,(char*)v1928994351,(int)v606353997); | |
return (sptr_t)SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} | |
static sptr_t A_STD A_MALLOC | |
fW$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d3(gc_t gc,arena_t arena,sptr_t v1936727581,sptr_t v117752372) | |
{ | |
{ uintptr_t v1791692; | |
uintptr_t v252; | |
uint32_t v254; | |
gc_frame0(gc,1,v1936727581); | |
wptr_t v100494 = eval(gc,arena,v117752372); | |
wptr_t v100496 = promote(v1936727581); | |
v1791692 = ((struct sCJhc_Type_Ptr_Ptr*)v100494)->a1; | |
v252 = ((struct sP2__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d2*)v100496)->a1; | |
v254 = ((struct sP2__W$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d2*)v100496)->a2; | |
return fW$__fDev_Pci_Hdaudio_Hdaudiovar_hdaErrorI1$d2(gc,arena,v252,v254,v1791692); | |
} | |
} | |
static sptr_t A_STD A_MALLOC | |
fW$__fForeign_Marshal_Alloc_allocaBytes(gc_t gc,arena_t arena,uint32_t v1991382087,wptr_t v1987712057) | |
{ | |
uintptr_t v125735150 = ((intptr_t)((int32_t)v1991382087)); | |
uintptr_t v3284 = ((uintptr_t)malloc((size_t)v125735150)); | |
{ sptr_t v223360914; | |
gc_frame0(gc,1,v1987712057); | |
wptr_t x134 = s_alloc(gc,arena,public_caches(arena)->cCJhc_Type_Ptr_Ptr); | |
((struct sCJhc_Type_Ptr_Ptr*)x134)->a1 = v3284; | |
wptr_t v135 = x134; | |
sptr_t v838212669 = demote(v135); | |
if (0 == v3284) { | |
wptr_t v100522; | |
v100522 = fR$__fJhc_Basics_$pp(gc,arena,c9,PROMOTE(c24)); | |
sptr_t v129035600 = demote(v100522); | |
{ sptr_t v56119432; | |
gc_frame0(gc,1,v129035600); | |
{ gc_frame0(gc,1,v129035600); | |
v56119432 = v129035600; | |
goto fR$__fJhc_IO_putErrLn__135; | |
} | |
goto done135; | |
fR$__fJhc_IO_putErrLn__135:; | |
{ wptr_t v100526 = eval(gc,arena,v56119432); | |
if (SET_RAW_TAG(CJhc_Prim_Prim_$BE) == v100526) { | |
jhc_utf8_putchar((int)10); | |
SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} else { | |
sptr_t v78; | |
sptr_t v80; | |
/* ("CJhc.Prim.Prim.:" ni78 ni80) */ | |
v78 = ((struct sCJhc_Prim_Prim_$x3a*)v100526)->a1; | |
v80 = ((struct sCJhc_Prim_Prim_$x3a*)v100526)->a2; | |
{ uint32_t v15353782; | |
gc_frame0(gc,1,v80); | |
wptr_t v100528 = eval(gc,arena,v78); | |
v15353782 = ((uint32_t)RAW_GET_UF(v100528)); | |
uint32_t v153819172 = v15353782; | |
jhc_utf8_putchar((int)v153819172); | |
v56119432 = v80; | |
goto fR$__fJhc_IO_putErrLn__135; | |
} | |
} | |
} | |
} | |
done135:; | |
jhc_exit(255); | |
} else { | |
v223360914 = v838212669; | |
} | |
{ wptr_t v100532; | |
sptr_t v129992000; | |
uintptr_t v157224382; | |
gc_frame0(gc,1,v223360914); | |
v100532 = bapply__56235(gc,arena,v1987712057,v223360914); | |
{ gc_frame0(gc,1,v100532); | |
v129992000 = bapply__56236(gc,arena,v100532); | |
} | |
wptr_t v100534 = promote(v223360914); | |
v157224382 = ((struct sCJhc_Type_Ptr_Ptr*)v100534)->a1; | |
free((HsPtr)v157224382); | |
return v129992000; | |
} | |
} | |
} | |
static sptr_t A_STD A_MALLOC | |
fW$__fKern_SubrPrf_printfP1(gc_t gc,arena_t arena,wptr_t v460468261,uintptr_t v119285242) | |
{ | |
{ gc_frame0(gc,1,v460468261); | |
wptr_t x141 = s_alloc(gc,arena,public_caches(arena)->cP2__W$__fKern_SubrPrf_printfP1$d2); | |
SET_MEM_TAG((struct sP2__W$__fKern_SubrPrf_printfP1$d2*)x141,P2__W$__fKern_SubrPrf_printfP1$d2); | |
((struct sP2__W$__fKern_SubrPrf_printfP1$d2*)x141)->a1 = v119285242; | |
wptr_t v207 = x141; | |
sptr_t v135370998 = demote(v207); | |
{ gc_frame0(gc,1,v135370998); | |
wptr_t x142 = s_alloc(gc,arena,public_caches(arena)->cP2__W$__fKern_SubrPrf_printfP1$d3); | |
SET_MEM_TAG((struct sP2__W$__fKern_SubrPrf_printfP1$d3*)x142,P2__W$__fKern_SubrPrf_printfP1$d3); | |
((struct sP2__W$__fKern_SubrPrf_printfP1$d3*)x142)->a1 = v135370998; | |
wptr_t v1925 = x142; | |
{ gc_frame0(gc,1,v1925); | |
return fForeign_C_String_withCString(gc,arena,v460468261,v1925); | |
} | |
} | |
} | |
} | |
static sptr_t A_STD A_MALLOC | |
fW$__fKern_SubrPrf_printfP1$d2(gc_t gc,arena_t arena,uintptr_t v603208241,uintptr_t v1938562595) | |
{ | |
printf((char*)v1938562595,(HsPtr)v603208241); | |
return (sptr_t)SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} | |
static sptr_t A_STD A_MALLOC | |
fW$__fKern_SubrPrf_printfP1$d3(gc_t gc,arena_t arena,sptr_t v1943150111,sptr_t v244867478) | |
{ | |
{ uintptr_t v234; | |
uintptr_t v26450574; | |
gc_frame0(gc,1,v1943150111); | |
wptr_t v100500 = eval(gc,arena,v244867478); | |
wptr_t v100502 = promote(v1943150111); | |
v26450574 = ((struct sCJhc_Type_Ptr_Ptr*)v100500)->a1; | |
v234 = ((struct sP2__W$__fKern_SubrPrf_printfP1$d2*)v100502)->a1; | |
return fW$__fKern_SubrPrf_printfP1$d2(gc,arena,v234,v26450574); | |
} | |
} | |
static sptr_t A_STD A_MALLOC | |
fW$__fKern_SubrPrf_printfS1(gc_t gc,arena_t arena,wptr_t v1974348325,uintptr_t v44725398) | |
{ | |
{ gc_frame0(gc,1,v1974348325); | |
wptr_t x139 = s_alloc(gc,arena,public_caches(arena)->cP2__W$__fKern_SubrPrf_printfS1$d2); | |
SET_MEM_TAG((struct sP2__W$__fKern_SubrPrf_printfS1$d2*)x139,P2__W$__fKern_SubrPrf_printfS1$d2); | |
((struct sP2__W$__fKern_SubrPrf_printfS1$d2*)x139)->a1 = v44725398; | |
wptr_t v383 = x139; | |
sptr_t v182639124 = demote(v383); | |
{ gc_frame0(gc,1,v182639124); | |
wptr_t x140 = s_alloc(gc,arena,public_caches(arena)->cP2__W$__fKern_SubrPrf_printfS1$d3); | |
SET_MEM_TAG((struct sP2__W$__fKern_SubrPrf_printfS1$d3*)x140,P2__W$__fKern_SubrPrf_printfS1$d3); | |
((struct sP2__W$__fKern_SubrPrf_printfS1$d3*)x140)->a1 = v182639124; | |
wptr_t v387 = x140; | |
{ gc_frame0(gc,1,v387); | |
return fForeign_C_String_withCString(gc,arena,v1974348325,v387); | |
} | |
} | |
} | |
} | |
static sptr_t A_STD A_MALLOC | |
fW$__fKern_SubrPrf_printfS1$d2(gc_t gc,arena_t arena,uintptr_t v597703219,uintptr_t v1945116195) | |
{ | |
printf((char*)v1945116195,(HsPtr)v597703219); | |
return (sptr_t)SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} | |
static sptr_t A_STD A_MALLOC | |
fW$__fKern_SubrPrf_printfS1$d3(gc_t gc,arena_t arena,sptr_t v1949834781,sptr_t v261514474) | |
{ | |
{ uintptr_t v508; | |
uintptr_t v95584982; | |
gc_frame0(gc,1,v1949834781); | |
wptr_t v100506 = eval(gc,arena,v261514474); | |
wptr_t v100508 = promote(v1949834781); | |
v95584982 = ((struct sCJhc_Type_Ptr_Ptr*)v100506)->a1; | |
v508 = ((struct sP2__W$__fKern_SubrPrf_printfS1$d2*)v100508)->a1; | |
return fW$__fKern_SubrPrf_printfS1$d2(gc,arena,v508,v95584982); | |
} | |
} | |
static wptr_t A_STD A_MALLOC | |
fW$__fW$__fInstance$__iForeign_Storable_pokeElemOff_default(gc_t gc,arena_t arena,uintptr_t v1011358783,uint32_t v1015422013,uint8_t v533215801) | |
{ | |
uint32_t v29534742 = (v1015422013 * sizeof(uint8_t)); | |
uintptr_t v40405756 = ((intptr_t)((int32_t)v29534742)); | |
uintptr_t v119549088 = (v1011358783 + v40405756); | |
*((uint8_t *)(v119549088)) = v533215801; | |
return SET_RAW_TAG(CJhc_Prim_Prim_$LR); | |
} | |
static void A_STD | |
ftheMain(gc_t gc,arena_t arena) | |
{ | |
return; | |
} | |
static sptr_t A_STD A_MALLOC | |
fx133152257(gc_t gc,arena_t arena,wptr_t v157224380,wptr_t v199828714,wptr_t v125929208) | |
{ | |
{ sptr_t v145790748; | |
uintptr_t v163205528; | |
uintptr_t v222036050; | |
uint32_t v97730300; | |
gc_frame0(gc,3,v125929208,v157224380,v199828714); | |
v145790748 = fDev_Pci_Auich_Ptr_p__AuichSoftc__codec__if(gc,arena,v157224380); | |
wptr_t v100116 = eval(gc,arena,v145790748); | |
v222036050 = ((struct sCJhc_Type_Ptr_Ptr*)v100116)->a1; | |
uintptr_t v227676690 = *((uintptr_t *)(v222036050)); | |
v163205528 = ((struct sCJhc_Type_Ptr_Ptr*)v157224380)->a1; | |
uintptr_t v224424532 = (v163205528 + ((intptr_t)((int32_t)offsetof(struct auich_softc, sc_ac97_clock)))); | |
uint32_t v157205388 = *((uint32_t *)(v224424532)); | |
uintptr_t v68249520 = (v227676690 + ((intptr_t)((int32_t)offsetof(struct ac97_codec_if, vtbl)))); | |
uintptr_t v225145568 = *((uintptr_t *)(v68249520)); | |
uintptr_t v92400202 = (v225145568 + ((intptr_t)((int32_t)offsetof(struct ac97_codec_if_vtbl, set_clock)))); | |
uintptr_t v262653756 = *((uintptr_t *)(v92400202)); | |
uintmax_t v124235164 = ((uintmax_t)v157205388); | |
uint32_t v173801156 = ((uint32_t)v124235164); | |
(void)((void (*)(HsPtr,unsigned))v262653756)((HsPtr)v227676690,(unsigned)v173801156); | |
uintptr_t v142422200 = (v227676690 + ((intptr_t)((int32_t)offsetof(struct ac97_codec_if, vtbl)))); | |
uintptr_t v259359270 = *((uintptr_t *)(v142422200)); | |
uintptr_t v264192740 = (v259359270 + ((intptr_t)((int32_t)offsetof(struct ac97_codec_if_vtbl, set_rate)))); | |
uintptr_t v134677014 = *((uintptr_t *)(v264192740)); | |
v97730300 = ((struct sCJhc_Type_Word_Int*)v199828714)->a1; | |
uint16_t v100122 = (AUMODE_RECORD == v97730300); | |
if (0 == v100122) { | |
sptr_t x10 = s_alloc(gc,arena,public_caches(arena)->cFFE$__CCall_auichSetParams$d14); | |
((struct sFFE$__CCall_auichSetParams$d14*)x10)->head = TO_FPTR(&E__fFE$__CCall_auichSetParams$d14); | |
((struct sFFE$__CCall_auichSetParams$d14*)x10)->a1 = v125929208; | |
sptr_t v242443208 = MKLAZY(x10); | |
{ sptr_t v102952078; | |
gc_frame0(gc,1,v242443208); | |
wptr_t x11 = s_alloc(gc,arena,public_caches(arena)->cP2__FE$__CCall_auichSetParams$d15); | |
SET_MEM_TAG((struct sP2__FE$__CCall_auichSetParams$d15*)x11,P2__FE$__CCall_auichSetParams$d15); | |
((struct sP2__FE$__CCall_auichSetParams$d15*)x11)->a1 = v134677014; | |
((struct sP2__FE$__CCall_auichSetParams$d15*)x11)->a2 = v242443208; | |
((struct sP2__FE$__CCall_auichSetParams$d15*)x11)->a3 = v227676690; | |
wptr_t v1969 = x11; | |
{ gc_frame0(gc,1,v1969); | |
v102952078 = fForeign_Marshal_Alloc_alloca(gc,arena,v1969); | |
} | |
{ uint32_t v125929210; | |
gc_frame0(gc,1,v102952078); | |
wptr_t v100124 = eval(gc,arena,v102952078); | |
v125929210 = ((struct sCJhc_Type_Word_Int*)v100124)->a1; | |
if (0 == v125929210) { | |
sptr_t x12 = s_alloc(gc,arena,public_caches(arena)->cFFE$__CCall_auichSetParams$d16); | |
((struct sFFE$__CCall_auichSetParams$d16*)x12)->head = TO_FPTR(&E__fFE$__CCall_auichSetParams$d16); | |
((struct sFFE$__CCall_auichSetParams$d16*)x12)->a1 = v125929208; | |
sptr_t v10461222 = MKLAZY(x12); | |
{ sptr_t v244116390; | |
gc_frame0(gc,1,v10461222); | |
wptr_t x13 = s_alloc(gc,arena,public_caches(arena)->cP2__FE$__CCall_auichSetParams$d17); | |
SET_MEM_TAG((struct sP2__FE$__CCall_auichSetParams$d17*)x13,P2__FE$__CCall_auichSetParams$d17); | |
((struct sP2__FE$__CCall_auichSetParams$d17*)x13)->a1 = v134677014; | |
((struct sP2__FE$__CCall_auichSetParams$d17*)x13)->a2 = v10461222; | |
((struct sP2__FE$__CCall_auichSetParams$d17*)x13)->a3 = v227676690; | |
wptr_t v1976 = x13; | |
{ gc_frame0(gc,1,v1976); | |
v244116390 = fForeign_Marshal_Alloc_alloca(gc,arena,v1976); | |
} | |
{ uint32_t v24133716; | |
gc_frame0(gc,1,v244116390); | |
wptr_t v100126 = eval(gc,arena,v244116390); | |
v24133716 = ((struct sCJhc_Type_Word_Int*)v100126)->a1; | |
if (0 == v24133716) { | |
sptr_t x14 = s_alloc(gc,arena,public_caches(arena)->cFFE$__CCall_auichSetParams$d18); | |
((struct sFFE$__CCall_auichSetParams$d18*)x14)->head = TO_FPTR(&E__fFE$__CCall_auichSetParams$d18); | |
((struct sFFE$__CCall_auichSetParams$d18*)x14)->a1 = v125929208; | |
sptr_t v74909130 = MKLAZY(x14); | |
{ gc_frame0(gc,1,v74909130); | |
wptr_t x15 = s_alloc(gc,arena,public_caches(arena)->cP2__FE$__CCall_auichSetParams$d19); | |
SET_MEM_TAG((struct sP2__FE$__CCall_auichSetParams$d19*)x15,P2__FE$__CCall_auichSetParams$d19); | |
((struct sP2__FE$__CCall_auichSetParams$d19*)x15)->a1 = v74909130; | |
((struct sP2__FE$__CCall_auichSetParams$d19*)x15)->a2 = v134677014; | |
((struct sP2__FE$__CCall_auichSetParams$d19*)x15)->a3 = v227676690; | |
wptr_t v1983 = x15; | |
{ gc_frame0(gc,1,v1983); | |
return fForeign_Marshal_Alloc_alloca(gc,arena,v1983); | |
} | |
} | |
} else { | |
return v244116390; | |
} | |
} | |
} | |
} else { | |
return v102952078; | |
} | |
} | |
} | |
} else { | |
/* 1 */ | |
assert(1 == v100122); | |
sptr_t x16 = s_alloc(gc,arena,public_caches(arena)->cFFE$__CCall_auichSetParams$d12); | |
((struct sFFE$__CCall_auichSetParams$d12*)x16)->head = TO_FPTR(&E__fFE$__CCall_auichSetParams$d12); | |
((struct sFFE$__CCall_auichSetParams$d12*)x16)->a1 = v125929208; | |
sptr_t v214169464 = MKLAZY(x16); | |
{ gc_frame0(gc,1,v214169464); | |
wptr_t x17 = s_alloc(gc,arena,public_caches(arena)->cP2__FE$__CCall_auichSetParams$d13); | |
SET_MEM_TAG((struct sP2__FE$__CCall_auichSetParams$d13*)x17,P2__FE$__CCall_auichSetParams$d13); | |
((struct sP2__FE$__CCall_auichSetParams$d13*)x17)->a1 = v214169464; | |
((struct sP2__FE$__CCall_auichSetParams$d13*)x17)->a2 = v134677014; | |
((struct sP2__FE$__CCall_auichSetParams$d13*)x17)->a3 = v227676690; | |
wptr_t v1966 = x17; | |
{ gc_frame0(gc,1,v1966); | |
return fForeign_Marshal_Alloc_alloca(gc,arena,v1966); | |
} | |
} | |
} | |
} | |
} | |
int | |
hdaudioIntr(HsPtr x279) | |
{ | |
arena_t arena; | |
gc_t gc; | |
gc = NULL; | |
arena = NULL; | |
jhc_alloc_init(&gc,&arena); | |
jhc_hs_init(gc,arena); | |
int x280 = ((int)fFE$__CCall_hdaudioIntr(gc,arena,(uintptr_t)x279)); | |
jhc_alloc_fini(gc,arena); | |
return x280; | |
} | |
uint32_t | |
hdaudioRirbDequeue(HsPtr x225,HsBool x226) | |
{ | |
arena_t arena; | |
gc_t gc; | |
gc = NULL; | |
arena = NULL; | |
jhc_alloc_init(&gc,&arena); | |
jhc_hs_init(gc,arena); | |
uint32_t x227 = ((uint32_t)fFE$__CCall_hdaudioRirbDequeue(gc,arena,(uintptr_t)x225,(uint16_t)x226)); | |
jhc_alloc_fini(gc,arena); | |
return x227; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment