x86
stringlengths
122
9.39M
arm
stringlengths
122
9.33M
file
stringlengths
19
200
source
stringclasses
2 values
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _check ## -- Begin function check .p2align 4, 0x90 _check: ## @check .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _check ; -- Begin function check .p2align 2 _check: ; @check .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/111077587.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function _warc_rdrtm __warc_rdrtm: ## @_warc_rdrtm .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r12 movq %rdi, %rbx movq $0, -40(%rbp) leaq __warc_rdrtm._key(%rip), %rdx movl $12, %ecx callq _xmemmem movl $-1, %r14d testq %rax, %rax je LBB0_3 ## %bb.1: movq %rax, %r15 addq $12, %r15 addl %r12d, %ebx subl %r15d, %ebx movq %r15, %rdi movl %ebx, %esi callq __warc_find_eol testq %rax, %rax je LBB0_3 ## %bb.2: movq %rax, %rbx leaq -40(%rbp), %rsi movq %r15, %rdi callq _xstrpisotime cmpq %rbx, -40(%rbp) movl $-1, %r14d cmovel %eax, %r14d LBB0_3: movl %r14d, %eax addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__const __warc_rdrtm._key: ## @_warc_rdrtm._key .asciz "\r\nWARC-Date:" .no_dead_strip __warc_rdrtm .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function _warc_rdrtm __warc_rdrtm: ; @_warc_rdrtm .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x21, x0 str xzr, [sp, #8] Lloh0: adrp x2, __warc_rdrtm._key@PAGE Lloh1: add x2, x2, __warc_rdrtm._key@PAGEOFF mov w3, #12 bl _xmemmem cbz x0, LBB0_3 ; %bb.1: add x20, x0, #12 add w8, w21, w19 sub w1, w8, w20 mov x0, x20 bl __warc_find_eol cbz x0, LBB0_3 ; %bb.2: mov x19, x0 add x1, sp, #8 mov x0, x20 bl _xstrpisotime ldr x8, [sp, #8] cmp x8, x19 csinv w0, w0, wzr, eq b LBB0_4 LBB0_3: mov w0, #-1 LBB0_4: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__const __warc_rdrtm._key: ; @_warc_rdrtm._key .asciz "\r\nWARC-Date:" .no_dead_strip __warc_rdrtm .subsections_via_symbols
AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_read_support_format_warc.c__warc_rdrtm.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _m68k_op_negx_8_pi ## -- Begin function m68k_op_negx_8_pi .p2align 4, 0x90 _m68k_op_negx_8_pi: ## @m68k_op_negx_8_pi .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 xorl %eax, %eax callq _EA_AY_PI_8 movl %eax, %r14d movl %eax, %edi callq _m68ki_read_8 movl %eax, %r15d xorl %eax, %eax callq _XFLAG_AS_1 ## kill: def $eax killed $eax def $rax leal (%rax,%r15), %ebx negl %ebx movl %ebx, %edi callq _NFLAG_8 movq _FLAG_N@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movl %ebx, %edi callq _CFLAG_8 movq _FLAG_C@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movq _FLAG_X@GOTPCREL(%rip), %rcx movl %eax, (%rcx) andl %ebx, %r15d movq _FLAG_V@GOTPCREL(%rip), %rax movl %r15d, (%rax) movl %ebx, %edi callq _MASK_OUT_ABOVE_8 movq _FLAG_Z@GOTPCREL(%rip), %rcx orl %eax, (%rcx) movl %r14d, %edi movl %eax, %esi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _m68ki_write_8 ## TAILCALL .cfi_endproc ## -- End function .comm _FLAG_N,4,2 ## @FLAG_N .comm _FLAG_C,4,2 ## @FLAG_C .comm _FLAG_X,4,2 ## @FLAG_X .comm _FLAG_V,4,2 ## @FLAG_V .comm _FLAG_Z,4,2 ## @FLAG_Z .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _m68k_op_negx_8_pi ; -- Begin function m68k_op_negx_8_pi .p2align 2 _m68k_op_negx_8_pi: ; @m68k_op_negx_8_pi .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 bl _EA_AY_PI_8 mov x19, x0 bl _m68ki_read_8 mov x20, x0 bl _XFLAG_AS_1 add w8, w20, w0 neg w21, w8 mov x0, x21 bl _NFLAG_8 Lloh0: adrp x8, _FLAG_N@GOTPAGE Lloh1: ldr x8, [x8, _FLAG_N@GOTPAGEOFF] Lloh2: str w0, [x8] mov x0, x21 bl _CFLAG_8 Lloh3: adrp x8, _FLAG_C@GOTPAGE Lloh4: ldr x8, [x8, _FLAG_C@GOTPAGEOFF] Lloh5: adrp x9, _FLAG_X@GOTPAGE Lloh6: ldr x9, [x9, _FLAG_X@GOTPAGEOFF] Lloh7: str w0, [x8] Lloh8: str w0, [x9] and w8, w20, w21 Lloh9: adrp x9, _FLAG_V@GOTPAGE Lloh10: ldr x9, [x9, _FLAG_V@GOTPAGEOFF] Lloh11: str w8, [x9] mov x0, x21 bl _MASK_OUT_ABOVE_8 mov x1, x0 Lloh12: adrp x8, _FLAG_Z@GOTPAGE Lloh13: ldr x8, [x8, _FLAG_Z@GOTPAGEOFF] ldr w9, [x8] orr w9, w9, w0 str w9, [x8] mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _m68ki_write_8 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGotStr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotStr Lloh5, Lloh6, Lloh8 .loh AdrpLdrGotStr Lloh3, Lloh4, Lloh7 .loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _FLAG_N,4,2 ; @FLAG_N .comm _FLAG_C,4,2 ; @FLAG_C .comm _FLAG_X,4,2 ; @FLAG_X .comm _FLAG_V,4,2 ; @FLAG_V .comm _FLAG_Z,4,2 ; @FLAG_Z .subsections_via_symbols
AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopnz.c_m68k_op_negx_8_pi.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _decNumberMax ## -- Begin function decNumberMax .p2align 4, 0x90 _decNumberMax: ## @decNumberMax .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rcx, %r14 movq %rdi, %rbx movq $0, -24(%rbp) movq _COMPMAX@GOTPCREL(%rip), %rax movl (%rax), %r8d leaq -24(%rbp), %r9 callq _decCompareOp movq -24(%rbp), %rsi testq %rsi, %rsi je LBB0_2 ## %bb.1: movq %rbx, %rdi movq %r14, %rdx callq _decStatus LBB0_2: movq %rbx, %rax addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _COMPMAX,4,2 ## @COMPMAX .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _decNumberMax ; -- Begin function decNumberMax .p2align 2 _decNumberMax: ; @decNumberMax .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x3 mov x19, x0 str xzr, [sp, #8] Lloh0: adrp x8, _COMPMAX@GOTPAGE Lloh1: ldr x8, [x8, _COMPMAX@GOTPAGEOFF] Lloh2: ldr w4, [x8] add x5, sp, #8 bl _decCompareOp ldr x1, [sp, #8] cbz x1, LBB0_2 ; %bb.1: mov x0, x19 mov x2, x20 bl _decStatus LBB0_2: mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _COMPMAX,4,2 ; @COMPMAX .subsections_via_symbols
AnghaBench/freebsd/contrib/gcclibs/libdecnumber/extr_decNumber.c_decNumberMax.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sst_platform_open _sst_platform_open: ## @sst_platform_open .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq 8(%rdi), %rax cmpq $0, (%rax) jne LBB0_2 ## %bb.1: movq (%rdi), %rax movq _sst_platform_pcm_hw@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, (%rax) LBB0_2: xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _sst_platform_pcm_hw,4,2 ## @sst_platform_pcm_hw .no_dead_strip _sst_platform_open .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sst_platform_open _sst_platform_open: ; @sst_platform_open .cfi_startproc ; %bb.0: ldr x8, [x0, #8] ldr x8, [x8] cbz x8, LBB0_2 ; %bb.1: mov w0, #0 ret LBB0_2: ldr x8, [x0] Lloh0: adrp x9, _sst_platform_pcm_hw@GOTPAGE Lloh1: ldr x9, [x9, _sst_platform_pcm_hw@GOTPAGEOFF] Lloh2: ldr w9, [x9] str w9, [x8] mov w0, #0 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _sst_platform_pcm_hw,4,2 ; @sst_platform_pcm_hw .no_dead_strip _sst_platform_open .subsections_via_symbols
AnghaBench/linux/sound/soc/intel/atom/extr_sst-mfld-platform-pcm.c_sst_platform_open.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dummy_emul _dummy_emul: ## @dummy_emul .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _dummy_emul .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dummy_emul _dummy_emul: ; @dummy_emul .cfi_startproc ; %bb.0: mov x0, #0 ret .cfi_endproc ; -- End function .no_dead_strip _dummy_emul .subsections_via_symbols
AnghaBench/fastsocket/kernel/arch/alpha/kernel/extr_traps.c_dummy_emul.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _platform_ipi_clear ## -- Begin function platform_ipi_clear .p2align 4, 0x90 _platform_ipi_clear: ## @platform_ipi_clear .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax callq _mips_rd_cause movq _C_SW1@GOTPCREL(%rip), %rcx movl (%rcx), %edi notl %edi andl %eax, %edi popq %rbp jmp _mips_wr_cause ## TAILCALL .cfi_endproc ## -- End function .comm _C_SW1,4,2 ## @C_SW1 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _platform_ipi_clear ; -- Begin function platform_ipi_clear .p2align 2 _platform_ipi_clear: ; @platform_ipi_clear .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl _mips_rd_cause Lloh0: adrp x8, _C_SW1@GOTPAGE Lloh1: ldr x8, [x8, _C_SW1@GOTPAGEOFF] Lloh2: ldr w8, [x8] bic w0, w0, w8 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _mips_wr_cause .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _C_SW1,4,2 ; @C_SW1 .subsections_via_symbols
AnghaBench/freebsd/sys/mips/malta/extr_malta_mp.c_platform_ipi_clear.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 subq $8, %rsp leaq L_.str.26(%rip), %r13 leaq L_.str.18(%rip), %r11 leaq L_.str.25(%rip), %r15 leaq L_.str.24(%rip), %r10 leaq L_.str.23(%rip), %r12 leaq L_.str.22(%rip), %r14 leaq L_.str.3(%rip), %rdi leaq L_.str(%rip), %rsi movl $10, %edx movl $39, %ecx xorl %eax, %eax movl $39, %r8d movl $39, %r9d pushq $10 pushq $42 pushq $35 pushq $10 pushq %r13 pushq $10 pushq %r11 pushq $10 pushq %r15 pushq $10 pushq %r10 pushq $10 pushq %r12 pushq $10 pushq %r11 pushq $10 pushq %r14 pushq $10 leaq L_.str.21(%rip), %rbx pushq %rbx pushq $10 pushq %r11 pushq $10 leaq L_.str.20(%rip), %rbx pushq %rbx pushq $10 leaq L_.str.19(%rip), %rbx pushq %rbx pushq $10 pushq %r11 pushq $10 leaq L_.str.17(%rip), %r14 pushq %r14 pushq $10 pushq $39 pushq %r13 pushq $39 pushq $39 pushq $39 pushq $39 pushq %r15 pushq $39 pushq $39 pushq %r10 pushq $39 pushq $39 pushq %r12 pushq $39 pushq $39 pushq $39 pushq $39 leaq L_.str.22(%rip), %rbx pushq %rbx pushq $39 pushq $39 leaq L_.str.21(%rip), %rbx pushq %rbx pushq $39 pushq $39 pushq $39 pushq $39 leaq L_.str.20(%rip), %r12 pushq %r12 pushq $39 pushq $39 leaq L_.str.19(%rip), %r13 pushq %r13 pushq $39 pushq $39 pushq %r11 pushq $39 pushq $39 pushq %r14 movq %r14, %rbx pushq $39 pushq $39 pushq $39 pushq $39 leaq L_.str.15(%rip), %r15 pushq %r15 pushq $39 pushq $39 leaq L_.str.14(%rip), %r10 pushq %r10 pushq $39 pushq $39 leaq L_.str.13(%rip), %r10 pushq %r10 pushq $39 pushq $39 leaq L_.str.10(%rip), %r10 pushq %r10 pushq $39 pushq $39 leaq L_.str.12(%rip), %r11 pushq %r11 pushq $39 pushq $39 leaq L_.str.4(%rip), %r14 pushq %r14 pushq $34 pushq %rdi pushq $34 leaq L_.str.2(%rip), %r14 pushq %r14 pushq $34 leaq L_.str.26(%rip), %r14 pushq %r14 pushq $34 pushq $34 leaq L_.str.25(%rip), %r14 pushq %r14 pushq $34 pushq $34 leaq L_.str.24(%rip), %r14 pushq %r14 pushq $34 pushq $34 leaq L_.str.23(%rip), %r14 pushq %r14 pushq $34 pushq $34 leaq L_.str.22(%rip), %r14 pushq %r14 pushq $34 pushq $34 leaq L_.str.21(%rip), %r14 pushq %r14 pushq $34 pushq $34 pushq %r12 pushq $34 pushq $34 pushq %r13 pushq $34 pushq $34 leaq L_.str.18(%rip), %r14 pushq %r14 pushq $34 pushq $34 pushq %rbx pushq $34 pushq $34 leaq L_.str.16(%rip), %rbx pushq %rbx pushq $34 pushq $34 pushq %r15 pushq $34 pushq $34 leaq L_.str.14(%rip), %rbx pushq %rbx pushq $34 pushq $34 leaq L_.str.13(%rip), %rbx pushq %rbx pushq $34 pushq $34 pushq %r11 pushq $34 pushq $34 leaq L_.str.11(%rip), %r11 pushq %r11 pushq $34 pushq $34 pushq %r10 pushq $34 pushq $34 leaq L_.str.9(%rip), %r13 pushq %r13 pushq $34 pushq $34 leaq L_.str.8(%rip), %rbx pushq %rbx pushq $34 pushq $34 leaq L_.str.7(%rip), %r12 pushq %r12 pushq $34 pushq $34 leaq L_.str.6(%rip), %r10 pushq %r10 pushq $34 pushq $34 leaq L_.str.5(%rip), %r15 pushq %r15 pushq $34 pushq $34 leaq L_.str.4(%rip), %r14 pushq %r14 pushq $34 pushq $34 pushq %rdi pushq $34 pushq $34 leaq L_.str.2(%rip), %r14 pushq %r14 pushq $34 pushq $34 leaq L_.str.1(%rip), %r14 pushq %r14 pushq $34 pushq $34 pushq %rsi pushq $34 pushq %r14 pushq $39 pushq $39 pushq %r13 pushq $39 pushq $39 pushq %r11 pushq $39 pushq $39 leaq L_.str.10(%rip), %r11 pushq %r11 pushq $39 pushq $39 pushq %rsi pushq $39 pushq $39 pushq %r13 pushq $39 pushq $39 pushq %rbx pushq $39 pushq $39 pushq %r12 pushq $39 pushq $39 pushq %r10 pushq $39 pushq $39 pushq %r15 pushq $39 leaq L_.str.16(%rip), %r13 pushq %r13 pushq $10 leaq L_.str.15(%rip), %r15 pushq %r15 pushq $10 leaq L_.str.14(%rip), %r12 pushq %r12 pushq $10 leaq L_.str.13(%rip), %rbx pushq %rbx pushq $10 pushq %r11 pushq $10 leaq L_.str.12(%rip), %r11 pushq %r11 pushq $10 pushq $39 leaq L_.str.4(%rip), %r10 pushq %r10 pushq $34 pushq %rdi pushq $34 leaq L_.str.2(%rip), %rbx pushq %rbx pushq $34 leaq L_.str.26(%rip), %r14 pushq %r14 pushq $34 pushq $34 leaq L_.str.25(%rip), %rbx pushq %rbx pushq $34 pushq $34 leaq L_.str.24(%rip), %rbx pushq %rbx pushq $34 pushq $34 leaq L_.str.23(%rip), %rbx pushq %rbx pushq $34 pushq $34 leaq L_.str.22(%rip), %rbx pushq %rbx pushq $34 pushq $34 leaq L_.str.21(%rip), %rbx pushq %rbx pushq $34 pushq $34 leaq L_.str.20(%rip), %rbx pushq %rbx pushq $34 pushq $34 leaq L_.str.19(%rip), %rbx pushq %rbx pushq $34 pushq $34 leaq L_.str.18(%rip), %rbx pushq %rbx pushq $34 pushq $34 leaq L_.str.17(%rip), %rbx pushq %rbx pushq $34 pushq $34 pushq %r13 pushq $34 pushq $34 pushq %r15 pushq $34 pushq $34 pushq %r12 pushq $34 pushq $34 leaq L_.str.13(%rip), %rbx pushq %rbx pushq $34 pushq $34 pushq %r11 pushq $34 pushq $34 leaq L_.str.11(%rip), %r13 pushq %r13 pushq $34 pushq $34 leaq L_.str.10(%rip), %r14 pushq %r14 pushq $34 pushq $34 leaq L_.str.9(%rip), %rbx pushq %rbx pushq $34 pushq $34 leaq L_.str.8(%rip), %rbx pushq %rbx pushq $34 pushq $34 leaq L_.str.7(%rip), %r12 pushq %r12 pushq $34 pushq $34 leaq L_.str.6(%rip), %rbx pushq %rbx pushq $34 pushq $34 leaq L_.str.5(%rip), %rbx pushq %rbx pushq $34 pushq $34 pushq %r10 pushq $34 pushq $34 pushq %rdi pushq $34 pushq $34 leaq L_.str.2(%rip), %r10 pushq %r10 pushq $34 pushq $34 leaq L_.str.1(%rip), %r11 pushq %r11 pushq $34 pushq $34 pushq %rsi pushq $34 pushq %r11 pushq $39 leaq L_.str.9(%rip), %rbx pushq %rbx pushq $10 pushq %r13 pushq $10 pushq %r14 pushq $10 pushq $39 pushq %rsi pushq $39 pushq %rbx pushq $10 leaq L_.str.8(%rip), %r15 pushq %r15 pushq $10 pushq %r12 pushq $10 leaq L_.str.6(%rip), %rbx pushq %rbx pushq $10 leaq L_.str.5(%rip), %rbx pushq %rbx pushq $10 pushq $39 pushq $39 pushq $39 pushq $10 pushq $10 leaq L_.str.4(%rip), %r12 pushq %r12 pushq $34 pushq %rdi pushq $34 pushq %r10 pushq $34 leaq L_.str.26(%rip), %r14 pushq %r14 pushq $34 pushq $34 leaq L_.str.25(%rip), %rbx pushq %rbx pushq $34 pushq $34 leaq L_.str.24(%rip), %rbx pushq %rbx pushq $34 pushq $34 leaq L_.str.23(%rip), %rbx pushq %rbx pushq $34 pushq $34 leaq L_.str.22(%rip), %rbx pushq %rbx pushq $34 pushq $34 leaq L_.str.21(%rip), %rbx pushq %rbx pushq $34 pushq $34 leaq L_.str.20(%rip), %rbx pushq %rbx pushq $34 pushq $34 leaq L_.str.19(%rip), %rbx pushq %rbx pushq $34 pushq $34 leaq L_.str.18(%rip), %rbx pushq %rbx pushq $34 pushq $34 leaq L_.str.17(%rip), %rbx pushq %rbx pushq $34 pushq $34 leaq L_.str.16(%rip), %rbx pushq %rbx pushq $34 pushq $34 leaq L_.str.15(%rip), %rbx pushq %rbx pushq $34 pushq $34 leaq L_.str.14(%rip), %rbx pushq %rbx pushq $34 pushq $34 leaq L_.str.13(%rip), %rbx pushq %rbx pushq $34 pushq $34 leaq L_.str.12(%rip), %rbx pushq %rbx pushq $34 pushq $34 pushq %r13 pushq $34 pushq $34 leaq L_.str.10(%rip), %rbx pushq %rbx pushq $34 pushq $34 leaq L_.str.9(%rip), %rbx pushq %rbx pushq $34 pushq $34 pushq %r15 pushq $34 pushq $34 leaq L_.str.7(%rip), %rbx pushq %rbx pushq $34 pushq $34 leaq L_.str.6(%rip), %rbx pushq %rbx pushq $34 pushq $34 leaq L_.str.5(%rip), %rbx pushq %rbx pushq $34 pushq $34 pushq %r12 pushq $34 pushq $34 pushq %rdi pushq $34 pushq $34 pushq %r10 pushq $34 pushq $34 pushq %r11 pushq $34 pushq $34 pushq %rsi pushq $34 pushq %r11 pushq $10 pushq $47 pushq $42 pushq $10 callq _printf addq $3328, %rsp ## imm = 0xD00 xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "#include<stdio.h>/*" L_.str.1: ## @.str.1 .asciz "int main(){char*a[]={" L_.str.2: ## @.str.2 .asciz "printf(" L_.str.3: ## @.str.3 .asciz "%s%c%c%c%c%c%c%c%c%s%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c};%s%c%s%c,%s);}%c/*%c%c%c%c%c%s%c%s%c%s%c%s%c%s %c%s%c%c%s%c%s%c%s %c%s%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c};%s%c%s%c,%s);}%c%c%s%c%s%c%s%c%s%c%s%c%s%c%s%c, %c%s%c, %c%s%c, %c%s%c, %c%s%c, %c%s%c, %c%s%c, %c%s%c, %c%s%c, %c%s%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c};%s%c%s%c,%s);}%c, %c%s%c, %c%s%c, %c%s%c, %c%s%c, %c%s%c, %cL = %c, %c%s%c, %c%s%c, %c%s%c, %c%s%c, %c print l%c, %c%s%c, %c%s%c, %c print l%c, %c%s%c, %c%s%c, %c%s%c, %c print l%c, %c%s%c]%c%s%c%s%c%s%c%s%c%s%c%s%c%s%c%s%c%s%c%s%c%s%c%s%c%s%c%c %c/%c" L_.str.4: ## @.str.4 .asciz "a[0],10,39,39,39,10,42,47,10,a[1],34,a[0],34,34,a[1],34,34,a[2],34,34,a[3],34,34,a[4],34,34,a[5],34,34,a[6],34,34,a[7],34,34,a[8],34,34,a[9],34,34,a[10],34,34,a[11],34,34,a[12],34,34,a[13],34,34,a[14],34,34,a[15],34,34,a[16],34,34,a[17],34,34,a[18],34,34,a[19],34,34,a[20],34,34,a[21],34,34,a[22],34,34,a[23],34,34,a[24],34,34,a[25],34,34,a[26],34,a[2],34,a[3],34,a[4],10,10,39,39,39,10,a[5],10,a[6],10,a[7],10,a[8],10,a[9],39,a[0],39,10,a[10],10,a[11],10,a[9],39,a[1],34,a[0],34,34,a[1],34,34,a[2],34,34,a[3],34,34,a[4],34,34,a[5],34,34,a[6],34,34,a[7],34,34,a[8],34,34,a[9],34,34,a[10],34,34,a[11],34,34,a[12],34,34,a[13],34,34,a[14],34,34,a[15],34,34,a[16],34,34,a[17],34,34,a[18],34,34,a[19],34,34,a[20],34,34,a[21],34,34,a[22],34,34,a[23],34,34,a[24],34,34,a[25],34,34,a[26],34,a[2],34,a[3],34,a[4],39,10,a[12],10,a[10],10,a[13],10,a[14],10,a[15],10,a[16],39,a[5],39,39,a[6],39,39,a[7],39,39,a[8],39,39,a[9],39,39,a[0],39,39,a[10],39,39,a[11],39,39,a[9],39,39,a[1],34,a[0],34,34,a[1],34,34,a[2],34,34,a[3],34,34,a[4],34,34,a[5],34,34,a[6],34,34,a[7],34,34,a[8],34,34,a[9],34,34,a[10],34,34,a[11],34,34,a[12],34,34,a[13],34,34,a[14],34,34,a[15],34,34,a[16],34,34,a[17],34,34,a[18],34,34,a[19],34,34,a[20],34,34,a[21],34,34,a[22],34,34,a[23],34,34,a[24],34,34,a[25],34,34,a[26],34,a[2],34,a[3],34,a[4],39,39,a[12],39,39,a[10],39,39,a[13],39,39,a[14],39,39,a[15],39,39,39,39,a[17],39,39,a[18],39,39,a[19],39,39,a[20],39,39,39,39,a[21],39,39,a[22],39,39,39,39,a[23],39,39,a[24],39,39,a[25],39,39,39,39,a[26],39,10,a[17],10,a[18],10,a[19],10,a[20],10,a[18],10,a[21],10,a[22],10,a[18],10,a[23],10,a[24],10,a[25],10,a[18],10,a[26],10,35,42,10" L_.str.5: ## @.str.5 .asciz "PC = str(chr(39)+chr(39)+chr(39))" L_.str.6: ## @.str.6 .asciz "SCC = str(chr(47)+chr(42))" L_.str.7: ## @.str.7 .asciz "ECC = str(chr(42)+chr(47))" L_.str.8: ## @.str.8 .asciz "END = str(chr(35)+chr(32)+ECC)" L_.str.9: ## @.str.9 .asciz "print" L_.str.10: ## @.str.10 .asciz "print PC" L_.str.11: ## @.str.11 .asciz "print ECC" L_.str.12: ## @.str.12 .asciz "print SCC" L_.str.13: ## @.str.13 .asciz "Q = chr(39)" L_.str.14: ## @.str.14 .asciz "DQ = chr(34)" L_.str.15: ## @.str.15 .asciz "SP = chr(32)" L_.str.16: ## @.str.16 .asciz "L = [" L_.str.17: ## @.str.17 .asciz "for l in L[0:4]:" L_.str.18: ## @.str.18 .asciz " print l" L_.str.19: ## @.str.19 .asciz "print L[4] + SP + Q + L[5] + Q" L_.str.20: ## @.str.20 .asciz "for l in L[6:8]:" L_.str.21: ## @.str.21 .asciz "print L[8] + SP + Q + L[9] + Q" L_.str.22: ## @.str.22 .asciz "for l in L[10:15]:" L_.str.23: ## @.str.23 .asciz "print L[15]," L_.str.24: ## @.str.24 .asciz "print L" L_.str.25: ## @.str.25 .asciz "for l in L[16:]:" L_.str.26: ## @.str.26 .asciz "print END" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w27, -24 .cfi_offset w28, -32 sub sp, sp, #3360 mov w8, #35 str x8, [sp, #3336] Lloh0: adrp x9, l_.str.26@PAGE Lloh1: add x9, x9, l_.str.26@PAGEOFF str x9, [sp, #3320] Lloh2: adrp x8, l_.str.18@PAGE Lloh3: add x8, x8, l_.str.18@PAGEOFF str x8, [sp, #3304] Lloh4: adrp x10, l_.str.25@PAGE Lloh5: add x10, x10, l_.str.25@PAGEOFF str x10, [sp, #3288] str x9, [sp, #3104] str x9, [sp, #2632] str x9, [sp, #1608] str x9, [sp, #712] Lloh6: adrp x9, l_.str.24@PAGE Lloh7: add x9, x9, l_.str.24@PAGEOFF str x9, [sp, #3272] str x10, [sp, #3064] str x10, [sp, #2608] str x10, [sp, #1584] str x10, [sp, #688] Lloh8: adrp x10, l_.str.23@PAGE Lloh9: add x10, x10, l_.str.23@PAGEOFF str x10, [sp, #3256] str x9, [sp, #3040] str x9, [sp, #2584] str x9, [sp, #1560] str x9, [sp, #664] Lloh10: adrp x9, l_.str.22@PAGE Lloh11: add x9, x9, l_.str.22@PAGEOFF str x8, [sp, #3240] str x9, [sp, #3224] str x10, [sp, #3016] str x10, [sp, #2560] str x10, [sp, #1536] str x10, [sp, #640] Lloh12: adrp x10, l_.str.21@PAGE Lloh13: add x10, x10, l_.str.21@PAGEOFF str x10, [sp, #3208] str x8, [sp, #3192] str x9, [sp, #2976] str x9, [sp, #2536] str x9, [sp, #1512] str x9, [sp, #616] Lloh14: adrp x9, l_.str.20@PAGE Lloh15: add x9, x9, l_.str.20@PAGEOFF str x9, [sp, #3176] str x10, [sp, #2952] str x10, [sp, #2512] str x10, [sp, #1488] str x10, [sp, #592] Lloh16: adrp x10, l_.str.19@PAGE Lloh17: add x10, x10, l_.str.19@PAGEOFF str x10, [sp, #3160] str x9, [sp, #2912] str x9, [sp, #2488] str x9, [sp, #1464] str x9, [sp, #568] Lloh18: adrp x9, l_.str.17@PAGE Lloh19: add x9, x9, l_.str.17@PAGEOFF str x8, [sp, #3144] str x9, [sp, #3128] str x10, [sp, #2888] str x8, [sp, #2864] str x9, [sp, #2840] str x10, [sp, #2464] str x10, [sp, #1440] str x10, [sp, #544] Lloh20: adrp x10, l_.str.15@PAGE Lloh21: add x10, x10, l_.str.15@PAGEOFF str x10, [sp, #2800] str x8, [sp, #2440] str x8, [sp, #1416] str x8, [sp, #520] mov w8, #34 str x9, [sp, #2416] str x9, [sp, #1392] stp x9, x8, [sp, #496] Lloh22: adrp x9, l_.str.16@PAGE Lloh23: add x9, x9, l_.str.16@PAGEOFF str x9, [sp, #2392] str x9, [sp, #1760] str x9, [sp, #1368] str x9, [sp, #472] Lloh24: adrp x9, l_.str.14@PAGE Lloh25: add x9, x9, l_.str.14@PAGEOFF str x9, [sp, #2776] str x10, [sp, #2368] str x10, [sp, #1744] str x10, [sp, #1344] stp x10, x8, [sp, #448] Lloh26: adrp x10, l_.str.13@PAGE Lloh27: add x10, x10, l_.str.13@PAGEOFF str x10, [sp, #2752] str x9, [sp, #2344] str x9, [sp, #1728] str x9, [sp, #1320] str x9, [sp, #424] Lloh28: adrp x9, l_.str.10@PAGE Lloh29: add x9, x9, l_.str.10@PAGEOFF str x9, [sp, #2728] str x10, [sp, #2320] str x10, [sp, #1712] str x10, [sp, #1296] stp x10, x8, [sp, #400] Lloh30: adrp x10, l_.str.12@PAGE Lloh31: add x10, x10, l_.str.12@PAGEOFF str x10, [sp, #2704] str x10, [sp, #2296] str x10, [sp, #1680] str x10, [sp, #1272] str x10, [sp, #376] Lloh32: adrp x10, l_.str.11@PAGE Lloh33: add x10, x10, l_.str.11@PAGEOFF str x10, [sp, #2272] str x9, [sp, #2248] str x10, [sp, #1944] str x10, [sp, #1248] str x10, [sp, #936] stp x10, x8, [sp, #352] Lloh34: adrp x10, l_.str.9@PAGE Lloh35: add x10, x10, l_.str.9@PAGEOFF str x10, [sp, #2224] str x9, [sp, #1920] str x9, [sp, #1696] str x9, [sp, #1224] str x9, [sp, #920] str x9, [sp, #328] Lloh36: adrp x9, l_.str.8@PAGE Lloh37: add x9, x9, l_.str.8@PAGEOFF str x9, [sp, #2200] str x10, [sp, #1968] str x10, [sp, #1872] str x10, [sp, #1200] str x10, [sp, #952] str x10, [sp, #880] stp x10, x8, [sp, #304] Lloh38: adrp x10, l_.str.7@PAGE Lloh39: add x10, x10, l_.str.7@PAGEOFF str x9, [sp, #1848] str x9, [sp, #1176] str x9, [sp, #864] str x9, [sp, #280] Lloh40: adrp x9, l_.str.6@PAGE Lloh41: add x9, x9, l_.str.6@PAGEOFF str x10, [sp, #2176] str x10, [sp, #1824] str x10, [sp, #1152] str x10, [sp, #848] stp x10, x8, [sp, #256] mov w10, #42 str x9, [sp, #2152] str x9, [sp, #1800] str x9, [sp, #1128] str x9, [sp, #832] str x9, [sp, #232] Lloh42: adrp x9, l_.str.5@PAGE Lloh43: add x9, x9, l_.str.5@PAGEOFF str x9, [sp, #2128] str x9, [sp, #1776] str x9, [sp, #1104] str x9, [sp, #816] stp x9, x8, [sp, #208] Lloh44: adrp x9, l_.str.4@PAGE Lloh45: add x9, x9, l_.str.4@PAGEOFF str x9, [sp, #2680] str x9, [sp, #2104] str x9, [sp, #1656] str x9, [sp, #1080] str x9, [sp, #760] str x9, [sp, #184] Lloh46: adrp x9, l_.str.2@PAGE Lloh47: add x9, x9, l_.str.2@PAGEOFF str x9, [sp, #2648] str x9, [sp, #2056] str x9, [sp, #1624] str x9, [sp, #1032] str x9, [sp, #728] str x9, [sp, #136] mov w9, #47 stp x10, x9, [sp, #48] mov w11, #10 str x11, [sp, #3352] str x10, [sp, #3344] str x11, [sp, #3328] str x11, [sp, #3312] str x11, [sp, #3296] str x11, [sp, #3280] str x11, [sp, #3264] str x11, [sp, #3248] str x11, [sp, #3232] str x11, [sp, #3216] str x11, [sp, #3200] str x11, [sp, #3184] str x11, [sp, #3168] str x11, [sp, #3152] str x11, [sp, #3136] str x11, [sp, #3120] mov w9, #39 str x9, [sp, #3112] str x9, [sp, #3096] str x9, [sp, #3088] str x9, [sp, #3080] str x9, [sp, #3072] str x9, [sp, #3056] str x9, [sp, #3048] str x9, [sp, #3032] str x9, [sp, #3024] str x9, [sp, #3008] str x9, [sp, #3000] str x9, [sp, #2992] str x9, [sp, #2984] str x9, [sp, #2968] str x9, [sp, #2960] str x9, [sp, #2944] str x9, [sp, #2936] str x9, [sp, #2928] str x9, [sp, #2920] str x9, [sp, #2904] str x9, [sp, #2896] str x9, [sp, #2880] str x9, [sp, #2872] str x9, [sp, #2856] str x9, [sp, #2848] str x9, [sp, #2832] str x9, [sp, #2824] str x9, [sp, #2816] str x9, [sp, #2808] str x9, [sp, #2792] str x9, [sp, #2784] str x9, [sp, #2768] str x9, [sp, #2760] str x9, [sp, #2744] str x9, [sp, #2736] str x9, [sp, #2720] str x9, [sp, #2712] str x9, [sp, #2696] str x9, [sp, #2688] str x8, [sp, #2672] str x9, [sp, #1984] str x9, [sp, #1976] str x9, [sp, #1960] str x9, [sp, #1952] str x9, [sp, #1936] str x9, [sp, #1928] str x9, [sp, #1912] str x9, [sp, #1904] str x9, [sp, #1888] str x9, [sp, #1880] str x9, [sp, #1864] str x9, [sp, #1856] str x9, [sp, #1840] str x9, [sp, #1832] str x9, [sp, #1816] str x9, [sp, #1808] str x9, [sp, #1792] str x9, [sp, #1784] str x9, [sp, #1768] str x9, [sp, #1664] str x9, [sp, #960] str x9, [sp, #904] str x9, [sp, #888] str x9, [sp, #800] str x9, [sp, #792] str x9, [sp, #784] stp x9, x11, [sp, #32] stp x9, x9, [sp, #16] Lloh48: adrp x9, l_.str.1@PAGE Lloh49: add x9, x9, l_.str.1@PAGEOFF str x9, [sp, #2032] str x9, [sp, #1992] str x9, [sp, #1008] str x9, [sp, #968] stp x9, x8, [sp, #112] stp x11, x9, [sp, #64] Lloh50: adrp x9, l_.str@PAGE Lloh51: add x9, x9, l_.str@PAGEOFF str x11, [sp, #1752] str x11, [sp, #1736] str x11, [sp, #1720] str x11, [sp, #1704] str x11, [sp, #1688] str x11, [sp, #1672] str x11, [sp, #944] str x11, [sp, #928] str x11, [sp, #912] str x11, [sp, #872] str x11, [sp, #856] str x11, [sp, #840] str x11, [sp, #824] str x11, [sp, #808] str x11, [sp, #776] str x11, [sp, #768] str x11, [sp, #8] Lloh52: adrp x0, l_.str.3@PAGE Lloh53: add x0, x0, l_.str.3@PAGEOFF str x0, [sp, #2664] str x8, [sp, #2656] str x8, [sp, #2072] str x8, [sp, #2064] str x8, [sp, #2640] str x8, [sp, #2120] str x8, [sp, #2112] str x8, [sp, #2096] str x8, [sp, #2088] str x0, [sp, #2080] str x8, [sp, #2624] str x8, [sp, #2616] str x8, [sp, #2168] str x8, [sp, #2160] str x8, [sp, #2144] str x8, [sp, #2136] str x8, [sp, #2600] str x8, [sp, #2592] str x8, [sp, #2216] str x8, [sp, #2208] str x8, [sp, #2192] str x8, [sp, #2184] str x8, [sp, #2576] str x8, [sp, #2568] str x8, [sp, #2264] str x8, [sp, #2256] str x8, [sp, #2240] str x8, [sp, #2232] str x8, [sp, #2552] str x8, [sp, #2544] str x8, [sp, #2312] str x8, [sp, #2304] str x8, [sp, #2288] str x8, [sp, #2280] str x8, [sp, #2528] str x8, [sp, #2520] str x8, [sp, #2360] str x8, [sp, #2352] str x8, [sp, #2336] str x8, [sp, #2328] str x8, [sp, #2504] str x8, [sp, #2496] str x8, [sp, #2408] str x8, [sp, #2400] str x8, [sp, #2384] str x8, [sp, #2376] str x8, [sp, #2480] str x8, [sp, #2472] str x8, [sp, #2456] str x8, [sp, #2448] str x8, [sp, #2432] str x8, [sp, #2424] str x8, [sp, #2048] str x8, [sp, #2040] str x8, [sp, #2024] str x8, [sp, #2016] str x8, [sp, #2000] str x8, [sp, #1648] str x8, [sp, #1632] str x8, [sp, #1616] str x8, [sp, #1600] str x8, [sp, #1592] str x8, [sp, #1576] str x8, [sp, #1568] str x8, [sp, #1552] str x8, [sp, #1544] str x8, [sp, #1528] str x8, [sp, #1520] str x8, [sp, #1504] str x8, [sp, #1496] str x8, [sp, #1480] str x8, [sp, #1472] str x8, [sp, #1456] str x8, [sp, #1448] str x8, [sp, #1432] str x8, [sp, #1424] str x8, [sp, #1408] str x8, [sp, #1400] str x8, [sp, #1384] str x8, [sp, #1376] str x8, [sp, #1360] str x8, [sp, #1352] str x8, [sp, #1336] str x8, [sp, #1328] str x8, [sp, #1312] str x8, [sp, #1304] str x8, [sp, #1288] str x8, [sp, #1280] str x8, [sp, #1264] str x8, [sp, #1256] str x8, [sp, #1240] str x8, [sp, #1232] str x8, [sp, #1216] str x8, [sp, #1208] str x8, [sp, #1192] str x8, [sp, #1184] str x8, [sp, #1168] str x8, [sp, #1160] str x8, [sp, #1144] str x8, [sp, #1136] str x8, [sp, #1120] str x8, [sp, #1112] str x8, [sp, #1096] str x8, [sp, #1088] str x8, [sp, #1072] str x8, [sp, #1064] str x8, [sp, #1048] str x8, [sp, #1040] str x8, [sp, #1024] str x8, [sp, #1016] str x8, [sp, #1000] str x8, [sp, #992] str x8, [sp, #976] str x8, [sp, #752] str x8, [sp, #736] str x8, [sp, #720] str x8, [sp, #704] str x8, [sp, #696] str x8, [sp, #680] str x8, [sp, #672] str x8, [sp, #656] str x8, [sp, #648] str x8, [sp, #632] str x8, [sp, #624] str x8, [sp, #608] str x8, [sp, #600] str x8, [sp, #584] str x8, [sp, #576] str x8, [sp, #560] str x8, [sp, #552] str x8, [sp, #536] str x8, [sp, #528] str x8, [sp, #512] stp x8, x8, [sp, #480] str x8, [sp, #464] stp x8, x8, [sp, #432] str x8, [sp, #416] stp x8, x8, [sp, #384] str x8, [sp, #368] stp x8, x8, [sp, #336] str x8, [sp, #320] stp x8, x8, [sp, #288] str x8, [sp, #272] stp x8, x8, [sp, #240] str x8, [sp, #224] stp x8, x8, [sp, #192] stp x8, x8, [sp, #168] stp x8, x8, [sp, #144] str x8, [sp, #128] stp x8, x8, [sp, #96] stp x8, x9, [sp, #80] str x0, [sp, #1640] str x0, [sp, #1056] str x0, [sp, #744] str x0, [sp, #160] str x9, [sp, #2008] str x9, [sp, #1896] str x9, [sp, #984] str x9, [sp, #896] str x9, [sp] bl _printf mov w0, #0 add sp, sp, #3360 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh52, Lloh53 .loh AdrpAdd Lloh50, Lloh51 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpAdd Lloh46, Lloh47 .loh AdrpAdd Lloh44, Lloh45 .loh AdrpAdd Lloh42, Lloh43 .loh AdrpAdd Lloh40, Lloh41 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpAdd Lloh36, Lloh37 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "#include<stdio.h>/*" l_.str.1: ; @.str.1 .asciz "int main(){char*a[]={" l_.str.2: ; @.str.2 .asciz "printf(" l_.str.3: ; @.str.3 .asciz "%s%c%c%c%c%c%c%c%c%s%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c};%s%c%s%c,%s);}%c/*%c%c%c%c%c%s%c%s%c%s%c%s%c%s %c%s%c%c%s%c%s%c%s %c%s%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c};%s%c%s%c,%s);}%c%c%s%c%s%c%s%c%s%c%s%c%s%c%s%c, %c%s%c, %c%s%c, %c%s%c, %c%s%c, %c%s%c, %c%s%c, %c%s%c, %c%s%c, %c%s%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c,%c%s%c};%s%c%s%c,%s);}%c, %c%s%c, %c%s%c, %c%s%c, %c%s%c, %c%s%c, %cL = %c, %c%s%c, %c%s%c, %c%s%c, %c%s%c, %c print l%c, %c%s%c, %c%s%c, %c print l%c, %c%s%c, %c%s%c, %c%s%c, %c print l%c, %c%s%c]%c%s%c%s%c%s%c%s%c%s%c%s%c%s%c%s%c%s%c%s%c%s%c%s%c%s%c%c %c/%c" l_.str.4: ; @.str.4 .asciz "a[0],10,39,39,39,10,42,47,10,a[1],34,a[0],34,34,a[1],34,34,a[2],34,34,a[3],34,34,a[4],34,34,a[5],34,34,a[6],34,34,a[7],34,34,a[8],34,34,a[9],34,34,a[10],34,34,a[11],34,34,a[12],34,34,a[13],34,34,a[14],34,34,a[15],34,34,a[16],34,34,a[17],34,34,a[18],34,34,a[19],34,34,a[20],34,34,a[21],34,34,a[22],34,34,a[23],34,34,a[24],34,34,a[25],34,34,a[26],34,a[2],34,a[3],34,a[4],10,10,39,39,39,10,a[5],10,a[6],10,a[7],10,a[8],10,a[9],39,a[0],39,10,a[10],10,a[11],10,a[9],39,a[1],34,a[0],34,34,a[1],34,34,a[2],34,34,a[3],34,34,a[4],34,34,a[5],34,34,a[6],34,34,a[7],34,34,a[8],34,34,a[9],34,34,a[10],34,34,a[11],34,34,a[12],34,34,a[13],34,34,a[14],34,34,a[15],34,34,a[16],34,34,a[17],34,34,a[18],34,34,a[19],34,34,a[20],34,34,a[21],34,34,a[22],34,34,a[23],34,34,a[24],34,34,a[25],34,34,a[26],34,a[2],34,a[3],34,a[4],39,10,a[12],10,a[10],10,a[13],10,a[14],10,a[15],10,a[16],39,a[5],39,39,a[6],39,39,a[7],39,39,a[8],39,39,a[9],39,39,a[0],39,39,a[10],39,39,a[11],39,39,a[9],39,39,a[1],34,a[0],34,34,a[1],34,34,a[2],34,34,a[3],34,34,a[4],34,34,a[5],34,34,a[6],34,34,a[7],34,34,a[8],34,34,a[9],34,34,a[10],34,34,a[11],34,34,a[12],34,34,a[13],34,34,a[14],34,34,a[15],34,34,a[16],34,34,a[17],34,34,a[18],34,34,a[19],34,34,a[20],34,34,a[21],34,34,a[22],34,34,a[23],34,34,a[24],34,34,a[25],34,34,a[26],34,a[2],34,a[3],34,a[4],39,39,a[12],39,39,a[10],39,39,a[13],39,39,a[14],39,39,a[15],39,39,39,39,a[17],39,39,a[18],39,39,a[19],39,39,a[20],39,39,39,39,a[21],39,39,a[22],39,39,39,39,a[23],39,39,a[24],39,39,a[25],39,39,39,39,a[26],39,10,a[17],10,a[18],10,a[19],10,a[20],10,a[18],10,a[21],10,a[22],10,a[18],10,a[23],10,a[24],10,a[25],10,a[18],10,a[26],10,35,42,10" l_.str.5: ; @.str.5 .asciz "PC = str(chr(39)+chr(39)+chr(39))" l_.str.6: ; @.str.6 .asciz "SCC = str(chr(47)+chr(42))" l_.str.7: ; @.str.7 .asciz "ECC = str(chr(42)+chr(47))" l_.str.8: ; @.str.8 .asciz "END = str(chr(35)+chr(32)+ECC)" l_.str.9: ; @.str.9 .asciz "print" l_.str.10: ; @.str.10 .asciz "print PC" l_.str.11: ; @.str.11 .asciz "print ECC" l_.str.12: ; @.str.12 .asciz "print SCC" l_.str.13: ; @.str.13 .asciz "Q = chr(39)" l_.str.14: ; @.str.14 .asciz "DQ = chr(34)" l_.str.15: ; @.str.15 .asciz "SP = chr(32)" l_.str.16: ; @.str.16 .asciz "L = [" l_.str.17: ; @.str.17 .asciz "for l in L[0:4]:" l_.str.18: ; @.str.18 .asciz " print l" l_.str.19: ; @.str.19 .asciz "print L[4] + SP + Q + L[5] + Q" l_.str.20: ; @.str.20 .asciz "for l in L[6:8]:" l_.str.21: ; @.str.21 .asciz "print L[8] + SP + Q + L[9] + Q" l_.str.22: ; @.str.22 .asciz "for l in L[10:15]:" l_.str.23: ; @.str.23 .asciz "print L[15]," l_.str.24: ; @.str.24 .asciz "print L" l_.str.25: ; @.str.25 .asciz "for l in L[16:]:" l_.str.26: ; @.str.26 .asciz "print END" .subsections_via_symbols
the_stack_data/54707.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function softing_netdev_create _softing_netdev_create: ## @softing_netdev_create .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r12d movq %rdi, %r14 movq _TX_ECHO_SKB_MAX@GOTPCREL(%rip), %rax movl (%rax), %esi movl $56, %edi callq _alloc_candev movq %rax, %r15 testq %rax, %rax je LBB0_1 ## %bb.2: movq %r15, %rdi callq _netdev_priv movq %rax, %rbx movq %r15, 48(%rax) movq %r14, 40(%rax) leaq 32(%rax), %r13 movq _softing_btr_const@GOTPCREL(%rip), %rsi movq %r13, %rdi movl $8, %edx callq _memcpy movq 8(%r14), %rax movl 4(%rax), %ecx movl %ecx, 36(%rbx) movl (%rax), %eax movl %eax, 32(%rbx) movq %r13, 16(%rbx) movl $8000000, 8(%rbx) ## imm = 0x7A1200 movl %r12d, 28(%rbx) movq %r15, %rdi callq _softing_default_output movl %eax, 24(%rbx) movq (%r14), %rsi movq %r15, %rdi callq _SET_NETDEV_DEV movq _IFF_ECHO@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, 8(%r15) movq _softing_netdev_ops@GOTPCREL(%rip), %rax movq %rax, (%r15) movq _softing_candev_set_mode@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 4(%rbx) movq _CAN_CTRLMODE_3_SAMPLES@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rbx) jmp LBB0_3 LBB0_1: movq (%r14), %rdi leaq L_.str(%rip), %rsi callq _dev_alert LBB0_3: movq %r15, %rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _TX_ECHO_SKB_MAX,4,2 ## @TX_ECHO_SKB_MAX .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "alloc_candev failed\n" .comm _softing_btr_const,4,2 ## @softing_btr_const .comm _IFF_ECHO,4,2 ## @IFF_ECHO .comm _softing_netdev_ops,4,2 ## @softing_netdev_ops .comm _softing_candev_set_mode,4,2 ## @softing_candev_set_mode .comm _CAN_CTRLMODE_3_SAMPLES,4,2 ## @CAN_CTRLMODE_3_SAMPLES .no_dead_strip _softing_netdev_create .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function softing_netdev_create _softing_netdev_create: ; @softing_netdev_create .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x21, x1 mov x20, x0 Lloh0: adrp x8, _TX_ECHO_SKB_MAX@GOTPAGE Lloh1: ldr x8, [x8, _TX_ECHO_SKB_MAX@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov w0, #56 bl _alloc_candev mov x19, x0 cbz x0, LBB0_2 ; %bb.1: mov x0, x19 bl _netdev_priv mov x22, x0 stp x20, x19, [x0, #40] add x23, x0, #32 Lloh3: adrp x1, _softing_btr_const@GOTPAGE Lloh4: ldr x1, [x1, _softing_btr_const@GOTPAGEOFF] mov x0, x23 mov w2, #8 bl _memcpy ldr x8, [x20, #8] ldr d0, [x8] str d0, [x22, #32] str x23, [x22, #16] mov w8, #4608 movk w8, #122, lsl #16 str w8, [x22, #8] str w21, [x22, #28] mov x0, x19 bl _softing_default_output str w0, [x22, #24] ldr x1, [x20] mov x0, x19 bl _SET_NETDEV_DEV Lloh5: adrp x8, _IFF_ECHO@GOTPAGE Lloh6: ldr x8, [x8, _IFF_ECHO@GOTPAGEOFF] Lloh7: ldr w8, [x8] ldr w9, [x19, #8] orr w8, w9, w8 str w8, [x19, #8] Lloh8: adrp x8, _softing_netdev_ops@GOTPAGE Lloh9: ldr x8, [x8, _softing_netdev_ops@GOTPAGEOFF] str x8, [x19] Lloh10: adrp x8, _softing_candev_set_mode@GOTPAGE Lloh11: ldr x8, [x8, _softing_candev_set_mode@GOTPAGEOFF] Lloh12: ldr w8, [x8] Lloh13: adrp x9, _CAN_CTRLMODE_3_SAMPLES@GOTPAGE Lloh14: ldr x9, [x9, _CAN_CTRLMODE_3_SAMPLES@GOTPAGEOFF] Lloh15: ldr w9, [x9] stp w9, w8, [x22] b LBB0_3 LBB0_2: ldr x0, [x20] Lloh16: adrp x1, l_.str@PAGE Lloh17: add x1, x1, l_.str@PAGEOFF bl _dev_alert LBB0_3: mov x0, x19 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpAdd Lloh16, Lloh17 .cfi_endproc ; -- End function .comm _TX_ECHO_SKB_MAX,4,2 ; @TX_ECHO_SKB_MAX .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "alloc_candev failed\n" .comm _softing_btr_const,4,2 ; @softing_btr_const .comm _IFF_ECHO,4,2 ; @IFF_ECHO .comm _softing_netdev_ops,4,2 ; @softing_netdev_ops .comm _softing_candev_set_mode,4,2 ; @softing_candev_set_mode .comm _CAN_CTRLMODE_3_SAMPLES,4,2 ; @CAN_CTRLMODE_3_SAMPLES .no_dead_strip _softing_netdev_create .subsections_via_symbols
AnghaBench/linux/drivers/net/can/softing/extr_softing_main.c_softing_netdev_create.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rk_i2c_send_stop _rk_i2c_send_stop: ## @rk_i2c_send_stop .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movq _RK_I2C_IEN@GOTPCREL(%rip), %rax movl (%rax), %esi movq _RK_I2C_IEN_STOPIEN@GOTPCREL(%rip), %rax movl (%rax), %edx callq _RK_I2C_WRITE movq _STATE_STOP@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rbx) movq _RK_I2C_CON@GOTPCREL(%rip), %r14 movl (%r14), %esi movq %rbx, %rdi callq _RK_I2C_READ movq _RK_I2C_CON_STOP@GOTPCREL(%rip), %rcx orl (%rcx), %eax movl (%r14), %esi movq %rbx, %rdi movl %eax, %edx popq %rbx popq %r14 popq %rbp jmp _RK_I2C_WRITE ## TAILCALL .cfi_endproc ## -- End function .comm _RK_I2C_IEN,4,2 ## @RK_I2C_IEN .comm _RK_I2C_IEN_STOPIEN,4,2 ## @RK_I2C_IEN_STOPIEN .comm _STATE_STOP,4,2 ## @STATE_STOP .comm _RK_I2C_CON,4,2 ## @RK_I2C_CON .comm _RK_I2C_CON_STOP,4,2 ## @RK_I2C_CON_STOP .no_dead_strip _rk_i2c_send_stop .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rk_i2c_send_stop _rk_i2c_send_stop: ; @rk_i2c_send_stop .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x8, _RK_I2C_IEN@GOTPAGE Lloh1: ldr x8, [x8, _RK_I2C_IEN@GOTPAGEOFF] Lloh2: ldr w1, [x8] Lloh3: adrp x8, _RK_I2C_IEN_STOPIEN@GOTPAGE Lloh4: ldr x8, [x8, _RK_I2C_IEN_STOPIEN@GOTPAGEOFF] Lloh5: ldr w2, [x8] bl _RK_I2C_WRITE Lloh6: adrp x8, _STATE_STOP@GOTPAGE Lloh7: ldr x8, [x8, _STATE_STOP@GOTPAGEOFF] Lloh8: ldr w8, [x8] str w8, [x19] Lloh9: adrp x20, _RK_I2C_CON@GOTPAGE Lloh10: ldr x20, [x20, _RK_I2C_CON@GOTPAGEOFF] ldr w1, [x20] mov x0, x19 bl _RK_I2C_READ Lloh11: adrp x8, _RK_I2C_CON_STOP@GOTPAGE Lloh12: ldr x8, [x8, _RK_I2C_CON_STOP@GOTPAGEOFF] Lloh13: ldr w8, [x8] orr w2, w8, w0 ldr w1, [x20] mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _RK_I2C_WRITE .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _RK_I2C_IEN,4,2 ; @RK_I2C_IEN .comm _RK_I2C_IEN_STOPIEN,4,2 ; @RK_I2C_IEN_STOPIEN .comm _STATE_STOP,4,2 ; @STATE_STOP .comm _RK_I2C_CON,4,2 ; @RK_I2C_CON .comm _RK_I2C_CON_STOP,4,2 ; @RK_I2C_CON_STOP .no_dead_strip _rk_i2c_send_stop .subsections_via_symbols
AnghaBench/freebsd/sys/arm64/rockchip/extr_rk_i2c.c_rk_i2c_send_stop.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _foo ## -- Begin function foo .p2align 4, 0x90 _foo: ## @foo .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp imull %esi, %edi xorl %eax, %eax testl %esi, %esi cmovgl %edi, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp ## kill: def $edi killed $edi def $rdi leal -5(%rdi), %eax xorl %ecx, %ecx cmpl $2, %eax leal (%rdi,%rdi,4), %eax cmovael %ecx, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _foo ; -- Begin function foo .p2align 2 _foo: ; @foo .cfi_startproc ; %bb.0: mul w8, w1, w0 cmp w1, #0 csel w0, w8, wzr, gt ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub w8, w0, #5 add w9, w0, w0, lsl #2 cmp w8, #2 csel w0, w9, wzr, lo ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/20450813.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _CG_AddBufferedSound ## -- Begin function CG_AddBufferedSound .p2align 4, 0x90 _CG_AddBufferedSound: ## @CG_AddBufferedSound .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp testq %rdi, %rdi je LBB0_6 ## %bb.1: movq _cg@GOTPCREL(%rip), %rcx movq (%rcx), %rax movq 16(%rcx), %rdx movq %rdi, (%rdx,%rax,8) movq (%rcx), %rax incq %rax movq _MAX_SOUNDBUFFER@GOTPCREL(%rip), %rdx movslq (%rdx), %rsi movq %rax, %rdx orq %rsi, %rdx shrq $32, %rdx je LBB0_2 ## %bb.3: xorl %edx, %edx divq %rsi jmp LBB0_4 LBB0_2: ## kill: def $eax killed $eax killed $rax xorl %edx, %edx divl %esi ## kill: def $edx killed $edx def $rdx LBB0_4: movq %rdx, (%rcx) movslq 8(%rcx), %rax cmpq %rax, %rdx jne LBB0_6 ## %bb.5: incl %eax movl %eax, 8(%rcx) LBB0_6: popq %rbp retq .cfi_endproc ## -- End function .comm _cg,24,3 ## @cg .comm _MAX_SOUNDBUFFER,4,2 ## @MAX_SOUNDBUFFER .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _CG_AddBufferedSound ; -- Begin function CG_AddBufferedSound .p2align 2 _CG_AddBufferedSound: ; @CG_AddBufferedSound .cfi_startproc ; %bb.0: cbz x0, LBB0_3 ; %bb.1: Lloh0: adrp x8, _cg@GOTPAGE Lloh1: ldr x8, [x8, _cg@GOTPAGEOFF] ldr x9, [x8, #16] ldr x10, [x8] str x0, [x9, x10, lsl #3] ldr x9, [x8] add x9, x9, #1 Lloh2: adrp x10, _MAX_SOUNDBUFFER@GOTPAGE Lloh3: ldr x10, [x10, _MAX_SOUNDBUFFER@GOTPAGEOFF] Lloh4: ldrsw x10, [x10] udiv x11, x9, x10 msub x10, x11, x10, x9 str x10, [x8] ldrsw x9, [x8, #8] cmp x10, x9 b.ne LBB0_3 ; %bb.2: add w9, w9, #1 str w9, [x8, #8] LBB0_3: ret .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _cg,24,3 ; @cg .comm _MAX_SOUNDBUFFER,4,2 ; @MAX_SOUNDBUFFER .subsections_via_symbols
AnghaBench/lab/engine/code/cgame/extr_cg_view.c_CG_AddBufferedSound.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function print_metrics _print_metrics: ## @print_metrics .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r14d movq %rsi, %r15 movq %rdi, %rbx movl (%rsi), %edi callq _output_lookup movq %rax, %r12 movq %rbx, %rdi movl %r14d, %esi callq _print_def_hits movq %rbx, %rdi movl %r14d, %esi callq _print_def_visitors movq %rbx, %rdi movl %r14d, %esi callq _print_def_bw movq %rbx, %rdi movl %r14d, %esi callq _print_def_avgts movq %rbx, %rdi movl %r14d, %esi callq _print_def_cumts movq %rbx, %rdi movl %r14d, %esi callq _print_def_maxts cmpq $0, 8(%r12) je LBB0_2 ## %bb.1: movq %rbx, %rdi movl %r14d, %esi callq _print_def_method LBB0_2: cmpq $0, (%r12) je LBB0_4 ## %bb.3: movq %rbx, %rdi movl %r14d, %esi callq _print_def_protocol LBB0_4: movl (%r15), %esi movq %rbx, %rdi movl %r14d, %edx popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _print_def_data ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _print_metrics .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function print_metrics _print_metrics: ; @print_metrics .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x21, x1 mov x20, x0 ldr w0, [x1] bl _output_lookup mov x22, x0 mov x0, x20 mov x1, x19 bl _print_def_hits mov x0, x20 mov x1, x19 bl _print_def_visitors mov x0, x20 mov x1, x19 bl _print_def_bw mov x0, x20 mov x1, x19 bl _print_def_avgts mov x0, x20 mov x1, x19 bl _print_def_cumts mov x0, x20 mov x1, x19 bl _print_def_maxts ldr x8, [x22, #8] cbz x8, LBB0_2 ; %bb.1: mov x0, x20 mov x1, x19 bl _print_def_method LBB0_2: ldr x8, [x22] cbz x8, LBB0_4 ; %bb.3: mov x0, x20 mov x1, x19 bl _print_def_protocol LBB0_4: ldr w1, [x21] mov x0, x20 mov x2, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _print_def_data .cfi_endproc ; -- End function .no_dead_strip _print_metrics .subsections_via_symbols
AnghaBench/goaccess/src/extr_output.c_print_metrics.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function DSI_28nm_PHY_TIMING_CTRL_9_TA_GO _DSI_28nm_PHY_TIMING_CTRL_9_TA_GO: ## @DSI_28nm_PHY_TIMING_CTRL_9_TA_GO .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, %eax movq _DSI_28nm_PHY_TIMING_CTRL_9_TA_GO__SHIFT@GOTPCREL(%rip), %rcx movb (%rcx), %cl shll %cl, %eax movq _DSI_28nm_PHY_TIMING_CTRL_9_TA_GO__MASK@GOTPCREL(%rip), %rcx andl (%rcx), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _DSI_28nm_PHY_TIMING_CTRL_9_TA_GO__SHIFT,4,2 ## @DSI_28nm_PHY_TIMING_CTRL_9_TA_GO__SHIFT .comm _DSI_28nm_PHY_TIMING_CTRL_9_TA_GO__MASK,4,2 ## @DSI_28nm_PHY_TIMING_CTRL_9_TA_GO__MASK .no_dead_strip _DSI_28nm_PHY_TIMING_CTRL_9_TA_GO .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function DSI_28nm_PHY_TIMING_CTRL_9_TA_GO _DSI_28nm_PHY_TIMING_CTRL_9_TA_GO: ; @DSI_28nm_PHY_TIMING_CTRL_9_TA_GO .cfi_startproc ; %bb.0: Lloh0: adrp x8, _DSI_28nm_PHY_TIMING_CTRL_9_TA_GO__SHIFT@GOTPAGE Lloh1: ldr x8, [x8, _DSI_28nm_PHY_TIMING_CTRL_9_TA_GO__SHIFT@GOTPAGEOFF] Lloh2: ldr w8, [x8] lsl w8, w0, w8 Lloh3: adrp x9, _DSI_28nm_PHY_TIMING_CTRL_9_TA_GO__MASK@GOTPAGE Lloh4: ldr x9, [x9, _DSI_28nm_PHY_TIMING_CTRL_9_TA_GO__MASK@GOTPAGEOFF] Lloh5: ldr w9, [x9] and w0, w8, w9 ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _DSI_28nm_PHY_TIMING_CTRL_9_TA_GO__SHIFT,4,2 ; @DSI_28nm_PHY_TIMING_CTRL_9_TA_GO__SHIFT .comm _DSI_28nm_PHY_TIMING_CTRL_9_TA_GO__MASK,4,2 ; @DSI_28nm_PHY_TIMING_CTRL_9_TA_GO__MASK .no_dead_strip _DSI_28nm_PHY_TIMING_CTRL_9_TA_GO .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/msm/dsi/extr_dsi.xml.h_DSI_28nm_PHY_TIMING_CTRL_9_TA_GO.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _yesterday ## -- Begin function yesterday .p2align 4, 0x90 _yesterday: ## @yesterday .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .globl _tomorrow ## -- Begin function tomorrow .p2align 4, 0x90 _tomorrow: ## @tomorrow .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _yesterday ; -- Begin function yesterday .p2align 2 _yesterday: ; @yesterday .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl _tomorrow ; -- Begin function tomorrow .p2align 2 _tomorrow: ; @tomorrow .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/291933.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl ___qla83xx_get_idc_control ## -- Begin function __qla83xx_get_idc_control .p2align 4, 0x90 ___qla83xx_get_idc_control: ## @__qla83xx_get_idc_control .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rsi, %rdx movq _QLA83XX_IDC_CONTROL@GOTPCREL(%rip), %rax movl (%rax), %esi popq %rbp jmp _qla83xx_rd_reg ## TAILCALL .cfi_endproc ## -- End function .comm _QLA83XX_IDC_CONTROL,4,2 ## @QLA83XX_IDC_CONTROL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl ___qla83xx_get_idc_control ; -- Begin function __qla83xx_get_idc_control .p2align 2 ___qla83xx_get_idc_control: ; @__qla83xx_get_idc_control .cfi_startproc ; %bb.0: mov x2, x1 Lloh0: adrp x8, _QLA83XX_IDC_CONTROL@GOTPAGE Lloh1: ldr x8, [x8, _QLA83XX_IDC_CONTROL@GOTPAGEOFF] Lloh2: ldr w1, [x8] b _qla83xx_rd_reg .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _QLA83XX_IDC_CONTROL,4,2 ; @QLA83XX_IDC_CONTROL .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/scsi/qla2xxx/extr_qla_init.c___qla83xx_get_idc_control.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _CheckWinding ## -- Begin function CheckWinding .p2align 4, 0x90 _CheckWinding: ## @CheckWinding .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r12 movl (%rdi), %esi cmpl $2, %esi jg LBB0_2 ## %bb.1: leaq L_.str(%rip), %rdi xorl %eax, %eax callq _Error LBB0_2: movq %r12, %rdi callq _WindingArea testl %eax, %eax jg LBB0_4 ## %bb.3: leaq L_.str.1(%rip), %rdi movl %eax, %esi xorl %eax, %eax callq _Error LBB0_4: leaq -44(%rbp), %rdx movq %r12, %rdi callq _WindingPlane cmpl $0, (%r12) jle LBB0_27 ## %bb.5: movq _BOGUS_RANGE@GOTPCREL(%rip), %rbx xorl %r13d, %r13d jmp LBB0_7 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_7 Depth=1 cltq cmpq %rax, %r13 movq _BOGUS_RANGE@GOTPCREL(%rip), %rbx jge LBB0_27 LBB0_7: ## =>This Loop Header: Depth=1 ## Child Loop BB0_23 Depth 2 movq %r13, %r14 movq 8(%r12), %rax movq (%rax,%r13,8), %r15 movl (%r15), %esi movl (%rbx), %eax cmpl %eax, %esi jg LBB0_9 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 movl %eax, %ecx negl %ecx cmpl %ecx, %esi jge LBB0_10 LBB0_9: ## in Loop: Header=BB0_7 Depth=1 leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _Error movl (%rbx), %eax movl %eax, %ecx negl %ecx LBB0_10: ## in Loop: Header=BB0_7 Depth=1 movl 4(%r15), %esi cmpl %eax, %esi jg LBB0_12 ## %bb.11: ## in Loop: Header=BB0_7 Depth=1 cmpl %ecx, %esi jge LBB0_13 LBB0_12: ## in Loop: Header=BB0_7 Depth=1 leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _Error movl (%rbx), %eax movl %eax, %ecx negl %ecx LBB0_13: ## in Loop: Header=BB0_7 Depth=1 movl 8(%r15), %esi cmpl %eax, %esi jg LBB0_15 ## %bb.14: ## in Loop: Header=BB0_7 Depth=1 cmpl %ecx, %esi jge LBB0_16 LBB0_15: ## in Loop: Header=BB0_7 Depth=1 leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _Error LBB0_16: ## in Loop: Header=BB0_7 Depth=1 leaq 1(%r14), %r13 movl (%r12), %ebx movq %r15, %rdi callq _DotProduct subl -44(%rbp), %eax movq _ON_EPSILON@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, %edx negl %edx cmpl %edx, %eax jl LBB0_18 ## %bb.17: ## in Loop: Header=BB0_7 Depth=1 cmpl %ecx, %eax jle LBB0_19 LBB0_18: ## in Loop: Header=BB0_7 Depth=1 leaq L_.str.3(%rip), %rdi xorl %eax, %eax callq _Error LBB0_19: ## in Loop: Header=BB0_7 Depth=1 cmpq %rbx, %r13 movq 8(%r12), %rax movl %r13d, %ecx movl $0, %edx cmovneq %rcx, %rdx movq (%rax,%rdx,8), %rdi movq %r15, %rsi callq _VectorSubtract callq _VectorLength movq _ON_EPSILON@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jge LBB0_21 ## %bb.20: ## in Loop: Header=BB0_7 Depth=1 leaq L_.str.4(%rip), %rdi xorl %eax, %eax callq _Error LBB0_21: ## in Loop: Header=BB0_7 Depth=1 callq _CrossProduct callq _VectorNormalize movq %r15, %rdi callq _DotProduct movl %eax, %r15d movl (%r12), %eax testl %eax, %eax jle LBB0_6 ## %bb.22: ## in Loop: Header=BB0_7 Depth=1 movq _ON_EPSILON@GOTPCREL(%rip), %rax addl (%rax), %r15d xorl %ebx, %ebx jmp LBB0_23 .p2align 4, 0x90 LBB0_26: ## in Loop: Header=BB0_23 Depth=2 incq %rbx movslq (%r12), %rax cmpq %rax, %rbx jge LBB0_6 LBB0_23: ## Parent Loop BB0_7 Depth=1 ## => This Inner Loop Header: Depth=2 cmpq %rbx, %r14 je LBB0_26 ## %bb.24: ## in Loop: Header=BB0_23 Depth=2 movq 8(%r12), %rax movq (%rax,%rbx,8), %rdi callq _DotProduct cmpl %r15d, %eax jle LBB0_26 ## %bb.25: ## in Loop: Header=BB0_23 Depth=2 leaq L_.str.5(%rip), %rdi xorl %eax, %eax callq _Error jmp LBB0_26 LBB0_27: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "CheckWinding: %i points" L_.str.1: ## @.str.1 .asciz "CheckWinding: %f area" .comm _BOGUS_RANGE,4,2 ## @BOGUS_RANGE L_.str.2: ## @.str.2 .asciz "CheckWinding: BUGUS_RANGE: %f" .comm _ON_EPSILON,4,2 ## @ON_EPSILON L_.str.3: ## @.str.3 .asciz "CheckWinding: point off plane" L_.str.4: ## @.str.4 .asciz "CheckWinding: degenerate edge" L_.str.5: ## @.str.5 .asciz "CheckWinding: non-convex" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _CheckWinding ; -- Begin function CheckWinding .p2align 2 _CheckWinding: ; @CheckWinding .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x0 ldr w8, [x0] cmp w8, #2 b.gt LBB0_2 ; %bb.1: str x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _Error LBB0_2: mov x0, x19 bl _WindingArea ; kill: def $w0 killed $w0 def $x0 cmp w0, #0 b.gt LBB0_4 ; %bb.3: str x0, [sp] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _Error LBB0_4: add x2, sp, #12 mov x0, x19 bl _WindingPlane ldr w8, [x19] cmp w8, #1 b.lt LBB0_23 ; %bb.5: mov x27, #0 Lloh4: adrp x25, _BOGUS_RANGE@GOTPAGE Lloh5: ldr x25, [x25, _BOGUS_RANGE@GOTPAGEOFF] Lloh6: adrp x20, l_.str.2@PAGE Lloh7: add x20, x20, l_.str.2@PAGEOFF Lloh8: adrp x26, _ON_EPSILON@GOTPAGE Lloh9: ldr x26, [x26, _ON_EPSILON@GOTPAGEOFF] Lloh10: adrp x22, l_.str.4@PAGE Lloh11: add x22, x22, l_.str.4@PAGEOFF Lloh12: adrp x23, l_.str.5@PAGE Lloh13: add x23, x23, l_.str.5@PAGEOFF b LBB0_7 LBB0_6: ; in Loop: Header=BB0_7 Depth=1 cmp x28, w8, sxtw mov x27, x28 b.ge LBB0_23 LBB0_7: ; =>This Loop Header: Depth=1 ; Child Loop BB0_20 Depth 2 ldr x8, [x19, #8] ldr x24, [x8, x27, lsl #3] ldr w10, [x24] ldr w8, [x25] neg w9, w8 cmp w10, w8 ccmp w10, w9, #8, le b.ge LBB0_9 ; %bb.8: ; in Loop: Header=BB0_7 Depth=1 str x10, [sp] mov x0, x20 bl _Error ldr w8, [x25] neg w9, w8 LBB0_9: ; in Loop: Header=BB0_7 Depth=1 ldr w10, [x24, #4] cmp w10, w8 ccmp w10, w9, #8, le b.ge LBB0_11 ; %bb.10: ; in Loop: Header=BB0_7 Depth=1 str x10, [sp] mov x0, x20 bl _Error ldr w8, [x25] neg w9, w8 LBB0_11: ; in Loop: Header=BB0_7 Depth=1 ldr w10, [x24, #8] cmp w10, w8 ccmp w10, w9, #8, le b.ge LBB0_13 ; %bb.12: ; in Loop: Header=BB0_7 Depth=1 str x10, [sp] mov x0, x20 bl _Error LBB0_13: ; in Loop: Header=BB0_7 Depth=1 ldr w21, [x19] mov x0, x24 bl _DotProduct ldr w8, [sp, #12] sub w8, w0, w8 ldr w9, [x26] neg w10, w9 cmp w8, w10 ccmp w8, w9, #0, ge b.le LBB0_15 ; %bb.14: ; in Loop: Header=BB0_7 Depth=1 Lloh14: adrp x0, l_.str.3@PAGE Lloh15: add x0, x0, l_.str.3@PAGEOFF bl _Error LBB0_15: ; in Loop: Header=BB0_7 Depth=1 add x28, x27, #1 ldr x8, [x19, #8] and x9, x28, #0xffffffff cmp x28, x21 csel x9, xzr, x9, eq ldr x0, [x8, x9, lsl #3] mov x1, x24 bl _VectorSubtract bl _VectorLength ldr w8, [x26] cmp w0, w8 b.ge LBB0_17 ; %bb.16: ; in Loop: Header=BB0_7 Depth=1 mov x0, x22 bl _Error LBB0_17: ; in Loop: Header=BB0_7 Depth=1 bl _CrossProduct bl _VectorNormalize mov x0, x24 bl _DotProduct ldr w8, [x19] cmp w8, #1 b.lt LBB0_6 ; %bb.18: ; in Loop: Header=BB0_7 Depth=1 mov x24, #0 ldr w8, [x26] add w21, w8, w0 b LBB0_20 LBB0_19: ; in Loop: Header=BB0_20 Depth=2 add x24, x24, #1 ldrsw x8, [x19] cmp x24, x8 b.ge LBB0_6 LBB0_20: ; Parent Loop BB0_7 Depth=1 ; => This Inner Loop Header: Depth=2 cmp x27, x24 b.eq LBB0_19 ; %bb.21: ; in Loop: Header=BB0_20 Depth=2 ldr x8, [x19, #8] ldr x0, [x8, x24, lsl #3] bl _DotProduct cmp w0, w21 b.le LBB0_19 ; %bb.22: ; in Loop: Header=BB0_20 Depth=2 mov x0, x23 bl _Error b LBB0_19 LBB0_23: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpAdd Lloh14, Lloh15 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "CheckWinding: %i points" l_.str.1: ; @.str.1 .asciz "CheckWinding: %f area" .comm _BOGUS_RANGE,4,2 ; @BOGUS_RANGE l_.str.2: ; @.str.2 .asciz "CheckWinding: BUGUS_RANGE: %f" .comm _ON_EPSILON,4,2 ; @ON_EPSILON l_.str.3: ; @.str.3 .asciz "CheckWinding: point off plane" l_.str.4: ; @.str.4 .asciz "CheckWinding: degenerate edge" l_.str.5: ; @.str.5 .asciz "CheckWinding: non-convex" .subsections_via_symbols
AnghaBench/Quake-III-Arena/code/bspc/extr_l_poly.c_CheckWinding.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sti_compositor_remove _sti_compositor_remove: ## @sti_compositor_remove .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _sti_compositor_ops@GOTPCREL(%rip), %rsi callq _component_del xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _sti_compositor_ops,4,2 ## @sti_compositor_ops .no_dead_strip _sti_compositor_remove .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sti_compositor_remove _sti_compositor_remove: ; @sti_compositor_remove .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x1, _sti_compositor_ops@GOTPAGE Lloh1: ldr x1, [x1, _sti_compositor_ops@GOTPAGEOFF] bl _component_del mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _sti_compositor_ops,4,2 ; @sti_compositor_ops .no_dead_strip _sti_compositor_remove .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/sti/extr_sti_compositor.c_sti_compositor_remove.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function lpfc_cmpl_reg_new_vport _lpfc_cmpl_reg_new_vport: ## @lpfc_cmpl_reg_new_vport .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r12 movq %rdi, %r14 movq 8(%rsi), %rbx movq %rbx, %rdi callq _lpfc_shost_from_vport movq %rax, %r13 movq 32(%r12), %r15 movl (%rax), %edi callq _spin_lock_irq movq _FC_VPORT_NEEDS_REG_VPI@GOTPCREL(%rip), %rax movl (%rax), %eax notl %eax andl %eax, (%rbx) movl (%r13), %edi callq _spin_unlock_irq movl 16(%r12), %r8d testl %r8d, %r8d je LBB0_15 ## %bb.1: movq _KERN_ERR@GOTPCREL(%rip), %rax movl (%rax), %esi movq _LOG_MBOX@GOTPCREL(%rip), %rax movl (%rax), %edx movq 24(%r12), %r9 leaq L_.str(%rip), %rcx movq %rbx, %rdi xorl %eax, %eax callq _lpfc_printf_vlog movq (%r14), %rax movq _LPFC_SLI_REV4@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq %rcx, %rax jne LBB0_3 ## %bb.2: cmpq $0, 24(%r12) jne LBB0_21 LBB0_3: movl 16(%r12), %edx leal -38402(%rdx), %esi cmpl $2, %esi jb LBB0_6 ## %bb.4: cmpl $32, %edx je LBB0_7 ## %bb.5: cmpl $17, %edx jne LBB0_9 LBB0_6: movq _FC_VPORT_FAILED@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _lpfc_vport_set_state movl (%r13), %edi callq _spin_lock_irq movq _FC_FABRIC@GOTPCREL(%rip), %rax movq _FC_PUBLIC_LOOP@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl (%rax), %ecx notl %ecx andl %ecx, (%rbx) movl (%r13), %edi callq _spin_unlock_irq movq %rbx, %rdi callq _lpfc_can_disctmo jmp LBB0_21 LBB0_15: movl (%r13), %edi callq _spin_lock_irq movq _LPFC_VPI_REGISTERED@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, 16(%rbx) movl (%r13), %edi callq _spin_unlock_irq cmpq 16(%r14), %rbx je LBB0_16 LBB0_20: movq %r14, %rdi movq %rbx, %rsi callq _lpfc_do_scr_ns_plogi jmp LBB0_21 LBB0_16: movq (%r14), %rax movq _LPFC_SLI_REV4@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jge LBB0_18 ## %bb.17: movq %rbx, %rdi callq _lpfc_issue_fabric_reglogin jmp LBB0_21 LBB0_7: movl (%r13), %edi callq _spin_lock_irq movq _FC_VPORT_NEEDS_REG_VPI@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, (%rbx) movl (%r13), %edi callq _spin_unlock_irq movl 24(%rbx), %edx movq %r14, %rdi movq %r12, %rsi callq _lpfc_init_vpi movq %rbx, 8(%r12) movq _lpfc_init_vpi_cmpl@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%r12) movq _MBX_NOWAIT@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r14, %rdi movq %r12, %rsi callq _lpfc_sli_issue_mbox movq _MBX_NOT_FINISHED@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_22 ## %bb.8: movq _KERN_ERR@GOTPCREL(%rip), %rax movl (%rax), %esi movq _LOG_MBOX@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str.1(%rip), %rcx movq %rbx, %rdi xorl %eax, %eax callq _lpfc_printf_vlog movq (%r14), %rax movq _LPFC_SLI_REV4@GOTPCREL(%rip), %rcx movq (%rcx), %rcx LBB0_9: cmpq %rcx, %rax jne LBB0_11 ## %bb.10: movq %rbx, %rdi callq _lpfc_sli4_unreg_all_rpis LBB0_11: movq %rbx, %rdi callq _lpfc_mbx_unreg_vpi movl (%r13), %edi callq _spin_lock_irq movq _FC_VPORT_NEEDS_REG_VPI@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, (%rbx) movl (%r13), %edi callq _spin_unlock_irq movl 20(%rbx), %eax movq _LPFC_PHYSICAL_PORT@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_14 ## %bb.12: movq _FC_LOGO_RCVD_DID_CHNG@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, (%rbx) je LBB0_13 LBB0_14: movq %rbx, %rdi callq _lpfc_initial_fdisc jmp LBB0_21 LBB0_18: movq 8(%rbx), %rax movq _LPFC_FDISC@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_20 ## %bb.19: movq %r14, %rdi callq _lpfc_start_fdiscs jmp LBB0_20 LBB0_22: movq %r15, %rdi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _lpfc_nlp_put ## TAILCALL LBB0_13: movq %rbx, %rdi callq _lpfc_issue_init_vfi LBB0_21: movq %r15, %rdi callq _lpfc_nlp_put movl 8(%r14), %esi movq %r12, %rdi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _mempool_free ## TAILCALL .cfi_endproc ## -- End function .comm _FC_VPORT_NEEDS_REG_VPI,4,2 ## @FC_VPORT_NEEDS_REG_VPI .comm _KERN_ERR,4,2 ## @KERN_ERR .comm _LOG_MBOX,4,2 ## @LOG_MBOX .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "0915 Register VPI failed : Status: x%x upd bit: x%x \n" .comm _LPFC_SLI_REV4,8,3 ## @LPFC_SLI_REV4 .comm _FC_VPORT_FAILED,4,2 ## @FC_VPORT_FAILED .comm _FC_FABRIC,4,2 ## @FC_FABRIC .comm _FC_PUBLIC_LOOP,4,2 ## @FC_PUBLIC_LOOP .comm _lpfc_init_vpi_cmpl,4,2 ## @lpfc_init_vpi_cmpl .comm _MBX_NOWAIT,4,2 ## @MBX_NOWAIT .comm _MBX_NOT_FINISHED,4,2 ## @MBX_NOT_FINISHED L_.str.1: ## @.str.1 .asciz "2732 Failed to issue INIT_VPI mailbox command\n" .comm _LPFC_PHYSICAL_PORT,4,2 ## @LPFC_PHYSICAL_PORT .comm _FC_LOGO_RCVD_DID_CHNG,4,2 ## @FC_LOGO_RCVD_DID_CHNG .comm _LPFC_VPI_REGISTERED,4,2 ## @LPFC_VPI_REGISTERED .comm _LPFC_FDISC,8,3 ## @LPFC_FDISC .no_dead_strip _lpfc_cmpl_reg_new_vport .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function lpfc_cmpl_reg_new_vport _lpfc_cmpl_reg_new_vport: ; @lpfc_cmpl_reg_new_vport .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x1 mov x20, x0 ldr x22, [x1, #8] mov x0, x22 bl _lpfc_shost_from_vport mov x23, x0 ldr x21, [x19, #32] ldr w0, [x0] bl _spin_lock_irq Lloh0: adrp x24, _FC_VPORT_NEEDS_REG_VPI@GOTPAGE Lloh1: ldr x24, [x24, _FC_VPORT_NEEDS_REG_VPI@GOTPAGEOFF] ldr w8, [x24] ldr w9, [x22] bic w8, w9, w8 str w8, [x22] ldr w0, [x23] bl _spin_unlock_irq ldr w8, [x19, #16] cbz w8, LBB0_7 ; %bb.1: Lloh2: adrp x25, _KERN_ERR@GOTPAGE Lloh3: ldr x25, [x25, _KERN_ERR@GOTPAGEOFF] ldr w1, [x25] Lloh4: adrp x26, _LOG_MBOX@GOTPAGE Lloh5: ldr x26, [x26, _LOG_MBOX@GOTPAGEOFF] ldr w2, [x26] ldr x9, [x19, #24] stp x8, x9, [sp] Lloh6: adrp x3, l_.str@PAGE Lloh7: add x3, x3, l_.str@PAGEOFF mov x0, x22 bl _lpfc_printf_vlog ldr x8, [x20] Lloh8: adrp x27, _LPFC_SLI_REV4@GOTPAGE Lloh9: ldr x27, [x27, _LPFC_SLI_REV4@GOTPAGEOFF] ldr x9, [x27] cmp x8, x9 b.ne LBB0_3 ; %bb.2: ldr x10, [x19, #24] cbnz x10, LBB0_22 LBB0_3: ldr w10, [x19, #16] mov w11, #-38402 add w11, w10, w11 cmp w11, #2 b.lo LBB0_6 ; %bb.4: cmp w10, #32 b.eq LBB0_11 ; %bb.5: cmp w10, #17 b.ne LBB0_13 LBB0_6: Lloh10: adrp x8, _FC_VPORT_FAILED@GOTPAGE Lloh11: ldr x8, [x8, _FC_VPORT_FAILED@GOTPAGEOFF] Lloh12: ldr w1, [x8] mov x0, x22 bl _lpfc_vport_set_state ldr w0, [x23] bl _spin_lock_irq Lloh13: adrp x8, _FC_FABRIC@GOTPAGE Lloh14: ldr x8, [x8, _FC_FABRIC@GOTPAGEOFF] Lloh15: ldr w8, [x8] Lloh16: adrp x9, _FC_PUBLIC_LOOP@GOTPAGE Lloh17: ldr x9, [x9, _FC_PUBLIC_LOOP@GOTPAGEOFF] Lloh18: ldr w9, [x9] orr w8, w9, w8 ldr w9, [x22] bic w8, w9, w8 str w8, [x22] ldr w0, [x23] bl _spin_unlock_irq mov x0, x22 bl _lpfc_can_disctmo b LBB0_22 LBB0_7: ldr w0, [x23] bl _spin_lock_irq Lloh19: adrp x8, _LPFC_VPI_REGISTERED@GOTPAGE Lloh20: ldr x8, [x8, _LPFC_VPI_REGISTERED@GOTPAGEOFF] Lloh21: ldr w8, [x8] ldr w9, [x22, #16] orr w8, w9, w8 str w8, [x22, #16] ldr w0, [x23] bl _spin_unlock_irq ldr x8, [x20, #16] cmp x22, x8 b.eq LBB0_9 LBB0_8: mov x0, x20 mov x1, x22 bl _lpfc_do_scr_ns_plogi b LBB0_22 LBB0_9: ldr x8, [x20] Lloh22: adrp x9, _LPFC_SLI_REV4@GOTPAGE Lloh23: ldr x9, [x9, _LPFC_SLI_REV4@GOTPAGEOFF] Lloh24: ldr x9, [x9] cmp x8, x9 b.ge LBB0_18 ; %bb.10: mov x0, x22 bl _lpfc_issue_fabric_reglogin b LBB0_22 LBB0_11: ldr w0, [x23] bl _spin_lock_irq ldr w8, [x24] ldr w9, [x22] orr w8, w9, w8 str w8, [x22] ldr w0, [x23] bl _spin_unlock_irq ldr w2, [x22, #24] mov x0, x20 mov x1, x19 bl _lpfc_init_vpi Lloh25: adrp x8, _lpfc_init_vpi_cmpl@GOTPAGE Lloh26: ldr x8, [x8, _lpfc_init_vpi_cmpl@GOTPAGEOFF] str x22, [x19, #8] Lloh27: ldr w8, [x8] str w8, [x19] Lloh28: adrp x8, _MBX_NOWAIT@GOTPAGE Lloh29: ldr x8, [x8, _MBX_NOWAIT@GOTPAGEOFF] Lloh30: ldr w2, [x8] mov x0, x20 mov x1, x19 bl _lpfc_sli_issue_mbox Lloh31: adrp x8, _MBX_NOT_FINISHED@GOTPAGE Lloh32: ldr x8, [x8, _MBX_NOT_FINISHED@GOTPAGEOFF] Lloh33: ldr w8, [x8] cmp w0, w8 b.ne LBB0_20 ; %bb.12: ldr w1, [x25] ldr w2, [x26] Lloh34: adrp x3, l_.str.1@PAGE Lloh35: add x3, x3, l_.str.1@PAGEOFF mov x0, x22 bl _lpfc_printf_vlog ldr x8, [x20] ldr x9, [x27] LBB0_13: cmp x8, x9 b.ne LBB0_15 ; %bb.14: mov x0, x22 bl _lpfc_sli4_unreg_all_rpis LBB0_15: mov x0, x22 bl _lpfc_mbx_unreg_vpi ldr w0, [x23] bl _spin_lock_irq ldr w8, [x24] ldr w9, [x22] orr w8, w9, w8 str w8, [x22] ldr w0, [x23] bl _spin_unlock_irq ldr w8, [x22, #20] Lloh36: adrp x9, _LPFC_PHYSICAL_PORT@GOTPAGE Lloh37: ldr x9, [x9, _LPFC_PHYSICAL_PORT@GOTPAGEOFF] Lloh38: ldr w9, [x9] cmp w8, w9 b.ne LBB0_17 ; %bb.16: ldr w8, [x22] Lloh39: adrp x9, _FC_LOGO_RCVD_DID_CHNG@GOTPAGE Lloh40: ldr x9, [x9, _FC_LOGO_RCVD_DID_CHNG@GOTPAGEOFF] Lloh41: ldr w9, [x9] tst w9, w8 b.eq LBB0_21 LBB0_17: mov x0, x22 bl _lpfc_initial_fdisc b LBB0_22 LBB0_18: ldr x8, [x22, #8] Lloh42: adrp x9, _LPFC_FDISC@GOTPAGE Lloh43: ldr x9, [x9, _LPFC_FDISC@GOTPAGEOFF] Lloh44: ldr x9, [x9] cmp x8, x9 b.eq LBB0_8 ; %bb.19: mov x0, x20 bl _lpfc_start_fdiscs b LBB0_8 LBB0_20: mov x0, x21 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 b _lpfc_nlp_put LBB0_21: mov x0, x22 bl _lpfc_issue_init_vfi LBB0_22: mov x0, x21 bl _lpfc_nlp_put ldr w1, [x20, #8] mov x0, x19 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 b _mempool_free .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33 .loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38 .loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41 .loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44 .cfi_endproc ; -- End function .comm _FC_VPORT_NEEDS_REG_VPI,4,2 ; @FC_VPORT_NEEDS_REG_VPI .comm _KERN_ERR,4,2 ; @KERN_ERR .comm _LOG_MBOX,4,2 ; @LOG_MBOX .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "0915 Register VPI failed : Status: x%x upd bit: x%x \n" .comm _LPFC_SLI_REV4,8,3 ; @LPFC_SLI_REV4 .comm _FC_VPORT_FAILED,4,2 ; @FC_VPORT_FAILED .comm _FC_FABRIC,4,2 ; @FC_FABRIC .comm _FC_PUBLIC_LOOP,4,2 ; @FC_PUBLIC_LOOP .comm _lpfc_init_vpi_cmpl,4,2 ; @lpfc_init_vpi_cmpl .comm _MBX_NOWAIT,4,2 ; @MBX_NOWAIT .comm _MBX_NOT_FINISHED,4,2 ; @MBX_NOT_FINISHED l_.str.1: ; @.str.1 .asciz "2732 Failed to issue INIT_VPI mailbox command\n" .comm _LPFC_PHYSICAL_PORT,4,2 ; @LPFC_PHYSICAL_PORT .comm _FC_LOGO_RCVD_DID_CHNG,4,2 ; @FC_LOGO_RCVD_DID_CHNG .comm _LPFC_VPI_REGISTERED,4,2 ; @LPFC_VPI_REGISTERED .comm _LPFC_FDISC,8,3 ; @LPFC_FDISC .no_dead_strip _lpfc_cmpl_reg_new_vport .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/scsi/lpfc/extr_lpfc_els.c_lpfc_cmpl_reg_new_vport.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function redisContextTimeoutMsec _redisContextTimeoutMsec: ## @redisContextTimeoutMsec .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rax movq _REDIS_OK@GOTPCREL(%rip), %r8 movq $-1, %rcx testq %rax, %rax je LBB0_4 ## %bb.1: movl (%rax), %edi movq _REDIS_ERR@GOTPCREL(%rip), %rdx cmpl $1000000, %edi ## imm = 0xF4240 jg LBB0_5 ## %bb.2: movl 4(%rax), %r9d movq ___MAX_MSEC@GOTPCREL(%rip), %rax cmpl (%rax), %r9d jg LBB0_5 ## %bb.3: imull $1000, %r9d, %eax ## imm = 0x3E8 addl $999, %edi ## imm = 0x3E7 movslq %edi, %rcx imulq $274877907, %rcx, %rdx ## imm = 0x10624DD3 movq %rdx, %rcx shrq $63, %rcx sarq $38, %rdx addl %ecx, %edx addl %eax, %edx movq _INT_MAX@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq %rdx, %rax movq %rdx, %rcx cmovlq %rax, %rcx testl %edx, %edx cmovsq %rax, %rcx LBB0_4: movq %r8, %rdx LBB0_5: movq %rcx, (%rsi) movl (%rdx), %eax popq %rbp retq .cfi_endproc ## -- End function .comm ___MAX_MSEC,4,2 ## @__MAX_MSEC .comm _REDIS_ERR,4,2 ## @REDIS_ERR .comm _INT_MAX,8,3 ## @INT_MAX .comm _REDIS_OK,4,2 ## @REDIS_OK .no_dead_strip _redisContextTimeoutMsec .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function redisContextTimeoutMsec _redisContextTimeoutMsec: ; @redisContextTimeoutMsec .cfi_startproc ; %bb.0: ldr x8, [x0] cbz x8, LBB0_4 ; %bb.1: ldr w9, [x8] mov w10, #16960 movk w10, #15, lsl #16 cmp w9, w10 b.gt LBB0_3 ; %bb.2: ldr w8, [x8, #4] Lloh0: adrp x10, ___MAX_MSEC@GOTPAGE Lloh1: ldr x10, [x10, ___MAX_MSEC@GOTPAGEOFF] Lloh2: ldr w10, [x10] cmp w8, w10 b.le LBB0_5 LBB0_3: Lloh3: adrp x8, _REDIS_ERR@GOTPAGE Lloh4: ldr x8, [x8, _REDIS_ERR@GOTPAGEOFF] mov x9, #-1 b LBB0_6 LBB0_4: Lloh5: adrp x8, _REDIS_OK@GOTPAGE Lloh6: ldr x8, [x8, _REDIS_OK@GOTPAGEOFF] mov x9, #-1 b LBB0_6 LBB0_5: mov w10, #1000 add w9, w9, #999 mov w11, #19923 movk w11, #4194, lsl #16 smull x9, w9, w11 lsr x11, x9, #63 asr x9, x9, #38 add w9, w9, w11 madd w8, w8, w10, w9 Lloh7: adrp x9, _INT_MAX@GOTPAGE Lloh8: ldr x9, [x9, _INT_MAX@GOTPAGEOFF] Lloh9: ldr x9, [x9] cmp x9, x8 ccmp w8, #0, #8, ge csel x9, x9, x8, lt Lloh10: adrp x8, _REDIS_OK@GOTPAGE Lloh11: ldr x8, [x8, _REDIS_OK@GOTPAGEOFF] LBB0_6: str x9, [x1] ldr w0, [x8] ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .cfi_endproc ; -- End function .comm ___MAX_MSEC,4,2 ; @__MAX_MSEC .comm _REDIS_ERR,4,2 ; @REDIS_ERR .comm _INT_MAX,8,3 ; @INT_MAX .comm _REDIS_OK,4,2 ; @REDIS_OK .no_dead_strip _redisContextTimeoutMsec .subsections_via_symbols
AnghaBench/redis/deps/hiredis/extr_net.c_redisContextTimeoutMsec.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 callq _fork testl %eax, %eax js LBB0_1 ## %bb.2: je LBB0_3 ## %bb.5: movl %eax, %ebx callq _fork testl %eax, %eax js LBB0_1 ## %bb.6: je LBB0_7 ## %bb.8: movl %eax, %r12d callq _fork testl %eax, %eax js LBB0_1 ## %bb.9: je LBB0_10 ## %bb.11: movl %eax, %r15d callq _fork testl %eax, %eax js LBB0_1 ## %bb.12: je LBB0_13 ## %bb.14: movl %eax, %r14d leaq -36(%rbp), %rsi movl %ebx, %edi xorl %edx, %edx callq _waitpid movl -36(%rbp), %ecx testb $127, %cl jne LBB0_16 ## %bb.15: movzbl %ch, %ecx leaq L_.str.2(%rip), %rdi xorl %esi, %esi movl %eax, %edx xorl %eax, %eax callq _printf LBB0_16: leaq -36(%rbp), %rsi movl %r12d, %edi xorl %edx, %edx callq _waitpid movl -36(%rbp), %ecx testb $127, %cl jne LBB0_18 ## %bb.17: movzbl %ch, %ecx leaq L_.str.2(%rip), %rdi movl $1, %esi movl %eax, %edx xorl %eax, %eax callq _printf LBB0_18: leaq -36(%rbp), %rsi movl %r15d, %edi xorl %edx, %edx callq _waitpid movl -36(%rbp), %ecx testb $127, %cl jne LBB0_20 ## %bb.19: movzbl %ch, %ecx leaq L_.str.2(%rip), %rdi movl $2, %esi movl %eax, %edx xorl %eax, %eax callq _printf LBB0_20: leaq -36(%rbp), %rsi movl %r14d, %edi xorl %edx, %edx callq _waitpid movl -36(%rbp), %ecx testb $127, %cl jne LBB0_22 ## %bb.21: movzbl %ch, %ecx leaq L_.str.2(%rip), %rdi movl $3, %esi movl %eax, %edx xorl %eax, %eax callq _printf jmp LBB0_22 LBB0_1: callq _main.cold.1 LBB0_22: xorl %eax, %eax addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_3: xorl %r14d, %r14d jmp LBB0_4 LBB0_7: movl $1, %r14d jmp LBB0_4 LBB0_10: movl $2, %r14d jmp LBB0_4 LBB0_13: movl $3, %r14d LBB0_4: leal 1(%r14), %ebx callq _getpid leaq L_.str.1(%rip), %rdi movl %r14d, %esi movl %eax, %edx movl %ebx, %ecx xorl %eax, %eax callq _printf movl %ebx, %edi callq _sleep movl %ebx, %edi callq _exit .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function main.cold.1 _main.cold.1: ## @main.cold.1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str(%rip), %rdi callq _perror pushq $-1 popq %rdi callq _exit .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Fork failed!" L_.str.1: ## @.str.1 .asciz "Filho #%d criado com o PID = %d (tempo de espera de %d segundos)\n" L_.str.2: ## @.str.2 .asciz "O filho #%d com o PID = %d terminou com valor = %d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 bl _fork tbnz w0, #31, LBB0_17 ; %bb.1: mov x22, x0 cbz w0, LBB0_18 ; %bb.2: bl _fork tbnz w0, #31, LBB0_17 ; %bb.3: mov x21, x0 cbz w0, LBB0_19 ; %bb.4: bl _fork tbnz w0, #31, LBB0_17 ; %bb.5: mov x20, x0 cbz w0, LBB0_20 ; %bb.6: bl _fork tbnz w0, #31, LBB0_17 ; %bb.7: mov x19, x0 cbz w0, LBB0_21 ; %bb.8: add x1, sp, #28 mov x0, x22 mov w2, #0 bl _waitpid ; kill: def $w0 killed $w0 def $x0 ldr w8, [sp, #28] tst w8, #0x7f b.ne LBB0_10 ; %bb.9: ubfx w8, w8, #8, #8 stp xzr, x0, [sp] str x8, [sp, #16] Lloh0: adrp x0, l_.str.2@PAGE Lloh1: add x0, x0, l_.str.2@PAGEOFF bl _printf LBB0_10: add x1, sp, #28 mov x0, x21 mov w2, #0 bl _waitpid ; kill: def $w0 killed $w0 def $x0 ldr w8, [sp, #28] tst w8, #0x7f b.ne LBB0_12 ; %bb.11: ubfx w8, w8, #8, #8 mov w9, #1 stp x9, x0, [sp] str x8, [sp, #16] Lloh2: adrp x0, l_.str.2@PAGE Lloh3: add x0, x0, l_.str.2@PAGEOFF bl _printf LBB0_12: add x1, sp, #28 mov x0, x20 mov w2, #0 bl _waitpid ; kill: def $w0 killed $w0 def $x0 ldr w8, [sp, #28] tst w8, #0x7f b.ne LBB0_14 ; %bb.13: ubfx w8, w8, #8, #8 mov w9, #2 stp x9, x0, [sp] str x8, [sp, #16] Lloh4: adrp x0, l_.str.2@PAGE Lloh5: add x0, x0, l_.str.2@PAGEOFF bl _printf LBB0_14: add x1, sp, #28 mov x0, x19 mov w2, #0 bl _waitpid ; kill: def $w0 killed $w0 def $x0 ldr w8, [sp, #28] tst w8, #0x7f b.ne LBB0_16 ; %bb.15: ubfx w8, w8, #8, #8 mov w9, #3 stp x9, x0, [sp] str x8, [sp, #16] Lloh6: adrp x0, l_.str.2@PAGE Lloh7: add x0, x0, l_.str.2@PAGEOFF bl _printf LBB0_16: mov w0, #0 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret LBB0_17: bl _main.cold.1 LBB0_18: mov w20, #0 b LBB0_22 LBB0_19: mov w20, #1 b LBB0_22 LBB0_20: mov w20, #2 b LBB0_22 LBB0_21: mov w20, #3 LBB0_22: add w19, w20, #1 bl _getpid ; kill: def $w0 killed $w0 def $x0 stp x0, x19, [sp, #8] str x20, [sp] Lloh8: adrp x0, l_.str.1@PAGE Lloh9: add x0, x0, l_.str.1@PAGEOFF bl _printf mov x0, x19 bl _sleep mov x0, x19 bl _exit .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.1 _main.cold.1: ; @main.cold.1 .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh10: adrp x0, l_.str@PAGE Lloh11: add x0, x0, l_.str@PAGEOFF bl _perror mov w0, #-1 bl _exit .loh AdrpAdd Lloh10, Lloh11 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Fork failed!" l_.str.1: ; @.str.1 .asciz "Filho #%d criado com o PID = %d (tempo de espera de %d segundos)\n" l_.str.2: ; @.str.2 .asciz "O filho #%d com o PID = %d terminou com valor = %d\n" .subsections_via_symbols
the_stack_data/867769.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function main LCPI0_0: .quad 0x0000000000000000 ## double 0 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $136, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) leaq -160(%rbp), %rbx leaq LJTI0_0(%rip), %r14 movq _val@GOTPCREL(%rip), %r15 leaq L_str.6(%rip), %r12 leaq L_.str.3(%rip), %r13 jmp LBB0_2 .p2align 4, 0x90 LBB0_1: ## in Loop: Header=BB0_2 Depth=1 leal 1(%rax), %ecx movl %ecx, _sp(%rip) cltq movsd %xmm0, (%r15,%rax,8) LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi callq _getop ## kill: def $eax killed $eax def $rax incl %eax cmpl $49, %eax ja LBB0_6 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movslq (%r14,%rax,4), %rax addq %r14, %rax jmpq *%rax LBB0_4: ## in Loop: Header=BB0_2 Depth=1 movl _sp(%rip), %eax testl %eax, %eax jle LBB0_25 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 leal -1(%rax), %ecx movl %ecx, _sp(%rip) movsd (%r15,%rax,8), %xmm0 ## xmm0 = mem[0],zero leaq L_.str.1(%rip), %rdi jmp LBB0_37 LBB0_6: ## in Loop: Header=BB0_2 Depth=1 leaq L_.str.2(%rip), %rdi movq %rbx, %rsi xorl %eax, %eax callq _printf jmp LBB0_2 LBB0_7: ## in Loop: Header=BB0_2 Depth=1 movl _sp(%rip), %eax testl %eax, %eax jle LBB0_26 ## %bb.8: ## in Loop: Header=BB0_2 Depth=1 leal -1(%rax), %ecx movl %ecx, _sp(%rip) movsd (%r15,%rax,8), %xmm0 ## xmm0 = mem[0],zero testl %ecx, %ecx jle LBB0_27 LBB0_9: ## in Loop: Header=BB0_2 Depth=1 leal -1(%rcx), %eax movl %eax, _sp(%rip) movl %ecx, %ecx movsd (%r15,%rcx,8), %xmm1 ## xmm1 = mem[0],zero jmp LBB0_10 LBB0_11: ## in Loop: Header=BB0_2 Depth=1 movl _sp(%rip), %eax testl %eax, %eax jle LBB0_28 ## %bb.12: ## in Loop: Header=BB0_2 Depth=1 leal -1(%rax), %ecx movl %ecx, _sp(%rip) movsd (%r15,%rax,8), %xmm0 ## xmm0 = mem[0],zero testl %ecx, %ecx jle LBB0_29 LBB0_13: ## in Loop: Header=BB0_2 Depth=1 leal -1(%rcx), %eax movl %eax, _sp(%rip) movl %ecx, %ecx movsd (%r15,%rcx,8), %xmm1 ## xmm1 = mem[0],zero jmp LBB0_30 LBB0_14: ## in Loop: Header=BB0_2 Depth=1 movl _sp(%rip), %eax testl %eax, %eax jle LBB0_31 ## %bb.15: ## in Loop: Header=BB0_2 Depth=1 leal -1(%rax), %ecx movl %ecx, _sp(%rip) movsd (%r15,%rax,8), %xmm1 ## xmm1 = mem[0],zero testl %ecx, %ecx jle LBB0_32 LBB0_16: ## in Loop: Header=BB0_2 Depth=1 leal -1(%rcx), %eax movl %eax, _sp(%rip) movl %ecx, %ecx movsd (%r15,%rcx,8), %xmm0 ## xmm0 = mem[0],zero jmp LBB0_17 LBB0_18: ## in Loop: Header=BB0_2 Depth=1 movl _sp(%rip), %eax testl %eax, %eax jle LBB0_33 ## %bb.19: ## in Loop: Header=BB0_2 Depth=1 leal -1(%rax), %ecx movl %ecx, _sp(%rip) movsd (%r15,%rax,8), %xmm1 ## xmm1 = mem[0],zero ucomisd LCPI0_0(%rip), %xmm1 jne LBB0_20 jnp LBB0_34 LBB0_20: ## in Loop: Header=BB0_2 Depth=1 cmpl $2, %eax jb LBB0_35 ## %bb.21: ## in Loop: Header=BB0_2 Depth=1 addl $-2, %eax movl %eax, _sp(%rip) movl %ecx, %ecx movsd (%r15,%rcx,8), %xmm0 ## xmm0 = mem[0],zero jmp LBB0_22 LBB0_23: ## in Loop: Header=BB0_2 Depth=1 movq %rbx, %rdi callq _atof movslq _sp(%rip), %rax cmpq $99, %rax jg LBB0_36 ## %bb.24: ## in Loop: Header=BB0_2 Depth=1 leal 1(%rax), %ecx movl %ecx, _sp(%rip) movsd %xmm0, (%r15,%rax,8) jmp LBB0_2 LBB0_25: ## in Loop: Header=BB0_2 Depth=1 movq %r12, %rdi callq _puts xorpd %xmm0, %xmm0 leaq L_.str.1(%rip), %rdi jmp LBB0_37 LBB0_26: ## in Loop: Header=BB0_2 Depth=1 movq %r12, %rdi callq _puts xorpd %xmm0, %xmm0 movl _sp(%rip), %ecx testl %ecx, %ecx jg LBB0_9 LBB0_27: ## in Loop: Header=BB0_2 Depth=1 movq %r12, %rdi movsd %xmm0, -168(%rbp) ## 8-byte Spill callq _puts movsd -168(%rbp), %xmm0 ## 8-byte Reload ## xmm0 = mem[0],zero xorpd %xmm1, %xmm1 movl _sp(%rip), %eax LBB0_10: ## in Loop: Header=BB0_2 Depth=1 mulsd %xmm1, %xmm0 cmpl $99, %eax jle LBB0_1 jmp LBB0_36 LBB0_28: ## in Loop: Header=BB0_2 Depth=1 movq %r12, %rdi callq _puts xorpd %xmm0, %xmm0 movl _sp(%rip), %ecx testl %ecx, %ecx jg LBB0_13 LBB0_29: ## in Loop: Header=BB0_2 Depth=1 movq %r12, %rdi movsd %xmm0, -168(%rbp) ## 8-byte Spill callq _puts movsd -168(%rbp), %xmm0 ## 8-byte Reload ## xmm0 = mem[0],zero xorpd %xmm1, %xmm1 movl _sp(%rip), %eax LBB0_30: ## in Loop: Header=BB0_2 Depth=1 addsd %xmm1, %xmm0 cmpl $99, %eax jle LBB0_1 jmp LBB0_36 LBB0_31: ## in Loop: Header=BB0_2 Depth=1 movq %r12, %rdi callq _puts xorpd %xmm1, %xmm1 movl _sp(%rip), %ecx testl %ecx, %ecx jg LBB0_16 LBB0_32: ## in Loop: Header=BB0_2 Depth=1 movq %r12, %rdi movsd %xmm1, -168(%rbp) ## 8-byte Spill callq _puts movsd -168(%rbp), %xmm1 ## 8-byte Reload ## xmm1 = mem[0],zero xorpd %xmm0, %xmm0 movl _sp(%rip), %eax LBB0_17: ## in Loop: Header=BB0_2 Depth=1 subsd %xmm1, %xmm0 cmpl $99, %eax jle LBB0_1 jmp LBB0_36 LBB0_33: ## in Loop: Header=BB0_2 Depth=1 movq %r12, %rdi callq _puts LBB0_34: ## in Loop: Header=BB0_2 Depth=1 leaq L_str(%rip), %rdi callq _puts jmp LBB0_2 LBB0_35: ## in Loop: Header=BB0_2 Depth=1 movq %r12, %rdi movsd %xmm1, -168(%rbp) ## 8-byte Spill callq _puts movsd -168(%rbp), %xmm1 ## 8-byte Reload ## xmm1 = mem[0],zero xorpd %xmm0, %xmm0 movl _sp(%rip), %eax LBB0_22: ## in Loop: Header=BB0_2 Depth=1 divsd %xmm1, %xmm0 cmpl $99, %eax jle LBB0_1 .p2align 4, 0x90 LBB0_36: ## in Loop: Header=BB0_2 Depth=1 movq %r13, %rdi LBB0_37: ## in Loop: Header=BB0_2 Depth=1 movb $1, %al callq _printf jmp LBB0_2 LBB0_38: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_40 ## %bb.39: xorl %eax, %eax addq $136, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_40: callq ___stack_chk_fail .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_38, LBB0_38-LJTI0_0 .set L0_0_set_6, LBB0_6-LJTI0_0 .set L0_0_set_4, LBB0_4-LJTI0_0 .set L0_0_set_7, LBB0_7-LJTI0_0 .set L0_0_set_11, LBB0_11-LJTI0_0 .set L0_0_set_14, LBB0_14-LJTI0_0 .set L0_0_set_18, LBB0_18-LJTI0_0 .set L0_0_set_23, LBB0_23-LJTI0_0 LJTI0_0: .long L0_0_set_38 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_4 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_7 .long L0_0_set_11 .long L0_0_set_6 .long L0_0_set_14 .long L0_0_set_6 .long L0_0_set_18 .long L0_0_set_23 .end_data_region ## -- End function .globl _getop ## -- Begin function getop .p2align 4, 0x90 _getop: ## @getop .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r15 movq _buf@GOTPCREL(%rip), %r14 .p2align 4, 0x90 LBB1_1: ## =>This Inner Loop Header: Depth=1 movl _bufp(%rip), %eax testl %eax, %eax jle LBB1_3 ## %bb.2: ## in Loop: Header=BB1_1 Depth=1 decl %eax movl %eax, _bufp(%rip) movsbl (%r14,%rax), %eax jmp LBB1_4 .p2align 4, 0x90 LBB1_3: ## in Loop: Header=BB1_1 Depth=1 callq _getchar ## kill: def $eax killed $eax def $rax LBB1_4: ## in Loop: Header=BB1_1 Depth=1 movb %al, (%r15) cmpl $9, %eax je LBB1_1 ## %bb.5: ## in Loop: Header=BB1_1 Depth=1 movzbl %al, %ecx cmpl $32, %ecx je LBB1_1 ## %bb.6: movb $0, 1(%r15) leal -48(%rax), %ecx cmpl $10, %ecx jb LBB1_9 ## %bb.7: cmpl $46, %eax je LBB1_9 ## %bb.8: movl %eax, %ebx jmp LBB1_25 LBB1_9: xorl %r12d, %r12d cmpl $9, %ecx ja LBB1_15 ## %bb.10: xorl %r12d, %r12d jmp LBB1_11 .p2align 4, 0x90 LBB1_13: ## in Loop: Header=BB1_11 Depth=1 callq _getchar ## kill: def $eax killed $eax def $rax LBB1_14: ## in Loop: Header=BB1_11 Depth=1 movb %al, 1(%r15,%r12) incq %r12 movsbl %al, %ecx addl $-48, %ecx cmpl $10, %ecx jae LBB1_15 LBB1_11: ## =>This Inner Loop Header: Depth=1 movl _bufp(%rip), %eax testl %eax, %eax jle LBB1_13 ## %bb.12: ## in Loop: Header=BB1_11 Depth=1 decl %eax movl %eax, _bufp(%rip) movsbl (%r14,%rax), %eax jmp LBB1_14 LBB1_15: cmpl $46, %eax jne LBB1_21 ## %bb.16: movslq %r12d, %rax leaq (%rax,%r15), %rbx incq %rbx jmp LBB1_17 .p2align 4, 0x90 LBB1_19: ## in Loop: Header=BB1_17 Depth=1 callq _getchar ## kill: def $eax killed $eax def $rax LBB1_20: ## in Loop: Header=BB1_17 Depth=1 movb %al, (%rbx) movsbl %al, %ecx addl $-48, %ecx incl %r12d incq %rbx cmpl $10, %ecx jae LBB1_21 LBB1_17: ## =>This Inner Loop Header: Depth=1 movl _bufp(%rip), %eax testl %eax, %eax jle LBB1_19 ## %bb.18: ## in Loop: Header=BB1_17 Depth=1 decl %eax movl %eax, _bufp(%rip) movsbl (%r14,%rax), %eax jmp LBB1_20 LBB1_21: movslq %r12d, %rcx movb $0, (%r15,%rcx) movl $48, %ebx cmpl $-1, %eax je LBB1_25 ## %bb.22: movslq _bufp(%rip), %rcx cmpq $100, %rcx jl LBB1_24 ## %bb.23: leaq L_str.7(%rip), %rdi callq _puts jmp LBB1_25 LBB1_24: leal 1(%rcx), %edx movl %edx, _bufp(%rip) movb %al, (%r14,%rcx) LBB1_25: movl %ebx, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _push ## -- Begin function push .p2align 4, 0x90 _push: ## @push .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movslq _sp(%rip), %rax cmpq $99, %rax jg LBB2_2 ## %bb.1: leal 1(%rax), %ecx movl %ecx, _sp(%rip) movq _val@GOTPCREL(%rip), %rcx movsd %xmm0, (%rcx,%rax,8) popq %rbp retq LBB2_2: leaq L_.str.3(%rip), %rdi movb $1, %al popq %rbp jmp _printf ## TAILCALL .cfi_endproc ## -- End function .globl _pop ## -- Begin function pop .p2align 4, 0x90 _pop: ## @pop .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl _sp(%rip), %eax testl %eax, %eax jle LBB3_2 ## %bb.1: leal -1(%rax), %ecx movl %ecx, _sp(%rip) movq _val@GOTPCREL(%rip), %rcx movsd (%rcx,%rax,8), %xmm0 ## xmm0 = mem[0],zero popq %rbp retq LBB3_2: leaq L_str.6(%rip), %rdi callq _puts xorps %xmm0, %xmm0 popq %rbp retq .cfi_endproc ## -- End function .globl _getch ## -- Begin function getch .p2align 4, 0x90 _getch: ## @getch .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl _bufp(%rip), %eax testl %eax, %eax jle LBB4_2 ## %bb.1: decl %eax movl %eax, _bufp(%rip) movq _buf@GOTPCREL(%rip), %rcx movsbl (%rcx,%rax), %eax popq %rbp retq LBB4_2: popq %rbp jmp _getchar ## TAILCALL .cfi_endproc ## -- End function .globl _ungetch ## -- Begin function ungetch .p2align 4, 0x90 _ungetch: ## @ungetch .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movslq _bufp(%rip), %rax cmpq $100, %rax jl LBB5_1 ## %bb.2: leaq L_str.7(%rip), %rdi popq %rbp jmp _puts ## TAILCALL LBB5_1: leal 1(%rax), %ecx movl %ecx, _bufp(%rip) movq _buf@GOTPCREL(%rip), %rcx movb %dil, (%rcx,%rax) popq %rbp retq .cfi_endproc ## -- End function .globl _sp ## @sp .zerofill __DATA,__common,_sp,4,2 .globl _bufp ## @bufp .zerofill __DATA,__common,_bufp,4,2 .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "\t%.8g\n" L_.str.2: ## @.str.2 .asciz "error: unknown command %s\n" .comm _val,800,4 ## @val L_.str.3: ## @.str.3 .asciz "error: stack full, cannot push %g\n" .comm _buf,100,4 ## @buf L_str: ## @str .asciz "error: zero divisor" L_str.6: ## @str.6 .asciz "error: stack is empty" L_str.7: ## @str.7 .asciz "ungetch: too many characters" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #240 .cfi_def_cfa_offset 240 stp d9, d8, [sp, #128] ; 16-byte Folded Spill stp x28, x27, [sp, #144] ; 16-byte Folded Spill stp x26, x25, [sp, #160] ; 16-byte Folded Spill stp x24, x23, [sp, #176] ; 16-byte Folded Spill stp x22, x21, [sp, #192] ; 16-byte Folded Spill stp x20, x19, [sp, #208] ; 16-byte Folded Spill stp x29, x30, [sp, #224] ; 16-byte Folded Spill add x29, sp, #224 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 .cfi_offset b8, -104 .cfi_offset b9, -112 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-104] Lloh3: adrp x19, l_.str.2@PAGE Lloh4: add x19, x19, l_.str.2@PAGEOFF Lloh5: adrp x24, lJTI0_0@PAGE Lloh6: add x24, x24, lJTI0_0@PAGEOFF add x25, sp, #20 adrp x26, _sp@PAGE Lloh7: adrp x27, _val@GOTPAGE Lloh8: ldr x27, [x27, _val@GOTPAGEOFF] Lloh9: adrp x20, l_.str.1@PAGE Lloh10: add x20, x20, l_.str.1@PAGEOFF Lloh11: adrp x21, l_str.6@PAGE Lloh12: add x21, x21, l_str.6@PAGEOFF Lloh13: adrp x22, l_.str.3@PAGE Lloh14: add x22, x22, l_.str.3@PAGEOFF Lloh15: adrp x23, l_str@PAGE Lloh16: add x23, x23, l_str@PAGEOFF b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 str d0, [sp] mov x0, x22 bl _printf LBB0_2: ; =>This Inner Loop Header: Depth=1 add x0, sp, #20 bl _getop add w8, w0, #1 cmp w8, #49 b.hi LBB0_6 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 adr x9, LBB0_4 ldrb w10, [x24, x8] add x9, x9, x10, lsl #2 br x9 LBB0_4: ; in Loop: Header=BB0_2 Depth=1 ldr w8, [x26, _sp@PAGEOFF] cmp w8, #1 b.lt LBB0_22 ; %bb.5: ; in Loop: Header=BB0_2 Depth=1 sub w9, w8, #1 str w9, [x26, _sp@PAGEOFF] ldr d0, [x27, x8, lsl #3] b LBB0_23 LBB0_6: ; in Loop: Header=BB0_2 Depth=1 str x25, [sp] mov x0, x19 bl _printf b LBB0_2 LBB0_7: ; in Loop: Header=BB0_2 Depth=1 ldr w8, [x26, _sp@PAGEOFF] cmp w8, #1 b.lt LBB0_24 ; %bb.8: ; in Loop: Header=BB0_2 Depth=1 sub w9, w8, #1 str w9, [x26, _sp@PAGEOFF] ldr d8, [x27, x8, lsl #3] subs w8, w9, #1 b.lt LBB0_25 LBB0_9: ; in Loop: Header=BB0_2 Depth=1 str w8, [x26, _sp@PAGEOFF] ldr d0, [x27, w9, uxtw #3] b LBB0_26 LBB0_10: ; in Loop: Header=BB0_2 Depth=1 ldr w8, [x26, _sp@PAGEOFF] cmp w8, #1 b.lt LBB0_27 ; %bb.11: ; in Loop: Header=BB0_2 Depth=1 sub w9, w8, #1 str w9, [x26, _sp@PAGEOFF] ldr d8, [x27, x8, lsl #3] subs w8, w9, #1 b.lt LBB0_28 LBB0_12: ; in Loop: Header=BB0_2 Depth=1 str w8, [x26, _sp@PAGEOFF] ldr d0, [x27, w9, uxtw #3] b LBB0_29 LBB0_13: ; in Loop: Header=BB0_2 Depth=1 ldr w8, [x26, _sp@PAGEOFF] cmp w8, #1 b.lt LBB0_30 ; %bb.14: ; in Loop: Header=BB0_2 Depth=1 sub w9, w8, #1 str w9, [x26, _sp@PAGEOFF] ldr d8, [x27, x8, lsl #3] subs w8, w9, #1 b.lt LBB0_31 LBB0_15: ; in Loop: Header=BB0_2 Depth=1 str w8, [x26, _sp@PAGEOFF] ldr d0, [x27, w9, uxtw #3] b LBB0_32 LBB0_16: ; in Loop: Header=BB0_2 Depth=1 ldr w8, [x26, _sp@PAGEOFF] cmp w8, #0 b.le LBB0_33 ; %bb.17: ; in Loop: Header=BB0_2 Depth=1 sub w9, w8, #1 str w9, [x26, _sp@PAGEOFF] ldr d8, [x27, x8, lsl #3] fcmp d8, #0.0 b.eq LBB0_34 ; %bb.18: ; in Loop: Header=BB0_2 Depth=1 cmp w8, #2 b.lo LBB0_35 ; %bb.19: ; in Loop: Header=BB0_2 Depth=1 sub w8, w8, #2 str w8, [x26, _sp@PAGEOFF] ldr d0, [x27, w9, uxtw #3] b LBB0_36 LBB0_20: ; in Loop: Header=BB0_2 Depth=1 add x0, sp, #20 bl _atof ldrsw x8, [x26, _sp@PAGEOFF] cmp w8, #99 b.gt LBB0_1 ; %bb.21: ; in Loop: Header=BB0_2 Depth=1 add w9, w8, #1 str w9, [x26, _sp@PAGEOFF] str d0, [x27, x8, lsl #3] b LBB0_2 LBB0_22: ; in Loop: Header=BB0_2 Depth=1 mov x0, x21 bl _puts movi d0, #0000000000000000 LBB0_23: ; in Loop: Header=BB0_2 Depth=1 str d0, [sp] mov x0, x20 bl _printf b LBB0_2 LBB0_24: ; in Loop: Header=BB0_2 Depth=1 mov x0, x21 bl _puts ldr w9, [x26, _sp@PAGEOFF] movi d8, #0000000000000000 subs w8, w9, #1 b.ge LBB0_9 LBB0_25: ; in Loop: Header=BB0_2 Depth=1 mov x0, x21 bl _puts ldr w8, [x26, _sp@PAGEOFF] movi d0, #0000000000000000 LBB0_26: ; in Loop: Header=BB0_2 Depth=1 fmul d0, d8, d0 cmp w8, #99 b.gt LBB0_1 b LBB0_37 LBB0_27: ; in Loop: Header=BB0_2 Depth=1 mov x0, x21 bl _puts ldr w9, [x26, _sp@PAGEOFF] movi d8, #0000000000000000 subs w8, w9, #1 b.ge LBB0_12 LBB0_28: ; in Loop: Header=BB0_2 Depth=1 mov x0, x21 bl _puts ldr w8, [x26, _sp@PAGEOFF] movi d0, #0000000000000000 LBB0_29: ; in Loop: Header=BB0_2 Depth=1 fadd d0, d8, d0 cmp w8, #99 b.gt LBB0_1 b LBB0_37 LBB0_30: ; in Loop: Header=BB0_2 Depth=1 mov x0, x21 bl _puts ldr w9, [x26, _sp@PAGEOFF] movi d8, #0000000000000000 subs w8, w9, #1 b.ge LBB0_15 LBB0_31: ; in Loop: Header=BB0_2 Depth=1 mov x0, x21 bl _puts ldr w8, [x26, _sp@PAGEOFF] movi d0, #0000000000000000 LBB0_32: ; in Loop: Header=BB0_2 Depth=1 fsub d0, d0, d8 cmp w8, #99 b.gt LBB0_1 b LBB0_37 LBB0_33: ; in Loop: Header=BB0_2 Depth=1 mov x0, x21 bl _puts LBB0_34: ; in Loop: Header=BB0_2 Depth=1 mov x0, x23 bl _puts b LBB0_2 LBB0_35: ; in Loop: Header=BB0_2 Depth=1 mov x0, x21 bl _puts ldr w8, [x26, _sp@PAGEOFF] movi d0, #0000000000000000 LBB0_36: ; in Loop: Header=BB0_2 Depth=1 fdiv d0, d0, d8 cmp w8, #99 b.gt LBB0_1 LBB0_37: ; in Loop: Header=BB0_2 Depth=1 add w9, w8, #1 str w9, [x26, _sp@PAGEOFF] str d0, [x27, w8, sxtw #3] b LBB0_2 LBB0_38: ldur x8, [x29, #-104] Lloh17: adrp x9, ___stack_chk_guard@GOTPAGE Lloh18: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh19: ldr x9, [x9] cmp x9, x8 b.ne LBB0_40 ; %bb.39: mov w0, #0 ldp x29, x30, [sp, #224] ; 16-byte Folded Reload ldp x20, x19, [sp, #208] ; 16-byte Folded Reload ldp x22, x21, [sp, #192] ; 16-byte Folded Reload ldp x24, x23, [sp, #176] ; 16-byte Folded Reload ldp x26, x25, [sp, #160] ; 16-byte Folded Reload ldp x28, x27, [sp, #144] ; 16-byte Folded Reload ldp d9, d8, [sp, #128] ; 16-byte Folded Reload add sp, sp, #240 ret LBB0_40: bl ___stack_chk_fail .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_38-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_4-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_7-LBB0_4)>>2 .byte (LBB0_10-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_13-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_16-LBB0_4)>>2 .byte (LBB0_20-LBB0_4)>>2 ; -- End function .section __TEXT,__text,regular,pure_instructions .globl _getop ; -- Begin function getop .p2align 2 _getop: ; @getop .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 adrp x20, _bufp@PAGE Lloh20: adrp x21, _buf@GOTPAGE Lloh21: ldr x21, [x21, _buf@GOTPAGEOFF] LBB1_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [x20, _bufp@PAGEOFF] subs w8, w8, #1 b.lt LBB1_3 ; %bb.2: ; in Loop: Header=BB1_1 Depth=1 str w8, [x20, _bufp@PAGEOFF] ldrsb w0, [x21, w8, uxtw] b LBB1_4 LBB1_3: ; in Loop: Header=BB1_1 Depth=1 bl _getchar LBB1_4: ; in Loop: Header=BB1_1 Depth=1 strb w0, [x19] cmp w0, #9 b.eq LBB1_1 ; %bb.5: ; in Loop: Header=BB1_1 Depth=1 and w8, w0, #0xff cmp w8, #32 b.eq LBB1_1 ; %bb.6: strb wzr, [x19, #1] sub w8, w0, #48 cmp w8, #10 b.lo LBB1_8 ; %bb.7: cmp w0, #46 b.ne LBB1_26 LBB1_8: cmp w8, #9 b.hi LBB1_14 ; %bb.9: mov x24, #0 add x23, x19, #1 b LBB1_12 LBB1_10: ; in Loop: Header=BB1_12 Depth=1 bl _getchar LBB1_11: ; in Loop: Header=BB1_12 Depth=1 add x22, x24, #1 strb w0, [x23, x24] sxtb w8, w0 sub w8, w8, #48 mov x24, x22 cmp w8, #10 b.hs LBB1_15 LBB1_12: ; =>This Inner Loop Header: Depth=1 ldr w8, [x20, _bufp@PAGEOFF] subs w8, w8, #1 b.lt LBB1_10 ; %bb.13: ; in Loop: Header=BB1_12 Depth=1 str w8, [x20, _bufp@PAGEOFF] ldrsb w0, [x21, w8, uxtw] b LBB1_11 LBB1_14: mov w22, #0 LBB1_15: cmp w0, #46 b.ne LBB1_21 ; %bb.16: add x8, x19, w22, sxtw add x23, x8, #1 b LBB1_19 LBB1_17: ; in Loop: Header=BB1_19 Depth=1 bl _getchar LBB1_18: ; in Loop: Header=BB1_19 Depth=1 strb w0, [x23], #1 sxtb w8, w0 sub w8, w8, #48 add w22, w22, #1 cmp w8, #10 b.hs LBB1_21 LBB1_19: ; =>This Inner Loop Header: Depth=1 ldr w8, [x20, _bufp@PAGEOFF] subs w8, w8, #1 b.lt LBB1_17 ; %bb.20: ; in Loop: Header=BB1_19 Depth=1 str w8, [x20, _bufp@PAGEOFF] ldrsb w0, [x21, w8, uxtw] b LBB1_18 LBB1_21: strb wzr, [x19, w22, sxtw] cmn w0, #1 b.eq LBB1_25 ; %bb.22: ldrsw x8, [x20, _bufp@PAGEOFF] cmp w8, #100 b.lt LBB1_24 ; %bb.23: Lloh22: adrp x0, l_str.7@PAGE Lloh23: add x0, x0, l_str.7@PAGEOFF bl _puts b LBB1_25 LBB1_24: add w9, w8, #1 str w9, [x20, _bufp@PAGEOFF] strb w0, [x21, x8] LBB1_25: mov w0, #48 LBB1_26: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpAdd Lloh22, Lloh23 .cfi_endproc ; -- End function .globl _push ; -- Begin function push .p2align 2 _push: ; @push .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x9, _sp@PAGE ldrsw x8, [x9, _sp@PAGEOFF] cmp w8, #99 b.gt LBB2_2 ; %bb.1: add w10, w8, #1 str w10, [x9, _sp@PAGEOFF] Lloh24: adrp x9, _val@GOTPAGE Lloh25: ldr x9, [x9, _val@GOTPAGEOFF] str d0, [x9, x8, lsl #3] b LBB2_3 LBB2_2: str d0, [sp] Lloh26: adrp x0, l_.str.3@PAGE Lloh27: add x0, x0, l_.str.3@PAGEOFF bl _printf LBB2_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpLdrGot Lloh24, Lloh25 .loh AdrpAdd Lloh26, Lloh27 .cfi_endproc ; -- End function .globl _pop ; -- Begin function pop .p2align 2 _pop: ; @pop .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x9, _sp@PAGE ldr w8, [x9, _sp@PAGEOFF] cmp w8, #1 b.lt LBB3_2 ; %bb.1: sub w10, w8, #1 str w10, [x9, _sp@PAGEOFF] Lloh28: adrp x9, _val@GOTPAGE Lloh29: ldr x9, [x9, _val@GOTPAGEOFF] ldr d0, [x9, x8, lsl #3] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB3_2: Lloh30: adrp x0, l_str.6@PAGE Lloh31: add x0, x0, l_str.6@PAGEOFF bl _puts movi d0, #0000000000000000 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh28, Lloh29 .loh AdrpAdd Lloh30, Lloh31 .cfi_endproc ; -- End function .globl _getch ; -- Begin function getch .p2align 2 _getch: ; @getch .cfi_startproc ; %bb.0: adrp x8, _bufp@PAGE ldr w9, [x8, _bufp@PAGEOFF] subs w9, w9, #1 b.lt LBB4_2 ; %bb.1: str w9, [x8, _bufp@PAGEOFF] Lloh32: adrp x8, _buf@GOTPAGE Lloh33: ldr x8, [x8, _buf@GOTPAGEOFF] ldrsb w0, [x8, w9, uxtw] ret LBB4_2: b _getchar .loh AdrpLdrGot Lloh32, Lloh33 .cfi_endproc ; -- End function .globl _ungetch ; -- Begin function ungetch .p2align 2 _ungetch: ; @ungetch .cfi_startproc ; %bb.0: adrp x9, _bufp@PAGE ldrsw x8, [x9, _bufp@PAGEOFF] cmp w8, #100 b.lt LBB5_2 ; %bb.1: Lloh34: adrp x0, l_str.7@PAGE Lloh35: add x0, x0, l_str.7@PAGEOFF b _puts LBB5_2: add w10, w8, #1 str w10, [x9, _bufp@PAGEOFF] Lloh36: adrp x9, _buf@GOTPAGE Lloh37: ldr x9, [x9, _buf@GOTPAGEOFF] strb w0, [x9, x8] ret .loh AdrpAdd Lloh34, Lloh35 .loh AdrpLdrGot Lloh36, Lloh37 .cfi_endproc ; -- End function .globl _sp ; @sp .zerofill __DATA,__common,_sp,4,2 .globl _bufp ; @bufp .zerofill __DATA,__common,_bufp,4,2 .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "\t%.8g\n" l_.str.2: ; @.str.2 .asciz "error: unknown command %s\n" .comm _val,800,3 ; @val l_.str.3: ; @.str.3 .asciz "error: stack full, cannot push %g\n" .comm _buf,100,0 ; @buf l_str: ; @str .asciz "error: zero divisor" l_str.6: ; @str.6 .asciz "error: stack is empty" l_str.7: ; @str.7 .asciz "ungetch: too many characters" .subsections_via_symbols
the_stack_data/26701184.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 leaq L_.str(%rip), %rbx movq %rbx, %rdi movl $21, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $8, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $29, %esi xorl %eax, %eax callq _printf xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\nO resultado foi %i\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov w8, #21 str x8, [sp] Lloh0: adrp x19, l_.str@PAGE Lloh1: add x19, x19, l_.str@PAGEOFF mov x0, x19 bl _printf mov w8, #8 str x8, [sp] mov x0, x19 bl _printf mov w8, #29 str x8, [sp] mov x0, x19 bl _printf mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\nO resultado foi %i\n" .subsections_via_symbols
the_stack_data/193891873.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp leaq L_str(%rip), %rdi callq _puts leaq L_.str.1(%rip), %rdi leaq -4(%rbp), %rsi xorl %eax, %eax callq _scanf movl -4(%rbp), %esi leal -10(%rsi), %eax cmpl $10, %eax ja LBB0_1 ## %bb.2: cltq leaq l_reltable.main(%rip), %rcx movslq (%rcx,%rax,4), %rdi addq %rcx, %rdi jmp LBB0_3 LBB0_1: leaq L_.str.6(%rip), %rdi LBB0_3: ## kill: def $esi killed $esi killed $rsi xorl %eax, %eax callq _printf xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "%d" L_.str.2: ## @.str.2 .asciz "nota: %d - Regular" L_.str.3: ## @.str.3 .asciz "nota: %d - Bom" L_.str.4: ## @.str.4 .asciz "nota: %d - Muito bom" L_.str.5: ## @.str.5 .asciz "nota: %d - Excelente" L_.str.6: ## @.str.6 .asciz "nota: %d - Nota invalida" L_str: ## @str .asciz "Introduza a sua nota: " .section __TEXT,__const .p2align 2 ## @reltable.main l_reltable.main: .long L_.str.2-l_reltable.main .long L_.str.2-l_reltable.main .long L_.str.2-l_reltable.main .long L_.str.3-l_reltable.main .long L_.str.3-l_reltable.main .long L_.str.3-l_reltable.main .long L_.str.4-l_reltable.main .long L_.str.4-l_reltable.main .long L_.str.4-l_reltable.main .long L_.str.5-l_reltable.main .long L_.str.5-l_reltable.main .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts sub x8, x29, #4 str x8, [sp] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _scanf ldur w8, [x29, #-4] sub w9, w8, #10 cmp w9, #10 b.hi LBB0_2 ; %bb.1: Lloh4: adrp x10, l_switch.table.main@PAGE Lloh5: add x10, x10, l_switch.table.main@PAGEOFF ldr x0, [x10, w9, sxtw #3] b LBB0_3 LBB0_2: Lloh6: adrp x0, l_.str.6@PAGE Lloh7: add x0, x0, l_.str.6@PAGEOFF LBB0_3: str x8, [sp] bl _printf mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "%d" l_.str.2: ; @.str.2 .asciz "nota: %d - Regular" l_.str.3: ; @.str.3 .asciz "nota: %d - Bom" l_.str.4: ; @.str.4 .asciz "nota: %d - Muito bom" l_.str.5: ; @.str.5 .asciz "nota: %d - Excelente" l_.str.6: ; @.str.6 .asciz "nota: %d - Nota invalida" l_str: ; @str .asciz "Introduza a sua nota: " .section __DATA,__const .p2align 3 ; @switch.table.main l_switch.table.main: .quad l_.str.2 .quad l_.str.2 .quad l_.str.2 .quad l_.str.3 .quad l_.str.3 .quad l_.str.3 .quad l_.str.4 .quad l_.str.4 .quad l_.str.4 .quad l_.str.5 .quad l_.str.5 .subsections_via_symbols
the_stack_data/967698.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _wrap_fw ## -- Begin function wrap_fw .p2align 4, 0x90 _wrap_fw: ## @wrap_fw .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _image_info@GOTPCREL(%rip), %rax cmpl $0, 8(%rax) je LBB0_1 ## %bb.2: movq _image_info@GOTPCREL(%rip), %r15 movq %r15, %rdi callq _get_file_stat movl %eax, %ebx testl %eax, %eax jne LBB0_16 ## %bb.3: movq _firmware_size@GOTPCREL(%rip), %rax movq (%rax), %rbx movq %rbx, %rdi callq _malloc testq %rax, %rax je LBB0_4 ## %bb.6: movq %rax, %r14 movq _AUH_SIZE@GOTPCREL(%rip), %r13 movq (%r13), %rax addq (%r15), %rax cmpq %rbx, %rax jle LBB0_8 ## %bb.7: leaq L_.str.1(%rip), %rdi jmp LBB0_5 LBB0_1: movq _EXIT_FAILURE@GOTPCREL(%rip), %rax movl (%rax), %ebx jmp LBB0_16 LBB0_4: leaq L_.str(%rip), %rdi jmp LBB0_5 LBB0_8: movq _family_member@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB0_9 ## %bb.10: movq _rom_id@GOTPCREL(%rip), %rax movq (%rax), %rax cmpl $0, (%rax) je LBB0_11 ## %bb.12: movq %r14, %rdi movl $255, %esi movq %rbx, %rdx callq _memset movq (%r13), %r15 addq %r14, %r15 movq _image_info@GOTPCREL(%rip), %r12 movq %r12, %rdi movq %r15, %rsi callq _read_to_buf movl %eax, %ebx testl %eax, %eax jne LBB0_15 ## %bb.13: addq (%r12), %r15 subq %r14, %r15 movslq %r15d, %rbx movq %rbx, %rsi subq (%r13), %rsi movq %r14, %rdi callq _fill_auh movq _ofname@GOTPCREL(%rip), %rax movl (%rax), %edi movq %r14, %rsi movl %ebx, %edx callq _write_fw movl %eax, %ebx testl %eax, %eax jne LBB0_15 ## %bb.14: movq _EXIT_SUCCESS@GOTPCREL(%rip), %rax movl (%rax), %ebx LBB0_15: movq %r14, %rdi callq _free jmp LBB0_16 LBB0_9: leaq L_.str.2(%rip), %rdi jmp LBB0_5 LBB0_11: leaq L_.str.3(%rip), %rdi LBB0_5: callq _ERR xorl %ebx, %ebx LBB0_16: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EXIT_FAILURE,4,2 ## @EXIT_FAILURE .comm _image_info,16,3 ## @image_info .comm _firmware_size,8,3 ## @firmware_size .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "no memory for buffer\n" .comm _AUH_SIZE,8,3 ## @AUH_SIZE L_.str.1: ## @.str.1 .asciz "data is bigger than firmware_size!\n" .comm _family_member,4,2 ## @family_member L_.str.2: ## @.str.2 .asciz "No family_member!\n" .comm _rom_id,8,3 ## @rom_id L_.str.3: ## @.str.3 .asciz "No rom_id!\n" .comm _ofname,4,2 ## @ofname .comm _EXIT_SUCCESS,4,2 ## @EXIT_SUCCESS .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _wrap_fw ; -- Begin function wrap_fw .p2align 2 _wrap_fw: ; @wrap_fw .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 Lloh0: adrp x8, _image_info@GOTPAGE Lloh1: ldr x8, [x8, _image_info@GOTPAGEOFF] Lloh2: ldr w8, [x8, #8] cbz w8, LBB0_5 ; %bb.1: Lloh3: adrp x21, _image_info@GOTPAGE Lloh4: ldr x21, [x21, _image_info@GOTPAGEOFF] mov x0, x21 bl _get_file_stat mov x20, x0 cbnz w0, LBB0_15 ; %bb.2: Lloh5: adrp x8, _firmware_size@GOTPAGE Lloh6: ldr x8, [x8, _firmware_size@GOTPAGEOFF] Lloh7: ldr x20, [x8] mov x0, x20 bl _malloc cbz x0, LBB0_6 ; %bb.3: ldr x8, [x21] Lloh8: adrp x23, _AUH_SIZE@GOTPAGE Lloh9: ldr x23, [x23, _AUH_SIZE@GOTPAGEOFF] ldr x9, [x23] add x8, x9, x8 cmp x8, x20 b.le LBB0_7 ; %bb.4: Lloh10: adrp x0, l_.str.1@PAGE Lloh11: add x0, x0, l_.str.1@PAGEOFF b LBB0_14 LBB0_5: Lloh12: adrp x8, _EXIT_FAILURE@GOTPAGE Lloh13: ldr x8, [x8, _EXIT_FAILURE@GOTPAGEOFF] Lloh14: ldr w20, [x8] b LBB0_15 LBB0_6: Lloh15: adrp x0, l_.str@PAGE Lloh16: add x0, x0, l_.str@PAGEOFF b LBB0_14 LBB0_7: Lloh17: adrp x8, _family_member@GOTPAGE Lloh18: ldr x8, [x8, _family_member@GOTPAGEOFF] Lloh19: ldr w8, [x8] cbz w8, LBB0_12 ; %bb.8: Lloh20: adrp x8, _rom_id@GOTPAGE Lloh21: ldr x8, [x8, _rom_id@GOTPAGEOFF] Lloh22: ldr x8, [x8] ldr w8, [x8] cbz w8, LBB0_13 ; %bb.9: mov x19, x0 mov w1, #255 mov x2, x20 bl _memset ldr x8, [x23] add x21, x19, x8 Lloh23: adrp x22, _image_info@GOTPAGE Lloh24: ldr x22, [x22, _image_info@GOTPAGEOFF] mov x0, x22 mov x1, x21 bl _read_to_buf mov x20, x0 cbnz w0, LBB0_11 ; %bb.10: ldr x8, [x22] add x8, x21, x8 sub x20, x8, x19 sxtw x8, w20 ldr x9, [x23] sub x1, x8, x9 mov x0, x19 bl _fill_auh Lloh25: adrp x8, _ofname@GOTPAGE Lloh26: ldr x8, [x8, _ofname@GOTPAGEOFF] Lloh27: ldr w0, [x8] mov x1, x19 mov x2, x20 bl _write_fw Lloh28: adrp x8, _EXIT_SUCCESS@GOTPAGE Lloh29: ldr x8, [x8, _EXIT_SUCCESS@GOTPAGEOFF] Lloh30: ldr w8, [x8] cmp w0, #0 csel w20, w8, w0, eq LBB0_11: mov x0, x19 bl _free b LBB0_15 LBB0_12: Lloh31: adrp x0, l_.str.2@PAGE Lloh32: add x0, x0, l_.str.2@PAGEOFF b LBB0_14 LBB0_13: Lloh33: adrp x0, l_.str.3@PAGE Lloh34: add x0, x0, l_.str.3@PAGEOFF LBB0_14: bl _ERR mov w20, #0 LBB0_15: mov x0, x20 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGot Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpAdd Lloh31, Lloh32 .loh AdrpAdd Lloh33, Lloh34 .cfi_endproc ; -- End function .comm _EXIT_FAILURE,4,2 ; @EXIT_FAILURE .comm _image_info,16,3 ; @image_info .comm _firmware_size,8,3 ; @firmware_size .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "no memory for buffer\n" .comm _AUH_SIZE,8,3 ; @AUH_SIZE l_.str.1: ; @.str.1 .asciz "data is bigger than firmware_size!\n" .comm _family_member,4,2 ; @family_member l_.str.2: ; @.str.2 .asciz "No family_member!\n" .comm _rom_id,8,3 ; @rom_id l_.str.3: ; @.str.3 .asciz "No rom_id!\n" .comm _ofname,4,2 ; @ofname .comm _EXIT_SUCCESS,4,2 ; @EXIT_SUCCESS .subsections_via_symbols
AnghaBench/lede/tools/firmware-utils/src/extr_mkdlinkfw.c_wrap_fw.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/113202.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function init_atm_tc _init_atm_tc: ## @init_atm_tc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _DREG_AT_CTRL@GOTPCREL(%rip), %rax movl (%rax), %esi movl $3840, %edi ## imm = 0xF00 callq _IFX_REG_W32 movq _DREG_AR_CTRL@GOTPCREL(%rip), %rax movl (%rax), %esi movl $15360, %edi ## imm = 0x3C00 callq _IFX_REG_W32 movq _DREG_AT_IDLE0@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %edi, %edi callq _IFX_REG_W32 movq _DREG_AT_IDLE1@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %edi, %edi callq _IFX_REG_W32 movq _DREG_AR_IDLE0@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %edi, %edi callq _IFX_REG_W32 movq _DREG_AR_IDLE1@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %edi, %edi callq _IFX_REG_W32 movq _RFBI_CFG@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %edi, %edi callq _IFX_REG_W32 movq _SFSM_DBA0@GOTPCREL(%rip), %rax movl (%rax), %esi movl $512, %edi ## imm = 0x200 callq _IFX_REG_W32 movq _SFSM_DBA1@GOTPCREL(%rip), %rax movl (%rax), %esi movl $2048, %edi ## imm = 0x800 callq _IFX_REG_W32 movq _SFSM_CBA0@GOTPCREL(%rip), %rax movl (%rax), %esi movl $801, %edi ## imm = 0x321 callq _IFX_REG_W32 movq _SFSM_CBA1@GOTPCREL(%rip), %rax movl (%rax), %esi movl $2337, %edi ## imm = 0x921 callq _IFX_REG_W32 movq _SFSM_CFG0@GOTPCREL(%rip), %rax movl (%rax), %esi movl $81937, %edi ## imm = 0x14011 callq _IFX_REG_W32 movq _SFSM_CFG1@GOTPCREL(%rip), %rax movl (%rax), %esi movl $81937, %edi ## imm = 0x14011 callq _IFX_REG_W32 movq _FFSM_DBA0@GOTPCREL(%rip), %rax movl (%rax), %esi movl $818, %edi ## imm = 0x332 callq _IFX_REG_W32 movq _FFSM_DBA1@GOTPCREL(%rip), %rax movl (%rax), %esi movl $2354, %edi ## imm = 0x932 callq _IFX_REG_W32 movq _FFSM_CFG0@GOTPCREL(%rip), %rax movl (%rax), %esi movl $196620, %edi ## imm = 0x3000C callq _IFX_REG_W32 movq _FFSM_CFG1@GOTPCREL(%rip), %rax movl (%rax), %esi movl $196620, %edi ## imm = 0x3000C callq _IFX_REG_W32 movq _FFSM_IDLE_HEAD_BC0@GOTPCREL(%rip), %rax movl (%rax), %esi movl $-254738432, %edi ## imm = 0xF0D10000 callq _IFX_REG_W32 movq _FFSM_IDLE_HEAD_BC1@GOTPCREL(%rip), %rax movl (%rax), %esi movl $-254738432, %edi ## imm = 0xF0D10000 popq %rbp jmp _IFX_REG_W32 ## TAILCALL .cfi_endproc ## -- End function .comm _DREG_AT_CTRL,4,2 ## @DREG_AT_CTRL .comm _DREG_AR_CTRL,4,2 ## @DREG_AR_CTRL .comm _DREG_AT_IDLE0,4,2 ## @DREG_AT_IDLE0 .comm _DREG_AT_IDLE1,4,2 ## @DREG_AT_IDLE1 .comm _DREG_AR_IDLE0,4,2 ## @DREG_AR_IDLE0 .comm _DREG_AR_IDLE1,4,2 ## @DREG_AR_IDLE1 .comm _RFBI_CFG,4,2 ## @RFBI_CFG .comm _SFSM_DBA0,4,2 ## @SFSM_DBA0 .comm _SFSM_DBA1,4,2 ## @SFSM_DBA1 .comm _SFSM_CBA0,4,2 ## @SFSM_CBA0 .comm _SFSM_CBA1,4,2 ## @SFSM_CBA1 .comm _SFSM_CFG0,4,2 ## @SFSM_CFG0 .comm _SFSM_CFG1,4,2 ## @SFSM_CFG1 .comm _FFSM_DBA0,4,2 ## @FFSM_DBA0 .comm _FFSM_DBA1,4,2 ## @FFSM_DBA1 .comm _FFSM_CFG0,4,2 ## @FFSM_CFG0 .comm _FFSM_CFG1,4,2 ## @FFSM_CFG1 .comm _FFSM_IDLE_HEAD_BC0,4,2 ## @FFSM_IDLE_HEAD_BC0 .comm _FFSM_IDLE_HEAD_BC1,4,2 ## @FFSM_IDLE_HEAD_BC1 .no_dead_strip _init_atm_tc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function init_atm_tc _init_atm_tc: ; @init_atm_tc .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, _DREG_AT_CTRL@GOTPAGE Lloh1: ldr x8, [x8, _DREG_AT_CTRL@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov w0, #3840 bl _IFX_REG_W32 Lloh3: adrp x8, _DREG_AR_CTRL@GOTPAGE Lloh4: ldr x8, [x8, _DREG_AR_CTRL@GOTPAGEOFF] Lloh5: ldr w1, [x8] mov w0, #15360 bl _IFX_REG_W32 Lloh6: adrp x8, _DREG_AT_IDLE0@GOTPAGE Lloh7: ldr x8, [x8, _DREG_AT_IDLE0@GOTPAGEOFF] Lloh8: ldr w1, [x8] mov w0, #0 bl _IFX_REG_W32 Lloh9: adrp x8, _DREG_AT_IDLE1@GOTPAGE Lloh10: ldr x8, [x8, _DREG_AT_IDLE1@GOTPAGEOFF] Lloh11: ldr w1, [x8] mov w0, #0 bl _IFX_REG_W32 Lloh12: adrp x8, _DREG_AR_IDLE0@GOTPAGE Lloh13: ldr x8, [x8, _DREG_AR_IDLE0@GOTPAGEOFF] Lloh14: ldr w1, [x8] mov w0, #0 bl _IFX_REG_W32 Lloh15: adrp x8, _DREG_AR_IDLE1@GOTPAGE Lloh16: ldr x8, [x8, _DREG_AR_IDLE1@GOTPAGEOFF] Lloh17: ldr w1, [x8] mov w0, #0 bl _IFX_REG_W32 Lloh18: adrp x8, _RFBI_CFG@GOTPAGE Lloh19: ldr x8, [x8, _RFBI_CFG@GOTPAGEOFF] Lloh20: ldr w1, [x8] mov w0, #0 bl _IFX_REG_W32 Lloh21: adrp x8, _SFSM_DBA0@GOTPAGE Lloh22: ldr x8, [x8, _SFSM_DBA0@GOTPAGEOFF] Lloh23: ldr w1, [x8] mov w0, #512 bl _IFX_REG_W32 Lloh24: adrp x8, _SFSM_DBA1@GOTPAGE Lloh25: ldr x8, [x8, _SFSM_DBA1@GOTPAGEOFF] Lloh26: ldr w1, [x8] mov w0, #2048 bl _IFX_REG_W32 Lloh27: adrp x8, _SFSM_CBA0@GOTPAGE Lloh28: ldr x8, [x8, _SFSM_CBA0@GOTPAGEOFF] Lloh29: ldr w1, [x8] mov w0, #801 bl _IFX_REG_W32 Lloh30: adrp x8, _SFSM_CBA1@GOTPAGE Lloh31: ldr x8, [x8, _SFSM_CBA1@GOTPAGEOFF] Lloh32: ldr w1, [x8] mov w0, #2337 bl _IFX_REG_W32 Lloh33: adrp x8, _SFSM_CFG0@GOTPAGE Lloh34: ldr x8, [x8, _SFSM_CFG0@GOTPAGEOFF] Lloh35: ldr w1, [x8] mov w0, #16401 movk w0, #1, lsl #16 bl _IFX_REG_W32 Lloh36: adrp x8, _SFSM_CFG1@GOTPAGE Lloh37: ldr x8, [x8, _SFSM_CFG1@GOTPAGEOFF] Lloh38: ldr w1, [x8] mov w0, #16401 movk w0, #1, lsl #16 bl _IFX_REG_W32 Lloh39: adrp x8, _FFSM_DBA0@GOTPAGE Lloh40: ldr x8, [x8, _FFSM_DBA0@GOTPAGEOFF] Lloh41: ldr w1, [x8] mov w0, #818 bl _IFX_REG_W32 Lloh42: adrp x8, _FFSM_DBA1@GOTPAGE Lloh43: ldr x8, [x8, _FFSM_DBA1@GOTPAGEOFF] Lloh44: ldr w1, [x8] mov w0, #2354 bl _IFX_REG_W32 Lloh45: adrp x8, _FFSM_CFG0@GOTPAGE Lloh46: ldr x8, [x8, _FFSM_CFG0@GOTPAGEOFF] Lloh47: ldr w1, [x8] mov w0, #12 movk w0, #3, lsl #16 bl _IFX_REG_W32 Lloh48: adrp x8, _FFSM_CFG1@GOTPAGE Lloh49: ldr x8, [x8, _FFSM_CFG1@GOTPAGEOFF] Lloh50: ldr w1, [x8] mov w0, #12 movk w0, #3, lsl #16 bl _IFX_REG_W32 Lloh51: adrp x8, _FFSM_IDLE_HEAD_BC0@GOTPAGE Lloh52: ldr x8, [x8, _FFSM_IDLE_HEAD_BC0@GOTPAGEOFF] Lloh53: ldr w1, [x8] mov w0, #-254738432 bl _IFX_REG_W32 Lloh54: adrp x8, _FFSM_IDLE_HEAD_BC1@GOTPAGE Lloh55: ldr x8, [x8, _FFSM_IDLE_HEAD_BC1@GOTPAGEOFF] Lloh56: ldr w1, [x8] mov w0, #-254738432 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _IFX_REG_W32 .loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56 .loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53 .loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50 .loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47 .loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44 .loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41 .loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38 .loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _DREG_AT_CTRL,4,2 ; @DREG_AT_CTRL .comm _DREG_AR_CTRL,4,2 ; @DREG_AR_CTRL .comm _DREG_AT_IDLE0,4,2 ; @DREG_AT_IDLE0 .comm _DREG_AT_IDLE1,4,2 ; @DREG_AT_IDLE1 .comm _DREG_AR_IDLE0,4,2 ; @DREG_AR_IDLE0 .comm _DREG_AR_IDLE1,4,2 ; @DREG_AR_IDLE1 .comm _RFBI_CFG,4,2 ; @RFBI_CFG .comm _SFSM_DBA0,4,2 ; @SFSM_DBA0 .comm _SFSM_DBA1,4,2 ; @SFSM_DBA1 .comm _SFSM_CBA0,4,2 ; @SFSM_CBA0 .comm _SFSM_CBA1,4,2 ; @SFSM_CBA1 .comm _SFSM_CFG0,4,2 ; @SFSM_CFG0 .comm _SFSM_CFG1,4,2 ; @SFSM_CFG1 .comm _FFSM_DBA0,4,2 ; @FFSM_DBA0 .comm _FFSM_DBA1,4,2 ; @FFSM_DBA1 .comm _FFSM_CFG0,4,2 ; @FFSM_CFG0 .comm _FFSM_CFG1,4,2 ; @FFSM_CFG1 .comm _FFSM_IDLE_HEAD_BC0,4,2 ; @FFSM_IDLE_HEAD_BC0 .comm _FFSM_IDLE_HEAD_BC1,4,2 ; @FFSM_IDLE_HEAD_BC1 .no_dead_strip _init_atm_tc .subsections_via_symbols
AnghaBench/openwrt/package/kernel/lantiq/ltq-ptm/src/extr_ifxmips_ptm_amazon_se.c_init_atm_tc.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _prodFunc ## -- Begin function prodFunc .p2align 4, 0x90 _prodFunc: ## @prodFunc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 xorl %ebx, %ebx movq _g_Mtx@GOTPCREL(%rip), %r13 movq _g_Buffer@GOTPCREL(%rip), %r15 movq _g_Full@GOTPCREL(%rip), %r12 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movq %r13, %rdi callq _pthread_mutex_lock movq _g_Free@GOTPCREL(%rip), %rdi callq _sem_wait movslq _g_Pos(%rip), %rax movl %r14d, (%r15,%rax,8) movl %ebx, 4(%r15,%rax,8) incl %eax movl %eax, _g_Pos(%rip) movq %r12, %rdi callq _sem_post movq %r13, %rdi callq _pthread_mutex_unlock incl %ebx jmp LBB0_1 .cfi_endproc ## -- End function .globl _consFunc ## -- Begin function consFunc .p2align 4, 0x90 _consFunc: ## @consFunc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r15 movq _g_Mtx@GOTPCREL(%rip), %rbx movq _g_Buffer@GOTPCREL(%rip), %r13 .p2align 4, 0x90 LBB1_1: ## =>This Inner Loop Header: Depth=1 movq _g_Full@GOTPCREL(%rip), %rdi callq _sem_wait movq %rbx, %rdi callq _pthread_mutex_lock movslq _g_Pos(%rip), %rax movl (%r13,%rax,8), %r14d movl 4(%r13,%rax,8), %r12d decl %eax movl %eax, _g_Pos(%rip) movq %rbx, %rdi callq _pthread_mutex_unlock movq _g_Free@GOTPCREL(%rip), %rdi callq _sem_post leaq L_.str(%rip), %rdi movl %r15d, %esi movl %r12d, %edx movl %r14d, %ecx xorl %eax, %eax callq _printf jmp LBB1_1 .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $88, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) cmpl $3, %edi jne LBB2_8 ## %bb.1: movq 8(%rbx), %rdi leaq L_.str.1(%rip), %rsi leaq -120(%rbp), %rdx xorl %eax, %eax callq _sscanf cmpl $1, %eax jne LBB2_8 ## %bb.2: movq 16(%rbx), %rdi leaq L_.str.1(%rip), %rsi leaq -116(%rbp), %rdx xorl %eax, %eax callq _sscanf cmpl $1, %eax jne LBB2_8 ## %bb.3: movl -120(%rbp), %eax testl %eax, %eax jle LBB2_8 ## %bb.4: movl -116(%rbp), %edi testl %edi, %edi jle LBB2_8 ## %bb.5: addq %rax, %rdi shlq $3, %rdi callq _malloc movq %rax, %r15 leaq -112(%rbp), %r14 movq %r14, %rdi callq _pthread_attr_init movq %r14, %rdi movl $1, %esi callq _pthread_attr_setdetachstate movq _g_Mtx@GOTPCREL(%rip), %rdi xorl %r13d, %r13d xorl %esi, %esi callq _pthread_mutex_init movq _g_Free@GOTPCREL(%rip), %rdi xorl %esi, %esi xorl %edx, %edx callq _sem_init movq _g_Full@GOTPCREL(%rip), %rdi xorl %esi, %esi movl $100, %edx callq _sem_init leaq _consFunc(%rip), %r12 movq %r15, %rbx .p2align 4, 0x90 LBB2_6: ## =>This Inner Loop Header: Depth=1 movslq -116(%rbp), %rax cmpq %rax, %r13 jge LBB2_12 ## %bb.7: ## in Loop: Header=BB2_6 Depth=1 incq %r13 movq %rbx, %rdi movq %r14, %rsi movq %r12, %rdx movq %r13, %rcx callq _pthread_create addq $8, %rbx testl %eax, %eax je LBB2_6 jmp LBB2_15 LBB2_8: movq (%rbx), %rsi leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _printf LBB2_9: movl $1, %eax LBB2_10: movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -48(%rbp), %rcx jne LBB2_20 ## %bb.11: addq $88, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB2_12: xorl %ebx, %ebx leaq _prodFunc(%rip), %r14 leaq -112(%rbp), %r12 .p2align 4, 0x90 LBB2_13: ## =>This Inner Loop Header: Depth=1 movslq -120(%rbp), %rax cmpq %rax, %rbx jge LBB2_16 ## %bb.14: ## in Loop: Header=BB2_13 Depth=1 movslq -116(%rbp), %rax addq %rbx, %rax leaq (%r15,%rax,8), %rdi incq %rbx movq %r12, %rsi movq %r14, %rdx movq %rbx, %rcx callq _pthread_create testl %eax, %eax je LBB2_13 LBB2_15: leaq L_.str.3(%rip), %rdi callq _perror jmp LBB2_9 LBB2_16: leaq -112(%rbp), %rdi callq _pthread_attr_destroy movl -116(%rbp), %eax addl -120(%rbp), %eax jle LBB2_19 ## %bb.17: xorl %ebx, %ebx .p2align 4, 0x90 LBB2_18: ## =>This Inner Loop Header: Depth=1 movq (%r15,%rbx,8), %rdi xorl %esi, %esi callq _pthread_join incq %rbx movslq -120(%rbp), %rax movslq -116(%rbp), %rcx addq %rax, %rcx cmpq %rcx, %rbx jl LBB2_18 LBB2_19: movq _g_Mtx@GOTPCREL(%rip), %rdi callq _pthread_mutex_destroy movq _g_Free@GOTPCREL(%rip), %rdi callq _sem_destroy movq _g_Full@GOTPCREL(%rip), %rdi callq _sem_destroy movq %r15, %rdi callq _free xorl %eax, %eax jmp LBB2_10 LBB2_20: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _g_Pos ## @g_Pos .zerofill __DATA,__common,_g_Pos,4,2 .comm _g_Mtx,64,3 ## @g_Mtx .comm _g_Free,4,2 ## @g_Free .comm _g_Buffer,800,4 ## @g_Buffer .comm _g_Full,4,2 ## @g_Full .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Consumer %d received %d from %d\n" L_.str.1: ## @.str.1 .asciz "%d" L_.str.2: ## @.str.2 .asciz "Usage: %s <prod> <cons>\n" L_.str.3: ## @.str.3 .asciz "pthread_create" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _prodFunc ; -- Begin function prodFunc .p2align 2 _prodFunc: ; @prodFunc .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x0 mov w23, #0 Lloh0: adrp x20, _g_Mtx@GOTPAGE Lloh1: ldr x20, [x20, _g_Mtx@GOTPAGEOFF] Lloh2: adrp x21, _g_Free@GOTPAGE Lloh3: ldr x21, [x21, _g_Free@GOTPAGEOFF] adrp x24, _g_Pos@PAGE Lloh4: adrp x25, _g_Buffer@GOTPAGE Lloh5: ldr x25, [x25, _g_Buffer@GOTPAGEOFF] Lloh6: adrp x22, _g_Full@GOTPAGE Lloh7: ldr x22, [x22, _g_Full@GOTPAGEOFF] LBB0_1: ; =>This Inner Loop Header: Depth=1 mov x0, x20 bl _pthread_mutex_lock mov x0, x21 bl _sem_wait ldrsw x8, [x24, _g_Pos@PAGEOFF] add x9, x25, x8, lsl #3 stp w19, w23, [x9] add w8, w8, #1 str w8, [x24, _g_Pos@PAGEOFF] mov x0, x22 bl _sem_post mov x0, x20 bl _pthread_mutex_unlock add w23, w23, #1 b LBB0_1 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .globl _consFunc ; -- Begin function consFunc .p2align 2 _consFunc: ; @consFunc .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh8: adrp x19, _g_Full@GOTPAGE Lloh9: ldr x19, [x19, _g_Full@GOTPAGEOFF] Lloh10: adrp x20, _g_Mtx@GOTPAGE Lloh11: ldr x20, [x20, _g_Mtx@GOTPAGEOFF] Lloh12: adrp x23, _g_Buffer@GOTPAGE Lloh13: ldr x23, [x23, _g_Buffer@GOTPAGEOFF] adrp x24, _g_Pos@PAGE Lloh14: adrp x21, _g_Free@GOTPAGE Lloh15: ldr x21, [x21, _g_Free@GOTPAGEOFF] mov x25, x0 Lloh16: adrp x22, l_.str@PAGE Lloh17: add x22, x22, l_.str@PAGEOFF LBB1_1: ; =>This Inner Loop Header: Depth=1 mov x0, x19 bl _sem_wait mov x0, x20 bl _pthread_mutex_lock ldrsw x8, [x24, _g_Pos@PAGEOFF] add x9, x23, x8, lsl #3 sub w8, w8, #1 str w8, [x24, _g_Pos@PAGEOFF] ldp w27, w26, [x9] mov x0, x20 bl _pthread_mutex_unlock mov x0, x21 bl _sem_post stp x26, x27, [sp, #8] str x25, [sp] mov x0, x22 bl _printf b LBB1_1 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #144 .cfi_def_cfa_offset 144 stp x22, x21, [sp, #96] ; 16-byte Folded Spill stp x20, x19, [sp, #112] ; 16-byte Folded Spill stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 Lloh18: adrp x8, ___stack_chk_guard@GOTPAGE Lloh19: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh20: ldr x8, [x8] stur x8, [x29, #-40] cmp w0, #3 b.ne LBB2_3 ; %bb.1: ldr x0, [x19, #8] add x8, sp, #20 str x8, [sp] Lloh21: adrp x1, l_.str.1@PAGE Lloh22: add x1, x1, l_.str.1@PAGEOFF bl _sscanf cmp w0, #1 b.ne LBB2_3 ; %bb.2: ldr x0, [x19, #16] add x8, sp, #16 str x8, [sp] Lloh23: adrp x1, l_.str.1@PAGE Lloh24: add x1, x1, l_.str.1@PAGEOFF bl _sscanf ldp w9, w8, [sp, #16] cmp w0, #1 ccmp w8, #1, #8, eq ccmp w9, #0, #4, ge b.gt LBB2_7 LBB2_3: ldr x8, [x19] str x8, [sp] Lloh25: adrp x0, l_.str.2@PAGE Lloh26: add x0, x0, l_.str.2@PAGEOFF bl _printf LBB2_4: mov w0, #1 LBB2_5: ldur x8, [x29, #-40] Lloh27: adrp x9, ___stack_chk_guard@GOTPAGE Lloh28: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh29: ldr x9, [x9] cmp x9, x8 b.ne LBB2_18 ; %bb.6: ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload ldp x22, x21, [sp, #96] ; 16-byte Folded Reload add sp, sp, #144 ret LBB2_7: add x8, x9, x8 lsl x0, x8, #3 bl _malloc mov x19, x0 add x0, sp, #24 bl _pthread_attr_init add x0, sp, #24 mov w1, #1 bl _pthread_attr_setdetachstate Lloh30: adrp x0, _g_Mtx@GOTPAGE Lloh31: ldr x0, [x0, _g_Mtx@GOTPAGEOFF] mov x1, #0 bl _pthread_mutex_init Lloh32: adrp x0, _g_Free@GOTPAGE Lloh33: ldr x0, [x0, _g_Free@GOTPAGEOFF] mov w1, #0 mov w2, #0 bl _sem_init Lloh34: adrp x0, _g_Full@GOTPAGE Lloh35: ldr x0, [x0, _g_Full@GOTPAGEOFF] mov w1, #0 mov w2, #100 bl _sem_init mov x20, #0 Lloh36: adrp x21, _consFunc@PAGE Lloh37: add x21, x21, _consFunc@PAGEOFF mov x22, x19 LBB2_8: ; =>This Inner Loop Header: Depth=1 ldrsw x8, [sp, #16] cmp x20, x8 b.ge LBB2_10 ; %bb.9: ; in Loop: Header=BB2_8 Depth=1 add x20, x20, #1 add x1, sp, #24 mov x0, x22 mov x2, x21 mov x3, x20 bl _pthread_create add x22, x22, #8 cbz w0, LBB2_8 b LBB2_13 LBB2_10: mov x20, #0 Lloh38: adrp x21, _prodFunc@PAGE Lloh39: add x21, x21, _prodFunc@PAGEOFF LBB2_11: ; =>This Inner Loop Header: Depth=1 ldrsw x8, [sp, #20] cmp x20, x8 b.ge LBB2_14 ; %bb.12: ; in Loop: Header=BB2_11 Depth=1 ldrsw x8, [sp, #16] add x8, x20, x8 add x0, x19, x8, lsl #3 add x20, x20, #1 add x1, sp, #24 mov x2, x21 mov x3, x20 bl _pthread_create cbz w0, LBB2_11 LBB2_13: Lloh40: adrp x0, l_.str.3@PAGE Lloh41: add x0, x0, l_.str.3@PAGEOFF bl _perror b LBB2_4 LBB2_14: add x0, sp, #24 bl _pthread_attr_destroy ldp w9, w8, [sp, #16] add w8, w9, w8 cmp w8, #1 b.lt LBB2_17 ; %bb.15: mov x20, #0 LBB2_16: ; =>This Inner Loop Header: Depth=1 ldr x0, [x19, x20, lsl #3] mov x1, #0 bl _pthread_join add x20, x20, #1 ldpsw x9, x8, [sp, #16] add x8, x9, x8 cmp x20, x8 b.lt LBB2_16 LBB2_17: Lloh42: adrp x0, _g_Mtx@GOTPAGE Lloh43: ldr x0, [x0, _g_Mtx@GOTPAGEOFF] bl _pthread_mutex_destroy Lloh44: adrp x0, _g_Free@GOTPAGE Lloh45: ldr x0, [x0, _g_Free@GOTPAGEOFF] bl _sem_destroy Lloh46: adrp x0, _g_Full@GOTPAGE Lloh47: ldr x0, [x0, _g_Full@GOTPAGEOFF] bl _sem_destroy mov x0, x19 bl _free mov w0, #0 b LBB2_5 LBB2_18: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpAdd Lloh36, Lloh37 .loh AdrpLdrGot Lloh34, Lloh35 .loh AdrpLdrGot Lloh32, Lloh33 .loh AdrpLdrGot Lloh30, Lloh31 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpAdd Lloh40, Lloh41 .loh AdrpLdrGot Lloh46, Lloh47 .loh AdrpLdrGot Lloh44, Lloh45 .loh AdrpLdrGot Lloh42, Lloh43 .cfi_endproc ; -- End function .globl _g_Pos ; @g_Pos .zerofill __DATA,__common,_g_Pos,4,2 .comm _g_Mtx,64,3 ; @g_Mtx .comm _g_Free,4,2 ; @g_Free .comm _g_Buffer,800,2 ; @g_Buffer .comm _g_Full,4,2 ; @g_Full .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Consumer %d received %d from %d\n" l_.str.1: ; @.str.1 .asciz "%d" l_.str.2: ; @.str.2 .asciz "Usage: %s <prod> <cons>\n" l_.str.3: ; @.str.3 .asciz "pthread_create" .subsections_via_symbols
the_stack_data/153266857.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function igb_check_polarity_igp _igb_check_polarity_igp: ## @igb_check_polarity_igp .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 movq _IGP01E1000_PHY_PORT_STATUS@GOTPCREL(%rip), %rbx movl (%rbx), %esi leaq -44(%rbp), %rdx callq *8(%rdi) testq %rax, %rax jne LBB0_8 ## %bb.1: movq _IGP01E1000_PSSR_SPEED_MASK@GOTPCREL(%rip), %rax movl (%rax), %r15d andl -44(%rbp), %r15d movq _IGP01E1000_PSSR_SPEED_1000MBPS@GOTPCREL(%rip), %rax movl (%rax), %r12d movq _IGP01E1000_PHY_POLARITY_MASK@GOTPCREL(%rip), %rax movq _IGP01E1000_PSSR_POLARITY_REVERSED@GOTPCREL(%rip), %rcx cmpl %r12d, %r15d jne LBB0_3 ## %bb.2: movq _IGP01E1000_PHY_PCS_INIT_REG@GOTPCREL(%rip), %rbx LBB0_3: movl (%rax), %eax movl %eax, -48(%rbp) ## 4-byte Spill movl (%rcx), %r13d movl (%rbx), %esi leaq -44(%rbp), %rdx movq %r14, %rdi callq *8(%r14) testq %rax, %rax jne LBB0_8 ## %bb.4: cmpl %r12d, %r15d cmovel -48(%rbp), %r13d ## 4-byte Folded Reload andl -44(%rbp), %r13d jne LBB0_5 ## %bb.6: movq _e1000_rev_polarity_normal@GOTPCREL(%rip), %rax jmp LBB0_7 LBB0_5: movq _e1000_rev_polarity_reversed@GOTPCREL(%rip), %rax LBB0_7: movl (%rax), %eax movl %eax, (%r14) xorl %eax, %eax LBB0_8: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _IGP01E1000_PHY_PORT_STATUS,4,2 ## @IGP01E1000_PHY_PORT_STATUS .comm _IGP01E1000_PSSR_SPEED_MASK,4,2 ## @IGP01E1000_PSSR_SPEED_MASK .comm _IGP01E1000_PSSR_SPEED_1000MBPS,4,2 ## @IGP01E1000_PSSR_SPEED_1000MBPS .comm _IGP01E1000_PHY_PCS_INIT_REG,4,2 ## @IGP01E1000_PHY_PCS_INIT_REG .comm _IGP01E1000_PHY_POLARITY_MASK,4,2 ## @IGP01E1000_PHY_POLARITY_MASK .comm _IGP01E1000_PSSR_POLARITY_REVERSED,4,2 ## @IGP01E1000_PSSR_POLARITY_REVERSED .comm _e1000_rev_polarity_reversed,4,2 ## @e1000_rev_polarity_reversed .comm _e1000_rev_polarity_normal,4,2 ## @e1000_rev_polarity_normal .no_dead_strip _igb_check_polarity_igp .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function igb_check_polarity_igp _igb_check_polarity_igp: ; @igb_check_polarity_igp .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 ldr x8, [x0, #8] Lloh0: adrp x20, _IGP01E1000_PHY_PORT_STATUS@GOTPAGE Lloh1: ldr x20, [x20, _IGP01E1000_PHY_PORT_STATUS@GOTPAGEOFF] ldr w1, [x20] add x2, sp, #12 blr x8 cbnz x0, LBB0_3 ; %bb.1: Lloh2: adrp x8, _IGP01E1000_PSSR_SPEED_MASK@GOTPAGE Lloh3: ldr x8, [x8, _IGP01E1000_PSSR_SPEED_MASK@GOTPAGEOFF] ldr w9, [sp, #12] Lloh4: ldr w8, [x8] and w21, w8, w9 Lloh5: adrp x8, _IGP01E1000_PSSR_SPEED_1000MBPS@GOTPAGE Lloh6: ldr x8, [x8, _IGP01E1000_PSSR_SPEED_1000MBPS@GOTPAGEOFF] Lloh7: ldr w22, [x8] Lloh8: adrp x8, _IGP01E1000_PHY_POLARITY_MASK@GOTPAGE Lloh9: ldr x8, [x8, _IGP01E1000_PHY_POLARITY_MASK@GOTPAGEOFF] Lloh10: ldr w23, [x8] Lloh11: adrp x8, _IGP01E1000_PSSR_POLARITY_REVERSED@GOTPAGE Lloh12: ldr x8, [x8, _IGP01E1000_PSSR_POLARITY_REVERSED@GOTPAGEOFF] Lloh13: ldr w24, [x8] Lloh14: adrp x8, _IGP01E1000_PHY_PCS_INIT_REG@GOTPAGE Lloh15: ldr x8, [x8, _IGP01E1000_PHY_PCS_INIT_REG@GOTPAGEOFF] cmp w21, w22 csel x8, x8, x20, eq ldr w1, [x8] ldr x8, [x19, #8] add x2, sp, #12 mov x0, x19 blr x8 cbnz x0, LBB0_3 ; %bb.2: cmp w21, w22 csel w8, w23, w24, eq ldr w9, [sp, #12] Lloh16: adrp x10, _e1000_rev_polarity_reversed@GOTPAGE Lloh17: ldr x10, [x10, _e1000_rev_polarity_reversed@GOTPAGEOFF] Lloh18: adrp x11, _e1000_rev_polarity_normal@GOTPAGE Lloh19: ldr x11, [x11, _e1000_rev_polarity_normal@GOTPAGEOFF] tst w9, w8 csel x8, x11, x10, eq ldr w8, [x8] str w8, [x19] LBB0_3: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpLdrGot Lloh16, Lloh17 .cfi_endproc ; -- End function .comm _IGP01E1000_PHY_PORT_STATUS,4,2 ; @IGP01E1000_PHY_PORT_STATUS .comm _IGP01E1000_PSSR_SPEED_MASK,4,2 ; @IGP01E1000_PSSR_SPEED_MASK .comm _IGP01E1000_PSSR_SPEED_1000MBPS,4,2 ; @IGP01E1000_PSSR_SPEED_1000MBPS .comm _IGP01E1000_PHY_PCS_INIT_REG,4,2 ; @IGP01E1000_PHY_PCS_INIT_REG .comm _IGP01E1000_PHY_POLARITY_MASK,4,2 ; @IGP01E1000_PHY_POLARITY_MASK .comm _IGP01E1000_PSSR_POLARITY_REVERSED,4,2 ; @IGP01E1000_PSSR_POLARITY_REVERSED .comm _e1000_rev_polarity_reversed,4,2 ; @e1000_rev_polarity_reversed .comm _e1000_rev_polarity_normal,4,2 ; @e1000_rev_polarity_normal .no_dead_strip _igb_check_polarity_igp .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/igb/extr_e1000_phy.c_igb_check_polarity_igp.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _uart_send_string ## -- Begin function uart_send_string .p2align 4, 0x90 _uart_send_string: ## @uart_send_string .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movb (%rdi), %al testb %al, %al je LBB0_3 ## %bb.1: movq %rdi, %rbx incq %rbx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movsbl %al, %edi callq _uart_send movzbl (%rbx), %eax incq %rbx testb %al, %al jne LBB0_2 LBB0_3: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _uart_send_string ; -- Begin function uart_send_string .p2align 2 _uart_send_string: ; @uart_send_string .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldrb w8, [x0] cbz w8, LBB0_3 ; %bb.1: add x19, x0, #1 LBB0_2: ; =>This Inner Loop Header: Depth=1 sxtb w0, w8 bl _uart_send ldrb w8, [x19], #1 cbnz w8, LBB0_2 LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/raspberry-pi-os/exercises/lesson01/3/adkaster/src/extr_mini_uart.c_uart_send_string.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
the_stack_data/98576149.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function nmi_perfctr_msr_to_bit _nmi_perfctr_msr_to_bit: ## @nmi_perfctr_msr_to_bit .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edi, %ebx movq _boot_cpu_data@GOTPCREL(%rip), %rax movl (%rax), %eax xorl %r14d, %r14d cmpl $128, %eax je LBB0_5 ## %bb.1: cmpl $129, %eax jne LBB0_13 ## %bb.2: movq _MSR_F15H_PERF_CTR@GOTPCREL(%rip), %rax movl (%rax), %eax cmpl %ebx, %eax jbe LBB0_3 ## %bb.4: movq _MSR_K7_PERFCTR0@GOTPCREL(%rip), %rax jmp LBB0_11 LBB0_5: movq _X86_FEATURE_ARCH_PERFMON@GOTPCREL(%rip), %rax movl (%rax), %esi movq _boot_cpu_data@GOTPCREL(%rip), %r15 movq %r15, %rdi callq _cpu_has testl %eax, %eax je LBB0_7 ## %bb.6: movq _MSR_ARCH_PERFMON_PERFCTR0@GOTPCREL(%rip), %rax LBB0_11: subl (%rax), %ebx jmp LBB0_12 LBB0_3: subl %eax, %ebx shrl %ebx LBB0_12: movl %ebx, %r14d LBB0_13: movl %r14d, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_7: movl 4(%r15), %eax cmpl $15, %eax je LBB0_10 ## %bb.8: cmpl $6, %eax jne LBB0_13 ## %bb.9: movq _MSR_P6_PERFCTR0@GOTPCREL(%rip), %rax jmp LBB0_11 LBB0_10: movq _MSR_P4_BPU_PERFCTR0@GOTPCREL(%rip), %rax jmp LBB0_11 .cfi_endproc ## -- End function .comm _boot_cpu_data,8,2 ## @boot_cpu_data .comm _MSR_F15H_PERF_CTR,4,2 ## @MSR_F15H_PERF_CTR .comm _MSR_K7_PERFCTR0,4,2 ## @MSR_K7_PERFCTR0 .comm _X86_FEATURE_ARCH_PERFMON,4,2 ## @X86_FEATURE_ARCH_PERFMON .comm _MSR_ARCH_PERFMON_PERFCTR0,4,2 ## @MSR_ARCH_PERFMON_PERFCTR0 .comm _MSR_P6_PERFCTR0,4,2 ## @MSR_P6_PERFCTR0 .comm _MSR_P4_BPU_PERFCTR0,4,2 ## @MSR_P4_BPU_PERFCTR0 .no_dead_strip _nmi_perfctr_msr_to_bit .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function nmi_perfctr_msr_to_bit _nmi_perfctr_msr_to_bit: ; @nmi_perfctr_msr_to_bit .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x8, _boot_cpu_data@GOTPAGE Lloh1: ldr x8, [x8, _boot_cpu_data@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmp w8, #128 b.eq LBB0_4 ; %bb.1: cmp w8, #129 b.ne LBB0_11 ; %bb.2: Lloh3: adrp x8, _MSR_F15H_PERF_CTR@GOTPAGE Lloh4: ldr x8, [x8, _MSR_F15H_PERF_CTR@GOTPAGEOFF] Lloh5: ldr w8, [x8] cmp w8, w19 b.ls LBB0_7 ; %bb.3: Lloh6: adrp x8, _MSR_K7_PERFCTR0@GOTPAGE Lloh7: ldr x8, [x8, _MSR_K7_PERFCTR0@GOTPAGEOFF] b LBB0_6 LBB0_4: Lloh8: adrp x8, _X86_FEATURE_ARCH_PERFMON@GOTPAGE Lloh9: ldr x8, [x8, _X86_FEATURE_ARCH_PERFMON@GOTPAGEOFF] Lloh10: ldr w1, [x8] Lloh11: adrp x20, _boot_cpu_data@GOTPAGE Lloh12: ldr x20, [x20, _boot_cpu_data@GOTPAGEOFF] mov x0, x20 bl _cpu_has cbz w0, LBB0_8 ; %bb.5: Lloh13: adrp x8, _MSR_ARCH_PERFMON_PERFCTR0@GOTPAGE Lloh14: ldr x8, [x8, _MSR_ARCH_PERFMON_PERFCTR0@GOTPAGEOFF] LBB0_6: ldr w8, [x8] sub w0, w19, w8 b LBB0_12 LBB0_7: sub w8, w19, w8 lsr w0, w8, #1 b LBB0_12 LBB0_8: ldr w8, [x20, #4] cmp w8, #15 b.eq LBB0_13 ; %bb.9: cmp w8, #6 b.ne LBB0_11 ; %bb.10: Lloh15: adrp x8, _MSR_P6_PERFCTR0@GOTPAGE Lloh16: ldr x8, [x8, _MSR_P6_PERFCTR0@GOTPAGEOFF] b LBB0_6 LBB0_11: mov w0, #0 LBB0_12: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_13: Lloh17: adrp x8, _MSR_P4_BPU_PERFCTR0@GOTPAGE Lloh18: ldr x8, [x8, _MSR_P4_BPU_PERFCTR0@GOTPAGEOFF] b LBB0_6 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpLdrGot Lloh17, Lloh18 .cfi_endproc ; -- End function .comm _boot_cpu_data,8,2 ; @boot_cpu_data .comm _MSR_F15H_PERF_CTR,4,2 ; @MSR_F15H_PERF_CTR .comm _MSR_K7_PERFCTR0,4,2 ; @MSR_K7_PERFCTR0 .comm _X86_FEATURE_ARCH_PERFMON,4,2 ; @X86_FEATURE_ARCH_PERFMON .comm _MSR_ARCH_PERFMON_PERFCTR0,4,2 ; @MSR_ARCH_PERFMON_PERFCTR0 .comm _MSR_P6_PERFCTR0,4,2 ; @MSR_P6_PERFCTR0 .comm _MSR_P4_BPU_PERFCTR0,4,2 ; @MSR_P4_BPU_PERFCTR0 .no_dead_strip _nmi_perfctr_msr_to_bit .subsections_via_symbols
AnghaBench/fastsocket/kernel/arch/x86/kernel/cpu/extr_perfctr-watchdog.c_nmi_perfctr_msr_to_bit.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function file_new _file_new: ## @file_new .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorps %xmm0, %xmm0 movups %xmm0, 8(%rdi) movq $0, 24(%rdi) movq _BIO_FLAGS_UPLINK@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rdi) movl $1, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _BIO_FLAGS_UPLINK,4,2 ## @BIO_FLAGS_UPLINK .no_dead_strip _file_new .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function file_new _file_new: ; @file_new .cfi_startproc ; %bb.0: stp xzr, xzr, [x0, #8] str xzr, [x0, #24] Lloh0: adrp x8, _BIO_FLAGS_UPLINK@GOTPAGE Lloh1: ldr x8, [x8, _BIO_FLAGS_UPLINK@GOTPAGEOFF] Lloh2: ldr w8, [x8] str w8, [x0] mov w0, #1 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _BIO_FLAGS_UPLINK,4,2 ; @BIO_FLAGS_UPLINK .no_dead_strip _file_new .subsections_via_symbols
AnghaBench/freebsd/crypto/openssl/crypto/bio/extr_bss_file.c_file_new.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function randombytes_sysrandom_close _randombytes_sysrandom_close: ## @randombytes_sysrandom_close .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq _stream@GOTPCREL(%rip), %r14 movl (%r14), %edi movl $-1, %ebx cmpl $-1, %edi je LBB0_3 ## %bb.1: callq _close testq %rax, %rax jne LBB0_3 ## %bb.2: movl $-1, (%r14) movq $0, 8(%r14) xorl %ebx, %ebx LBB0_3: movl %ebx, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _stream,24,3 ## @stream .no_dead_strip _randombytes_sysrandom_close .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function randombytes_sysrandom_close _randombytes_sysrandom_close: ; @randombytes_sysrandom_close .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x19, _stream@GOTPAGE Lloh1: ldr x19, [x19, _stream@GOTPAGEOFF] ldr w0, [x19] cmn w0, #1 b.eq LBB0_3 ; %bb.1: bl _close mov x8, x0 mov w0, #-1 cbnz x8, LBB0_3 ; %bb.2: str w0, [x19] str xzr, [x19, #8] mov w0, #0 LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _stream,24,3 ; @stream .no_dead_strip _randombytes_sysrandom_close .subsections_via_symbols
AnghaBench/libsodium/src/libsodium/randombytes/sysrandom/extr_randombytes_sysrandom.c_randombytes_sysrandom_close.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ng_btsocket_rfcomm_crc _ng_btsocket_rfcomm_crc: ## @ng_btsocket_rfcomm_crc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp ## kill: def $esi killed $esi def $rsi testl %esi, %esi je LBB0_1 ## %bb.2: movq _ng_btsocket_rfcomm_crc_table@GOTPCREL(%rip), %rax movq (%rax), %r8 leal -1(%rsi), %eax cmpl $3, %eax jae LBB0_4 ## %bb.3: movl $255, %eax jmp LBB0_6 LBB0_1: movl $255, %eax popq %rbp retq LBB0_4: movl %esi, %r9d andl $-4, %r9d movl $255, %eax .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 xorq (%rdi), %rax movq 8(%rdi), %rcx movq 16(%rdi), %rdx xorq (%r8,%rax,8), %rcx xorq (%r8,%rcx,8), %rdx movq 24(%rdi), %rax addq $32, %rdi xorq (%r8,%rdx,8), %rax movq (%r8,%rax,8), %rax addl $-4, %r9d jne LBB0_5 LBB0_6: testb $3, %sil je LBB0_9 ## %bb.7: andl $3, %esi xorl %edx, %edx .p2align 4, 0x90 LBB0_8: ## =>This Inner Loop Header: Depth=1 xorq (%rdi,%rdx,8), %rax movq (%r8,%rax,8), %rax incq %rdx cmpl %edx, %esi jne LBB0_8 LBB0_9: popq %rbp retq .cfi_endproc ## -- End function .comm _ng_btsocket_rfcomm_crc_table,8,3 ## @ng_btsocket_rfcomm_crc_table .no_dead_strip _ng_btsocket_rfcomm_crc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ng_btsocket_rfcomm_crc _ng_btsocket_rfcomm_crc: ; @ng_btsocket_rfcomm_crc .cfi_startproc ; %bb.0: cbz w1, LBB0_4 ; %bb.1: Lloh0: adrp x8, _ng_btsocket_rfcomm_crc_table@GOTPAGE Lloh1: ldr x8, [x8, _ng_btsocket_rfcomm_crc_table@GOTPAGEOFF] Lloh2: ldr x9, [x8] mov w8, #255 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x10, [x0], #8 eor x8, x10, x8 ldr x8, [x9, x8, lsl #3] subs w1, w1, #1 b.ne LBB0_2 ; %bb.3: mov x0, x8 ret LBB0_4: mov w8, #255 mov x0, x8 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ng_btsocket_rfcomm_crc_table,8,3 ; @ng_btsocket_rfcomm_crc_table .no_dead_strip _ng_btsocket_rfcomm_crc .subsections_via_symbols
AnghaBench/freebsd/sys/netgraph/bluetooth/socket/extr_ng_btsocket_rfcomm.c_ng_btsocket_rfcomm_crc.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __DATA,__data .globl _uk2012q_maz ## @uk2012q_maz .p2align 4 _uk2012q_maz: .long 14 ## 0xe .long 10 ## 0xa .long 9 ## 0x9 .long 14 ## 0xe .long 8 ## 0x8 .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 9 ## 0x9 .long 12 ## 0xc .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 9 ## 0x9 .long 12 ## 0xc .long 8 ## 0x8 .long 2 ## 0x2 .long 10 ## 0xa .long 2 ## 0x2 .long 8 ## 0x8 .long 10 ## 0xa .long 10 ## 0xa .long 9 ## 0x9 .long 5 ## 0x5 .long 5 ## 0x5 .long 12 ## 0xc .long 9 ## 0x9 .long 12 ## 0xc .long 9 ## 0x9 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 12 ## 0xc .long 10 ## 0xa .long 10 ## 0xa .long 2 ## 0x2 .long 10 ## 0xa .long 10 ## 0xa .long 3 ## 0x3 .long 7 ## 0x7 .long 5 ## 0x5 .long 5 ## 0x5 .long 6 ## 0x6 .long 3 ## 0x3 .long 6 ## 0x6 .long 3 ## 0x3 .long 5 ## 0x5 .long 5 ## 0x5 .long 6 ## 0x6 .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 3 ## 0x3 .long 6 ## 0x6 .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 9 ## 0x9 .long 5 ## 0x5 .long 5 ## 0x5 .long 12 ## 0xc .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 9 ## 0x9 .long 12 ## 0xc .long 9 ## 0x9 .long 14 ## 0xe .long 10 ## 0xa .long 10 ## 0xa .long 8 ## 0x8 .long 9 ## 0x9 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 6 ## 0x6 .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 9 ## 0x9 .long 4 ## 0x4 .long 1 ## 0x1 .long 6 ## 0x6 .long 10 ## 0xa .long 10 ## 0xa .long 9 ## 0x9 .long 5 ## 0x5 .long 6 ## 0x6 .long 3 ## 0x3 .long 5 ## 0x5 .long 5 ## 0x5 .long 14 ## 0xe .long 10 ## 0xa .long 10 ## 0xa .long 9 ## 0x9 .long 7 ## 0x7 .long 5 ## 0x5 .long 7 ## 0x7 .long 14 ## 0xe .long 10 ## 0xa .long 9 ## 0x9 .long 5 ## 0x5 .long 4 ## 0x4 .long 8 ## 0x8 .long 9 ## 0x9 .long 4 ## 0x4 .long 2 ## 0x2 .long 10 ## 0xa .long 8 ## 0x8 .long 9 ## 0x9 .long 6 ## 0x6 .long 9 ## 0x9 .long 4 ## 0x4 .long 9 ## 0x9 .long 12 ## 0xc .long 9 ## 0x9 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 12 ## 0xc .long 9 ## 0x9 .long 5 ## 0x5 .long 6 ## 0x6 .long 10 ## 0xa .long 3 ## 0x3 .long 6 ## 0x6 .long 3 ## 0x3 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 6 ## 0x6 .long 10 ## 0xa .long 11 ## 0xb .long 12 ## 0xc .long 9 ## 0x9 .long 13 ## 0xd .long 5 ## 0x5 .long 4 ## 0x4 .long 2 ## 0x2 .long 3 ## 0x3 .long 6 ## 0x6 .long 3 ## 0x3 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 12 ## 0xc .long 10 ## 0xa .long 9 ## 0x9 .long 5 ## 0x5 .long 5 ## 0x5 .long 4 ## 0x4 .long 3 ## 0x3 .long 5 ## 0x5 .long 12 ## 0xc .long 10 ## 0xa .long 10 ## 0xa .long 9 ## 0x9 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 6 ## 0x6 .long 3 ## 0x3 .long 12 ## 0xc .long 1 ## 0x1 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 12 ## 0xc .long 2 ## 0x2 .long 3 ## 0x3 .long 12 ## 0xc .long 11 ## 0xb .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 6 ## 0x6 .long 10 ## 0xa .long 8 ## 0x8 .long 3 ## 0x3 .long 4 ## 0x4 .long 1 ## 0x1 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 12 ## 0xc .long 9 ## 0x9 .long 4 ## 0x4 .long 8 ## 0x8 .long 3 ## 0x3 .long 5 ## 0x5 .long 5 ## 0x5 .long 14 ## 0xe .long 8 ## 0x8 .long 2 ## 0x2 .long 11 ## 0xb .long 7 ## 0x7 .long 4 ## 0x4 .long 1 ## 0x1 .long 6 ## 0x6 .long 2 ## 0x2 .long 1 ## 0x1 .long 5 ## 0x5 .long 5 ## 0x5 .long 6 ## 0x6 .long 9 ## 0x9 .long 5 ## 0x5 .long 5 ## 0x5 .long 12 ## 0xc .long 3 ## 0x3 .long 12 ## 0xc .long 9 ## 0x9 .long 12 ## 0xc .long 1 ## 0x1 .long 6 ## 0x6 .long 9 ## 0x9 .long 12 ## 0xc .long 1 ## 0x1 .long 5 ## 0x5 .long 6 ## 0x6 .long 9 ## 0x9 .long 6 ## 0x6 .long 1 ## 0x1 .long 6 ## 0x6 .long 2 ## 0x2 .long 10 ## 0xa .long 3 ## 0x3 .long 6 ## 0x6 .long 3 ## 0x3 .long 6 ## 0x6 .long 10 ## 0xa .long 2 ## 0x2 .long 3 ## 0x3 .long 6 ## 0x6 .long 2 ## 0x2 .long 11 ## 0xb .long 6 ## 0x6 .long 10 ## 0xa .long 3 ## 0x3 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __DATA,__data .globl _uk2012q_maz ; @uk2012q_maz .p2align 2 _uk2012q_maz: .long 14 ; 0xe .long 10 ; 0xa .long 9 ; 0x9 .long 14 ; 0xe .long 8 ; 0x8 .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 9 ; 0x9 .long 12 ; 0xc .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 9 ; 0x9 .long 12 ; 0xc .long 8 ; 0x8 .long 2 ; 0x2 .long 10 ; 0xa .long 2 ; 0x2 .long 8 ; 0x8 .long 10 ; 0xa .long 10 ; 0xa .long 9 ; 0x9 .long 5 ; 0x5 .long 5 ; 0x5 .long 12 ; 0xc .long 9 ; 0x9 .long 12 ; 0xc .long 9 ; 0x9 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 12 ; 0xc .long 10 ; 0xa .long 10 ; 0xa .long 2 ; 0x2 .long 10 ; 0xa .long 10 ; 0xa .long 3 ; 0x3 .long 7 ; 0x7 .long 5 ; 0x5 .long 5 ; 0x5 .long 6 ; 0x6 .long 3 ; 0x3 .long 6 ; 0x6 .long 3 ; 0x3 .long 5 ; 0x5 .long 5 ; 0x5 .long 6 ; 0x6 .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 3 ; 0x3 .long 6 ; 0x6 .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 9 ; 0x9 .long 5 ; 0x5 .long 5 ; 0x5 .long 12 ; 0xc .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 9 ; 0x9 .long 12 ; 0xc .long 9 ; 0x9 .long 14 ; 0xe .long 10 ; 0xa .long 10 ; 0xa .long 8 ; 0x8 .long 9 ; 0x9 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 6 ; 0x6 .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 9 ; 0x9 .long 4 ; 0x4 .long 1 ; 0x1 .long 6 ; 0x6 .long 10 ; 0xa .long 10 ; 0xa .long 9 ; 0x9 .long 5 ; 0x5 .long 6 ; 0x6 .long 3 ; 0x3 .long 5 ; 0x5 .long 5 ; 0x5 .long 14 ; 0xe .long 10 ; 0xa .long 10 ; 0xa .long 9 ; 0x9 .long 7 ; 0x7 .long 5 ; 0x5 .long 7 ; 0x7 .long 14 ; 0xe .long 10 ; 0xa .long 9 ; 0x9 .long 5 ; 0x5 .long 4 ; 0x4 .long 8 ; 0x8 .long 9 ; 0x9 .long 4 ; 0x4 .long 2 ; 0x2 .long 10 ; 0xa .long 8 ; 0x8 .long 9 ; 0x9 .long 6 ; 0x6 .long 9 ; 0x9 .long 4 ; 0x4 .long 9 ; 0x9 .long 12 ; 0xc .long 9 ; 0x9 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 12 ; 0xc .long 9 ; 0x9 .long 5 ; 0x5 .long 6 ; 0x6 .long 10 ; 0xa .long 3 ; 0x3 .long 6 ; 0x6 .long 3 ; 0x3 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 6 ; 0x6 .long 10 ; 0xa .long 11 ; 0xb .long 12 ; 0xc .long 9 ; 0x9 .long 13 ; 0xd .long 5 ; 0x5 .long 4 ; 0x4 .long 2 ; 0x2 .long 3 ; 0x3 .long 6 ; 0x6 .long 3 ; 0x3 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 12 ; 0xc .long 10 ; 0xa .long 9 ; 0x9 .long 5 ; 0x5 .long 5 ; 0x5 .long 4 ; 0x4 .long 3 ; 0x3 .long 5 ; 0x5 .long 12 ; 0xc .long 10 ; 0xa .long 10 ; 0xa .long 9 ; 0x9 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 6 ; 0x6 .long 3 ; 0x3 .long 12 ; 0xc .long 1 ; 0x1 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 12 ; 0xc .long 2 ; 0x2 .long 3 ; 0x3 .long 12 ; 0xc .long 11 ; 0xb .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 6 ; 0x6 .long 10 ; 0xa .long 8 ; 0x8 .long 3 ; 0x3 .long 4 ; 0x4 .long 1 ; 0x1 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 12 ; 0xc .long 9 ; 0x9 .long 4 ; 0x4 .long 8 ; 0x8 .long 3 ; 0x3 .long 5 ; 0x5 .long 5 ; 0x5 .long 14 ; 0xe .long 8 ; 0x8 .long 2 ; 0x2 .long 11 ; 0xb .long 7 ; 0x7 .long 4 ; 0x4 .long 1 ; 0x1 .long 6 ; 0x6 .long 2 ; 0x2 .long 1 ; 0x1 .long 5 ; 0x5 .long 5 ; 0x5 .long 6 ; 0x6 .long 9 ; 0x9 .long 5 ; 0x5 .long 5 ; 0x5 .long 12 ; 0xc .long 3 ; 0x3 .long 12 ; 0xc .long 9 ; 0x9 .long 12 ; 0xc .long 1 ; 0x1 .long 6 ; 0x6 .long 9 ; 0x9 .long 12 ; 0xc .long 1 ; 0x1 .long 5 ; 0x5 .long 6 ; 0x6 .long 9 ; 0x9 .long 6 ; 0x6 .long 1 ; 0x1 .long 6 ; 0x6 .long 2 ; 0x2 .long 10 ; 0xa .long 3 ; 0x3 .long 6 ; 0x6 .long 3 ; 0x3 .long 6 ; 0x6 .long 10 ; 0xa .long 2 ; 0x2 .long 3 ; 0x3 .long 6 ; 0x6 .long 2 ; 0x2 .long 11 ; 0xb .long 6 ; 0x6 .long 10 ; 0xa .long 3 ; 0x3 .subsections_via_symbols
the_stack_data/24759.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function base_backup_cleanup _base_backup_cleanup: ## @base_backup_cleanup .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp jmp _do_pg_abort_backup ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _base_backup_cleanup .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function base_backup_cleanup _base_backup_cleanup: ; @base_backup_cleanup .cfi_startproc ; %bb.0: b _do_pg_abort_backup .cfi_endproc ; -- End function .no_dead_strip _base_backup_cleanup .subsections_via_symbols
AnghaBench/postgres/src/backend/replication/extr_basebackup.c_base_backup_cleanup.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function comp_get_page_0 _comp_get_page_0: ## @comp_get_page_0 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 xorl %r13d, %r13d xorl %eax, %eax callq _bt_mesh_comp_get movq %rax, %r15 movq _CONFIG_BLE_MESH_RELAY@GOTPCREL(%rip), %rax movl (%rax), %edi callq _IS_ENABLED movl $0, %ecx testq %rax, %rax je LBB0_2 ## %bb.1: movq _BLE_MESH_FEAT_RELAY@GOTPCREL(%rip), %rax movl (%rax), %ecx LBB0_2: movl %ecx, -44(%rbp) ## 4-byte Spill movq _CONFIG_BLE_MESH_GATT_PROXY_SERVER@GOTPCREL(%rip), %rax movl (%rax), %edi callq _IS_ENABLED movl $0, %r12d testq %rax, %rax je LBB0_4 ## %bb.3: movq _BLE_MESH_FEAT_PROXY@GOTPCREL(%rip), %rax movl (%rax), %r12d LBB0_4: movq _CONFIG_BLE_MESH_FRIEND@GOTPCREL(%rip), %rax movl (%rax), %edi callq _IS_ENABLED movl $0, %ebx testq %rax, %rax je LBB0_6 ## %bb.5: movq _BLE_MESH_FEAT_FRIEND@GOTPCREL(%rip), %rax movl (%rax), %ebx LBB0_6: orl -44(%rbp), %r12d ## 4-byte Folded Reload movq _CONFIG_BLE_MESH_LOW_POWER@GOTPCREL(%rip), %rax movl (%rax), %edi callq _IS_ENABLED movl $0, %ecx testq %rax, %rax je LBB0_8 ## %bb.7: movq _BLE_MESH_FEAT_LOW_POWER@GOTPCREL(%rip), %rax movl (%rax), %ecx LBB0_8: orl %ecx, %ebx orl %ebx, %r12d movl (%r15), %esi movq %r14, %rdi callq _net_buf_simple_add_le16 movl 4(%r15), %esi movq %r14, %rdi callq _net_buf_simple_add_le16 movl 8(%r15), %esi movq %r14, %rdi callq _net_buf_simple_add_le16 movq _CONFIG_BLE_MESH_CRPL@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _net_buf_simple_add_le16 movq %r14, %rdi movl %r12d, %esi callq _net_buf_simple_add_le16 cmpl $0, 12(%r15) jle LBB0_14 ## %bb.9: xorl %r12d, %r12d xorl %ebx, %ebx .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 movq 16(%r15), %rsi addq %r12, %rsi xorl %edx, %edx testq %rbx, %rbx sete %dl movq %r14, %rdi callq _comp_add_elem testl %eax, %eax jne LBB0_13 ## %bb.11: ## in Loop: Header=BB0_10 Depth=1 incq %rbx movslq 12(%r15), %rax addq $4, %r12 cmpq %rax, %rbx jl LBB0_10 ## %bb.12: xorl %r13d, %r13d jmp LBB0_14 LBB0_13: movl %eax, %r13d LBB0_14: movl %r13d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _CONFIG_BLE_MESH_RELAY,4,2 ## @CONFIG_BLE_MESH_RELAY .comm _BLE_MESH_FEAT_RELAY,4,2 ## @BLE_MESH_FEAT_RELAY .comm _CONFIG_BLE_MESH_GATT_PROXY_SERVER,4,2 ## @CONFIG_BLE_MESH_GATT_PROXY_SERVER .comm _BLE_MESH_FEAT_PROXY,4,2 ## @BLE_MESH_FEAT_PROXY .comm _CONFIG_BLE_MESH_FRIEND,4,2 ## @CONFIG_BLE_MESH_FRIEND .comm _BLE_MESH_FEAT_FRIEND,4,2 ## @BLE_MESH_FEAT_FRIEND .comm _CONFIG_BLE_MESH_LOW_POWER,4,2 ## @CONFIG_BLE_MESH_LOW_POWER .comm _BLE_MESH_FEAT_LOW_POWER,4,2 ## @BLE_MESH_FEAT_LOW_POWER .comm _CONFIG_BLE_MESH_CRPL,4,2 ## @CONFIG_BLE_MESH_CRPL .no_dead_strip _comp_get_page_0 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function comp_get_page_0 _comp_get_page_0: ; @comp_get_page_0 .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 bl _bt_mesh_comp_get mov x20, x0 Lloh0: adrp x8, _CONFIG_BLE_MESH_RELAY@GOTPAGE Lloh1: ldr x8, [x8, _CONFIG_BLE_MESH_RELAY@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _IS_ENABLED Lloh3: adrp x8, _BLE_MESH_FEAT_RELAY@GOTPAGE Lloh4: ldr x8, [x8, _BLE_MESH_FEAT_RELAY@GOTPAGEOFF] Lloh5: ldr w8, [x8] cmp x0, #0 csel w21, wzr, w8, eq Lloh6: adrp x8, _CONFIG_BLE_MESH_GATT_PROXY_SERVER@GOTPAGE Lloh7: ldr x8, [x8, _CONFIG_BLE_MESH_GATT_PROXY_SERVER@GOTPAGEOFF] Lloh8: ldr w0, [x8] bl _IS_ENABLED Lloh9: adrp x8, _BLE_MESH_FEAT_PROXY@GOTPAGE Lloh10: ldr x8, [x8, _BLE_MESH_FEAT_PROXY@GOTPAGEOFF] Lloh11: ldr w8, [x8] cmp x0, #0 csel w8, wzr, w8, eq orr w21, w8, w21 Lloh12: adrp x8, _CONFIG_BLE_MESH_FRIEND@GOTPAGE Lloh13: ldr x8, [x8, _CONFIG_BLE_MESH_FRIEND@GOTPAGEOFF] Lloh14: ldr w0, [x8] bl _IS_ENABLED Lloh15: adrp x8, _BLE_MESH_FEAT_FRIEND@GOTPAGE Lloh16: ldr x8, [x8, _BLE_MESH_FEAT_FRIEND@GOTPAGEOFF] Lloh17: ldr w8, [x8] cmp x0, #0 csel w8, wzr, w8, eq orr w21, w21, w8 Lloh18: adrp x8, _CONFIG_BLE_MESH_LOW_POWER@GOTPAGE Lloh19: ldr x8, [x8, _CONFIG_BLE_MESH_LOW_POWER@GOTPAGEOFF] Lloh20: ldr w0, [x8] bl _IS_ENABLED Lloh21: adrp x8, _BLE_MESH_FEAT_LOW_POWER@GOTPAGE Lloh22: ldr x8, [x8, _BLE_MESH_FEAT_LOW_POWER@GOTPAGEOFF] Lloh23: ldr w8, [x8] cmp x0, #0 csel w8, wzr, w8, eq orr w21, w21, w8 ldr w1, [x20] mov x0, x19 bl _net_buf_simple_add_le16 ldr w1, [x20, #4] mov x0, x19 bl _net_buf_simple_add_le16 ldr w1, [x20, #8] mov x0, x19 bl _net_buf_simple_add_le16 Lloh24: adrp x8, _CONFIG_BLE_MESH_CRPL@GOTPAGE Lloh25: ldr x8, [x8, _CONFIG_BLE_MESH_CRPL@GOTPAGEOFF] Lloh26: ldr w1, [x8] mov x0, x19 bl _net_buf_simple_add_le16 mov x0, x19 mov x1, x21 bl _net_buf_simple_add_le16 ldr w8, [x20, #12] cmp w8, #1 b.lt LBB0_4 ; %bb.1: mov x21, #0 mov x22, #0 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x20, #16] add x1, x8, x21 cmp x22, #0 cset w2, eq mov x0, x19 bl _comp_add_elem cbnz w0, LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 add x22, x22, #1 ldrsw x8, [x20, #12] add x21, x21, #4 cmp x22, x8 b.lt LBB0_2 LBB0_4: mov w0, #0 LBB0_5: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _CONFIG_BLE_MESH_RELAY,4,2 ; @CONFIG_BLE_MESH_RELAY .comm _BLE_MESH_FEAT_RELAY,4,2 ; @BLE_MESH_FEAT_RELAY .comm _CONFIG_BLE_MESH_GATT_PROXY_SERVER,4,2 ; @CONFIG_BLE_MESH_GATT_PROXY_SERVER .comm _BLE_MESH_FEAT_PROXY,4,2 ; @BLE_MESH_FEAT_PROXY .comm _CONFIG_BLE_MESH_FRIEND,4,2 ; @CONFIG_BLE_MESH_FRIEND .comm _BLE_MESH_FEAT_FRIEND,4,2 ; @BLE_MESH_FEAT_FRIEND .comm _CONFIG_BLE_MESH_LOW_POWER,4,2 ; @CONFIG_BLE_MESH_LOW_POWER .comm _BLE_MESH_FEAT_LOW_POWER,4,2 ; @BLE_MESH_FEAT_LOW_POWER .comm _CONFIG_BLE_MESH_CRPL,4,2 ; @CONFIG_BLE_MESH_CRPL .no_dead_strip _comp_get_page_0 .subsections_via_symbols
AnghaBench/esp-idf/components/bt/esp_ble_mesh/mesh_core/extr_cfg_srv.c_comp_get_page_0.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ar9285Probe _ar9285Probe: ## @ar9285Probe .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _ATHEROS_VENDOR_ID@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq %rdi, %rax jne LBB0_3 ## %bb.1: movq _AR9285_DEVID_PCIE@GOTPCREL(%rip), %rcx cmpq %rsi, (%rcx) jne LBB0_3 ## %bb.2: leaq L_.str(%rip), %rax popq %rbp retq LBB0_3: cmpq %rdi, %rax jne LBB0_6 ## %bb.4: movq _AR2427_DEVID_PCIE@GOTPCREL(%rip), %rax cmpq %rsi, (%rax) jne LBB0_6 ## %bb.5: leaq L_.str.1(%rip), %rax popq %rbp retq LBB0_6: movq _AH_NULL@GOTPCREL(%rip), %rax movq (%rax), %rax popq %rbp retq .cfi_endproc ## -- End function .comm _ATHEROS_VENDOR_ID,8,3 ## @ATHEROS_VENDOR_ID .comm _AR9285_DEVID_PCIE,8,3 ## @AR9285_DEVID_PCIE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Atheros 9285" .comm _AR2427_DEVID_PCIE,8,3 ## @AR2427_DEVID_PCIE L_.str.1: ## @.str.1 .asciz "Atheros 2427" .comm _AH_NULL,8,3 ## @AH_NULL .no_dead_strip _ar9285Probe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ar9285Probe _ar9285Probe: ; @ar9285Probe .cfi_startproc ; %bb.0: Lloh0: adrp x8, _ATHEROS_VENDOR_ID@GOTPAGE Lloh1: ldr x8, [x8, _ATHEROS_VENDOR_ID@GOTPAGEOFF] Lloh2: ldr x8, [x8] Lloh3: adrp x9, _AR9285_DEVID_PCIE@GOTPAGE Lloh4: ldr x9, [x9, _AR9285_DEVID_PCIE@GOTPAGEOFF] Lloh5: ldr x9, [x9] cmp x8, x0 ccmp x9, x1, #0, eq b.eq LBB0_3 ; %bb.1: Lloh6: adrp x9, _AR2427_DEVID_PCIE@GOTPAGE Lloh7: ldr x9, [x9, _AR2427_DEVID_PCIE@GOTPAGEOFF] Lloh8: ldr x9, [x9] cmp x8, x0 ccmp x9, x1, #0, eq b.eq LBB0_4 ; %bb.2: Lloh9: adrp x8, _AH_NULL@GOTPAGE Lloh10: ldr x8, [x8, _AH_NULL@GOTPAGEOFF] Lloh11: ldr x0, [x8] ret LBB0_3: Lloh12: adrp x0, l_.str@PAGE Lloh13: add x0, x0, l_.str@PAGEOFF ret LBB0_4: Lloh14: adrp x0, l_.str.1@PAGE Lloh15: add x0, x0, l_.str.1@PAGEOFF ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh14, Lloh15 .cfi_endproc ; -- End function .comm _ATHEROS_VENDOR_ID,8,3 ; @ATHEROS_VENDOR_ID .comm _AR9285_DEVID_PCIE,8,3 ; @AR9285_DEVID_PCIE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Atheros 9285" .comm _AR2427_DEVID_PCIE,8,3 ; @AR2427_DEVID_PCIE l_.str.1: ; @.str.1 .asciz "Atheros 2427" .comm _AH_NULL,8,3 ; @AH_NULL .no_dead_strip _ar9285Probe .subsections_via_symbols
AnghaBench/freebsd/sys/dev/ath/ath_hal/ar9002/extr_ar9285_attach.c_ar9285Probe.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _SetupEmulatedEnvironment ## -- Begin function SetupEmulatedEnvironment .p2align 4, 0x90 _SetupEmulatedEnvironment: ## @SetupEmulatedEnvironment .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _reprogram_VIDEL@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_2 ## %bb.1: movq _new_videoram@GOTPCREL(%rip), %rax movl (%rax), %edi movl %edi, %esi movl $-1, %edx movl $-1, %ecx callq _VsetScreen movq _mode336x240_videl_settings@GOTPCREL(%rip), %rax movq (%rax), %rax movq _p_str_p@GOTPCREL(%rip), %rcx movq %rax, (%rcx) movq _load_r@GOTPCREL(%rip), %rax movl (%rax), %edi callq _Supexec movq _new_videl_mode_valid@GOTPCREL(%rip), %rax movl $1, (%rax) LBB0_2: xorl %eax, %eax callq _set_new_colors movq _init_kb@GOTPCREL(%rip), %rax movl (%rax), %edi callq _Supexec movl $4, %edi movl $20, %esi popq %rbp jmp _Bconout ## TAILCALL .cfi_endproc ## -- End function .comm _reprogram_VIDEL,8,3 ## @reprogram_VIDEL .comm _new_videoram,4,2 ## @new_videoram .comm _mode336x240_videl_settings,8,3 ## @mode336x240_videl_settings .comm _p_str_p,8,3 ## @p_str_p .comm _load_r,4,2 ## @load_r .comm _new_videl_mode_valid,4,2 ## @new_videl_mode_valid .comm _init_kb,4,2 ## @init_kb .comm _Screen_HEIGHT,4,2 ## @Screen_HEIGHT .comm _Screen_WIDTH,4,2 ## @Screen_WIDTH .comm _Screen_atari_b,8,3 ## @Screen_atari_b .comm _delta_screen,8,3 ## @delta_screen .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _SetupEmulatedEnvironment ; -- Begin function SetupEmulatedEnvironment .p2align 2 _SetupEmulatedEnvironment: ; @SetupEmulatedEnvironment .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, _reprogram_VIDEL@GOTPAGE Lloh1: ldr x8, [x8, _reprogram_VIDEL@GOTPAGEOFF] Lloh2: ldr x8, [x8] cbz x8, LBB0_2 ; %bb.1: Lloh3: adrp x8, _new_videoram@GOTPAGE Lloh4: ldr x8, [x8, _new_videoram@GOTPAGEOFF] Lloh5: ldr w0, [x8] mov x1, x0 mov w2, #-1 mov w3, #-1 bl _VsetScreen Lloh6: adrp x8, _mode336x240_videl_settings@GOTPAGE Lloh7: ldr x8, [x8, _mode336x240_videl_settings@GOTPAGEOFF] Lloh8: ldr x8, [x8] Lloh9: adrp x9, _p_str_p@GOTPAGE Lloh10: ldr x9, [x9, _p_str_p@GOTPAGEOFF] Lloh11: str x8, [x9] Lloh12: adrp x8, _load_r@GOTPAGE Lloh13: ldr x8, [x8, _load_r@GOTPAGEOFF] Lloh14: ldr w0, [x8] bl _Supexec Lloh15: adrp x8, _new_videl_mode_valid@GOTPAGE Lloh16: ldr x8, [x8, _new_videl_mode_valid@GOTPAGEOFF] mov w9, #1 Lloh17: str w9, [x8] LBB0_2: bl _set_new_colors Lloh18: adrp x8, _init_kb@GOTPAGE Lloh19: ldr x8, [x8, _init_kb@GOTPAGEOFF] Lloh20: ldr w0, [x8] bl _Supexec mov w0, #4 mov w1, #20 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _Bconout .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotStr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotStr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .cfi_endproc ; -- End function .comm _reprogram_VIDEL,8,3 ; @reprogram_VIDEL .comm _new_videoram,4,2 ; @new_videoram .comm _mode336x240_videl_settings,8,3 ; @mode336x240_videl_settings .comm _p_str_p,8,3 ; @p_str_p .comm _load_r,4,2 ; @load_r .comm _new_videl_mode_valid,4,2 ; @new_videl_mode_valid .comm _init_kb,4,2 ; @init_kb .comm _Screen_HEIGHT,4,2 ; @Screen_HEIGHT .comm _Screen_WIDTH,4,2 ; @Screen_WIDTH .comm _Screen_atari_b,8,3 ; @Screen_atari_b .comm _delta_screen,8,3 ; @delta_screen .subsections_via_symbols
AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_atari_falcon.c_SetupEmulatedEnvironment.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function wm_mute_put _wm_mute_put: ## @wm_mute_put .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, -56(%rbp) ## 8-byte Spill movq %rdi, %rbx callq _snd_kcontrol_chip movq (%rax), %r13 movl (%rbx), %r14d movq %rax, -48(%rbp) ## 8-byte Spill movq %rax, %rdi callq _snd_ice1712_save_gpio_status xorl %r12d, %r12d cmpl $256, %r14d ## imm = 0x100 jl LBB0_7 ## %bb.1: movzbl %r14b, %ebx shrl $8, %r14d xorl %r15d, %r15d movq _WM_VOL_MUTE@GOTPCREL(%rip), %r8 xorl %r12d, %r12d jmp LBB0_2 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 orl %ecx, %edx movl %edx, (%rax,%rbx,4) movq 8(%r13), %rax movl (%rax,%r15,4), %ecx movq -48(%rbp), %rdi ## 8-byte Reload movl %ebx, %esi movq %r8, %r12 callq _wm_set_vol movq %r12, %r8 movl $1, %r12d LBB0_6: ## in Loop: Header=BB0_2 Depth=1 incq %r15 incq %rbx cmpq %r15, %r14 je LBB0_7 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq (%r13), %rax movl (%rax,%rbx,4), %ecx movl (%r8), %edx xorl %edi, %edi testl %ecx, %edx sete %dil movq -56(%rbp), %rsi ## 8-byte Reload movq (%rsi), %rsi cmpl %edi, (%rsi,%r15,4) je LBB0_6 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 notl %edx andl %edx, %ecx movl %ecx, (%rax,%rbx,4) xorl %edx, %edx cmpl $0, (%rsi,%r15,4) jne LBB0_5 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movl (%r8), %edx jmp LBB0_5 LBB0_7: movq -48(%rbp), %rdi ## 8-byte Reload callq _snd_ice1712_restore_gpio_status movl %r12d, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _WM_VOL_MUTE,4,2 ## @WM_VOL_MUTE .no_dead_strip _wm_mute_put .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function wm_mute_put _wm_mute_put: ; @wm_mute_put .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x20, x1 mov x21, x0 bl _snd_kcontrol_chip mov x19, x0 ldr x23, [x0] ldr w25, [x21] bl _snd_ice1712_save_gpio_status cmp w25, #256 b.lt LBB0_5 ; %bb.1: mov x24, #0 mov w22, #0 and x21, x25, #0xff ubfx x8, x25, #8, #24 ; kill: def $w8 killed $w8 killed $x8 def $x8 lsl x25, x8, #2 Lloh0: adrp x26, _WM_VOL_MUTE@GOTPAGE Lloh1: ldr x26, [x26, _WM_VOL_MUTE@GOTPAGEOFF] b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add x21, x21, #1 add x24, x24, #4 cmp x25, x24 b.eq LBB0_6 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x8, [x23] ldr w9, [x8, x21, lsl #2] ldr w11, [x26] tst w11, w9 cset w12, eq ldr x10, [x20] ldr w13, [x10, x24] cmp w13, w12 b.eq LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 bic w9, w9, w11 lsl x11, x21, #2 str w9, [x8, x11] ldr w10, [x10, x24] ldr w12, [x26] cmp w10, #0 csel w10, w12, wzr, eq orr w2, w10, w9 str w2, [x8, x11] ldr x8, [x23, #8] ldr w3, [x8, x24] mov x0, x19 mov x1, x21 bl _wm_set_vol mov w22, #1 b LBB0_2 LBB0_5: mov w22, #0 LBB0_6: mov x0, x19 bl _snd_ice1712_restore_gpio_status mov x0, x22 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _WM_VOL_MUTE,4,2 ; @WM_VOL_MUTE .no_dead_strip _wm_mute_put .subsections_via_symbols
AnghaBench/linux/sound/pci/ice1712/extr_phase.c_wm_mute_put.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _huffman_build_char_dictionary ## -- Begin function huffman_build_char_dictionary .p2align 4, 0x90 _huffman_build_char_dictionary: ## @huffman_build_char_dictionary .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r13 movq %rdi, %r14 xorps %xmm0, %xmm0 movaps %xmm0, _huffman_build_char_dictionary.code_cnt+112(%rip) movaps %xmm0, _huffman_build_char_dictionary.code_cnt+96(%rip) movaps %xmm0, _huffman_build_char_dictionary.code_cnt+80(%rip) movaps %xmm0, _huffman_build_char_dictionary.code_cnt+64(%rip) movaps %xmm0, _huffman_build_char_dictionary.code_cnt+48(%rip) movaps %xmm0, _huffman_build_char_dictionary.code_cnt+32(%rip) movaps %xmm0, _huffman_build_char_dictionary.code_cnt+16(%rip) movaps %xmm0, _huffman_build_char_dictionary.code_cnt(%rip) xorl %r12d, %r12d xorl %ebx, %ebx .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movq (%rsi,%r12,8), %rax cmpq $33, %rax jae LBB0_45 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq %rsi, %r15 movq (%r13,%r12,8), %rdi shrq $63, %rdi xorl $1, %edi ## kill: def $edi killed $edi killed $rdi callq _assert movq (%r15,%r12,8), %rax movq (%r13,%r12,8), %rcx imulq %rax, %rcx leaq _huffman_build_char_dictionary.code_cnt(%rip), %rdx incl (%rdx,%rax,4) addq %rcx, %rbx movq (%r14), %rcx movq %rax, (%rcx,%r12,8) movq (%r13,%r12,8), %rax movq 8(%r14), %rcx movq %rax, (%rcx,%r12,8) incq %r12 cmpq $256, %r12 ## imm = 0x100 movq %r15, %rsi jne LBB0_1 ## %bb.3: movq %rbx, -64(%rbp) ## 8-byte Spill movq 16(%r14), %r12 xorl %ebx, %ebx movl $-2147483648, -44(%rbp) ## 4-byte Folded Spill ## imm = 0x80000000 movl $1, %r15d movq %r14, -56(%rbp) ## 8-byte Spill jmp LBB0_4 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_4 Depth=1 shrl -44(%rbp) ## 4-byte Folded Spill incq %r15 cmpq $33, %r15 movq -56(%rbp), %r14 ## 8-byte Reload je LBB0_9 LBB0_4: ## =>This Loop Header: Depth=1 ## Child Loop BB0_5 Depth 2 movq 24(%r14), %rax movl %ebx, -4(%rax,%r15,4) movl %r15d, %ecx negb %cl movl %ebx, %eax shrl %cl, %eax shlq $2, %rax movq %r12, %rcx subq %rax, %rcx movq 32(%r14), %rax movq %rcx, -8(%rax,%r15,8) xorl %r14d, %r14d jmp LBB0_5 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_5 Depth=2 incq %r14 cmpq $256, %r14 ## imm = 0x100 je LBB0_8 LBB0_5: ## Parent Loop BB0_4 Depth=1 ## => This Inner Loop Header: Depth=2 cmpq %r15, (%rsi,%r14,8) jne LBB0_7 ## %bb.6: ## in Loop: Header=BB0_5 Depth=2 movl %r14d, (%r12) addq $4, %r12 movq -56(%rbp), %rax ## 8-byte Reload movq 40(%rax), %rax movl %ebx, (%rax,%r14,4) movl -44(%rbp), %eax ## 4-byte Reload addl %eax, %ebx cmpl %eax, %ebx setae %al testl %ebx, %ebx sete %cl orb %al, %cl movzbl %cl, %edi movq %rsi, %r13 callq _assert movq %r13, %rsi jmp LBB0_7 LBB0_9: xorl %edi, %edi testl %ebx, %ebx sete %dil callq _assert movq 24(%r14), %rax movl $32, %ecx cmpl $0, 124(%rax) jne LBB0_41 ## %bb.10: movl $31, %ecx cmpl $0, 120(%rax) jne LBB0_41 ## %bb.11: movl $30, %ecx cmpl $0, 116(%rax) jne LBB0_41 ## %bb.12: movl $29, %ecx cmpl $0, 112(%rax) jne LBB0_41 ## %bb.13: movl $28, %ecx cmpl $0, 108(%rax) jne LBB0_41 ## %bb.14: movl $27, %ecx cmpl $0, 104(%rax) jne LBB0_41 ## %bb.15: movl $26, %ecx cmpl $0, 100(%rax) jne LBB0_41 ## %bb.16: movl $25, %ecx cmpl $0, 96(%rax) jne LBB0_41 ## %bb.17: movl $24, %ecx cmpl $0, 92(%rax) jne LBB0_41 ## %bb.18: movl $23, %ecx cmpl $0, 88(%rax) jne LBB0_41 ## %bb.19: movl $22, %ecx cmpl $0, 84(%rax) jne LBB0_41 ## %bb.20: movl $21, %ecx cmpl $0, 80(%rax) jne LBB0_41 ## %bb.21: movl $20, %ecx cmpl $0, 76(%rax) jne LBB0_41 ## %bb.22: movl $19, %ecx cmpl $0, 72(%rax) jne LBB0_41 ## %bb.23: movl $18, %ecx cmpl $0, 68(%rax) jne LBB0_41 ## %bb.24: movl $17, %ecx cmpl $0, 64(%rax) jne LBB0_41 ## %bb.25: movl $16, %ecx cmpl $0, 60(%rax) jne LBB0_41 ## %bb.26: movl $15, %ecx cmpl $0, 56(%rax) jne LBB0_41 ## %bb.27: movl $14, %ecx cmpl $0, 52(%rax) jne LBB0_41 ## %bb.28: movl $13, %ecx cmpl $0, 48(%rax) jne LBB0_41 ## %bb.29: movl $12, %ecx cmpl $0, 44(%rax) jne LBB0_41 ## %bb.30: movl $11, %ecx cmpl $0, 40(%rax) jne LBB0_41 ## %bb.31: movl $10, %ecx cmpl $0, 36(%rax) jne LBB0_41 ## %bb.32: movl $9, %ecx cmpl $0, 32(%rax) jne LBB0_41 ## %bb.33: movl $8, %ecx cmpl $0, 28(%rax) jne LBB0_41 ## %bb.34: movl $7, %ecx cmpl $0, 24(%rax) jne LBB0_41 ## %bb.35: movl $6, %ecx cmpl $0, 20(%rax) jne LBB0_41 ## %bb.36: movl $5, %ecx cmpl $0, 16(%rax) jne LBB0_41 ## %bb.37: movl $4, %ecx cmpl $0, 12(%rax) jne LBB0_41 ## %bb.38: movl $3, %ecx cmpl $0, 8(%rax) jne LBB0_41 ## %bb.39: movl $2, %ecx cmpl $0, 4(%rax) jne LBB0_41 ## %bb.40: xorl %ecx, %ecx cmpl $0, (%rax) setne %cl LBB0_41: movl %ecx, 48(%r14) movq _verbosity@GOTPCREL(%rip), %rax cmpl $2, (%rax) jl LBB0_44 ## %bb.42: movq %r14, %r13 movq _stderr@GOTPCREL(%rip), %r14 movl $46, %r15d leaq L_.str.1(%rip), %r12 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_43: ## =>This Inner Loop Header: Depth=1 movl (%r14), %edi cmpq $32, %rbx movl %ebx, %eax cmovbl %r15d, %eax movq (%r13), %rcx movq 40(%r13), %rdx movl (%rdx,%rbx,4), %r8d movq (%rcx,%rbx,8), %r9 movsbl %al, %ecx movq %r12, %rsi movl %ebx, %edx xorl %eax, %eax callq _fprintf incq %rbx cmpq $256, %rbx ## imm = 0x100 jne LBB0_43 LBB0_44: movq -64(%rbp), %rax ## 8-byte Reload addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_45: movq _stderr@GOTPCREL(%rip), %rcx movl (%rcx), %edi movsbl %al, %ecx leaq L_.str(%rip), %rsi movl %r12d, %edx xorl %eax, %eax callq _fprintf movl $3, %edi callq _exit .cfi_endproc ## -- End function .zerofill __DATA,__bss,_huffman_build_char_dictionary.code_cnt,128,4 ## @huffman_build_char_dictionary.code_cnt .comm _stderr,4,2 ## @stderr .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "fatal: character %02x encoded with %lld > 32 bits\n" .comm _verbosity,4,2 ## @verbosity L_.str.1: ## @.str.1 .asciz "character %02x ('%c'): %08x:%d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _huffman_build_char_dictionary ; -- Begin function huffman_build_char_dictionary .p2align 2 _huffman_build_char_dictionary: ; @huffman_build_char_dictionary .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x23, x2 mov x21, x1 mov x20, x0 mov x22, #0 mov x19, #0 movi.2d v0, #0000000000000000 Lloh0: adrp x24, _huffman_build_char_dictionary.code_cnt@PAGE Lloh1: add x24, x24, _huffman_build_char_dictionary.code_cnt@PAGEOFF stp q0, q0, [x24, #96] stp q0, q0, [x24, #64] stp q0, q0, [x24, #32] stp q0, q0, [x24] LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [x21, x22, lsl #3] cmp x8, #33 b.hs LBB0_31 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 lsl x25, x22, #3 ldr x8, [x23, x25] lsr x8, x8, #63 eor w0, w8, #0x1 bl _assert ldr x8, [x21, x25] ldr x9, [x23, x25] madd x19, x9, x8, x19 lsl x9, x8, #2 ldr w10, [x24, x9] add w10, w10, #1 str w10, [x24, x9] ldp x9, x10, [x20] str x8, [x9, x25] ldr x8, [x23, x25] str x8, [x10, x25] add x22, x22, #1 cmp x22, #256 b.ne LBB0_1 ; %bb.3: mov w22, #0 ldr x23, [x20, #16] mov w24, #-2147483648 mov w25, #1 b LBB0_5 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 lsr w24, w24, #1 add x25, x25, #1 cmp x25, #33 b.eq LBB0_9 LBB0_5: ; =>This Loop Header: Depth=1 ; Child Loop BB0_7 Depth 2 mov x26, #0 sub x8, x25, #1 ldp x9, x10, [x20, #24] str w22, [x9, x8, lsl #2] neg w9, w25 lsr w9, w22, w9 sub x9, x23, w9, uxtw #2 str x9, [x10, x8, lsl #3] b LBB0_7 LBB0_6: ; in Loop: Header=BB0_7 Depth=2 add x26, x26, #1 cmp x26, #256 b.eq LBB0_4 LBB0_7: ; Parent Loop BB0_5 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x8, [x21, x26, lsl #3] cmp x8, x25 b.ne LBB0_6 ; %bb.8: ; in Loop: Header=BB0_7 Depth=2 str w26, [x23], #4 ldr x8, [x20, #40] str w22, [x8, x26, lsl #2] add w22, w22, w24 cmp w22, w24 ccmp w22, #0, #4, lo cset w0, eq bl _assert b LBB0_6 LBB0_9: cmp w22, #0 cset w0, eq bl _assert ldr x8, [x20, #24] ldr w9, [x8, #124] cbz w9, LBB0_11 ; %bb.10: mov w8, #32 b LBB0_73 LBB0_11: ldr w9, [x8, #120] cbz w9, LBB0_13 ; %bb.12: mov w8, #31 b LBB0_73 LBB0_13: ldr w9, [x8, #116] cbz w9, LBB0_15 ; %bb.14: mov w8, #30 b LBB0_73 LBB0_15: ldr w9, [x8, #112] cbz w9, LBB0_17 ; %bb.16: mov w8, #29 b LBB0_73 LBB0_17: ldr w9, [x8, #108] cbz w9, LBB0_19 ; %bb.18: mov w8, #28 b LBB0_73 LBB0_19: ldr w9, [x8, #104] cbz w9, LBB0_21 ; %bb.20: mov w8, #27 b LBB0_73 LBB0_21: ldr w9, [x8, #100] cbz w9, LBB0_23 ; %bb.22: mov w8, #26 b LBB0_73 LBB0_23: ldr w9, [x8, #96] cbz w9, LBB0_25 ; %bb.24: mov w8, #25 b LBB0_73 LBB0_25: ldr w9, [x8, #92] cbz w9, LBB0_27 ; %bb.26: mov w8, #24 b LBB0_73 LBB0_27: ldr w9, [x8, #88] cbz w9, LBB0_29 ; %bb.28: mov w8, #23 b LBB0_73 LBB0_29: ldr w9, [x8, #84] cbz w9, LBB0_32 ; %bb.30: mov w8, #22 b LBB0_73 LBB0_31: Lloh2: adrp x9, _stderr@GOTPAGE Lloh3: ldr x9, [x9, _stderr@GOTPAGEOFF] Lloh4: ldr w0, [x9] sxtb w3, w8 Lloh5: adrp x1, l_.str@PAGE Lloh6: add x1, x1, l_.str@PAGEOFF mov x2, x22 bl _fprintf mov w0, #3 bl _exit LBB0_32: ldr w9, [x8, #80] cbz w9, LBB0_34 ; %bb.33: mov w8, #21 b LBB0_73 LBB0_34: ldr w9, [x8, #76] cbz w9, LBB0_36 ; %bb.35: mov w8, #20 b LBB0_73 LBB0_36: ldr w9, [x8, #72] cbz w9, LBB0_38 ; %bb.37: mov w8, #19 b LBB0_73 LBB0_38: ldr w9, [x8, #68] cbz w9, LBB0_40 ; %bb.39: mov w8, #18 b LBB0_73 LBB0_40: ldr w9, [x8, #64] cbz w9, LBB0_42 ; %bb.41: mov w8, #17 b LBB0_73 LBB0_42: ldr w9, [x8, #60] cbz w9, LBB0_44 ; %bb.43: mov w8, #16 b LBB0_73 LBB0_44: ldr w9, [x8, #56] cbz w9, LBB0_46 ; %bb.45: mov w8, #15 b LBB0_73 LBB0_46: ldr w9, [x8, #52] cbz w9, LBB0_48 ; %bb.47: mov w8, #14 b LBB0_73 LBB0_48: ldr w9, [x8, #48] cbz w9, LBB0_50 ; %bb.49: mov w8, #13 b LBB0_73 LBB0_50: ldr w9, [x8, #44] cbz w9, LBB0_52 ; %bb.51: mov w8, #12 b LBB0_73 LBB0_52: ldr w9, [x8, #40] cbz w9, LBB0_54 ; %bb.53: mov w8, #11 b LBB0_73 LBB0_54: ldr w9, [x8, #36] cbz w9, LBB0_56 ; %bb.55: mov w8, #10 b LBB0_73 LBB0_56: ldr w9, [x8, #32] cbz w9, LBB0_58 ; %bb.57: mov w8, #9 b LBB0_73 LBB0_58: ldr w9, [x8, #28] cbz w9, LBB0_60 ; %bb.59: mov w8, #8 b LBB0_73 LBB0_60: ldr w9, [x8, #24] cbz w9, LBB0_62 ; %bb.61: mov w8, #7 b LBB0_73 LBB0_62: ldr w9, [x8, #20] cbz w9, LBB0_64 ; %bb.63: mov w8, #6 b LBB0_73 LBB0_64: ldr w9, [x8, #16] cbz w9, LBB0_66 ; %bb.65: mov w8, #5 b LBB0_73 LBB0_66: ldr w9, [x8, #12] cbz w9, LBB0_68 ; %bb.67: mov w8, #4 b LBB0_73 LBB0_68: ldr w9, [x8, #8] cbz w9, LBB0_70 ; %bb.69: mov w8, #3 b LBB0_73 LBB0_70: ldr w9, [x8, #4] cbz w9, LBB0_72 ; %bb.71: mov w8, #2 b LBB0_73 LBB0_72: ldr w8, [x8] cmp w8, #0 cset w8, ne LBB0_73: str w8, [x20, #48] Lloh7: adrp x8, _verbosity@GOTPAGE Lloh8: ldr x8, [x8, _verbosity@GOTPAGEOFF] Lloh9: ldr w8, [x8] cmp w8, #2 b.lt LBB0_76 ; %bb.74: mov x21, #0 Lloh10: adrp x23, _stderr@GOTPAGE Lloh11: ldr x23, [x23, _stderr@GOTPAGEOFF] mov w24, #46 Lloh12: adrp x22, l_.str.1@PAGE Lloh13: add x22, x22, l_.str.1@PAGEOFF LBB0_75: ; =>This Inner Loop Header: Depth=1 ldr w0, [x23] cmp x21, #32 csel w8, w24, w21, lo ldr x9, [x20, #40] ldr x10, [x20] ldr x10, [x10, x21, lsl #3] ldr w9, [x9, x21, lsl #2] stp x9, x10, [sp] sxtb w3, w8 mov x1, x22 mov x2, x21 bl _fprintf add x21, x21, #1 cmp x21, #256 b.ne LBB0_75 LBB0_76: mov x0, x19 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGot Lloh10, Lloh11 .cfi_endproc ; -- End function .zerofill __DATA,__bss,_huffman_build_char_dictionary.code_cnt,128,2 ; @huffman_build_char_dictionary.code_cnt .comm _stderr,4,2 ; @stderr .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "fatal: character %02x encoded with %lld > 32 bits\n" .comm _verbosity,4,2 ; @verbosity l_.str.1: ; @.str.1 .asciz "character %02x ('%c'): %08x:%d\n" .subsections_via_symbols
AnghaBench/kphp-kdb/text/extr_text-index.c_huffman_build_char_dictionary.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function set_ppgtt_barrier _set_ppgtt_barrier: ## @set_ppgtt_barrier .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movl (%rdi), %edi callq _INTEL_GEN cmpl $7, %eax jg LBB0_2 ## %bb.1: movq %rbx, %rdi callq _i915_vm_to_ppgtt movl %eax, %edi callq _gen6_ppgtt_unpin_all LBB0_2: movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _i915_vm_put ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _set_ppgtt_barrier .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function set_ppgtt_barrier _set_ppgtt_barrier: ; @set_ppgtt_barrier .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr w0, [x0] bl _INTEL_GEN cmp w0, #7 b.gt LBB0_2 ; %bb.1: mov x0, x19 bl _i915_vm_to_ppgtt bl _gen6_ppgtt_unpin_all LBB0_2: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _i915_vm_put .cfi_endproc ; -- End function .no_dead_strip _set_ppgtt_barrier .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/i915/gem/extr_i915_gem_context.c_set_ppgtt_barrier.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function status_get_digests_percent LCPI0_0: .quad 0x4059000000000000 ## double 100 .section __TEXT,__text,regular,pure_instructions .globl _status_get_digests_percent .p2align 4, 0x90 _status_get_digests_percent: ## @status_get_digests_percent .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rax movq (%rax), %rcx testq %rcx, %rcx je LBB0_1 ## %bb.2: cvtsi2sdq 8(%rax), %xmm0 cvtsi2sd %rcx, %xmm1 divsd %xmm1, %xmm0 mulsd LCPI0_0(%rip), %xmm0 popq %rbp retq LBB0_1: xorps %xmm0, %xmm0 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _status_get_digests_percent ; -- Begin function status_get_digests_percent .p2align 2 _status_get_digests_percent: ; @status_get_digests_percent .cfi_startproc ; %bb.0: ldr x9, [x0] ldr x8, [x9] cbz x8, LBB0_2 ; %bb.1: ldr d0, [x9, #8] scvtf d0, d0 scvtf d1, x8 fdiv d0, d0, d1 mov x8, #4636737291354636288 fmov d1, x8 fmul d0, d0, d1 ret LBB0_2: movi d0, #0000000000000000 ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/hashcat/src/extr_status.c_status_get_digests_percent.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function r_cmd_java_is_valid_java_mcf _r_cmd_java_is_valid_java_mcf: ## @r_cmd_java_is_valid_java_mcf .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp ## kill: def $edi killed $edi def $rdi xorl %eax, %eax leal -99(%rdi), %ecx cmpl $10, %ecx ja LBB0_3 ## %bb.1: movl $1033, %edx ## imm = 0x409 btl %ecx, %edx jae LBB0_3 ## %bb.2: movl %edi, %eax LBB0_3: movsbl %al, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _r_cmd_java_is_valid_java_mcf .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function r_cmd_java_is_valid_java_mcf _r_cmd_java_is_valid_java_mcf: ; @r_cmd_java_is_valid_java_mcf .cfi_startproc ; %bb.0: sub w8, w0, #99 mov w9, #1 lsl w9, w9, w8 mov w10, #1033 tst w9, w10 csel w9, w0, wzr, ne cmp w8, #10 csel w0, wzr, w9, hi ret .cfi_endproc ; -- End function .no_dead_strip _r_cmd_java_is_valid_java_mcf .subsections_via_symbols
AnghaBench/radare2/libr/core/p/extr_core_java.c_r_cmd_java_is_valid_java_mcf.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function vp702x_usb_inout_cmd _vp702x_usb_inout_cmd: ## @vp702x_usb_inout_cmd .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %r9d, %r12d movq %r8, -80(%rbp) ## 8-byte Spill movl %ecx, %r15d movq %rdx, -88(%rbp) ## 8-byte Spill movl %esi, -44(%rbp) ## 4-byte Spill movq %rdi, -96(%rbp) ## 8-byte Spill movq (%rdi), %r14 leal 2(%r15), %edi leal 1(%r12), %esi movl %edi, -52(%rbp) ## 4-byte Spill movl %esi, -48(%rbp) ## 4-byte Spill callq _max movl %eax, %r13d leaq 16(%r14), %rdi movq %rdi, -64(%rbp) ## 8-byte Spill callq _mutex_lock_interruptible testl %eax, %eax js LBB0_1 ## %bb.2: movq %r12, -72(%rbp) ## 8-byte Spill cmpl (%r14), %r13d jle LBB0_6 ## %bb.3: movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi movl %r13d, %edi callq _kmalloc testq %rax, %rax je LBB0_4 ## %bb.5: movq %rax, %r12 leaq L_.str(%rip), %rdi callq _info movq 8(%r14), %rdi callq _kfree movq %r12, 8(%r14) movl %r13d, (%r14) jmp LBB0_7 LBB0_1: movl %eax, %ebx jmp LBB0_10 LBB0_6: movq 8(%r14), %r12 LBB0_7: movl 16(%rbp), %ebx movl $0, (%r12) movl -44(%rbp), %eax ## 4-byte Reload movl %eax, 4(%r12) leaq 8(%r12), %rdi movq -88(%rbp), %rsi ## 8-byte Reload movl %r15d, %edx callq _memcpy movq -96(%rbp), %rdi ## 8-byte Reload movq %r12, %rsi movl -52(%rbp), %edx ## 4-byte Reload movq %r12, %rcx movl -48(%rbp), %r8d ## 4-byte Reload movl %ebx, %r9d callq _vp702x_usb_inout_op movl %eax, %ebx testl %eax, %eax jne LBB0_9 ## %bb.8: addq $4, %r12 movq -80(%rbp), %rdi ## 8-byte Reload movq %r12, %rsi movq -72(%rbp), %rdx ## 8-byte Reload ## kill: def $edx killed $edx killed $rdx callq _memcpy LBB0_9: movq -64(%rbp), %rdi ## 8-byte Reload callq _mutex_unlock jmp LBB0_10 LBB0_4: movq -64(%rbp), %rdi ## 8-byte Reload callq _mutex_unlock movq _ENOMEM@GOTPCREL(%rip), %rax xorl %ebx, %ebx subl (%rax), %ebx LBB0_10: movl %ebx, %eax addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "successfully reallocated a bigger buffer" .no_dead_strip _vp702x_usb_inout_cmd .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function vp702x_usb_inout_cmd _vp702x_usb_inout_cmd: ; @vp702x_usb_inout_cmd .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 str w6, [sp, #28] ; 4-byte Folded Spill mov x19, x5 stp x4, x2, [sp, #8] ; 16-byte Folded Spill mov x26, x3 mov x28, x1 mov x24, x0 ldr x27, [x0] add w25, w3, #2 add w23, w5, #1 mov x0, x25 mov x1, x23 bl _max mov x22, x0 add x21, x27, #16 mov x0, x21 bl _mutex_lock_interruptible tbnz w0, #31, LBB0_4 ; %bb.1: ldr w8, [x27] cmp w22, w8 b.le LBB0_5 ; %bb.2: Lloh0: adrp x8, _GFP_KERNEL@GOTPAGE Lloh1: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov x0, x22 bl _kmalloc cbz x0, LBB0_9 ; %bb.3: mov x20, x0 Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _info ldr x0, [x27, #8] bl _kfree str x20, [x27, #8] str w22, [x27] b LBB0_6 LBB0_4: mov x20, x0 b LBB0_10 LBB0_5: ldr x20, [x27, #8] LBB0_6: mov x0, x20 str wzr, [x0], #8 mov x22, x20 str w28, [x22, #4]! ldr x1, [sp, #16] ; 8-byte Folded Reload mov x2, x26 bl _memcpy mov x0, x24 mov x1, x20 mov x2, x25 mov x3, x20 mov x4, x23 ldr w5, [sp, #28] ; 4-byte Folded Reload bl _vp702x_usb_inout_op mov x20, x0 cbnz w0, LBB0_8 ; %bb.7: ldr x0, [sp, #8] ; 8-byte Folded Reload mov x1, x22 mov x2, x19 bl _memcpy LBB0_8: mov x0, x21 bl _mutex_unlock b LBB0_10 LBB0_9: mov x0, x21 bl _mutex_unlock Lloh5: adrp x8, _ENOMEM@GOTPAGE Lloh6: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh7: ldr w8, [x8] neg w20, w8 LBB0_10: mov x0, x20 ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "successfully reallocated a bigger buffer" .no_dead_strip _vp702x_usb_inout_cmd .subsections_via_symbols
AnghaBench/linux/drivers/media/usb/dvb-usb/extr_vp702x.c_vp702x_usb_inout_cmd.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function max8998_ldo_disable _max8998_ldo_disable: ## @max8998_ldo_disable .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx callq _rdev_get_drvdata movq (%rax), %rax movq (%rax), %r14 movl $8, -20(%rbp) leaq -24(%rbp), %rsi leaq -20(%rbp), %rdx movq %rbx, %rdi callq _max8998_get_enable_register testl %eax, %eax jne LBB0_2 ## %bb.1: movl -24(%rbp), %esi movb -20(%rbp), %cl movl $1, %eax shll %cl, %eax movq %r14, %rdi xorl %edx, %edx movl %eax, %ecx callq _max8998_update_reg LBB0_2: addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _max8998_ldo_disable .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function max8998_ldo_disable _max8998_ldo_disable: ; @max8998_ldo_disable .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x0 bl _rdev_get_drvdata ldr x8, [x0] ldr x19, [x8] mov w8, #8 str w8, [sp, #8] add x1, sp, #12 add x2, sp, #8 mov x0, x20 bl _max8998_get_enable_register cbnz w0, LBB0_2 ; %bb.1: ldp w8, w1, [sp, #8] mov w9, #1 lsl w3, w9, w8 mov x0, x19 mov w2, #0 bl _max8998_update_reg LBB0_2: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .no_dead_strip _max8998_ldo_disable .subsections_via_symbols
AnghaBench/linux/drivers/regulator/extr_max8998.c_max8998_ldo_disable.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r12 movl %edi, %ebx movq _DFLPORT@GOTPCREL(%rip), %rax movzwl (%rax), %r15d leaq L_str(%rip), %rdi callq _puts cmpl $1, %ebx jg LBB0_1 ## %bb.7: movq (%r12), %rsi leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf movl $1, %edi callq _exit LBB0_1: movq 8(%r12), %r14 leaq L_.str.2(%rip), %rsi movq %r14, %rdi callq _strcmp movl %eax, %r13d cmpl $2, %ebx je LBB0_3 ## %bb.2: movq 16(%r12), %rdi callq _atoi movl %eax, %r15d LBB0_3: testl %r13d, %r13d jne LBB0_5 ## %bb.4: movzwl %r15w, %edi callq _netris_bind movq %rax, %r14 jmp LBB0_6 LBB0_5: movzwl %r15w, %esi movq %r14, %rdi callq _netris_connect LBB0_6: movl $1, %edi callq _sleep movq %r14, %rdi movl $45295, %esi ## imm = 0xB0EF callq _getshell xorl %edi, %edi callq _exit .cfi_endproc ## -- End function .comm _DFLPORT,2,1 ## @DFLPORT .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "[!] syntax: %s <host|-b> [port]\n" L_.str.2: ## @.str.2 .asciz "-b" L_str: ## @str .asciz "[*] netris[v0.5-]: client/server remote buffer overflow exploit.\n[*] by: vade79/v9 v9@fakehalo.deadpig.org (fakehalo)\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x21, x1 mov x22, x0 Lloh0: adrp x8, _DFLPORT@GOTPAGE Lloh1: ldr x8, [x8, _DFLPORT@GOTPAGEOFF] ldrh w20, [x8] Lloh2: adrp x0, l_str@PAGE Lloh3: add x0, x0, l_str@PAGEOFF bl _puts cmp w22, #1 b.gt LBB0_2 ; %bb.1: ldr x8, [x21] str x8, [sp] Lloh4: adrp x0, l_.str.1@PAGE Lloh5: add x0, x0, l_.str.1@PAGEOFF bl _printf mov w0, #1 bl _exit LBB0_2: ldr x19, [x21, #8] Lloh6: adrp x1, l_.str.2@PAGE Lloh7: add x1, x1, l_.str.2@PAGEOFF mov x0, x19 bl _strcmp mov x23, x0 cmp w22, #2 b.eq LBB0_4 ; %bb.3: ldr x0, [x21, #16] bl _atoi mov x20, x0 LBB0_4: cbnz w23, LBB0_6 ; %bb.5: mov x0, x20 bl _netris_bind mov x19, x0 b LBB0_7 LBB0_6: mov x0, x19 mov x1, x20 bl _netris_connect LBB0_7: mov w0, #1 bl _sleep mov x0, x19 mov w1, #45295 bl _getshell mov w0, #0 bl _exit .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _DFLPORT,2,1 ; @DFLPORT .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "[!] syntax: %s <host|-b> [port]\n" l_.str.2: ; @.str.2 .asciz "-b" l_str: ; @str .asciz "[*] netris[v0.5-]: client/server remote buffer overflow exploit.\n[*] by: vade79/v9 v9@fakehalo.deadpig.org (fakehalo)\n" .subsections_via_symbols
AnghaBench/exploitdb/exploits/linux/remote/extr_21784.c_main.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function b43_phy_ht_afe_unk1 _b43_phy_ht_afe_unk1: ## @b43_phy_ht_afe_unk1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx xorl %esi, %esi movl $4, %edx callq _b43_phy_set movabsq $571230650500, %r14 ## imm = 0x8500000084 movq %rbx, %rdi movq %r14, %rsi movl $4, %edx callq _b43_phy_set movq %rbx, %rdi xorl %esi, %esi movl $-2, %edx callq _b43_phy_mask movq %rbx, %rdi movq %r14, %rsi movl $1, %edx callq _b43_phy_set movl $8, %edi movl $5, %esi callq _B43_HTTAB16 movq %rbx, %rdi movl %eax, %esi xorl %edx, %edx callq _b43_httab_write movq %rbx, %rdi movq %r14, %rsi movl $-5, %edx callq _b43_phy_mask movq %rbx, %rdi xorl %esi, %esi movl $4, %edx callq _b43_phy_set movabsq $562640715906, %r14 ## imm = 0x8300000082 movq %rbx, %rdi movq %r14, %rsi movl $4, %edx callq _b43_phy_set movq %rbx, %rdi xorl %esi, %esi movl $-2, %edx callq _b43_phy_mask movq %rbx, %rdi movq %r14, %rsi movl $1, %edx callq _b43_phy_set movl $8, %edi movl $21, %esi callq _B43_HTTAB16 movq %rbx, %rdi movl %eax, %esi xorl %edx, %edx callq _b43_httab_write movq %rbx, %rdi movq %r14, %rsi movl $-5, %edx callq _b43_phy_mask movq %rbx, %rdi xorl %esi, %esi movl $4, %edx callq _b43_phy_set movabsq $554050781312, %r14 ## imm = 0x8100000080 movq %rbx, %rdi movq %r14, %rsi movl $4, %edx callq _b43_phy_set movq %rbx, %rdi xorl %esi, %esi movl $-2, %edx callq _b43_phy_mask movq %rbx, %rdi movq %r14, %rsi movl $1, %edx callq _b43_phy_set movl $8, %edi movl $37, %esi callq _B43_HTTAB16 movq %rbx, %rdi movl %eax, %esi xorl %edx, %edx callq _b43_httab_write movq %rbx, %rdi movq %r14, %rsi movl $-5, %edx popq %rbx popq %r14 popq %rbp jmp _b43_phy_mask ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _b43_phy_ht_afe_unk1 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function b43_phy_ht_afe_unk1 _b43_phy_ht_afe_unk1: ; @b43_phy_ht_afe_unk1 .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 mov x1, #0 mov w2, #4 bl _b43_phy_set mov x0, x19 mov x1, #132 movk x1, #133, lsl #32 mov w2, #4 bl _b43_phy_set mov x0, x19 mov x1, #0 mov w2, #-2 bl _b43_phy_mask mov x0, x19 mov x1, #132 movk x1, #133, lsl #32 mov w2, #1 bl _b43_phy_set mov w0, #8 mov w1, #5 bl _B43_HTTAB16 mov x1, x0 mov x0, x19 mov w2, #0 bl _b43_httab_write mov x0, x19 mov x1, #132 movk x1, #133, lsl #32 mov w2, #-5 bl _b43_phy_mask mov x0, x19 mov x1, #0 mov w2, #4 bl _b43_phy_set mov x0, x19 mov x1, #130 movk x1, #131, lsl #32 mov w2, #4 bl _b43_phy_set mov x0, x19 mov x1, #0 mov w2, #-2 bl _b43_phy_mask mov x0, x19 mov x1, #130 movk x1, #131, lsl #32 mov w2, #1 bl _b43_phy_set mov w0, #8 mov w1, #21 bl _B43_HTTAB16 mov x1, x0 mov x0, x19 mov w2, #0 bl _b43_httab_write mov x0, x19 mov x1, #130 movk x1, #131, lsl #32 mov w2, #-5 bl _b43_phy_mask mov x0, x19 mov x1, #0 mov w2, #4 bl _b43_phy_set mov x0, x19 mov x1, #128 movk x1, #129, lsl #32 mov w2, #4 bl _b43_phy_set mov x0, x19 mov x1, #0 mov w2, #-2 bl _b43_phy_mask mov x0, x19 mov x1, #128 movk x1, #129, lsl #32 mov w2, #1 bl _b43_phy_set mov w0, #8 mov w1, #37 bl _B43_HTTAB16 mov x1, x0 mov x0, x19 mov w2, #0 bl _b43_httab_write mov x0, x19 mov x1, #128 movk x1, #129, lsl #32 mov w2, #-5 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _b43_phy_mask .cfi_endproc ; -- End function .no_dead_strip _b43_phy_ht_afe_unk1 .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_phy_ht.c_b43_phy_ht_afe_unk1.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function invalidate_from_clobbers _invalidate_from_clobbers: ## @invalidate_from_clobbers .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 callq _GET_CODE movq _CLOBBER@GOTPCREL(%rip), %r13 cmpq (%r13), %rax jne LBB0_10 ## %bb.1: movq %r14, %rdi xorl %esi, %esi callq _XEXP testq %rax, %rax je LBB0_23 ## %bb.2: movq %rax, %rbx movq %rax, %rdi callq _REG_P testq %rax, %rax jne LBB0_5 ## %bb.3: movq %rbx, %rdi callq _GET_CODE movq _SUBREG@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_5 ## %bb.4: movq %rbx, %rdi callq _MEM_P testq %rax, %rax je LBB0_7 LBB0_5: movq _VOIDmode@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi LBB0_6: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _invalidate ## TAILCALL LBB0_10: movq %r14, %rdi callq _GET_CODE movq _PARALLEL@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_23 ## %bb.11: movq %r14, %rdi xorl %esi, %esi callq _XVECLEN testl %eax, %eax jle LBB0_23 ## %bb.12: movl %eax, %r12d incl %r12d jmp LBB0_13 .p2align 4, 0x90 LBB0_17: ## in Loop: Header=BB0_13 Depth=1 movq _VOIDmode@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r15, %rdi LBB0_21: ## in Loop: Header=BB0_13 Depth=1 callq _invalidate LBB0_22: ## in Loop: Header=BB0_13 Depth=1 decl %r12d cmpl $1, %r12d jbe LBB0_23 LBB0_13: ## =>This Inner Loop Header: Depth=1 leal -2(%r12), %edx movq %r14, %rdi xorl %esi, %esi callq _XVECEXP movq %rax, %rbx movq %rax, %rdi callq _GET_CODE cmpq (%r13), %rax jne LBB0_22 ## %bb.14: ## in Loop: Header=BB0_13 Depth=1 movq %rbx, %rdi xorl %esi, %esi callq _XEXP movq %rax, %r15 movq %rax, %rdi callq _REG_P testq %rax, %rax jne LBB0_17 ## %bb.15: ## in Loop: Header=BB0_13 Depth=1 movq %r15, %rdi callq _GET_CODE movq _SUBREG@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_17 ## %bb.16: ## in Loop: Header=BB0_13 Depth=1 movq %r15, %rdi callq _MEM_P testq %rax, %rax jne LBB0_17 ## %bb.18: ## in Loop: Header=BB0_13 Depth=1 movq %r15, %rdi callq _GET_CODE movq _STRICT_LOW_PART@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_20 ## %bb.19: ## in Loop: Header=BB0_13 Depth=1 movq %r15, %rdi callq _GET_CODE movq _ZERO_EXTRACT@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_22 LBB0_20: ## in Loop: Header=BB0_13 Depth=1 movq %r15, %rdi xorl %esi, %esi callq _XEXP movq %rax, %rbx movq %r15, %rdi callq _GET_MODE movq %rbx, %rdi movl %eax, %esi jmp LBB0_21 LBB0_7: movq %rbx, %rdi callq _GET_CODE movq _STRICT_LOW_PART@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_9 ## %bb.8: movq %rbx, %rdi callq _GET_CODE movq _ZERO_EXTRACT@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_23 LBB0_9: movq %rbx, %rdi xorl %esi, %esi callq _XEXP movq %rax, %r14 movq %rbx, %rdi callq _GET_MODE movq %r14, %rdi movl %eax, %esi jmp LBB0_6 LBB0_23: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _CLOBBER,8,3 ## @CLOBBER .comm _SUBREG,8,3 ## @SUBREG .comm _VOIDmode,4,2 ## @VOIDmode .comm _STRICT_LOW_PART,8,3 ## @STRICT_LOW_PART .comm _ZERO_EXTRACT,8,3 ## @ZERO_EXTRACT .comm _PARALLEL,8,3 ## @PARALLEL .no_dead_strip _invalidate_from_clobbers .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function invalidate_from_clobbers _invalidate_from_clobbers: ; @invalidate_from_clobbers .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x0 bl _GET_CODE Lloh0: adrp x22, _CLOBBER@GOTPAGE Lloh1: ldr x22, [x22, _CLOBBER@GOTPAGEOFF] ldr x8, [x22] cmp x0, x8 b.ne LBB0_7 ; %bb.1: mov x0, x19 mov w1, #0 bl _XEXP cbz x0, LBB0_23 ; %bb.2: mov x19, x0 bl _REG_P cbnz x0, LBB0_5 ; %bb.3: mov x0, x19 bl _GET_CODE Lloh2: adrp x8, _SUBREG@GOTPAGE Lloh3: ldr x8, [x8, _SUBREG@GOTPAGEOFF] Lloh4: ldr x8, [x8] cmp x0, x8 b.eq LBB0_5 ; %bb.4: mov x0, x19 bl _MEM_P cbz x0, LBB0_20 LBB0_5: Lloh5: adrp x8, _VOIDmode@GOTPAGE Lloh6: ldr x8, [x8, _VOIDmode@GOTPAGEOFF] Lloh7: ldr w1, [x8] mov x0, x19 LBB0_6: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload b _invalidate LBB0_7: mov x0, x19 bl _GET_CODE Lloh8: adrp x8, _PARALLEL@GOTPAGE Lloh9: ldr x8, [x8, _PARALLEL@GOTPAGEOFF] Lloh10: ldr x8, [x8] cmp x0, x8 b.ne LBB0_23 ; %bb.8: mov x0, x19 mov w1, #0 bl _XVECLEN cmp w0, #1 b.lt LBB0_23 ; %bb.9: add w23, w0, #1 Lloh11: adrp x24, _SUBREG@GOTPAGE Lloh12: ldr x24, [x24, _SUBREG@GOTPAGEOFF] Lloh13: adrp x25, _STRICT_LOW_PART@GOTPAGE Lloh14: ldr x25, [x25, _STRICT_LOW_PART@GOTPAGEOFF] Lloh15: adrp x26, _ZERO_EXTRACT@GOTPAGE Lloh16: ldr x26, [x26, _ZERO_EXTRACT@GOTPAGEOFF] Lloh17: adrp x27, _VOIDmode@GOTPAGE Lloh18: ldr x27, [x27, _VOIDmode@GOTPAGEOFF] b LBB0_13 LBB0_10: ; in Loop: Header=BB0_13 Depth=1 ldr w1, [x27] mov x0, x20 LBB0_11: ; in Loop: Header=BB0_13 Depth=1 bl _invalidate LBB0_12: ; in Loop: Header=BB0_13 Depth=1 sub w23, w23, #1 cmp w23, #1 b.ls LBB0_23 LBB0_13: ; =>This Inner Loop Header: Depth=1 sub w2, w23, #2 mov x0, x19 mov w1, #0 bl _XVECEXP mov x20, x0 bl _GET_CODE ldr x8, [x22] cmp x0, x8 b.ne LBB0_12 ; %bb.14: ; in Loop: Header=BB0_13 Depth=1 mov x0, x20 mov w1, #0 bl _XEXP mov x20, x0 bl _REG_P cbnz x0, LBB0_10 ; %bb.15: ; in Loop: Header=BB0_13 Depth=1 mov x0, x20 bl _GET_CODE ldr x8, [x24] cmp x0, x8 b.eq LBB0_10 ; %bb.16: ; in Loop: Header=BB0_13 Depth=1 mov x0, x20 bl _MEM_P cbnz x0, LBB0_10 ; %bb.17: ; in Loop: Header=BB0_13 Depth=1 mov x0, x20 bl _GET_CODE ldr x8, [x25] cmp x0, x8 b.eq LBB0_19 ; %bb.18: ; in Loop: Header=BB0_13 Depth=1 mov x0, x20 bl _GET_CODE ldr x8, [x26] cmp x0, x8 b.ne LBB0_12 LBB0_19: ; in Loop: Header=BB0_13 Depth=1 mov x0, x20 mov w1, #0 bl _XEXP mov x21, x0 mov x0, x20 bl _GET_MODE mov x1, x0 mov x0, x21 b LBB0_11 LBB0_20: mov x0, x19 bl _GET_CODE Lloh19: adrp x8, _STRICT_LOW_PART@GOTPAGE Lloh20: ldr x8, [x8, _STRICT_LOW_PART@GOTPAGEOFF] Lloh21: ldr x8, [x8] cmp x0, x8 b.eq LBB0_22 ; %bb.21: mov x0, x19 bl _GET_CODE Lloh22: adrp x8, _ZERO_EXTRACT@GOTPAGE Lloh23: ldr x8, [x8, _ZERO_EXTRACT@GOTPAGEOFF] Lloh24: ldr x8, [x8] cmp x0, x8 b.ne LBB0_23 LBB0_22: mov x0, x19 mov w1, #0 bl _XEXP mov x20, x0 mov x0, x19 bl _GET_MODE mov x1, x0 mov x0, x20 b LBB0_6 LBB0_23: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .cfi_endproc ; -- End function .comm _CLOBBER,8,3 ; @CLOBBER .comm _SUBREG,8,3 ; @SUBREG .comm _VOIDmode,4,2 ; @VOIDmode .comm _STRICT_LOW_PART,8,3 ; @STRICT_LOW_PART .comm _ZERO_EXTRACT,8,3 ; @ZERO_EXTRACT .comm _PARALLEL,8,3 ; @PARALLEL .no_dead_strip _invalidate_from_clobbers .subsections_via_symbols
AnghaBench/freebsd/contrib/gcc/extr_cse.c_invalidate_from_clobbers.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _i810_probe_i2c_connector ## -- Begin function i810_probe_i2c_connector .p2align 4, 0x90 _i810_probe_i2c_connector: ## @i810_probe_i2c_connector .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %ebx movq %rsi, %r14 movq %rdi, %r15 movq 8(%rdi), %r12 leal 1(%rbx), %esi leaq L_.str(%rip), %rdi xorl %eax, %eax callq _DPRINTK cmpl %ebx, (%r12) jle LBB0_2 ## %bb.1: movslq %ebx, %rdi shlq $2, %rdi addq 8(%r12), %rdi callq _fb_ddc_read jmp LBB0_5 LBB0_2: movl (%r15), %edi callq _fb_firmware_edid testq %rax, %rax je LBB0_3 ## %bb.4: movq %rax, %rbx leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _DPRINTK movq _EDID_LENGTH@GOTPCREL(%rip), %rax movl (%rax), %esi movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %edx movq %rbx, %rdi callq _kmemdup jmp LBB0_5 LBB0_3: xorl %eax, %eax LBB0_5: movq %rax, (%r14) xorl %ecx, %ecx testq %rax, %rax sete %cl movl %ecx, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "i810-i2c: Probe DDC%i Bus\n" L_.str.1: ## @.str.1 .asciz "i810-i2c: Getting EDID from BIOS\n" .comm _EDID_LENGTH,4,2 ## @EDID_LENGTH .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _i810_probe_i2c_connector ; -- Begin function i810_probe_i2c_connector .p2align 2 _i810_probe_i2c_connector: ; @i810_probe_i2c_connector .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x2 mov x19, x1 mov x21, x0 ldr x22, [x0, #8] add w8, w2, #1 str x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _DPRINTK ldr w8, [x22] cmp w8, w20 b.le LBB0_2 ; %bb.1: ldr x8, [x22, #8] add x0, x8, w20, sxtw #2 bl _fb_ddc_read b LBB0_4 LBB0_2: ldr w0, [x21] bl _fb_firmware_edid cbz x0, LBB0_4 ; %bb.3: mov x20, x0 Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _DPRINTK Lloh4: adrp x8, _EDID_LENGTH@GOTPAGE Lloh5: ldr x8, [x8, _EDID_LENGTH@GOTPAGEOFF] Lloh6: ldr w1, [x8] Lloh7: adrp x8, _GFP_KERNEL@GOTPAGE Lloh8: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh9: ldr w2, [x8] mov x0, x20 bl _kmemdup LBB0_4: str x0, [x19] cmp x0, #0 cset w0, eq ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "i810-i2c: Probe DDC%i Bus\n" l_.str.1: ; @.str.1 .asciz "i810-i2c: Getting EDID from BIOS\n" .comm _EDID_LENGTH,4,2 ; @EDID_LENGTH .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .subsections_via_symbols
AnghaBench/linux/drivers/video/fbdev/i810/extr_i810-i2c.c_i810_probe_i2c_connector.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mlx4_bitmap_alloc_range ## -- Begin function mlx4_bitmap_alloc_range .p2align 4, 0x90 _mlx4_bitmap_alloc_range: ## @mlx4_bitmap_alloc_range .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r12d movl %edx, %r13d movl %esi, %r14d movq %rdi, %rbx movl %esi, %eax xorl $1, %eax movl %edx, %ecx xorl $1, %ecx orl %eax, %ecx xorl %edi, %edi orl %r12d, %ecx sete %dil callq _likely testq %rax, %rax je LBB0_1 ## %bb.11: movq %rbx, %rdi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _mlx4_bitmap_alloc ## TAILCALL LBB0_1: leaq 24(%rbx), %rdi movq %rdi, -48(%rbp) ## 8-byte Spill callq _spin_lock movl 28(%rbx), %edi movl (%rbx), %esi movl 4(%rbx), %edx movl %r14d, %ecx movl %r13d, %r8d movl %r12d, %r9d callq _find_aligned_range movl 4(%rbx), %edx cmpl %edx, %eax jge LBB0_3 ## %bb.2: movl %eax, %r15d jmp LBB0_4 LBB0_3: movl 8(%rbx), %eax addl %edx, %eax addl 12(%rbx), %eax andl 16(%rbx), %eax movl %eax, 8(%rbx) movl 28(%rbx), %edi xorl %esi, %esi movl %r14d, %ecx movl %r13d, %r8d movl %r12d, %r9d callq _find_aligned_range movl %eax, %r15d movl 4(%rbx), %edx LBB0_4: movl $-1, %r12d cmpl %edx, %r15d jge LBB0_5 ## %bb.6: movl 28(%rbx), %edi movl %r15d, %esi movl %r14d, %edx callq _bitmap_set cmpl (%rbx), %r15d jne LBB0_8 ## %bb.7: leal (%r15,%r14), %eax xorl %ecx, %ecx cmpl 4(%rbx), %eax cmovll %eax, %ecx movl %ecx, (%rbx) LBB0_8: orl 8(%rbx), %r15d cmpl $-1, %r15d movq -48(%rbp), %rdi ## 8-byte Reload je LBB0_10 ## %bb.9: subl %r14d, 20(%rbx) movl %r15d, %r12d jmp LBB0_10 LBB0_5: movq -48(%rbp), %rdi ## 8-byte Reload LBB0_10: callq _spin_unlock movl %r12d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mlx4_bitmap_alloc_range ; -- Begin function mlx4_bitmap_alloc_range .p2align 2 _mlx4_bitmap_alloc_range: ; @mlx4_bitmap_alloc_range .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x22, x3 mov x23, x2 mov x21, x1 mov x20, x0 cmp w1, #1 ccmp w2, #1, #0, eq ccmp w3, #0, #0, eq cset w0, eq bl _likely cbz x0, LBB0_2 ; %bb.1: mov x0, x20 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _mlx4_bitmap_alloc LBB0_2: add x19, x20, #24 mov x0, x19 bl _spin_lock ldr w0, [x20, #28] ldp w1, w2, [x20] mov x3, x21 mov x4, x23 mov x5, x22 bl _find_aligned_range ldr w2, [x20, #4] cmp w0, w2 b.ge LBB0_5 ; %bb.3: mov x24, x0 cmp w24, w2 b.lt LBB0_6 LBB0_4: mov w22, #-1 b LBB0_10 LBB0_5: ldp w8, w9, [x20, #8] add w8, w8, w2 add w8, w8, w9 ldr w9, [x20, #16] and w8, w8, w9 str w8, [x20, #8] ldr w0, [x20, #28] mov w1, #0 mov x3, x21 mov x4, x23 mov x5, x22 bl _find_aligned_range mov x24, x0 ldr w2, [x20, #4] cmp w24, w2 b.ge LBB0_4 LBB0_6: ldr w0, [x20, #28] mov x1, x24 mov x2, x21 bl _bitmap_set ldr w8, [x20] cmp w24, w8 b.ne LBB0_8 ; %bb.7: ldr w8, [x20, #4] add w9, w24, w21 cmp w9, w8 csel w8, w9, wzr, lt str w8, [x20] LBB0_8: ldr w8, [x20, #8] orr w22, w8, w24 cmn w22, #1 b.eq LBB0_10 ; %bb.9: ldr w8, [x20, #20] sub w8, w8, w21 str w8, [x20, #20] LBB0_10: mov x0, x19 bl _spin_unlock mov x0, x22 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_alloc.c_mlx4_bitmap_alloc_range.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _services_compute_xperms_drivers ## -- Begin function services_compute_xperms_drivers .p2align 4, 0x90 _services_compute_xperms_drivers: ## @services_compute_xperms_drivers .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movq %rdi, %r14 movq 8(%rsi), %rax movq (%rax), %rcx movq _AVTAB_XPERMS_IOCTLDRIVER@GOTPCREL(%rip), %rdx cmpq (%rdx), %rcx jne LBB0_4 ## %bb.1: movq 8(%r14), %rdi callq _ARRAY_SIZE testl %eax, %eax je LBB0_6 ## %bb.2: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq 8(%r15), %rax movq 16(%rax), %rax movl (%rax,%rbx,4), %eax movq 8(%r14), %rdi orl %eax, (%rdi,%rbx,4) incq %rbx callq _ARRAY_SIZE movl %eax, %eax cmpq %rax, %rbx jb LBB0_3 jmp LBB0_6 LBB0_4: movq _AVTAB_XPERMS_IOCTLFUNCTION@GOTPCREL(%rip), %rdx cmpq (%rdx), %rcx jne LBB0_6 ## %bb.5: movq 8(%r14), %rdi movl 8(%rax), %esi callq _security_xperm_set LBB0_6: movq _AVTAB_XPERMS_ALLOWED@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, (%r15) je LBB0_8 ## %bb.7: movl $1, (%r14) LBB0_8: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _AVTAB_XPERMS_IOCTLDRIVER,8,3 ## @AVTAB_XPERMS_IOCTLDRIVER .comm _AVTAB_XPERMS_IOCTLFUNCTION,8,3 ## @AVTAB_XPERMS_IOCTLFUNCTION .comm _AVTAB_XPERMS_ALLOWED,4,2 ## @AVTAB_XPERMS_ALLOWED .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _services_compute_xperms_drivers ; -- Begin function services_compute_xperms_drivers .p2align 2 _services_compute_xperms_drivers: ; @services_compute_xperms_drivers .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x19, x0 ldr x8, [x1, #8] ldr x9, [x8] Lloh0: adrp x10, _AVTAB_XPERMS_IOCTLDRIVER@GOTPAGE Lloh1: ldr x10, [x10, _AVTAB_XPERMS_IOCTLDRIVER@GOTPAGEOFF] Lloh2: ldr x10, [x10] cmp x9, x10 b.ne LBB0_4 ; %bb.1: ldr x0, [x19, #8] bl _ARRAY_SIZE cbz w0, LBB0_6 ; %bb.2: mov x21, #0 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x8, [x20, #8] ldr x8, [x8, #16] lsl x9, x21, #2 ldr w8, [x8, x9] ldr x0, [x19, #8] ldr w10, [x0, x9] orr w8, w10, w8 str w8, [x0, x9] add x21, x21, #1 bl _ARRAY_SIZE cmp x21, w0, uxtw b.lo LBB0_3 b LBB0_6 LBB0_4: Lloh3: adrp x10, _AVTAB_XPERMS_IOCTLFUNCTION@GOTPAGE Lloh4: ldr x10, [x10, _AVTAB_XPERMS_IOCTLFUNCTION@GOTPAGEOFF] Lloh5: ldr x10, [x10] cmp x9, x10 b.ne LBB0_6 ; %bb.5: ldr x0, [x19, #8] ldr w1, [x8, #8] bl _security_xperm_set LBB0_6: ldr w8, [x20] Lloh6: adrp x9, _AVTAB_XPERMS_ALLOWED@GOTPAGE Lloh7: ldr x9, [x9, _AVTAB_XPERMS_ALLOWED@GOTPAGEOFF] Lloh8: ldr w9, [x9] tst w9, w8 b.eq LBB0_8 ; %bb.7: mov w8, #1 str w8, [x19] LBB0_8: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _AVTAB_XPERMS_IOCTLDRIVER,8,3 ; @AVTAB_XPERMS_IOCTLDRIVER .comm _AVTAB_XPERMS_IOCTLFUNCTION,8,3 ; @AVTAB_XPERMS_IOCTLFUNCTION .comm _AVTAB_XPERMS_ALLOWED,4,2 ; @AVTAB_XPERMS_ALLOWED .subsections_via_symbols
AnghaBench/linux/security/selinux/ss/extr_services.c_services_compute_xperms_drivers.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _page_swap_info ## -- Begin function page_swap_info .p2align 4, 0x90 _page_swap_info: ## @page_swap_info .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _page_private movl %eax, %edi popq %rbp jmp _swp_swap_info ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _page_swap_info ; -- Begin function page_swap_info .p2align 2 _page_swap_info: ; @page_swap_info .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl _page_private mov w0, w0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _swp_swap_info .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/mm/extr_swapfile.c_page_swap_info.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mox_get_board_info _mox_get_board_info: ## @mox_get_board_info .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movq _MBOX_CMD_BOARD_INFO@GOTPCREL(%rip), %r15 movq (%r15), %rax movq %rax, -48(%rbp) movl 32(%rdi), %edi leaq -48(%rbp), %rsi callq _mbox_send_message testl %eax, %eax js LBB0_15 ## %bb.1: leaq 28(%rbx), %r14 movq _HZ@GOTPCREL(%rip), %r12 movl (%r12), %eax movl %eax, %esi shrl $31, %esi addl %eax, %esi sarl %esi movq %r14, %rdi callq _wait_for_completion_timeout testl %eax, %eax js LBB0_15 ## %bb.2: movq (%r15), %rdi movl 56(%rbx), %esi callq _mox_get_status movq _ENODATA@GOTPCREL(%rip), %r15 xorl %ecx, %ecx subl (%r15), %ecx testl %eax, %eax jns LBB0_4 ## %bb.3: cmpl %ecx, %eax jne LBB0_15 LBB0_4: cmpl %ecx, %eax jne LBB0_6 ## %bb.5: movl 24(%rbx), %edi leaq L_.str(%rip), %rsi callq _dev_warn jmp LBB0_7 LBB0_6: movq 48(%rbx), %rax movl 8(%rax), %ecx movl %ecx, 4(%rbx) movl 12(%rax), %ecx movl %ecx, 8(%rbx) movl 40(%rbx), %edi movl 16(%rax), %esi movl 20(%rax), %edx callq _reply_to_mac_addr movl 36(%rbx), %edi movq 48(%rbx), %rax movl 24(%rax), %esi movl 28(%rax), %edx callq _reply_to_mac_addr movl $1, 12(%rbx) movl (%rbx), %esi leaq L_.str.1(%rip), %rdi callq _pr_info movl 4(%rbx), %esi leaq L_.str.2(%rip), %rdi callq _pr_info movl 8(%rbx), %esi leaq L_.str.3(%rip), %rdi callq _pr_info LBB0_7: movq _MBOX_CMD_ECDSA_PUB_KEY@GOTPCREL(%rip), %r13 movq (%r13), %rax movq %rax, -48(%rbp) movl 32(%rbx), %edi leaq -48(%rbp), %rsi callq _mbox_send_message testl %eax, %eax js LBB0_15 ## %bb.8: movl (%r12), %eax movl %eax, %esi shrl $31, %esi addl %eax, %esi sarl %esi movq %r14, %rdi callq _wait_for_completion_timeout testl %eax, %eax js LBB0_15 ## %bb.9: movq (%r13), %rdi movl 56(%rbx), %esi callq _mox_get_status xorl %ecx, %ecx subl (%r15), %ecx testl %eax, %eax jns LBB0_11 ## %bb.10: cmpl %ecx, %eax jne LBB0_15 LBB0_11: cmpl %ecx, %eax jne LBB0_13 ## %bb.12: movl 24(%rbx), %edi leaq L_.str.4(%rip), %rsi callq _dev_warn jmp LBB0_14 LBB0_13: movq 48(%rbx), %rdx movl $1, 16(%rbx) movl 20(%rbx), %edi movl (%rdx), %ecx movl 4(%rdx), %r8d movl 8(%rdx), %r9d movl 12(%rdx), %esi movq %rsi, -96(%rbp) ## 8-byte Spill movl 16(%rdx), %esi movq %rsi, -88(%rbp) ## 8-byte Spill movl 20(%rdx), %esi movq %rsi, -80(%rbp) ## 8-byte Spill movl 24(%rdx), %esi movq %rsi, -72(%rbp) ## 8-byte Spill movl 28(%rdx), %esi movq %rsi, -64(%rbp) ## 8-byte Spill movl 32(%rdx), %esi movq %rsi, -56(%rbp) ## 8-byte Spill movl 36(%rdx), %r13d movl 40(%rdx), %r12d movl 44(%rdx), %r15d movl 48(%rdx), %r14d movl 52(%rdx), %ebx movl 56(%rdx), %r11d movl 60(%rdx), %r10d subq $8, %rsp leaq L_.str.5(%rip), %rsi movl %eax, %edx pushq %r10 pushq %r11 pushq %rbx pushq %r14 pushq %r15 pushq %r12 pushq %r13 pushq -56(%rbp) ## 8-byte Folded Reload pushq -64(%rbp) ## 8-byte Folded Reload pushq -72(%rbp) ## 8-byte Folded Reload pushq -80(%rbp) ## 8-byte Folded Reload pushq -88(%rbp) ## 8-byte Folded Reload pushq -96(%rbp) ## 8-byte Folded Reload callq _sprintf addq $112, %rsp LBB0_14: xorl %eax, %eax LBB0_15: addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MBOX_CMD_BOARD_INFO,8,3 ## @MBOX_CMD_BOARD_INFO .comm _HZ,4,2 ## @HZ .comm _ENODATA,4,2 ## @ENODATA .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Board does not have manufacturing information burned!\n" L_.str.1: ## @.str.1 .asciz "Turris Mox serial number %016llX\n" L_.str.2: ## @.str.2 .asciz " board version %i\n" L_.str.3: ## @.str.3 .asciz " burned RAM size %i MiB\n" .comm _MBOX_CMD_ECDSA_PUB_KEY,8,3 ## @MBOX_CMD_ECDSA_PUB_KEY L_.str.4: ## @.str.4 .asciz "Board has no public key burned!\n" L_.str.5: ## @.str.5 .asciz "%06x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x" .no_dead_strip _mox_get_board_info .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mox_get_board_info _mox_get_board_info: ; @mox_get_board_info .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 Lloh0: adrp x22, _MBOX_CMD_BOARD_INFO@GOTPAGE Lloh1: ldr x22, [x22, _MBOX_CMD_BOARD_INFO@GOTPAGEOFF] ldr x8, [x22] str x8, [sp, #56] ldr w0, [x0, #32] add x1, sp, #56 bl _mbox_send_message tbnz w0, #31, LBB0_13 ; %bb.1: add x20, x19, #28 Lloh2: adrp x21, _HZ@GOTPAGE Lloh3: ldr x21, [x21, _HZ@GOTPAGEOFF] ldr w8, [x21] cmp w8, #0 cinc w8, w8, lt asr w1, w8, #1 mov x0, x20 bl _wait_for_completion_timeout tbnz w0, #31, LBB0_13 ; %bb.2: ldr x0, [x22] ldr w1, [x19, #56] bl _mox_get_status mov x2, x0 Lloh4: adrp x22, _ENODATA@GOTPAGE Lloh5: ldr x22, [x22, _ENODATA@GOTPAGEOFF] ldr w8, [x22] neg w8, w8 tbz w0, #31, LBB0_4 ; %bb.3: cmp w2, w8 b.ne LBB0_14 LBB0_4: cmp w2, w8 b.ne LBB0_6 ; %bb.5: ldr w0, [x19, #24] Lloh6: adrp x1, l_.str@PAGE Lloh7: add x1, x1, l_.str@PAGEOFF bl _dev_warn b LBB0_7 LBB0_6: ldr x8, [x19, #48] ldr w9, [x8, #8] str w9, [x19, #4] ldr w9, [x8, #12] str w9, [x19, #8] ldr w0, [x19, #40] ldp w1, w2, [x8, #16] bl _reply_to_mac_addr ldr w0, [x19, #36] ldr x8, [x19, #48] ldp w1, w2, [x8, #24] bl _reply_to_mac_addr mov w8, #1 str w8, [x19, #12] ldr w1, [x19] Lloh8: adrp x0, l_.str.1@PAGE Lloh9: add x0, x0, l_.str.1@PAGEOFF bl _pr_info ldr w1, [x19, #4] Lloh10: adrp x0, l_.str.2@PAGE Lloh11: add x0, x0, l_.str.2@PAGEOFF bl _pr_info ldr w1, [x19, #8] Lloh12: adrp x0, l_.str.3@PAGE Lloh13: add x0, x0, l_.str.3@PAGEOFF bl _pr_info LBB0_7: Lloh14: adrp x23, _MBOX_CMD_ECDSA_PUB_KEY@GOTPAGE Lloh15: ldr x23, [x23, _MBOX_CMD_ECDSA_PUB_KEY@GOTPAGEOFF] ldr x8, [x23] str x8, [sp, #56] ldr w0, [x19, #32] add x1, sp, #56 bl _mbox_send_message tbnz w0, #31, LBB0_13 ; %bb.8: ldr w8, [x21] cmp w8, #0 cinc w8, w8, lt asr w1, w8, #1 mov x0, x20 bl _wait_for_completion_timeout tbnz w0, #31, LBB0_13 ; %bb.9: ldr x0, [x23] ldr w1, [x19, #56] bl _mox_get_status mov x2, x0 ldr w8, [x22] neg w8, w8 tbz w0, #31, LBB0_11 ; %bb.10: cmp w2, w8 b.ne LBB0_14 LBB0_11: cmp w2, w8 b.ne LBB0_15 ; %bb.12: ldr w0, [x19, #24] Lloh16: adrp x1, l_.str.4@PAGE Lloh17: add x1, x1, l_.str.4@PAGEOFF bl _dev_warn b LBB0_16 LBB0_13: mov x2, x0 LBB0_14: mov x0, x2 ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload add sp, sp, #128 ret LBB0_15: ldr x8, [x19, #48] mov w9, #1 str w9, [x19, #16] ldr w0, [x19, #20] ldp w3, w4, [x8] ldp w5, w6, [x8, #8] ldr w7, [x8, #16] ldur q0, [x8, #20] ldur q1, [x8, #36] ldur x9, [x8, #52] ldr w8, [x8, #60] str w8, [sp, #40] str x9, [sp, #32] stp q0, q1, [sp] Lloh18: adrp x1, l_.str.5@PAGE Lloh19: add x1, x1, l_.str.5@PAGEOFF bl _sprintf LBB0_16: mov w2, #0 b LBB0_14 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh18, Lloh19 .cfi_endproc ; -- End function .comm _MBOX_CMD_BOARD_INFO,8,3 ; @MBOX_CMD_BOARD_INFO .comm _HZ,4,2 ; @HZ .comm _ENODATA,4,2 ; @ENODATA .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Board does not have manufacturing information burned!\n" l_.str.1: ; @.str.1 .asciz "Turris Mox serial number %016llX\n" l_.str.2: ; @.str.2 .asciz " board version %i\n" l_.str.3: ; @.str.3 .asciz " burned RAM size %i MiB\n" .comm _MBOX_CMD_ECDSA_PUB_KEY,8,3 ; @MBOX_CMD_ECDSA_PUB_KEY l_.str.4: ; @.str.4 .asciz "Board has no public key burned!\n" l_.str.5: ; @.str.5 .asciz "%06x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x%08x" .no_dead_strip _mox_get_board_info .subsections_via_symbols
AnghaBench/linux/drivers/firmware/extr_turris-mox-rwtm.c_mox_get_board_info.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fdt_resize ## -- Begin function fdt_resize .p2align 4, 0x90 _fdt_resize: ## @fdt_resize .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r15d movq %rsi, -48(%rbp) ## 8-byte Spill movq %rdi, %rbx callq _FDT_SW_CHECK_HEADER movq %rbx, %rdi callq _fdt_off_dt_struct movq %rax, %r12 movq %rbx, %rdi callq _fdt_size_dt_strings movq %rax, %r13 addq %r12, %rax movslq %r15d, %r14 cmpq %r14, %rax jbe LBB0_2 ## %bb.1: movq _FDT_ERR_NOSPACE@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax jmp LBB0_6 LBB0_2: movl %r15d, -52(%rbp) ## 4-byte Spill movq %rbx, %rdi callq _fdt_totalsize movslq %eax, %r15 addq %rbx, %r15 subq %r13, %r15 movq -48(%rbp), %rax ## 8-byte Reload addq %rax, %r14 subq %r13, %r14 cmpq %rbx, %rax jbe LBB0_3 ## %bb.4: movq %r14, %rdi movq %r15, %rsi movq %r13, %rdx callq _memmove movq -48(%rbp), %rdi ## 8-byte Reload movq %rbx, %rsi movq %r12, %rdx jmp LBB0_5 LBB0_3: movq -48(%rbp), %rdi ## 8-byte Reload movq %rbx, %rsi movq %r12, %rdx callq _memmove movq %r14, %rdi movq %r15, %rsi movq %r13, %rdx LBB0_5: callq _memmove movq -48(%rbp), %r14 ## 8-byte Reload movq %r14, %rdi movl -52(%rbp), %ebx ## 4-byte Reload movl %ebx, %esi callq _fdt_set_off_dt_strings movq %r14, %rdi movl %ebx, %esi callq _fdt_set_totalsize xorl %eax, %eax LBB0_6: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _FDT_ERR_NOSPACE,4,2 ## @FDT_ERR_NOSPACE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fdt_resize ; -- Begin function fdt_resize .p2align 2 _fdt_resize: ; @fdt_resize .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x2 mov x20, x1 mov x21, x0 bl _FDT_SW_CHECK_HEADER mov x0, x21 bl _fdt_off_dt_struct mov x22, x0 mov x0, x21 bl _fdt_size_dt_strings sxtw x25, w19 add x8, x0, x22 cmp x8, x25 b.ls LBB0_2 ; %bb.1: Lloh0: adrp x8, _FDT_ERR_NOSPACE@GOTPAGE Lloh1: ldr x8, [x8, _FDT_ERR_NOSPACE@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w0, w8 b LBB0_6 LBB0_2: mov x23, x0 mov x0, x21 bl _fdt_totalsize add x8, x21, w0, sxtw sub x24, x8, x23 add x8, x20, x25 sub x25, x8, x23 cmp x20, x21 b.ls LBB0_4 ; %bb.3: mov x0, x25 mov x1, x24 mov x2, x23 bl _memmove mov x0, x20 mov x1, x21 mov x2, x22 b LBB0_5 LBB0_4: mov x0, x20 mov x1, x21 mov x2, x22 bl _memmove mov x0, x25 mov x1, x24 mov x2, x23 LBB0_5: bl _memmove mov x0, x20 mov x1, x19 bl _fdt_set_off_dt_strings mov x0, x20 mov x1, x19 bl _fdt_set_totalsize mov w0, #0 LBB0_6: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _FDT_ERR_NOSPACE,4,2 ; @FDT_ERR_NOSPACE .subsections_via_symbols
AnghaBench/freebsd/contrib/dtc/libfdt/extr_fdt_sw.c_fdt_resize.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function vexpress_reset_probe _vexpress_reset_probe: ## @vexpress_reset_probe .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 movq _vexpress_reset_of_match@GOTPCREL(%rip), %rax movl (%rax), %edi movq %r14, %rsi callq _of_match_device testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, %r15 movq %r14, %rdi callq _devm_regmap_init_vexpress_config movq %rax, %rbx movq %rax, %rdi callq _IS_ERR testq %rax, %rax je LBB0_3 ## %bb.9: movq %rbx, %rdi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _PTR_ERR ## TAILCALL LBB0_1: movq _EINVAL@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax LBB0_8: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_3: movq %r14, %rdi movq %rbx, %rsi callq _dev_set_drvdata movl (%r15), %ecx cmpl $130, %ecx je LBB0_10 ## %bb.4: xorl %eax, %eax cmpl $129, %ecx je LBB0_7 ## %bb.5: cmpl $128, %ecx jne LBB0_8 ## %bb.6: movq _vexpress_power_off_device@GOTPCREL(%rip), %rcx movq %r14, (%rcx) movq _vexpress_power_off@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movq _pm_power_off@GOTPCREL(%rip), %rdx movl %ecx, (%rdx) jmp LBB0_8 LBB0_7: movq _vexpress_restart_device@GOTPCREL(%rip), %rcx cmpl $0, (%rcx) jne LBB0_8 LBB0_10: movq %r14, %rdi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp __vexpress_register_restart_handler ## TAILCALL .cfi_endproc ## -- End function .comm _vexpress_reset_of_match,4,2 ## @vexpress_reset_of_match .comm _EINVAL,4,2 ## @EINVAL .comm _vexpress_power_off_device,8,3 ## @vexpress_power_off_device .comm _vexpress_power_off,4,2 ## @vexpress_power_off .comm _pm_power_off,4,2 ## @pm_power_off .comm _vexpress_restart_device,4,2 ## @vexpress_restart_device .no_dead_strip _vexpress_reset_probe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function vexpress_reset_probe _vexpress_reset_probe: ; @vexpress_reset_probe .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 Lloh0: adrp x8, _vexpress_reset_of_match@GOTPAGE Lloh1: ldr x8, [x8, _vexpress_reset_of_match@GOTPAGEOFF] Lloh2: ldr w0, [x8] mov x1, x19 bl _of_match_device cbz x0, LBB0_3 ; %bb.1: mov x20, x0 mov x0, x19 bl _devm_regmap_init_vexpress_config mov x21, x0 bl _IS_ERR cbz x0, LBB0_5 ; %bb.2: mov x0, x21 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _PTR_ERR LBB0_3: Lloh3: adrp x8, _EINVAL@GOTPAGE Lloh4: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh5: ldr w8, [x8] neg w0, w8 LBB0_4: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_5: mov x0, x19 mov x1, x21 bl _dev_set_drvdata ldr w8, [x20] cmp w8, #130 b.eq LBB0_11 ; %bb.6: cmp w8, #129 b.eq LBB0_9 ; %bb.7: cmp w8, #128 b.ne LBB0_10 ; %bb.8: mov w0, #0 Lloh6: adrp x8, _vexpress_power_off_device@GOTPAGE Lloh7: ldr x8, [x8, _vexpress_power_off_device@GOTPAGEOFF] Lloh8: str x19, [x8] Lloh9: adrp x8, _vexpress_power_off@GOTPAGE Lloh10: ldr x8, [x8, _vexpress_power_off@GOTPAGEOFF] Lloh11: ldr w8, [x8] Lloh12: adrp x9, _pm_power_off@GOTPAGE Lloh13: ldr x9, [x9, _pm_power_off@GOTPAGEOFF] Lloh14: str w8, [x9] b LBB0_4 LBB0_9: Lloh15: adrp x8, _vexpress_restart_device@GOTPAGE Lloh16: ldr x8, [x8, _vexpress_restart_device@GOTPAGEOFF] Lloh17: ldr w8, [x8] cbz w8, LBB0_11 LBB0_10: mov w0, #0 b LBB0_4 LBB0_11: mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b __vexpress_register_restart_handler .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotStr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotStr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .cfi_endproc ; -- End function .comm _vexpress_reset_of_match,4,2 ; @vexpress_reset_of_match .comm _EINVAL,4,2 ; @EINVAL .comm _vexpress_power_off_device,8,3 ; @vexpress_power_off_device .comm _vexpress_power_off,4,2 ; @vexpress_power_off .comm _pm_power_off,4,2 ; @pm_power_off .comm _vexpress_restart_device,4,2 ; @vexpress_restart_device .no_dead_strip _vexpress_reset_probe .subsections_via_symbols
AnghaBench/linux/drivers/power/reset/extr_vexpress-poweroff.c_vexpress_reset_probe.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mmc_blk_put _mmc_blk_put: ## @mmc_blk_put .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movq _open_lock@GOTPCREL(%rip), %rdi callq _mutex_lock decq (%rbx) jne LBB0_2 ## %bb.1: movl 8(%rbx), %edi callq _mmc_get_devidx movl %eax, %r14d movl 12(%rbx), %edi callq _blk_put_queue movq _mmc_blk_ida@GOTPCREL(%rip), %rdi movl %r14d, %esi callq _ida_simple_remove movl 8(%rbx), %edi callq _put_disk movq %rbx, %rdi callq _kfree LBB0_2: movq _open_lock@GOTPCREL(%rip), %rdi popq %rbx popq %r14 popq %rbp jmp _mutex_unlock ## TAILCALL .cfi_endproc ## -- End function .comm _open_lock,4,2 ## @open_lock .comm _mmc_blk_ida,4,2 ## @mmc_blk_ida .no_dead_strip _mmc_blk_put .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mmc_blk_put _mmc_blk_put: ; @mmc_blk_put .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x0, _open_lock@GOTPAGE Lloh1: ldr x0, [x0, _open_lock@GOTPAGEOFF] bl _mutex_lock ldr x8, [x19] subs x8, x8, #1 str x8, [x19] b.ne LBB0_2 ; %bb.1: ldr w0, [x19, #8] bl _mmc_get_devidx mov x20, x0 ldr w0, [x19, #12] bl _blk_put_queue Lloh2: adrp x0, _mmc_blk_ida@GOTPAGE Lloh3: ldr x0, [x0, _mmc_blk_ida@GOTPAGEOFF] mov x1, x20 bl _ida_simple_remove ldr w0, [x19, #8] bl _put_disk mov x0, x19 bl _kfree LBB0_2: Lloh4: adrp x0, _open_lock@GOTPAGE Lloh5: ldr x0, [x0, _open_lock@GOTPAGEOFF] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _mutex_unlock .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _open_lock,4,2 ; @open_lock .comm _mmc_blk_ida,4,2 ; @mmc_blk_ida .no_dead_strip _mmc_blk_put .subsections_via_symbols
AnghaBench/linux/drivers/mmc/core/extr_block.c_mmc_blk_put.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vnt_rf_write_embedded ## -- Begin function vnt_rf_write_embedded .p2align 4, 0x90 _vnt_rf_write_embedded: ## @vnt_rf_write_embedded .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -32(%rbp) movq _VNT_RF_REG_LEN@GOTPCREL(%rip), %rax movl (%rax), %eax shll $3, %eax movq _IFREGCTL_REGW@GOTPCREL(%rip), %rcx orl (%rcx), %esi orl %eax, %esi movslq %esi, %rax movq %rax, -64(%rbp) movl %eax, %ecx sarl $8, %ecx movslq %ecx, %rcx movq %rcx, -56(%rbp) movl %eax, %ecx sarl $16, %ecx movslq %ecx, %rcx movq %rcx, -48(%rbp) sarl $24, %eax cltq movq %rax, -40(%rbp) movq _MESSAGE_TYPE_WRITE_IFRF@GOTPCREL(%rip), %rax movl (%rax), %ebx leaq -64(%rbp), %r15 movq %r15, %rdi callq _ARRAY_SIZE movq %r14, %rdi movl %ebx, %esi xorl %edx, %edx xorl %ecx, %ecx movl %eax, %r8d movq %r15, %r9 callq _vnt_control_out movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -32(%rbp), %rax jne LBB0_2 ## %bb.1: movl $1, %eax addq $40, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_2: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _VNT_RF_REG_LEN,4,2 ## @VNT_RF_REG_LEN .comm _IFREGCTL_REGW,4,2 ## @IFREGCTL_REGW .comm _MESSAGE_TYPE_WRITE_IFRF,4,2 ## @MESSAGE_TYPE_WRITE_IFRF .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ; -- Begin function vnt_rf_write_embedded lCPI0_0: .long 4294967288 ; 0xfffffff8 .long 4294967280 ; 0xfffffff0 .section __TEXT,__text,regular,pure_instructions .globl _vnt_rf_write_embedded .p2align 2 _vnt_rf_write_embedded: ; @vnt_rf_write_embedded .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-24] Lloh3: adrp x8, _VNT_RF_REG_LEN@GOTPAGE Lloh4: ldr x8, [x8, _VNT_RF_REG_LEN@GOTPAGEOFF] Lloh5: adrp x9, _IFREGCTL_REGW@GOTPAGE Lloh6: ldr x9, [x9, _IFREGCTL_REGW@GOTPAGEOFF] Lloh7: ldr w8, [x8] Lloh8: ldr w9, [x9] orr w9, w9, w1 orr w8, w9, w8, lsl #3 sxtw x9, w8 str x9, [sp, #8] dup.2s v0, w8 Lloh9: adrp x9, lCPI0_0@PAGE Lloh10: ldr d1, [x9, lCPI0_0@PAGEOFF] sshl.2s v0, v0, v1 sshll.2d v0, v0, #0 stur q0, [sp, #16] sbfx x8, x8, #24, #8 str x8, [sp, #32] Lloh11: adrp x8, _MESSAGE_TYPE_WRITE_IFRF@GOTPAGE Lloh12: ldr x8, [x8, _MESSAGE_TYPE_WRITE_IFRF@GOTPAGEOFF] Lloh13: ldr w20, [x8] add x0, sp, #8 bl _ARRAY_SIZE mov x4, x0 add x5, sp, #8 mov x0, x19 mov x1, x20 mov w2, #0 mov w3, #0 bl _vnt_control_out ldur x8, [x29, #-24] Lloh14: adrp x9, ___stack_chk_guard@GOTPAGE Lloh15: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh16: ldr x9, [x9] cmp x9, x8 b.ne LBB0_2 ; %bb.1: mov w0, #1 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload add sp, sp, #80 ret LBB0_2: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdr Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh7 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _VNT_RF_REG_LEN,4,2 ; @VNT_RF_REG_LEN .comm _IFREGCTL_REGW,4,2 ; @IFREGCTL_REGW .comm _MESSAGE_TYPE_WRITE_IFRF,4,2 ; @MESSAGE_TYPE_WRITE_IFRF .subsections_via_symbols
AnghaBench/linux/drivers/staging/vt6656/extr_rf.c_vnt_rf_write_embedded.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dontcall_body_cb ## -- Begin function dontcall_body_cb .p2align 4, 0x90 _dontcall_body_cb: ## @dontcall_body_cb .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi callq _fprintf xorl %eax, %eax callq _abort .cfi_endproc ## -- End function .comm _stderr,4,2 ## @stderr .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\n\n*** on_body_cb() called on paused parser ***\n\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dontcall_body_cb ; -- Begin function dontcall_body_cb .p2align 2 _dontcall_body_cb: ; @dontcall_body_cb .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, _stderr@GOTPAGE Lloh1: ldr x8, [x8, _stderr@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF bl _fprintf bl _abort .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _stderr,4,2 ; @stderr .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\n\n*** on_body_cb() called on paused parser ***\n\n" .subsections_via_symbols
AnghaBench/http-parser/extr_test.c_dontcall_body_cb.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function tcf_bpf_init_from_efd _tcf_bpf_init_from_efd: ## @tcf_bpf_init_from_efd .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %r15 movq _TCA_ACT_BPF_FD@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rdi,%rax,8), %rdi callq _nla_get_u32 movq _BPF_PROG_TYPE_SCHED_ACT@GOTPCREL(%rip), %rcx movl (%rcx), %esi movl %eax, %edi callq _bpf_prog_get_type movq %rax, %rbx movq %rax, %rdi callq _IS_ERR testq %rax, %rax je LBB0_1 ## %bb.7: movq %rbx, %rdi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _PTR_ERR ## TAILCALL LBB0_1: movq _TCA_ACT_BPF_NAME@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%r15,%rax,8), %rdi xorl %r15d, %r15d testq %rdi, %rdi je LBB0_2 ## %bb.4: movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi callq _nla_memdup testq %rax, %rax jne LBB0_3 ## %bb.5: movq %rbx, %rdi callq _bpf_prog_put movq _ENOMEM@GOTPCREL(%rip), %rax xorl %r15d, %r15d subl (%rax), %r15d jmp LBB0_6 LBB0_2: xorl %eax, %eax LBB0_3: movq %rax, (%r14) movq %rbx, 16(%r14) movl $1, 8(%r14) LBB0_6: movl %r15d, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _TCA_ACT_BPF_FD,8,3 ## @TCA_ACT_BPF_FD .comm _BPF_PROG_TYPE_SCHED_ACT,4,2 ## @BPF_PROG_TYPE_SCHED_ACT .comm _TCA_ACT_BPF_NAME,8,3 ## @TCA_ACT_BPF_NAME .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .no_dead_strip _tcf_bpf_init_from_efd .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function tcf_bpf_init_from_efd _tcf_bpf_init_from_efd: ; @tcf_bpf_init_from_efd .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x21, x0 Lloh0: adrp x8, _TCA_ACT_BPF_FD@GOTPAGE Lloh1: ldr x8, [x8, _TCA_ACT_BPF_FD@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldr x0, [x0, x8, lsl #3] bl _nla_get_u32 Lloh3: adrp x8, _BPF_PROG_TYPE_SCHED_ACT@GOTPAGE Lloh4: ldr x8, [x8, _BPF_PROG_TYPE_SCHED_ACT@GOTPAGEOFF] Lloh5: ldr w1, [x8] bl _bpf_prog_get_type mov x20, x0 bl _IS_ERR cbz x0, LBB0_2 ; %bb.1: mov x0, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _PTR_ERR LBB0_2: Lloh6: adrp x8, _TCA_ACT_BPF_NAME@GOTPAGE Lloh7: ldr x8, [x8, _TCA_ACT_BPF_NAME@GOTPAGEOFF] Lloh8: ldr x8, [x8] ldr x0, [x21, x8, lsl #3] cbz x0, LBB0_5 ; %bb.3: Lloh9: adrp x8, _GFP_KERNEL@GOTPAGE Lloh10: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh11: ldr w1, [x8] bl _nla_memdup mov x8, x0 cbnz x0, LBB0_6 ; %bb.4: mov x0, x20 bl _bpf_prog_put Lloh12: adrp x8, _ENOMEM@GOTPAGE Lloh13: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh14: ldr w8, [x8] neg w0, w8 b LBB0_7 LBB0_5: mov x8, #0 LBB0_6: mov w0, #0 str x8, [x19] str x20, [x19, #16] mov w8, #1 str w8, [x19, #8] LBB0_7: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .cfi_endproc ; -- End function .comm _TCA_ACT_BPF_FD,8,3 ; @TCA_ACT_BPF_FD .comm _BPF_PROG_TYPE_SCHED_ACT,4,2 ; @BPF_PROG_TYPE_SCHED_ACT .comm _TCA_ACT_BPF_NAME,8,3 ; @TCA_ACT_BPF_NAME .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .no_dead_strip _tcf_bpf_init_from_efd .subsections_via_symbols
AnghaBench/linux/net/sched/extr_act_bpf.c_tcf_bpf_init_from_efd.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function strlist__has_entry _strlist__has_entry: ## @strlist__has_entry .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _strlist__find xorl %ecx, %ecx testq %rax, %rax setne %cl movl %ecx, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _strlist__has_entry .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function strlist__has_entry _strlist__has_entry: ; @strlist__has_entry .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl _strlist__find cmp x0, #0 cset w0, ne ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _strlist__has_entry .subsections_via_symbols
AnghaBench/linux/tools/perf/util/extr_strlist.h_strlist__has_entry.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _GetMachineName ## -- Begin function GetMachineName .p2align 4, 0x90 _GetMachineName: ## @GetMachineName .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %edx, %edx popq %rbp jmp _GetMachineNameEx ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _GetMachineName ; -- Begin function GetMachineName .p2align 2 _GetMachineName: ; @GetMachineName .cfi_startproc ; %bb.0: mov w2, #0 b _GetMachineNameEx .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Network.c_GetMachineName.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function vlogLogOpen _vlogLogOpen: ## @vlogLogOpen .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $1048, %rsp ## imm = 0x418 .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r12 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) callq _strlen movq %rax, %rbx cmpl $5, %ebx jl LBB0_6 ## %bb.1: movslq %ebx, %rax leaq (%r12,%rax), %rdi addq $-4, %rdi leaq L_.str(%rip), %rsi callq _strcmp leal -4(%rbx), %r13d testq %rax, %rax sete %r15b cmovnel %ebx, %r13d cmpl $9, %r13d jb LBB0_7 ## %bb.2: movl %r13d, %ebx leaq (%r12,%rbx), %rdi addq $-8, %rdi leaq L_.str.1(%rip), %rsi callq _strcmp testq %rax, %rax je LBB0_36 ## %bb.3: cmpl $13, %r13d jb LBB0_7 ## %bb.4: addq %r12, %rbx addq $-12, %rbx leaq L_.str.2(%rip), %rdi movq %rbx, %rsi callq _sqlite3_strglob testq %rax, %rax jne LBB0_7 jmp LBB0_33 LBB0_6: xorl %r15d, %r15d movl %ebx, %r13d LBB0_7: leal 220(%r13), %edi callq _sqlite3_malloc testq %rax, %rax je LBB0_33 ## %bb.8: movq %rax, %r14 movq _SQLITE_MUTEX_STATIC_MASTER@GOTPCREL(%rip), %rax movl (%rax), %edi callq _sqlite3_mutex_alloc movq %rax, -1080(%rbp) ## 8-byte Spill movq %rax, %rdi callq _sqlite3_mutex_enter movq _allLogs@GOTPCREL(%rip), %rax movq (%rax), %rbx jmp LBB0_10 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_10 Depth=1 movq 32(%rbx), %rbx LBB0_10: ## =>This Inner Loop Header: Depth=1 testq %rbx, %rbx je LBB0_14 ## %bb.11: ## in Loop: Header=BB0_10 Depth=1 cmpl %r13d, (%rbx) jne LBB0_9 ## %bb.12: ## in Loop: Header=BB0_10 Depth=1 movq 8(%rbx), %rdi movq %r12, %rsi movl %r13d, %edx callq _memcmp testl %eax, %eax jne LBB0_9 ## %bb.13: movq -1080(%rbp), %rdi ## 8-byte Reload callq _sqlite3_mutex_leave movq %r14, %rdi callq _sqlite3_free movq %rbx, %r14 jmp LBB0_25 LBB0_14: movl %r15d, -1084(%rbp) ## 4-byte Spill movq %r14, %rdi xorl %esi, %esi movl $160, %edx callq _memset leaq 160(%r14), %rsi movq %rsi, 8(%r14) leal 60(%r13), %ebx leaq L_.str.3(%rip), %rdx movl %ebx, %edi movl %r13d, %ecx movq %r12, %r8 callq _sqlite3_snprintf movl %ebx, %edi callq _alloca movq %rax, %r15 leaq L_.str.4(%rip), %rdx movl %ebx, %edi movq %rax, %rsi movl %r13d, %ecx movq %r12, %r8 callq _sqlite3_snprintf leaq L_.str.5(%rip), %rsi movq %r15, %rdi callq _fopen movq %rax, 64(%r14) movq 8(%r14), %rdi leaq L_.str.6(%rip), %rsi callq _gzopen movq %rax, 56(%r14) movq _SQLITE_MUTEX_FAST@GOTPCREL(%rip), %rax movl (%rax), %edi callq _sqlite3_mutex_alloc movq %rax, 48(%r14) movq 64(%r14), %rdi testq %rdi, %rdi je LBB0_28 ## %bb.15: cmpq $0, 56(%r14) je LBB0_27 ## %bb.16: testq %rax, %rax je LBB0_27 ## %bb.17: movq _SEEK_END@GOTPCREL(%rip), %rbx movl (%rbx), %edx xorl %esi, %esi callq _fseek testq %rax, %rax movl -1084(%rbp), %r15d ## 4-byte Reload jle LBB0_22 ## %bb.18: movq 64(%r14), %rdi movq _SEEK_SET@GOTPCREL(%rip), %rax movl (%rax), %edx xorl %esi, %esi callq _fseek movq 64(%r14), %rcx leaq -1072(%rbp), %rdi movl $1, %esi movl $1024, %edx ## imm = 0x400 callq _fread testl %eax, %eax js LBB0_21 ## %bb.19: leaq -1072(%rbp), %r12 .p2align 4, 0x90 LBB0_20: ## =>This Inner Loop Header: Depth=1 movq 56(%r14), %rdi movq %r12, %rsi movl %eax, %edx callq _gzwrite movq 64(%r14), %rcx movq %r12, %rdi movl $1, %esi movl $1024, %edx ## imm = 0x400 callq _fread testl %eax, %eax jns LBB0_20 LBB0_21: movq 64(%r14), %rdi movl (%rbx), %edx xorl %esi, %esi callq _fseek LBB0_22: movl %r13d, (%r14) movq _vlogDefaultLogFlags@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 72(%r14) movups 56(%r14), %xmm0 movups %xmm0, 136(%r14) movq 48(%r14), %rax movq %rax, 128(%r14) movq _allLogs@GOTPCREL(%rip), %rdx movq %rdx, 40(%r14) movq (%rdx), %rax testq %rax, %rax je LBB0_24 ## %bb.23: movq %r14, %rcx addq $32, %rcx movq %rcx, 40(%rax) LBB0_24: movq %rax, 32(%r14) movq %r14, (%rdx) movq -1080(%rbp), %rdi ## 8-byte Reload callq _sqlite3_mutex_leave LBB0_25: movzbl %r15b, %eax leaq (%rax,%rax,4), %rcx shlq $4, %rcx leaq (%r14,%rcx), %rax incl 24(%r14,%rcx) movq $-1, 16(%r14,%rcx) jmp LBB0_34 LBB0_27: callq _fclose LBB0_28: movq 56(%r14), %rdi testq %rdi, %rdi je LBB0_30 ## %bb.29: callq _gzclose LBB0_30: movq 48(%r14), %rdi testq %rdi, %rdi je LBB0_32 ## %bb.31: callq _sqlite3_mutex_free LBB0_32: movq -1080(%rbp), %rdi ## 8-byte Reload callq _sqlite3_mutex_leave movq %r14, %rdi callq _sqlite3_free LBB0_33: xorl %eax, %eax LBB0_34: movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -48(%rbp), %rcx jne LBB0_37 ## %bb.35: addq $1048, %rsp ## imm = 0x418 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_36: addl $-8, %r13d movb $1, %r15b jmp LBB0_7 LBB0_37: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "-wal" L_.str.1: ## @.str.1 .asciz "-journal" L_.str.2: ## @.str.2 .asciz "-mj??????9??" .comm _SQLITE_MUTEX_STATIC_MASTER,4,2 ## @SQLITE_MUTEX_STATIC_MASTER .comm _allLogs,8,3 ## @allLogs L_.str.3: ## @.str.3 .asciz "%.*s-vfslog" L_.str.4: ## @.str.4 .asciz "%.*s-vfslo1" L_.str.5: ## @.str.5 .asciz "ab+" L_.str.6: ## @.str.6 .asciz "ab" .comm _SQLITE_MUTEX_FAST,4,2 ## @SQLITE_MUTEX_FAST .comm _SEEK_END,4,2 ## @SEEK_END .comm _SEEK_SET,4,2 ## @SEEK_SET .comm _vlogDefaultLogFlags,4,2 ## @vlogDefaultLogFlags .no_dead_strip _vlogLogOpen .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function vlogLogOpen _vlogLogOpen: ; @vlogLogOpen .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 sub sp, sp, #1040 mov x22, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-88] bl _strlen mov x19, x0 cmp w19, #5 b.lt LBB0_5 ; %bb.1: add x8, x22, w19, sxtw sub x0, x8, #4 Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF bl _strcmp sub w8, w19, #4 cmp x0, #0 cset w25, eq csel w19, w8, w19, eq cmp w19, #9 b.lo LBB0_6 ; %bb.2: add x20, x22, w19, uxtw sub x0, x20, #8 Lloh5: adrp x1, l_.str.1@PAGE Lloh6: add x1, x1, l_.str.1@PAGEOFF bl _strcmp cbz x0, LBB0_32 ; %bb.3: cmp w19, #13 b.lo LBB0_6 ; %bb.4: sub x1, x20, #12 Lloh7: adrp x0, l_.str.2@PAGE Lloh8: add x0, x0, l_.str.2@PAGEOFF bl _sqlite3_strglob cbnz x0, LBB0_6 b LBB0_30 LBB0_5: mov w25, #0 LBB0_6: add w0, w19, #220 bl _sqlite3_malloc cbz x0, LBB0_30 ; %bb.7: mov x20, x0 Lloh9: adrp x8, _SQLITE_MUTEX_STATIC_MASTER@GOTPAGE Lloh10: ldr x8, [x8, _SQLITE_MUTEX_STATIC_MASTER@GOTPAGEOFF] Lloh11: ldr w0, [x8] bl _sqlite3_mutex_alloc mov x21, x0 bl _sqlite3_mutex_enter Lloh12: adrp x26, _allLogs@GOTPAGE Lloh13: ldr x26, [x26, _allLogs@GOTPAGEOFF] ldr x23, [x26] cbnz x23, LBB0_20 LBB0_8: mov x0, x20 mov w1, #0 mov w2, #160 bl _memset add x1, x20, #160 str x1, [x20, #8] add w23, w19, #60 Lloh14: adrp x2, l_.str.3@PAGE Lloh15: add x2, x2, l_.str.3@PAGEOFF mov x0, x23 mov x3, x19 mov x4, x22 bl _sqlite3_snprintf mov x0, x23 bl _alloca mov x24, x0 Lloh16: adrp x2, l_.str.4@PAGE Lloh17: add x2, x2, l_.str.4@PAGEOFF mov x0, x23 mov x1, x24 mov x3, x19 mov x4, x22 bl _sqlite3_snprintf Lloh18: adrp x1, l_.str.5@PAGE Lloh19: add x1, x1, l_.str.5@PAGEOFF mov x0, x24 bl _fopen str x0, [x20, #64] ldr x0, [x20, #8] Lloh20: adrp x1, l_.str.6@PAGE Lloh21: add x1, x1, l_.str.6@PAGEOFF bl _gzopen str x0, [x20, #56] Lloh22: adrp x8, _SQLITE_MUTEX_FAST@GOTPAGE Lloh23: ldr x8, [x8, _SQLITE_MUTEX_FAST@GOTPAGEOFF] Lloh24: ldr w0, [x8] bl _sqlite3_mutex_alloc mov x8, x0 str x0, [x20, #48] ldr x0, [x20, #64] cbz x0, LBB0_25 ; %bb.9: ldr x9, [x20, #56] cbz x9, LBB0_24 ; %bb.10: cbz x8, LBB0_24 ; %bb.11: Lloh25: adrp x22, _SEEK_END@GOTPAGE Lloh26: ldr x22, [x22, _SEEK_END@GOTPAGEOFF] ldr w2, [x22] mov w1, #0 bl _fseek cmp x0, #1 b.lt LBB0_16 ; %bb.12: ldr x0, [x20, #64] Lloh27: adrp x8, _SEEK_SET@GOTPAGE Lloh28: ldr x8, [x8, _SEEK_SET@GOTPAGEOFF] Lloh29: ldr w2, [x8] mov w1, #0 bl _fseek ldr x3, [x20, #64] add x0, sp, #8 mov w1, #1 mov w2, #1024 bl _fread tbnz w0, #31, LBB0_15 ; %bb.13: mov x2, x0 LBB0_14: ; =>This Inner Loop Header: Depth=1 ldr x0, [x20, #56] add x1, sp, #8 bl _gzwrite ldr x3, [x20, #64] add x0, sp, #8 mov w1, #1 mov w2, #1024 bl _fread mov x2, x0 tbz w0, #31, LBB0_14 LBB0_15: ldr x0, [x20, #64] ldr w2, [x22] mov w1, #0 bl _fseek LBB0_16: str w19, [x20] Lloh30: adrp x8, _vlogDefaultLogFlags@GOTPAGE Lloh31: ldr x8, [x8, _vlogDefaultLogFlags@GOTPAGEOFF] Lloh32: ldr w8, [x8] str w8, [x20, #72] ldur q0, [x20, #56] stur q0, [x20, #136] ldr x8, [x20, #48] str x8, [x20, #128] str x26, [x20, #40] ldr x8, [x26] cbz x8, LBB0_18 ; %bb.17: add x9, x20, #32 str x9, [x8, #40] LBB0_18: str x8, [x20, #32] str x20, [x26] mov x0, x21 bl _sqlite3_mutex_leave b LBB0_23 LBB0_19: ; in Loop: Header=BB0_20 Depth=1 ldr x23, [x23, #32] cbz x23, LBB0_8 LBB0_20: ; =>This Inner Loop Header: Depth=1 ldr w8, [x23] cmp w8, w19 b.ne LBB0_19 ; %bb.21: ; in Loop: Header=BB0_20 Depth=1 ldr x0, [x23, #8] mov x1, x22 mov x2, x19 bl _memcmp cbnz w0, LBB0_19 ; %bb.22: mov x0, x21 bl _sqlite3_mutex_leave mov x0, x20 bl _sqlite3_free mov x20, x23 LBB0_23: mov w8, #80 umaddl x0, w25, w8, x20 ldr w8, [x0, #24] add w8, w8, #1 str w8, [x0, #24] movi.2d v0, #0xffffffffffffffff str d0, [x0, #16] b LBB0_30 LBB0_24: bl _fclose LBB0_25: ldr x0, [x20, #56] cbz x0, LBB0_27 ; %bb.26: bl _gzclose LBB0_27: ldr x0, [x20, #48] cbz x0, LBB0_29 ; %bb.28: bl _sqlite3_mutex_free LBB0_29: mov x0, x21 bl _sqlite3_mutex_leave mov x0, x20 bl _sqlite3_free mov x0, #0 LBB0_30: ldur x8, [x29, #-88] Lloh33: adrp x9, ___stack_chk_guard@GOTPAGE Lloh34: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh35: ldr x9, [x9] cmp x9, x8 b.ne LBB0_33 ; %bb.31: add sp, sp, #1040 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret LBB0_32: sub w19, w19, #8 mov w25, #1 b LBB0_6 LBB0_33: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGot Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "-wal" l_.str.1: ; @.str.1 .asciz "-journal" l_.str.2: ; @.str.2 .asciz "-mj??????9??" .comm _SQLITE_MUTEX_STATIC_MASTER,4,2 ; @SQLITE_MUTEX_STATIC_MASTER .comm _allLogs,8,3 ; @allLogs l_.str.3: ; @.str.3 .asciz "%.*s-vfslog" l_.str.4: ; @.str.4 .asciz "%.*s-vfslo1" l_.str.5: ; @.str.5 .asciz "ab+" l_.str.6: ; @.str.6 .asciz "ab" .comm _SQLITE_MUTEX_FAST,4,2 ; @SQLITE_MUTEX_FAST .comm _SEEK_END,4,2 ; @SEEK_END .comm _SEEK_SET,4,2 ; @SEEK_SET .comm _vlogDefaultLogFlags,4,2 ; @vlogDefaultLogFlags .no_dead_strip _vlogLogOpen .subsections_via_symbols
AnghaBench/wcdb/vfslog/extr_vfslog.c_vlogLogOpen.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function p6_pmu_event_map _p6_pmu_event_map: ## @p6_pmu_event_map .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _p6_perfmon_event_map@GOTPCREL(%rip), %rax movq (%rax), %rax movslq %edi, %rcx movl (%rax,%rcx,4), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _p6_perfmon_event_map,8,3 ## @p6_perfmon_event_map .no_dead_strip _p6_pmu_event_map .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function p6_pmu_event_map _p6_pmu_event_map: ; @p6_pmu_event_map .cfi_startproc ; %bb.0: Lloh0: adrp x8, _p6_perfmon_event_map@GOTPAGE Lloh1: ldr x8, [x8, _p6_perfmon_event_map@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldr w0, [x8, w0, sxtw #2] ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _p6_perfmon_event_map,8,3 ; @p6_perfmon_event_map .no_dead_strip _p6_pmu_event_map .subsections_via_symbols
AnghaBench/fastsocket/kernel/arch/x86/kernel/cpu/extr_perf_event_p6.c_p6_pmu_event_map.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rk_clk_armclk_recalc _rk_clk_armclk_recalc: ## @rk_clk_armclk_recalc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %rbx callq _clknode_get_softc movq %rax, %r15 movq %rbx, %rdi callq _DEVICE_LOCK movl (%r15), %esi leaq -28(%rbp), %rdx movq %rbx, %rdi callq _READ4 movl (%r15), %esi movl -28(%rbp), %edx leaq L_.str(%rip), %rdi callq _dprintf movq %rbx, %rdi callq _DEVICE_UNLOCK movl 4(%r15), %ebx andl -28(%rbp), %ebx movb 8(%r15), %cl sarl %cl, %ebx incl %ebx movl (%r14), %esi leaq L_.str.1(%rip), %rdi movl %ebx, %edx callq _dprintf movl (%r14), %eax cltd idivl %ebx movl %eax, (%r14) xorl %eax, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Read: muxdiv_offset=%x, val=%x\n" L_.str.1: ## @.str.1 .asciz "parent_freq=%ju, div=%u\n" .no_dead_strip _rk_clk_armclk_recalc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rk_clk_armclk_recalc _rk_clk_armclk_recalc: ; @rk_clk_armclk_recalc .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 bl _clknode_get_softc mov x21, x0 mov x0, x20 bl _DEVICE_LOCK ldr w1, [x21] add x2, sp, #12 mov x0, x20 bl _READ4 ldr w1, [x21] ldr w2, [sp, #12] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _dprintf mov x0, x20 bl _DEVICE_UNLOCK ldr w8, [sp, #12] ldp w9, w10, [x21, #4] and w8, w9, w8 asr w8, w8, w10 add w20, w8, #1 ldr w1, [x19] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF mov x2, x20 bl _dprintf ldr w8, [x19] sdiv w8, w8, w20 str w8, [x19] mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Read: muxdiv_offset=%x, val=%x\n" l_.str.1: ; @.str.1 .asciz "parent_freq=%ju, div=%u\n" .no_dead_strip _rk_clk_armclk_recalc .subsections_via_symbols
AnghaBench/freebsd/sys/arm64/rockchip/clk/extr_rk_clk_armclk.c_rk_clk_armclk_recalc.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function test_ndr_simple_type _test_ndr_simple_type: ## @test_ndr_simple_type .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl $0, -76(%rbp) movq $0, -88(%rbp) leaq -92(%rbp), %rdi leaq -72(%rbp), %r14 leaq -88(%rbp), %rdx movq %r14, %rsi xorl %ecx, %ecx callq _NdrClientInitializeNew movl $16, -72(%rbp) xorl %eax, %eax callq _GetProcessHeap movl -72(%rbp), %edx movl %eax, %edi xorl %esi, %esi callq _HeapAlloc movl %eax, -64(%rbp) movl %eax, -68(%rbp) movq -56(%rbp), %rcx movl %eax, (%rcx) movl $-889275714, -44(%rbp) ## imm = 0xCAFEBABE movq _FC_LONG@GOTPCREL(%rip), %r13 movl (%r13), %edx leaq -44(%rbp), %rbx movq %r14, %rdi movq %rbx, %rsi callq _NdrSimpleTypeMarshall movl -68(%rbp), %ecx movl -64(%rbp), %edx leal 4(%rcx), %eax xorl %edi, %edi cmpl %eax, %edx sete %dil leaq L_.str(%rip), %r15 movq %r15, %rsi ## kill: def $ecx killed $ecx killed $rcx xorl %eax, %eax callq _ok movslq -68(%rbp), %rax movl (%rax), %edx xorl %edi, %edi cmpl -44(%rbp), %edx sete %dil leaq L_.str.1(%rip), %r12 movq %r12, %rsi xorl %eax, %eax callq _ok movl -68(%rbp), %eax incl %eax movl %eax, -64(%rbp) movl (%r13), %edx movq %r14, %rdi movq %rbx, %rsi callq _NdrSimpleTypeMarshall movl -68(%rbp), %ecx movl -64(%rbp), %edx leal 8(%rcx), %eax xorl %edi, %edi cmpl %eax, %edx sete %dil movq %r15, %rsi ## kill: def $ecx killed $ecx killed $rcx xorl %eax, %eax callq _ok movslq -68(%rbp), %rax movl (%rax), %edx movl 4(%rax), %eax xorl %edi, %edi cmpl -44(%rbp), %eax sete %dil movq %r12, %rsi xorl %eax, %eax callq _ok movl -68(%rbp), %eax incl %eax movl %eax, -64(%rbp) movl (%r13), %edx leaq -76(%rbp), %rsi movq %r14, %rdi callq _NdrSimpleTypeUnmarshall movl -68(%rbp), %ecx movl -64(%rbp), %edx leal 8(%rcx), %eax xorl %edi, %edi cmpl %eax, %edx sete %dil movq %r15, %rsi ## kill: def $ecx killed $ecx killed $rcx xorl %eax, %eax callq _ok movl -76(%rbp), %edx xorl %edi, %edi cmpl -44(%rbp), %edx sete %dil movq %r12, %rsi xorl %eax, %eax callq _ok xorl %eax, %eax callq _GetProcessHeap movl -68(%rbp), %edx movl %eax, %edi xorl %esi, %esi callq _HeapFree addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _Object_StubDesc,8,3 ## @Object_StubDesc .comm _FC_LONG,4,2 ## @FC_LONG .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%p %p\n" L_.str.1: ## @.str.1 .asciz "%d\n" .no_dead_strip _test_ndr_simple_type .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function test_ndr_simple_type _test_ndr_simple_type: ; @test_ndr_simple_type .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 str wzr, [sp, #16] str xzr, [sp, #24] sub x0, x29, #36 add x1, sp, #32 add x2, sp, #24 mov w3, #0 bl _NdrClientInitializeNew mov w8, #16 str w8, [sp, #32] bl _GetProcessHeap ldr w2, [sp, #32] mov w1, #0 bl _HeapAlloc stp w0, w0, [sp, #36] ldr x8, [sp, #48] str w0, [x8] mov w8, #47806 movk w8, #51966, lsl #16 str w8, [sp, #20] Lloh0: adrp x21, _FC_LONG@GOTPAGE Lloh1: ldr x21, [x21, _FC_LONG@GOTPAGEOFF] ldr w2, [x21] add x0, sp, #32 add x1, sp, #20 bl _NdrSimpleTypeMarshall ldp w8, w2, [sp, #36] add w9, w8, #4 cmp w2, w9 cset w0, eq str x8, [sp] Lloh2: adrp x19, l_.str@PAGE Lloh3: add x19, x19, l_.str@PAGEOFF mov x1, x19 bl _ok ldrsw x8, [sp, #36] ldr w2, [x8] ldr w8, [sp, #20] cmp w2, w8 cset w0, eq Lloh4: adrp x20, l_.str.1@PAGE Lloh5: add x20, x20, l_.str.1@PAGEOFF mov x1, x20 bl _ok ldr w8, [sp, #36] add w8, w8, #1 str w8, [sp, #40] ldr w2, [x21] add x0, sp, #32 add x1, sp, #20 bl _NdrSimpleTypeMarshall ldp w8, w2, [sp, #36] add w9, w8, #8 cmp w2, w9 cset w0, eq str x8, [sp] mov x1, x19 bl _ok ldrsw x8, [sp, #36] ldr w9, [sp, #20] ldp w2, w10, [x8] cmp w10, w9 cset w0, eq mov x1, x20 bl _ok ldr w8, [sp, #36] add w8, w8, #1 str w8, [sp, #40] ldr w2, [x21] add x0, sp, #32 add x1, sp, #16 bl _NdrSimpleTypeUnmarshall ldp w8, w2, [sp, #36] add w9, w8, #8 cmp w2, w9 cset w0, eq str x8, [sp] mov x1, x19 bl _ok ldp w2, w8, [sp, #16] cmp w2, w8 cset w0, eq mov x1, x20 bl _ok bl _GetProcessHeap ldr w2, [sp, #36] mov w1, #0 bl _HeapFree ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _Object_StubDesc,8,3 ; @Object_StubDesc .comm _FC_LONG,4,2 ; @FC_LONG .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%p %p\n" l_.str.1: ; @.str.1 .asciz "%d\n" .no_dead_strip _test_ndr_simple_type .subsections_via_symbols
AnghaBench/reactos/modules/rostests/winetests/rpcrt4/extr_ndr_marshall.c_test_ndr_simple_type.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _bfa_fcs_fabric_addvport ## -- Begin function bfa_fcs_fabric_addvport .p2align 4, 0x90 _bfa_fcs_fabric_addvport: ## @bfa_fcs_fabric_addvport .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 movq %rdi, %rbx movl 12(%rdi), %esi movl 16(%rdi), %edi callq _bfa_trc leaq 8(%rbx), %rsi movq %r14, %rdi callq _list_add_tail incl 4(%rbx) movq %rbx, %rdi popq %rbx popq %r14 popq %rbp jmp _bfa_wc_up ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _bfa_fcs_fabric_addvport ; -- Begin function bfa_fcs_fabric_addvport .p2align 2 _bfa_fcs_fabric_addvport: ; @bfa_fcs_fabric_addvport .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 ldr w0, [x0, #16] ldr w1, [x20, #12] bl _bfa_trc add x1, x20, #8 mov x0, x19 bl _list_add_tail ldr w8, [x20, #4] add w8, w8, #1 str w8, [x20, #4] mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _bfa_wc_up .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/drivers/scsi/bfa/extr_bfa_fcs.c_bfa_fcs_fabric_addvport.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _kernel_read_file_from_fd ## -- Begin function kernel_read_file_from_fd .p2align 4, 0x90 _kernel_read_file_from_fd: ## @kernel_read_file_from_fd .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %r8d, %r14d movl %ecx, %r15d movq %rdx, %r12 movq %rsi, %rbx callq _fdget movl %eax, %r13d testl %eax, %eax je LBB0_1 ## %bb.2: movl %r13d, %edi movq %rbx, %rsi movq %r12, %rdx movl %r15d, %ecx movl %r14d, %r8d callq _kernel_read_file movl %eax, %ebx jmp LBB0_3 LBB0_1: movq _EBADF@GOTPCREL(%rip), %rax xorl %ebx, %ebx subl (%rax), %ebx LBB0_3: movl %r13d, %edi callq _fdput movl %ebx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EBADF,4,2 ## @EBADF .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _kernel_read_file_from_fd ; -- Begin function kernel_read_file_from_fd .p2align 2 _kernel_read_file_from_fd: ; @kernel_read_file_from_fd .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x20, x4 mov x21, x3 mov x22, x2 mov x23, x1 bl _fdget mov x19, x0 cbz w0, LBB0_2 ; %bb.1: mov x0, x19 mov x1, x23 mov x2, x22 mov x3, x21 mov x4, x20 bl _kernel_read_file mov x20, x0 b LBB0_3 LBB0_2: Lloh0: adrp x8, _EBADF@GOTPAGE Lloh1: ldr x8, [x8, _EBADF@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w20, w8 LBB0_3: mov w0, w19 bl _fdput mov x0, x20 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _EBADF,4,2 ; @EBADF .subsections_via_symbols
AnghaBench/linux/fs/extr_exec.c_kernel_read_file_from_fd.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cmp_matches _cmp_matches: ## @cmp_matches .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rsi), %rax cmpq %rax, (%rdi) jne LBB0_1 ## %bb.2: movq 8(%rsi), %rax cmpq %rax, 8(%rdi) jne LBB0_1 ## %bb.3: movq 16(%rsi), %rcx xorl %eax, %eax cmpq %rcx, 16(%rdi) je LBB0_5 ## %bb.4: xorl %eax, %eax negq %rcx sbbl %eax, %eax orl $1, %eax LBB0_5: popq %rbp retq LBB0_1: setge %al movzbl %al, %eax addl %eax, %eax decl %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _cmp_matches .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cmp_matches _cmp_matches: ; @cmp_matches .cfi_startproc ; %bb.0: ldr x8, [x0] ldr x9, [x1] cmp x8, x9 b.ne LBB0_3 ; %bb.1: ldr x8, [x0, #8] ldr x9, [x1, #8] cmp x8, x9 b.ne LBB0_3 ; %bb.2: ldr x8, [x0, #16] ldr x9, [x1, #16] cmp x9, #0 mov w10, #1 cneg w10, w10, ne cmp x8, x9 csel w0, wzr, w10, eq ret LBB0_3: mov w8, #-1 cneg w0, w8, ge ret .cfi_endproc ; -- End function .no_dead_strip _cmp_matches .subsections_via_symbols
AnghaBench/git/extr_urlmatch.c_cmp_matches.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function omap4_wugen_teardown_intr _omap4_wugen_teardown_intr: ## @omap4_wugen_teardown_intr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r14 movq %rdx, %r15 movq %rsi, %rbx callq _device_get_softc movl (%rax), %edi movq %rbx, %rsi movq %r15, %rdx movq %r14, %rcx addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _PIC_TEARDOWN_INTR ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _omap4_wugen_teardown_intr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function omap4_wugen_teardown_intr _omap4_wugen_teardown_intr: ; @omap4_wugen_teardown_intr .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x3 mov x20, x2 mov x21, x1 bl _device_get_softc ldr w0, [x0] mov x1, x21 mov x2, x20 mov x3, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _PIC_TEARDOWN_INTR .cfi_endproc ; -- End function .no_dead_strip _omap4_wugen_teardown_intr .subsections_via_symbols
AnghaBench/freebsd/sys/arm/ti/omap4/extr_omap4_wugen.c_omap4_wugen_teardown_intr.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _errorFn ## -- Begin function errorFn .p2align 4, 0x90 _errorFn: ## @errorFn .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax callq ___VERIFIER_error .cfi_endproc ## -- End function .globl __BLAST_init ## -- Begin function _BLAST_init .p2align 4, 0x90 __BLAST_init: ## @_BLAST_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _UNLOADED@GOTPCREL(%rip), %rax movl $0, (%rax) movq _NP@GOTPCREL(%rip), %rax movl $1, (%rax) movq _DC@GOTPCREL(%rip), %rax movl $2, (%rax) movq _SKIP1@GOTPCREL(%rip), %rax movl $3, (%rax) movq _SKIP2@GOTPCREL(%rip), %rax movl $4, (%rax) movq _MPR1@GOTPCREL(%rip), %rax movl $5, (%rax) movq _MPR3@GOTPCREL(%rip), %rax movl $6, (%rax) movq _IPC@GOTPCREL(%rip), %rax movl $7, (%rax) movq _s@GOTPCREL(%rip), %rax movl $0, (%rax) movq _pended@GOTPCREL(%rip), %rax movl $0, (%rax) movq _compFptr@GOTPCREL(%rip), %rax movl $0, (%rax) movq _compRegistered@GOTPCREL(%rip), %rax movl $0, (%rax) movq _lowerDriverReturn@GOTPCREL(%rip), %rax movl $0, (%rax) movq _setEventCalled@GOTPCREL(%rip), %rax movl $0, (%rax) movq _customIrp@GOTPCREL(%rip), %rax movl $0, (%rax) popq %rbp retq .cfi_endproc ## -- End function .globl _DiskPerfSyncFilterWithTarget ## -- Begin function DiskPerfSyncFilterWithTarget .p2align 4, 0x90 _DiskPerfSyncFilterWithTarget: ## @DiskPerfSyncFilterWithTarget .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .globl _DiskPerfDispatchPnp ## -- Begin function DiskPerfDispatchPnp .p2align 4, 0x90 _DiskPerfDispatchPnp: ## @DiskPerfDispatchPnp .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %esi, %ebx callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int cmpl $2, %eax je LBB3_5 ## %bb.1: testl %eax, %eax jne LBB3_7 ## %bb.2: callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int movl %ebx, %esi callq _DiskPerfForwardIrpSynchronous movl %eax, %ebx callq _DiskPerfRegisterDevice jmp LBB3_3 LBB3_5: callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int movl %ebx, %esi callq _DiskPerfForwardIrpSynchronous movl %eax, %ebx LBB3_3: movq _myStatus@GOTPCREL(%rip), %rax movl %ebx, (%rax) movq _s@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _NP@GOTPCREL(%rip), %rdx cmpl (%rdx), %ecx jne LBB3_6 ## %bb.4: movq _DC@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, (%rax) movl %ebx, %eax addq $8, %rsp popq %rbx popq %rbp retq LBB3_7: callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int movq _s@GOTPCREL(%rip), %rcx movl (%rcx), %edx movq _NP@GOTPCREL(%rip), %rsi cmpl (%rsi), %edx jne LBB3_6 ## %bb.8: movq _SKIP1@GOTPCREL(%rip), %rdx movl (%rdx), %edx movl %edx, (%rcx) movl %eax, %edi movl %ebx, %esi addq $8, %rsp popq %rbx popq %rbp jmp _IofCallDriver ## TAILCALL LBB3_6: xorl %eax, %eax callq ___VERIFIER_error .cfi_endproc ## -- End function .globl _DiskPerfStartDevice ## -- Begin function DiskPerfStartDevice .p2align 4, 0x90 _DiskPerfStartDevice: ## @DiskPerfStartDevice .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %esi, %ebx callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int movl %ebx, %esi callq _DiskPerfForwardIrpSynchronous movl %eax, %ebx callq _DiskPerfRegisterDevice movq _myStatus@GOTPCREL(%rip), %rax movl %ebx, (%rax) movq _s@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _NP@GOTPCREL(%rip), %rdx cmpl (%rdx), %ecx jne LBB4_2 ## %bb.1: movq _DC@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, (%rax) movl %ebx, %eax addq $8, %rsp popq %rbx popq %rbp retq LBB4_2: xorl %eax, %eax callq ___VERIFIER_error .cfi_endproc ## -- End function .globl _DiskPerfRemoveDevice ## -- Begin function DiskPerfRemoveDevice .p2align 4, 0x90 _DiskPerfRemoveDevice: ## @DiskPerfRemoveDevice .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %esi, %ebx callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int movl %ebx, %esi callq _DiskPerfForwardIrpSynchronous movq _myStatus@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movq _s@GOTPCREL(%rip), %rcx movl (%rcx), %edx movq _NP@GOTPCREL(%rip), %rsi cmpl (%rsi), %edx jne LBB5_2 ## %bb.1: movq _DC@GOTPCREL(%rip), %rdx movl (%rdx), %edx movl %edx, (%rcx) addq $8, %rsp popq %rbx popq %rbp retq LBB5_2: xorl %eax, %eax callq ___VERIFIER_error .cfi_endproc ## -- End function .globl _DiskPerfSendToNextDriver ## -- Begin function DiskPerfSendToNextDriver .p2align 4, 0x90 _DiskPerfSendToNextDriver: ## @DiskPerfSendToNextDriver .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %esi, %ebx callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int movq _s@GOTPCREL(%rip), %rcx movl (%rcx), %edx movq _NP@GOTPCREL(%rip), %rsi cmpl (%rsi), %edx jne LBB6_2 ## %bb.1: movq _SKIP1@GOTPCREL(%rip), %rdx movl (%rdx), %edx movl %edx, (%rcx) movl %eax, %edi movl %ebx, %esi addq $8, %rsp popq %rbx popq %rbp jmp _IofCallDriver ## TAILCALL LBB6_2: xorl %eax, %eax callq ___VERIFIER_error .cfi_endproc ## -- End function .globl _DiskPerfIrpCompletion ## -- Begin function DiskPerfIrpCompletion .p2align 4, 0x90 _DiskPerfIrpCompletion: ## @DiskPerfIrpCompletion .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq ___VERIFIER_nondet_int movq _setEventCalled@GOTPCREL(%rip), %rax movl $1, (%rax) movl $-1073741802, %eax ## imm = 0xC0000016 popq %rbp retq .cfi_endproc ## -- End function .globl _KeSetEvent ## -- Begin function KeSetEvent .p2align 4, 0x90 _KeSetEvent: ## @KeSetEvent .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq ___VERIFIER_nondet_int movq _setEventCalled@GOTPCREL(%rip), %rcx movl $1, (%rcx) popq %rbp retq .cfi_endproc ## -- End function .globl _DiskPerfForwardIrpSynchronous ## -- Begin function DiskPerfForwardIrpSynchronous .p2align 4, 0x90 _DiskPerfForwardIrpSynchronous: ## @DiskPerfForwardIrpSynchronous .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r14d callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int movl %eax, %ebx callq ___VERIFIER_nondet_int movq _s@GOTPCREL(%rip), %r15 movl (%r15), %eax movq _NP@GOTPCREL(%rip), %r12 cmpl (%r12), %eax jne LBB9_7 ## %bb.1: movq _compRegistered@GOTPCREL(%rip), %rax cmpl $0, (%rax) jne LBB9_7 ## %bb.2: movl $1, (%rax) movq _routine@GOTPCREL(%rip), %rax movl $0, (%rax) movl %ebx, %edi movl %r14d, %esi callq _IofCallDriver cmpl $259, %eax ## imm = 0x103 jne LBB9_10 ## %bb.3: movl (%r15), %eax movq _MPR3@GOTPCREL(%rip), %rcx movl (%rcx), %ecx cmpl %ecx, %eax jne LBB9_5 ## %bb.4: movq _setEventCalled@GOTPCREL(%rip), %rdx cmpl $1, (%rdx) je LBB9_8 LBB9_5: movq _customIrp@GOTPCREL(%rip), %rdx cmpl $1, (%rdx) jne LBB9_6 LBB9_8: movl (%r12), %eax movl %eax, (%r15) movl $0, (%rdx) jmp LBB9_9 LBB9_6: cmpl %ecx, %eax je LBB9_7 LBB9_9: callq ___VERIFIER_nondet_int movq _myStatus@GOTPCREL(%rip), %rax movl (%rax), %eax LBB9_10: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB9_7: xorl %eax, %eax callq ___VERIFIER_error .cfi_endproc ## -- End function .globl _DiskPerfRegisterDevice ## -- Begin function DiskPerfRegisterDevice .p2align 4, 0x90 _DiskPerfRegisterDevice: ## @DiskPerfRegisterDevice .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int movl %eax, %r15d callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int movl %eax, %r14d callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int movl %eax, %r12d callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int movl %eax, %ebx movq _customIrp@GOTPCREL(%rip), %r13 movl $1, (%r13) callq ___VERIFIER_nondet_int testl %eax, %eax jne LBB10_7 ## %bb.1: testl %ebx, %ebx je LBB10_7 ## %bb.2: movl %r15d, %edi movl %ebx, %esi callq _IofCallDriver cmpl $259, %eax ## imm = 0x103 jne LBB10_11 ## %bb.3: movq _s@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _MPR3@GOTPCREL(%rip), %rdx movl (%rdx), %edx cmpl %edx, %ecx jne LBB10_5 ## %bb.4: movq _setEventCalled@GOTPCREL(%rip), %rsi cmpl $1, (%rsi) je LBB10_6 LBB10_5: movq _customIrp@GOTPCREL(%rip), %rsi cmpl $1, (%rsi) jne LBB10_9 LBB10_6: movq _NP@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, (%rax) movl $0, (%rsi) jmp LBB10_10 LBB10_9: cmpl %edx, %ecx je LBB10_39 LBB10_10: callq ___VERIFIER_nondet_int movl %r14d, %eax LBB10_11: testl %eax, %eax jns LBB10_12 ## %bb.13: testl %r12d, %r12d je LBB10_7 ## %bb.14: callq ___VERIFIER_nondet_int movl %eax, %ebx movl $1, (%r13) callq ___VERIFIER_nondet_int testl %eax, %eax jne LBB10_7 ## %bb.15: testl %ebx, %ebx je LBB10_7 ## %bb.16: movl %r15d, %edi movl %ebx, %esi callq _IofCallDriver cmpl $259, %eax ## imm = 0x103 jne LBB10_26 ## %bb.17: movq _s@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _MPR3@GOTPCREL(%rip), %rdx movl (%rdx), %edx cmpl %edx, %ecx jne LBB10_19 ## %bb.18: movq _setEventCalled@GOTPCREL(%rip), %rsi cmpl $1, (%rsi) je LBB10_20 LBB10_19: cmpl $1, (%r13) movq %r13, %rsi jne LBB10_24 LBB10_20: movq _NP@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, (%rax) movl $0, (%rsi) jmp LBB10_25 LBB10_24: cmpl %edx, %ecx je LBB10_39 LBB10_25: callq ___VERIFIER_nondet_int movl %r14d, %eax LBB10_26: cmpl $-2147483643, %eax ## imm = 0x80000005 jne LBB10_31 ## %bb.27: callq ___VERIFIER_nondet_int movl %eax, %ebx movl $1, (%r13) callq ___VERIFIER_nondet_int testl %eax, %eax jne LBB10_7 ## %bb.28: testl %ebx, %ebx je LBB10_7 ## %bb.29: movl %r15d, %edi movl %ebx, %esi callq _IofCallDriver cmpl $259, %eax ## imm = 0x103 jne LBB10_31 ## %bb.30: callq _KeWaitForSingleObject movl %r14d, %eax LBB10_31: testl %eax, %eax js LBB10_12 ## %bb.32: callq ___VERIFIER_nondet_int movl %eax, %ebx movl $1, (%r13) callq ___VERIFIER_nondet_int testl %eax, %eax jne LBB10_7 ## %bb.33: movl $-1073741670, %eax ## imm = 0xC000009A testl %ebx, %ebx je LBB10_12 ## %bb.34: movl %r15d, %edi movl %ebx, %esi callq _IofCallDriver cmpl $259, %eax ## imm = 0x103 jne LBB10_12 ## %bb.35: callq _KeWaitForSingleObject movl %r14d, %eax jmp LBB10_12 LBB10_7: movl $-1073741670, %eax ## imm = 0xC000009A LBB10_12: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB10_39: xorl %eax, %eax callq ___VERIFIER_error .cfi_endproc ## -- End function .globl _IofCompleteRequest ## -- Begin function IofCompleteRequest .p2align 4, 0x90 _IofCompleteRequest: ## @IofCompleteRequest .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _s@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _NP@GOTPCREL(%rip), %rdx cmpl (%rdx), %ecx jne LBB11_2 ## %bb.1: movq _DC@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, (%rax) popq %rbp retq LBB11_2: xorl %eax, %eax callq ___VERIFIER_error .cfi_endproc ## -- End function .globl _IofCallDriver ## -- Begin function IofCallDriver .p2align 4, 0x90 _IofCallDriver: ## @IofCallDriver .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq ___VERIFIER_nondet_int movq _compRegistered@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB12_5 ## %bb.1: movq _routine@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB12_3 ## %bb.2: callq _DiskPerfIoCompletion jmp LBB12_5 LBB12_3: callq ___VERIFIER_nondet_int movq _setEventCalled@GOTPCREL(%rip), %rax movl $1, (%rax) movq _s@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _NP@GOTPCREL(%rip), %rdx cmpl (%rdx), %ecx jne LBB12_16 ## %bb.4: movq _MPR1@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, (%rax) LBB12_5: callq ___VERIFIER_nondet_int testl %eax, %eax je LBB12_6 ## %bb.7: callq ___VERIFIER_nondet_int cmpl $1, %eax setne %sil movl $-1073741823, %ecx ## imm = 0xC0000001 movl $259, %eax ## imm = 0x103 cmovel %ecx, %eax jmp LBB12_8 LBB12_6: xorl %esi, %esi xorl %eax, %eax LBB12_8: movq _s@GOTPCREL(%rip), %r8 movl (%r8), %edi movq _NP@GOTPCREL(%rip), %rdx movl (%rdx), %edx cmpl %edx, %edi jne LBB12_10 ## %bb.9: movq _IPC@GOTPCREL(%rip), %rdx movl (%rdx), %edx jmp LBB12_14 LBB12_10: movq _MPR1@GOTPCREL(%rip), %rcx cmpl (%rcx), %edi jne LBB12_12 ## %bb.11: movq _MPR3@GOTPCREL(%rip), %rcx testb %sil, %sil cmovnel (%rcx), %edx movl $259, %esi ## imm = 0x103 cmovel %eax, %esi jmp LBB12_15 LBB12_12: movq _SKIP1@GOTPCREL(%rip), %rcx cmpl (%rcx), %edi jne LBB12_16 ## %bb.13: movq _SKIP2@GOTPCREL(%rip), %rcx movl (%rcx), %edx LBB12_14: movl %eax, %esi LBB12_15: movl %edx, (%r8) movq _lowerDriverReturn@GOTPCREL(%rip), %rcx movl %esi, (%rcx) popq %rbp retq LBB12_16: xorl %eax, %eax callq ___VERIFIER_error .cfi_endproc ## -- End function .globl _DiskPerfDispatchPower ## -- Begin function DiskPerfDispatchPower .p2align 4, 0x90 _DiskPerfDispatchPower: ## @DiskPerfDispatchPower .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %esi, %ebx callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int movq _s@GOTPCREL(%rip), %rcx movl (%rcx), %edx movq _NP@GOTPCREL(%rip), %rsi cmpl (%rsi), %edx jne LBB13_2 ## %bb.1: movq _SKIP1@GOTPCREL(%rip), %rdx movl (%rdx), %edx movl %edx, (%rcx) movl %eax, %edi movl %ebx, %esi addq $8, %rsp popq %rbx popq %rbp jmp _PoCallDriver ## TAILCALL LBB13_2: xorl %eax, %eax callq ___VERIFIER_error .cfi_endproc ## -- End function .globl _PoCallDriver ## -- Begin function PoCallDriver .p2align 4, 0x90 _PoCallDriver: ## @PoCallDriver .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq ___VERIFIER_nondet_int movq _compRegistered@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB14_6 ## %bb.1: movq _routine@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, %eax je LBB14_4 ## %bb.2: cmpl $1, %eax jne LBB14_6 ## %bb.3: callq _DiskPerfIoCompletion jmp LBB14_6 LBB14_4: callq ___VERIFIER_nondet_int movq _setEventCalled@GOTPCREL(%rip), %rax movl $1, (%rax) movq _s@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _NP@GOTPCREL(%rip), %rdx cmpl (%rdx), %ecx jne LBB14_18 ## %bb.5: movq _MPR1@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, (%rax) LBB14_6: callq ___VERIFIER_nondet_int testl %eax, %eax je LBB14_7 ## %bb.8: callq ___VERIFIER_nondet_int cmpl $1, %eax setne %dl movl $-1073741823, %ecx ## imm = 0xC0000001 movl $259, %eax ## imm = 0x103 cmovel %ecx, %eax jmp LBB14_9 LBB14_7: xorl %edx, %edx xorl %eax, %eax LBB14_9: movq _s@GOTPCREL(%rip), %r8 movl (%r8), %edi movq _NP@GOTPCREL(%rip), %rsi movl (%rsi), %esi cmpl %esi, %edi jne LBB14_11 ## %bb.10: movq _IPC@GOTPCREL(%rip), %rdx movl (%rdx), %esi jmp LBB14_17 LBB14_11: movq _MPR1@GOTPCREL(%rip), %rcx cmpl (%rcx), %edi jne LBB14_14 ## %bb.12: testb %dl, %dl je LBB14_17 ## %bb.13: movq _MPR3@GOTPCREL(%rip), %rcx jmp LBB14_16 LBB14_14: movq _SKIP1@GOTPCREL(%rip), %rcx cmpl (%rcx), %edi jne LBB14_18 ## %bb.15: movq _SKIP2@GOTPCREL(%rip), %rcx LBB14_16: movl (%rcx), %esi LBB14_17: movl %esi, (%r8) movq _lowerDriverReturn@GOTPCREL(%rip), %rcx movl %eax, (%rcx) popq %rbp retq LBB14_18: xorl %eax, %eax callq ___VERIFIER_error .cfi_endproc ## -- End function .globl _KeWaitForSingleObject ## -- Begin function KeWaitForSingleObject .p2align 4, 0x90 _KeWaitForSingleObject: ## @KeWaitForSingleObject .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _s@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _MPR3@GOTPCREL(%rip), %rdx movl (%rdx), %edx cmpl %edx, %ecx jne LBB15_2 ## %bb.1: movq _setEventCalled@GOTPCREL(%rip), %rsi cmpl $1, (%rsi) je LBB15_5 LBB15_2: movq _customIrp@GOTPCREL(%rip), %rsi cmpl $1, (%rsi) jne LBB15_3 LBB15_5: movq _NP@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, (%rax) movl $0, (%rsi) jmp LBB15_6 LBB15_3: cmpl %edx, %ecx je LBB15_4 LBB15_6: callq ___VERIFIER_nondet_int testl %eax, %eax movl $-1073741823, %ecx ## imm = 0xC0000001 cmovnel %ecx, %eax popq %rbp retq LBB15_4: xorl %eax, %eax callq ___VERIFIER_error .cfi_endproc ## -- End function .globl _DiskPerfCreate ## -- Begin function DiskPerfCreate .p2align 4, 0x90 _DiskPerfCreate: ## @DiskPerfCreate .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _myStatus@GOTPCREL(%rip), %rax movl $0, (%rax) movq _s@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _NP@GOTPCREL(%rip), %rdx cmpl (%rdx), %ecx jne LBB16_2 ## %bb.1: movq _DC@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, (%rax) xorl %eax, %eax popq %rbp retq LBB16_2: xorl %eax, %eax callq ___VERIFIER_error .cfi_endproc ## -- End function .globl _DiskPerfIoCompletion ## -- Begin function DiskPerfIoCompletion .p2align 4, 0x90 _DiskPerfIoCompletion: ## @DiskPerfIoCompletion .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int movl %eax, %r14d callq ___VERIFIER_nondet_int movl %eax, %ebx callq ___VERIFIER_nondet_int testl %ebx, %ebx je LBB17_4 ## %bb.1: testl %r14d, %r14d je LBB17_4 ## %bb.2: movq _pended@GOTPCREL(%rip), %rax cmpl $0, (%rax) jne LBB17_5 ## %bb.3: movl $1, (%rax) LBB17_4: xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq LBB17_5: xorl %eax, %eax callq ___VERIFIER_error .cfi_endproc ## -- End function .globl _DiskPerfDeviceControl ## -- Begin function DiskPerfDeviceControl .p2align 4, 0x90 _DiskPerfDeviceControl: ## @DiskPerfDeviceControl .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, -44(%rbp) ## 4-byte Spill callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int movl %eax, %r15d callq ___VERIFIER_nondet_int movl %eax, %r14d callq ___VERIFIER_nondet_int movl %eax, %r13d callq ___VERIFIER_nondet_int movl %eax, %ebx callq ___VERIFIER_nondet_int movl %eax, %r12d callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int cmpl $458784, %r14d ## imm = 0x70020 jne LBB18_9 ## %bb.1: movl $-1073741789, %eax ## imm = 0xC0000023 cmpl %ebx, %r13d jl LBB18_5 ## %bb.2: xorl %eax, %eax testl %r12d, %r12d je LBB18_3 LBB18_5: movq _myStatus@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movq _s@GOTPCREL(%rip), %rcx movl (%rcx), %edx movq _NP@GOTPCREL(%rip), %rsi cmpl (%rsi), %edx jne LBB18_8 ## %bb.6: movq _DC@GOTPCREL(%rip), %rdx movl (%rdx), %edx movl %edx, (%rcx) LBB18_7: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB18_9: movl %r15d, %edi movl -44(%rbp), %esi ## 4-byte Reload addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _IofCallDriver ## TAILCALL LBB18_3: movq _myStatus@GOTPCREL(%rip), %rax movl $-1073741823, (%rax) ## imm = 0xC0000001 movq _s@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _NP@GOTPCREL(%rip), %rdx cmpl (%rdx), %ecx jne LBB18_8 ## %bb.4: movq _DC@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, (%rax) movl $-1073741823, %eax ## imm = 0xC0000001 jmp LBB18_7 LBB18_8: xorl %eax, %eax callq ___VERIFIER_error .cfi_endproc ## -- End function .globl _DiskPerfShutdownFlush ## -- Begin function DiskPerfShutdownFlush .p2align 4, 0x90 _DiskPerfShutdownFlush: ## @DiskPerfShutdownFlush .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %esi, %ebx callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int movl %eax, %edi movl %ebx, %esi addq $8, %rsp popq %rbx popq %rbp jmp _IofCallDriver ## TAILCALL .cfi_endproc ## -- End function .globl _DiskPerfUnload ## -- Begin function DiskPerfUnload .p2align 4, 0x90 _DiskPerfUnload: ## @DiskPerfUnload .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .globl _IoBuildDeviceIoControlRequest ## -- Begin function IoBuildDeviceIoControlRequest .p2align 4, 0x90 _IoBuildDeviceIoControlRequest: ## @IoBuildDeviceIoControlRequest .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 callq ___VERIFIER_nondet_int movl %eax, %ebx movq _customIrp@GOTPCREL(%rip), %rax movl $1, (%rax) callq ___VERIFIER_nondet_int xorl %ecx, %ecx testl %eax, %eax cmovel %ebx, %ecx movl %ecx, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .globl _stub_driver_init ## -- Begin function stub_driver_init .p2align 4, 0x90 _stub_driver_init: ## @stub_driver_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _NP@GOTPCREL(%rip), %rax movl (%rax), %eax movq _s@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movq _customIrp@GOTPCREL(%rip), %rax movl $0, (%rax) movq _setEventCalled@GOTPCREL(%rip), %rax movl $0, (%rax) movq _lowerDriverReturn@GOTPCREL(%rip), %rax movl $0, (%rax) movq _compRegistered@GOTPCREL(%rip), %rax movl $0, (%rax) movq _compFptr@GOTPCREL(%rip), %rax movl $0, (%rax) movq _pended@GOTPCREL(%rip), %rax movl $0, (%rax) popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int movl %eax, %r12d callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int movl %eax, %ebx callq ___VERIFIER_nondet_int movl %eax, %r14d callq ___VERIFIER_nondet_int movl %eax, -44(%rbp) ## 4-byte Spill movq _myStatus@GOTPCREL(%rip), %rax movl $0, (%rax) movq _routine@GOTPCREL(%rip), %rax movl $0, (%rax) movq _Executive@GOTPCREL(%rip), %rax movl $0, (%rax) movq _KernelMode@GOTPCREL(%rip), %rax movl $0, (%rax) movq _pirp@GOTPCREL(%rip), %rax movl %ebx, (%rax) movq _UNLOADED@GOTPCREL(%rip), %rbx movl $0, (%rbx) movq _NP@GOTPCREL(%rip), %rdx movl $1, (%rdx) movq _DC@GOTPCREL(%rip), %rdi movl $2, (%rdi) movq _SKIP1@GOTPCREL(%rip), %rax movl $3, (%rax) movq _SKIP2@GOTPCREL(%rip), %rsi movl $4, (%rsi) movq _MPR1@GOTPCREL(%rip), %rax movl $5, (%rax) movq _MPR3@GOTPCREL(%rip), %rax movl $6, (%rax) movq _IPC@GOTPCREL(%rip), %rcx movl $7, (%rcx) movq _s@GOTPCREL(%rip), %r13 movl $0, (%r13) movq _pended@GOTPCREL(%rip), %r15 movl $0, (%r15) movq _compFptr@GOTPCREL(%rip), %r8 movl $0, (%r8) movq _compRegistered@GOTPCREL(%rip), %r9 movl $0, (%r9) movq _lowerDriverReturn@GOTPCREL(%rip), %r11 movl $0, (%r11) movq _setEventCalled@GOTPCREL(%rip), %r10 movl $0, (%r10) movq _customIrp@GOTPCREL(%rip), %rax movl $0, (%rax) testl %r12d, %r12d js LBB23_14 ## %bb.1: xorl %edi, %edi testl %r14d, %r14d movl $-1073741637, %ebx ## imm = 0xC00000BB cmovnel %edi, %ebx movq _myStatus@GOTPCREL(%rip), %r14 movl %ebx, (%r14) movl $1, (%r13) movl $0, (%rax) movl $0, (%r10) movq %r11, %rbx movl $0, (%r11) movl $0, (%r9) movl $0, (%r8) movl $0, (%r15) callq ___VERIFIER_nondet_int testl %eax, %eax je LBB23_7 ## %bb.2: callq ___VERIFIER_nondet_int cmpl $2, %eax jne LBB23_3 ## %bb.9: movq _pirp@GOTPCREL(%rip), %rax movl (%rax), %esi callq _DiskPerfDeviceControl jmp LBB23_13 LBB23_7: movl $0, (%r14) movl (%r13), %eax movq _NP@GOTPCREL(%rip), %rdx cmpl (%rdx), %eax jne LBB23_24 ## %bb.8: movq _DC@GOTPCREL(%rip), %rdi movl (%rdi), %eax movl %eax, (%r13) xorl %r12d, %r12d movq %rbx, %r11 movq _UNLOADED@GOTPCREL(%rip), %rbx movq _SKIP2@GOTPCREL(%rip), %rsi movq _IPC@GOTPCREL(%rip), %rcx jmp LBB23_14 LBB23_3: callq ___VERIFIER_nondet_int cmpl $3, %eax jne LBB23_4 ## %bb.10: movq _pirp@GOTPCREL(%rip), %rax movl (%rax), %esi movl -44(%rbp), %edi ## 4-byte Reload callq _DiskPerfDispatchPnp jmp LBB23_13 LBB23_4: callq ___VERIFIER_nondet_int cmpl $4, %eax jne LBB23_5 ## %bb.11: movq _pirp@GOTPCREL(%rip), %rax movl (%rax), %r14d callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int movl (%r13), %ecx movq _NP@GOTPCREL(%rip), %rdx cmpl (%rdx), %ecx jne LBB23_24 ## %bb.12: movq _SKIP1@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, (%r13) movl %eax, %edi movl %r14d, %esi callq _PoCallDriver jmp LBB23_13 LBB23_5: callq ___VERIFIER_nondet_int movl $-1, %r12d cmpl $12, %eax jne LBB23_28 ## %bb.6: movq _pirp@GOTPCREL(%rip), %rax movl (%rax), %r14d callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int callq ___VERIFIER_nondet_int movl %eax, %edi movl %r14d, %esi callq _IofCallDriver LBB23_13: movl %eax, %r12d movq _DC@GOTPCREL(%rip), %rdi movq %rbx, %r11 movq _UNLOADED@GOTPCREL(%rip), %rbx movq _SKIP2@GOTPCREL(%rip), %rsi movq _IPC@GOTPCREL(%rip), %rcx movq _NP@GOTPCREL(%rip), %rdx LBB23_14: movl (%r15), %r8d movl (%r13), %eax cmpl $1, %r8d jne LBB23_17 ## %bb.15: cmpl (%rdx), %eax je LBB23_28 ## %bb.16: movq _MPR3@GOTPCREL(%rip), %rdx cmpl (%rdx), %eax je LBB23_28 LBB23_17: cmpl (%rbx), %eax je LBB23_28 ## %bb.18: cmpl $-1, %r12d je LBB23_28 ## %bb.19: movl (%rdi), %edi cmpl (%rsi), %eax je LBB23_22 ## %bb.20: cmpl (%rcx), %eax je LBB23_22 ## %bb.21: cmpl %edi, %eax jne LBB23_24 LBB23_22: cmpl $1, %r8d jne LBB23_25 ## %bb.23: cmpl $259, %r12d ## imm = 0x103 movl $259, %r12d ## imm = 0x103 jne LBB23_24 LBB23_28: movl %r12d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB23_25: cmpl %edi, %eax jne LBB23_27 ## %bb.26: cmpl $259, %r12d ## imm = 0x103 jne LBB23_28 LBB23_24: xorl %eax, %eax callq ___VERIFIER_error LBB23_27: cmpl (%r11), %r12d je LBB23_28 jmp LBB23_24 .cfi_endproc ## -- End function .globl _stubMoreProcessingRequired ## -- Begin function stubMoreProcessingRequired .p2align 4, 0x90 _stubMoreProcessingRequired: ## @stubMoreProcessingRequired .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _s@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _NP@GOTPCREL(%rip), %rdx cmpl (%rdx), %ecx jne LBB24_2 ## %bb.1: movq _MPR1@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, (%rax) popq %rbp retq LBB24_2: xorl %eax, %eax callq ___VERIFIER_error .cfi_endproc ## -- End function .comm _UNLOADED,4,2 ## @UNLOADED .comm _NP,4,2 ## @NP .comm _DC,4,2 ## @DC .comm _SKIP1,4,2 ## @SKIP1 .comm _SKIP2,4,2 ## @SKIP2 .comm _MPR1,4,2 ## @MPR1 .comm _MPR3,4,2 ## @MPR3 .comm _IPC,4,2 ## @IPC .comm _s,4,2 ## @s .comm _pended,4,2 ## @pended .comm _compFptr,4,2 ## @compFptr .comm _compRegistered,4,2 ## @compRegistered .comm _lowerDriverReturn,4,2 ## @lowerDriverReturn .comm _setEventCalled,4,2 ## @setEventCalled .comm _customIrp,4,2 ## @customIrp .comm _myStatus,4,2 ## @myStatus .comm _routine,4,2 ## @routine .comm _Executive,4,2 ## @Executive .comm _KernelMode,4,2 ## @KernelMode .comm _pirp,4,2 ## @pirp .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _errorFn ; -- Begin function errorFn .p2align 2 _errorFn: ; @errorFn .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl ___VERIFIER_error .cfi_endproc ; -- End function .globl __BLAST_init ; -- Begin function _BLAST_init .p2align 2 __BLAST_init: ; @_BLAST_init .cfi_startproc ; %bb.0: Lloh0: adrp x8, _NP@GOTPAGE Lloh1: ldr x8, [x8, _NP@GOTPAGEOFF] mov w9, #1 Lloh2: str w9, [x8] Lloh3: adrp x8, _DC@GOTPAGE Lloh4: ldr x8, [x8, _DC@GOTPAGEOFF] mov w9, #2 Lloh5: str w9, [x8] Lloh6: adrp x8, _SKIP1@GOTPAGE Lloh7: ldr x8, [x8, _SKIP1@GOTPAGEOFF] mov w9, #3 Lloh8: str w9, [x8] Lloh9: adrp x8, _SKIP2@GOTPAGE Lloh10: ldr x8, [x8, _SKIP2@GOTPAGEOFF] mov w9, #4 Lloh11: str w9, [x8] Lloh12: adrp x8, _MPR1@GOTPAGE Lloh13: ldr x8, [x8, _MPR1@GOTPAGEOFF] mov w9, #5 Lloh14: str w9, [x8] Lloh15: adrp x8, _MPR3@GOTPAGE Lloh16: ldr x8, [x8, _MPR3@GOTPAGEOFF] mov w9, #6 Lloh17: str w9, [x8] Lloh18: adrp x8, _UNLOADED@GOTPAGE Lloh19: ldr x8, [x8, _UNLOADED@GOTPAGEOFF] Lloh20: adrp x9, _IPC@GOTPAGE Lloh21: ldr x9, [x9, _IPC@GOTPAGEOFF] Lloh22: str wzr, [x8] mov w8, #7 Lloh23: str w8, [x9] Lloh24: adrp x8, _s@GOTPAGE Lloh25: ldr x8, [x8, _s@GOTPAGEOFF] Lloh26: str wzr, [x8] Lloh27: adrp x8, _pended@GOTPAGE Lloh28: ldr x8, [x8, _pended@GOTPAGEOFF] Lloh29: str wzr, [x8] Lloh30: adrp x8, _compFptr@GOTPAGE Lloh31: ldr x8, [x8, _compFptr@GOTPAGEOFF] Lloh32: str wzr, [x8] Lloh33: adrp x8, _compRegistered@GOTPAGE Lloh34: ldr x8, [x8, _compRegistered@GOTPAGEOFF] Lloh35: str wzr, [x8] Lloh36: adrp x8, _lowerDriverReturn@GOTPAGE Lloh37: ldr x8, [x8, _lowerDriverReturn@GOTPAGEOFF] Lloh38: str wzr, [x8] Lloh39: adrp x8, _setEventCalled@GOTPAGE Lloh40: ldr x8, [x8, _setEventCalled@GOTPAGEOFF] Lloh41: str wzr, [x8] Lloh42: adrp x8, _customIrp@GOTPAGE Lloh43: ldr x8, [x8, _customIrp@GOTPAGEOFF] Lloh44: str wzr, [x8] ret .loh AdrpLdrGotStr Lloh42, Lloh43, Lloh44 .loh AdrpLdrGotStr Lloh39, Lloh40, Lloh41 .loh AdrpLdrGotStr Lloh36, Lloh37, Lloh38 .loh AdrpLdrGotStr Lloh33, Lloh34, Lloh35 .loh AdrpLdrGotStr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGotStr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGotStr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotStr Lloh20, Lloh21, Lloh23 .loh AdrpLdrGotStr Lloh18, Lloh19, Lloh22 .loh AdrpLdrGotStr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotStr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotStr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotStr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .globl _DiskPerfSyncFilterWithTarget ; -- Begin function DiskPerfSyncFilterWithTarget .p2align 2 _DiskPerfSyncFilterWithTarget: ; @DiskPerfSyncFilterWithTarget .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl _DiskPerfDispatchPnp ; -- Begin function DiskPerfDispatchPnp .p2align 2 _DiskPerfDispatchPnp: ; @DiskPerfDispatchPnp .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int cmp w0, #2 b.eq LBB3_3 ; %bb.1: cbnz w0, LBB3_6 ; %bb.2: bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int mov x1, x19 bl _DiskPerfForwardIrpSynchronous mov x19, x0 bl _DiskPerfRegisterDevice Lloh45: adrp x9, _myStatus@GOTPAGE Lloh46: ldr x9, [x9, _myStatus@GOTPAGEOFF] Lloh47: adrp x8, _s@GOTPAGE Lloh48: ldr x8, [x8, _s@GOTPAGEOFF] Lloh49: str w19, [x9] ldr w9, [x8] Lloh50: adrp x10, _NP@GOTPAGE Lloh51: ldr x10, [x10, _NP@GOTPAGEOFF] Lloh52: ldr w10, [x10] cmp w9, w10 b.eq LBB3_5 b LBB3_8 LBB3_3: bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int mov x1, x19 bl _DiskPerfForwardIrpSynchronous Lloh53: adrp x9, _myStatus@GOTPAGE Lloh54: ldr x9, [x9, _myStatus@GOTPAGEOFF] Lloh55: adrp x8, _s@GOTPAGE Lloh56: ldr x8, [x8, _s@GOTPAGEOFF] Lloh57: str w0, [x9] ldr w9, [x8] Lloh58: adrp x10, _NP@GOTPAGE Lloh59: ldr x10, [x10, _NP@GOTPAGEOFF] Lloh60: ldr w10, [x10] cmp w9, w10 b.ne LBB3_8 ; %bb.4: mov x19, x0 LBB3_5: Lloh61: adrp x9, _DC@GOTPAGE Lloh62: ldr x9, [x9, _DC@GOTPAGEOFF] Lloh63: ldr w9, [x9] str w9, [x8] mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB3_6: bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int Lloh64: adrp x8, _s@GOTPAGE Lloh65: ldr x8, [x8, _s@GOTPAGEOFF] ldr w9, [x8] Lloh66: adrp x10, _NP@GOTPAGE Lloh67: ldr x10, [x10, _NP@GOTPAGEOFF] Lloh68: ldr w10, [x10] cmp w9, w10 b.ne LBB3_8 ; %bb.7: Lloh69: adrp x9, _SKIP1@GOTPAGE Lloh70: ldr x9, [x9, _SKIP1@GOTPAGEOFF] Lloh71: ldr w9, [x9] str w9, [x8] mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _IofCallDriver LBB3_8: bl ___VERIFIER_error .loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52 .loh AdrpLdrGot Lloh47, Lloh48 .loh AdrpLdrGotStr Lloh45, Lloh46, Lloh49 .loh AdrpLdrGotLdr Lloh58, Lloh59, Lloh60 .loh AdrpLdrGot Lloh55, Lloh56 .loh AdrpLdrGotStr Lloh53, Lloh54, Lloh57 .loh AdrpLdrGotLdr Lloh61, Lloh62, Lloh63 .loh AdrpLdrGotLdr Lloh66, Lloh67, Lloh68 .loh AdrpLdrGot Lloh64, Lloh65 .loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh71 .cfi_endproc ; -- End function .globl _DiskPerfStartDevice ; -- Begin function DiskPerfStartDevice .p2align 2 _DiskPerfStartDevice: ; @DiskPerfStartDevice .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int mov x1, x19 bl _DiskPerfForwardIrpSynchronous mov x19, x0 bl _DiskPerfRegisterDevice Lloh72: adrp x9, _myStatus@GOTPAGE Lloh73: ldr x9, [x9, _myStatus@GOTPAGEOFF] Lloh74: adrp x8, _s@GOTPAGE Lloh75: ldr x8, [x8, _s@GOTPAGEOFF] Lloh76: str w19, [x9] ldr w9, [x8] Lloh77: adrp x10, _NP@GOTPAGE Lloh78: ldr x10, [x10, _NP@GOTPAGEOFF] Lloh79: ldr w10, [x10] cmp w9, w10 b.ne LBB4_2 ; %bb.1: Lloh80: adrp x9, _DC@GOTPAGE Lloh81: ldr x9, [x9, _DC@GOTPAGEOFF] Lloh82: ldr w9, [x9] str w9, [x8] mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB4_2: bl ___VERIFIER_error .loh AdrpLdrGotLdr Lloh77, Lloh78, Lloh79 .loh AdrpLdrGot Lloh74, Lloh75 .loh AdrpLdrGotStr Lloh72, Lloh73, Lloh76 .loh AdrpLdrGotLdr Lloh80, Lloh81, Lloh82 .cfi_endproc ; -- End function .globl _DiskPerfRemoveDevice ; -- Begin function DiskPerfRemoveDevice .p2align 2 _DiskPerfRemoveDevice: ; @DiskPerfRemoveDevice .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int mov x1, x19 bl _DiskPerfForwardIrpSynchronous Lloh83: adrp x9, _myStatus@GOTPAGE Lloh84: ldr x9, [x9, _myStatus@GOTPAGEOFF] Lloh85: adrp x8, _s@GOTPAGE Lloh86: ldr x8, [x8, _s@GOTPAGEOFF] Lloh87: str w0, [x9] ldr w9, [x8] Lloh88: adrp x10, _NP@GOTPAGE Lloh89: ldr x10, [x10, _NP@GOTPAGEOFF] Lloh90: ldr w10, [x10] cmp w9, w10 b.ne LBB5_2 ; %bb.1: Lloh91: adrp x9, _DC@GOTPAGE Lloh92: ldr x9, [x9, _DC@GOTPAGEOFF] Lloh93: ldr w9, [x9] str w9, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB5_2: bl ___VERIFIER_error .loh AdrpLdrGotLdr Lloh88, Lloh89, Lloh90 .loh AdrpLdrGot Lloh85, Lloh86 .loh AdrpLdrGotStr Lloh83, Lloh84, Lloh87 .loh AdrpLdrGotLdr Lloh91, Lloh92, Lloh93 .cfi_endproc ; -- End function .globl _DiskPerfSendToNextDriver ; -- Begin function DiskPerfSendToNextDriver .p2align 2 _DiskPerfSendToNextDriver: ; @DiskPerfSendToNextDriver .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int Lloh94: adrp x8, _s@GOTPAGE Lloh95: ldr x8, [x8, _s@GOTPAGEOFF] ldr w9, [x8] Lloh96: adrp x10, _NP@GOTPAGE Lloh97: ldr x10, [x10, _NP@GOTPAGEOFF] Lloh98: ldr w10, [x10] cmp w9, w10 b.ne LBB6_2 ; %bb.1: Lloh99: adrp x9, _SKIP1@GOTPAGE Lloh100: ldr x9, [x9, _SKIP1@GOTPAGEOFF] Lloh101: ldr w9, [x9] str w9, [x8] mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _IofCallDriver LBB6_2: bl ___VERIFIER_error .loh AdrpLdrGotLdr Lloh96, Lloh97, Lloh98 .loh AdrpLdrGot Lloh94, Lloh95 .loh AdrpLdrGotLdr Lloh99, Lloh100, Lloh101 .cfi_endproc ; -- End function .globl _DiskPerfIrpCompletion ; -- Begin function DiskPerfIrpCompletion .p2align 2 _DiskPerfIrpCompletion: ; @DiskPerfIrpCompletion .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl ___VERIFIER_nondet_int Lloh102: adrp x8, _setEventCalled@GOTPAGE Lloh103: ldr x8, [x8, _setEventCalled@GOTPAGEOFF] mov w9, #1 Lloh104: str w9, [x8] mov w0, #22 movk w0, #49152, lsl #16 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotStr Lloh102, Lloh103, Lloh104 .cfi_endproc ; -- End function .globl _KeSetEvent ; -- Begin function KeSetEvent .p2align 2 _KeSetEvent: ; @KeSetEvent .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl ___VERIFIER_nondet_int Lloh105: adrp x8, _setEventCalled@GOTPAGE Lloh106: ldr x8, [x8, _setEventCalled@GOTPAGEOFF] mov w9, #1 Lloh107: str w9, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotStr Lloh105, Lloh106, Lloh107 .cfi_endproc ; -- End function .globl _DiskPerfForwardIrpSynchronous ; -- Begin function DiskPerfForwardIrpSynchronous .p2align 2 _DiskPerfForwardIrpSynchronous: ; @DiskPerfForwardIrpSynchronous .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int mov x20, x0 bl ___VERIFIER_nondet_int Lloh108: adrp x21, _s@GOTPAGE Lloh109: ldr x21, [x21, _s@GOTPAGEOFF] ldr w8, [x21] Lloh110: adrp x22, _NP@GOTPAGE Lloh111: ldr x22, [x22, _NP@GOTPAGEOFF] ldr w9, [x22] cmp w8, w9 b.ne LBB9_9 ; %bb.1: Lloh112: adrp x8, _compRegistered@GOTPAGE Lloh113: ldr x8, [x8, _compRegistered@GOTPAGEOFF] ldr w9, [x8] cbnz w9, LBB9_9 ; %bb.2: mov w9, #1 str w9, [x8] Lloh114: adrp x8, _routine@GOTPAGE Lloh115: ldr x8, [x8, _routine@GOTPAGEOFF] Lloh116: str wzr, [x8] mov x0, x20 mov x1, x19 bl _IofCallDriver cmp w0, #259 b.ne LBB9_8 ; %bb.3: ldr w8, [x21] Lloh117: adrp x9, _MPR3@GOTPAGE Lloh118: ldr x9, [x9, _MPR3@GOTPAGEOFF] Lloh119: ldr w10, [x9] Lloh120: adrp x9, _setEventCalled@GOTPAGE Lloh121: ldr x9, [x9, _setEventCalled@GOTPAGEOFF] ldr w11, [x9] cmp w8, w10 ccmp w11, #1, #0, eq b.eq LBB9_5 ; %bb.4: Lloh122: adrp x9, _customIrp@GOTPAGE Lloh123: ldr x9, [x9, _customIrp@GOTPAGEOFF] ldr w11, [x9] cmp w11, #1 b.ne LBB9_6 LBB9_5: ldr w8, [x22] str w8, [x21] str wzr, [x9] b LBB9_7 LBB9_6: cmp w8, w10 b.eq LBB9_9 LBB9_7: bl ___VERIFIER_nondet_int Lloh124: adrp x8, _myStatus@GOTPAGE Lloh125: ldr x8, [x8, _myStatus@GOTPAGEOFF] Lloh126: ldr w0, [x8] LBB9_8: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB9_9: bl ___VERIFIER_error .loh AdrpLdrGot Lloh110, Lloh111 .loh AdrpLdrGot Lloh108, Lloh109 .loh AdrpLdrGot Lloh112, Lloh113 .loh AdrpLdrGotStr Lloh114, Lloh115, Lloh116 .loh AdrpLdrGot Lloh120, Lloh121 .loh AdrpLdrGotLdr Lloh117, Lloh118, Lloh119 .loh AdrpLdrGot Lloh122, Lloh123 .loh AdrpLdrGotLdr Lloh124, Lloh125, Lloh126 .cfi_endproc ; -- End function .globl _DiskPerfRegisterDevice ; -- Begin function DiskPerfRegisterDevice .p2align 2 _DiskPerfRegisterDevice: ; @DiskPerfRegisterDevice .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int mov x20, x0 bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int mov x19, x0 bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int mov x21, x0 bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int mov x22, x0 Lloh127: adrp x23, _customIrp@GOTPAGE Lloh128: ldr x23, [x23, _customIrp@GOTPAGEOFF] mov w8, #1 str w8, [x23] bl ___VERIFIER_nondet_int cbnz w0, LBB10_30 ; %bb.1: cbz w22, LBB10_30 ; %bb.2: mov x0, x20 mov x1, x22 bl _IofCallDriver cmp w0, #259 b.ne LBB10_9 ; %bb.3: Lloh129: adrp x8, _s@GOTPAGE Lloh130: ldr x8, [x8, _s@GOTPAGEOFF] ldr w9, [x8] Lloh131: adrp x10, _MPR3@GOTPAGE Lloh132: ldr x10, [x10, _MPR3@GOTPAGEOFF] Lloh133: ldr w10, [x10] cmp w9, w10 b.ne LBB10_5 ; %bb.4: Lloh134: adrp x11, _setEventCalled@GOTPAGE Lloh135: ldr x11, [x11, _setEventCalled@GOTPAGEOFF] ldr w12, [x11] cmp w12, #1 b.eq LBB10_6 LBB10_5: ldr w12, [x23] mov x11, x23 cmp w12, #1 b.ne LBB10_7 LBB10_6: Lloh136: adrp x9, _NP@GOTPAGE Lloh137: ldr x9, [x9, _NP@GOTPAGEOFF] Lloh138: ldr w9, [x9] str w9, [x8] str wzr, [x11] b LBB10_8 LBB10_7: cmp w9, w10 b.eq LBB10_32 LBB10_8: bl ___VERIFIER_nondet_int mov x0, x19 LBB10_9: tbz w0, #31, LBB10_31 ; %bb.10: cbz w21, LBB10_30 ; %bb.11: bl ___VERIFIER_nondet_int mov x21, x0 mov w8, #1 str w8, [x23] bl ___VERIFIER_nondet_int cbnz w0, LBB10_30 ; %bb.12: cbz w21, LBB10_30 ; %bb.13: mov x0, x20 mov x1, x21 bl _IofCallDriver cmp w0, #259 b.ne LBB10_20 ; %bb.14: Lloh139: adrp x8, _s@GOTPAGE Lloh140: ldr x8, [x8, _s@GOTPAGEOFF] ldr w9, [x8] Lloh141: adrp x10, _MPR3@GOTPAGE Lloh142: ldr x10, [x10, _MPR3@GOTPAGEOFF] Lloh143: ldr w10, [x10] cmp w9, w10 b.ne LBB10_16 ; %bb.15: Lloh144: adrp x11, _setEventCalled@GOTPAGE Lloh145: ldr x11, [x11, _setEventCalled@GOTPAGEOFF] ldr w12, [x11] cmp w12, #1 b.eq LBB10_17 LBB10_16: ldr w12, [x23] mov x11, x23 cmp w12, #1 b.ne LBB10_18 LBB10_17: Lloh146: adrp x9, _NP@GOTPAGE Lloh147: ldr x9, [x9, _NP@GOTPAGEOFF] Lloh148: ldr w9, [x9] str w9, [x8] str wzr, [x11] b LBB10_19 LBB10_18: cmp w9, w10 b.eq LBB10_32 LBB10_19: bl ___VERIFIER_nondet_int mov x0, x19 LBB10_20: mov w8, #5 movk w8, #32768, lsl #16 cmp w0, w8 b.ne LBB10_25 ; %bb.21: bl ___VERIFIER_nondet_int mov x21, x0 mov w8, #1 str w8, [x23] bl ___VERIFIER_nondet_int cbnz w0, LBB10_30 ; %bb.22: cbz w21, LBB10_30 ; %bb.23: mov x0, x20 mov x1, x21 bl _IofCallDriver cmp w0, #259 b.ne LBB10_25 ; %bb.24: bl _KeWaitForSingleObject mov x0, x19 LBB10_25: tbnz w0, #31, LBB10_31 ; %bb.26: bl ___VERIFIER_nondet_int mov x21, x0 mov w8, #1 str w8, [x23] bl ___VERIFIER_nondet_int cbnz w0, LBB10_30 ; %bb.27: mov w0, #154 movk w0, #49152, lsl #16 cbz w21, LBB10_31 ; %bb.28: mov x0, x20 mov x1, x21 bl _IofCallDriver cmp w0, #259 b.ne LBB10_31 ; %bb.29: bl _KeWaitForSingleObject mov x0, x19 b LBB10_31 LBB10_30: mov w0, #154 movk w0, #49152, lsl #16 LBB10_31: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB10_32: bl ___VERIFIER_error .loh AdrpLdrGot Lloh127, Lloh128 .loh AdrpLdrGotLdr Lloh131, Lloh132, Lloh133 .loh AdrpLdrGot Lloh129, Lloh130 .loh AdrpLdrGot Lloh134, Lloh135 .loh AdrpLdrGotLdr Lloh136, Lloh137, Lloh138 .loh AdrpLdrGotLdr Lloh141, Lloh142, Lloh143 .loh AdrpLdrGot Lloh139, Lloh140 .loh AdrpLdrGot Lloh144, Lloh145 .loh AdrpLdrGotLdr Lloh146, Lloh147, Lloh148 .cfi_endproc ; -- End function .globl _IofCompleteRequest ; -- Begin function IofCompleteRequest .p2align 2 _IofCompleteRequest: ; @IofCompleteRequest .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh149: adrp x8, _s@GOTPAGE Lloh150: ldr x8, [x8, _s@GOTPAGEOFF] ldr w9, [x8] Lloh151: adrp x10, _NP@GOTPAGE Lloh152: ldr x10, [x10, _NP@GOTPAGEOFF] Lloh153: ldr w10, [x10] cmp w9, w10 b.ne LBB11_2 ; %bb.1: Lloh154: adrp x9, _DC@GOTPAGE Lloh155: ldr x9, [x9, _DC@GOTPAGEOFF] Lloh156: ldr w9, [x9] str w9, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB11_2: bl ___VERIFIER_error .loh AdrpLdrGotLdr Lloh151, Lloh152, Lloh153 .loh AdrpLdrGot Lloh149, Lloh150 .loh AdrpLdrGotLdr Lloh154, Lloh155, Lloh156 .cfi_endproc ; -- End function .globl _IofCallDriver ; -- Begin function IofCallDriver .p2align 2 _IofCallDriver: ; @IofCallDriver .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 bl ___VERIFIER_nondet_int Lloh157: adrp x8, _compRegistered@GOTPAGE Lloh158: ldr x8, [x8, _compRegistered@GOTPAGEOFF] Lloh159: ldr w8, [x8] Lloh160: adrp x19, _s@GOTPAGE Lloh161: ldr x19, [x19, _s@GOTPAGEOFF] Lloh162: adrp x20, _NP@GOTPAGE Lloh163: ldr x20, [x20, _NP@GOTPAGEOFF] cbz w8, LBB12_3 ; %bb.1: Lloh164: adrp x8, _routine@GOTPAGE Lloh165: ldr x8, [x8, _routine@GOTPAGEOFF] Lloh166: ldr w8, [x8] cbz w8, LBB12_5 ; %bb.2: bl _DiskPerfIoCompletion LBB12_3: bl ___VERIFIER_nondet_int cbz w0, LBB12_7 LBB12_4: bl ___VERIFIER_nondet_int mov w8, #259 mov w9, #-1073741823 cmp w0, #1 csel w0, w9, w8, eq cset w8, ne b LBB12_8 LBB12_5: bl ___VERIFIER_nondet_int Lloh167: adrp x8, _setEventCalled@GOTPAGE Lloh168: ldr x8, [x8, _setEventCalled@GOTPAGEOFF] mov w9, #1 Lloh169: str w9, [x8] ldr w8, [x19] ldr w9, [x20] cmp w8, w9 b.ne LBB12_16 ; %bb.6: Lloh170: adrp x8, _MPR1@GOTPAGE Lloh171: ldr x8, [x8, _MPR1@GOTPAGEOFF] Lloh172: ldr w8, [x8] str w8, [x19] bl ___VERIFIER_nondet_int cbnz w0, LBB12_4 LBB12_7: mov w8, #0 LBB12_8: ldr w9, [x19] ldr w10, [x20] cmp w9, w10 b.ne LBB12_10 ; %bb.9: Lloh173: adrp x8, _IPC@GOTPAGE Lloh174: ldr x8, [x8, _IPC@GOTPAGEOFF] b LBB12_14 LBB12_10: Lloh175: adrp x11, _MPR1@GOTPAGE Lloh176: ldr x11, [x11, _MPR1@GOTPAGEOFF] Lloh177: ldr w11, [x11] cmp w9, w11 b.ne LBB12_12 ; %bb.11: Lloh178: adrp x9, _MPR3@GOTPAGE Lloh179: ldr x9, [x9, _MPR3@GOTPAGEOFF] Lloh180: ldr w9, [x9] cmp w8, #0 csel w8, w9, w10, ne mov w9, #259 csel w9, w9, w0, ne b LBB12_15 LBB12_12: Lloh181: adrp x8, _SKIP1@GOTPAGE Lloh182: ldr x8, [x8, _SKIP1@GOTPAGEOFF] Lloh183: ldr w8, [x8] cmp w9, w8 b.ne LBB12_16 ; %bb.13: Lloh184: adrp x8, _SKIP2@GOTPAGE Lloh185: ldr x8, [x8, _SKIP2@GOTPAGEOFF] LBB12_14: ldr w8, [x8] mov x9, x0 LBB12_15: str w8, [x19] Lloh186: adrp x8, _lowerDriverReturn@GOTPAGE Lloh187: ldr x8, [x8, _lowerDriverReturn@GOTPAGEOFF] Lloh188: str w9, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB12_16: bl ___VERIFIER_error .loh AdrpLdrGot Lloh162, Lloh163 .loh AdrpLdrGot Lloh160, Lloh161 .loh AdrpLdrGotLdr Lloh157, Lloh158, Lloh159 .loh AdrpLdrGotLdr Lloh164, Lloh165, Lloh166 .loh AdrpLdrGotStr Lloh167, Lloh168, Lloh169 .loh AdrpLdrGotLdr Lloh170, Lloh171, Lloh172 .loh AdrpLdrGot Lloh173, Lloh174 .loh AdrpLdrGotLdr Lloh175, Lloh176, Lloh177 .loh AdrpLdrGotLdr Lloh178, Lloh179, Lloh180 .loh AdrpLdrGotLdr Lloh181, Lloh182, Lloh183 .loh AdrpLdrGot Lloh184, Lloh185 .loh AdrpLdrGotStr Lloh186, Lloh187, Lloh188 .cfi_endproc ; -- End function .globl _DiskPerfDispatchPower ; -- Begin function DiskPerfDispatchPower .p2align 2 _DiskPerfDispatchPower: ; @DiskPerfDispatchPower .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int Lloh189: adrp x8, _s@GOTPAGE Lloh190: ldr x8, [x8, _s@GOTPAGEOFF] ldr w9, [x8] Lloh191: adrp x10, _NP@GOTPAGE Lloh192: ldr x10, [x10, _NP@GOTPAGEOFF] Lloh193: ldr w10, [x10] cmp w9, w10 b.ne LBB13_2 ; %bb.1: Lloh194: adrp x9, _SKIP1@GOTPAGE Lloh195: ldr x9, [x9, _SKIP1@GOTPAGEOFF] Lloh196: ldr w9, [x9] str w9, [x8] mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _PoCallDriver LBB13_2: bl ___VERIFIER_error .loh AdrpLdrGotLdr Lloh191, Lloh192, Lloh193 .loh AdrpLdrGot Lloh189, Lloh190 .loh AdrpLdrGotLdr Lloh194, Lloh195, Lloh196 .cfi_endproc ; -- End function .globl _PoCallDriver ; -- Begin function PoCallDriver .p2align 2 _PoCallDriver: ; @PoCallDriver .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 bl ___VERIFIER_nondet_int Lloh197: adrp x8, _compRegistered@GOTPAGE Lloh198: ldr x8, [x8, _compRegistered@GOTPAGEOFF] Lloh199: ldr w8, [x8] Lloh200: adrp x19, _s@GOTPAGE Lloh201: ldr x19, [x19, _s@GOTPAGEOFF] Lloh202: adrp x20, _NP@GOTPAGE Lloh203: ldr x20, [x20, _NP@GOTPAGEOFF] cbz w8, LBB14_4 ; %bb.1: Lloh204: adrp x8, _routine@GOTPAGE Lloh205: ldr x8, [x8, _routine@GOTPAGEOFF] Lloh206: ldr w8, [x8] cbz w8, LBB14_6 ; %bb.2: cmp w8, #1 b.ne LBB14_4 ; %bb.3: bl _DiskPerfIoCompletion LBB14_4: bl ___VERIFIER_nondet_int cbz w0, LBB14_8 LBB14_5: bl ___VERIFIER_nondet_int mov w8, #259 mov w9, #-1073741823 cmp w0, #1 csel w0, w9, w8, eq cset w8, ne b LBB14_9 LBB14_6: bl ___VERIFIER_nondet_int Lloh207: adrp x8, _setEventCalled@GOTPAGE Lloh208: ldr x8, [x8, _setEventCalled@GOTPAGEOFF] mov w9, #1 Lloh209: str w9, [x8] ldr w8, [x19] ldr w9, [x20] cmp w8, w9 b.ne LBB14_17 ; %bb.7: Lloh210: adrp x8, _MPR1@GOTPAGE Lloh211: ldr x8, [x8, _MPR1@GOTPAGEOFF] Lloh212: ldr w8, [x8] str w8, [x19] bl ___VERIFIER_nondet_int cbnz w0, LBB14_5 LBB14_8: mov w8, #0 LBB14_9: ldr w9, [x19] ldr w10, [x20] cmp w9, w10 b.ne LBB14_11 ; %bb.10: Lloh213: adrp x8, _IPC@GOTPAGE Lloh214: ldr x8, [x8, _IPC@GOTPAGEOFF] b LBB14_15 LBB14_11: Lloh215: adrp x11, _MPR1@GOTPAGE Lloh216: ldr x11, [x11, _MPR1@GOTPAGEOFF] Lloh217: ldr w11, [x11] cmp w9, w11 b.ne LBB14_13 ; %bb.12: Lloh218: adrp x9, _MPR3@GOTPAGE Lloh219: ldr x9, [x9, _MPR3@GOTPAGEOFF] Lloh220: ldr w9, [x9] cmp w8, #0 csel w8, w9, w10, ne b LBB14_16 LBB14_13: Lloh221: adrp x8, _SKIP1@GOTPAGE Lloh222: ldr x8, [x8, _SKIP1@GOTPAGEOFF] Lloh223: ldr w8, [x8] cmp w9, w8 b.ne LBB14_17 ; %bb.14: Lloh224: adrp x8, _SKIP2@GOTPAGE Lloh225: ldr x8, [x8, _SKIP2@GOTPAGEOFF] LBB14_15: ldr w8, [x8] LBB14_16: str w8, [x19] Lloh226: adrp x8, _lowerDriverReturn@GOTPAGE Lloh227: ldr x8, [x8, _lowerDriverReturn@GOTPAGEOFF] Lloh228: str w0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB14_17: bl ___VERIFIER_error .loh AdrpLdrGot Lloh202, Lloh203 .loh AdrpLdrGot Lloh200, Lloh201 .loh AdrpLdrGotLdr Lloh197, Lloh198, Lloh199 .loh AdrpLdrGotLdr Lloh204, Lloh205, Lloh206 .loh AdrpLdrGotStr Lloh207, Lloh208, Lloh209 .loh AdrpLdrGotLdr Lloh210, Lloh211, Lloh212 .loh AdrpLdrGot Lloh213, Lloh214 .loh AdrpLdrGotLdr Lloh215, Lloh216, Lloh217 .loh AdrpLdrGotLdr Lloh218, Lloh219, Lloh220 .loh AdrpLdrGotLdr Lloh221, Lloh222, Lloh223 .loh AdrpLdrGot Lloh224, Lloh225 .loh AdrpLdrGotStr Lloh226, Lloh227, Lloh228 .cfi_endproc ; -- End function .globl _KeWaitForSingleObject ; -- Begin function KeWaitForSingleObject .p2align 2 _KeWaitForSingleObject: ; @KeWaitForSingleObject .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh229: adrp x8, _s@GOTPAGE Lloh230: ldr x8, [x8, _s@GOTPAGEOFF] ldr w10, [x8] Lloh231: adrp x9, _MPR3@GOTPAGE Lloh232: ldr x9, [x9, _MPR3@GOTPAGEOFF] Lloh233: ldr w11, [x9] Lloh234: adrp x9, _setEventCalled@GOTPAGE Lloh235: ldr x9, [x9, _setEventCalled@GOTPAGEOFF] ldr w12, [x9] cmp w10, w11 ccmp w12, #1, #0, eq b.eq LBB15_2 ; %bb.1: Lloh236: adrp x9, _customIrp@GOTPAGE Lloh237: ldr x9, [x9, _customIrp@GOTPAGEOFF] ldr w12, [x9] cmp w12, #1 b.ne LBB15_3 LBB15_2: Lloh238: adrp x10, _NP@GOTPAGE Lloh239: ldr x10, [x10, _NP@GOTPAGEOFF] Lloh240: ldr w10, [x10] str w10, [x8] str wzr, [x9] b LBB15_4 LBB15_3: cmp w10, w11 b.eq LBB15_5 LBB15_4: bl ___VERIFIER_nondet_int mov w8, #-1073741823 cmp w0, #0 csel w0, wzr, w8, eq ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB15_5: bl ___VERIFIER_error .loh AdrpLdrGot Lloh234, Lloh235 .loh AdrpLdrGotLdr Lloh231, Lloh232, Lloh233 .loh AdrpLdrGot Lloh229, Lloh230 .loh AdrpLdrGot Lloh236, Lloh237 .loh AdrpLdrGotLdr Lloh238, Lloh239, Lloh240 .cfi_endproc ; -- End function .globl _DiskPerfCreate ; -- Begin function DiskPerfCreate .p2align 2 _DiskPerfCreate: ; @DiskPerfCreate .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh241: adrp x9, _myStatus@GOTPAGE Lloh242: ldr x9, [x9, _myStatus@GOTPAGEOFF] Lloh243: adrp x8, _s@GOTPAGE Lloh244: ldr x8, [x8, _s@GOTPAGEOFF] Lloh245: str wzr, [x9] ldr w9, [x8] Lloh246: adrp x10, _NP@GOTPAGE Lloh247: ldr x10, [x10, _NP@GOTPAGEOFF] Lloh248: ldr w10, [x10] cmp w9, w10 b.ne LBB16_2 ; %bb.1: Lloh249: adrp x9, _DC@GOTPAGE Lloh250: ldr x9, [x9, _DC@GOTPAGEOFF] Lloh251: ldr w9, [x9] str w9, [x8] mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB16_2: bl ___VERIFIER_error .loh AdrpLdrGotLdr Lloh246, Lloh247, Lloh248 .loh AdrpLdrGot Lloh243, Lloh244 .loh AdrpLdrGotStr Lloh241, Lloh242, Lloh245 .loh AdrpLdrGotLdr Lloh249, Lloh250, Lloh251 .cfi_endproc ; -- End function .globl _DiskPerfIoCompletion ; -- Begin function DiskPerfIoCompletion .p2align 2 _DiskPerfIoCompletion: ; @DiskPerfIoCompletion .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int mov x19, x0 bl ___VERIFIER_nondet_int mov x20, x0 bl ___VERIFIER_nondet_int cbz w20, LBB17_4 ; %bb.1: cbz w19, LBB17_4 ; %bb.2: Lloh252: adrp x8, _pended@GOTPAGE Lloh253: ldr x8, [x8, _pended@GOTPAGEOFF] ldr w9, [x8] cbnz w9, LBB17_5 ; %bb.3: mov w9, #1 str w9, [x8] LBB17_4: mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB17_5: bl ___VERIFIER_error .loh AdrpLdrGot Lloh252, Lloh253 .cfi_endproc ; -- End function .globl _DiskPerfDeviceControl ; -- Begin function DiskPerfDeviceControl .p2align 2 _DiskPerfDeviceControl: ; @DiskPerfDeviceControl .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x1 bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int mov x20, x0 bl ___VERIFIER_nondet_int mov x24, x0 bl ___VERIFIER_nondet_int mov x21, x0 bl ___VERIFIER_nondet_int mov x22, x0 bl ___VERIFIER_nondet_int mov x23, x0 bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int sub w8, w24, #112, lsl #12 ; =458752 cmp w8, #32 b.ne LBB18_3 ; %bb.1: cmp w21, w22 b.ge LBB18_4 ; %bb.2: mov w0, #35 movk w0, #49152, lsl #16 b LBB18_6 LBB18_3: mov x0, x20 mov x1, x19 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _IofCallDriver LBB18_4: cbz w23, LBB18_9 ; %bb.5: mov w0, #0 LBB18_6: Lloh254: adrp x9, _myStatus@GOTPAGE Lloh255: ldr x9, [x9, _myStatus@GOTPAGEOFF] Lloh256: adrp x8, _s@GOTPAGE Lloh257: ldr x8, [x8, _s@GOTPAGEOFF] Lloh258: str w0, [x9] ldr w9, [x8] Lloh259: adrp x10, _NP@GOTPAGE Lloh260: ldr x10, [x10, _NP@GOTPAGEOFF] Lloh261: ldr w10, [x10] cmp w9, w10 b.ne LBB18_11 ; %bb.7: Lloh262: adrp x9, _DC@GOTPAGE Lloh263: ldr x9, [x9, _DC@GOTPAGEOFF] Lloh264: ldr w9, [x9] str w9, [x8] LBB18_8: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB18_9: Lloh265: adrp x9, _myStatus@GOTPAGE Lloh266: ldr x9, [x9, _myStatus@GOTPAGEOFF] mov w10, #-1073741823 Lloh267: adrp x8, _s@GOTPAGE Lloh268: ldr x8, [x8, _s@GOTPAGEOFF] Lloh269: str w10, [x9] ldr w9, [x8] Lloh270: adrp x10, _NP@GOTPAGE Lloh271: ldr x10, [x10, _NP@GOTPAGEOFF] Lloh272: ldr w10, [x10] cmp w9, w10 b.ne LBB18_11 ; %bb.10: Lloh273: adrp x9, _DC@GOTPAGE Lloh274: ldr x9, [x9, _DC@GOTPAGEOFF] Lloh275: ldr w9, [x9] str w9, [x8] mov w0, #-1073741823 b LBB18_8 LBB18_11: bl ___VERIFIER_error .loh AdrpLdrGotLdr Lloh259, Lloh260, Lloh261 .loh AdrpLdrGot Lloh256, Lloh257 .loh AdrpLdrGotStr Lloh254, Lloh255, Lloh258 .loh AdrpLdrGotLdr Lloh262, Lloh263, Lloh264 .loh AdrpLdrGotLdr Lloh270, Lloh271, Lloh272 .loh AdrpLdrGot Lloh267, Lloh268 .loh AdrpLdrGotStr Lloh265, Lloh266, Lloh269 .loh AdrpLdrGotLdr Lloh273, Lloh274, Lloh275 .cfi_endproc ; -- End function .globl _DiskPerfShutdownFlush ; -- Begin function DiskPerfShutdownFlush .p2align 2 _DiskPerfShutdownFlush: ; @DiskPerfShutdownFlush .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _IofCallDriver .cfi_endproc ; -- End function .globl _DiskPerfUnload ; -- Begin function DiskPerfUnload .p2align 2 _DiskPerfUnload: ; @DiskPerfUnload .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl _IoBuildDeviceIoControlRequest ; -- Begin function IoBuildDeviceIoControlRequest .p2align 2 _IoBuildDeviceIoControlRequest: ; @IoBuildDeviceIoControlRequest .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 bl ___VERIFIER_nondet_int mov x19, x0 Lloh276: adrp x8, _customIrp@GOTPAGE Lloh277: ldr x8, [x8, _customIrp@GOTPAGEOFF] mov w9, #1 Lloh278: str w9, [x8] bl ___VERIFIER_nondet_int cmp w0, #0 csel w0, w19, wzr, eq ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotStr Lloh276, Lloh277, Lloh278 .cfi_endproc ; -- End function .globl _stub_driver_init ; -- Begin function stub_driver_init .p2align 2 _stub_driver_init: ; @stub_driver_init .cfi_startproc ; %bb.0: Lloh279: adrp x8, _NP@GOTPAGE Lloh280: ldr x8, [x8, _NP@GOTPAGEOFF] Lloh281: ldr w8, [x8] Lloh282: adrp x9, _s@GOTPAGE Lloh283: ldr x9, [x9, _s@GOTPAGEOFF] Lloh284: str w8, [x9] Lloh285: adrp x8, _customIrp@GOTPAGE Lloh286: ldr x8, [x8, _customIrp@GOTPAGEOFF] Lloh287: str wzr, [x8] Lloh288: adrp x8, _setEventCalled@GOTPAGE Lloh289: ldr x8, [x8, _setEventCalled@GOTPAGEOFF] Lloh290: str wzr, [x8] Lloh291: adrp x8, _lowerDriverReturn@GOTPAGE Lloh292: ldr x8, [x8, _lowerDriverReturn@GOTPAGEOFF] Lloh293: str wzr, [x8] Lloh294: adrp x8, _compRegistered@GOTPAGE Lloh295: ldr x8, [x8, _compRegistered@GOTPAGEOFF] Lloh296: str wzr, [x8] Lloh297: adrp x8, _compFptr@GOTPAGE Lloh298: ldr x8, [x8, _compFptr@GOTPAGEOFF] Lloh299: str wzr, [x8] Lloh300: adrp x8, _pended@GOTPAGE Lloh301: ldr x8, [x8, _pended@GOTPAGEOFF] Lloh302: str wzr, [x8] ret .loh AdrpLdrGotStr Lloh300, Lloh301, Lloh302 .loh AdrpLdrGotStr Lloh297, Lloh298, Lloh299 .loh AdrpLdrGotStr Lloh294, Lloh295, Lloh296 .loh AdrpLdrGotStr Lloh291, Lloh292, Lloh293 .loh AdrpLdrGotStr Lloh288, Lloh289, Lloh290 .loh AdrpLdrGotStr Lloh285, Lloh286, Lloh287 .loh AdrpLdrGotStr Lloh282, Lloh283, Lloh284 .loh AdrpLdrGotLdr Lloh279, Lloh280, Lloh281 .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int mov x19, x0 bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int mov x22, x0 bl ___VERIFIER_nondet_int mov x21, x0 bl ___VERIFIER_nondet_int Lloh303: adrp x24, _myStatus@GOTPAGE Lloh304: ldr x24, [x24, _myStatus@GOTPAGEOFF] str wzr, [x24] Lloh305: adrp x8, _routine@GOTPAGE Lloh306: ldr x8, [x8, _routine@GOTPAGEOFF] Lloh307: adrp x9, _Executive@GOTPAGE Lloh308: ldr x9, [x9, _Executive@GOTPAGEOFF] Lloh309: str wzr, [x8] Lloh310: str wzr, [x9] Lloh311: adrp x8, _KernelMode@GOTPAGE Lloh312: ldr x8, [x8, _KernelMode@GOTPAGEOFF] Lloh313: adrp x28, _pirp@GOTPAGE Lloh314: ldr x28, [x28, _pirp@GOTPAGEOFF] Lloh315: str wzr, [x8] str w22, [x28] Lloh316: adrp x23, _UNLOADED@GOTPAGE Lloh317: ldr x23, [x23, _UNLOADED@GOTPAGEOFF] Lloh318: adrp x27, _NP@GOTPAGE Lloh319: ldr x27, [x27, _NP@GOTPAGEOFF] str wzr, [x23] mov w8, #1 str w8, [x27] Lloh320: adrp x13, _DC@GOTPAGE Lloh321: ldr x13, [x13, _DC@GOTPAGEOFF] mov w9, #2 str w9, [x13] Lloh322: adrp x22, _SKIP1@GOTPAGE Lloh323: ldr x22, [x22, _SKIP1@GOTPAGEOFF] mov w9, #3 Lloh324: adrp x15, _SKIP2@GOTPAGE Lloh325: ldr x15, [x15, _SKIP2@GOTPAGEOFF] str w9, [x22] mov w9, #4 str w9, [x15] Lloh326: adrp x9, _MPR1@GOTPAGE Lloh327: ldr x9, [x9, _MPR1@GOTPAGEOFF] mov w10, #5 Lloh328: str w10, [x9] Lloh329: adrp x17, _MPR3@GOTPAGE Lloh330: ldr x17, [x17, _MPR3@GOTPAGEOFF] mov w9, #6 Lloh331: adrp x16, _IPC@GOTPAGE Lloh332: ldr x16, [x16, _IPC@GOTPAGEOFF] str w9, [x17] mov w9, #7 str w9, [x16] Lloh333: adrp x26, _s@GOTPAGE Lloh334: ldr x26, [x26, _s@GOTPAGEOFF] str wzr, [x26] Lloh335: adrp x25, _pended@GOTPAGE Lloh336: ldr x25, [x25, _pended@GOTPAGEOFF] str wzr, [x25] Lloh337: adrp x9, _compFptr@GOTPAGE Lloh338: ldr x9, [x9, _compFptr@GOTPAGEOFF] str wzr, [x9] Lloh339: adrp x10, _compRegistered@GOTPAGE Lloh340: ldr x10, [x10, _compRegistered@GOTPAGEOFF] str wzr, [x10] Lloh341: adrp x14, _lowerDriverReturn@GOTPAGE Lloh342: ldr x14, [x14, _lowerDriverReturn@GOTPAGEOFF] str wzr, [x14] Lloh343: adrp x11, _setEventCalled@GOTPAGE Lloh344: ldr x11, [x11, _setEventCalled@GOTPAGEOFF] str wzr, [x11] Lloh345: adrp x12, _customIrp@GOTPAGE Lloh346: ldr x12, [x12, _customIrp@GOTPAGEOFF] str wzr, [x12] tbnz w19, #31, LBB23_15 ; %bb.1: mov x20, x0 mov w13, #187 movk w13, #49152, lsl #16 cmp w21, #0 csel w13, w13, wzr, eq str w13, [x24] str w8, [x26] str wzr, [x12] str wzr, [x11] mov x21, x14 str wzr, [x14] str wzr, [x10] str wzr, [x9] str wzr, [x25] bl ___VERIFIER_nondet_int cbz w0, LBB23_4 ; %bb.2: bl ___VERIFIER_nondet_int cmp w0, #2 b.ne LBB23_6 ; %bb.3: ldr w1, [x28] bl _DiskPerfDeviceControl b LBB23_13 LBB23_4: str wzr, [x24] ldr w8, [x26] ldr w9, [x27] cmp w8, w9 b.ne LBB23_28 ; %bb.5: mov w19, #0 Lloh347: adrp x13, _DC@GOTPAGE Lloh348: ldr x13, [x13, _DC@GOTPAGEOFF] ldr w8, [x13] str w8, [x26] b LBB23_14 LBB23_6: bl ___VERIFIER_nondet_int cmp w0, #3 b.ne LBB23_8 ; %bb.7: ldr w1, [x28] mov x0, x20 bl _DiskPerfDispatchPnp b LBB23_13 LBB23_8: bl ___VERIFIER_nondet_int cmp w0, #4 b.ne LBB23_11 ; %bb.9: ldr w19, [x28] bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int ldr w8, [x26] ldr w9, [x27] cmp w8, w9 b.ne LBB23_28 ; %bb.10: ldr w8, [x22] str w8, [x26] mov x1, x19 bl _PoCallDriver b LBB23_13 LBB23_11: bl ___VERIFIER_nondet_int cmp w0, #12 b.ne LBB23_29 ; %bb.12: ldr w19, [x28] bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int bl ___VERIFIER_nondet_int mov x1, x19 bl _IofCallDriver LBB23_13: mov x19, x0 Lloh349: adrp x13, _DC@GOTPAGE Lloh350: ldr x13, [x13, _DC@GOTPAGEOFF] LBB23_14: mov x14, x21 Lloh351: adrp x15, _SKIP2@GOTPAGE Lloh352: ldr x15, [x15, _SKIP2@GOTPAGEOFF] Lloh353: adrp x16, _IPC@GOTPAGE Lloh354: ldr x16, [x16, _IPC@GOTPAGEOFF] Lloh355: adrp x17, _MPR3@GOTPAGE Lloh356: ldr x17, [x17, _MPR3@GOTPAGEOFF] LBB23_15: ldr w9, [x25] ldr w8, [x26] cmp w9, #1 b.ne LBB23_18 ; %bb.16: ldr w10, [x27] cmp w8, w10 b.eq LBB23_30 ; %bb.17: ldr w10, [x17] cmp w8, w10 b.eq LBB23_30 LBB23_18: ldr w10, [x23] cmp w8, w10 b.eq LBB23_30 ; %bb.19: cmn w19, #1 b.eq LBB23_30 ; %bb.20: ldr w11, [x15] ldr w10, [x13] cmp w8, w11 b.eq LBB23_23 ; %bb.21: ldr w11, [x16] cmp w8, w11 b.eq LBB23_23 ; %bb.22: cmp w8, w10 b.ne LBB23_28 LBB23_23: cmp w9, #1 b.ne LBB23_25 ; %bb.24: cmp w19, #259 b.eq LBB23_30 b LBB23_28 LBB23_25: cmp w8, w10 b.ne LBB23_27 ; %bb.26: cmp w19, #259 b.ne LBB23_30 b LBB23_28 LBB23_27: ldr w8, [x14] cmp w19, w8 b.eq LBB23_30 LBB23_28: bl ___VERIFIER_error LBB23_29: mov w19, #-1 LBB23_30: mov x0, x19 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh345, Lloh346 .loh AdrpLdrGot Lloh343, Lloh344 .loh AdrpLdrGot Lloh341, Lloh342 .loh AdrpLdrGot Lloh339, Lloh340 .loh AdrpLdrGot Lloh337, Lloh338 .loh AdrpLdrGot Lloh335, Lloh336 .loh AdrpLdrGot Lloh333, Lloh334 .loh AdrpLdrGot Lloh331, Lloh332 .loh AdrpLdrGot Lloh329, Lloh330 .loh AdrpLdrGotStr Lloh326, Lloh327, Lloh328 .loh AdrpLdrGot Lloh324, Lloh325 .loh AdrpLdrGot Lloh322, Lloh323 .loh AdrpLdrGot Lloh320, Lloh321 .loh AdrpLdrGot Lloh318, Lloh319 .loh AdrpLdrGot Lloh316, Lloh317 .loh AdrpLdrGot Lloh313, Lloh314 .loh AdrpLdrGotStr Lloh311, Lloh312, Lloh315 .loh AdrpLdrGotStr Lloh307, Lloh308, Lloh310 .loh AdrpLdrGotStr Lloh305, Lloh306, Lloh309 .loh AdrpLdrGot Lloh303, Lloh304 .loh AdrpLdrGot Lloh347, Lloh348 .loh AdrpLdrGot Lloh349, Lloh350 .loh AdrpLdrGot Lloh355, Lloh356 .loh AdrpLdrGot Lloh353, Lloh354 .loh AdrpLdrGot Lloh351, Lloh352 .cfi_endproc ; -- End function .globl _stubMoreProcessingRequired ; -- Begin function stubMoreProcessingRequired .p2align 2 _stubMoreProcessingRequired: ; @stubMoreProcessingRequired .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh357: adrp x8, _s@GOTPAGE Lloh358: ldr x8, [x8, _s@GOTPAGEOFF] ldr w9, [x8] Lloh359: adrp x10, _NP@GOTPAGE Lloh360: ldr x10, [x10, _NP@GOTPAGEOFF] Lloh361: ldr w10, [x10] cmp w9, w10 b.ne LBB24_2 ; %bb.1: Lloh362: adrp x9, _MPR1@GOTPAGE Lloh363: ldr x9, [x9, _MPR1@GOTPAGEOFF] Lloh364: ldr w9, [x9] str w9, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB24_2: bl ___VERIFIER_error .loh AdrpLdrGotLdr Lloh359, Lloh360, Lloh361 .loh AdrpLdrGot Lloh357, Lloh358 .loh AdrpLdrGotLdr Lloh362, Lloh363, Lloh364 .cfi_endproc ; -- End function .comm _UNLOADED,4,2 ; @UNLOADED .comm _NP,4,2 ; @NP .comm _DC,4,2 ; @DC .comm _SKIP1,4,2 ; @SKIP1 .comm _SKIP2,4,2 ; @SKIP2 .comm _MPR1,4,2 ; @MPR1 .comm _MPR3,4,2 ; @MPR3 .comm _IPC,4,2 ; @IPC .comm _s,4,2 ; @s .comm _pended,4,2 ; @pended .comm _compFptr,4,2 ; @compFptr .comm _compRegistered,4,2 ; @compRegistered .comm _lowerDriverReturn,4,2 ; @lowerDriverReturn .comm _setEventCalled,4,2 ; @setEventCalled .comm _customIrp,4,2 ; @customIrp .comm _myStatus,4,2 ; @myStatus .comm _routine,4,2 ; @routine .comm _Executive,4,2 ; @Executive .comm _KernelMode,4,2 ; @KernelMode .comm _pirp,4,2 ; @pirp .subsections_via_symbols
the_stack_data/140258.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function kvm_read_cr0_bits _kvm_read_cr0_bits: ## @kvm_read_cr0_bits .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %ebx movq %rdi, %r14 movq _KVM_POSSIBLE_CR0_GUEST_BITS@GOTPCREL(%rip), %rax movl (%rax), %eax andl %esi, %eax testl %eax, (%rdi) je LBB0_2 ## %bb.1: movq _kvm_x86_ops@GOTPCREL(%rip), %rax movq (%rax), %rax movq %r14, %rdi callq *(%rax) LBB0_2: andl 4(%r14), %ebx movl %ebx, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _KVM_POSSIBLE_CR0_GUEST_BITS,4,2 ## @KVM_POSSIBLE_CR0_GUEST_BITS .comm _kvm_x86_ops,8,3 ## @kvm_x86_ops .no_dead_strip _kvm_read_cr0_bits .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function kvm_read_cr0_bits _kvm_read_cr0_bits: ; @kvm_read_cr0_bits .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 Lloh0: adrp x8, _KVM_POSSIBLE_CR0_GUEST_BITS@GOTPAGE Lloh1: ldr x8, [x8, _KVM_POSSIBLE_CR0_GUEST_BITS@GOTPAGEOFF] Lloh2: ldr w8, [x8] and w8, w8, w1 ldr w9, [x0] tst w8, w9 b.eq LBB0_2 ; %bb.1: Lloh3: adrp x8, _kvm_x86_ops@GOTPAGE Lloh4: ldr x8, [x8, _kvm_x86_ops@GOTPAGEOFF] Lloh5: ldr x8, [x8] ldr x8, [x8] mov x0, x20 blr x8 LBB0_2: ldr w8, [x20, #4] and w0, w8, w19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _KVM_POSSIBLE_CR0_GUEST_BITS,4,2 ; @KVM_POSSIBLE_CR0_GUEST_BITS .comm _kvm_x86_ops,8,3 ; @kvm_x86_ops .no_dead_strip _kvm_read_cr0_bits .subsections_via_symbols
AnghaBench/linux/arch/x86/kvm/extr_kvm_cache_regs.h_kvm_read_cr0_bits.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %rdi leaq -36(%rbp), %rsi xorl %eax, %eax callq _scanf callq _getchar movl %eax, %ebx shll $24, %ebx cmpl $167772160, %ebx ## imm = 0xA000000 jne LBB0_1 LBB0_10: movss -36(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.2(%rip), %rdi movb $1, %al callq _printf xorl %eax, %eax addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_1: leaq L_.str.1(%rip), %r14 leaq -40(%rbp), %r15 leaq LJTI0_0(%rip), %r12 jmp LBB0_2 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_2 Depth=1 movss -36(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero divss -40(%rbp), %xmm0 LBB0_8: ## in Loop: Header=BB0_2 Depth=1 movss %xmm0, -36(%rbp) LBB0_9: ## in Loop: Header=BB0_2 Depth=1 callq _getchar movl %eax, %ebx shll $24, %ebx cmpl $167772160, %ebx ## imm = 0xA000000 je LBB0_10 LBB0_2: ## =>This Inner Loop Header: Depth=1 sarl $24, %ebx movq %r14, %rdi movq %r15, %rsi xorl %eax, %eax callq _scanf addl $-42, %ebx cmpl $5, %ebx ja LBB0_9 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movslq (%r12,%rbx,4), %rax addq %r12, %rax jmpq *%rax LBB0_6: ## in Loop: Header=BB0_2 Depth=1 movss -40(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero mulss -36(%rbp), %xmm0 jmp LBB0_8 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 movss -40(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero addss -36(%rbp), %xmm0 jmp LBB0_8 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 movss -36(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero subss -40(%rbp), %xmm0 jmp LBB0_8 .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_6, LBB0_6-LJTI0_0 .set L0_0_set_4, LBB0_4-LJTI0_0 .set L0_0_set_9, LBB0_9-LJTI0_0 .set L0_0_set_5, LBB0_5-LJTI0_0 .set L0_0_set_7, LBB0_7-LJTI0_0 LJTI0_0: .long L0_0_set_6 .long L0_0_set_4 .long L0_0_set_9 .long L0_0_set_5 .long L0_0_set_9 .long L0_0_set_7 .end_data_region ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Enter an expression: " L_.str.1: ## @.str.1 .asciz "%f" L_.str.2: ## @.str.2 .asciz "Value of expression: %.2f\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf add x8, sp, #8 str x8, [sp] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _scanf bl _getchar lsl w8, w0, #24 mov w20, #167772160 cmp w8, w20 b.ne LBB0_2 LBB0_1: ldr s0, [sp, #8] fcvt d0, s0 str d0, [sp] Lloh4: adrp x0, l_.str.2@PAGE Lloh5: add x0, x0, l_.str.2@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret LBB0_2: add x21, sp, #12 Lloh6: adrp x19, l_.str.1@PAGE Lloh7: add x19, x19, l_.str.1@PAGEOFF Lloh8: adrp x22, lJTI0_0@PAGE Lloh9: add x22, x22, lJTI0_0@PAGEOFF b LBB0_6 LBB0_3: ; in Loop: Header=BB0_6 Depth=1 ldp s1, s0, [sp, #8] fdiv s0, s1, s0 LBB0_4: ; in Loop: Header=BB0_6 Depth=1 str s0, [sp, #8] LBB0_5: ; in Loop: Header=BB0_6 Depth=1 bl _getchar lsl w8, w0, #24 cmp w8, w20 b.eq LBB0_1 LBB0_6: ; =>This Inner Loop Header: Depth=1 asr w23, w8, #24 str x21, [sp] mov x0, x19 bl _scanf sub w8, w23, #42 cmp w8, #5 b.hi LBB0_5 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 adr x9, LBB0_3 ldrb w10, [x22, x8] add x9, x9, x10, lsl #2 br x9 LBB0_8: ; in Loop: Header=BB0_6 Depth=1 ldp s1, s0, [sp, #8] fmul s0, s0, s1 b LBB0_4 LBB0_9: ; in Loop: Header=BB0_6 Depth=1 ldp s1, s0, [sp, #8] fadd s0, s0, s1 b LBB0_4 LBB0_10: ; in Loop: Header=BB0_6 Depth=1 ldp s1, s0, [sp, #8] fsub s0, s1, s0 b LBB0_4 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_8-LBB0_3)>>2 .byte (LBB0_9-LBB0_3)>>2 .byte (LBB0_5-LBB0_3)>>2 .byte (LBB0_10-LBB0_3)>>2 .byte (LBB0_5-LBB0_3)>>2 .byte (LBB0_3-LBB0_3)>>2 ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Enter an expression: " l_.str.1: ; @.str.1 .asciz "%f" l_.str.2: ; @.str.2 .asciz "Value of expression: %.2f\n" .subsections_via_symbols
the_stack_data/175142162.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lcm ## -- Begin function lcm .p2align 4, 0x90 _lcm: ## @lcm .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp cmpl %esi, %edi movl %esi, %ecx cmovgl %edi, %ecx jmp LBB0_1 .p2align 4, 0x90 LBB0_3: ## in Loop: Header=BB0_1 Depth=1 incl %ecx LBB0_1: ## =>This Inner Loop Header: Depth=1 movl %ecx, %eax cltd idivl %edi testl %edx, %edx jne LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl %ecx, %eax cltd idivl %esi testl %edx, %edx jne LBB0_3 ## %bb.4: movl %ecx, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %rdi leaq -8(%rbp), %rsi leaq -4(%rbp), %rdx xorl %eax, %eax callq _scanf movl -8(%rbp), %ecx movl -4(%rbp), %edi cmpl %edi, %ecx movl %edi, %esi cmovgl %ecx, %esi jmp LBB1_1 .p2align 4, 0x90 LBB1_3: ## in Loop: Header=BB1_1 Depth=1 incl %esi LBB1_1: ## =>This Inner Loop Header: Depth=1 movl %esi, %eax cltd idivl %ecx testl %edx, %edx jne LBB1_3 ## %bb.2: ## in Loop: Header=BB1_1 Depth=1 movl %esi, %eax cltd idivl %edi testl %edx, %edx jne LBB1_3 ## %bb.4: leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _printf xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Enter two int:" L_.str.1: ## @.str.1 .asciz "%d %d" L_.str.2: ## @.str.2 .asciz "LCM: %d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lcm ; -- Begin function lcm .p2align 2 _lcm: ; @lcm .cfi_startproc ; %bb.0: cmp w0, w1 csel w8, w0, w1, gt b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 add w8, w8, #1 LBB0_2: ; =>This Inner Loop Header: Depth=1 sdiv w9, w8, w0 msub w9, w9, w0, w8 cbnz w9, LBB0_1 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 sdiv w9, w8, w1 msub w9, w9, w1, w8 cbnz w9, LBB0_1 ; %bb.4: mov x0, x8 ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf sub x8, x29, #8 sub x9, x29, #4 stp x9, x8, [sp] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _scanf ldp w10, w9, [x29, #-8] cmp w9, w10 csel w8, w9, w10, gt b LBB1_2 LBB1_1: ; in Loop: Header=BB1_2 Depth=1 add w8, w8, #1 LBB1_2: ; =>This Inner Loop Header: Depth=1 sdiv w11, w8, w9 msub w11, w11, w9, w8 cbnz w11, LBB1_1 ; %bb.3: ; in Loop: Header=BB1_2 Depth=1 sdiv w11, w8, w10 msub w11, w11, w10, w8 cbnz w11, LBB1_1 ; %bb.4: str x8, [sp] Lloh4: adrp x0, l_.str.2@PAGE Lloh5: add x0, x0, l_.str.2@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Enter two int:" l_.str.1: ; @.str.1 .asciz "%d %d" l_.str.2: ; @.str.2 .asciz "LCM: %d\n" .subsections_via_symbols
the_stack_data/165767267.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _kuhl_m_sysenv_list ## -- Begin function kuhl_m_sysenv_list .p2align 4, 0x90 _kuhl_m_sysenv_list: ## @kuhl_m_sysenv_list .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq $0, -48(%rbp) movq _VARIABLE_INFORMATION_VALUES@GOTPCREL(%rip), %r14 movl (%r14), %edi leaq -48(%rbp), %rdx xorl %esi, %esi callq _NtEnumerateSystemEnvironmentValuesEx movq _STATUS_BUFFER_TOO_SMALL@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_12 ## %bb.1: movq -48(%rbp), %rsi testq %rsi, %rsi je LBB0_12 ## %bb.2: movq _LPTR@GOTPCREL(%rip), %rax movl (%rax), %edi callq _LocalAlloc testq %rax, %rax je LBB0_13 ## %bb.3: movq %rax, %rbx movl (%r14), %edi leaq -48(%rbp), %rdx movq %rax, %rsi callq _NtEnumerateSystemEnvironmentValuesEx movq %rax, %r14 movq %rax, %rdi callq _NT_SUCCESS testq %rax, %rax je LBB0_10 ## %bb.4: leaq l_.str(%rip), %r15 xorl %eax, %eax movq %rax, -56(%rbp) ## 8-byte Spill leaq l_.str.1(%rip), %r12 leaq l_.str.2(%rip), %r13 leaq l_.str.3(%rip), %r14 .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movl 24(%rbx), %esi movq %r15, %rdi xorl %eax, %eax callq _kprintf leaq 20(%rbx), %rdi callq _kuhl_m_sysenv_display_vendorGuid movl 16(%rbx), %esi movq %r12, %rdi xorl %eax, %eax callq _kprintf movl 16(%rbx), %edi callq _kuhl_m_sysenv_display_attributes movq (%rbx), %rsi movq %r13, %rdi xorl %eax, %eax callq _kprintf movq (%rbx), %rsi testq %rsi, %rsi je LBB0_8 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movq 8(%rbx), %rdi testq %rdi, %rdi je LBB0_8 ## %bb.7: ## in Loop: Header=BB0_5 Depth=1 addq %rbx, %rdi movl $1, %edx callq _kull_m_string_wprintf_hex LBB0_8: ## in Loop: Header=BB0_5 Depth=1 movq %r14, %rdi xorl %eax, %eax callq _kprintf movq 32(%rbx), %rax testq %rax, %rax je LBB0_11 ## %bb.9: ## in Loop: Header=BB0_5 Depth=1 addq %rax, %rbx jne LBB0_5 jmp LBB0_11 LBB0_12: leaq l_.str.5(%rip), %rdi movq %rax, %rsi callq _PRINT_ERROR jmp LBB0_13 LBB0_10: leaq l_.str.4(%rip), %rdi movq %r14, %rsi callq _PRINT_ERROR movq %rbx, -56(%rbp) ## 8-byte Spill LBB0_11: movq -56(%rbp), %rdi ## 8-byte Reload callq _LocalFree LBB0_13: movq _STATUS_SUCCESS@GOTPCREL(%rip), %rax movq (%rax), %rax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _VARIABLE_INFORMATION_VALUES,4,2 ## @VARIABLE_INFORMATION_VALUES .comm _STATUS_BUFFER_TOO_SMALL,8,3 ## @STATUS_BUFFER_TOO_SMALL .comm _LPTR,4,2 ## @LPTR .section __TEXT,__const .p2align 2 ## @.str l_.str: .long 78 ## 0x4e .long 97 ## 0x61 .long 109 ## 0x6d .long 101 ## 0x65 .long 32 ## 0x20 .long 32 ## 0x20 .long 32 ## 0x20 .long 32 ## 0x20 .long 32 ## 0x20 .long 32 ## 0x20 .long 32 ## 0x20 .long 58 ## 0x3a .long 32 ## 0x20 .long 37 ## 0x25 .long 115 ## 0x73 .long 10 ## 0xa .long 86 ## 0x56 .long 101 ## 0x65 .long 110 ## 0x6e .long 100 ## 0x64 .long 111 ## 0x6f .long 114 ## 0x72 .long 32 ## 0x20 .long 71 ## 0x47 .long 85 ## 0x55 .long 73 ## 0x49 .long 68 ## 0x44 .long 58 ## 0x3a .long 32 ## 0x20 .long 0 ## 0x0 .p2align 2 ## @.str.1 l_.str.1: .long 10 ## 0xa .long 65 ## 0x41 .long 116 ## 0x74 .long 116 ## 0x74 .long 114 ## 0x72 .long 105 ## 0x69 .long 98 ## 0x62 .long 117 ## 0x75 .long 116 ## 0x74 .long 101 ## 0x65 .long 115 ## 0x73 .long 32 ## 0x20 .long 58 ## 0x3a .long 32 ## 0x20 .long 37 ## 0x25 .long 48 ## 0x30 .long 56 ## 0x38 .long 120 ## 0x78 .long 32 ## 0x20 .long 40 ## 0x28 .long 0 ## 0x0 .p2align 2 ## @.str.2 l_.str.2: .long 41 ## 0x29 .long 10 ## 0xa .long 76 ## 0x4c .long 101 ## 0x65 .long 110 ## 0x6e .long 103 ## 0x67 .long 116 ## 0x74 .long 104 ## 0x68 .long 32 ## 0x20 .long 32 ## 0x20 .long 32 ## 0x20 .long 32 ## 0x20 .long 32 ## 0x20 .long 58 ## 0x3a .long 32 ## 0x20 .long 37 ## 0x25 .long 117 ## 0x75 .long 10 ## 0xa .long 68 ## 0x44 .long 97 ## 0x61 .long 116 ## 0x74 .long 97 ## 0x61 .long 32 ## 0x20 .long 32 ## 0x20 .long 32 ## 0x20 .long 32 ## 0x20 .long 32 ## 0x20 .long 32 ## 0x20 .long 32 ## 0x20 .long 58 ## 0x3a .long 32 ## 0x20 .long 0 ## 0x0 .p2align 2 ## @.str.3 l_.str.3: .long 10 ## 0xa .long 10 ## 0xa .long 0 ## 0x0 .p2align 2 ## @.str.4 l_.str.4: .long 78 ## 0x4e .long 116 ## 0x74 .long 69 ## 0x45 .long 110 ## 0x6e .long 117 ## 0x75 .long 109 ## 0x6d .long 101 ## 0x65 .long 114 ## 0x72 .long 97 ## 0x61 .long 116 ## 0x74 .long 101 ## 0x65 .long 83 ## 0x53 .long 121 ## 0x79 .long 115 ## 0x73 .long 116 ## 0x74 .long 101 ## 0x65 .long 109 ## 0x6d .long 69 ## 0x45 .long 110 ## 0x6e .long 118 ## 0x76 .long 105 ## 0x69 .long 114 ## 0x72 .long 111 ## 0x6f .long 110 ## 0x6e .long 109 ## 0x6d .long 101 ## 0x65 .long 110 ## 0x6e .long 116 ## 0x74 .long 86 ## 0x56 .long 97 ## 0x61 .long 108 ## 0x6c .long 117 ## 0x75 .long 101 ## 0x65 .long 115 ## 0x73 .long 69 ## 0x45 .long 120 ## 0x78 .long 40 ## 0x28 .long 100 ## 0x64 .long 97 ## 0x61 .long 116 ## 0x74 .long 97 ## 0x61 .long 41 ## 0x29 .long 58 ## 0x3a .long 32 ## 0x20 .long 48 ## 0x30 .long 120 ## 0x78 .long 37 ## 0x25 .long 48 ## 0x30 .long 56 ## 0x38 .long 120 ## 0x78 .long 10 ## 0xa .long 0 ## 0x0 .p2align 2 ## @.str.5 l_.str.5: .long 78 ## 0x4e .long 116 ## 0x74 .long 69 ## 0x45 .long 110 ## 0x6e .long 117 ## 0x75 .long 109 ## 0x6d .long 101 ## 0x65 .long 114 ## 0x72 .long 97 ## 0x61 .long 116 ## 0x74 .long 101 ## 0x65 .long 83 ## 0x53 .long 121 ## 0x79 .long 115 ## 0x73 .long 116 ## 0x74 .long 101 ## 0x65 .long 109 ## 0x6d .long 69 ## 0x45 .long 110 ## 0x6e .long 118 ## 0x76 .long 105 ## 0x69 .long 114 ## 0x72 .long 111 ## 0x6f .long 110 ## 0x6e .long 109 ## 0x6d .long 101 ## 0x65 .long 110 ## 0x6e .long 116 ## 0x74 .long 86 ## 0x56 .long 97 ## 0x61 .long 108 ## 0x6c .long 117 ## 0x75 .long 101 ## 0x65 .long 115 ## 0x73 .long 69 ## 0x45 .long 120 ## 0x78 .long 40 ## 0x28 .long 115 ## 0x73 .long 105 ## 0x69 .long 122 ## 0x7a .long 101 ## 0x65 .long 41 ## 0x29 .long 58 ## 0x3a .long 32 ## 0x20 .long 48 ## 0x30 .long 120 ## 0x78 .long 37 ## 0x25 .long 48 ## 0x30 .long 56 ## 0x38 .long 120 ## 0x78 .long 10 ## 0xa .long 0 ## 0x0 .comm _STATUS_SUCCESS,8,3 ## @STATUS_SUCCESS .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _kuhl_m_sysenv_list ; -- Begin function kuhl_m_sysenv_list .p2align 2 _kuhl_m_sysenv_list: ; @kuhl_m_sysenv_list .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 str xzr, [sp, #8] Lloh0: adrp x20, _VARIABLE_INFORMATION_VALUES@GOTPAGE Lloh1: ldr x20, [x20, _VARIABLE_INFORMATION_VALUES@GOTPAGEOFF] ldr w0, [x20] add x2, sp, #8 mov x1, #0 bl _NtEnumerateSystemEnvironmentValuesEx Lloh2: adrp x9, _STATUS_BUFFER_TOO_SMALL@GOTPAGE Lloh3: ldr x9, [x9, _STATUS_BUFFER_TOO_SMALL@GOTPAGEOFF] Lloh4: ldr x9, [x9] ldr x1, [sp, #8] cmp x0, x9 ccmp x1, #0, #4, eq b.ne LBB0_2 ; %bb.1: mov x8, x0 Lloh5: adrp x0, l_.str.5@PAGE Lloh6: add x0, x0, l_.str.5@PAGEOFF mov x1, x8 bl _PRINT_ERROR b LBB0_12 LBB0_2: Lloh7: adrp x8, _LPTR@GOTPAGE Lloh8: ldr x8, [x8, _LPTR@GOTPAGEOFF] Lloh9: ldr w0, [x8] bl _LocalAlloc cbz x0, LBB0_12 ; %bb.3: mov x19, x0 ldr w0, [x20] add x2, sp, #8 mov x1, x19 bl _NtEnumerateSystemEnvironmentValuesEx mov x20, x0 bl _NT_SUCCESS cbz x0, LBB0_10 ; %bb.4: Lloh10: adrp x20, l_.str@PAGE Lloh11: add x20, x20, l_.str@PAGEOFF Lloh12: adrp x21, l_.str.1@PAGE Lloh13: add x21, x21, l_.str.1@PAGEOFF Lloh14: adrp x22, l_.str.2@PAGE Lloh15: add x22, x22, l_.str.2@PAGEOFF Lloh16: adrp x23, l_.str.3@PAGE Lloh17: add x23, x23, l_.str.3@PAGEOFF LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr w8, [x19, #24] str x8, [sp] mov x0, x20 bl _kprintf add x0, x19, #20 bl _kuhl_m_sysenv_display_vendorGuid ldr w8, [x19, #16] str x8, [sp] mov x0, x21 bl _kprintf ldr w0, [x19, #16] bl _kuhl_m_sysenv_display_attributes ldr x8, [x19] str x8, [sp] mov x0, x22 bl _kprintf ldr x1, [x19] cbz x1, LBB0_8 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x19, #8] cbz x8, LBB0_8 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 add x0, x8, x19 mov w2, #1 bl _kull_m_string_wprintf_hex LBB0_8: ; in Loop: Header=BB0_5 Depth=1 mov x0, x23 bl _kprintf mov x0, #0 ldr x8, [x19, #32] cbz x8, LBB0_11 ; %bb.9: ; in Loop: Header=BB0_5 Depth=1 add x19, x8, x19 cbnz x19, LBB0_5 b LBB0_11 LBB0_10: Lloh18: adrp x0, l_.str.4@PAGE Lloh19: add x0, x0, l_.str.4@PAGEOFF mov x1, x20 bl _PRINT_ERROR mov x0, x19 LBB0_11: bl _LocalFree LBB0_12: Lloh20: adrp x8, _STATUS_SUCCESS@GOTPAGE Lloh21: ldr x8, [x8, _STATUS_SUCCESS@GOTPAGEOFF] Lloh22: ldr x0, [x8] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .cfi_endproc ; -- End function .comm _VARIABLE_INFORMATION_VALUES,4,2 ; @VARIABLE_INFORMATION_VALUES .comm _STATUS_BUFFER_TOO_SMALL,8,3 ; @STATUS_BUFFER_TOO_SMALL .comm _LPTR,4,2 ; @LPTR .section __TEXT,__const .p2align 2 ; @.str l_.str: .long 78 ; 0x4e .long 97 ; 0x61 .long 109 ; 0x6d .long 101 ; 0x65 .long 32 ; 0x20 .long 32 ; 0x20 .long 32 ; 0x20 .long 32 ; 0x20 .long 32 ; 0x20 .long 32 ; 0x20 .long 32 ; 0x20 .long 58 ; 0x3a .long 32 ; 0x20 .long 37 ; 0x25 .long 115 ; 0x73 .long 10 ; 0xa .long 86 ; 0x56 .long 101 ; 0x65 .long 110 ; 0x6e .long 100 ; 0x64 .long 111 ; 0x6f .long 114 ; 0x72 .long 32 ; 0x20 .long 71 ; 0x47 .long 85 ; 0x55 .long 73 ; 0x49 .long 68 ; 0x44 .long 58 ; 0x3a .long 32 ; 0x20 .long 0 ; 0x0 .p2align 2 ; @.str.1 l_.str.1: .long 10 ; 0xa .long 65 ; 0x41 .long 116 ; 0x74 .long 116 ; 0x74 .long 114 ; 0x72 .long 105 ; 0x69 .long 98 ; 0x62 .long 117 ; 0x75 .long 116 ; 0x74 .long 101 ; 0x65 .long 115 ; 0x73 .long 32 ; 0x20 .long 58 ; 0x3a .long 32 ; 0x20 .long 37 ; 0x25 .long 48 ; 0x30 .long 56 ; 0x38 .long 120 ; 0x78 .long 32 ; 0x20 .long 40 ; 0x28 .long 0 ; 0x0 .p2align 2 ; @.str.2 l_.str.2: .long 41 ; 0x29 .long 10 ; 0xa .long 76 ; 0x4c .long 101 ; 0x65 .long 110 ; 0x6e .long 103 ; 0x67 .long 116 ; 0x74 .long 104 ; 0x68 .long 32 ; 0x20 .long 32 ; 0x20 .long 32 ; 0x20 .long 32 ; 0x20 .long 32 ; 0x20 .long 58 ; 0x3a .long 32 ; 0x20 .long 37 ; 0x25 .long 117 ; 0x75 .long 10 ; 0xa .long 68 ; 0x44 .long 97 ; 0x61 .long 116 ; 0x74 .long 97 ; 0x61 .long 32 ; 0x20 .long 32 ; 0x20 .long 32 ; 0x20 .long 32 ; 0x20 .long 32 ; 0x20 .long 32 ; 0x20 .long 32 ; 0x20 .long 58 ; 0x3a .long 32 ; 0x20 .long 0 ; 0x0 .p2align 2 ; @.str.3 l_.str.3: .long 10 ; 0xa .long 10 ; 0xa .long 0 ; 0x0 .p2align 2 ; @.str.4 l_.str.4: .long 78 ; 0x4e .long 116 ; 0x74 .long 69 ; 0x45 .long 110 ; 0x6e .long 117 ; 0x75 .long 109 ; 0x6d .long 101 ; 0x65 .long 114 ; 0x72 .long 97 ; 0x61 .long 116 ; 0x74 .long 101 ; 0x65 .long 83 ; 0x53 .long 121 ; 0x79 .long 115 ; 0x73 .long 116 ; 0x74 .long 101 ; 0x65 .long 109 ; 0x6d .long 69 ; 0x45 .long 110 ; 0x6e .long 118 ; 0x76 .long 105 ; 0x69 .long 114 ; 0x72 .long 111 ; 0x6f .long 110 ; 0x6e .long 109 ; 0x6d .long 101 ; 0x65 .long 110 ; 0x6e .long 116 ; 0x74 .long 86 ; 0x56 .long 97 ; 0x61 .long 108 ; 0x6c .long 117 ; 0x75 .long 101 ; 0x65 .long 115 ; 0x73 .long 69 ; 0x45 .long 120 ; 0x78 .long 40 ; 0x28 .long 100 ; 0x64 .long 97 ; 0x61 .long 116 ; 0x74 .long 97 ; 0x61 .long 41 ; 0x29 .long 58 ; 0x3a .long 32 ; 0x20 .long 48 ; 0x30 .long 120 ; 0x78 .long 37 ; 0x25 .long 48 ; 0x30 .long 56 ; 0x38 .long 120 ; 0x78 .long 10 ; 0xa .long 0 ; 0x0 .p2align 2 ; @.str.5 l_.str.5: .long 78 ; 0x4e .long 116 ; 0x74 .long 69 ; 0x45 .long 110 ; 0x6e .long 117 ; 0x75 .long 109 ; 0x6d .long 101 ; 0x65 .long 114 ; 0x72 .long 97 ; 0x61 .long 116 ; 0x74 .long 101 ; 0x65 .long 83 ; 0x53 .long 121 ; 0x79 .long 115 ; 0x73 .long 116 ; 0x74 .long 101 ; 0x65 .long 109 ; 0x6d .long 69 ; 0x45 .long 110 ; 0x6e .long 118 ; 0x76 .long 105 ; 0x69 .long 114 ; 0x72 .long 111 ; 0x6f .long 110 ; 0x6e .long 109 ; 0x6d .long 101 ; 0x65 .long 110 ; 0x6e .long 116 ; 0x74 .long 86 ; 0x56 .long 97 ; 0x61 .long 108 ; 0x6c .long 117 ; 0x75 .long 101 ; 0x65 .long 115 ; 0x73 .long 69 ; 0x45 .long 120 ; 0x78 .long 40 ; 0x28 .long 115 ; 0x73 .long 105 ; 0x69 .long 122 ; 0x7a .long 101 ; 0x65 .long 41 ; 0x29 .long 58 ; 0x3a .long 32 ; 0x20 .long 48 ; 0x30 .long 120 ; 0x78 .long 37 ; 0x25 .long 48 ; 0x30 .long 56 ; 0x38 .long 120 ; 0x78 .long 10 ; 0xa .long 0 ; 0x0 .comm _STATUS_SUCCESS,8,3 ; @STATUS_SUCCESS .subsections_via_symbols
AnghaBench/mimikatz/mimikatz/modules/extr_kuhl_m_sysenvvalue.c_kuhl_m_sysenv_list.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _qlcnic_83xx_register_map ## -- Begin function qlcnic_83xx_register_map .p2align 4, 0x90 _qlcnic_83xx_register_map: ## @qlcnic_83xx_register_map .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _qlcnic_83xx_hw_ops@GOTPCREL(%rip), %rax movq %rax, 16(%rdi) movq _qlcnic_83xx_reg_tbl@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 8(%rdi) movq _qlcnic_83xx_ext_reg_tbl@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, (%rdi) popq %rbp retq .cfi_endproc ## -- End function .comm _qlcnic_83xx_hw_ops,4,2 ## @qlcnic_83xx_hw_ops .comm _qlcnic_83xx_reg_tbl,8,3 ## @qlcnic_83xx_reg_tbl .comm _qlcnic_83xx_ext_reg_tbl,8,3 ## @qlcnic_83xx_ext_reg_tbl .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _qlcnic_83xx_register_map ; -- Begin function qlcnic_83xx_register_map .p2align 2 _qlcnic_83xx_register_map: ; @qlcnic_83xx_register_map .cfi_startproc ; %bb.0: Lloh0: adrp x8, _qlcnic_83xx_hw_ops@GOTPAGE Lloh1: ldr x8, [x8, _qlcnic_83xx_hw_ops@GOTPAGEOFF] str x8, [x0, #16] Lloh2: adrp x8, _qlcnic_83xx_reg_tbl@GOTPAGE Lloh3: ldr x8, [x8, _qlcnic_83xx_reg_tbl@GOTPAGEOFF] Lloh4: ldr x8, [x8] Lloh5: adrp x9, _qlcnic_83xx_ext_reg_tbl@GOTPAGE Lloh6: ldr x9, [x9, _qlcnic_83xx_ext_reg_tbl@GOTPAGEOFF] Lloh7: ldr x9, [x9] stp x9, x8, [x0] ret .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _qlcnic_83xx_hw_ops,4,2 ; @qlcnic_83xx_hw_ops .comm _qlcnic_83xx_reg_tbl,8,3 ; @qlcnic_83xx_reg_tbl .comm _qlcnic_83xx_ext_reg_tbl,8,3 ; @qlcnic_83xx_ext_reg_tbl .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/qlcnic/extr_qlcnic_83xx_hw.c_qlcnic_83xx_register_map.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function handle_abort _handle_abort: ## @handle_abort .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r9, -56(%rbp) ## 8-byte Spill movq %r8, %r13 movl %ecx, %r15d movl %edx, %r12d movl %esi, %ebx movq %rdi, %r14 movl %esi, %edi callq _ESR_ISS leaq -48(%rbp), %rsi leaq -44(%rbp), %rdx movl %eax, %edi callq *%r13 movl -48(%rbp), %ecx movl -44(%rbp), %r8d movq %r14, %rdi movl %ebx, %esi movl %r12d, %edx movl %r15d, %r9d callq *-56(%rbp) ## 8-byte Folded Reload addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _handle_abort .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function handle_abort _handle_abort: ; @handle_abort .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x5 mov x20, x4 mov x21, x3 mov x22, x2 mov x23, x1 mov x24, x0 mov x0, x1 bl _ESR_ISS add x1, sp, #12 add x2, sp, #8 blr x20 ldp w4, w3, [sp, #8] mov x0, x24 mov x1, x23 mov x2, x22 mov x5, x21 blr x19 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .no_dead_strip _handle_abort .subsections_via_symbols
AnghaBench/darwin-xnu/osfmk/arm64/extr_sleh.c_handle_abort.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pte_relmillisecs ## -- Begin function pte_relmillisecs .p2align 4, 0x90 _pte_relmillisecs: ## @pte_relmillisecs .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx subq $24, %rsp .cfi_offset %rbx, -24 imulq $1000, 8(%rdi), %rcx ## imm = 0x3E8 movl $500000, %eax ## imm = 0x7A120 addq (%rdi), %rax movabsq $4835703278458516699, %rdx ## imm = 0x431BDE82D7B634DB imulq %rdx movq %rdx, %rbx movq %rdx, %rax shrq $63, %rax sarq $18, %rbx addq %rax, %rbx addq %rcx, %rbx leaq -24(%rbp), %rdi callq __ftime imulq $1000, -16(%rbp), %rcx ## imm = 0x3E8 addq -24(%rbp), %rcx movl %ebx, %eax subl %ecx, %eax cmpl $-1, %eax movl $-2, %edx cmovnel %eax, %edx xorl %eax, %eax cmpq %rcx, %rbx cmovgl %edx, %eax addq $24, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pte_relmillisecs ; -- Begin function pte_relmillisecs .p2align 2 _pte_relmillisecs: ; @pte_relmillisecs .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov w19, #1000 ldp x9, x8, [x0] add x9, x9, #122, lsl #12 ; =499712 add x9, x9, #288 mov x10, #13531 movk x10, #55222, lsl #16 movk x10, #56962, lsl #32 movk x10, #17179, lsl #48 smulh x9, x9, x10 asr x10, x9, #18 add x9, x10, x9, lsr #63 madd x20, x8, x19, x9 mov x0, sp bl __ftime ldp x9, x8, [sp] madd x8, x8, x19, x9 sub w9, w20, w8 cmn w9, #1 mov w10, #-2 csel w9, w10, w9, eq cmp x20, x8 csel w0, w9, wzr, gt ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/RetroArch/deps/pthreads/extr_pte.c_pte_relmillisecs.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $1040, %rsp ## imm = 0x410 .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -24(%rbp) leaq -1056(%rbp), %rdi movl $1024, %esi ## imm = 0x400 callq ___bzero leaq L_.str(%rip), %rdi xorl %ebx, %ebx xorl %eax, %eax callq _printf leaq LJTI0_0(%rip), %r14 jmp LBB0_1 LBB0_14: ## in Loop: Header=BB0_1 Depth=1 movb $56, %cl .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_1 Depth=1 movb %cl, -1056(%rbp,%rbx) cmpl $1022, %ebx ## imm = 0x3FE ja LBB0_9 LBB0_16: ## in Loop: Header=BB0_1 Depth=1 incq %rbx LBB0_1: ## =>This Inner Loop Header: Depth=1 callq _getchar movl %eax, %edi callq ___toupper movb %al, -1056(%rbp,%rbx) movsbl %al, %edx addl $-65, %edx cmpl $18, %edx ja LBB0_7 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movb $52, %cl movslq (%r14,%rdx,4), %rdx addq %r14, %rdx jmpq *%rdx LBB0_3: ## in Loop: Header=BB0_1 Depth=1 movb $51, %cl jmp LBB0_15 LBB0_7: ## in Loop: Header=BB0_1 Depth=1 cmpb $10, %al je LBB0_9 ## %bb.8: ## in Loop: Header=BB0_1 Depth=1 cmpl $1023, %ebx ## imm = 0x3FF jb LBB0_16 jmp LBB0_9 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 movb $49, %cl jmp LBB0_15 LBB0_5: ## in Loop: Header=BB0_1 Depth=1 movb $48, %cl jmp LBB0_15 LBB0_6: ## in Loop: Header=BB0_1 Depth=1 movb $53, %cl jmp LBB0_15 LBB0_9: leaq L_.str.1(%rip), %rdi xorl %ebx, %ebx xorl %eax, %eax callq _printf .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 movsbl -1056(%rbp,%rbx), %edi cmpl $10, %edi je LBB0_12 ## %bb.11: ## in Loop: Header=BB0_10 Depth=1 callq _putchar incq %rbx cmpq $1024, %rbx ## imm = 0x400 jne LBB0_10 LBB0_12: leaq L_str(%rip), %rdi callq _puts movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -24(%rbp), %rax jne LBB0_13 ## %bb.17: xorl %eax, %eax addq $1040, %rsp ## imm = 0x410 popq %rbx popq %r14 popq %rbp retq LBB0_13: callq ___stack_chk_fail .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_15, LBB0_15-LJTI0_0 .set L0_0_set_14, LBB0_14-LJTI0_0 .set L0_0_set_7, LBB0_7-LJTI0_0 .set L0_0_set_3, LBB0_3-LJTI0_0 .set L0_0_set_4, LBB0_4-LJTI0_0 .set L0_0_set_5, LBB0_5-LJTI0_0 .set L0_0_set_6, LBB0_6-LJTI0_0 LJTI0_0: .long L0_0_set_15 .long L0_0_set_14 .long L0_0_set_7 .long L0_0_set_7 .long L0_0_set_3 .long L0_0_set_7 .long L0_0_set_7 .long L0_0_set_7 .long L0_0_set_4 .long L0_0_set_7 .long L0_0_set_7 .long L0_0_set_7 .long L0_0_set_7 .long L0_0_set_7 .long L0_0_set_5 .long L0_0_set_7 .long L0_0_set_7 .long L0_0_set_7 .long L0_0_set_6 .end_data_region ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Enter message: " L_.str.1: ## @.str.1 .asciz "In BIFF-speak: " L_str: ## @str .asciz "!!!!!!!!!!" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 sub sp, sp, #1040 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-40] add x19, sp, #8 add x0, sp, #8 mov w1, #1024 bl _bzero Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _printf mov x20, #0 Lloh5: adrp x21, lJTI0_0@PAGE Lloh6: add x21, x21, lJTI0_0@PAGEOFF b LBB0_4 LBB0_1: ; in Loop: Header=BB0_4 Depth=1 mov w8, #56 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 strb w8, [x19, x20] cmp w20, #1022 b.hi LBB0_12 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 add x20, x20, #1 LBB0_4: ; =>This Inner Loop Header: Depth=1 bl _getchar bl ___toupper strb w0, [x19, x20] sxtb w8, w0 sub w9, w8, #65 cmp w9, #18 b.hi LBB0_7 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 mov w8, #52 adr x10, LBB0_1 ldrb w11, [x21, x9] add x10, x10, x11, lsl #2 br x10 LBB0_6: ; in Loop: Header=BB0_4 Depth=1 mov w8, #51 b LBB0_2 LBB0_7: ; in Loop: Header=BB0_4 Depth=1 and w8, w0, #0xff cmp w8, #10 b.eq LBB0_12 ; %bb.8: ; in Loop: Header=BB0_4 Depth=1 cmp w20, #1023 b.lo LBB0_3 b LBB0_12 LBB0_9: ; in Loop: Header=BB0_4 Depth=1 mov w8, #49 b LBB0_2 LBB0_10: ; in Loop: Header=BB0_4 Depth=1 mov w8, #48 b LBB0_2 LBB0_11: ; in Loop: Header=BB0_4 Depth=1 mov w8, #53 b LBB0_2 LBB0_12: Lloh7: adrp x0, l_.str.1@PAGE Lloh8: add x0, x0, l_.str.1@PAGEOFF bl _printf mov x19, #0 add x20, sp, #8 LBB0_13: ; =>This Inner Loop Header: Depth=1 ldrsb w0, [x20, x19] cmp w0, #10 b.eq LBB0_15 ; %bb.14: ; in Loop: Header=BB0_13 Depth=1 bl _putchar add x19, x19, #1 cmp x19, #1024 b.ne LBB0_13 LBB0_15: Lloh9: adrp x0, l_str@PAGE Lloh10: add x0, x0, l_str@PAGEOFF bl _puts ldur x8, [x29, #-40] Lloh11: adrp x9, ___stack_chk_guard@GOTPAGE Lloh12: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh13: ldr x9, [x9] cmp x9, x8 b.ne LBB0_17 ; %bb.16: mov w0, #0 add sp, sp, #1040 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_17: bl ___stack_chk_fail .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpAdd Lloh9, Lloh10 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_2-LBB0_1)>>2 .byte (LBB0_1-LBB0_1)>>2 .byte (LBB0_7-LBB0_1)>>2 .byte (LBB0_7-LBB0_1)>>2 .byte (LBB0_6-LBB0_1)>>2 .byte (LBB0_7-LBB0_1)>>2 .byte (LBB0_7-LBB0_1)>>2 .byte (LBB0_7-LBB0_1)>>2 .byte (LBB0_9-LBB0_1)>>2 .byte (LBB0_7-LBB0_1)>>2 .byte (LBB0_7-LBB0_1)>>2 .byte (LBB0_7-LBB0_1)>>2 .byte (LBB0_7-LBB0_1)>>2 .byte (LBB0_7-LBB0_1)>>2 .byte (LBB0_10-LBB0_1)>>2 .byte (LBB0_7-LBB0_1)>>2 .byte (LBB0_7-LBB0_1)>>2 .byte (LBB0_7-LBB0_1)>>2 .byte (LBB0_11-LBB0_1)>>2 ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Enter message: " l_.str.1: ; @.str.1 .asciz "In BIFF-speak: " l_str: ; @str .asciz "!!!!!!!!!!" .subsections_via_symbols
the_stack_data/308819.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _test_reallocate ## -- Begin function test_reallocate .p2align 4, 0x90 _test_reallocate: ## @test_reallocate .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq $0, -48(%rbp) movq _SUPERPAGE_SIZE@GOTPCREL(%rip), %r15 movl (%r15), %r14d xorl %ebx, %ebx xorl %eax, %eax callq _mach_task_self movq _VM_FLAGS_ANYWHERE@GOTPCREL(%rip), %rdx movq _VM_FLAGS_SUPERPAGE_SIZE_2MB@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl (%rdx), %ecx leaq -48(%rbp), %rsi movl %eax, %edi movl %r14d, %edx callq _mach_vm_allocate leaq L_.str(%rip), %rsi movl %eax, %edi callq _check_kr testl %eax, %eax je LBB0_9 ## %bb.1: movl (%r15), %eax movq _PAGE_SIZE@GOTPCREL(%rip), %r13 movl (%r13), %ecx cltd idivl %ecx testl %eax, %eax jle LBB0_6 ## %bb.2: leaq -56(%rbp), %r15 leaq L_.str(%rip), %r12 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movl %ecx, %r14d movl %ecx, %eax imull %ebx, %eax cltq addq -48(%rbp), %rax movq %rax, -56(%rbp) xorl %eax, %eax callq _mach_task_self movl %eax, %edi movq %r15, %rsi movl %r14d, %edx xorl %ecx, %ecx callq _mach_vm_allocate movl %eax, %edi movq %r12, %rsi callq _check_kr testl %eax, %eax jne LBB0_4 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 incl %ebx movq _SUPERPAGE_SIZE@GOTPCREL(%rip), %rax movl (%rax), %eax movl (%r13), %ecx cltd idivl %ecx cmpl %eax, %ebx jl LBB0_3 LBB0_6: xorl %eax, %eax callq _mach_task_self movq -48(%rbp), %rsi movl %eax, %edi movl %r14d, %edx callq _mach_vm_deallocate leaq L_.str.2(%rip), %rsi movl %eax, %edi callq _check_kr movl %eax, %ebx testl %eax, %eax je LBB0_9 ## %bb.7: movq _TRUE@GOTPCREL(%rip), %rax jmp LBB0_8 LBB0_4: movq _error@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.1(%rip), %rsi movl %ebx, %edx callq _sprintf xorl %eax, %eax callq _mach_task_self movq -48(%rbp), %rsi movl %eax, %edi movl %r14d, %edx callq _mach_vm_deallocate movq _FALSE@GOTPCREL(%rip), %rax LBB0_8: movl (%rax), %ebx LBB0_9: movl %ebx, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _SUPERPAGE_SIZE,4,2 ## @SUPERPAGE_SIZE .comm _VM_FLAGS_ANYWHERE,4,2 ## @VM_FLAGS_ANYWHERE .comm _VM_FLAGS_SUPERPAGE_SIZE_2MB,4,2 ## @VM_FLAGS_SUPERPAGE_SIZE_2MB .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "mach_vm_allocate" .comm _PAGE_SIZE,4,2 ## @PAGE_SIZE .comm _error,4,2 ## @error L_.str.1: ## @.str.1 .asciz "could allocate already allocated space, page %d" .comm _FALSE,4,2 ## @FALSE L_.str.2: ## @.str.2 .asciz "mach_vm_deallocate" .comm _TRUE,4,2 ## @TRUE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _test_reallocate ; -- Begin function test_reallocate .p2align 2 _test_reallocate: ; @test_reallocate .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 str xzr, [sp, #8] Lloh0: adrp x22, _SUPERPAGE_SIZE@GOTPAGE Lloh1: ldr x22, [x22, _SUPERPAGE_SIZE@GOTPAGEOFF] ldr w19, [x22] bl _mach_task_self Lloh2: adrp x8, _VM_FLAGS_ANYWHERE@GOTPAGE Lloh3: ldr x8, [x8, _VM_FLAGS_ANYWHERE@GOTPAGEOFF] Lloh4: ldr w8, [x8] Lloh5: adrp x9, _VM_FLAGS_SUPERPAGE_SIZE_2MB@GOTPAGE Lloh6: ldr x9, [x9, _VM_FLAGS_SUPERPAGE_SIZE_2MB@GOTPAGEOFF] Lloh7: ldr w9, [x9] orr w3, w9, w8 add x1, sp, #8 mov x2, x19 bl _mach_vm_allocate Lloh8: adrp x1, l_.str@PAGE Lloh9: add x1, x1, l_.str@PAGEOFF bl _check_kr cbz w0, LBB0_7 ; %bb.1: ldr w9, [x22] Lloh10: adrp x23, _PAGE_SIZE@GOTPAGE Lloh11: ldr x23, [x23, _PAGE_SIZE@GOTPAGEOFF] ldr w8, [x23] sdiv w9, w9, w8 cmp w9, #1 b.lt LBB0_5 ; %bb.2: mov w20, #0 Lloh12: adrp x21, l_.str@PAGE Lloh13: add x21, x21, l_.str@PAGEOFF LBB0_3: ; =>This Inner Loop Header: Depth=1 mov x19, x8 ldr x8, [sp, #8] mul w9, w19, w20 add x8, x8, w9, sxtw str x8, [sp] bl _mach_task_self mov x1, sp mov x2, x19 mov w3, #0 bl _mach_vm_allocate mov x1, x21 bl _check_kr cbnz w0, LBB0_6 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 add w20, w20, #1 ldr w9, [x22] ldr w8, [x23] sdiv w9, w9, w8 cmp w20, w9 b.lt LBB0_3 LBB0_5: bl _mach_task_self ldr x1, [sp, #8] mov x2, x19 bl _mach_vm_deallocate Lloh14: adrp x1, l_.str.2@PAGE Lloh15: add x1, x1, l_.str.2@PAGEOFF bl _check_kr Lloh16: adrp x8, _TRUE@GOTPAGE Lloh17: ldr x8, [x8, _TRUE@GOTPAGEOFF] Lloh18: ldr w8, [x8] cmp w0, #0 csel w0, wzr, w8, eq b LBB0_7 LBB0_6: Lloh19: adrp x8, _error@GOTPAGE Lloh20: ldr x8, [x8, _error@GOTPAGEOFF] Lloh21: ldr w0, [x8] Lloh22: adrp x1, l_.str.1@PAGE Lloh23: add x1, x1, l_.str.1@PAGEOFF mov x2, x20 bl _sprintf bl _mach_task_self ldr x1, [sp, #8] mov x2, x19 bl _mach_vm_deallocate Lloh24: adrp x8, _FALSE@GOTPAGE Lloh25: ldr x8, [x8, _FALSE@GOTPAGEOFF] Lloh26: ldr w0, [x8] LBB0_7: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .cfi_endproc ; -- End function .comm _SUPERPAGE_SIZE,4,2 ; @SUPERPAGE_SIZE .comm _VM_FLAGS_ANYWHERE,4,2 ; @VM_FLAGS_ANYWHERE .comm _VM_FLAGS_SUPERPAGE_SIZE_2MB,4,2 ; @VM_FLAGS_SUPERPAGE_SIZE_2MB .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "mach_vm_allocate" .comm _PAGE_SIZE,4,2 ; @PAGE_SIZE .comm _error,4,2 ; @error l_.str.1: ; @.str.1 .asciz "could allocate already allocated space, page %d" .comm _FALSE,4,2 ; @FALSE l_.str.2: ; @.str.2 .asciz "mach_vm_deallocate" .comm _TRUE,4,2 ; @TRUE .subsections_via_symbols
AnghaBench/darwin-xnu/tools/tests/superpages/extr_testsp.c_test_reallocate.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function is_printable_array _is_printable_array: ## @is_printable_array .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl $1, %r14d testl %esi, %esi je LBB0_6 ## %bb.1: movq %rdi, %r12 movl %esi, %r15d xorl %ebx, %ebx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movzbl (%r12,%rbx), %eax testb %al, %al je LBB0_6 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movsbl %al, %edi callq _isprint testl %eax, %eax je LBB0_5 ## %bb.2: ## in Loop: Header=BB0_3 Depth=1 incq %rbx cmpq %rbx, %r15 jne LBB0_3 jmp LBB0_6 LBB0_5: xorl %r14d, %r14d LBB0_6: movl %r14d, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _is_printable_array .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function is_printable_array _is_printable_array: ; @is_printable_array .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 cbz w1, LBB0_5 ; %bb.1: mov x19, x0 mov w20, w1 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldrb w8, [x19] cbz w8, LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 sxtb w0, w8 bl _isprint cbz w0, LBB0_6 ; %bb.4: ; in Loop: Header=BB0_2 Depth=1 add x19, x19, #1 subs x20, x20, #1 b.ne LBB0_2 LBB0_5: mov w0, #1 LBB0_6: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _is_printable_array .subsections_via_symbols
AnghaBench/fastsocket/kernel/tools/lib/traceevent/extr_event-parse.c_is_printable_array.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function tda1997x_s_ctrl _tda1997x_s_ctrl: ## @tda1997x_s_ctrl .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx callq _to_sd movq %rax, %r14 movq %rax, %rdi callq _to_state cmpl $128, (%rbx) jne LBB0_2 ## %bb.1: movl 4(%rbx), %ecx movl %ecx, (%rax) movq %rax, %rdi callq _set_rgb_quantization_range movq %r14, %rdi callq _tda1997x_configure_csc xorl %eax, %eax jmp LBB0_3 LBB0_2: movq _EINVAL@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax LBB0_3: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .no_dead_strip _tda1997x_s_ctrl .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function tda1997x_s_ctrl _tda1997x_s_ctrl: ; @tda1997x_s_ctrl .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x0 bl _to_sd mov x19, x0 bl _to_state ldr w8, [x20] cmp w8, #128 b.ne LBB0_2 ; %bb.1: ldr w8, [x20, #4] str w8, [x0] bl _set_rgb_quantization_range mov x0, x19 bl _tda1997x_configure_csc mov w0, #0 b LBB0_3 LBB0_2: Lloh0: adrp x8, _EINVAL@GOTPAGE Lloh1: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w0, w8 LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .no_dead_strip _tda1997x_s_ctrl .subsections_via_symbols
AnghaBench/linux/drivers/media/i2c/extr_tda1997x.c_tda1997x_s_ctrl.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function i_usX2Y_urb_complete _i_usX2Y_urb_complete: ## @i_usX2Y_urb_complete .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r15 movq 16(%rdi), %rbx movq 24(%rbx), %r14 movq %rbx, %rdi callq _atomic_read movq _state_PREPARED@GOTPCREL(%rip), %r13 xorl %edi, %edi cmpq (%r13), %rax setl %dil callq _unlikely testq %rax, %rax je LBB0_1 ## %bb.10: movl 16(%r14), %edi callq _usb_get_current_frame_number movl %eax, %r14d movl 16(%rbx), %ebx movl 8(%r15), %edi callq _usb_pipein testq %rax, %rax leaq L_.str.2(%rip), %rax leaq L_.str.1(%rip), %rcx cmoveq %rax, %rcx movl (%r15), %r8d movl 4(%r15), %r9d leaq L_.str(%rip), %rdi movl %r14d, %esi movl %ebx, %edx xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _snd_printdd ## TAILCALL LBB0_1: movl (%r15), %edi callq _unlikely testq %rax, %rax je LBB0_2 ## %bb.11: movq %r14, %rdi movq %rbx, %rsi movq %r15, %rdx addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _usX2Y_error_urb_status ## TAILCALL LBB0_2: movl 4(%r15), %eax movl (%r14), %ecx xorl %edi, %edi xorw %ax, %cx sete %dil callq _likely testq %rax, %rax je LBB0_12 ## %bb.3: movq %r15, 8(%rbx) movq 8(%r14), %rax movq _SNDRV_PCM_STREAM_CAPTURE@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq (%rax,%rcx,8), %rbx cmpq $0, 8(%rbx) je LBB0_9 ## %bb.4: movq _SNDRV_PCM_STREAM_PLAYBACK@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq (%rax,%rcx,8), %r12 movq %rbx, %rdi callq _atomic_read cmpq (%r13), %rax jl LBB0_9 ## %bb.5: cmpq $0, 8(%r12) jne LBB0_7 ## %bb.6: movq %r12, %rdi callq _atomic_read cmpq (%r13), %rax jge LBB0_9 LBB0_7: movl 4(%r15), %edx movq %rbx, %rdi movq %r12, %rsi callq _usX2Y_usbframe_complete testl %eax, %eax je LBB0_8 ## %bb.13: leaq L_.str.3(%rip), %rdi xorl %eax, %eax callq _snd_printdd movq %r14, %rdi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _usX2Y_clients_stop ## TAILCALL LBB0_12: movq %r14, %rdi movq %rbx, %rsi movq %r15, %rdx addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _usX2Y_error_sequence ## TAILCALL LBB0_8: xorl %eax, %eax callq _nr_of_packs addl %eax, (%r14) LBB0_9: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _state_PREPARED,8,3 ## @state_PREPARED .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "hcd_frame=%i ep=%i%s status=%i start_frame=%i\n" L_.str.1: ## @.str.1 .asciz "in" L_.str.2: ## @.str.2 .asciz "out" .comm _SNDRV_PCM_STREAM_CAPTURE,8,3 ## @SNDRV_PCM_STREAM_CAPTURE .comm _SNDRV_PCM_STREAM_PLAYBACK,8,3 ## @SNDRV_PCM_STREAM_PLAYBACK L_.str.3: ## @.str.3 .asciz "\n" .no_dead_strip _i_usX2Y_urb_complete .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function i_usX2Y_urb_complete _i_usX2Y_urb_complete: ; @i_usX2Y_urb_complete .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 ldr x21, [x0, #16] ldr x20, [x21, #24] mov x0, x21 bl _atomic_read Lloh0: adrp x23, _state_PREPARED@GOTPAGE Lloh1: ldr x23, [x23, _state_PREPARED@GOTPAGEOFF] ldr x8, [x23] cmp x0, x8 cset w0, lt bl _unlikely cbz x0, LBB0_3 ; %bb.1: ldr w0, [x20, #16] bl _usb_get_current_frame_number mov x20, x0 ldr w0, [x19, #8] ldr w21, [x21, #16] bl _usb_pipein Lloh2: adrp x8, l_.str.1@PAGE Lloh3: add x8, x8, l_.str.1@PAGEOFF Lloh4: adrp x9, l_.str.2@PAGE Lloh5: add x9, x9, l_.str.2@PAGEOFF cmp x0, #0 csel x8, x9, x8, eq ldp w9, w10, [x19] stp x9, x10, [sp, #24] stp x21, x8, [sp, #8] str x20, [sp] Lloh6: adrp x0, l_.str@PAGE Lloh7: add x0, x0, l_.str@PAGEOFF bl _snd_printdd LBB0_2: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload add sp, sp, #112 ret LBB0_3: ldr w0, [x19] bl _unlikely cbz x0, LBB0_5 ; %bb.4: mov x0, x20 mov x1, x21 mov x2, x19 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload add sp, sp, #112 b _usX2Y_error_urb_status LBB0_5: ldrh w8, [x19, #4] ldrh w9, [x20] eor w8, w9, w8 cmp w8, #0 cset w0, eq bl _likely cbz x0, LBB0_12 ; %bb.6: str x19, [x21, #8] ldr x8, [x20, #8] Lloh8: adrp x9, _SNDRV_PCM_STREAM_CAPTURE@GOTPAGE Lloh9: ldr x9, [x9, _SNDRV_PCM_STREAM_CAPTURE@GOTPAGEOFF] Lloh10: ldr x9, [x9] ldr x21, [x8, x9, lsl #3] ldr x9, [x21, #8] cbz x9, LBB0_2 ; %bb.7: Lloh11: adrp x9, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGE Lloh12: ldr x9, [x9, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGEOFF] Lloh13: ldr x9, [x9] ldr x22, [x8, x9, lsl #3] mov x0, x21 bl _atomic_read ldr x8, [x23] cmp x0, x8 b.lt LBB0_2 ; %bb.8: ldr x8, [x22, #8] cbnz x8, LBB0_10 ; %bb.9: mov x0, x22 bl _atomic_read ldr x8, [x23] cmp x0, x8 b.ge LBB0_2 LBB0_10: ldr w2, [x19, #4] mov x0, x21 mov x1, x22 bl _usX2Y_usbframe_complete cbz w0, LBB0_13 ; %bb.11: Lloh14: adrp x0, l_.str.3@PAGE Lloh15: add x0, x0, l_.str.3@PAGEOFF bl _snd_printdd mov x0, x20 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload add sp, sp, #112 b _usX2Y_clients_stop LBB0_12: mov x0, x20 mov x1, x21 mov x2, x19 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload add sp, sp, #112 b _usX2Y_error_sequence LBB0_13: bl _nr_of_packs ldr w8, [x20] add w8, w8, w0 str w8, [x20] b LBB0_2 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpAdd Lloh14, Lloh15 .cfi_endproc ; -- End function .comm _state_PREPARED,8,3 ; @state_PREPARED .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "hcd_frame=%i ep=%i%s status=%i start_frame=%i\n" l_.str.1: ; @.str.1 .asciz "in" l_.str.2: ; @.str.2 .asciz "out" .comm _SNDRV_PCM_STREAM_CAPTURE,8,3 ; @SNDRV_PCM_STREAM_CAPTURE .comm _SNDRV_PCM_STREAM_PLAYBACK,8,3 ; @SNDRV_PCM_STREAM_PLAYBACK l_.str.3: ; @.str.3 .asciz "\n" .no_dead_strip _i_usX2Y_urb_complete .subsections_via_symbols
AnghaBench/fastsocket/kernel/sound/usb/usx2y/extr_usbusx2yaudio.c_i_usX2Y_urb_complete.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _matrix_scan_kb ## -- Begin function matrix_scan_kb .p2align 4, 0x90 _matrix_scan_kb: ## @matrix_scan_kb .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp jmp _matrix_scan_user ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _matrix_scan_kb ; -- Begin function matrix_scan_kb .p2align 2 _matrix_scan_kb: ; @matrix_scan_kb .cfi_startproc ; %bb.0: b _matrix_scan_user .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/qmk_firmware/keyboards/dumbpad/extr_dumbpad.c_matrix_scan_kb.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ResetUsage ## -- Begin function ResetUsage .p2align 4, 0x90 _ResetUsage: ## @ResetUsage .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _RUSAGE_SELF@GOTPCREL(%rip), %rax movl (%rax), %edi movq _Save_r@GOTPCREL(%rip), %rsi callq _getrusage movq _Save_t@GOTPCREL(%rip), %rdi xorl %esi, %esi popq %rbp jmp _gettimeofday ## TAILCALL .cfi_endproc ## -- End function .comm _RUSAGE_SELF,4,2 ## @RUSAGE_SELF .comm _Save_r,4,2 ## @Save_r .comm _Save_t,4,2 ## @Save_t .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ResetUsage ; -- Begin function ResetUsage .p2align 2 _ResetUsage: ; @ResetUsage .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, _RUSAGE_SELF@GOTPAGE Lloh1: ldr x8, [x8, _RUSAGE_SELF@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x1, _Save_r@GOTPAGE Lloh4: ldr x1, [x1, _Save_r@GOTPAGEOFF] bl _getrusage Lloh5: adrp x0, _Save_t@GOTPAGE Lloh6: ldr x0, [x0, _Save_t@GOTPAGEOFF] mov x1, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _gettimeofday .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _RUSAGE_SELF,4,2 ; @RUSAGE_SELF .comm _Save_r,4,2 ; @Save_r .comm _Save_t,4,2 ; @Save_t .subsections_via_symbols
AnghaBench/postgres/src/backend/tcop/extr_postgres.c_ResetUsage.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sc16is7xx_request_port _sc16is7xx_request_port: ## @sc16is7xx_request_port .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _sc16is7xx_request_port .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sc16is7xx_request_port _sc16is7xx_request_port: ; @sc16is7xx_request_port .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .no_dead_strip _sc16is7xx_request_port .subsections_via_symbols
AnghaBench/linux/drivers/tty/serial/extr_sc16is7xx.c_sc16is7xx_request_port.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ovs_flow_actions_alloc ## -- Begin function ovs_flow_actions_alloc .p2align 4, 0x90 _ovs_flow_actions_alloc: ## @ovs_flow_actions_alloc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _MAX_ACTIONS_BUFSIZE@GOTPCREL(%rip), %rax cmpl %edi, (%rax) jge LBB0_3 ## %bb.1: movq _EINVAL@GOTPCREL(%rip), %rax jmp LBB0_2 LBB0_3: addl $8, %edi movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi callq _kmalloc testq %rax, %rax je LBB0_4 ## %bb.5: movq $0, (%rax) popq %rbp retq LBB0_4: movq _ENOMEM@GOTPCREL(%rip), %rax LBB0_2: xorl %edi, %edi subl (%rax), %edi popq %rbp jmp _ERR_PTR ## TAILCALL .cfi_endproc ## -- End function .comm _MAX_ACTIONS_BUFSIZE,4,2 ## @MAX_ACTIONS_BUFSIZE .comm _EINVAL,4,2 ## @EINVAL .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ovs_flow_actions_alloc ; -- Begin function ovs_flow_actions_alloc .p2align 2 _ovs_flow_actions_alloc: ; @ovs_flow_actions_alloc .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, _MAX_ACTIONS_BUFSIZE@GOTPAGE Lloh1: ldr x8, [x8, _MAX_ACTIONS_BUFSIZE@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmp w8, w0 b.ge LBB0_2 ; %bb.1: Lloh3: adrp x8, _EINVAL@GOTPAGE Lloh4: ldr x8, [x8, _EINVAL@GOTPAGEOFF] b LBB0_5 LBB0_2: add w0, w0, #8 Lloh5: adrp x8, _GFP_KERNEL@GOTPAGE Lloh6: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh7: ldr w1, [x8] bl _kmalloc cbz x0, LBB0_4 ; %bb.3: str xzr, [x0] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_4: Lloh8: adrp x8, _ENOMEM@GOTPAGE Lloh9: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] LBB0_5: ldr w8, [x8] neg w0, w8 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _ERR_PTR .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh8, Lloh9 .cfi_endproc ; -- End function .comm _MAX_ACTIONS_BUFSIZE,4,2 ; @MAX_ACTIONS_BUFSIZE .comm _EINVAL,4,2 ; @EINVAL .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .subsections_via_symbols
AnghaBench/fastsocket/kernel/net/openvswitch/extr_flow.c_ovs_flow_actions_alloc.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function get_mess_env _get_mess_env: ## @get_mess_env .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 leaq L_.str(%rip), %rdi callq _mch_getenv testq %rax, %rax je LBB0_2 ## %bb.1: movq (%rax), %rcx movq _NUL@GOTPCREL(%rip), %rdx cmpq (%rdx), %rcx jne LBB0_7 LBB0_2: leaq L_.str.1(%rip), %rdi callq _mch_getenv testq %rax, %rax je LBB0_4 ## %bb.3: movq (%rax), %rcx movq _NUL@GOTPCREL(%rip), %rdx cmpq (%rdx), %rcx jne LBB0_7 LBB0_4: leaq L_.str.2(%rip), %rdi callq _mch_getenv testq %rax, %rax je LBB0_5 ## %bb.6: movq %rax, %rbx movq (%rax), %rdi callq _VIM_ISDIGIT movq %rax, %rcx xorl %eax, %eax testq %rcx, %rcx cmoveq %rbx, %rax jmp LBB0_7 LBB0_5: xorl %eax, %eax LBB0_7: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "LC_ALL" .comm _NUL,8,3 ## @NUL L_.str.1: ## @.str.1 .asciz "LC_MESSAGES" L_.str.2: ## @.str.2 .asciz "LANG" .comm _LC_CTYPE,4,2 ## @LC_CTYPE .no_dead_strip _get_mess_env .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function get_mess_env _get_mess_env: ; @get_mess_env .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _mch_getenv Lloh2: adrp x19, _NUL@GOTPAGE Lloh3: ldr x19, [x19, _NUL@GOTPAGEOFF] cbz x0, LBB0_2 ; %bb.1: ldr x8, [x0] ldr x9, [x19] cmp x8, x9 b.ne LBB0_6 LBB0_2: Lloh4: adrp x0, l_.str.1@PAGE Lloh5: add x0, x0, l_.str.1@PAGEOFF bl _mch_getenv cbz x0, LBB0_4 ; %bb.3: ldr x8, [x0] ldr x9, [x19] cmp x8, x9 b.ne LBB0_6 LBB0_4: Lloh6: adrp x0, l_.str.2@PAGE Lloh7: add x0, x0, l_.str.2@PAGEOFF bl _mch_getenv cbz x0, LBB0_6 ; %bb.5: mov x19, x0 ldr x0, [x0] bl _VIM_ISDIGIT cmp x0, #0 csel x0, x19, xzr, eq LBB0_6: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "LC_ALL" .comm _NUL,8,3 ; @NUL l_.str.1: ; @.str.1 .asciz "LC_MESSAGES" l_.str.2: ; @.str.2 .asciz "LANG" .comm _LC_CTYPE,4,2 ; @LC_CTYPE .no_dead_strip _get_mess_env .subsections_via_symbols
AnghaBench/macvim/src/extr_ex_cmds2.c_get_mess_env.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movl %edi, %ebx movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) leaq L_.str(%rip), %rdi leaq L_.str.1(%rip), %rsi callq _getservbyname movq %rax, -96(%rbp) ## 8-byte Spill testq %rax, %rax je LBB0_1 ## %bb.3: cmpl $2, %ebx jl LBB0_6 ## %bb.4: movq 8(%r15), %rax movb (%rax), %al andb $-3, %al cmpb $45, %al jne LBB0_6 ## %bb.5: movq (%r15), %rsi leaq L_.str.11(%rip), %rdi xorl %eax, %eax callq _printf movl $-1, %eax jmp LBB0_39 LBB0_6: movq ___stdoutp@GOTPCREL(%rip), %r14 movq _packet@GOTPCREL(%rip), %r13 xorl %eax, %eax movq %rax, -72(%rbp) ## 8-byte Spill .p2align 4, 0x90 LBB0_7: ## =>This Loop Header: Depth=1 ## Child Loop BB0_32 Depth 2 movl %ebx, -76(%rbp) ## 4-byte Spill movl $2, %edi movl $1, %esi xorl %edx, %edx callq _socket cmpl $-1, %eax je LBB0_8 ## %bb.9: ## in Loop: Header=BB0_7 Depth=1 movl %eax, %r12d cmpl $2, -76(%rbp) ## 4-byte Folded Reload jl LBB0_16 ## %bb.10: ## in Loop: Header=BB0_7 Depth=1 movq 8(%r15), %rdi movl $64, %esi callq _strchr testq %rax, %rax je LBB0_11 ## %bb.12: ## in Loop: Header=BB0_7 Depth=1 cmpb $0, 1(%rax) je LBB0_17 ## %bb.13: ## in Loop: Header=BB0_7 Depth=1 movq %rax, %rbx incq %rbx movb $0, (%rax) jmp LBB0_14 .p2align 4, 0x90 LBB0_16: ## in Loop: Header=BB0_7 Depth=1 movq -72(%rbp), %rax ## 8-byte Reload testq %rax, %rax je LBB0_11 LBB0_17: ## in Loop: Header=BB0_7 Depth=1 movq %rax, %rcx movq %rax, -72(%rbp) ## 8-byte Spill movb $0, (%rax) jmp LBB0_18 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_7 Depth=1 xorl %eax, %eax movq %rax, -72(%rbp) ## 8-byte Spill LBB0_18: ## in Loop: Header=BB0_7 Depth=1 movl $159, %esi movq _buf@GOTPCREL(%rip), %rbx movq %rbx, %rdi callq _gethostname testl %eax, %eax jne LBB0_19 LBB0_14: ## in Loop: Header=BB0_7 Depth=1 movq %rbx, %rdi callq _inet_addr cmpl $-1, %eax movq %r15, -88(%rbp) ## 8-byte Spill je LBB0_20 ## %bb.15: ## in Loop: Header=BB0_7 Depth=1 movq %rbx, -72(%rbp) ## 8-byte Spill movl %eax, %ebx jmp LBB0_23 .p2align 4, 0x90 LBB0_20: ## in Loop: Header=BB0_7 Depth=1 movq %rbx, %rdi callq _gethostbyname testq %rax, %rax je LBB0_21 ## %bb.22: ## in Loop: Header=BB0_7 Depth=1 movq (%rax), %rcx movq %rcx, -72(%rbp) ## 8-byte Spill movq 24(%rax), %rax movq (%rax), %rax movq (%rax), %rbx LBB0_23: ## in Loop: Header=BB0_7 Depth=1 movq (%r14), %rdi leaq L_.str.6(%rip), %rsi movq -72(%rbp), %rdx ## 8-byte Reload xorl %eax, %eax callq _fprintf movb $2, -63(%rbp) movq -96(%rbp), %rax ## 8-byte Reload movzwl 16(%rax), %eax movw %ax, -62(%rbp) movl %ebx, -60(%rbp) movq $0, -56(%rbp) movl %r12d, %edi leaq -64(%rbp), %rsi movl $16, %edx callq _connect cmpl $-1, %eax je LBB0_24 ## %bb.25: ## in Loop: Header=BB0_7 Depth=1 movb $0, (%r13) movl $1, %eax cmpl $2, -76(%rbp) ## 4-byte Folded Reload jl LBB0_29 ## %bb.26: ## in Loop: Header=BB0_7 Depth=1 movq -88(%rbp), %rax ## 8-byte Reload movq 8(%rax), %rbx movq %rbx, %rdi callq _strlen movq %rax, %r15 cmpl $8191, %r15d ## imm = 0x1FFF jl LBB0_28 ## %bb.27: ## in Loop: Header=BB0_7 Depth=1 movb $0, 8190(%rbx) movq -88(%rbp), %rax ## 8-byte Reload movq 8(%rax), %rbx movl $8190, %r15d ## imm = 0x1FFE LBB0_28: ## in Loop: Header=BB0_7 Depth=1 movl $8192, %edx ## imm = 0x2000 movq %r13, %rdi movq %rbx, %rsi callq ___strcpy_chk movslq %r15d, %rcx leal 1(%rcx), %eax movw $10, (%r13,%rcx) LBB0_29: ## in Loop: Header=BB0_7 Depth=1 movslq %eax, %rbx movl %r12d, %edi movq %r13, %rsi movq %rbx, %rdx xorl %ecx, %ecx callq _send cmpq %rbx, %rax movq -72(%rbp), %rbx ## 8-byte Reload jne LBB0_30 .p2align 4, 0x90 LBB0_32: ## Parent Loop BB0_7 Depth=1 ## => This Inner Loop Header: Depth=2 movl $8191, %edx ## imm = 0x1FFF movl %r12d, %edi movq %r13, %rsi xorl %ecx, %ecx callq _recv testl %eax, %eax je LBB0_35 ## %bb.33: ## in Loop: Header=BB0_32 Depth=2 cmpl $-1, %eax je LBB0_34 ## %bb.31: ## in Loop: Header=BB0_32 Depth=2 cltq movb $0, (%r13,%rax) movq (%r14), %rsi movq %r13, %rdi callq _fputs jmp LBB0_32 LBB0_21: ## in Loop: Header=BB0_7 Depth=1 movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.5(%rip), %rsi movq %rbx, %rdx xorl %eax, %eax callq _fprintf movq %rbx, -72(%rbp) ## 8-byte Spill jmp LBB0_37 LBB0_24: ## in Loop: Header=BB0_7 Depth=1 leaq L_.str.7(%rip), %rdi callq _perror jmp LBB0_36 LBB0_19: ## in Loop: Header=BB0_7 Depth=1 leaq L_.str.4(%rip), %rdi callq _perror jmp LBB0_37 LBB0_30: ## in Loop: Header=BB0_7 Depth=1 leaq L_.str.8(%rip), %rdi callq _perror jmp LBB0_35 LBB0_34: ## in Loop: Header=BB0_7 Depth=1 callq _main.cold.1 .p2align 4, 0x90 LBB0_35: ## in Loop: Header=BB0_7 Depth=1 movq %rbx, -72(%rbp) ## 8-byte Spill LBB0_36: ## in Loop: Header=BB0_7 Depth=1 movq -88(%rbp), %r15 ## 8-byte Reload LBB0_37: ## in Loop: Header=BB0_7 Depth=1 movl %r12d, %edi callq _close xorl %eax, %eax movl -76(%rbp), %ebx ## 4-byte Reload cmpl $3, %ebx jl LBB0_39 ## %bb.38: ## in Loop: Header=BB0_7 Depth=1 decl %ebx cmpq $0, 16(%r15) leaq 8(%r15), %r15 jne LBB0_7 LBB0_39: movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -48(%rbp), %rcx jne LBB0_41 ## %bb.40: addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_1: leaq L_.str.2(%rip), %rdi jmp LBB0_2 LBB0_8: leaq L_.str.3(%rip), %rdi LBB0_2: callq _perror movl $-1, %eax jmp LBB0_39 LBB0_41: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _usagemsg ## -- Begin function usagemsg .p2align 4, 0x90 _usagemsg: ## @usagemsg .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, %rsi leaq L_.str.11(%rip), %rdi xorl %eax, %eax popq %rbp jmp _printf ## TAILCALL .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function main.cold.1 _main.cold.1: ## @main.cold.1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq $10 popq %rdi callq _putchar leaq L_.str.10(%rip), %rdi callq _perror popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__const .globl _stdserver ## @stdserver .p2align 4 _stdserver: .asciz "whois.internic.net" .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "finger" L_.str.1: ## @.str.1 .asciz "tcp" L_.str.2: ## @.str.2 .asciz "finger: Can't resolve service name" L_.str.3: ## @.str.3 .asciz "finger: socket" .comm _buf,160,4 ## @buf L_.str.4: ## @.str.4 .asciz "finger: Can't resolve local host name" L_.str.5: ## @.str.5 .asciz "finger: Host %s not found.\n" L_.str.6: ## @.str.6 .asciz "[%s]\n" L_.str.7: ## @.str.7 .asciz "finger: connect" .comm _packet,8192,4 ## @packet L_.str.8: ## @.str.8 .asciz "finger: send" L_.str.10: ## @.str.10 .asciz "finger: recv" L_.str.11: ## @.str.11 .asciz "Freeware finger by Olof Lagerkvist 2000\nhttp://www.ltr-data.se\n\nUsage:\n%s [user][@host] [...]\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x1 mov x20, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #24] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF Lloh5: adrp x1, l_.str.1@PAGE Lloh6: add x1, x1, l_.str.1@PAGEOFF bl _getservbyname cbz x0, LBB0_38 ; %bb.1: mov x21, x0 cmp w20, #2 b.lt LBB0_4 ; %bb.2: ldr x8, [x19, #8] ldrb w8, [x8] and w8, w8, #0xfffffffd cmp w8, #45 b.ne LBB0_4 ; %bb.3: ldr x8, [x19] str x8, [sp] Lloh7: adrp x0, l_.str.11@PAGE Lloh8: add x0, x0, l_.str.11@PAGEOFF bl _printf mov w0, #-1 b LBB0_36 LBB0_4: mov x22, #0 mov w24, #2 Lloh9: adrp x26, _buf@GOTPAGE Lloh10: ldr x26, [x26, _buf@GOTPAGEOFF] Lloh11: adrp x25, ___stdoutp@GOTPAGE Lloh12: ldr x25, [x25, ___stdoutp@GOTPAGEOFF] Lloh13: adrp x27, _packet@GOTPAGE Lloh14: ldr x27, [x27, _packet@GOTPAGEOFF] LBB0_5: ; =>This Loop Header: Depth=1 ; Child Loop BB0_24 Depth 2 mov w0, #2 mov w1, #1 mov w2, #0 bl _socket cmn w0, #1 b.eq LBB0_39 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 mov x23, x0 cmp w20, #2 b.lt LBB0_10 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 ldr x0, [x19, #8] mov w1, #64 bl _strchr mov x22, x0 cbz x0, LBB0_12 ; %bb.8: ; in Loop: Header=BB0_5 Depth=1 mov x28, x22 ldrb w8, [x28, #1]! cbz w8, LBB0_11 ; %bb.9: ; in Loop: Header=BB0_5 Depth=1 strb wzr, [x22] b LBB0_13 LBB0_10: ; in Loop: Header=BB0_5 Depth=1 cbz x22, LBB0_12 LBB0_11: ; in Loop: Header=BB0_5 Depth=1 strb wzr, [x22] LBB0_12: ; in Loop: Header=BB0_5 Depth=1 mov x0, x26 mov w1, #159 bl _gethostname mov x28, x26 cbnz w0, LBB0_29 LBB0_13: ; in Loop: Header=BB0_5 Depth=1 mov x0, x28 bl _inet_addr cmn w0, #1 b.eq LBB0_15 ; %bb.14: ; in Loop: Header=BB0_5 Depth=1 mov w22, w0 b LBB0_17 LBB0_15: ; in Loop: Header=BB0_5 Depth=1 mov x0, x28 bl _gethostbyname cbz x0, LBB0_27 ; %bb.16: ; in Loop: Header=BB0_5 Depth=1 ldr x28, [x0] ldr x8, [x0, #24] ldr x8, [x8] ldr x22, [x8] LBB0_17: ; in Loop: Header=BB0_5 Depth=1 ldr x0, [x25] str x28, [sp] Lloh15: adrp x1, l_.str.6@PAGE Lloh16: add x1, x1, l_.str.6@PAGEOFF bl _fprintf strb w24, [sp, #9] ldr w8, [x21, #16] strh w8, [sp, #10] str w22, [sp, #12] str xzr, [sp, #16] add x1, sp, #8 mov x0, x23 mov w2, #16 bl _connect cmn w0, #1 b.eq LBB0_28 ; %bb.18: ; in Loop: Header=BB0_5 Depth=1 strb wzr, [x27] cmp w20, #2 b.lt LBB0_22 ; %bb.19: ; in Loop: Header=BB0_5 Depth=1 ldr x22, [x19, #8] mov x0, x22 bl _strlen mov x24, x0 mov w8, #8191 cmp w24, w8 b.lt LBB0_21 ; %bb.20: ; in Loop: Header=BB0_5 Depth=1 mov w24, #8190 strb wzr, [x22, x24] ldr x22, [x19, #8] ; kill: def $w24 killed $w24 killed $x24 def $x24 LBB0_21: ; in Loop: Header=BB0_5 Depth=1 mov x0, x27 mov x1, x22 mov w2, #8192 bl ___strcpy_chk add w8, w24, #1 mov w9, #10 strh w9, [x27, w24, sxtw] mov w24, #2 b LBB0_23 LBB0_22: ; in Loop: Header=BB0_5 Depth=1 mov w8, #1 LBB0_23: ; in Loop: Header=BB0_5 Depth=1 sxtw x22, w8 mov x0, x23 mov x1, x27 mov x2, x22 mov w3, #0 bl _send cmp x0, x22 b.ne LBB0_30 LBB0_24: ; Parent Loop BB0_5 Depth=1 ; => This Inner Loop Header: Depth=2 mov x0, x23 mov x1, x27 mov w2, #8191 mov w3, #0 bl _recv cbz w0, LBB0_32 ; %bb.25: ; in Loop: Header=BB0_24 Depth=2 cmn w0, #1 b.eq LBB0_31 ; %bb.26: ; in Loop: Header=BB0_24 Depth=2 strb wzr, [x27, w0, sxtw] ldr x1, [x25] mov x0, x27 bl _fputs b LBB0_24 LBB0_27: ; in Loop: Header=BB0_5 Depth=1 Lloh17: adrp x8, ___stderrp@GOTPAGE Lloh18: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh19: ldr x0, [x8] str x28, [sp] Lloh20: adrp x1, l_.str.5@PAGE Lloh21: add x1, x1, l_.str.5@PAGEOFF bl _fprintf b LBB0_32 LBB0_28: ; in Loop: Header=BB0_5 Depth=1 Lloh22: adrp x0, l_.str.7@PAGE Lloh23: add x0, x0, l_.str.7@PAGEOFF bl _perror b LBB0_32 LBB0_29: ; in Loop: Header=BB0_5 Depth=1 Lloh24: adrp x0, l_.str.4@PAGE Lloh25: add x0, x0, l_.str.4@PAGEOFF bl _perror b LBB0_33 LBB0_30: ; in Loop: Header=BB0_5 Depth=1 Lloh26: adrp x0, l_.str.8@PAGE Lloh27: add x0, x0, l_.str.8@PAGEOFF bl _perror b LBB0_32 LBB0_31: ; in Loop: Header=BB0_5 Depth=1 bl _main.cold.1 LBB0_32: ; in Loop: Header=BB0_5 Depth=1 mov x22, x28 LBB0_33: ; in Loop: Header=BB0_5 Depth=1 mov x0, x23 bl _close cmp w20, #3 b.lt LBB0_35 ; %bb.34: ; in Loop: Header=BB0_5 Depth=1 sub w20, w20, #1 ldr x8, [x19, #16] add x19, x19, #8 cbnz x8, LBB0_5 LBB0_35: mov w0, #0 LBB0_36: ldr x8, [sp, #24] Lloh28: adrp x9, ___stack_chk_guard@GOTPAGE Lloh29: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh30: ldr x9, [x9] cmp x9, x8 b.ne LBB0_41 ; %bb.37: ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 ret LBB0_38: Lloh31: adrp x0, l_.str.2@PAGE Lloh32: add x0, x0, l_.str.2@PAGEOFF b LBB0_40 LBB0_39: Lloh33: adrp x0, l_.str.3@PAGE Lloh34: add x0, x0, l_.str.3@PAGEOFF LBB0_40: bl _perror mov w0, #-1 b LBB0_36 LBB0_41: bl ___stack_chk_fail .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30 .loh AdrpAdd Lloh31, Lloh32 .loh AdrpAdd Lloh33, Lloh34 .cfi_endproc ; -- End function .globl _usagemsg ; -- Begin function usagemsg .p2align 2 _usagemsg: ; @usagemsg .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp] Lloh35: adrp x0, l_.str.11@PAGE Lloh36: add x0, x0, l_.str.11@PAGEOFF bl _printf ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh35, Lloh36 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.1 _main.cold.1: ; @main.cold.1 .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #10 bl _putchar Lloh37: adrp x0, l_.str.10@PAGE Lloh38: add x0, x0, l_.str.10@PAGEOFF bl _perror ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh37, Lloh38 .cfi_endproc ; -- End function .section __TEXT,__const .globl _stdserver ; @stdserver _stdserver: .asciz "whois.internic.net" .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "finger" l_.str.1: ; @.str.1 .asciz "tcp" l_.str.2: ; @.str.2 .asciz "finger: Can't resolve service name" l_.str.3: ; @.str.3 .asciz "finger: socket" .comm _buf,160,0 ; @buf l_.str.4: ; @.str.4 .asciz "finger: Can't resolve local host name" l_.str.5: ; @.str.5 .asciz "finger: Host %s not found.\n" l_.str.6: ; @.str.6 .asciz "[%s]\n" l_.str.7: ; @.str.7 .asciz "finger: connect" .comm _packet,8192,0 ; @packet l_.str.8: ; @.str.8 .asciz "finger: send" l_.str.10: ; @.str.10 .asciz "finger: recv" l_.str.11: ; @.str.11 .asciz "Freeware finger by Olof Lagerkvist 2000\nhttp://www.ltr-data.se\n\nUsage:\n%s [user][@host] [...]\n" .subsections_via_symbols
the_stack_data/122016345.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $136, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) leaq L_.str(%rip), %rdi leaq -164(%rbp), %rsi xorl %eax, %eax callq _scanf cmpl $0, -164(%rbp) jle LBB0_5 ## %bb.1: leaq L_.str.1(%rip), %r14 leaq -160(%rbp), %r13 leaq L_str.4(%rip), %r15 leaq L_str(%rip), %r12 xorl %ebx, %ebx jmp LBB0_2 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 callq _puts incl %ebx cmpl -164(%rbp), %ebx jge LBB0_5 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi movq %r13, %rsi xorl %eax, %eax callq _scanf movq %r13, %rdi callq _strlen decl %eax cltq testb $1, -160(%rbp,%rax) movq %r15, %rdi je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq %r12, %rdi jmp LBB0_4 LBB0_5: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_7 ## %bb.6: xorl %eax, %eax addq $136, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_7: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d" L_.str.1: ## @.str.1 .asciz "%s" L_str: ## @str .asciz "odd" L_str.4: ## @str.4 .asciz "even" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #192 .cfi_def_cfa_offset 192 stp x24, x23, [sp, #128] ; 16-byte Folded Spill stp x22, x21, [sp, #144] ; 16-byte Folded Spill stp x20, x19, [sp, #160] ; 16-byte Folded Spill stp x29, x30, [sp, #176] ; 16-byte Folded Spill add x29, sp, #176 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-56] add x8, sp, #12 str x8, [sp] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _scanf ldr w8, [sp, #12] cmp w8, #1 b.lt LBB0_3 ; %bb.1: mov w20, #0 add x21, sp, #18 Lloh5: adrp x19, l_.str.1@PAGE Lloh6: add x19, x19, l_.str.1@PAGEOFF Lloh7: adrp x22, l_str@PAGE Lloh8: add x22, x22, l_str@PAGEOFF Lloh9: adrp x23, l_str.4@PAGE Lloh10: add x23, x23, l_str.4@PAGEOFF LBB0_2: ; =>This Inner Loop Header: Depth=1 str x21, [sp] mov x0, x19 bl _scanf add x0, sp, #18 bl _strlen sub w8, w0, #1 ldrb w8, [x21, w8, sxtw] tst w8, #0x1 csel x0, x23, x22, eq bl _puts add w20, w20, #1 ldr w8, [sp, #12] cmp w20, w8 b.lt LBB0_2 LBB0_3: ldur x8, [x29, #-56] Lloh11: adrp x9, ___stack_chk_guard@GOTPAGE Lloh12: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh13: ldr x9, [x9] cmp x9, x8 b.ne LBB0_5 ; %bb.4: mov w0, #0 ldp x29, x30, [sp, #176] ; 16-byte Folded Reload ldp x20, x19, [sp, #160] ; 16-byte Folded Reload ldp x22, x21, [sp, #144] ; 16-byte Folded Reload ldp x24, x23, [sp, #128] ; 16-byte Folded Reload add sp, sp, #192 ret LBB0_5: bl ___stack_chk_fail .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d" l_.str.1: ; @.str.1 .asciz "%s" l_str: ; @str .asciz "odd" l_str.4: ; @str.4 .asciz "even" .subsections_via_symbols
the_stack_data/28516.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp leaq L_.str(%rip), %rdi leaq -8(%rbp), %rsi xorl %eax, %eax callq _scanf leaq L_.str.1(%rip), %rdi leaq -4(%rbp), %rsi xorl %eax, %eax callq _scanf movl -4(%rbp), %esi addl -8(%rbp), %esi leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _printf xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%i" L_.str.1: ## @.str.1 .asciz "%d" L_.str.2: ## @.str.2 .asciz "X = %d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 sub x8, x29, #4 str x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _scanf add x8, sp, #8 str x8, [sp] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _scanf ldur w8, [x29, #-4] ldr w9, [sp, #8] add w8, w9, w8 str x8, [sp] Lloh4: adrp x0, l_.str.2@PAGE Lloh5: add x0, x0, l_.str.2@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%i" l_.str.1: ; @.str.1 .asciz "%d" l_.str.2: ; @.str.2 .asciz "X = %d\n" .subsections_via_symbols
the_stack_data/124531.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _TdiCloseDevice ## -- Begin function TdiCloseDevice .p2align 4, 0x90 _TdiCloseDevice: ## @TdiCloseDevice .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx testq %rsi, %rsi je LBB0_2 ## %bb.1: movq %rsi, %rdi callq _ObDereferenceObject LBB0_2: testq %rbx, %rbx je LBB0_4 ## %bb.3: movq %rbx, %rdi callq _ZwClose LBB0_4: movq _STATUS_SUCCESS@GOTPCREL(%rip), %rax movl (%rax), %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _STATUS_SUCCESS,4,2 ## @STATUS_SUCCESS .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _TdiCloseDevice ; -- Begin function TdiCloseDevice .p2align 2 _TdiCloseDevice: ; @TdiCloseDevice .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 cbz x1, LBB0_2 ; %bb.1: mov x0, x1 bl _ObDereferenceObject LBB0_2: cbz x19, LBB0_4 ; %bb.3: mov x0, x19 bl _ZwClose LBB0_4: Lloh0: adrp x8, _STATUS_SUCCESS@GOTPAGE Lloh1: ldr x8, [x8, _STATUS_SUCCESS@GOTPAGEOFF] Lloh2: ldr w0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _STATUS_SUCCESS,4,2 ; @STATUS_SUCCESS .subsections_via_symbols
AnghaBench/reactos/modules/rosapps/applications/net/tditest/tditest/extr_tditest.c_TdiCloseDevice.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function g_keyboard_attach _g_keyboard_attach: ## @g_keyboard_attach .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edi, %r14d callq _device_get_softc movq %rax, %rbx movl %r14d, %edi callq _device_get_ivars movq %rax, %r12 leaq L_.str(%rip), %rsi movl $11, %edi callq _DPRINTFN movl %r14d, %edi callq _device_set_usb_desc movq _MTX_DEF@GOTPCREL(%rip), %rax movl (%rax), %ecx leaq L_.str.1(%rip), %rsi xorl %r15d, %r15d movq %rbx, %rdi xorl %edx, %edx callq _mtx_init leaq 12(%rbx), %rdi movq %rbx, %rsi xorl %edx, %edx callq _usb_callout_init_mtx movq _G_KEYBOARD_MODE_SILENT@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 8(%rbx) movl 4(%r12), %edi movl 4(%rbx), %edx movq _g_keyboard_config@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _G_KEYBOARD_N_TRANSFER@GOTPCREL(%rip), %rax movl (%rax), %r8d movq %rbx, (%rsp) movq %r12, %rsi movq %rbx, %r9 callq _usbd_transfer_setup testl %eax, %eax je LBB0_2 ## %bb.1: movl %eax, %edi callq _usbd_errstr leaq L_.str.2(%rip), %rdi movl %eax, %esi callq _DPRINTF movl %r14d, %edi callq _g_keyboard_detach movq _ENXIO@GOTPCREL(%rip), %rax movl (%rax), %r15d jmp LBB0_3 LBB0_2: movq %rbx, %rdi callq _mtx_lock movq %rbx, %rdi callq _g_keyboard_timeout_reset movq %rbx, %rdi callq _mtx_unlock LBB0_3: movl %r15d, %eax addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\n" L_.str.1: ## @.str.1 .asciz "g_keyboard" .comm _MTX_DEF,4,2 ## @MTX_DEF .comm _G_KEYBOARD_MODE_SILENT,4,2 ## @G_KEYBOARD_MODE_SILENT .comm _g_keyboard_config,4,2 ## @g_keyboard_config .comm _G_KEYBOARD_N_TRANSFER,4,2 ## @G_KEYBOARD_N_TRANSFER L_.str.2: ## @.str.2 .asciz "error=%s\n" .comm _ENXIO,4,2 ## @ENXIO .no_dead_strip _g_keyboard_attach .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function g_keyboard_attach _g_keyboard_attach: ; @g_keyboard_attach .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 bl _device_get_softc mov x20, x0 mov x0, x19 bl _device_get_ivars mov x21, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov w0, #11 bl _DPRINTFN mov x0, x19 bl _device_set_usb_desc Lloh2: adrp x8, _MTX_DEF@GOTPAGE Lloh3: ldr x8, [x8, _MTX_DEF@GOTPAGEOFF] Lloh4: ldr w3, [x8] Lloh5: adrp x1, l_.str.1@PAGE Lloh6: add x1, x1, l_.str.1@PAGEOFF mov x0, x20 mov x2, #0 bl _mtx_init add x0, x20, #12 mov x1, x20 mov w2, #0 bl _usb_callout_init_mtx Lloh7: adrp x8, _G_KEYBOARD_MODE_SILENT@GOTPAGE Lloh8: ldr x8, [x8, _G_KEYBOARD_MODE_SILENT@GOTPAGEOFF] Lloh9: ldr w8, [x8] str w8, [x20, #8] ldr w0, [x21, #4] ldr w2, [x20, #4] Lloh10: adrp x8, _g_keyboard_config@GOTPAGE Lloh11: ldr x8, [x8, _g_keyboard_config@GOTPAGEOFF] Lloh12: ldr w3, [x8] Lloh13: adrp x8, _G_KEYBOARD_N_TRANSFER@GOTPAGE Lloh14: ldr x8, [x8, _G_KEYBOARD_N_TRANSFER@GOTPAGEOFF] Lloh15: ldr w4, [x8] mov x1, x21 mov x5, x20 mov x6, x20 bl _usbd_transfer_setup cbz w0, LBB0_2 ; %bb.1: bl _usbd_errstr mov x1, x0 Lloh16: adrp x0, l_.str.2@PAGE Lloh17: add x0, x0, l_.str.2@PAGEOFF bl _DPRINTF mov x0, x19 bl _g_keyboard_detach Lloh18: adrp x8, _ENXIO@GOTPAGE Lloh19: ldr x8, [x8, _ENXIO@GOTPAGEOFF] Lloh20: ldr w0, [x8] b LBB0_3 LBB0_2: mov x0, x20 bl _mtx_lock mov x0, x20 bl _g_keyboard_timeout_reset mov x0, x20 bl _mtx_unlock mov w0, #0 LBB0_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpAdd Lloh16, Lloh17 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\n" l_.str.1: ; @.str.1 .asciz "g_keyboard" .comm _MTX_DEF,4,2 ; @MTX_DEF .comm _G_KEYBOARD_MODE_SILENT,4,2 ; @G_KEYBOARD_MODE_SILENT .comm _g_keyboard_config,4,2 ; @g_keyboard_config .comm _G_KEYBOARD_N_TRANSFER,4,2 ; @G_KEYBOARD_N_TRANSFER l_.str.2: ; @.str.2 .asciz "error=%s\n" .comm _ENXIO,4,2 ; @ENXIO .no_dead_strip _g_keyboard_attach .subsections_via_symbols
AnghaBench/freebsd/sys/dev/usb/gadget/extr_g_keyboard.c_g_keyboard_attach.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function gn_profile_create_service_availability _gn_profile_create_service_availability: ## @gn_profile_create_service_availability .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movslq (%rdx), %rdx movl $1, %ecx popq %rbp jmp _common_profile_create_service_availability ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _gn_profile_create_service_availability .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function gn_profile_create_service_availability _gn_profile_create_service_availability: ; @gn_profile_create_service_availability .cfi_startproc ; %bb.0: ldrsw x2, [x2] mov w3, #1 b _common_profile_create_service_availability .cfi_endproc ; -- End function .no_dead_strip _gn_profile_create_service_availability .subsections_via_symbols
AnghaBench/freebsd/usr.sbin/bluetooth/sdpd/extr_gn.c_gn_profile_create_service_availability.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function receive_dux_commands _receive_dux_commands: ## @receive_dux_commands .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r14d movq %rdi, %r15 movq _RETRIES@GOTPCREL(%rip), %r13 cmpl $0, (%r13) jle LBB0_6 ## %bb.1: xorl %r12d, %r12d .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movl 24(%r15), %ebx movq _COMMAND_IN_EP@GOTPCREL(%rip), %rax movl (%rax), %esi movl %ebx, %edi callq _usb_rcvbulkpipe movq (%r15), %rdx movq _SIZEINSNBUF@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ebx, %edi movl %eax, %esi leaq -44(%rbp), %r8 movl $1, %r9d callq _usb_bulk_msg movl %eax, %ebx testl %eax, %eax js LBB0_5 ## %bb.2: ## in Loop: Header=BB0_4 Depth=1 movq (%r15), %rax movl (%rax), %edi callq _le16_to_cpu cmpl %r14d, %eax je LBB0_7 ## %bb.3: ## in Loop: Header=BB0_4 Depth=1 incl %r12d cmpl (%r13), %r12d jl LBB0_4 LBB0_6: movq 16(%r15), %r12 movq (%r15), %rax movq 8(%r15), %rcx movl (%rcx), %r15d movl (%rax), %edi callq _le16_to_cpu leaq L_.str.1(%rip), %rsi xorl %ebx, %ebx movq %r12, %rdi movl %r15d, %edx movl %r14d, %ecx movl %eax, %r8d xorl %eax, %eax callq _dev_err movq _EFAULT@GOTPCREL(%rip), %rax subl (%rax), %ebx jmp LBB0_7 LBB0_5: movq 8(%r15), %rax movq 16(%r15), %rdi movl (%rax), %edx leaq L_.str(%rip), %rsi movl %ebx, %ecx xorl %eax, %eax callq _dev_err LBB0_7: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EFAULT,4,2 ## @EFAULT .comm _RETRIES,4,2 ## @RETRIES .comm _COMMAND_IN_EP,4,2 ## @COMMAND_IN_EP .comm _SIZEINSNBUF,4,2 ## @SIZEINSNBUF .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "comedi%d: insn: USB error %d while receiving DUX command\n" L_.str.1: ## @.str.1 .asciz "comedi%d: insn: wrong data returned from firmware: want cmd %d, got cmd %d.\n" .no_dead_strip _receive_dux_commands .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function receive_dux_commands _receive_dux_commands: ; @receive_dux_commands .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x1 mov x20, x0 Lloh0: adrp x22, _RETRIES@GOTPAGE Lloh1: ldr x22, [x22, _RETRIES@GOTPAGEOFF] ldr w8, [x22] cmp w8, #1 b.lt LBB0_5 ; %bb.1: mov w23, #0 Lloh2: adrp x24, _COMMAND_IN_EP@GOTPAGE Lloh3: ldr x24, [x24, _COMMAND_IN_EP@GOTPAGEOFF] Lloh4: adrp x25, _SIZEINSNBUF@GOTPAGE Lloh5: ldr x25, [x25, _SIZEINSNBUF@GOTPAGEOFF] LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr w21, [x20, #24] ldr w1, [x24] mov x0, x21 bl _usb_rcvbulkpipe mov x1, x0 ldr x2, [x20] ldr w3, [x25] add x4, sp, #12 mov x0, x21 mov w5, #1 bl _usb_bulk_msg mov x21, x0 tbnz w0, #31, LBB0_6 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 ldr x8, [x20] ldr w0, [x8] bl _le16_to_cpu cmp w0, w19 b.eq LBB0_7 ; %bb.4: ; in Loop: Header=BB0_2 Depth=1 add w23, w23, #1 ldr w8, [x22] cmp w23, w8 b.lt LBB0_2 LBB0_5: ldp x8, x21, [x20, #8] ldr x9, [x20] ldr w20, [x8] ldr w0, [x9] bl _le16_to_cpu ; kill: def $w0 killed $w0 def $x0 str x0, [sp] Lloh6: adrp x1, l_.str.1@PAGE Lloh7: add x1, x1, l_.str.1@PAGEOFF mov x0, x21 mov x2, x20 mov x3, x19 bl _dev_err Lloh8: adrp x8, _EFAULT@GOTPAGE Lloh9: ldr x8, [x8, _EFAULT@GOTPAGEOFF] Lloh10: ldr w8, [x8] neg w21, w8 b LBB0_7 LBB0_6: ldp x8, x0, [x20, #8] ldr w2, [x8] Lloh11: adrp x1, l_.str@PAGE Lloh12: add x1, x1, l_.str@PAGEOFF mov x3, x21 bl _dev_err LBB0_7: mov x0, x21 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh11, Lloh12 .cfi_endproc ; -- End function .comm _EFAULT,4,2 ; @EFAULT .comm _RETRIES,4,2 ; @RETRIES .comm _COMMAND_IN_EP,4,2 ; @COMMAND_IN_EP .comm _SIZEINSNBUF,4,2 ; @SIZEINSNBUF .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "comedi%d: insn: USB error %d while receiving DUX command\n" l_.str.1: ; @.str.1 .asciz "comedi%d: insn: wrong data returned from firmware: want cmd %d, got cmd %d.\n" .no_dead_strip _receive_dux_commands .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_usbdux.c_receive_dux_commands.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function idmac_read_ipureg _idmac_read_ipureg: ## @idmac_read_ipureg .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp addq (%rdi), %rsi movq %rsi, %rdi popq %rbp jmp ___raw_readl ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _idmac_read_ipureg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function idmac_read_ipureg _idmac_read_ipureg: ; @idmac_read_ipureg .cfi_startproc ; %bb.0: ldr x8, [x0] add x0, x8, x1 b ___raw_readl .cfi_endproc ; -- End function .no_dead_strip _idmac_read_ipureg .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/dma/ipu/extr_ipu_idmac.c_idmac_read_ipureg.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function get_ressource _get_ressource: ## @get_ressource .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl (%rdi), %eax cmpl $129, %eax je LBB0_3 ## %bb.1: cmpl $128, %eax jne LBB0_4 ## %bb.2: movq _RESOURCE_VIDEO@GOTPCREL(%rip), %rax movl (%rax), %ebx jmp LBB0_5 LBB0_3: movq _RESOURCE_VBI@GOTPCREL(%rip), %rax movl (%rax), %ebx jmp LBB0_5 LBB0_4: xorl %ebx, %ebx xorl %eax, %eax callq _BUG LBB0_5: movl %ebx, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _RESOURCE_VIDEO,4,2 ## @RESOURCE_VIDEO .comm _RESOURCE_VBI,4,2 ## @RESOURCE_VBI .no_dead_strip _get_ressource .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function get_ressource _get_ressource: ; @get_ressource .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 ldr w8, [x0] cmp w8, #129 b.eq LBB0_3 ; %bb.1: cmp w8, #128 b.ne LBB0_5 ; %bb.2: Lloh0: adrp x8, _RESOURCE_VIDEO@GOTPAGE Lloh1: ldr x8, [x8, _RESOURCE_VIDEO@GOTPAGEOFF] b LBB0_4 LBB0_3: Lloh2: adrp x8, _RESOURCE_VBI@GOTPAGE Lloh3: ldr x8, [x8, _RESOURCE_VBI@GOTPAGEOFF] LBB0_4: ldr w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_5: bl _BUG mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _RESOURCE_VIDEO,4,2 ; @RESOURCE_VIDEO .comm _RESOURCE_VBI,4,2 ; @RESOURCE_VBI .no_dead_strip _get_ressource .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/media/video/cx88/extr_cx88-video.c_get_ressource.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sh_vou_configure_geometry _sh_vou_configure_geometry: ## @sh_vou_configure_geometry .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $72, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, -56(%rbp) ## 4-byte Spill movl %edx, -52(%rbp) ## 4-byte Spill movl %esi, -60(%rbp) ## 4-byte Spill movq %rdi, %r13 movq _vou_fmt@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -72(%rbp) ## 8-byte Spill movq _V4L2_STD_525_60@GOTPCREL(%rip), %rax movl (%rax), %eax andl (%rdi), %eax movl $864, %eax ## imm = 0x360 movl $858, %r15d ## imm = 0x35A cmovel %eax, %r15d movl 4(%rdi), %edi movl 8(%r13), %eax movl %eax, %r12d shrl $31, %r12d addl %eax, %r12d sarl %r12d movq 16(%r13), %xmm0 ## xmm0 = mem[0],zero movdqa %xmm0, %xmm1 psrld $31, %xmm1 paddd %xmm0, %xmm1 psrad $1, %xmm1 movq _VOU_MAX_IMAGE_WIDTH@GOTPCREL(%rip), %rax subl (%rax), %r15d movl 28(%r13), %eax movl 24(%r13), %r14d addl %eax, %r14d movd %xmm1, %ebx pextrd $1, %xmm1, %ecx movl %ecx, -48(%rbp) ## 4-byte Spill addl %ecx, %ebx movl 12(%r13), %edx pextrd $1, %xmm1, 8(%rsp) movl %ebx, 24(%rsp) movl %r14d, 16(%rsp) movl %eax, (%rsp) leaq L_.str(%rip), %rsi movl $0, -44(%rbp) ## 4-byte Folded Spill movl %r12d, %ecx movl %r15d, %r8d movl $20, %r9d xorl %eax, %eax callq _dev_dbg movq _VOUISR@GOTPCREL(%rip), %rax movl (%rax), %esi movl 12(%r13), %edx shll $16, %edx orl %r12d, %edx movq %r13, %rdi callq _sh_vou_reg_ab_write movq _VOUVPR@GOTPCREL(%rip), %rax movl (%rax), %esi shll $16, %r15d orl $20, %r15d movq %r13, %rdi movl %r15d, %edx callq _sh_vou_reg_ab_write movq _VOUDPR@GOTPCREL(%rip), %rax movl (%rax), %esi movl 28(%r13), %edx shll $16, %edx orl -48(%rbp), %edx ## 4-byte Folded Reload movq %r13, %rdi callq _sh_vou_reg_ab_write movq _VOUDSR@GOTPCREL(%rip), %rax movl (%rax), %esi shll $16, %r14d orl %ebx, %r14d movq %r13, %rdi movl %r14d, %edx callq _sh_vou_reg_ab_write movl -52(%rbp), %ebx ## 4-byte Reload testl %ebx, %ebx je LBB0_2 ## %bb.1: movq _vou_scale_h_fld@GOTPCREL(%rip), %rax movq (%rax), %rax movslq %ebx, %rcx movl -4(%rax,%rcx,4), %eax shll $4, %eax orl $32768, %eax ## imm = 0x8000 movl %eax, -44(%rbp) ## 4-byte Spill LBB0_2: movl -56(%rbp), %ebx ## 4-byte Reload testl %ebx, %ebx je LBB0_3 ## %bb.4: movq _vou_scale_v_fld@GOTPCREL(%rip), %rax movq (%rax), %rax movslq %ebx, %rcx movl -44(%rbp), %r15d ## 4-byte Reload orl -4(%rax,%rcx,4), %r15d orl $16384, %r15d ## imm = 0x4000 jmp LBB0_5 LBB0_3: movl -44(%rbp), %r15d ## 4-byte Reload LBB0_5: movslq -60(%rbp), %rbx ## 4-byte Folded Reload movl 4(%r13), %edi shlq $4, %rbx movq -72(%rbp), %r14 ## 8-byte Reload movl 12(%r14,%rbx), %edx leaq L_.str.1(%rip), %rsi movl %r15d, %ecx xorl %eax, %eax callq _dev_dbg movq _VOUVCR@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r13, %rdi movl %r15d, %edx callq _sh_vou_reg_ab_write movq _VOUDFR@GOTPCREL(%rip), %rax movl (%rax), %esi movl 4(%r14,%rbx), %eax movl 8(%r14,%rbx), %edx shll $8, %eax orl (%r14,%rbx), %eax shll $16, %edx orl %eax, %edx movq %r13, %rdi addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _sh_vou_reg_ab_write ## TAILCALL .cfi_endproc ## -- End function .comm _vou_fmt,8,3 ## @vou_fmt .comm _V4L2_STD_525_60,4,2 ## @V4L2_STD_525_60 .comm _VOU_MAX_IMAGE_WIDTH,4,2 ## @VOU_MAX_IMAGE_WIDTH .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "image %ux%u, black %u:%u, offset %u:%u, display %ux%u\n" .comm _VOUISR,4,2 ## @VOUISR .comm _VOUVPR,4,2 ## @VOUVPR .comm _VOUDPR,4,2 ## @VOUDPR .comm _VOUDSR,4,2 ## @VOUDSR .comm _vou_scale_h_fld,8,3 ## @vou_scale_h_fld .comm _vou_scale_v_fld,8,3 ## @vou_scale_v_fld L_.str.1: ## @.str.1 .asciz "0x%08x: scaling 0x%x\n" .comm _VOUVCR,4,2 ## @VOUVCR .comm _VOUDFR,4,2 ## @VOUDFR .no_dead_strip _sh_vou_configure_geometry .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sh_vou_configure_geometry _sh_vou_configure_geometry: ; @sh_vou_configure_geometry .cfi_startproc ; %bb.0: sub sp, sp, #160 .cfi_def_cfa_offset 160 stp x28, x27, [sp, #64] ; 16-byte Folded Spill stp x26, x25, [sp, #80] ; 16-byte Folded Spill stp x24, x23, [sp, #96] ; 16-byte Folded Spill stp x22, x21, [sp, #112] ; 16-byte Folded Spill stp x20, x19, [sp, #128] ; 16-byte Folded Spill stp x29, x30, [sp, #144] ; 16-byte Folded Spill add x29, sp, #144 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x21, x3 mov x22, x2 str w1, [sp, #60] ; 4-byte Folded Spill mov x19, x0 Lloh0: adrp x8, _vou_fmt@GOTPAGE Lloh1: ldr x8, [x8, _vou_fmt@GOTPAGEOFF] Lloh2: ldr x25, [x8] Lloh3: adrp x8, _V4L2_STD_525_60@GOTPAGE Lloh4: ldr x8, [x8, _V4L2_STD_525_60@GOTPAGEOFF] Lloh5: ldr w8, [x8] ldp w9, w0, [x0] tst w8, w9 mov w8, #858 mov w9, #864 csel w8, w9, w8, eq ldp w9, w2, [x19, #8] cmp w9, #0 cinc w9, w9, lt asr w23, w9, #1 ldp w9, w10, [x19, #16] cmp w9, #0 cinc w9, w9, lt cmp w10, #0 cinc w10, w10, lt asr w26, w10, #1 Lloh6: adrp x10, _VOU_MAX_IMAGE_WIDTH@GOTPAGE Lloh7: ldr x10, [x10, _VOU_MAX_IMAGE_WIDTH@GOTPAGEOFF] Lloh8: ldr w10, [x10] sub w27, w8, w10 ldp w8, w10, [x19, #24] add w28, w10, w8 add w20, w26, w9, asr #1 mov w24, #20 stp x10, x26, [sp, #16] stp x27, x24, [sp] stp x28, x20, [sp, #32] Lloh9: adrp x1, l_.str@PAGE Lloh10: add x1, x1, l_.str@PAGEOFF mov x3, x23 bl _dev_dbg Lloh11: adrp x8, _VOUISR@GOTPAGE Lloh12: ldr x8, [x8, _VOUISR@GOTPAGEOFF] Lloh13: ldr w1, [x8] ldr w8, [x19, #12] orr w2, w23, w8, lsl #16 mov x0, x19 bl _sh_vou_reg_ab_write Lloh14: adrp x8, _VOUVPR@GOTPAGE Lloh15: ldr x8, [x8, _VOUVPR@GOTPAGEOFF] Lloh16: ldr w1, [x8] bfi w24, w27, #16, #16 mov x0, x19 mov x2, x24 bl _sh_vou_reg_ab_write Lloh17: adrp x8, _VOUDPR@GOTPAGE Lloh18: ldr x8, [x8, _VOUDPR@GOTPAGEOFF] Lloh19: ldr w1, [x8] ldr w8, [x19, #28] orr w2, w26, w8, lsl #16 mov x0, x19 bl _sh_vou_reg_ab_write Lloh20: adrp x8, _VOUDSR@GOTPAGE Lloh21: ldr x8, [x8, _VOUDSR@GOTPAGEOFF] Lloh22: ldr w1, [x8] orr w2, w20, w28, lsl #16 mov x0, x19 bl _sh_vou_reg_ab_write cbz w22, LBB0_2 ; %bb.1: Lloh23: adrp x8, _vou_scale_h_fld@GOTPAGE Lloh24: ldr x8, [x8, _vou_scale_h_fld@GOTPAGEOFF] Lloh25: ldr x8, [x8] sub w9, w22, #1 ldr w8, [x8, w9, sxtw #2] lsl w8, w8, #4 orr w22, w8, #0x8000 LBB0_2: cbz w21, LBB0_4 ; %bb.3: Lloh26: adrp x8, _vou_scale_v_fld@GOTPAGE Lloh27: ldr x8, [x8, _vou_scale_v_fld@GOTPAGEOFF] Lloh28: ldr x8, [x8] sub w9, w21, #1 ldr w8, [x8, w9, sxtw #2] orr w8, w22, w8 orr w22, w8, #0x4000 LBB0_4: ldr w0, [x19, #4] ldr w8, [sp, #60] ; 4-byte Folded Reload add x20, x25, w8, sxtw #4 ldr w2, [x20, #12] Lloh29: adrp x1, l_.str.1@PAGE Lloh30: add x1, x1, l_.str.1@PAGEOFF mov x3, x22 bl _dev_dbg Lloh31: adrp x8, _VOUVCR@GOTPAGE Lloh32: ldr x8, [x8, _VOUVCR@GOTPAGEOFF] Lloh33: ldr w1, [x8] mov x0, x19 mov x2, x22 bl _sh_vou_reg_ab_write Lloh34: adrp x8, _VOUDFR@GOTPAGE Lloh35: ldr x8, [x8, _VOUDFR@GOTPAGEOFF] Lloh36: ldr w1, [x8] ldp w8, w9, [x20] orr w8, w8, w9, lsl #8 ldr w9, [x20, #8] orr w2, w8, w9, lsl #16 mov x0, x19 ldp x29, x30, [sp, #144] ; 16-byte Folded Reload ldp x20, x19, [sp, #128] ; 16-byte Folded Reload ldp x22, x21, [sp, #112] ; 16-byte Folded Reload ldp x24, x23, [sp, #96] ; 16-byte Folded Reload ldp x26, x25, [sp, #80] ; 16-byte Folded Reload ldp x28, x27, [sp, #64] ; 16-byte Folded Reload add sp, sp, #160 b _sh_vou_reg_ab_write .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36 .loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33 .loh AdrpAdd Lloh29, Lloh30 .cfi_endproc ; -- End function .comm _vou_fmt,8,3 ; @vou_fmt .comm _V4L2_STD_525_60,4,2 ; @V4L2_STD_525_60 .comm _VOU_MAX_IMAGE_WIDTH,4,2 ; @VOU_MAX_IMAGE_WIDTH .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "image %ux%u, black %u:%u, offset %u:%u, display %ux%u\n" .comm _VOUISR,4,2 ; @VOUISR .comm _VOUVPR,4,2 ; @VOUVPR .comm _VOUDPR,4,2 ; @VOUDPR .comm _VOUDSR,4,2 ; @VOUDSR .comm _vou_scale_h_fld,8,3 ; @vou_scale_h_fld .comm _vou_scale_v_fld,8,3 ; @vou_scale_v_fld l_.str.1: ; @.str.1 .asciz "0x%08x: scaling 0x%x\n" .comm _VOUVCR,4,2 ; @VOUVCR .comm _VOUDFR,4,2 ; @VOUDFR .no_dead_strip _sh_vou_configure_geometry .subsections_via_symbols
AnghaBench/linux/drivers/media/platform/extr_sh_vou.c_sh_vou_configure_geometry.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function Field_combined3e2c5767_fld79xt_flix64_slot3_Slot_xt_flix64_slot3_get _Field_combined3e2c5767_fld79xt_flix64_slot3_Slot_xt_flix64_slot3_get: ## @Field_combined3e2c5767_fld79xt_flix64_slot3_Slot_xt_flix64_slot3_get .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rdi), %eax movl 4(%rdi), %ecx shll $29, %ecx sarl $28, %ecx shll $5, %eax sarl $31, %eax orl %ecx, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _Field_combined3e2c5767_fld79xt_flix64_slot3_Slot_xt_flix64_slot3_get .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function Field_combined3e2c5767_fld79xt_flix64_slot3_Slot_xt_flix64_slot3_get _Field_combined3e2c5767_fld79xt_flix64_slot3_Slot_xt_flix64_slot3_get: ; @Field_combined3e2c5767_fld79xt_flix64_slot3_Slot_xt_flix64_slot3_get .cfi_startproc ; %bb.0: ldp w9, w8, [x0] lsl w8, w8, #29 sbfx w9, w9, #26, #1 orr w0, w9, w8, asr #28 ret .cfi_endproc ; -- End function .no_dead_strip _Field_combined3e2c5767_fld79xt_flix64_slot3_Slot_xt_flix64_slot3_get .subsections_via_symbols
AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Field_combined3e2c5767_fld79xt_flix64_slot3_Slot_xt_flix64_slot3_get.c
anghabench