arm
stringlengths
122
210k
x86
stringlengths
122
207k
filename
stringlengths
30
207
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dtrace_proc_continue ; -- Begin function dtrace_proc_continue .p2align 2 _dtrace_proc_continue: ; @dtrace_proc_continue .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, #8] str x1, [sp] ldr x0, [sp, #8] ldr x1, [sp] bl _dt_proc_continue ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dtrace_proc_continue ## -- Begin function dtrace_proc_continue .p2align 4, 0x90 _dtrace_proc_continue: ## @dtrace_proc_continue .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 movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -8(%rbp), %rdi movq -16(%rbp), %rsi callq _dt_proc_continue addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_proc.c_dtrace_proc_continue.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ClearEOL ; -- Begin function ClearEOL .p2align 2 _ClearEOL: ; @ClearEOL .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 stur w0, [x29, #-4] ldur w8, [x29, #-4] subs w8, w8, #0 cset w8, gt tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: b LBB0_10 LBB0_2: adrp x8, _T_CanCEOL@GOTPAGE ldr x8, [x8, _T_CanCEOL@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_3 LBB0_3: adrp x8, _T_ce@GOTPAGE ldr x8, [x8, _T_ce@GOTPAGEOFF] ldr w0, [x8] bl _GoodStr subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: adrp x8, _T_ce@GOTPAGE ldr x8, [x8, _T_ce@GOTPAGEOFF] ldr w0, [x8] bl _Str adrp x8, _PUTPURE@GOTPAGE ldr x8, [x8, _PUTPURE@GOTPAGEOFF] ldr w2, [x8] mov w1, #1 bl _tputs b LBB0_10 LBB0_5: str wzr, [sp, #8] b LBB0_6 LBB0_6: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #8] ldur w9, [x29, #-4] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_9 b LBB0_7 LBB0_7: ; in Loop: Header=BB0_6 Depth=1 mov w0, #32 bl _putraw b LBB0_8 LBB0_8: ; in Loop: Header=BB0_6 Depth=1 ldr w8, [sp, #8] add w8, w8, #1 str w8, [sp, #8] b LBB0_6 LBB0_9: ldur w10, [x29, #-4] adrp x9, _CursorH@GOTPAGE ldr x9, [x9, _CursorH@GOTPAGEOFF] ldr w8, [x9] add w8, w8, w10 str w8, [x9] b LBB0_10 LBB0_10: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _T_CanCEOL,8,3 ; @T_CanCEOL .comm _T_ce,4,2 ; @T_ce .comm _PUTPURE,4,2 ; @PUTPURE .comm _CursorH,4,2 ; @CursorH .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ClearEOL ## -- Begin function ClearEOL .p2align 4, 0x90 _ClearEOL: ## @ClearEOL .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 movl %edi, -4(%rbp) cmpl $0, -4(%rbp) jg LBB0_2 ## %bb.1: jmp LBB0_10 LBB0_2: movq _T_CanCEOL@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_5 ## %bb.3: movq _T_ce@GOTPCREL(%rip), %rax movl (%rax), %edi callq _GoodStr cmpq $0, %rax je LBB0_5 ## %bb.4: movq _T_ce@GOTPCREL(%rip), %rax movl (%rax), %edi callq _Str movl %eax, %edi movq _PUTPURE@GOTPCREL(%rip), %rax movl (%rax), %edx movl $1, %esi callq _tputs jmp LBB0_10 LBB0_5: movl $0, -8(%rbp) LBB0_6: ## =>This Inner Loop Header: Depth=1 movl -8(%rbp), %eax cmpl -4(%rbp), %eax jge LBB0_9 ## %bb.7: ## in Loop: Header=BB0_6 Depth=1 movl $32, %edi callq _putraw ## %bb.8: ## in Loop: Header=BB0_6 Depth=1 movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) jmp LBB0_6 LBB0_9: movl -4(%rbp), %ecx movq _CursorH@GOTPCREL(%rip), %rax addl (%rax), %ecx movq _CursorH@GOTPCREL(%rip), %rax movl %ecx, (%rax) LBB0_10: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _T_CanCEOL,8,3 ## @T_CanCEOL .comm _T_ce,4,2 ## @T_ce .comm _PUTPURE,4,2 ## @PUTPURE .comm _CursorH,4,2 ## @CursorH .subsections_via_symbols
AnghaBench/freebsd/contrib/tcsh/extr_ed.screen.c_ClearEOL.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function lpfc_ignore_els_cmpl _lpfc_ignore_els_cmpl: ; @lpfc_ignore_els_cmpl .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 stur x0, [x29, #-8] str x1, [sp, #16] str x2, [sp, #8] ldr x8, [sp, #8] str x8, [sp] ldur x0, [x29, #-8] adrp x8, _KERN_INFO@GOTPAGE ldr x8, [x8, _KERN_INFO@GOTPAGEOFF] ldr w1, [x8] adrp x8, _LOG_ELS@GOTPAGE ldr x8, [x8, _LOG_ELS@GOTPAGEOFF] ldr w2, [x8] ldr x8, [sp] ldr w4, [x8, #28] ldr x8, [sp] ldr w5, [x8, #24] ldr x8, [sp] ldr x8, [x8, #16] ldr w6, [x8, #16] ldr x8, [sp] ldr w7, [x8, #8] adrp x3, l_.str@PAGE add x3, x3, l_.str@PAGEOFF bl _lpfc_printf_log ldr x8, [sp, #16] ldr x8, [x8] adrp x9, _CMD_GEN_REQUEST64_CR@GOTPAGE ldr x9, [x9, _CMD_GEN_REQUEST64_CR@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldur x0, [x29, #-8] ldr x1, [sp, #16] bl _lpfc_ct_free_iocb b LBB0_3 LBB0_2: ldur x0, [x29, #-8] ldr x1, [sp, #16] bl _lpfc_els_free_iocb b LBB0_3 LBB0_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _KERN_INFO,4,2 ; @KERN_INFO .comm _LOG_ELS,4,2 ; @LOG_ELS .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "0139 Ignoring ELS cmd tag x%x completion Data: x%x x%x x%x\n" .comm _CMD_GEN_REQUEST64_CR,8,3 ; @CMD_GEN_REQUEST64_CR .no_dead_strip _lpfc_ignore_els_cmpl .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function lpfc_ignore_els_cmpl _lpfc_ignore_els_cmpl: ## @lpfc_ignore_els_cmpl .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movq -24(%rbp), %rax movq %rax, -32(%rbp) movq -8(%rbp), %rdi movq _KERN_INFO@GOTPCREL(%rip), %rax movl (%rax), %esi movq _LOG_ELS@GOTPCREL(%rip), %rax movl (%rax), %edx movq -32(%rbp), %rax movl 28(%rax), %r8d movq -32(%rbp), %rax movl 24(%rax), %r9d movq -32(%rbp), %rax movq 16(%rax), %rax movl 16(%rax), %r10d movq -32(%rbp), %rax movl 8(%rax), %eax leaq L_.str(%rip), %rcx movl %r10d, (%rsp) movl %eax, 8(%rsp) callq _lpfc_printf_log movq -16(%rbp), %rax movq (%rax), %rax movq _CMD_GEN_REQUEST64_CR@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_2 ## %bb.1: movq -8(%rbp), %rdi movq -16(%rbp), %rsi callq _lpfc_ct_free_iocb jmp LBB0_3 LBB0_2: movq -8(%rbp), %rdi movq -16(%rbp), %rsi callq _lpfc_els_free_iocb LBB0_3: addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _KERN_INFO,4,2 ## @KERN_INFO .comm _LOG_ELS,4,2 ## @LOG_ELS .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "0139 Ignoring ELS cmd tag x%x completion Data: x%x x%x x%x\n" .comm _CMD_GEN_REQUEST64_CR,8,3 ## @CMD_GEN_REQUEST64_CR .no_dead_strip _lpfc_ignore_els_cmpl .subsections_via_symbols
AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_sli.c_lpfc_ignore_els_cmpl.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function wiiu_gca_free _wiiu_gca_free: ; @wiiu_gca_free .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 stur x0, [x29, #-8] ldur x8, [x29, #-8] str x8, [sp, #16] ldr x8, [sp, #16] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_1 LBB0_1: ldr x8, [sp, #16] str wzr, [x8] str wzr, [sp, #12] b LBB0_2 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #12] subs w8, w8, #4 cset w8, ge tbnz w8, #0, LBB0_5 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_2 Depth=1 ldr x0, [sp, #16] ldr w1, [sp, #12] bl _wiiu_gca_unregister_pad b LBB0_4 LBB0_4: ; in Loop: Header=BB0_2 Depth=1 ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB0_2 LBB0_5: ldr x0, [sp, #16] bl _free b LBB0_6 LBB0_6: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .no_dead_strip _wiiu_gca_free .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function wiiu_gca_free _wiiu_gca_free: ## @wiiu_gca_free .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rax movq %rax, -16(%rbp) cmpq $0, -16(%rbp) je LBB0_6 ## %bb.1: movq -16(%rbp), %rax movl $0, (%rax) movl $0, -20(%rbp) LBB0_2: ## =>This Inner Loop Header: Depth=1 cmpl $4, -20(%rbp) jge LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq -16(%rbp), %rdi movl -20(%rbp), %esi callq _wiiu_gca_unregister_pad ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movl -20(%rbp), %eax addl $1, %eax movl %eax, -20(%rbp) jmp LBB0_2 LBB0_5: movq -16(%rbp), %rdi callq _free LBB0_6: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _wiiu_gca_free .subsections_via_symbols
AnghaBench/RetroArch/input/common/hid/extr_device_wiiu_gca.c_wiiu_gca_free.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl ___pxcptinfoptrs ; -- Begin function __pxcptinfoptrs .p2align 2 ___pxcptinfoptrs: ; @__pxcptinfoptrs .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 _msvcrt_get_thread_data ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl ___pxcptinfoptrs ## -- Begin function __pxcptinfoptrs .p2align 4, 0x90 ___pxcptinfoptrs: ## @__pxcptinfoptrs .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movb $0, %al callq _msvcrt_get_thread_data popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/reactos/sdk/lib/crt/signal/extr_xcptinfo.c___pxcptinfoptrs.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function hdr_is_valid _hdr_is_valid: ; @hdr_is_valid .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 add x8, sp, #8 str w0, [sp, #8] str x8, [sp] ldr w8, [sp, #8] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp] ldr x8, [x8, #16] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: adrp x8, _EBADMSG@GOTPAGE ldr x8, [x8, _EBADMSG@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 str w8, [sp, #12] b LBB0_7 LBB0_3: ldr x8, [sp] ldr x8, [x8, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_4 LBB0_4: ldr x8, [sp] ldr x8, [x8] adrp x9, _MEI_SLOT_SIZE@GOTPAGE ldr x9, [x9, _MEI_SLOT_SIZE@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: adrp x8, _EBADMSG@GOTPAGE ldr x8, [x8, _EBADMSG@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 str w8, [sp, #12] b LBB0_7 LBB0_6: str wzr, [sp, #12] b LBB0_7 LBB0_7: ldr w0, [sp, #12] add sp, sp, #16 ret .cfi_endproc ; -- End function .comm _EBADMSG,4,2 ; @EBADMSG .comm _MEI_SLOT_SIZE,8,3 ; @MEI_SLOT_SIZE .no_dead_strip _hdr_is_valid .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function hdr_is_valid _hdr_is_valid: ## @hdr_is_valid .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, -8(%rbp) leaq -8(%rbp), %rax movq %rax, -16(%rbp) cmpl $0, -8(%rbp) je LBB0_2 ## %bb.1: movq -16(%rbp), %rax cmpq $0, 16(%rax) je LBB0_3 LBB0_2: xorl %eax, %eax movq _EBADMSG@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) jmp LBB0_7 LBB0_3: movq -16(%rbp), %rax cmpq $0, 8(%rax) je LBB0_6 ## %bb.4: movq -16(%rbp), %rax movq (%rax), %rax movq _MEI_SLOT_SIZE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_6 ## %bb.5: xorl %eax, %eax movq _EBADMSG@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) jmp LBB0_7 LBB0_6: movl $0, -4(%rbp) LBB0_7: movl -4(%rbp), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _EBADMSG,4,2 ## @EBADMSG .comm _MEI_SLOT_SIZE,8,3 ## @MEI_SLOT_SIZE .no_dead_strip _hdr_is_valid .subsections_via_symbols
AnghaBench/linux/drivers/misc/mei/extr_interrupt.c_hdr_is_valid.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function m68k_op_tas_8_aw _m68k_op_tas_8_aw: ; @m68k_op_tas_8_aw .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 bl _EA_AW_8 stur w0, [x29, #-4] ldur w0, [x29, #-4] bl _m68ki_read_8 str w0, [sp, #8] ldr w8, [sp, #8] adrp x9, _FLAG_Z@GOTPAGE ldr x9, [x9, _FLAG_Z@GOTPAGEOFF] str w8, [x9] ldr w0, [sp, #8] bl _NFLAG_8 adrp x8, _FLAG_N@GOTPAGE ldr x8, [x8, _FLAG_N@GOTPAGEOFF] str w0, [x8] adrp x8, _VFLAG_CLEAR@GOTPAGE ldr x8, [x8, _VFLAG_CLEAR@GOTPAGEOFF] ldr w8, [x8] adrp x9, _FLAG_V@GOTPAGE ldr x9, [x9, _FLAG_V@GOTPAGEOFF] str w8, [x9] adrp x8, _CFLAG_CLEAR@GOTPAGE ldr x8, [x8, _CFLAG_CLEAR@GOTPAGEOFF] ldr w8, [x8] adrp x9, _FLAG_C@GOTPAGE ldr x9, [x9, _FLAG_C@GOTPAGEOFF] str w8, [x9] bl _m68ki_tas_callback subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldur w0, [x29, #-4] ldr w8, [sp, #8] orr w1, w8, #0x80 bl _m68ki_write_8 b LBB0_2 LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _FLAG_Z,4,2 ; @FLAG_Z .comm _FLAG_N,4,2 ; @FLAG_N .comm _VFLAG_CLEAR,4,2 ; @VFLAG_CLEAR .comm _FLAG_V,4,2 ; @FLAG_V .comm _CFLAG_CLEAR,4,2 ; @CFLAG_CLEAR .comm _FLAG_C,4,2 ; @FLAG_C .no_dead_strip _m68k_op_tas_8_aw .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function m68k_op_tas_8_aw _m68k_op_tas_8_aw: ## @m68k_op_tas_8_aw .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 movb $0, %al callq _EA_AW_8 movl %eax, -4(%rbp) movl -4(%rbp), %edi callq _m68ki_read_8 movl %eax, -8(%rbp) movl -8(%rbp), %ecx movq _FLAG_Z@GOTPCREL(%rip), %rax movl %ecx, (%rax) movl -8(%rbp), %edi callq _NFLAG_8 movl %eax, %ecx movq _FLAG_N@GOTPCREL(%rip), %rax movl %ecx, (%rax) movq _VFLAG_CLEAR@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _FLAG_V@GOTPCREL(%rip), %rax movl %ecx, (%rax) movq _CFLAG_CLEAR@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _FLAG_C@GOTPCREL(%rip), %rax movl %ecx, (%rax) movb $0, %al callq _m68ki_tas_callback cmpq $0, %rax je LBB0_2 ## %bb.1: movl -4(%rbp), %edi movl -8(%rbp), %esi orl $128, %esi callq _m68ki_write_8 LBB0_2: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _FLAG_Z,4,2 ## @FLAG_Z .comm _FLAG_N,4,2 ## @FLAG_N .comm _VFLAG_CLEAR,4,2 ## @VFLAG_CLEAR .comm _FLAG_V,4,2 ## @FLAG_V .comm _CFLAG_CLEAR,4,2 ## @CFLAG_CLEAR .comm _FLAG_C,4,2 ## @FLAG_C .no_dead_strip _m68k_op_tas_8_aw .subsections_via_symbols
AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_tas_8_aw.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function store_port_cache _store_port_cache: ; @store_port_cache .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 stur x0, [x29, #-8] str x1, [sp, #16] ldur x8, [x29, #-8] ldr x8, [x8, #16] ldr w0, [x8] bl _HASHGUID adrp x8, _HTSZ@GOTPAGE ldr x8, [x8, _HTSZ@GOTPAGEOFF] ldr w9, [x8] sdiv w8, w0, w9 mul w8, w8, w9 subs w8, w0, w8 str w8, [sp, #12] ldr x8, [sp, #16] ldr x8, [x8, #8] ldur x9, [x29, #-8] str x8, [x9, #8] ldur x8, [x29, #-8] ldr x9, [sp, #16] str x8, [x9, #8] ldr x8, [sp, #16] ldr x8, [x8] ldrsw x9, [sp, #12] ldr x8, [x8, x9, lsl #3] ldur x9, [x29, #-8] str x8, [x9] ldur x8, [x29, #-8] ldr x9, [sp, #16] ldr x9, [x9] ldrsw x10, [sp, #12] str x8, [x9, x10, lsl #3] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _HTSZ,4,2 ; @HTSZ .no_dead_strip _store_port_cache .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function store_port_cache _store_port_cache: ## @store_port_cache .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -8(%rbp), %rax movq 16(%rax), %rax movl (%rax), %edi callq _HASHGUID movq _HTSZ@GOTPCREL(%rip), %rcx cltd idivl (%rcx) movl %edx, -20(%rbp) movq -16(%rbp), %rax movq 8(%rax), %rcx movq -8(%rbp), %rax movq %rcx, 8(%rax) movq -8(%rbp), %rcx movq -16(%rbp), %rax movq %rcx, 8(%rax) movq -16(%rbp), %rax movq (%rax), %rax movslq -20(%rbp), %rcx movq (%rax,%rcx,8), %rcx movq -8(%rbp), %rax movq %rcx, (%rax) movq -8(%rbp), %rdx movq -16(%rbp), %rax movq (%rax), %rax movslq -20(%rbp), %rcx movq %rdx, (%rax,%rcx,8) addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _HTSZ,4,2 ## @HTSZ .no_dead_strip _store_port_cache .subsections_via_symbols
AnghaBench/freebsd/contrib/ofed/libibnetdisc/extr_ibnetdisc_cache.c_store_port_cache.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function qeth_peer_func_level _qeth_peer_func_level: ; @qeth_peer_func_level .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, #8] ldrb w8, [sp, #8] subs w8, w8, #8 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldrb w8, [sp, #8] add w8, w8, #1024 str w8, [sp, #12] b LBB0_5 LBB0_2: ldr w8, [sp, #8] asr w8, w8, #8 and w8, w8, #0x3 subs w8, w8, #1 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldrb w8, [sp, #8] add w8, w8, #512 str w8, [sp, #12] b LBB0_5 LBB0_4: ldr w8, [sp, #8] str w8, [sp, #12] b LBB0_5 LBB0_5: ldr w0, [sp, #12] add sp, sp, #16 ret .cfi_endproc ; -- End function .no_dead_strip _qeth_peer_func_level .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function qeth_peer_func_level _qeth_peer_func_level: ## @qeth_peer_func_level .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, -8(%rbp) movl -8(%rbp), %eax andl $255, %eax cmpl $8, %eax jne LBB0_2 ## %bb.1: movl -8(%rbp), %eax andl $255, %eax addl $1024, %eax ## imm = 0x400 movl %eax, -4(%rbp) jmp LBB0_5 LBB0_2: movl -8(%rbp), %eax sarl $8, %eax andl $3, %eax cmpl $1, %eax jne LBB0_4 ## %bb.3: movl -8(%rbp), %eax andl $255, %eax addl $512, %eax ## imm = 0x200 movl %eax, -4(%rbp) jmp LBB0_5 LBB0_4: movl -8(%rbp), %eax movl %eax, -4(%rbp) LBB0_5: movl -4(%rbp), %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _qeth_peer_func_level .subsections_via_symbols
AnghaBench/linux/drivers/s390/net/extr_qeth_core_main.c_qeth_peer_func_level.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function is_neg_adv_abort _is_neg_adv_abort: ; @is_neg_adv_abort .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, #12] ldr w8, [sp, #12] adrp x9, _CPL_ERR_RTX_NEG_ADVICE@GOTPAGE ldr x9, [x9, _CPL_ERR_RTX_NEG_ADVICE@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, eq mov w9, #1 str w9, [sp, #8] ; 4-byte Folded Spill tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr w8, [sp, #12] adrp x9, _CPL_ERR_PERSIST_NEG_ADVICE@GOTPAGE ldr x9, [x9, _CPL_ERR_PERSIST_NEG_ADVICE@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, eq str w8, [sp, #8] ; 4-byte Folded Spill b LBB0_2 LBB0_2: ldr w8, [sp, #8] ; 4-byte Folded Reload and w0, w8, #0x1 add sp, sp, #16 ret .cfi_endproc ; -- End function .comm _CPL_ERR_RTX_NEG_ADVICE,4,2 ; @CPL_ERR_RTX_NEG_ADVICE .comm _CPL_ERR_PERSIST_NEG_ADVICE,4,2 ; @CPL_ERR_PERSIST_NEG_ADVICE .no_dead_strip _is_neg_adv_abort .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function is_neg_adv_abort _is_neg_adv_abort: ## @is_neg_adv_abort .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, -4(%rbp) movl -4(%rbp), %ecx movb $1, %al movq _CPL_ERR_RTX_NEG_ADVICE@GOTPCREL(%rip), %rdx cmpl (%rdx), %ecx movb %al, -5(%rbp) ## 1-byte Spill je LBB0_2 ## %bb.1: movl -4(%rbp), %eax movq _CPL_ERR_PERSIST_NEG_ADVICE@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax sete %al movb %al, -5(%rbp) ## 1-byte Spill LBB0_2: movb -5(%rbp), %al ## 1-byte Reload andb $1, %al movzbl %al, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _CPL_ERR_RTX_NEG_ADVICE,4,2 ## @CPL_ERR_RTX_NEG_ADVICE .comm _CPL_ERR_PERSIST_NEG_ADVICE,4,2 ## @CPL_ERR_PERSIST_NEG_ADVICE .no_dead_strip _is_neg_adv_abort .subsections_via_symbols
AnghaBench/linux/drivers/infiniband/hw/cxgb3/extr_iwch_cm.c_is_neg_adv_abort.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sqlite3WhereGetMask ; -- Begin function sqlite3WhereGetMask .p2align 2 _sqlite3WhereGetMask: ; @sqlite3WhereGetMask .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 str x0, [sp, #16] str w1, [sp, #12] ldr x8, [sp, #16] ldr w8, [x8] subs w8, w8, #32 cset w8, le and w0, w8, #0x1 bl _assert str wzr, [sp, #8] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #8] ldr x9, [sp, #16] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_6 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #16] ldr x8, [x8, #8] ldrsw x9, [sp, #8] ldr w8, [x8, x9, lsl #2] ldr w9, [sp, #12] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldr w0, [sp, #8] bl _MASKBIT stur w0, [x29, #-4] b LBB0_7 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #8] add w8, w8, #1 str w8, [sp, #8] b LBB0_1 LBB0_6: stur wzr, [x29, #-4] b LBB0_7 LBB0_7: ldur w0, [x29, #-4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sqlite3WhereGetMask ## -- Begin function sqlite3WhereGetMask .p2align 4, 0x90 _sqlite3WhereGetMask: ## @sqlite3WhereGetMask .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -16(%rbp) movl %esi, -20(%rbp) movq -16(%rbp), %rax cmpl $32, (%rax) setle %al andb $1, %al movzbl %al, %edi callq _assert movl $0, -24(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movl -24(%rbp), %eax movq -16(%rbp), %rcx cmpl (%rcx), %eax jge LBB0_6 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq -16(%rbp), %rax movq 8(%rax), %rax movslq -24(%rbp), %rcx movl (%rax,%rcx,4), %eax cmpl -20(%rbp), %eax jne LBB0_4 ## %bb.3: movl -24(%rbp), %edi callq _MASKBIT movl %eax, -4(%rbp) jmp LBB0_7 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_5 LBB0_5: ## in Loop: Header=BB0_1 Depth=1 movl -24(%rbp), %eax addl $1, %eax movl %eax, -24(%rbp) jmp LBB0_1 LBB0_6: movl $0, -4(%rbp) LBB0_7: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/sqlcipher/src/extr_where.c_sqlite3WhereGetMask.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwPlatformWindowIconified ; -- Begin function _glfwPlatformWindowIconified .p2align 2 __glfwPlatformWindowIconified: ; @_glfwPlatformWindowIconified .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, #8] adrp x8, _GLFW_FALSE@GOTPAGE ldr x8, [x8, _GLFW_FALSE@GOTPAGEOFF] ldr w0, [x8] add sp, sp, #16 ret .cfi_endproc ; -- End function .comm _GLFW_FALSE,4,2 ; @GLFW_FALSE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwPlatformWindowIconified ## -- Begin function _glfwPlatformWindowIconified .p2align 4, 0x90 __glfwPlatformWindowIconified: ## @_glfwPlatformWindowIconified .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, -8(%rbp) movq _GLFW_FALSE@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _GLFW_FALSE,4,2 ## @GLFW_FALSE .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_wl_window.c__glfwPlatformWindowIconified.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function update_pwr_cal _update_pwr_cal: ; @update_pwr_cal .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, #8] str w1, [sp, #4] ldr x8, [sp, #8] ldr x8, [x8] ldr w9, [sp, #4] subs w9, w9, #1 ldr w8, [x8, w9, sxtw #2] str w8, [sp] ldr x0, [sp, #8] ldr w1, [sp] adrp x8, _ZD_CR68@GOTPAGE ldr x8, [x8, _ZD_CR68@GOTPAGEOFF] ldr w2, [x8] bl _zd_iowrite16_locked ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _ZD_CR68,4,2 ; @ZD_CR68 .no_dead_strip _update_pwr_cal .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function update_pwr_cal _update_pwr_cal: ## @update_pwr_cal .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 movq %rdi, -8(%rbp) movl %esi, -12(%rbp) movq -8(%rbp), %rax movq (%rax), %rax movl -12(%rbp), %ecx subl $1, %ecx movslq %ecx, %rcx movl (%rax,%rcx,4), %eax movl %eax, -16(%rbp) movq -8(%rbp), %rdi movl -16(%rbp), %esi movq _ZD_CR68@GOTPCREL(%rip), %rax movl (%rax), %edx callq _zd_iowrite16_locked addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _ZD_CR68,4,2 ## @ZD_CR68 .no_dead_strip _update_pwr_cal .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/zydas/zd1211rw/extr_zd_chip.c_update_pwr_cal.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bwstrdup _bwstrdup: ; @bwstrdup .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 str x0, [sp, #16] ldr x8, [sp, #16] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ; kill: def $x8 killed $xzr stur xzr, [x29, #-8] b LBB0_3 LBB0_2: ldr x8, [sp, #16] str x8, [sp, #8] ; 8-byte Folded Spill ldr x0, [sp, #16] bl _wcslen mov x1, x0 ldr x0, [sp, #8] ; 8-byte Folded Reload bl _bwstrdup_n stur x0, [x29, #-8] b LBB0_3 LBB0_3: ldur x0, [x29, #-8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .no_dead_strip _bwstrdup .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bwstrdup _bwstrdup: ## @bwstrdup .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -16(%rbp) cmpq $0, -16(%rbp) jne LBB0_2 ## %bb.1: movq $0, -8(%rbp) jmp LBB0_3 LBB0_2: movq -16(%rbp), %rax movq %rax, -24(%rbp) ## 8-byte Spill movq -16(%rbp), %rdi callq _wcslen movq -24(%rbp), %rdi ## 8-byte Reload movl %eax, %esi callq _bwstrdup_n movq %rax, -8(%rbp) LBB0_3: movq -8(%rbp), %rax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _bwstrdup .subsections_via_symbols
AnghaBench/obs-studio/libobs/extr_media-io..utilbmem.h_bwstrdup.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cpm_allocate ; -- Begin function cpm_allocate .p2align 2 _cpm_allocate: ; @cpm_allocate .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 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 adrp x9, _PAGE_SIZE@GOTPAGE ldr x9, [x9, _PAGE_SIZE@GOTPAGEOFF] str x9, [sp, #8] ; 8-byte Folded Spill adrp x8, _vm_page_free_wanted@GOTPAGE ldr x8, [x8, _vm_page_free_wanted@GOTPAGEOFF] ; kill: def $w8 killed $w8 killed $x8 str w8, [sp, #16] ; 4-byte Folded Spill stur w0, [x29, #-8] stur x1, [x29, #-16] stur w2, [x29, #-20] stur w3, [x29, #-24] stur w4, [x29, #-28] str w5, [sp, #32] ldur w8, [x29, #-8] ldr w10, [x9] udiv w9, w8, w10 mul w9, w9, w10 subs w8, w8, w9 subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _KERN_INVALID_ARGUMENT@GOTPAGE ldr x8, [x8, _KERN_INVALID_ARGUMENT@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-4] b LBB0_9 LBB0_2: ldr x10, [sp, #8] ; 8-byte Folded Reload ldur w8, [x29, #-8] ldr w9, [x10] udiv w8, w8, w9 str w8, [sp, #20] ldr w8, [sp, #20] ldur w9, [x29, #-8] ldr w10, [x10] udiv w9, w9, w10 subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: adrp x8, _KERN_INVALID_ARGUMENT@GOTPAGE ldr x8, [x8, _KERN_INVALID_ARGUMENT@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-4] b LBB0_9 LBB0_4: ldr w0, [sp, #20] ldur w1, [x29, #-20] ldur w2, [x29, #-24] ldur w3, [x29, #-28] ldr w4, [sp, #32] bl _vm_page_find_contiguous str x0, [sp, #24] ldr x8, [sp, #24] adrp x9, _VM_PAGE_NULL@GOTPAGE ldr x9, [x9, _VM_PAGE_NULL@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: adrp x8, _KERN_NO_SPACE@GOTPAGE ldr x8, [x8, _KERN_NO_SPACE@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-4] b LBB0_9 LBB0_6: adrp x8, _vm_page_free_count@GOTPAGE ldr x8, [x8, _vm_page_free_count@GOTPAGEOFF] ldr x8, [x8] adrp x9, _vm_page_free_min@GOTPAGE ldr x9, [x9, _vm_page_free_min@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ge tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: ldr w0, [sp, #16] ; 4-byte Folded Reload bl _thread_wakeup b LBB0_8 LBB0_8: ldr x0, [sp, #24] ldr w1, [sp, #20] bl _vm_page_verify_contiguous bl _assert ldr x8, [sp, #24] ldur x9, [x29, #-16] str x8, [x9] adrp x8, _KERN_SUCCESS@GOTPAGE ldr x8, [x8, _KERN_SUCCESS@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-4] b LBB0_9 LBB0_9: ldur w0, [x29, #-4] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _PAGE_SIZE,4,2 ; @PAGE_SIZE .comm _KERN_INVALID_ARGUMENT,4,2 ; @KERN_INVALID_ARGUMENT .comm _VM_PAGE_NULL,8,3 ; @VM_PAGE_NULL .comm _KERN_NO_SPACE,4,2 ; @KERN_NO_SPACE .comm _vm_page_free_count,8,3 ; @vm_page_free_count .comm _vm_page_free_min,8,3 ; @vm_page_free_min .comm _vm_page_free_wanted,4,2 ; @vm_page_free_wanted .comm _VM_CHECK_MEMORYSTATUS,4,2 ; @VM_CHECK_MEMORYSTATUS .comm _KERN_SUCCESS,4,2 ; @KERN_SUCCESS .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cpm_allocate ## -- Begin function cpm_allocate .p2align 4, 0x90 _cpm_allocate: ## @cpm_allocate .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movl %edi, -8(%rbp) movq %rsi, -16(%rbp) movl %edx, -20(%rbp) movl %ecx, -24(%rbp) movl %r8d, -28(%rbp) movl %r9d, -32(%rbp) movl -8(%rbp), %eax movq _PAGE_SIZE@GOTPCREL(%rip), %rcx xorl %edx, %edx divl (%rcx) cmpl $0, %edx je LBB0_2 ## %bb.1: movq _KERN_INVALID_ARGUMENT@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_9 LBB0_2: movl -8(%rbp), %eax movq _PAGE_SIZE@GOTPCREL(%rip), %rcx xorl %edx, %edx divl (%rcx) movl %eax, -44(%rbp) movl -44(%rbp), %eax movl %eax, -48(%rbp) ## 4-byte Spill movl -8(%rbp), %eax movq _PAGE_SIZE@GOTPCREL(%rip), %rcx xorl %edx, %edx divl (%rcx) movl %eax, %ecx movl -48(%rbp), %eax ## 4-byte Reload cmpl %ecx, %eax je LBB0_4 ## %bb.3: movq _KERN_INVALID_ARGUMENT@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_9 LBB0_4: movl -44(%rbp), %edi movl -20(%rbp), %esi movl -24(%rbp), %edx movl -28(%rbp), %ecx movl -32(%rbp), %r8d callq _vm_page_find_contiguous movq %rax, -40(%rbp) movq -40(%rbp), %rax movq _VM_PAGE_NULL@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_6 ## %bb.5: movq _KERN_NO_SPACE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_9 LBB0_6: movq _vm_page_free_count@GOTPCREL(%rip), %rax movq (%rax), %rax movq _vm_page_free_min@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jge LBB0_8 ## %bb.7: movq _vm_page_free_wanted@GOTPCREL(%rip), %rax movl %eax, %edi callq _thread_wakeup LBB0_8: movq -40(%rbp), %rdi movl -44(%rbp), %esi callq _vm_page_verify_contiguous movl %eax, %edi callq _assert movq -40(%rbp), %rcx movq -16(%rbp), %rax movq %rcx, (%rax) movq _KERN_SUCCESS@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) LBB0_9: movl -4(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _PAGE_SIZE,4,2 ## @PAGE_SIZE .comm _KERN_INVALID_ARGUMENT,4,2 ## @KERN_INVALID_ARGUMENT .comm _VM_PAGE_NULL,8,3 ## @VM_PAGE_NULL .comm _KERN_NO_SPACE,4,2 ## @KERN_NO_SPACE .comm _vm_page_free_count,8,3 ## @vm_page_free_count .comm _vm_page_free_min,8,3 ## @vm_page_free_min .comm _vm_page_free_wanted,4,2 ## @vm_page_free_wanted .comm _VM_CHECK_MEMORYSTATUS,4,2 ## @VM_CHECK_MEMORYSTATUS .comm _KERN_SUCCESS,4,2 ## @KERN_SUCCESS .subsections_via_symbols
AnghaBench/darwin-xnu/osfmk/vm/extr_vm_resident.c_cpm_allocate.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sun3x_esp_write8 _sun3x_esp_write8: ; @sun3x_esp_write8 .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 stur x0, [x29, #-8] stur w1, [x29, #-12] str x2, [sp, #8] ldur w0, [x29, #-12] ldur x8, [x29, #-8] ldr x8, [x8] ldr x9, [sp, #8] add x1, x8, x9, lsl #2 bl _writeb ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .no_dead_strip _sun3x_esp_write8 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sun3x_esp_write8 _sun3x_esp_write8: ## @sun3x_esp_write8 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movl %esi, -12(%rbp) movq %rdx, -24(%rbp) movl -12(%rbp), %edi movq -8(%rbp), %rax movq (%rax), %rsi movq -24(%rbp), %rax shlq $2, %rax addq %rax, %rsi callq _writeb addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _sun3x_esp_write8 .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/scsi/extr_sun3x_esp.c_sun3x_esp_write8.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cma_accept_ib _cma_accept_ib: ; @cma_accept_ib .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 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 stur x0, [x29, #-8] stur x1, [x29, #-16] ldur x0, [x29, #-8] ldur x1, [x29, #-16] bl _cma_modify_qp_rtr str w0, [sp, #28] ldr w8, [sp, #28] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: b LBB0_5 LBB0_2: ldur x0, [x29, #-8] ldur x1, [x29, #-16] bl _cma_modify_qp_rts str w0, [sp, #28] ldr w8, [sp, #28] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: b LBB0_5 LBB0_4: add x0, sp, #32 str x0, [sp, #16] ; 8-byte Folded Spill mov w1, #0 str w1, [sp, #12] ; 4-byte Folded Spill mov w2, #48 bl _memset ldur x8, [x29, #-8] ldr w8, [x8, #20] str w8, [sp, #76] ldur x8, [x29, #-8] ldr w8, [x8, #16] str w8, [sp, #72] ldur x8, [x29, #-16] ldr w8, [x8, #20] str w8, [sp, #68] ldur x8, [x29, #-16] ldr w8, [x8, #16] str w8, [sp, #64] ldur x8, [x29, #-16] ldr w8, [x8, #12] str w8, [sp, #60] ldur x8, [x29, #-16] ldr w8, [x8, #8] str w8, [sp, #56] str xzr, [sp, #48] ldur x8, [x29, #-16] ldr w8, [x8, #4] str w8, [sp, #40] adrp x8, _u8@GOTPAGE ldr x8, [x8, _u8@GOTPAGEOFF] ldr w0, [x8] ldur x8, [x29, #-16] ldr w2, [x8] mov w1, #7 bl _min_t ldr w8, [sp, #12] ; 4-byte Folded Reload ldr x1, [sp, #16] ; 8-byte Folded Reload str w0, [sp, #36] ldur x9, [x29, #-8] ldr x9, [x9, #8] subs x9, x9, #0 cset w9, ne and w9, w9, #0x1 ands w9, w9, #0x1 csinc w8, w8, wzr, eq str w8, [sp, #32] ldur x8, [x29, #-8] ldr w0, [x8] bl _ib_send_cm_rep str w0, [sp, #28] b LBB0_5 LBB0_5: ldr w0, [sp, #28] ldp x29, x30, [sp, #96] ; 16-byte Folded Reload add sp, sp, #112 ret .cfi_endproc ; -- End function .comm _u8,4,2 ; @u8 .no_dead_strip _cma_accept_ib .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cma_accept_ib _cma_accept_ib: ## @cma_accept_ib .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $80, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -8(%rbp), %rdi movq -16(%rbp), %rsi callq _cma_modify_qp_rtr movl %eax, -68(%rbp) cmpl $0, -68(%rbp) je LBB0_2 ## %bb.1: jmp LBB0_5 LBB0_2: movq -8(%rbp), %rdi movq -16(%rbp), %rsi callq _cma_modify_qp_rts movl %eax, -68(%rbp) cmpl $0, -68(%rbp) je LBB0_4 ## %bb.3: jmp LBB0_5 LBB0_4: leaq -64(%rbp), %rdi xorl %esi, %esi movl $48, %edx callq _memset movq -8(%rbp), %rax movl 20(%rax), %eax movl %eax, -20(%rbp) movq -8(%rbp), %rax movl 16(%rax), %eax movl %eax, -24(%rbp) movq -16(%rbp), %rax movl 20(%rax), %eax movl %eax, -28(%rbp) movq -16(%rbp), %rax movl 16(%rax), %eax movl %eax, -32(%rbp) movq -16(%rbp), %rax movl 12(%rax), %eax movl %eax, -36(%rbp) movq -16(%rbp), %rax movl 8(%rax), %eax movl %eax, -40(%rbp) movq $0, -48(%rbp) movq -16(%rbp), %rax movl 4(%rax), %eax movl %eax, -56(%rbp) movq _u8@GOTPCREL(%rip), %rax movl (%rax), %edi movq -16(%rbp), %rax movl (%rax), %edx movl $7, %esi callq _min_t movl %eax, -60(%rbp) movq -8(%rbp), %rax movq 8(%rax), %rdx xorl %eax, %eax movl $1, %ecx cmpq $0, %rdx cmovnel %ecx, %eax movl %eax, -64(%rbp) movq -8(%rbp), %rax movl (%rax), %edi leaq -64(%rbp), %rsi callq _ib_send_cm_rep movl %eax, -68(%rbp) LBB0_5: movl -68(%rbp), %eax addq $80, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _u8,4,2 ## @u8 .no_dead_strip _cma_accept_ib .subsections_via_symbols
AnghaBench/freebsd/sys/ofed/drivers/infiniband/core/extr_ib_cma.c_cma_accept_ib.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwPlatformPostEmptyEvent ; -- Begin function _glfwPlatformPostEmptyEvent .p2align 2 __glfwPlatformPostEmptyEvent: ; @_glfwPlatformPostEmptyEvent .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 adrp x8, __glfw@GOTPAGE ldr x8, [x8, __glfw@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill adrp x9, _ClientMessage@GOTPAGE ldr x9, [x9, _ClientMessage@GOTPAGEOFF] ldr w9, [x9] add x4, sp, #16 str w9, [sp, #16] mov w3, #0 str wzr, [sp, #20] str wzr, [sp, #24] str wzr, [sp, #28] ldr w9, [x8, #4] str w9, [sp, #24] mov w9, #32 str w9, [sp, #16] ldr w9, [x8, #8] str w9, [sp, #20] ldr w0, [x8] ldr w1, [x8, #4] adrp x8, _False@GOTPAGE ldr x8, [x8, _False@GOTPAGEOFF] ldr w2, [x8] bl _XSendEvent ldr x8, [sp, #8] ; 8-byte Folded Reload ldr w0, [x8] bl _XFlush ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _ClientMessage,4,2 ; @ClientMessage .comm __glfw,12,2 ; @_glfw .comm _False,4,2 ; @False .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwPlatformPostEmptyEvent ## -- Begin function _glfwPlatformPostEmptyEvent .p2align 4, 0x90 __glfwPlatformPostEmptyEvent: ## @_glfwPlatformPostEmptyEvent .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 movq _ClientMessage@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -16(%rbp) movl $0, -12(%rbp) movl $0, -8(%rbp) movl $0, -4(%rbp) movq __glfw@GOTPCREL(%rip), %rax movl 4(%rax), %eax movl %eax, -8(%rbp) movl $32, -16(%rbp) movq __glfw@GOTPCREL(%rip), %rax movl 8(%rax), %eax movl %eax, -12(%rbp) movq __glfw@GOTPCREL(%rip), %rax movl (%rax), %edi movq __glfw@GOTPCREL(%rip), %rax movl 4(%rax), %esi movq _False@GOTPCREL(%rip), %rax movl (%rax), %edx xorl %ecx, %ecx leaq -16(%rbp), %r8 callq _XSendEvent movq __glfw@GOTPCREL(%rip), %rax movl (%rax), %edi callq _XFlush addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _ClientMessage,4,2 ## @ClientMessage .comm __glfw,12,2 ## @_glfw .comm _False,4,2 ## @False .subsections_via_symbols
AnghaBench/glfw/src/extr_x11_window.c__glfwPlatformPostEmptyEvent.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _CL_ServerInfoPacket ; -- Begin function CL_ServerInfoPacket .p2align 2 _CL_ServerInfoPacket: ; @CL_ServerInfoPacket .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 sub sp, sp, #176 adrp x8, _cls@GOTPAGE ldr x8, [x8, _cls@GOTPAGEOFF] stur x8, [x29, #-120] ; 8-byte Folded Spill adrp x8, _cl_pinglist@GOTPAGE ldr x8, [x8, _cl_pinglist@GOTPAGEOFF] stur x8, [x29, #-112] ; 8-byte Folded Spill adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] stur x0, [x29, #-24] stur x1, [x29, #-16] stur x2, [x29, #-32] adrp x8, _MAX_INFO_STRING@GOTPAGE ldr x8, [x8, _MAX_INFO_STRING@GOTPAGEOFF] ldr w8, [x8] ; kill: def $x8 killed $w8 stur x8, [x29, #-104] ; 8-byte Folded Spill mov x9, sp stur x9, [x29, #-48] lsr x9, x8, #0 add x9, x9, #15 and x9, x9, #0xfffffffffffffff0 stur x9, [x29, #-96] ; 8-byte Folded Spill adrp x16, ___chkstk_darwin@GOTPAGE ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 ldur x10, [x29, #-96] ; 8-byte Folded Reload mov x9, sp subs x9, x9, x10 mov sp, x9 stur x9, [x29, #-88] ; 8-byte Folded Spill stur x8, [x29, #-56] ldur x0, [x29, #-32] bl _MSG_ReadString stur x0, [x29, #-72] ldur x0, [x29, #-72] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _Info_ValueForKey bl _atoi stur w0, [x29, #-76] ldur w8, [x29, #-76] adrp x9, _PROTOCOL_VERSION@GOTPAGE ldr x9, [x9, _PROTOCOL_VERSION@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldur x8, [x29, #-72] sub sp, sp, #16 mov x9, sp str x8, [x9] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _Com_DPrintf add sp, sp, #16 mov w8, #1 stur w8, [x29, #-80] b LBB0_32 LBB0_2: stur wzr, [x29, #-36] b LBB0_3 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-36] adrp x9, _MAX_PINGREQUESTS@GOTPAGE ldr x9, [x9, _MAX_PINGREQUESTS@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_15 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_3 Depth=1 ldur x8, [x29, #-112] ; 8-byte Folded Reload ldr x8, [x8] ldursw x9, [x29, #-36] mov x10, #40 mul x9, x9, x10 add x8, x8, x9 ldr x8, [x8, #24] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_13 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_3 Depth=1 ldur x8, [x29, #-112] ; 8-byte Folded Reload ldr x8, [x8] ldursw x9, [x29, #-36] mov x10, #40 mul x9, x9, x10 add x8, x8, x9 ldr x8, [x8, #8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_13 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_3 Depth=1 ldur x8, [x29, #-112] ; 8-byte Folded Reload ldr x8, [x8] ldursw x9, [x29, #-36] mov x10, #40 mul x9, x9, x10 add x8, x8, x9 ldur x0, [x29, #-24] ldur x1, [x29, #-16] ldr x2, [x8, #24] ldr x3, [x8, #32] bl _NET_CompareAdr subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_13 b LBB0_7 LBB0_7: ldur x8, [x29, #-112] ; 8-byte Folded Reload ldur x9, [x29, #-120] ; 8-byte Folded Reload ldr x9, [x9, #24] ldr x11, [x8] ldursw x12, [x29, #-36] mov x10, #40 stur x10, [x29, #-136] ; 8-byte Folded Spill mul x12, x12, x10 add x11, x11, x12 ldr x11, [x11, #16] subs x9, x9, x11 add x9, x9, #1 ldr x11, [x8] ldursw x12, [x29, #-36] mul x12, x12, x10 add x11, x11, x12 str x9, [x11, #8] ldr x8, [x8] ldursw x9, [x29, #-36] mul x9, x9, x10 add x8, x8, x9 ldr x8, [x8, #8] stur x8, [x29, #-144] ; 8-byte Folded Spill ldur x0, [x29, #-24] ldur x1, [x29, #-16] bl _NET_AdrToString ldur x8, [x29, #-144] ; 8-byte Folded Reload sub sp, sp, #16 mov x9, sp str x8, [x9] ; implicit-def: $x8 mov x8, x0 str x8, [x9, #8] adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _Com_DPrintf ldur x8, [x29, #-112] ; 8-byte Folded Reload ldur x10, [x29, #-136] ; 8-byte Folded Reload add sp, sp, #16 ldr x8, [x8] ldursw x9, [x29, #-36] mul x9, x9, x10 ldr x0, [x8, x9] ldur x1, [x29, #-72] mov w2, #8 bl _Q_strncpyz ldur w8, [x29, #-16] subs w8, w8, #128 ; kill: def $x8 killed $w8 stur x8, [x29, #-128] ; 8-byte Folded Spill subs x8, x8, #3 cset w8, hi tbnz w8, #0, LBB0_11 ; %bb.8: ldur x11, [x29, #-128] ; 8-byte Folded Reload adrp x10, lJTI0_0@PAGE add x10, x10, lJTI0_0@PAGEOFF Ltmp0: adr x8, Ltmp0 ldrsw x9, [x10, x11, lsl #2] add x8, x8, x9 br x8 LBB0_9: adrp x8, l_.str.3@PAGE add x8, x8, l_.str.3@PAGEOFF stur x8, [x29, #-64] mov w8, #1 stur w8, [x29, #-40] b LBB0_12 LBB0_10: adrp x8, l_.str.4@PAGE add x8, x8, l_.str.4@PAGEOFF stur x8, [x29, #-64] mov w8, #2 stur w8, [x29, #-40] b LBB0_12 LBB0_11: adrp x8, l_.str.5@PAGE add x8, x8, l_.str.5@PAGEOFF stur x8, [x29, #-64] stur wzr, [x29, #-40] b LBB0_12 LBB0_12: ldur x8, [x29, #-112] ; 8-byte Folded Reload ldr x8, [x8] ldursw x9, [x29, #-36] mov x10, #40 stur x10, [x29, #-152] ; 8-byte Folded Spill mul x9, x9, x10 ldr x8, [x8, x9] stur x8, [x29, #-160] ; 8-byte Folded Spill ldur w1, [x29, #-40] adrp x0, l_.str.7@PAGE add x0, x0, l_.str.7@PAGEOFF bl _va mov x2, x0 ldur x0, [x29, #-160] ; 8-byte Folded Reload adrp x1, l_.str.6@PAGE add x1, x1, l_.str.6@PAGEOFF bl _Info_SetValueForKey ldur x8, [x29, #-112] ; 8-byte Folded Reload ldur x10, [x29, #-152] ; 8-byte Folded Reload ldur x2, [x29, #-72] ldr x8, [x8] ldursw x9, [x29, #-36] mul x9, x9, x10 add x8, x8, x9 ldr x3, [x8, #8] ldur x0, [x29, #-24] ldur x1, [x29, #-16] bl _CL_SetServerInfoByAddress mov w8, #1 stur w8, [x29, #-80] b LBB0_32 LBB0_13: ; in Loop: Header=BB0_3 Depth=1 b LBB0_14 LBB0_14: ; in Loop: Header=BB0_3 Depth=1 ldur w8, [x29, #-36] add w8, w8, #1 stur w8, [x29, #-36] b LBB0_3 LBB0_15: ldur x8, [x29, #-120] ; 8-byte Folded Reload ldr x8, [x8] adrp x9, _AS_LOCAL@GOTPAGE ldr x9, [x9, _AS_LOCAL@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_17 b LBB0_16 LBB0_16: mov w8, #1 stur w8, [x29, #-80] b LBB0_32 LBB0_17: stur wzr, [x29, #-36] b LBB0_18 LBB0_18: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-36] adrp x9, _MAX_OTHER_SERVERS@GOTPAGE ldr x9, [x9, _MAX_OTHER_SERVERS@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_25 b LBB0_19 LBB0_19: ; in Loop: Header=BB0_18 Depth=1 ldur x8, [x29, #-120] ; 8-byte Folded Reload ldr x8, [x8, #16] ldursw x9, [x29, #-36] mov x10, #104 mul x9, x9, x10 add x8, x8, x9 ldr x8, [x8, #88] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_21 b LBB0_20 LBB0_20: b LBB0_25 LBB0_21: ; in Loop: Header=BB0_18 Depth=1 ldur x8, [x29, #-120] ; 8-byte Folded Reload ldr x8, [x8, #16] ldursw x9, [x29, #-36] mov x10, #104 mul x9, x9, x10 add x8, x8, x9 ldur x0, [x29, #-24] ldur x1, [x29, #-16] ldr x2, [x8, #88] ldr x3, [x8, #96] bl _NET_CompareAdr subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_23 b LBB0_22 LBB0_22: mov w8, #1 stur w8, [x29, #-80] b LBB0_32 LBB0_23: ; in Loop: Header=BB0_18 Depth=1 b LBB0_24 LBB0_24: ; in Loop: Header=BB0_18 Depth=1 ldur w8, [x29, #-36] add w8, w8, #1 stur w8, [x29, #-36] b LBB0_18 LBB0_25: ldur w8, [x29, #-36] adrp x9, _MAX_OTHER_SERVERS@GOTPAGE ldr x9, [x9, _MAX_OTHER_SERVERS@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_27 b LBB0_26 LBB0_26: adrp x0, l_.str.8@PAGE add x0, x0, l_.str.8@PAGEOFF bl _Com_DPrintf mov w8, #1 stur w8, [x29, #-80] b LBB0_32 LBB0_27: ldur x8, [x29, #-120] ; 8-byte Folded Reload ldur w9, [x29, #-36] add w9, w9, #1 str w9, [x8, #8] ldr x9, [x8, #16] ldursw x11, [x29, #-36] mov x10, #104 stur x10, [x29, #-168] ; 8-byte Folded Spill mul x11, x11, x10 add x9, x9, x11 ldur q0, [x29, #-24] stur q0, [x9, #88] ldr x9, [x8, #16] ldursw x11, [x29, #-36] mul x11, x11, x10 add x9, x9, x11 str xzr, [x9, #80] ldr x9, [x8, #16] ldursw x11, [x29, #-36] mul x11, x11, x10 ldr x9, [x9, x11] strb wzr, [x9] ldr x9, [x8, #16] ldursw x11, [x29, #-36] mul x11, x11, x10 add x9, x9, x11 ldr x9, [x9, #8] strb wzr, [x9] ldr x9, [x8, #16] ldursw x11, [x29, #-36] mul x11, x11, x10 add x9, x9, x11 str xzr, [x9, #72] ldr x9, [x8, #16] ldursw x11, [x29, #-36] mul x11, x11, x10 add x9, x9, x11 str xzr, [x9, #64] ldr x9, [x8, #16] ldursw x11, [x29, #-36] mul x11, x11, x10 add x9, x9, x11 str xzr, [x9, #56] ldr x9, [x8, #16] ldursw x11, [x29, #-36] mul x11, x11, x10 add x11, x9, x11 mov w9, #-1 str w9, [x11, #16] ldr x9, [x8, #16] ldursw x11, [x29, #-36] mul x11, x11, x10 add x9, x9, x11 ldr x9, [x9, #24] strb wzr, [x9] ldr x9, [x8, #16] ldursw x11, [x29, #-36] mul x11, x11, x10 add x9, x9, x11 str xzr, [x9, #48] ldur w9, [x29, #-16] ldr x11, [x8, #16] ldursw x12, [x29, #-36] mul x12, x12, x10 add x11, x11, x12 str w9, [x11, #32] ldr x8, [x8, #16] ldursw x9, [x29, #-36] mul x9, x9, x10 add x8, x8, x9 str xzr, [x8, #40] ldur x0, [x29, #-32] bl _MSG_ReadString mov x1, x0 ldur x0, [x29, #-88] ; 8-byte Folded Reload adrp x8, _MAX_INFO_STRING@GOTPAGE ldr x8, [x8, _MAX_INFO_STRING@GOTPAGEOFF] ldr w2, [x8] bl _Q_strncpyz ldur x0, [x29, #-88] ; 8-byte Folded Reload bl _strlen subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB0_31 b LBB0_28 LBB0_28: ldur x0, [x29, #-88] ; 8-byte Folded Reload bl _strlen ldur x8, [x29, #-88] ; 8-byte Folded Reload subs w9, w0, #1 ldrsb w8, [x8, w9, sxtw] subs w8, w8, #10 cset w8, eq tbnz w8, #0, LBB0_30 b LBB0_29 LBB0_29: ldur x0, [x29, #-88] ; 8-byte Folded Reload ldur x8, [x29, #-104] ; 8-byte Folded Reload mov x2, x8 adrp x1, l_.str.9@PAGE add x1, x1, l_.str.9@PAGEOFF bl _strncat b LBB0_30 LBB0_30: ldur x0, [x29, #-24] ldur x1, [x29, #-16] bl _NET_AdrToString ldur x2, [x29, #-88] ; 8-byte Folded Reload mov x1, x0 adrp x0, l_.str.10@PAGE add x0, x0, l_.str.10@PAGEOFF bl _Com_Printf b LBB0_31 LBB0_31: stur wzr, [x29, #-80] b LBB0_32 LBB0_32: ldur x8, [x29, #-48] mov sp, x8 ; %bb.33: ldur x9, [x29, #-8] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_35 b LBB0_34 LBB0_34: bl ___stack_chk_fail LBB0_35: mov sp, x29 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret ; %bb.36: .cfi_endproc .p2align 2 lJTI0_0: .long LBB0_10-Ltmp0 .long LBB0_9-Ltmp0 .long LBB0_10-Ltmp0 .long LBB0_9-Ltmp0 ; -- End function .comm _MAX_INFO_STRING,4,2 ; @MAX_INFO_STRING .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "protocol" .comm _PROTOCOL_VERSION,4,2 ; @PROTOCOL_VERSION l_.str.1: ; @.str.1 .asciz "Different protocol info packet: %s\n" .comm _MAX_PINGREQUESTS,4,2 ; @MAX_PINGREQUESTS .comm _cl_pinglist,8,3 ; @cl_pinglist .comm _cls,32,3 ; @cls l_.str.2: ; @.str.2 .asciz "ping time %dms from %s\n" l_.str.3: ; @.str.3 .asciz "udp" l_.str.4: ; @.str.4 .asciz "ipx" l_.str.5: ; @.str.5 .asciz "???" l_.str.6: ; @.str.6 .asciz "nettype" l_.str.7: ; @.str.7 .asciz "%d" .comm _AS_LOCAL,8,3 ; @AS_LOCAL .comm _MAX_OTHER_SERVERS,4,2 ; @MAX_OTHER_SERVERS l_.str.8: ; @.str.8 .asciz "MAX_OTHER_SERVERS hit, dropping infoResponse\n" l_.str.9: ; @.str.9 .asciz "\n" l_.str.10: ; @.str.10 .asciz "%s: %s" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _CL_ServerInfoPacket ## -- Begin function CL_ServerInfoPacket .p2align 4, 0x90 _CL_ServerInfoPacket: ## @CL_ServerInfoPacket .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $128, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movq %rdi, -24(%rbp) movl %esi, -16(%rbp) movq %rdx, -32(%rbp) movq _MAX_INFO_STRING@GOTPCREL(%rip), %rax movl (%rax), %eax ## kill: def $rax killed $eax movq %rax, -96(%rbp) ## 8-byte Spill movq %rsp, %rcx movq %rcx, -48(%rbp) callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq -96(%rbp), %rax ## 8-byte Reload movq %rsp, %rcx movq %rcx, -88(%rbp) ## 8-byte Spill movq %rax, -56(%rbp) movq -32(%rbp), %rdi callq _MSG_ReadString movq %rax, -72(%rbp) movq -72(%rbp), %rdi leaq L_.str(%rip), %rsi callq _Info_ValueForKey movl %eax, %edi callq _atoi movl %eax, -76(%rbp) movl -76(%rbp), %eax movq _PROTOCOL_VERSION@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax je LBB0_2 ## %bb.1: movq -72(%rbp), %rsi leaq L_.str.1(%rip), %rdi movb $0, %al callq _Com_DPrintf movl $1, -80(%rbp) jmp LBB0_31 LBB0_2: movl $0, -36(%rbp) LBB0_3: ## =>This Inner Loop Header: Depth=1 movl -36(%rbp), %eax movq _MAX_PINGREQUESTS@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jge LBB0_14 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movq _cl_pinglist@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -36(%rbp), %rcx imulq $40, %rcx, %rcx addq %rcx, %rax cmpq $0, 24(%rax) je LBB0_12 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movq _cl_pinglist@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -36(%rbp), %rcx imulq $40, %rcx, %rcx addq %rcx, %rax cmpq $0, 8(%rax) jne LBB0_12 ## %bb.6: ## in Loop: Header=BB0_3 Depth=1 movq _cl_pinglist@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -36(%rbp), %rcx imulq $40, %rcx, %rcx addq %rcx, %rax movq -24(%rbp), %rdi movl -16(%rbp), %esi movq 24(%rax), %rdx movl 32(%rax), %ecx callq _NET_CompareAdr cmpq $0, %rax je LBB0_12 ## %bb.7: movq _cls@GOTPCREL(%rip), %rax movq 24(%rax), %rsi movq _cl_pinglist@GOTPCREL(%rip), %rax movq %rax, -112(%rbp) ## 8-byte Spill movq (%rax), %rcx movslq -36(%rbp), %rdx leaq (%rdx,%rdx,4), %rdx movq 16(%rcx,%rdx,8), %rdi subq %rdi, %rsi incq %rsi movq %rsi, 8(%rcx,%rdx,8) movq (%rax), %rax movslq -36(%rbp), %rcx leaq (%rcx,%rcx,4), %rcx movq 8(%rax,%rcx,8), %rax movq %rax, -120(%rbp) ## 8-byte Spill movq -24(%rbp), %rdi movl -16(%rbp), %esi callq _NET_AdrToString movq -120(%rbp), %rsi ## 8-byte Reload movl %eax, %edx leaq L_.str.2(%rip), %rdi xorl %eax, %eax ## kill: def $al killed $al killed $eax callq _Com_DPrintf ## kill: def $ecx killed $eax movq -112(%rbp), %rax ## 8-byte Reload movq (%rax), %rax movslq -36(%rbp), %rcx leaq (%rcx,%rcx,4), %rcx movq (%rax,%rcx,8), %rdi movq -72(%rbp), %rsi movl $8, %edx callq _Q_strncpyz movl -16(%rbp), %eax addl $-128, %eax movl %eax, %ecx movq %rcx, -104(%rbp) ## 8-byte Spill subl $3, %eax ja LBB0_10 ## %bb.36: movq -104(%rbp), %rax ## 8-byte Reload leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_8: leaq L_.str.3(%rip), %rax movq %rax, -64(%rbp) movl $1, -40(%rbp) jmp LBB0_11 LBB0_9: leaq L_.str.4(%rip), %rax movq %rax, -64(%rbp) movl $2, -40(%rbp) jmp LBB0_11 LBB0_10: leaq L_.str.5(%rip), %rax movq %rax, -64(%rbp) movl $0, -40(%rbp) LBB0_11: movq _cl_pinglist@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -36(%rbp), %rcx imulq $40, %rcx, %rcx addq %rcx, %rax movq (%rax), %rax movq %rax, -128(%rbp) ## 8-byte Spill movl -40(%rbp), %esi leaq L_.str.7(%rip), %rdi callq _va movq -128(%rbp), %rdi ## 8-byte Reload movl %eax, %edx leaq L_.str.6(%rip), %rsi callq _Info_SetValueForKey movq -72(%rbp), %rdx movq _cl_pinglist@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -36(%rbp), %rcx imulq $40, %rcx, %rcx addq %rcx, %rax movq 8(%rax), %rcx movq -24(%rbp), %rdi movl -16(%rbp), %esi callq _CL_SetServerInfoByAddress movl $1, -80(%rbp) jmp LBB0_31 LBB0_12: ## in Loop: Header=BB0_3 Depth=1 jmp LBB0_13 LBB0_13: ## in Loop: Header=BB0_3 Depth=1 movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) jmp LBB0_3 LBB0_14: movq _cls@GOTPCREL(%rip), %rax movq (%rax), %rax movq _AS_LOCAL@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_16 ## %bb.15: movl $1, -80(%rbp) jmp LBB0_31 LBB0_16: movl $0, -36(%rbp) LBB0_17: ## =>This Inner Loop Header: Depth=1 movl -36(%rbp), %eax movq _MAX_OTHER_SERVERS@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jge LBB0_24 ## %bb.18: ## in Loop: Header=BB0_17 Depth=1 movq _cls@GOTPCREL(%rip), %rax movq 16(%rax), %rax movslq -36(%rbp), %rcx imulq $104, %rcx, %rcx addq %rcx, %rax cmpq $0, 88(%rax) jne LBB0_20 ## %bb.19: jmp LBB0_24 LBB0_20: ## in Loop: Header=BB0_17 Depth=1 movq _cls@GOTPCREL(%rip), %rax movq 16(%rax), %rax movslq -36(%rbp), %rcx imulq $104, %rcx, %rcx addq %rcx, %rax movq -24(%rbp), %rdi movl -16(%rbp), %esi movq 88(%rax), %rdx movl 96(%rax), %ecx callq _NET_CompareAdr cmpq $0, %rax je LBB0_22 ## %bb.21: movl $1, -80(%rbp) jmp LBB0_31 LBB0_22: ## in Loop: Header=BB0_17 Depth=1 jmp LBB0_23 LBB0_23: ## in Loop: Header=BB0_17 Depth=1 movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) jmp LBB0_17 LBB0_24: movl -36(%rbp), %eax movq _MAX_OTHER_SERVERS@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_26 ## %bb.25: leaq L_.str.8(%rip), %rdi movb $0, %al callq _Com_DPrintf movl $1, -80(%rbp) jmp LBB0_31 LBB0_26: movl -36(%rbp), %ecx addl $1, %ecx movq _cls@GOTPCREL(%rip), %rax movl %ecx, 8(%rax) movq _cls@GOTPCREL(%rip), %rax movq 16(%rax), %rax movslq -36(%rbp), %rcx imulq $104, %rcx, %rcx addq %rcx, %rax movq -24(%rbp), %rcx movq %rcx, 88(%rax) movq -16(%rbp), %rcx movq %rcx, 96(%rax) movq _cls@GOTPCREL(%rip), %rax movq 16(%rax), %rax movslq -36(%rbp), %rcx imulq $104, %rcx, %rcx addq %rcx, %rax movq $0, 80(%rax) movq _cls@GOTPCREL(%rip), %rax movq 16(%rax), %rax movslq -36(%rbp), %rcx imulq $104, %rcx, %rcx addq %rcx, %rax movq (%rax), %rax movb $0, (%rax) movq _cls@GOTPCREL(%rip), %rax movq 16(%rax), %rax movslq -36(%rbp), %rcx imulq $104, %rcx, %rcx addq %rcx, %rax movq 8(%rax), %rax movb $0, (%rax) movq _cls@GOTPCREL(%rip), %rax movq 16(%rax), %rax movslq -36(%rbp), %rcx imulq $104, %rcx, %rcx addq %rcx, %rax movq $0, 72(%rax) movq _cls@GOTPCREL(%rip), %rax movq 16(%rax), %rax movslq -36(%rbp), %rcx imulq $104, %rcx, %rcx addq %rcx, %rax movq $0, 64(%rax) movq _cls@GOTPCREL(%rip), %rax movq 16(%rax), %rax movslq -36(%rbp), %rcx imulq $104, %rcx, %rcx addq %rcx, %rax movq $0, 56(%rax) movq _cls@GOTPCREL(%rip), %rax movq 16(%rax), %rax movslq -36(%rbp), %rcx imulq $104, %rcx, %rcx addq %rcx, %rax movl $-1, 16(%rax) movq _cls@GOTPCREL(%rip), %rax movq 16(%rax), %rax movslq -36(%rbp), %rcx imulq $104, %rcx, %rcx addq %rcx, %rax movq 24(%rax), %rax movb $0, (%rax) movq _cls@GOTPCREL(%rip), %rax movq 16(%rax), %rax movslq -36(%rbp), %rcx imulq $104, %rcx, %rcx addq %rcx, %rax movq $0, 48(%rax) movl -16(%rbp), %ecx movq _cls@GOTPCREL(%rip), %rax movq 16(%rax), %rax movslq -36(%rbp), %rdx imulq $104, %rdx, %rdx addq %rdx, %rax movl %ecx, 32(%rax) movq _cls@GOTPCREL(%rip), %rax movq 16(%rax), %rax movslq -36(%rbp), %rcx imulq $104, %rcx, %rcx addq %rcx, %rax movq $0, 40(%rax) movq -32(%rbp), %rdi callq _MSG_ReadString movq -88(%rbp), %rdi ## 8-byte Reload movq %rax, %rsi movq _MAX_INFO_STRING@GOTPCREL(%rip), %rax movl (%rax), %edx callq _Q_strncpyz movq -88(%rbp), %rdi ## 8-byte Reload callq _strlen cmpl $0, %eax je LBB0_30 ## %bb.27: movq -88(%rbp), %rdi ## 8-byte Reload callq _strlen movl %eax, %ecx movq -88(%rbp), %rax ## 8-byte Reload subl $1, %ecx movslq %ecx, %rcx movsbl (%rax,%rcx), %eax cmpl $10, %eax je LBB0_29 ## %bb.28: movq -88(%rbp), %rdi ## 8-byte Reload movq -96(%rbp), %rax ## 8-byte Reload movl %eax, %edx leaq L_.str.9(%rip), %rsi callq _strncat LBB0_29: movq -24(%rbp), %rdi movl -16(%rbp), %esi callq _NET_AdrToString movq -88(%rbp), %rdx ## 8-byte Reload movl %eax, %esi leaq L_.str.10(%rip), %rdi callq _Com_Printf LBB0_30: movl $0, -80(%rbp) LBB0_31: movq -48(%rbp), %rax movq %rax, %rsp ## %bb.32: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB0_35 ## %bb.33: movq %rbp, %rsp popq %rbp retq ## %bb.34: ud2 LBB0_35: callq ___stack_chk_fail ud2 .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_9, LBB0_9-LJTI0_0 .set L0_0_set_8, LBB0_8-LJTI0_0 LJTI0_0: .long L0_0_set_9 .long L0_0_set_8 .long L0_0_set_9 .long L0_0_set_8 .end_data_region ## -- End function .comm _MAX_INFO_STRING,4,2 ## @MAX_INFO_STRING .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "protocol" .comm _PROTOCOL_VERSION,4,2 ## @PROTOCOL_VERSION L_.str.1: ## @.str.1 .asciz "Different protocol info packet: %s\n" .comm _MAX_PINGREQUESTS,4,2 ## @MAX_PINGREQUESTS .comm _cl_pinglist,8,3 ## @cl_pinglist .comm _cls,32,3 ## @cls L_.str.2: ## @.str.2 .asciz "ping time %dms from %s\n" L_.str.3: ## @.str.3 .asciz "udp" L_.str.4: ## @.str.4 .asciz "ipx" L_.str.5: ## @.str.5 .asciz "???" L_.str.6: ## @.str.6 .asciz "nettype" L_.str.7: ## @.str.7 .asciz "%d" .comm _AS_LOCAL,8,3 ## @AS_LOCAL .comm _MAX_OTHER_SERVERS,4,2 ## @MAX_OTHER_SERVERS L_.str.8: ## @.str.8 .asciz "MAX_OTHER_SERVERS hit, dropping infoResponse\n" L_.str.9: ## @.str.9 .asciz "\n" L_.str.10: ## @.str.10 .asciz "%s: %s" .subsections_via_symbols
AnghaBench/Quake-III-Arena/code/client/extr_cl_main.c_CL_ServerInfoPacket.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _enic_dev_stats_dump ; -- Begin function enic_dev_stats_dump .p2align 2 _enic_dev_stats_dump: ; @enic_dev_stats_dump .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 stur x0, [x29, #-8] str x1, [sp, #16] ldur x0, [x29, #-8] bl _spin_lock ldur x8, [x29, #-8] ldr w0, [x8, #4] ldr x1, [sp, #16] bl _vnic_dev_stats_dump str w0, [sp, #12] ldur x0, [x29, #-8] bl _spin_unlock ldr w0, [sp, #12] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _enic_dev_stats_dump ## -- Begin function enic_dev_stats_dump .p2align 4, 0x90 _enic_dev_stats_dump: ## @enic_dev_stats_dump .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -8(%rbp), %rdi callq _spin_lock movq -8(%rbp), %rax movl 4(%rax), %edi movq -16(%rbp), %rsi callq _vnic_dev_stats_dump movl %eax, -20(%rbp) movq -8(%rbp), %rdi callq _spin_unlock movl -20(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/enic/extr_enic_dev.c_enic_dev_stats_dump.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ttusb2_frontend_tda10086_attach _ttusb2_frontend_tda10086_attach: ; @ttusb2_frontend_tda10086_attach .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] ldr x8, [sp] ldr x8, [x8] ldr w0, [x8, #4] mov w1, #0 mov w2, #3 bl _usb_set_interface subs x8, x0, #0 cset w8, ge tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _err b LBB0_2 LBB0_2: adrp x8, _tda10086_attach@GOTPAGE ldr x8, [x8, _tda10086_attach@GOTPAGEOFF] ldr w0, [x8] ldr x8, [sp] ldr x2, [x8] adrp x1, _tda10086_config@GOTPAGE ldr x1, [x1, _tda10086_config@GOTPAGEOFF] bl _dvb_attach ldr x8, [sp] ldr x9, [x8, #8] mov x8, x0 str x8, [x9] subs x8, x0, #0 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _deb_info adrp x8, _ENODEV@GOTPAGE ldr x8, [x8, _ENODEV@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 stur w8, [x29, #-4] b LBB0_5 LBB0_4: stur wzr, [x29, #-4] b LBB0_5 LBB0_5: ldur w0, [x29, #-4] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "set interface to alts=3 failed" .comm _tda10086_attach,4,2 ; @tda10086_attach .comm _tda10086_config,4,2 ; @tda10086_config l_.str.1: ; @.str.1 .asciz "TDA10086 attach failed\n" .comm _ENODEV,4,2 ; @ENODEV .no_dead_strip _ttusb2_frontend_tda10086_attach .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ttusb2_frontend_tda10086_attach _ttusb2_frontend_tda10086_attach: ## @ttusb2_frontend_tda10086_attach .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 movq %rdi, -16(%rbp) movq -16(%rbp), %rax movq (%rax), %rax movl 4(%rax), %edi xorl %esi, %esi movl $3, %edx callq _usb_set_interface cmpq $0, %rax jge LBB0_2 ## %bb.1: leaq L_.str(%rip), %rdi callq _err LBB0_2: movq _tda10086_attach@GOTPCREL(%rip), %rax movl (%rax), %edi movq -16(%rbp), %rax movq (%rax), %rdx movq _tda10086_config@GOTPCREL(%rip), %rsi callq _dvb_attach movq -16(%rbp), %rcx movq 8(%rcx), %rcx movq %rax, (%rcx) cmpq $0, %rax jne LBB0_4 ## %bb.3: leaq L_.str.1(%rip), %rdi callq _deb_info xorl %eax, %eax movq _ENODEV@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) jmp LBB0_5 LBB0_4: movl $0, -4(%rbp) LBB0_5: movl -4(%rbp), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "set interface to alts=3 failed" .comm _tda10086_attach,4,2 ## @tda10086_attach .comm _tda10086_config,4,2 ## @tda10086_config L_.str.1: ## @.str.1 .asciz "TDA10086 attach failed\n" .comm _ENODEV,4,2 ## @ENODEV .no_dead_strip _ttusb2_frontend_tda10086_attach .subsections_via_symbols
AnghaBench/linux/drivers/media/usb/dvb-usb/extr_ttusb2.c_ttusb2_frontend_tda10086_attach.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function wt_longstatus_print_submodule_summary _wt_longstatus_print_submodule_summary: ; @wt_longstatus_print_submodule_summary .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 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 stur x0, [x29, #-8] stur w1, [x29, #-12] adrp x8, _CHILD_PROCESS_INIT@GOTPAGE ldr x8, [x8, _CHILD_PROCESS_INIT@GOTPAGEOFF] ldr q0, [x8] sub x8, x29, #32 str x8, [sp, #24] ; 8-byte Folded Spill stur q0, [x29, #-32] adrp x9, _STRBUF_INIT@GOTPAGE ldr x9, [x9, _STRBUF_INIT@GOTPAGEOFF] ldr q0, [x9] stur q0, [x29, #-48] ldr q0, [x9] str q0, [sp, #48] ldur x9, [x29, #-8] ldr w2, [x9, #28] add x0, x8, #12 adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _argv_array_pushf ldr x8, [sp, #24] ; 8-byte Folded Reload add x0, x8, #8 adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _argv_array_push ldr x8, [sp, #24] ; 8-byte Folded Reload add x0, x8, #8 adrp x1, l_.str.2@PAGE add x1, x1, l_.str.2@PAGEOFF bl _argv_array_push ldr x8, [sp, #24] ; 8-byte Folded Reload ldur w9, [x29, #-12] subs w9, w9, #0 cset w9, ne and w11, w9, #0x1 adrp x10, l_.str.4@PAGE add x10, x10, l_.str.4@PAGEOFF adrp x9, l_.str.3@PAGE add x9, x9, l_.str.3@PAGEOFF ands w11, w11, #0x1 csel x1, x9, x10, ne add x0, x8, #8 bl _argv_array_push ldr x8, [sp, #24] ; 8-byte Folded Reload add x0, x8, #8 adrp x1, l_.str.5@PAGE add x1, x1, l_.str.5@PAGEOFF bl _argv_array_push ldr x8, [sp, #24] ; 8-byte Folded Reload add x0, x8, #8 adrp x1, l_.str.6@PAGE add x1, x1, l_.str.6@PAGEOFF bl _argv_array_push ldr x8, [sp, #24] ; 8-byte Folded Reload ldur x9, [x29, #-8] ldr w2, [x9, #24] add x0, x8, #8 adrp x1, l_.str.7@PAGE add x1, x1, l_.str.7@PAGEOFF bl _argv_array_pushf ldur w8, [x29, #-12] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: sub x8, x29, #32 add x0, x8, #8 ldur x8, [x29, #-8] ldr x8, [x8, #16] subs x8, x8, #0 cset w8, ne and w10, w8, #0x1 adrp x9, l_.str.9@PAGE add x9, x9, l_.str.9@PAGEOFF adrp x8, l_.str.8@PAGE add x8, x8, l_.str.8@PAGEOFF ands w10, w10, #0x1 csel x1, x8, x9, ne bl _argv_array_push b LBB0_2 LBB0_2: sub x0, x29, #32 mov w8, #1 stur w8, [x29, #-32] stur w8, [x29, #-28] sub x1, x29, #48 mov w2, #1024 bl _capture_command ldur x8, [x29, #-40] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_7 b LBB0_3 LBB0_3: ldur w8, [x29, #-12] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: adrp x0, l_.str.10@PAGE add x0, x0, l_.str.10@PAGEOFF bl __ mov x1, x0 add x0, sp, #48 bl _strbuf_addstr b LBB0_6 LBB0_5: adrp x0, l_.str.11@PAGE add x0, x0, l_.str.11@PAGEOFF bl __ mov x1, x0 add x0, sp, #48 bl _strbuf_addstr b LBB0_6 LBB0_6: add x0, sp, #48 adrp x1, l_.str.12@PAGE add x1, x1, l_.str.12@PAGEOFF bl _strbuf_addstr b LBB0_7 LBB0_7: add x0, sp, #48 sub x1, x29, #48 str x1, [sp, #16] ; 8-byte Folded Spill bl _strbuf_addbuf ldr x0, [sp, #16] ; 8-byte Folded Reload bl _strbuf_release ldur x8, [x29, #-8] ldr x8, [x8, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: add x0, sp, #48 str x0, [sp, #8] ; 8-byte Folded Spill add x1, sp, #32 bl _strbuf_detach mov x8, x0 ldr x0, [sp, #8] ; 8-byte Folded Reload str x8, [sp, #40] ldr x1, [sp, #40] ldr x2, [sp, #32] bl _strbuf_add_commented_lines ldr x0, [sp, #40] bl _free b LBB0_9 LBB0_9: add x8, sp, #48 str x8, [sp] ; 8-byte Folded Spill ldr w0, [sp, #48] ldur x8, [x29, #-8] ldr w1, [x8] bl _fputs ldr x0, [sp] ; 8-byte Folded Reload bl _strbuf_release ldp x29, x30, [sp, #112] ; 16-byte Folded Reload add sp, sp, #128 ret .cfi_endproc ; -- End function .comm _CHILD_PROCESS_INIT,16,2 ; @CHILD_PROCESS_INIT .comm _STRBUF_INIT,16,3 ; @STRBUF_INIT .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "GIT_INDEX_FILE=%s" l_.str.1: ; @.str.1 .asciz "submodule" l_.str.2: ; @.str.2 .asciz "summary" l_.str.3: ; @.str.3 .asciz "--files" l_.str.4: ; @.str.4 .asciz "--cached" l_.str.5: ; @.str.5 .asciz "--for-status" l_.str.6: ; @.str.6 .asciz "--summary-limit" l_.str.7: ; @.str.7 .asciz "%d" l_.str.8: ; @.str.8 .asciz "HEAD^" l_.str.9: ; @.str.9 .asciz "HEAD" l_.str.10: ; @.str.10 .asciz "Submodules changed but not updated:" l_.str.11: ; @.str.11 .asciz "Submodule changes to be committed:" l_.str.12: ; @.str.12 .asciz "\n\n" .no_dead_strip _wt_longstatus_print_submodule_summary .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function wt_longstatus_print_submodule_summary _wt_longstatus_print_submodule_summary: ## @wt_longstatus_print_submodule_summary .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $80, %rsp movq %rdi, -8(%rbp) movl %esi, -12(%rbp) movq _CHILD_PROCESS_INIT@GOTPCREL(%rip), %rax movq (%rax), %rcx movq %rcx, -32(%rbp) movq 8(%rax), %rax movq %rax, -24(%rbp) movq _STRBUF_INIT@GOTPCREL(%rip), %rax movq (%rax), %rcx movq %rcx, -48(%rbp) movq 8(%rax), %rax movq %rax, -40(%rbp) movq _STRBUF_INIT@GOTPCREL(%rip), %rax movq (%rax), %rcx movq %rcx, -64(%rbp) movq 8(%rax), %rax movq %rax, -56(%rbp) leaq -32(%rbp), %rdi addq $12, %rdi movq -8(%rbp), %rax movl 28(%rax), %edx leaq L_.str(%rip), %rsi callq _argv_array_pushf leaq -32(%rbp), %rdi addq $8, %rdi leaq L_.str.1(%rip), %rsi callq _argv_array_push leaq -32(%rbp), %rdi addq $8, %rdi leaq L_.str.2(%rip), %rsi callq _argv_array_push leaq -32(%rbp), %rdi addq $8, %rdi movl -12(%rbp), %ecx leaq L_.str.4(%rip), %rsi leaq L_.str.3(%rip), %rax cmpl $0, %ecx cmovneq %rax, %rsi callq _argv_array_push leaq -32(%rbp), %rdi addq $8, %rdi leaq L_.str.5(%rip), %rsi callq _argv_array_push leaq -32(%rbp), %rdi addq $8, %rdi leaq L_.str.6(%rip), %rsi callq _argv_array_push leaq -32(%rbp), %rdi addq $8, %rdi movq -8(%rbp), %rax movl 24(%rax), %edx leaq L_.str.7(%rip), %rsi callq _argv_array_pushf cmpl $0, -12(%rbp) jne LBB0_2 ## %bb.1: leaq -32(%rbp), %rdi addq $8, %rdi movq -8(%rbp), %rax movq 16(%rax), %rcx leaq L_.str.9(%rip), %rsi leaq L_.str.8(%rip), %rax cmpq $0, %rcx cmovneq %rax, %rsi callq _argv_array_push LBB0_2: movl $1, -32(%rbp) movl $1, -28(%rbp) leaq -32(%rbp), %rdi leaq -48(%rbp), %rsi movl $1024, %edx ## imm = 0x400 callq _capture_command cmpq $0, -40(%rbp) je LBB0_7 ## %bb.3: cmpl $0, -12(%rbp) je LBB0_5 ## %bb.4: leaq L_.str.10(%rip), %rdi callq __ movq %rax, %rsi leaq -64(%rbp), %rdi callq _strbuf_addstr jmp LBB0_6 LBB0_5: leaq L_.str.11(%rip), %rdi callq __ movq %rax, %rsi leaq -64(%rbp), %rdi callq _strbuf_addstr LBB0_6: leaq -64(%rbp), %rdi leaq L_.str.12(%rip), %rsi callq _strbuf_addstr LBB0_7: leaq -64(%rbp), %rdi leaq -48(%rbp), %rsi callq _strbuf_addbuf leaq -48(%rbp), %rdi callq _strbuf_release movq -8(%rbp), %rax cmpq $0, 8(%rax) je LBB0_9 ## %bb.8: leaq -64(%rbp), %rdi leaq -80(%rbp), %rsi callq _strbuf_detach movq %rax, -72(%rbp) movq -72(%rbp), %rsi movq -80(%rbp), %rdx leaq -64(%rbp), %rdi callq _strbuf_add_commented_lines movq -72(%rbp), %rdi callq _free LBB0_9: movl -64(%rbp), %edi movq -8(%rbp), %rax movl (%rax), %esi callq _fputs leaq -64(%rbp), %rdi callq _strbuf_release addq $80, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _CHILD_PROCESS_INIT,16,2 ## @CHILD_PROCESS_INIT .comm _STRBUF_INIT,16,3 ## @STRBUF_INIT .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "GIT_INDEX_FILE=%s" L_.str.1: ## @.str.1 .asciz "submodule" L_.str.2: ## @.str.2 .asciz "summary" L_.str.3: ## @.str.3 .asciz "--files" L_.str.4: ## @.str.4 .asciz "--cached" L_.str.5: ## @.str.5 .asciz "--for-status" L_.str.6: ## @.str.6 .asciz "--summary-limit" L_.str.7: ## @.str.7 .asciz "%d" L_.str.8: ## @.str.8 .asciz "HEAD^" L_.str.9: ## @.str.9 .asciz "HEAD" L_.str.10: ## @.str.10 .asciz "Submodules changed but not updated:" L_.str.11: ## @.str.11 .asciz "Submodule changes to be committed:" L_.str.12: ## @.str.12 .asciz "\n\n" .no_dead_strip _wt_longstatus_print_submodule_summary .subsections_via_symbols
AnghaBench/git/extr_wt-status.c_wt_longstatus_print_submodule_summary.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ui_browser__argv_refresh ; -- Begin function ui_browser__argv_refresh .p2align 2 _ui_browser__argv_refresh: ; @ui_browser__argv_refresh .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 stur x0, [x29, #-8] stur wzr, [x29, #-12] ldur x8, [x29, #-8] ldr w8, [x8] str w8, [sp, #16] ldur x8, [x29, #-8] ldr x8, [x8, #32] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldur x8, [x29, #-8] ldr x8, [x8, #40] ldur x9, [x29, #-8] str x8, [x9, #32] b LBB0_2 LBB0_2: ldur x8, [x29, #-8] ldr x8, [x8, #32] str x8, [sp, #8] b LBB0_3 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #16] ldur x9, [x29, #-8] ldr w9, [x9, #4] subs w8, w8, w9 cset w8, hs tbnz w8, #0, LBB0_10 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_3 Depth=1 ldur x8, [x29, #-8] ldr x8, [x8, #24] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_3 Depth=1 ldur x8, [x29, #-8] ldr x8, [x8, #24] ldur x0, [x29, #-8] ldr x9, [sp, #8] ldr x1, [x9] blr x8 subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_9 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_3 Depth=1 ldur x0, [x29, #-8] ldur w1, [x29, #-12] mov w2, #0 bl _ui_browser__gotorc ldur x8, [x29, #-8] ldr x8, [x8, #16] ldur x0, [x29, #-8] ldr x1, [sp, #8] ldur w2, [x29, #-12] blr x8 ldur w8, [x29, #-12] add w8, w8, #1 stur w8, [x29, #-12] ldur x9, [x29, #-8] ldr w9, [x9, #8] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: b LBB0_10 LBB0_8: ; in Loop: Header=BB0_3 Depth=1 b LBB0_9 LBB0_9: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [sp, #16] add w8, w8, #1 str w8, [sp, #16] ldr x8, [sp, #8] add x8, x8, #8 str x8, [sp, #8] b LBB0_3 LBB0_10: ldur w0, [x29, #-12] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ui_browser__argv_refresh ## -- Begin function ui_browser__argv_refresh .p2align 4, 0x90 _ui_browser__argv_refresh: ## @ui_browser__argv_refresh .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movl $0, -12(%rbp) movq -8(%rbp), %rax movl (%rax), %eax movl %eax, -16(%rbp) movq -8(%rbp), %rax cmpq $0, 32(%rax) jne LBB0_2 ## %bb.1: movq -8(%rbp), %rax movq 40(%rax), %rcx movq -8(%rbp), %rax movq %rcx, 32(%rax) LBB0_2: movq -8(%rbp), %rax movq 32(%rax), %rax movq %rax, -24(%rbp) LBB0_3: ## =>This Inner Loop Header: Depth=1 movl -16(%rbp), %eax movq -8(%rbp), %rcx cmpl 4(%rcx), %eax jae LBB0_10 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movq -8(%rbp), %rax cmpq $0, 24(%rax) je LBB0_6 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movq -8(%rbp), %rax movq 24(%rax), %rax movq -8(%rbp), %rdi movq -24(%rbp), %rcx movq (%rcx), %rsi callq *%rax cmpl $0, %eax jne LBB0_9 LBB0_6: ## in Loop: Header=BB0_3 Depth=1 movq -8(%rbp), %rdi movl -12(%rbp), %esi xorl %edx, %edx callq _ui_browser__gotorc movq -8(%rbp), %rax movq 16(%rax), %rax movq -8(%rbp), %rdi movq -24(%rbp), %rsi movl -12(%rbp), %edx callq *%rax movl -12(%rbp), %eax addl $1, %eax movl %eax, -12(%rbp) movq -8(%rbp), %rcx cmpl 8(%rcx), %eax jne LBB0_8 ## %bb.7: jmp LBB0_10 LBB0_8: ## in Loop: Header=BB0_3 Depth=1 jmp LBB0_9 LBB0_9: ## in Loop: Header=BB0_3 Depth=1 movl -16(%rbp), %eax addl $1, %eax movl %eax, -16(%rbp) movq -24(%rbp), %rax addq $8, %rax movq %rax, -24(%rbp) jmp LBB0_3 LBB0_10: movl -12(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/fastsocket/kernel/tools/perf/ui/extr_browser.c_ui_browser__argv_refresh.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ; -- Begin function test_GdipIsVisibleRect lCPI0_0: .quad 0x4034666666666666 ; double 20.399999999999999 lCPI0_1: .quad 0x4024cccccccccccd ; double 10.4 lCPI0_2: .quad 0x3fd999999999999a ; double 0.40000000000000002 lCPI0_3: .quad 0x404e000000000000 ; double 60 lCPI0_4: .quad 0x4056800000000000 ; double 90 lCPI0_5: .quad 0x4051800000000000 ; double 70 lCPI0_6: .quad 0x4044000000000000 ; double 40 lCPI0_7: .quad 0x4050400000000000 ; double 65 lCPI0_8: .quad 0x4046800000000000 ; double 45 lCPI0_9: .quad 0x404b800000000000 ; double 55 lCPI0_10: .quad 0x4041800000000000 ; double 35 .section __TEXT,__text,regular,pure_instructions .p2align 2 _test_GdipIsVisibleRect: ; @test_GdipIsVisibleRect .cfi_startproc ; %bb.0: sub sp, sp, #336 .cfi_def_cfa_offset 336 stp x28, x27, [sp, #304] ; 16-byte Folded Spill stp x29, x30, [sp, #320] ; 16-byte Folded Spill add x29, sp, #320 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w27, -24 .cfi_offset w28, -32 adrp x8, _Ok@GOTPAGE ldr x8, [x8, _Ok@GOTPAGEOFF] stur x8, [x29, #-112] ; 8-byte Folded Spill adrp x8, _InvalidParameter@GOTPAGE ldr x8, [x8, _InvalidParameter@GOTPAGEOFF] str x8, [sp, #64] ; 8-byte Folded Spill adrp x8, _TRUE@GOTPAGE ldr x8, [x8, _TRUE@GOTPAGEOFF] stur x8, [x29, #-104] ; 8-byte Folded Spill adrp x8, _FALSE@GOTPAGE ldr x8, [x8, _FALSE@GOTPAGEOFF] str x8, [sp, #112] ; 8-byte Folded Spill sub x8, x29, #32 str x8, [sp, #40] ; 8-byte Folded Spill mov x8, #0 str x8, [sp, #56] ; 8-byte Folded Spill stur xzr, [x29, #-32] adrp x8, _hwnd@GOTPAGE ldr x8, [x8, _hwnd@GOTPAGEOFF] stur x8, [x29, #-88] ; 8-byte Folded Spill ldr w0, [x8] bl _GetDC stur x0, [x29, #-40] ldur x8, [x29, #-40] subs x8, x8, #0 cset w8, ne and w0, w8, #0x1 adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _ok ldr x1, [sp, #40] ; 8-byte Folded Reload ldur x0, [x29, #-40] bl _GdipCreateFromHDC ldur x8, [x29, #-112] ; 8-byte Folded Reload stur w0, [x29, #-20] ldr w0, [x8] ldur w1, [x29, #-20] bl _expect ldur x8, [x29, #-32] subs x8, x8, #0 cset w8, ne and w0, w8, #0x1 adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _ok ldr x0, [sp, #56] ; 8-byte Folded Reload movi d3, #0000000000000000 str d3, [sp, #160] ; 8-byte Folded Spill fmov d0, d3 fmov d1, d3 fmov d2, d3 sub x1, x29, #80 stur x1, [x29, #-120] ; 8-byte Folded Spill bl _GdipIsVisibleRect ldr x8, [sp, #64] ; 8-byte Folded Reload stur w0, [x29, #-20] ldr w0, [x8] ldur w1, [x29, #-20] bl _expect ldr x1, [sp, #56] ; 8-byte Folded Reload ldr d3, [sp, #160] ; 8-byte Folded Reload ldur x0, [x29, #-32] fmov d0, d3 fmov d1, d3 fmov d2, d3 bl _GdipIsVisibleRect ldr x8, [sp, #64] ; 8-byte Folded Reload stur w0, [x29, #-20] ldr w0, [x8] ldur w1, [x29, #-20] bl _expect ldur x5, [x29, #-120] ; 8-byte Folded Reload ldr x0, [sp, #56] ; 8-byte Folded Reload mov w4, #0 str w4, [sp, #52] ; 4-byte Folded Spill mov x1, x4 mov x2, x4 mov x3, x4 bl _GdipIsVisibleRectI ldr x8, [sp, #64] ; 8-byte Folded Reload stur w0, [x29, #-20] ldr w0, [x8] ldur w1, [x29, #-20] bl _expect ldr w4, [sp, #52] ; 4-byte Folded Reload ldr x5, [sp, #56] ; 8-byte Folded Reload ldur x0, [x29, #-32] mov x1, x4 mov x2, x4 mov x3, x4 bl _GdipIsVisibleRectI ldr x8, [sp, #64] ; 8-byte Folded Reload stur w0, [x29, #-20] ldr w0, [x8] ldur w1, [x29, #-20] bl _expect ldr d1, [sp, #160] ; 8-byte Folded Reload ldur x1, [x29, #-120] ; 8-byte Folded Reload stur d1, [x29, #-48] fmov d0, #10.00000000 stur d0, [x29, #-128] ; 8-byte Folded Spill stur d0, [x29, #-64] stur d1, [x29, #-56] stur d0, [x29, #-72] ldur x0, [x29, #-32] ldur d0, [x29, #-48] ldur d1, [x29, #-56] ldur d2, [x29, #-64] ldur d3, [x29, #-72] bl _GdipIsVisibleRect ldur x8, [x29, #-112] ; 8-byte Folded Reload stur w0, [x29, #-20] ldr w0, [x8] ldur w1, [x29, #-20] bl _expect ldur x9, [x29, #-104] ; 8-byte Folded Reload ldur x8, [x29, #-80] ldr x9, [x9] subs x8, x8, x9 cset w8, eq and w0, w8, #0x1 ldur d3, [x29, #-48] ldur d2, [x29, #-56] ldur d1, [x29, #-64] ldur d0, [x29, #-72] mov x8, sp str d3, [x8] str d2, [x8, #8] str d1, [x8, #16] str d0, [x8, #24] adrp x1, l_.str.2@PAGE add x1, x1, l_.str.2@PAGEOFF stur x1, [x29, #-96] ; 8-byte Folded Spill bl _ok ldur x1, [x29, #-120] ; 8-byte Folded Reload fmov d1, #-10.00000000 str d1, [sp, #72] ; 8-byte Folded Spill stur d1, [x29, #-48] fmov d0, #20.00000000 str d0, [sp, #128] ; 8-byte Folded Spill stur d0, [x29, #-64] stur d1, [x29, #-56] stur d0, [x29, #-72] ldur x0, [x29, #-32] ldur d0, [x29, #-48] ldur d1, [x29, #-56] ldur d2, [x29, #-64] ldur d3, [x29, #-72] bl _GdipIsVisibleRect ldur x8, [x29, #-112] ; 8-byte Folded Reload stur w0, [x29, #-20] ldr w0, [x8] ldur w1, [x29, #-20] bl _expect ldur x9, [x29, #-104] ; 8-byte Folded Reload ldur x1, [x29, #-96] ; 8-byte Folded Reload ldur x8, [x29, #-80] ldr x9, [x9] subs x8, x8, x9 cset w8, eq and w0, w8, #0x1 ldur d3, [x29, #-48] ldur d2, [x29, #-56] ldur d1, [x29, #-64] ldur d0, [x29, #-72] mov x8, sp str d3, [x8] str d2, [x8, #8] str d1, [x8, #16] str d0, [x8, #24] bl _ok ldr d1, [sp, #72] ; 8-byte Folded Reload ldur x1, [x29, #-120] ; 8-byte Folded Reload stur d1, [x29, #-48] fmov d0, #5.00000000 str d0, [sp, #88] ; 8-byte Folded Spill stur d0, [x29, #-64] stur d1, [x29, #-56] stur d0, [x29, #-72] ldur x0, [x29, #-32] ldur d0, [x29, #-48] ldur d1, [x29, #-56] ldur d2, [x29, #-64] ldur d3, [x29, #-72] bl _GdipIsVisibleRect ldur x8, [x29, #-112] ; 8-byte Folded Reload stur w0, [x29, #-20] ldr w0, [x8] ldur w1, [x29, #-20] bl _expect ldr x9, [sp, #112] ; 8-byte Folded Reload ldur x8, [x29, #-80] ldr x9, [x9] subs x8, x8, x9 cset w8, eq and w0, w8, #0x1 ldur d3, [x29, #-48] ldur d2, [x29, #-56] ldur d1, [x29, #-64] ldur d0, [x29, #-72] mov x8, sp str d3, [x8] str d2, [x8, #8] str d1, [x8, #16] str d0, [x8, #24] adrp x1, l_.str.3@PAGE add x1, x1, l_.str.3@PAGEOFF str x1, [sp, #120] ; 8-byte Folded Spill bl _ok ldur x0, [x29, #-32] adrp x8, _CombineModeReplace@GOTPAGE ldr x8, [x8, _CombineModeReplace@GOTPAGEOFF] ldr w5, [x8] mov w1, #10 mov w2, #20 mov w3, #30 mov w4, #40 str w4, [sp, #84] ; 4-byte Folded Spill bl _GdipSetClipRect ldur x8, [x29, #-112] ; 8-byte Folded Reload stur w0, [x29, #-20] ldr w0, [x8] ldur w1, [x29, #-20] bl _expect ldur d0, [x29, #-128] ; 8-byte Folded Reload ldur x1, [x29, #-120] ; 8-byte Folded Reload fmov d1, #12.00000000 stur d1, [x29, #-144] ; 8-byte Folded Spill stur d1, [x29, #-48] stur d0, [x29, #-64] fmov d1, #22.00000000 stur d1, [x29, #-136] ; 8-byte Folded Spill stur d1, [x29, #-56] stur d0, [x29, #-72] ldur x0, [x29, #-32] ldur d0, [x29, #-48] ldur d1, [x29, #-56] ldur d2, [x29, #-64] ldur d3, [x29, #-72] bl _GdipIsVisibleRect ldur x8, [x29, #-112] ; 8-byte Folded Reload stur w0, [x29, #-20] ldr w0, [x8] ldur w1, [x29, #-20] bl _expect ldur x9, [x29, #-104] ; 8-byte Folded Reload ldur x1, [x29, #-96] ; 8-byte Folded Reload ldur x8, [x29, #-80] ldr x9, [x9] subs x8, x8, x9 cset w8, eq and w0, w8, #0x1 ldur d3, [x29, #-48] ldur d2, [x29, #-56] ldur d1, [x29, #-64] ldur d0, [x29, #-72] mov x8, sp str d3, [x8] str d2, [x8, #8] str d1, [x8, #16] str d0, [x8, #24] bl _ok ldur d0, [x29, #-128] ; 8-byte Folded Reload ldur x1, [x29, #-120] ; 8-byte Folded Reload adrp x8, lCPI0_10@PAGE ldr d1, [x8, lCPI0_10@PAGEOFF] stur d1, [x29, #-48] stur d0, [x29, #-64] adrp x8, lCPI0_9@PAGE ldr d1, [x8, lCPI0_9@PAGEOFF] stur d1, [x29, #-56] stur d0, [x29, #-72] ldur x0, [x29, #-32] ldur d0, [x29, #-48] ldur d1, [x29, #-56] ldur d2, [x29, #-64] ldur d3, [x29, #-72] bl _GdipIsVisibleRect ldur x8, [x29, #-112] ; 8-byte Folded Reload stur w0, [x29, #-20] ldr w0, [x8] ldur w1, [x29, #-20] bl _expect ldur x9, [x29, #-104] ; 8-byte Folded Reload ldur x1, [x29, #-96] ; 8-byte Folded Reload ldur x8, [x29, #-80] ldr x9, [x9] subs x8, x8, x9 cset w8, eq and w0, w8, #0x1 ldur d3, [x29, #-48] ldur d2, [x29, #-56] ldur d1, [x29, #-64] ldur d0, [x29, #-72] mov x8, sp str d3, [x8] str d2, [x8, #8] str d1, [x8, #16] str d0, [x8, #24] bl _ok ldr d0, [sp, #88] ; 8-byte Folded Reload ldur x1, [x29, #-120] ; 8-byte Folded Reload adrp x8, lCPI0_8@PAGE ldr d1, [x8, lCPI0_8@PAGEOFF] stur d1, [x29, #-48] stur d0, [x29, #-64] adrp x8, lCPI0_7@PAGE ldr d1, [x8, lCPI0_7@PAGEOFF] stur d1, [x29, #-56] stur d0, [x29, #-72] ldur x0, [x29, #-32] ldur d0, [x29, #-48] ldur d1, [x29, #-56] ldur d2, [x29, #-64] ldur d3, [x29, #-72] bl _GdipIsVisibleRect ldur x8, [x29, #-112] ; 8-byte Folded Reload stur w0, [x29, #-20] ldr w0, [x8] ldur w1, [x29, #-20] bl _expect ldr x9, [sp, #112] ; 8-byte Folded Reload ldr x1, [sp, #120] ; 8-byte Folded Reload ldur x8, [x29, #-80] ldr x9, [x9] subs x8, x8, x9 cset w8, eq and w0, w8, #0x1 ldur d3, [x29, #-48] ldur d2, [x29, #-56] ldur d1, [x29, #-64] ldur d0, [x29, #-72] mov x8, sp str d3, [x8] str d2, [x8, #8] str d1, [x8, #16] str d0, [x8, #24] bl _ok ldr w2, [sp, #84] ; 4-byte Folded Reload ldur x0, [x29, #-32] adrp x8, _MatrixOrderAppend@GOTPAGE ldr x8, [x8, _MatrixOrderAppend@GOTPAGEOFF] str x8, [sp, #96] ; 8-byte Folded Spill ldr w3, [x8] mov w1, #25 bl _GdipTranslateWorldTransform ldr d1, [sp, #160] ; 8-byte Folded Reload ldur d0, [x29, #-128] ; 8-byte Folded Reload ldur x1, [x29, #-120] ; 8-byte Folded Reload stur d1, [x29, #-48] stur d0, [x29, #-64] stur d1, [x29, #-56] stur d0, [x29, #-72] ldur x0, [x29, #-32] ldur d0, [x29, #-48] ldur d1, [x29, #-56] ldur d2, [x29, #-64] ldur d3, [x29, #-72] bl _GdipIsVisibleRect ldur x8, [x29, #-112] ; 8-byte Folded Reload stur w0, [x29, #-20] ldr w0, [x8] ldur w1, [x29, #-20] bl _expect ldur x9, [x29, #-104] ; 8-byte Folded Reload ldur x1, [x29, #-96] ; 8-byte Folded Reload ldur x8, [x29, #-80] ldr x9, [x9] subs x8, x8, x9 cset w8, eq and w0, w8, #0x1 ldur d3, [x29, #-48] ldur d2, [x29, #-56] ldur d1, [x29, #-64] ldur d0, [x29, #-72] mov x8, sp str d3, [x8] str d2, [x8, #8] str d1, [x8, #16] str d0, [x8, #24] bl _ok ldr d0, [sp, #88] ; 8-byte Folded Reload ldur x1, [x29, #-120] ; 8-byte Folded Reload fmov d1, #25.00000000 stur d1, [x29, #-48] stur d0, [x29, #-64] adrp x8, lCPI0_6@PAGE ldr d1, [x8, lCPI0_6@PAGEOFF] str d1, [sp, #136] ; 8-byte Folded Spill stur d1, [x29, #-56] stur d0, [x29, #-72] ldur x0, [x29, #-32] ldur d0, [x29, #-48] ldur d1, [x29, #-56] ldur d2, [x29, #-64] ldur d3, [x29, #-72] bl _GdipIsVisibleRect ldur x8, [x29, #-112] ; 8-byte Folded Reload stur w0, [x29, #-20] ldr w0, [x8] ldur w1, [x29, #-20] bl _expect ldr x9, [sp, #112] ; 8-byte Folded Reload ldr x1, [sp, #120] ; 8-byte Folded Reload ldur x8, [x29, #-80] ldr x9, [x9] subs x8, x8, x9 cset w8, eq and w0, w8, #0x1 ldur d3, [x29, #-48] ldur d2, [x29, #-56] ldur d1, [x29, #-64] ldur d0, [x29, #-72] mov x8, sp str d3, [x8] str d2, [x8, #8] str d1, [x8, #16] str d0, [x8, #24] bl _ok ldr x8, [sp, #96] ; 8-byte Folded Reload ldur x0, [x29, #-32] ldr w3, [x8] mov w1, #-25 mov w2, #-40 bl _GdipTranslateWorldTransform ldr d0, [sp, #160] ; 8-byte Folded Reload ldur x1, [x29, #-120] ; 8-byte Folded Reload stur d0, [x29, #-48] adrp x8, lCPI0_5@PAGE ldr d1, [x8, lCPI0_5@PAGEOFF] str d1, [sp, #104] ; 8-byte Folded Spill stur d1, [x29, #-64] stur d0, [x29, #-56] adrp x8, lCPI0_4@PAGE ldr d0, [x8, lCPI0_4@PAGEOFF] stur d0, [x29, #-152] ; 8-byte Folded Spill stur d0, [x29, #-72] ldur x0, [x29, #-32] ldur d0, [x29, #-48] ldur d1, [x29, #-56] ldur d2, [x29, #-64] ldur d3, [x29, #-72] bl _GdipIsVisibleRect ldur x8, [x29, #-112] ; 8-byte Folded Reload stur w0, [x29, #-20] ldr w0, [x8] ldur w1, [x29, #-20] bl _expect ldur x9, [x29, #-104] ; 8-byte Folded Reload ldur x1, [x29, #-96] ; 8-byte Folded Reload ldur x8, [x29, #-80] ldr x9, [x9] subs x8, x8, x9 cset w8, eq and w0, w8, #0x1 ldur d3, [x29, #-48] ldur d2, [x29, #-56] ldur d1, [x29, #-64] ldur d0, [x29, #-72] mov x8, sp str d3, [x8] str d2, [x8, #8] str d1, [x8, #16] str d0, [x8, #24] bl _ok ldr d1, [sp, #104] ; 8-byte Folded Reload ldr d0, [sp, #160] ; 8-byte Folded Reload ldur x1, [x29, #-120] ; 8-byte Folded Reload stur d0, [x29, #-48] stur d1, [x29, #-64] stur d0, [x29, #-56] fmov d0, #30.00000000 str d0, [sp, #152] ; 8-byte Folded Spill stur d0, [x29, #-72] ldur x0, [x29, #-32] ldur d0, [x29, #-48] ldur d1, [x29, #-56] ldur d2, [x29, #-64] ldur d3, [x29, #-72] bl _GdipIsVisibleRect ldur x8, [x29, #-112] ; 8-byte Folded Reload stur w0, [x29, #-20] ldr w0, [x8] ldur w1, [x29, #-20] bl _expect ldur x9, [x29, #-104] ; 8-byte Folded Reload ldur x1, [x29, #-96] ; 8-byte Folded Reload ldur x8, [x29, #-80] ldr x9, [x9] subs x8, x8, x9 cset w8, eq and w0, w8, #0x1 ldur d3, [x29, #-48] ldur d2, [x29, #-56] ldur d1, [x29, #-64] ldur d0, [x29, #-72] mov x8, sp str d3, [x8] str d2, [x8, #8] str d1, [x8, #16] str d0, [x8, #24] bl _ok ldr d2, [sp, #152] ; 8-byte Folded Reload ldr d1, [sp, #160] ; 8-byte Folded Reload ldur d0, [x29, #-152] ; 8-byte Folded Reload ldur x1, [x29, #-120] ; 8-byte Folded Reload stur d1, [x29, #-48] stur d2, [x29, #-64] stur d1, [x29, #-56] stur d0, [x29, #-72] ldur x0, [x29, #-32] ldur d0, [x29, #-48] ldur d1, [x29, #-56] ldur d2, [x29, #-64] ldur d3, [x29, #-72] bl _GdipIsVisibleRect ldur x8, [x29, #-112] ; 8-byte Folded Reload stur w0, [x29, #-20] ldr w0, [x8] ldur w1, [x29, #-20] bl _expect ldur x9, [x29, #-104] ; 8-byte Folded Reload ldur x1, [x29, #-96] ; 8-byte Folded Reload ldur x8, [x29, #-80] ldr x9, [x9] subs x8, x8, x9 cset w8, eq and w0, w8, #0x1 ldur d3, [x29, #-48] ldur d2, [x29, #-56] ldur d1, [x29, #-64] ldur d0, [x29, #-72] mov x8, sp str d3, [x8] str d2, [x8, #8] str d1, [x8, #16] str d0, [x8, #24] bl _ok ldr d1, [sp, #128] ; 8-byte Folded Reload ldr d0, [sp, #136] ; 8-byte Folded Reload ldr d3, [sp, #160] ; 8-byte Folded Reload ldur d2, [x29, #-128] ; 8-byte Folded Reload ldur x1, [x29, #-120] ; 8-byte Folded Reload stur d3, [x29, #-48] stur d2, [x29, #-64] stur d1, [x29, #-56] stur d0, [x29, #-72] ldur x0, [x29, #-32] ldur d0, [x29, #-48] ldur d1, [x29, #-56] ldur d2, [x29, #-64] ldur d3, [x29, #-72] bl _GdipIsVisibleRect ldur x8, [x29, #-112] ; 8-byte Folded Reload stur w0, [x29, #-20] ldr w0, [x8] ldur w1, [x29, #-20] bl _expect ldr x9, [sp, #112] ; 8-byte Folded Reload ldr x1, [sp, #120] ; 8-byte Folded Reload ldur x8, [x29, #-80] ldr x9, [x9] subs x8, x8, x9 cset w8, eq and w0, w8, #0x1 ldur d3, [x29, #-48] ldur d2, [x29, #-56] ldur d1, [x29, #-64] ldur d0, [x29, #-72] mov x8, sp str d3, [x8] str d2, [x8, #8] str d1, [x8, #16] str d0, [x8, #24] bl _ok ldr d0, [sp, #128] ; 8-byte Folded Reload ldr d2, [sp, #152] ; 8-byte Folded Reload ldr d1, [sp, #160] ; 8-byte Folded Reload ldur d3, [x29, #-128] ; 8-byte Folded Reload ldur x1, [x29, #-120] ; 8-byte Folded Reload stur d3, [x29, #-48] stur d2, [x29, #-64] stur d1, [x29, #-56] stur d0, [x29, #-72] ldur x0, [x29, #-32] ldur d0, [x29, #-48] ldur d1, [x29, #-56] ldur d2, [x29, #-64] ldur d3, [x29, #-72] bl _GdipIsVisibleRect ldur x8, [x29, #-112] ; 8-byte Folded Reload stur w0, [x29, #-20] ldr w0, [x8] ldur w1, [x29, #-20] bl _expect ldr x9, [sp, #112] ; 8-byte Folded Reload ldr x1, [sp, #120] ; 8-byte Folded Reload ldur x8, [x29, #-80] ldr x9, [x9] subs x8, x8, x9 cset w8, eq and w0, w8, #0x1 ldur d3, [x29, #-48] ldur d2, [x29, #-56] ldur d1, [x29, #-64] ldur d0, [x29, #-72] mov x8, sp str d3, [x8] str d2, [x8, #8] str d1, [x8, #16] str d0, [x8, #24] bl _ok ldr d1, [sp, #128] ; 8-byte Folded Reload ldr d0, [sp, #136] ; 8-byte Folded Reload ldur d2, [x29, #-128] ; 8-byte Folded Reload ldur x1, [x29, #-120] ; 8-byte Folded Reload stur d0, [x29, #-48] stur d2, [x29, #-64] stur d1, [x29, #-56] stur d0, [x29, #-72] ldur x0, [x29, #-32] ldur d0, [x29, #-48] ldur d1, [x29, #-56] ldur d2, [x29, #-64] ldur d3, [x29, #-72] bl _GdipIsVisibleRect ldur x8, [x29, #-112] ; 8-byte Folded Reload stur w0, [x29, #-20] ldr w0, [x8] ldur w1, [x29, #-20] bl _expect ldr x9, [sp, #112] ; 8-byte Folded Reload ldr x1, [sp, #120] ; 8-byte Folded Reload ldur x8, [x29, #-80] ldr x9, [x9] subs x8, x8, x9 cset w8, eq and w0, w8, #0x1 ldur d3, [x29, #-48] ldur d2, [x29, #-56] ldur d1, [x29, #-64] ldur d0, [x29, #-72] mov x8, sp str d3, [x8] str d2, [x8, #8] str d1, [x8, #16] str d0, [x8, #24] bl _ok ldr d1, [sp, #152] ; 8-byte Folded Reload ldur d0, [x29, #-128] ; 8-byte Folded Reload ldur x1, [x29, #-120] ; 8-byte Folded Reload stur d0, [x29, #-48] stur d1, [x29, #-64] adrp x8, lCPI0_3@PAGE ldr d1, [x8, lCPI0_3@PAGEOFF] stur d1, [x29, #-56] stur d0, [x29, #-72] ldur x0, [x29, #-32] ldur d0, [x29, #-48] ldur d1, [x29, #-56] ldur d2, [x29, #-64] ldur d3, [x29, #-72] bl _GdipIsVisibleRect ldur x8, [x29, #-112] ; 8-byte Folded Reload stur w0, [x29, #-20] ldr w0, [x8] ldur w1, [x29, #-20] bl _expect ldr x9, [sp, #112] ; 8-byte Folded Reload ldr x1, [sp, #120] ; 8-byte Folded Reload ldur x8, [x29, #-80] ldr x9, [x9] subs x8, x8, x9 cset w8, eq and w0, w8, #0x1 ldur d3, [x29, #-48] ldur d2, [x29, #-56] ldur d1, [x29, #-64] ldur d0, [x29, #-72] mov x8, sp str d3, [x8] str d2, [x8, #8] str d1, [x8, #16] str d0, [x8, #24] bl _ok ldr d1, [sp, #128] ; 8-byte Folded Reload ldr d0, [sp, #136] ; 8-byte Folded Reload ldur x1, [x29, #-120] ; 8-byte Folded Reload adrp x8, lCPI0_2@PAGE ldr d2, [x8, lCPI0_2@PAGEOFF] str d2, [sp, #144] ; 8-byte Folded Spill stur d2, [x29, #-48] adrp x8, lCPI0_1@PAGE ldr d2, [x8, lCPI0_1@PAGEOFF] stur d2, [x29, #-64] stur d1, [x29, #-56] stur d0, [x29, #-72] ldur x0, [x29, #-32] ldur d0, [x29, #-48] ldur d1, [x29, #-56] ldur d2, [x29, #-64] ldur d3, [x29, #-72] bl _GdipIsVisibleRect ldur x8, [x29, #-112] ; 8-byte Folded Reload stur w0, [x29, #-20] ldr w0, [x8] ldur w1, [x29, #-20] bl _expect ldur x9, [x29, #-104] ; 8-byte Folded Reload ldur x1, [x29, #-96] ; 8-byte Folded Reload ldur x8, [x29, #-80] ldr x9, [x9] subs x8, x8, x9 cset w8, eq and w0, w8, #0x1 ldur d3, [x29, #-48] ldur d2, [x29, #-56] ldur d1, [x29, #-64] ldur d0, [x29, #-72] mov x8, sp str d3, [x8] str d2, [x8, #8] str d1, [x8, #16] str d0, [x8, #24] bl _ok ldr d0, [sp, #144] ; 8-byte Folded Reload ldr d1, [sp, #152] ; 8-byte Folded Reload ldur d2, [x29, #-128] ; 8-byte Folded Reload ldur x1, [x29, #-120] ; 8-byte Folded Reload stur d2, [x29, #-48] stur d1, [x29, #-64] stur d0, [x29, #-56] adrp x8, lCPI0_0@PAGE ldr d0, [x8, lCPI0_0@PAGEOFF] stur d0, [x29, #-72] ldur x0, [x29, #-32] ldur d0, [x29, #-48] ldur d1, [x29, #-56] ldur d2, [x29, #-64] ldur d3, [x29, #-72] bl _GdipIsVisibleRect ldur x8, [x29, #-112] ; 8-byte Folded Reload stur w0, [x29, #-20] ldr w0, [x8] ldur w1, [x29, #-20] bl _expect ldur x9, [x29, #-104] ; 8-byte Folded Reload ldur x1, [x29, #-96] ; 8-byte Folded Reload ldur x8, [x29, #-80] ldr x9, [x9] subs x8, x8, x9 cset w8, eq and w0, w8, #0x1 ldur d3, [x29, #-48] ldur d2, [x29, #-56] ldur d1, [x29, #-64] ldur d0, [x29, #-72] mov x8, sp str d3, [x8] str d2, [x8, #8] str d1, [x8, #16] str d0, [x8, #24] bl _ok ldr d2, [sp, #152] ; 8-byte Folded Reload ldr d1, [sp, #160] ; 8-byte Folded Reload ldur d0, [x29, #-152] ; 8-byte Folded Reload ldur x5, [x29, #-120] ; 8-byte Folded Reload stur d1, [x29, #-48] stur d2, [x29, #-64] stur d1, [x29, #-56] stur d0, [x29, #-72] ldur x0, [x29, #-32] ldur d0, [x29, #-48] fcvtzs w1, d0 ldur d0, [x29, #-56] fcvtzs w2, d0 ldur d0, [x29, #-64] fcvtzs w3, d0 ldur d0, [x29, #-72] fcvtzs w4, d0 bl _GdipIsVisibleRectI ldur x8, [x29, #-112] ; 8-byte Folded Reload stur w0, [x29, #-20] ldr w0, [x8] ldur w1, [x29, #-20] bl _expect ldur x9, [x29, #-104] ; 8-byte Folded Reload ldur x1, [x29, #-96] ; 8-byte Folded Reload ldur x8, [x29, #-80] ldr x9, [x9] subs x8, x8, x9 cset w8, eq and w0, w8, #0x1 ldur d3, [x29, #-48] ldur d2, [x29, #-56] ldur d1, [x29, #-64] ldur d0, [x29, #-72] mov x8, sp str d3, [x8] str d2, [x8, #8] str d1, [x8, #16] str d0, [x8, #24] bl _ok ldur d2, [x29, #-144] ; 8-byte Folded Reload ldur d1, [x29, #-136] ; 8-byte Folded Reload ldur d0, [x29, #-128] ; 8-byte Folded Reload ldur x5, [x29, #-120] ; 8-byte Folded Reload stur d2, [x29, #-48] stur d0, [x29, #-64] stur d1, [x29, #-56] stur d0, [x29, #-72] ldur x0, [x29, #-32] ldur d0, [x29, #-48] fcvtzs w1, d0 ldur d0, [x29, #-56] fcvtzs w2, d0 ldur d0, [x29, #-64] fcvtzs w3, d0 ldur d0, [x29, #-72] fcvtzs w4, d0 bl _GdipIsVisibleRectI ldur x8, [x29, #-112] ; 8-byte Folded Reload stur w0, [x29, #-20] ldr w0, [x8] ldur w1, [x29, #-20] bl _expect ldur x9, [x29, #-104] ; 8-byte Folded Reload ldur x1, [x29, #-96] ; 8-byte Folded Reload ldur x8, [x29, #-80] ldr x9, [x9] subs x8, x8, x9 cset w8, eq and w0, w8, #0x1 ldur d3, [x29, #-48] ldur d2, [x29, #-56] ldur d1, [x29, #-64] ldur d0, [x29, #-72] mov x8, sp str d3, [x8] str d2, [x8, #8] str d1, [x8, #16] str d0, [x8, #24] bl _ok ldur x0, [x29, #-32] bl _GdipDeleteGraphics ldur x8, [x29, #-88] ; 8-byte Folded Reload ldr w0, [x8] ldur x1, [x29, #-40] bl _ReleaseDC ldp x29, x30, [sp, #320] ; 16-byte Folded Reload ldp x28, x27, [sp, #304] ; 16-byte Folded Reload add sp, sp, #336 ret .cfi_endproc ; -- End function .comm _hwnd,4,2 ; @hwnd .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Expected HDC to be initialized\n" .comm _Ok,4,2 ; @Ok l_.str.1: ; @.str.1 .asciz "Expected graphics to be initialized\n" .comm _InvalidParameter,4,2 ; @InvalidParameter .comm _TRUE,8,3 ; @TRUE l_.str.2: ; @.str.2 .asciz "Expected (%.2f, %.2f, %.2f, %.2f) to be visible\n" .comm _FALSE,8,3 ; @FALSE l_.str.3: ; @.str.3 .asciz "Expected (%.2f, %.2f, %.2f, %.2f) not to be visible\n" .comm _CombineModeReplace,4,2 ; @CombineModeReplace .comm _MatrixOrderAppend,4,2 ; @MatrixOrderAppend .no_dead_strip _test_GdipIsVisibleRect .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 test_GdipIsVisibleRect LCPI0_0: .quad 0x4024000000000000 ## double 10 LCPI0_1: .quad 0x4036000000000000 ## double 22 LCPI0_2: .quad 0x4028000000000000 ## double 12 LCPI0_3: .quad 0x4056800000000000 ## double 90 LCPI0_4: .quad 0x403e000000000000 ## double 30 LCPI0_5: .quad 0x4034666666666666 ## double 20.399999999999999 LCPI0_6: .quad 0x3fd999999999999a ## double 0.40000000000000002 LCPI0_7: .quad 0x4044000000000000 ## double 40 LCPI0_8: .quad 0x4034000000000000 ## double 20 LCPI0_9: .quad 0x4024cccccccccccd ## double 10.4 LCPI0_10: .quad 0x404e000000000000 ## double 60 LCPI0_11: .quad 0x4051800000000000 ## double 70 LCPI0_12: .quad 0x4014000000000000 ## double 5 LCPI0_13: .quad 0x4039000000000000 ## double 25 LCPI0_14: .quad 0x4050400000000000 ## double 65 LCPI0_15: .quad 0x4046800000000000 ## double 45 LCPI0_16: .quad 0x404b800000000000 ## double 55 LCPI0_17: .quad 0x4041800000000000 ## double 35 LCPI0_18: .quad 0xc024000000000000 ## double -10 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _test_GdipIsVisibleRect: ## @test_GdipIsVisibleRect .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movq $0, -16(%rbp) movq _hwnd@GOTPCREL(%rip), %rax movl (%rax), %edi callq _GetDC movq %rax, -24(%rbp) cmpq $0, -24(%rbp) setne %al andb $1, %al movzbl %al, %edi leaq L_.str(%rip), %rsi movb $0, %al callq _ok movq -24(%rbp), %rdi leaq -16(%rbp), %rsi callq _GdipCreateFromHDC movl %eax, -4(%rbp) movq _Ok@GOTPCREL(%rip), %rax movl (%rax), %edi movl -4(%rbp), %esi callq _expect cmpq $0, -16(%rbp) setne %al andb $1, %al movzbl %al, %edi leaq L_.str.1(%rip), %rsi movb $0, %al callq _ok xorl %eax, %eax movl %eax, %edi xorps %xmm3, %xmm3 leaq -64(%rbp), %rsi movaps %xmm3, %xmm0 movaps %xmm3, %xmm1 movaps %xmm3, %xmm2 callq _GdipIsVisibleRect movl %eax, -4(%rbp) movq _InvalidParameter@GOTPCREL(%rip), %rax movl (%rax), %edi movl -4(%rbp), %esi callq _expect movq -16(%rbp), %rdi xorps %xmm3, %xmm3 xorl %eax, %eax movl %eax, %esi movaps %xmm3, %xmm0 movaps %xmm3, %xmm1 movaps %xmm3, %xmm2 callq _GdipIsVisibleRect movl %eax, -4(%rbp) movq _InvalidParameter@GOTPCREL(%rip), %rax movl (%rax), %edi movl -4(%rbp), %esi callq _expect xorl %eax, %eax movl %eax, %edi xorl %r8d, %r8d leaq -64(%rbp), %r9 movl %r8d, %esi movl %r8d, %edx movl %r8d, %ecx callq _GdipIsVisibleRectI movl %eax, -4(%rbp) movq _InvalidParameter@GOTPCREL(%rip), %rax movl (%rax), %edi movl -4(%rbp), %esi callq _expect movq -16(%rbp), %rdi xorl %r8d, %r8d xorl %eax, %eax movl %eax, %r9d movl %r8d, %esi movl %r8d, %edx movl %r8d, %ecx callq _GdipIsVisibleRectI movl %eax, -4(%rbp) movq _InvalidParameter@GOTPCREL(%rip), %rax movl (%rax), %edi movl -4(%rbp), %esi callq _expect xorps %xmm0, %xmm0 movsd %xmm0, -32(%rbp) movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -48(%rbp) xorps %xmm0, %xmm0 movsd %xmm0, -40(%rbp) movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -56(%rbp) movq -16(%rbp), %rdi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq -64(%rbp), %rsi callq _GdipIsVisibleRect movl %eax, -4(%rbp) movq _Ok@GOTPCREL(%rip), %rax movl (%rax), %edi movl -4(%rbp), %esi callq _expect movq -64(%rbp), %rax movq _TRUE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax sete %al andb $1, %al movzbl %al, %edi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq L_.str.2(%rip), %rsi movb $4, %al callq _ok movsd LCPI0_18(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -32(%rbp) movsd LCPI0_8(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -48(%rbp) movsd LCPI0_18(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -40(%rbp) movsd LCPI0_8(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -56(%rbp) movq -16(%rbp), %rdi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq -64(%rbp), %rsi callq _GdipIsVisibleRect movl %eax, -4(%rbp) movq _Ok@GOTPCREL(%rip), %rax movl (%rax), %edi movl -4(%rbp), %esi callq _expect movq -64(%rbp), %rax movq _TRUE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax sete %al andb $1, %al movzbl %al, %edi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq L_.str.2(%rip), %rsi movb $4, %al callq _ok movsd LCPI0_18(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -32(%rbp) movsd LCPI0_12(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -48(%rbp) movsd LCPI0_18(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -40(%rbp) movsd LCPI0_12(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -56(%rbp) movq -16(%rbp), %rdi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq -64(%rbp), %rsi callq _GdipIsVisibleRect movl %eax, -4(%rbp) movq _Ok@GOTPCREL(%rip), %rax movl (%rax), %edi movl -4(%rbp), %esi callq _expect movq -64(%rbp), %rax movq _FALSE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax sete %al andb $1, %al movzbl %al, %edi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq L_.str.3(%rip), %rsi movb $4, %al callq _ok movq -16(%rbp), %rdi movq _CombineModeReplace@GOTPCREL(%rip), %rax movl (%rax), %r9d movl $10, %esi movl $20, %edx movl $30, %ecx movl $40, %r8d callq _GdipSetClipRect movl %eax, -4(%rbp) movq _Ok@GOTPCREL(%rip), %rax movl (%rax), %edi movl -4(%rbp), %esi callq _expect movsd LCPI0_2(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -32(%rbp) movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -48(%rbp) movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -40(%rbp) movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -56(%rbp) movq -16(%rbp), %rdi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq -64(%rbp), %rsi callq _GdipIsVisibleRect movl %eax, -4(%rbp) movq _Ok@GOTPCREL(%rip), %rax movl (%rax), %edi movl -4(%rbp), %esi callq _expect movq -64(%rbp), %rax movq _TRUE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax sete %al andb $1, %al movzbl %al, %edi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq L_.str.2(%rip), %rsi movb $4, %al callq _ok movsd LCPI0_17(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -32(%rbp) movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -48(%rbp) movsd LCPI0_16(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -40(%rbp) movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -56(%rbp) movq -16(%rbp), %rdi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq -64(%rbp), %rsi callq _GdipIsVisibleRect movl %eax, -4(%rbp) movq _Ok@GOTPCREL(%rip), %rax movl (%rax), %edi movl -4(%rbp), %esi callq _expect movq -64(%rbp), %rax movq _TRUE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax sete %al andb $1, %al movzbl %al, %edi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq L_.str.2(%rip), %rsi movb $4, %al callq _ok movsd LCPI0_15(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -32(%rbp) movsd LCPI0_12(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -48(%rbp) movsd LCPI0_14(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -40(%rbp) movsd LCPI0_12(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -56(%rbp) movq -16(%rbp), %rdi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq -64(%rbp), %rsi callq _GdipIsVisibleRect movl %eax, -4(%rbp) movq _Ok@GOTPCREL(%rip), %rax movl (%rax), %edi movl -4(%rbp), %esi callq _expect movq -64(%rbp), %rax movq _FALSE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax sete %al andb $1, %al movzbl %al, %edi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq L_.str.3(%rip), %rsi movb $4, %al callq _ok movq -16(%rbp), %rdi movq _MatrixOrderAppend@GOTPCREL(%rip), %rax movl (%rax), %ecx movl $25, %esi movl $40, %edx callq _GdipTranslateWorldTransform xorps %xmm0, %xmm0 movsd %xmm0, -32(%rbp) movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -48(%rbp) xorps %xmm0, %xmm0 movsd %xmm0, -40(%rbp) movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -56(%rbp) movq -16(%rbp), %rdi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq -64(%rbp), %rsi callq _GdipIsVisibleRect movl %eax, -4(%rbp) movq _Ok@GOTPCREL(%rip), %rax movl (%rax), %edi movl -4(%rbp), %esi callq _expect movq -64(%rbp), %rax movq _TRUE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax sete %al andb $1, %al movzbl %al, %edi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq L_.str.2(%rip), %rsi movb $4, %al callq _ok movsd LCPI0_13(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -32(%rbp) movsd LCPI0_12(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -48(%rbp) movsd LCPI0_7(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -40(%rbp) movsd LCPI0_12(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -56(%rbp) movq -16(%rbp), %rdi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq -64(%rbp), %rsi callq _GdipIsVisibleRect movl %eax, -4(%rbp) movq _Ok@GOTPCREL(%rip), %rax movl (%rax), %edi movl -4(%rbp), %esi callq _expect movq -64(%rbp), %rax movq _FALSE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax sete %al andb $1, %al movzbl %al, %edi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq L_.str.3(%rip), %rsi movb $4, %al callq _ok movq -16(%rbp), %rdi movq _MatrixOrderAppend@GOTPCREL(%rip), %rax movl (%rax), %ecx movl $4294967271, %esi ## imm = 0xFFFFFFE7 movl $4294967256, %edx ## imm = 0xFFFFFFD8 callq _GdipTranslateWorldTransform xorps %xmm0, %xmm0 movsd %xmm0, -32(%rbp) movsd LCPI0_11(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -48(%rbp) xorps %xmm0, %xmm0 movsd %xmm0, -40(%rbp) movsd LCPI0_3(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -56(%rbp) movq -16(%rbp), %rdi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq -64(%rbp), %rsi callq _GdipIsVisibleRect movl %eax, -4(%rbp) movq _Ok@GOTPCREL(%rip), %rax movl (%rax), %edi movl -4(%rbp), %esi callq _expect movq -64(%rbp), %rax movq _TRUE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax sete %al andb $1, %al movzbl %al, %edi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq L_.str.2(%rip), %rsi movb $4, %al callq _ok xorps %xmm0, %xmm0 movsd %xmm0, -32(%rbp) movsd LCPI0_11(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -48(%rbp) xorps %xmm0, %xmm0 movsd %xmm0, -40(%rbp) movsd LCPI0_4(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -56(%rbp) movq -16(%rbp), %rdi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq -64(%rbp), %rsi callq _GdipIsVisibleRect movl %eax, -4(%rbp) movq _Ok@GOTPCREL(%rip), %rax movl (%rax), %edi movl -4(%rbp), %esi callq _expect movq -64(%rbp), %rax movq _TRUE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax sete %al andb $1, %al movzbl %al, %edi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq L_.str.2(%rip), %rsi movb $4, %al callq _ok xorps %xmm0, %xmm0 movsd %xmm0, -32(%rbp) movsd LCPI0_4(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -48(%rbp) xorps %xmm0, %xmm0 movsd %xmm0, -40(%rbp) movsd LCPI0_3(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -56(%rbp) movq -16(%rbp), %rdi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq -64(%rbp), %rsi callq _GdipIsVisibleRect movl %eax, -4(%rbp) movq _Ok@GOTPCREL(%rip), %rax movl (%rax), %edi movl -4(%rbp), %esi callq _expect movq -64(%rbp), %rax movq _TRUE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax sete %al andb $1, %al movzbl %al, %edi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq L_.str.2(%rip), %rsi movb $4, %al callq _ok xorps %xmm0, %xmm0 movsd %xmm0, -32(%rbp) movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -48(%rbp) movsd LCPI0_8(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -40(%rbp) movsd LCPI0_7(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -56(%rbp) movq -16(%rbp), %rdi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq -64(%rbp), %rsi callq _GdipIsVisibleRect movl %eax, -4(%rbp) movq _Ok@GOTPCREL(%rip), %rax movl (%rax), %edi movl -4(%rbp), %esi callq _expect movq -64(%rbp), %rax movq _FALSE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax sete %al andb $1, %al movzbl %al, %edi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq L_.str.3(%rip), %rsi movb $4, %al callq _ok movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -32(%rbp) movsd LCPI0_4(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -48(%rbp) xorps %xmm0, %xmm0 movsd %xmm0, -40(%rbp) movsd LCPI0_8(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -56(%rbp) movq -16(%rbp), %rdi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq -64(%rbp), %rsi callq _GdipIsVisibleRect movl %eax, -4(%rbp) movq _Ok@GOTPCREL(%rip), %rax movl (%rax), %edi movl -4(%rbp), %esi callq _expect movq -64(%rbp), %rax movq _FALSE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax sete %al andb $1, %al movzbl %al, %edi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq L_.str.3(%rip), %rsi movb $4, %al callq _ok movsd LCPI0_7(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -32(%rbp) movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -48(%rbp) movsd LCPI0_8(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -40(%rbp) movsd LCPI0_7(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -56(%rbp) movq -16(%rbp), %rdi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq -64(%rbp), %rsi callq _GdipIsVisibleRect movl %eax, -4(%rbp) movq _Ok@GOTPCREL(%rip), %rax movl (%rax), %edi movl -4(%rbp), %esi callq _expect movq -64(%rbp), %rax movq _FALSE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax sete %al andb $1, %al movzbl %al, %edi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq L_.str.3(%rip), %rsi movb $4, %al callq _ok movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -32(%rbp) movsd LCPI0_4(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -48(%rbp) movsd LCPI0_10(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -40(%rbp) movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -56(%rbp) movq -16(%rbp), %rdi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq -64(%rbp), %rsi callq _GdipIsVisibleRect movl %eax, -4(%rbp) movq _Ok@GOTPCREL(%rip), %rax movl (%rax), %edi movl -4(%rbp), %esi callq _expect movq -64(%rbp), %rax movq _FALSE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax sete %al andb $1, %al movzbl %al, %edi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq L_.str.3(%rip), %rsi movb $4, %al callq _ok movsd LCPI0_6(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -32(%rbp) movsd LCPI0_9(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -48(%rbp) movsd LCPI0_8(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -40(%rbp) movsd LCPI0_7(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -56(%rbp) movq -16(%rbp), %rdi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq -64(%rbp), %rsi callq _GdipIsVisibleRect movl %eax, -4(%rbp) movq _Ok@GOTPCREL(%rip), %rax movl (%rax), %edi movl -4(%rbp), %esi callq _expect movq -64(%rbp), %rax movq _TRUE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax sete %al andb $1, %al movzbl %al, %edi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq L_.str.2(%rip), %rsi movb $4, %al callq _ok movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -32(%rbp) movsd LCPI0_4(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -48(%rbp) movsd LCPI0_6(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -40(%rbp) movsd LCPI0_5(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -56(%rbp) movq -16(%rbp), %rdi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq -64(%rbp), %rsi callq _GdipIsVisibleRect movl %eax, -4(%rbp) movq _Ok@GOTPCREL(%rip), %rax movl (%rax), %edi movl -4(%rbp), %esi callq _expect movq -64(%rbp), %rax movq _TRUE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax sete %al andb $1, %al movzbl %al, %edi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq L_.str.2(%rip), %rsi movb $4, %al callq _ok xorps %xmm0, %xmm0 movsd %xmm0, -32(%rbp) movsd LCPI0_4(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -48(%rbp) xorps %xmm0, %xmm0 movsd %xmm0, -40(%rbp) movsd LCPI0_3(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -56(%rbp) movq -16(%rbp), %rdi cvttsd2si -32(%rbp), %esi cvttsd2si -40(%rbp), %edx cvttsd2si -48(%rbp), %ecx cvttsd2si -56(%rbp), %r8d leaq -64(%rbp), %r9 callq _GdipIsVisibleRectI movl %eax, -4(%rbp) movq _Ok@GOTPCREL(%rip), %rax movl (%rax), %edi movl -4(%rbp), %esi callq _expect movq -64(%rbp), %rax movq _TRUE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax sete %al andb $1, %al movzbl %al, %edi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq L_.str.2(%rip), %rsi movb $4, %al callq _ok movsd LCPI0_2(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -32(%rbp) movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -48(%rbp) movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -40(%rbp) movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -56(%rbp) movq -16(%rbp), %rdi cvttsd2si -32(%rbp), %esi cvttsd2si -40(%rbp), %edx cvttsd2si -48(%rbp), %ecx cvttsd2si -56(%rbp), %r8d leaq -64(%rbp), %r9 callq _GdipIsVisibleRectI movl %eax, -4(%rbp) movq _Ok@GOTPCREL(%rip), %rax movl (%rax), %edi movl -4(%rbp), %esi callq _expect movq -64(%rbp), %rax movq _TRUE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax sete %al andb $1, %al movzbl %al, %edi movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -48(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -56(%rbp), %xmm3 ## xmm3 = mem[0],zero leaq L_.str.2(%rip), %rsi movb $4, %al callq _ok movq -16(%rbp), %rdi callq _GdipDeleteGraphics movq _hwnd@GOTPCREL(%rip), %rax movl (%rax), %edi movq -24(%rbp), %rsi callq _ReleaseDC addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _hwnd,4,2 ## @hwnd .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Expected HDC to be initialized\n" .comm _Ok,4,2 ## @Ok L_.str.1: ## @.str.1 .asciz "Expected graphics to be initialized\n" .comm _InvalidParameter,4,2 ## @InvalidParameter .comm _TRUE,8,3 ## @TRUE L_.str.2: ## @.str.2 .asciz "Expected (%.2f, %.2f, %.2f, %.2f) to be visible\n" .comm _FALSE,8,3 ## @FALSE L_.str.3: ## @.str.3 .asciz "Expected (%.2f, %.2f, %.2f, %.2f) not to be visible\n" .comm _CombineModeReplace,4,2 ## @CombineModeReplace .comm _MatrixOrderAppend,4,2 ## @MatrixOrderAppend .no_dead_strip _test_GdipIsVisibleRect .subsections_via_symbols
AnghaBench/reactos/modules/rostests/winetests/gdiplus/extr_graphics.c_test_GdipIsVisibleRect.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _list_back ; -- Begin function list_back .p2align 2 _list_back: ; @list_back .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, #8] ldr x8, [sp, #8] subs x8, x8, #0 cset w8, ne and w0, w8, #0x1 bl _assert ldr x0, [sp, #8] bl _list_is_empty subs w8, w0, #0 cset w8, eq and w0, w8, #0x1 bl _assert ldr x8, [sp, #8] ldr x8, [x8] ldr x0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _list_back ## -- Begin function list_back .p2align 4, 0x90 _list_back: ## @list_back .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 movq %rdi, -8(%rbp) cmpq $0, -8(%rbp) setne %al andb $1, %al movzbl %al, %edi callq _assert movq -8(%rbp), %rdi callq _list_is_empty cmpl $0, %eax setne %al xorb $-1, %al andb $1, %al movzbl %al, %edi callq _assert movq -8(%rbp), %rax movq (%rax), %rax movq (%rax), %rax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/esp-idf/components/bt/common/osi/extr_list.c_list_back.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function option_source_command _option_source_command: ; @option_source_command .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 stur w0, [x29, #-8] stur x1, [x29, #-16] str wzr, [sp, #24] ldur w8, [x29, #-8] subs w8, w8, #1 cset w8, lt tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldur w8, [x29, #-8] subs w8, w8, #2 cset w8, le tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _error stur w0, [x29, #-4] b LBB0_17 LBB0_3: ldur w8, [x29, #-8] subs w8, w8, #2 cset w8, ne tbnz w8, #0, LBB0_8 b LBB0_4 LBB0_4: ldur x8, [x29, #-16] ldr x0, [x8] adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _strcmp subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: mov w8, #1 str w8, [sp, #24] b LBB0_7 LBB0_6: ldur x8, [x29, #-16] ldr x8, [x8] mov x9, sp str x8, [x9] adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _error stur w0, [x29, #-4] b LBB0_17 LBB0_7: b LBB0_8 LBB0_8: ldur x8, [x29, #-16] ldur w9, [x29, #-8] subs w9, w9, #1 ldr x0, [x8, w9, sxtw #3] bl _load_option_file stur w0, [x29, #-20] ldr w8, [sp, #24] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_13 b LBB0_9 LBB0_9: ldur w8, [x29, #-20] adrp x9, _ERROR_FILE_DOES_NOT_EXIST@GOTPAGE ldr x9, [x9, _ERROR_FILE_DOES_NOT_EXIST@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_11 b LBB0_10 LBB0_10: mov w8, #0 str w8, [sp, #20] ; 4-byte Folded Spill b LBB0_12 LBB0_11: ldur w8, [x29, #-20] str w8, [sp, #20] ; 4-byte Folded Spill b LBB0_12 LBB0_12: ldr w8, [sp, #20] ; 4-byte Folded Reload stur w8, [x29, #-4] b LBB0_17 LBB0_13: ldur w8, [x29, #-20] adrp x9, _ERROR_FILE_DOES_NOT_EXIST@GOTPAGE ldr x9, [x9, _ERROR_FILE_DOES_NOT_EXIST@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_15 b LBB0_14 LBB0_14: ldur x8, [x29, #-16] ldur w9, [x29, #-8] subs w9, w9, #1 ldr x8, [x8, w9, sxtw #3] mov x9, sp str x8, [x9] adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _error str w0, [sp, #16] ; 4-byte Folded Spill b LBB0_16 LBB0_15: ldur w8, [x29, #-20] str w8, [sp, #16] ; 4-byte Folded Spill b LBB0_16 LBB0_16: ldr w8, [sp, #16] ; 4-byte Folded Reload stur w8, [x29, #-4] b LBB0_17 LBB0_17: ldur w0, [x29, #-4] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Invalid source command: source [-q] <path>" l_.str.1: ; @.str.1 .asciz "-q" l_.str.2: ; @.str.2 .asciz "Invalid source option: %s" .comm _ERROR_FILE_DOES_NOT_EXIST,4,2 ; @ERROR_FILE_DOES_NOT_EXIST l_.str.3: ; @.str.3 .asciz "File does not exist: %s" .no_dead_strip _option_source_command .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function option_source_command _option_source_command: ## @option_source_command .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movl %edi, -8(%rbp) movq %rsi, -16(%rbp) movl $0, -24(%rbp) cmpl $1, -8(%rbp) jl LBB0_2 ## %bb.1: cmpl $2, -8(%rbp) jle LBB0_3 LBB0_2: leaq L_.str(%rip), %rdi movb $0, %al callq _error movl %eax, -4(%rbp) jmp LBB0_17 LBB0_3: cmpl $2, -8(%rbp) jne LBB0_8 ## %bb.4: movq -16(%rbp), %rax movq (%rax), %rdi leaq L_.str.1(%rip), %rsi callq _strcmp cmpl $0, %eax jne LBB0_6 ## %bb.5: movl $1, -24(%rbp) jmp LBB0_7 LBB0_6: movq -16(%rbp), %rax movq (%rax), %rsi leaq L_.str.2(%rip), %rdi movb $0, %al callq _error movl %eax, -4(%rbp) jmp LBB0_17 LBB0_7: jmp LBB0_8 LBB0_8: movq -16(%rbp), %rax movl -8(%rbp), %ecx subl $1, %ecx movslq %ecx, %rcx movq (%rax,%rcx,8), %rdi callq _load_option_file movl %eax, -20(%rbp) cmpl $0, -24(%rbp) je LBB0_13 ## %bb.9: movl -20(%rbp), %eax movq _ERROR_FILE_DOES_NOT_EXIST@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_11 ## %bb.10: xorl %eax, %eax movl %eax, -28(%rbp) ## 4-byte Spill jmp LBB0_12 LBB0_11: movl -20(%rbp), %eax movl %eax, -28(%rbp) ## 4-byte Spill LBB0_12: movl -28(%rbp), %eax ## 4-byte Reload movl %eax, -4(%rbp) jmp LBB0_17 LBB0_13: movl -20(%rbp), %eax movq _ERROR_FILE_DOES_NOT_EXIST@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_15 ## %bb.14: movq -16(%rbp), %rax movl -8(%rbp), %ecx subl $1, %ecx movslq %ecx, %rcx movq (%rax,%rcx,8), %rsi leaq L_.str.3(%rip), %rdi movb $0, %al callq _error movl %eax, -32(%rbp) ## 4-byte Spill jmp LBB0_16 LBB0_15: movl -20(%rbp), %eax movl %eax, -32(%rbp) ## 4-byte Spill LBB0_16: movl -32(%rbp), %eax ## 4-byte Reload movl %eax, -4(%rbp) LBB0_17: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Invalid source command: source [-q] <path>" L_.str.1: ## @.str.1 .asciz "-q" L_.str.2: ## @.str.2 .asciz "Invalid source option: %s" .comm _ERROR_FILE_DOES_NOT_EXIST,4,2 ## @ERROR_FILE_DOES_NOT_EXIST L_.str.3: ## @.str.3 .asciz "File does not exist: %s" .no_dead_strip _option_source_command .subsections_via_symbols
AnghaBench/tig/src/extr_options.c_option_source_command.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function vfe_reg_set _vfe_reg_set: ; @vfe_reg_set .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 stur x0, [x29, #-8] stur w1, [x29, #-12] str w2, [sp, #16] ldur x8, [x29, #-8] ldr w8, [x8] ldur w9, [x29, #-12] add w0, w8, w9 bl _readl_relaxed str w0, [sp, #12] ldr w8, [sp, #12] ldr w9, [sp, #16] orr w0, w8, w9 ldur x8, [x29, #-8] ldr w8, [x8] ldur w9, [x29, #-12] add w1, w8, w9 bl _writel_relaxed ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .no_dead_strip _vfe_reg_set .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function vfe_reg_set _vfe_reg_set: ## @vfe_reg_set .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movl %esi, -12(%rbp) movl %edx, -16(%rbp) movq -8(%rbp), %rax movl (%rax), %edi addl -12(%rbp), %edi callq _readl_relaxed movl %eax, -20(%rbp) movl -20(%rbp), %edi orl -16(%rbp), %edi movq -8(%rbp), %rax movl (%rax), %esi addl -12(%rbp), %esi callq _writel_relaxed addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _vfe_reg_set .subsections_via_symbols
AnghaBench/linux/drivers/media/platform/qcom/camss/extr_camss-vfe-4-1.c_vfe_reg_set.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function push_long _push_long: ; @push_long .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 adrp x8, _stack@GOTPAGE ldr x8, [x8, _stack@GOTPAGEOFF] str x8, [sp] ; 8-byte Folded Spill stur x0, [x29, #-8] str x1, [sp, #16] str wzr, [sp, #12] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #12] subs w8, w8, #10 cset w8, ge tbnz w8, #0, LBB0_6 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp] ; 8-byte Folded Reload ldr x8, [x8] ldrsw x9, [sp, #12] mov x10, #24 mul x9, x9, x10 ldr x8, [x8, x9] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 b LBB0_5 LBB0_4: ldr x9, [sp] ; 8-byte Folded Reload ldur x8, [x29, #-8] ldr x10, [x9] ldrsw x12, [sp, #12] mov x11, #24 mul x12, x12, x11 str x8, [x10, x12] ldr x8, [sp, #16] ldr x10, [x9] ldrsw x12, [sp, #12] mul x12, x12, x11 add x10, x10, x12 str x8, [x10, #16] adrp x8, _STACK_LONG@GOTPAGE ldr x8, [x8, _STACK_LONG@GOTPAGEOFF] ldr w8, [x8] ldr x9, [x9] ldrsw x10, [sp, #12] mul x10, x10, x11 add x9, x9, x10 str w8, [x9, #8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret LBB0_5: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB0_1 LBB0_6: adrp x8, _stderr@GOTPAGE ldr x8, [x8, _stderr@GOTPAGEOFF] ldr w0, [x8] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _fprintf mov w0, #1 bl _exit .cfi_endproc ; -- End function .comm _stack,8,3 ; @stack .comm _STACK_LONG,4,2 ; @STACK_LONG .comm _stderr,4,2 ; @stderr .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "BUG: commands_parser stack full. This means either a bug in the code, or a new command which contains more than 10 identified tokens.\n" .no_dead_strip _push_long .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function push_long _push_long: ## @push_long .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movl $0, -20(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 cmpl $10, -20(%rbp) jge LBB0_6 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq _stack@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -20(%rbp), %rcx imulq $24, %rcx, %rcx addq %rcx, %rax cmpq $0, (%rax) je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_5 LBB0_4: movq -8(%rbp), %rcx movq _stack@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -20(%rbp), %rdx imulq $24, %rdx, %rdx addq %rdx, %rax movq %rcx, (%rax) movq -16(%rbp), %rcx movq _stack@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -20(%rbp), %rdx imulq $24, %rdx, %rdx addq %rdx, %rax movq %rcx, 16(%rax) movq _STACK_LONG@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _stack@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -20(%rbp), %rdx imulq $24, %rdx, %rdx addq %rdx, %rax movl %ecx, 8(%rax) addq $32, %rsp popq %rbp retq LBB0_5: ## in Loop: Header=BB0_1 Depth=1 movl -20(%rbp), %eax addl $1, %eax movl %eax, -20(%rbp) jmp LBB0_1 LBB0_6: movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi callq _fprintf movl $1, %edi callq _exit .cfi_endproc ## -- End function .comm _stack,8,3 ## @stack .comm _STACK_LONG,4,2 ## @STACK_LONG .comm _stderr,4,2 ## @stderr .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "BUG: commands_parser stack full. This means either a bug in the code, or a new command which contains more than 10 identified tokens.\n" .no_dead_strip _push_long .subsections_via_symbols
AnghaBench/i3/i3-config-wizard/extr_main.c_push_long.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _uwb_rsv_set_state ; -- Begin function uwb_rsv_set_state .p2align 2 _uwb_rsv_set_state: ; @uwb_rsv_set_state .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 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 adrp x8, _UWB_NUM_MAS@GOTPAGE ldr x8, [x8, _UWB_NUM_MAS@GOTPAGEOFF] str x8, [sp, #32] ; 8-byte Folded Spill stur x0, [x29, #-8] stur w1, [x29, #-12] ldur x8, [x29, #-8] add x8, x8, #32 stur x8, [x29, #-24] ldur x8, [x29, #-8] ldr w8, [x8] ldur w9, [x29, #-12] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_9 b LBB0_1 LBB0_1: ldur x8, [x29, #-8] ldr w8, [x8] str w8, [sp, #28] ; 4-byte Folded Spill subs w8, w8, #128 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_2 LBB0_2: ldr w8, [sp, #28] ; 4-byte Folded Reload subs w8, w8, #130 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_3 LBB0_3: ldr w8, [sp, #28] ; 4-byte Folded Reload subs w8, w8, #133 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_4 LBB0_4: ldr w8, [sp, #28] ; 4-byte Folded Reload subs w8, w8, #135 subs w8, w8, #2 cset w8, ls tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ldr w8, [sp, #28] ; 4-byte Folded Reload subs w8, w8, #140 subs w8, w8, #1 cset w8, hi tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: ldur x0, [x29, #-8] bl _uwb_rsv_stroke_timer b LBB0_8 LBB0_7: b LBB0_8 LBB0_8: b LBB0_28 LBB0_9: ldur x1, [x29, #-8] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _uwb_rsv_dump ldur w8, [x29, #-12] subs w8, w8, #128 ; kill: def $x8 killed $w8 str x8, [sp, #16] ; 8-byte Folded Spill subs x8, x8, #13 cset w8, hi tbnz w8, #0, LBB0_27 ; %bb.10: ldr x11, [sp, #16] ; 8-byte Folded Reload adrp x10, lJTI0_0@PAGE add x10, x10, lJTI0_0@PAGEOFF Ltmp0: adr x8, Ltmp0 ldrsw x9, [x10, x11, lsl #2] add x8, x8, x9 br x8 LBB0_11: ldur x0, [x29, #-8] mov w1, #141 bl _uwb_rsv_state_update ldur x0, [x29, #-8] bl _uwb_rsv_callback b LBB0_28 LBB0_12: ldur x0, [x29, #-8] mov w1, #139 bl _uwb_rsv_state_update b LBB0_28 LBB0_13: ldur x0, [x29, #-8] mov w1, #134 bl _uwb_rsv_state_update b LBB0_28 LBB0_14: ldr x8, [sp, #32] ; 8-byte Folded Reload ldur x9, [x29, #-8] ldr w0, [x9, #20] ldur x9, [x29, #-8] ldr w1, [x9, #20] ldur x9, [x29, #-24] ldr w2, [x9, #4] ldr w3, [x8] bl _bitmap_andnot ldur x0, [x29, #-8] mov w1, #138 bl _uwb_rsv_state_update b LBB0_28 LBB0_15: ldur x8, [x29, #-8] ldr w8, [x8] subs w8, w8, #138 cset w8, eq tbnz w8, #0, LBB0_17 b LBB0_16 LBB0_16: ldur x8, [x29, #-8] ldr w8, [x8] subs w8, w8, #135 cset w8, ne tbnz w8, #0, LBB0_18 b LBB0_17 LBB0_17: ldur x8, [x29, #-8] ldr x0, [x8, #8] ldur x1, [x29, #-24] bl _uwb_drp_avail_release ldur x8, [x29, #-8] str wzr, [x8, #4] b LBB0_18 LBB0_18: ldur x8, [x29, #-8] ldr x0, [x8, #8] ldur x8, [x29, #-8] add x1, x8, #16 bl _uwb_drp_avail_reserve ldur x0, [x29, #-8] mov w1, #140 bl _uwb_rsv_state_update ldur x0, [x29, #-8] bl _uwb_rsv_callback b LBB0_28 LBB0_19: ldur x9, [x29, #-8] mov w8, #1 str w8, [x9, #4] ldur x0, [x29, #-8] mov w1, #136 bl _uwb_rsv_state_update b LBB0_28 LBB0_20: ldur x8, [x29, #-8] str wzr, [x8, #4] ldur x8, [x29, #-8] ldr x0, [x8, #8] ldur x1, [x29, #-24] bl _uwb_drp_avail_reserve ldr x8, [sp, #32] ; 8-byte Folded Reload ldur x9, [x29, #-8] ldr w0, [x9, #20] ldur x9, [x29, #-8] ldr w1, [x9, #20] ldur x9, [x29, #-24] ldr w2, [x9, #4] ldr w3, [x8] bl _bitmap_or ldur x8, [x29, #-24] ldr w10, [x8, #12] ldur x9, [x29, #-8] ldr w8, [x9, #28] add w8, w8, w10 str w8, [x9, #28] ldur x8, [x29, #-24] ldr w10, [x8, #8] ldur x9, [x29, #-8] ldr w8, [x9, #24] add w8, w8, w10 str w8, [x9, #24] ldur x0, [x29, #-8] mov w1, #137 bl _uwb_rsv_state_update b LBB0_28 LBB0_21: ldr x8, [sp, #32] ; 8-byte Folded Reload ldur x9, [x29, #-24] ldr w0, [x9, #4] ldur x9, [x29, #-8] ldr w1, [x9, #20] ldur x9, [x29, #-24] ldr w2, [x9, #20] ldr w3, [x8] bl _bitmap_andnot ldr x8, [sp, #32] ; 8-byte Folded Reload ldur x10, [x29, #-8] mov w9, #1 str w9, [x10, #4] ldur x9, [x29, #-24] ldr w9, [x9, #28] ldur x10, [x29, #-8] str w9, [x10, #28] ldur x9, [x29, #-24] ldr w9, [x9, #24] ldur x10, [x29, #-8] str w9, [x10, #24] ldur x9, [x29, #-8] ldr w0, [x9, #20] ldur x9, [x29, #-24] ldr w1, [x9, #20] ldr w2, [x8] bl _bitmap_copy ldr x8, [sp, #32] ; 8-byte Folded Reload ldur x9, [x29, #-8] ldr w0, [x9, #16] ldur x9, [x29, #-24] ldr w1, [x9, #16] ldr w2, [x8] bl _bitmap_copy ldur x0, [x29, #-8] mov w1, #135 bl _uwb_rsv_state_update b LBB0_28 LBB0_22: ldur x8, [x29, #-8] str wzr, [x8, #4] ldur x8, [x29, #-8] ldr x0, [x8, #8] ldur x8, [x29, #-8] add x1, x8, #16 bl _uwb_drp_avail_reserve ldur x0, [x29, #-8] mov w1, #133 bl _uwb_rsv_state_update ldur x0, [x29, #-8] bl _uwb_rsv_callback b LBB0_28 LBB0_23: ldur x0, [x29, #-8] mov w1, #131 bl _uwb_rsv_state_update b LBB0_28 LBB0_24: ldur x0, [x29, #-8] mov w1, #132 bl _uwb_rsv_state_update b LBB0_28 LBB0_25: ldur x0, [x29, #-8] mov w1, #129 bl _uwb_rsv_state_update b LBB0_28 LBB0_26: ldur x9, [x29, #-8] mov w8, #1 str w8, [x9, #4] ldur x8, [x29, #-8] ldr x0, [x8, #8] ldur x1, [x29, #-24] bl _uwb_drp_avail_reserve ldur x0, [x29, #-8] mov w1, #130 bl _uwb_rsv_state_update b LBB0_28 LBB0_27: ldur x8, [x29, #-8] ldr x8, [x8, #8] str x8, [sp, #8] ; 8-byte Folded Spill ldur w0, [x29, #-12] bl _uwb_rsv_state_str mov x2, x0 ldr x0, [sp, #8] ; 8-byte Folded Reload ldur w3, [x29, #-12] adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _dev_err b LBB0_28 LBB0_28: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc .p2align 2 lJTI0_0: .long LBB0_22-Ltmp0 .long LBB0_25-Ltmp0 .long LBB0_26-Ltmp0 .long LBB0_23-Ltmp0 .long LBB0_24-Ltmp0 .long LBB0_22-Ltmp0 .long LBB0_13-Ltmp0 .long LBB0_21-Ltmp0 .long LBB0_19-Ltmp0 .long LBB0_20-Ltmp0 .long LBB0_14-Ltmp0 .long LBB0_12-Ltmp0 .long LBB0_15-Ltmp0 .long LBB0_11-Ltmp0 ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "SC" .comm _UWB_NUM_MAS,4,2 ; @UWB_NUM_MAS l_.str.1: ; @.str.1 .asciz "unhandled state: %s (%d)\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _uwb_rsv_set_state ## -- Begin function uwb_rsv_set_state .p2align 4, 0x90 _uwb_rsv_set_state: ## @uwb_rsv_set_state .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rdi, -8(%rbp) movl %esi, -12(%rbp) movq -8(%rbp), %rax addq $32, %rax movq %rax, -24(%rbp) movq -8(%rbp), %rax movl (%rax), %eax cmpl -12(%rbp), %eax jne LBB0_5 ## %bb.1: movq -8(%rbp), %rax movl (%rax), %eax movl %eax, -28(%rbp) ## 4-byte Spill subl $128, %eax je LBB0_2 jmp LBB0_25 LBB0_25: movl -28(%rbp), %eax ## 4-byte Reload subl $130, %eax je LBB0_2 jmp LBB0_26 LBB0_26: movl -28(%rbp), %eax ## 4-byte Reload subl $133, %eax je LBB0_2 jmp LBB0_27 LBB0_27: movl -28(%rbp), %eax ## 4-byte Reload addl $-135, %eax subl $3, %eax jb LBB0_2 jmp LBB0_28 LBB0_28: movl -28(%rbp), %eax ## 4-byte Reload addl $-140, %eax subl $1, %eax ja LBB0_3 jmp LBB0_2 LBB0_2: movq -8(%rbp), %rdi callq _uwb_rsv_stroke_timer jmp LBB0_4 LBB0_3: jmp LBB0_4 LBB0_4: jmp LBB0_23 LBB0_5: movq -8(%rbp), %rsi leaq L_.str(%rip), %rdi callq _uwb_rsv_dump movl -12(%rbp), %eax addl $-128, %eax movl %eax, %ecx movq %rcx, -40(%rbp) ## 8-byte Spill subl $13, %eax ja LBB0_22 ## %bb.24: movq -40(%rbp), %rax ## 8-byte Reload leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_6: movq -8(%rbp), %rdi movl $141, %esi callq _uwb_rsv_state_update movq -8(%rbp), %rdi callq _uwb_rsv_callback jmp LBB0_23 LBB0_7: movq -8(%rbp), %rdi movl $139, %esi callq _uwb_rsv_state_update jmp LBB0_23 LBB0_8: movq -8(%rbp), %rdi movl $134, %esi callq _uwb_rsv_state_update jmp LBB0_23 LBB0_9: movq -8(%rbp), %rax movl 20(%rax), %edi movq -8(%rbp), %rax movl 20(%rax), %esi movq -24(%rbp), %rax movl 4(%rax), %edx movq _UWB_NUM_MAS@GOTPCREL(%rip), %rax movl (%rax), %ecx callq _bitmap_andnot movq -8(%rbp), %rdi movl $138, %esi callq _uwb_rsv_state_update jmp LBB0_23 LBB0_10: movq -8(%rbp), %rax cmpl $138, (%rax) je LBB0_12 ## %bb.11: movq -8(%rbp), %rax cmpl $135, (%rax) jne LBB0_13 LBB0_12: movq -8(%rbp), %rax movq 8(%rax), %rdi movq -24(%rbp), %rsi callq _uwb_drp_avail_release movq -8(%rbp), %rax movl $0, 4(%rax) LBB0_13: movq -8(%rbp), %rax movq 8(%rax), %rdi movq -8(%rbp), %rsi addq $16, %rsi callq _uwb_drp_avail_reserve movq -8(%rbp), %rdi movl $140, %esi callq _uwb_rsv_state_update movq -8(%rbp), %rdi callq _uwb_rsv_callback jmp LBB0_23 LBB0_14: movq -8(%rbp), %rax movl $1, 4(%rax) movq -8(%rbp), %rdi movl $136, %esi callq _uwb_rsv_state_update jmp LBB0_23 LBB0_15: movq -8(%rbp), %rax movl $0, 4(%rax) movq -8(%rbp), %rax movq 8(%rax), %rdi movq -24(%rbp), %rsi callq _uwb_drp_avail_reserve movq -8(%rbp), %rax movl 20(%rax), %edi movq -8(%rbp), %rax movl 20(%rax), %esi movq -24(%rbp), %rax movl 4(%rax), %edx movq _UWB_NUM_MAS@GOTPCREL(%rip), %rax movl (%rax), %ecx callq _bitmap_or movq -24(%rbp), %rax movl 12(%rax), %ecx movq -8(%rbp), %rax addl 28(%rax), %ecx movl %ecx, 28(%rax) movq -24(%rbp), %rax movl 8(%rax), %ecx movq -8(%rbp), %rax addl 24(%rax), %ecx movl %ecx, 24(%rax) movq -8(%rbp), %rdi movl $137, %esi callq _uwb_rsv_state_update jmp LBB0_23 LBB0_16: movq -24(%rbp), %rax movl 4(%rax), %edi movq -8(%rbp), %rax movl 20(%rax), %esi movq -24(%rbp), %rax movl 20(%rax), %edx movq _UWB_NUM_MAS@GOTPCREL(%rip), %rax movl (%rax), %ecx callq _bitmap_andnot movq -8(%rbp), %rax movl $1, 4(%rax) movq -24(%rbp), %rax movl 28(%rax), %ecx movq -8(%rbp), %rax movl %ecx, 28(%rax) movq -24(%rbp), %rax movl 24(%rax), %ecx movq -8(%rbp), %rax movl %ecx, 24(%rax) movq -8(%rbp), %rax movl 20(%rax), %edi movq -24(%rbp), %rax movl 20(%rax), %esi movq _UWB_NUM_MAS@GOTPCREL(%rip), %rax movl (%rax), %edx callq _bitmap_copy movq -8(%rbp), %rax movl 16(%rax), %edi movq -24(%rbp), %rax movl 16(%rax), %esi movq _UWB_NUM_MAS@GOTPCREL(%rip), %rax movl (%rax), %edx callq _bitmap_copy movq -8(%rbp), %rdi movl $135, %esi callq _uwb_rsv_state_update jmp LBB0_23 LBB0_17: movq -8(%rbp), %rax movl $0, 4(%rax) movq -8(%rbp), %rax movq 8(%rax), %rdi movq -8(%rbp), %rsi addq $16, %rsi callq _uwb_drp_avail_reserve movq -8(%rbp), %rdi movl $133, %esi callq _uwb_rsv_state_update movq -8(%rbp), %rdi callq _uwb_rsv_callback jmp LBB0_23 LBB0_18: movq -8(%rbp), %rdi movl $131, %esi callq _uwb_rsv_state_update jmp LBB0_23 LBB0_19: movq -8(%rbp), %rdi movl $132, %esi callq _uwb_rsv_state_update jmp LBB0_23 LBB0_20: movq -8(%rbp), %rdi movl $129, %esi callq _uwb_rsv_state_update jmp LBB0_23 LBB0_21: movq -8(%rbp), %rax movl $1, 4(%rax) movq -8(%rbp), %rax movq 8(%rax), %rdi movq -24(%rbp), %rsi callq _uwb_drp_avail_reserve movq -8(%rbp), %rdi movl $130, %esi callq _uwb_rsv_state_update jmp LBB0_23 LBB0_22: movq -8(%rbp), %rax movq 8(%rax), %rax movq %rax, -48(%rbp) ## 8-byte Spill movl -12(%rbp), %edi callq _uwb_rsv_state_str movq -48(%rbp), %rdi ## 8-byte Reload movl %eax, %edx movl -12(%rbp), %ecx leaq L_.str.1(%rip), %rsi callq _dev_err LBB0_23: addq $48, %rsp popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_17, LBB0_17-LJTI0_0 .set L0_0_set_20, LBB0_20-LJTI0_0 .set L0_0_set_21, LBB0_21-LJTI0_0 .set L0_0_set_18, LBB0_18-LJTI0_0 .set L0_0_set_19, LBB0_19-LJTI0_0 .set L0_0_set_8, LBB0_8-LJTI0_0 .set L0_0_set_16, LBB0_16-LJTI0_0 .set L0_0_set_14, LBB0_14-LJTI0_0 .set L0_0_set_15, LBB0_15-LJTI0_0 .set L0_0_set_9, LBB0_9-LJTI0_0 .set L0_0_set_7, LBB0_7-LJTI0_0 .set L0_0_set_10, LBB0_10-LJTI0_0 .set L0_0_set_6, LBB0_6-LJTI0_0 LJTI0_0: .long L0_0_set_17 .long L0_0_set_20 .long L0_0_set_21 .long L0_0_set_18 .long L0_0_set_19 .long L0_0_set_17 .long L0_0_set_8 .long L0_0_set_16 .long L0_0_set_14 .long L0_0_set_15 .long L0_0_set_9 .long L0_0_set_7 .long L0_0_set_10 .long L0_0_set_6 .end_data_region ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "SC" .comm _UWB_NUM_MAS,4,2 ## @UWB_NUM_MAS L_.str.1: ## @.str.1 .asciz "unhandled state: %s (%d)\n" .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/uwb/extr_rsv.c_uwb_rsv_set_state.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function locateBuffDiff _locateBuffDiff: ; @locateBuffDiff .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 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 stur x0, [x29, #-8] stur x1, [x29, #-16] stur x2, [x29, #-24] stur x3, [x29, #-32] adrp x8, _displayLevel@GOTPAGE ldr x8, [x8, _displayLevel@GOTPAGEOFF] ldr w8, [x8] subs w8, w8, #5 cset w8, lt tbnz w8, #0, LBB0_11 b LBB0_1 LBB0_1: stur xzr, [x29, #-40] ldur x8, [x29, #-8] str x8, [sp, #48] ldur x8, [x29, #-16] str x8, [sp, #40] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _DISPLAY ldur x8, [x29, #-32] adrp x9, _o_contiguous@GOTPAGE ldr x9, [x9, _o_contiguous@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ldur x10, [x29, #-32] ldur x8, [x29, #-24] mov x9, sp str x10, [x9] str x8, [x9, #8] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _DISPLAY b LBB0_11 LBB0_3: b LBB0_4 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldur x8, [x29, #-40] ldur x9, [x29, #-24] subs x8, x8, x9 cset w8, hs mov w9, #0 str w9, [sp, #36] ; 4-byte Folded Spill tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [sp, #48] ldur x9, [x29, #-40] ldr x8, [x8, x9, lsl #3] ldr x9, [sp, #40] ldur x10, [x29, #-40] ldr x9, [x9, x10, lsl #3] subs x8, x8, x9 cset w8, eq str w8, [sp, #36] ; 4-byte Folded Spill b LBB0_6 LBB0_6: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [sp, #36] ; 4-byte Folded Reload tbz w8, #0, LBB0_8 b LBB0_7 LBB0_7: ; in Loop: Header=BB0_4 Depth=1 ldur x8, [x29, #-40] add x8, x8, #1 stur x8, [x29, #-40] b LBB0_4 LBB0_8: ldur x8, [x29, #-40] ldur x9, [x29, #-24] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_9 LBB0_9: ldur x12, [x29, #-40] ldur x11, [x29, #-24] ldr x8, [sp, #48] ldur x9, [x29, #-40] ldr x10, [x8, x9, lsl #3] ldr x8, [sp, #40] ldur x9, [x29, #-40] ldr x8, [x8, x9, lsl #3] mov x9, sp str x12, [x9] str x11, [x9, #8] str x10, [x9, #16] str x8, [x9, #24] adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _DISPLAY b LBB0_10 LBB0_10: b LBB0_11 LBB0_11: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload add sp, sp, #112 ret .cfi_endproc ; -- End function .comm _displayLevel,4,2 ; @displayLevel .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "locateBuffDiff: looking for error position \n" .comm _o_contiguous,8,3 ; @o_contiguous l_.str.1: ; @.str.1 .asciz "mode %i: non-contiguous output (%u bytes), cannot search \n" l_.str.2: ; @.str.2 .asciz "Error at pos %i/%i : %02X != %02X \n" .no_dead_strip _locateBuffDiff .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function locateBuffDiff _locateBuffDiff: ## @locateBuffDiff .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movq %rcx, -32(%rbp) movq _displayLevel@GOTPCREL(%rip), %rax cmpl $5, (%rax) jl LBB0_11 ## %bb.1: movq $0, -40(%rbp) movq -8(%rbp), %rax movq %rax, -48(%rbp) movq -16(%rbp), %rax movq %rax, -56(%rbp) leaq L_.str(%rip), %rdi movb $0, %al callq _DISPLAY movq -32(%rbp), %rax movq _o_contiguous@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_3 ## %bb.2: movq -32(%rbp), %rax movl %eax, %esi movq -24(%rbp), %rax movl %eax, %edx leaq L_.str.1(%rip), %rdi movb $0, %al callq _DISPLAY jmp LBB0_11 LBB0_3: jmp LBB0_4 LBB0_4: ## =>This Inner Loop Header: Depth=1 movq -40(%rbp), %rcx xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpq -24(%rbp), %rcx movb %al, -57(%rbp) ## 1-byte Spill jae LBB0_6 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movq -48(%rbp), %rax movq -40(%rbp), %rcx movq (%rax,%rcx,8), %rax movq -56(%rbp), %rcx movq -40(%rbp), %rdx cmpq (%rcx,%rdx,8), %rax sete %al movb %al, -57(%rbp) ## 1-byte Spill LBB0_6: ## in Loop: Header=BB0_4 Depth=1 movb -57(%rbp), %al ## 1-byte Reload testb $1, %al jne LBB0_7 jmp LBB0_8 LBB0_7: ## in Loop: Header=BB0_4 Depth=1 movq -40(%rbp), %rax addq $1, %rax movq %rax, -40(%rbp) jmp LBB0_4 LBB0_8: movq -40(%rbp), %rax cmpq -24(%rbp), %rax je LBB0_10 ## %bb.9: movq -40(%rbp), %rax movl %eax, %esi movq -24(%rbp), %rax movl %eax, %edx movq -48(%rbp), %rax movq -40(%rbp), %rcx movq (%rax,%rcx,8), %rcx movq -56(%rbp), %rax movq -40(%rbp), %rdi movq (%rax,%rdi,8), %r8 leaq L_.str.2(%rip), %rdi movb $0, %al callq _DISPLAY LBB0_10: jmp LBB0_11 LBB0_11: addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _displayLevel,4,2 ## @displayLevel .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "locateBuffDiff: looking for error position \n" .comm _o_contiguous,8,3 ## @o_contiguous L_.str.1: ## @.str.1 .asciz "mode %i: non-contiguous output (%u bytes), cannot search \n" L_.str.2: ## @.str.2 .asciz "Error at pos %i/%i : %02X != %02X \n" .no_dead_strip _locateBuffDiff .subsections_via_symbols
AnghaBench/lz4/tests/extr_frametest.c_locateBuffDiff.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _openp ; -- Begin function openp .p2align 2 _openp: ; @openp .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 stur x0, [x29, #-16] str x1, [sp, #24] str x2, [sp, #16] str w3, [sp, #12] str w4, [sp, #8] ldr w8, [sp, #12] adrp x9, _flgs@GOTPAGE ldr x9, [x9, _flgs@GOTPAGEOFF] str w8, [x9] ldr w8, [sp, #8] adrp x9, _mod@GOTPAGE ldr x9, [x9, _mod@GOTPAGEOFF] str w8, [x9] ldur x0, [x29, #-16] ldr x1, [sp, #24] ldr x2, [sp, #16] adrp x8, _func@GOTPAGE ldr x8, [x8, _func@GOTPAGEOFF] ldr w3, [x8] bl _searchp subs x8, x0, #0 cset w8, ge tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: mov w8, #-1 stur w8, [x29, #-4] b LBB0_3 LBB0_2: adrp x8, _value@GOTPAGE ldr x8, [x8, _value@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-4] b LBB0_3 LBB0_3: ldur w0, [x29, #-4] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _flgs,4,2 ; @flgs .comm _mod,4,2 ; @mod .comm _func,4,2 ; @func .comm _value,4,2 ; @value .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _openp ## -- Begin function openp .p2align 4, 0x90 _openp: ## @openp .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) movq %rdx, -32(%rbp) movl %ecx, -36(%rbp) movl %r8d, -40(%rbp) movl -36(%rbp), %ecx movq _flgs@GOTPCREL(%rip), %rax movl %ecx, (%rax) movl -40(%rbp), %ecx movq _mod@GOTPCREL(%rip), %rax movl %ecx, (%rax) movq -16(%rbp), %rdi movq -24(%rbp), %rsi movq -32(%rbp), %rdx movq _func@GOTPCREL(%rip), %rax movl (%rax), %ecx callq _searchp cmpq $0, %rax jge LBB0_2 ## %bb.1: movl $-1, -4(%rbp) jmp LBB0_3 LBB0_2: movq _value@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) LBB0_3: movl -4(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _flgs,4,2 ## @flgs .comm _mod,4,2 ## @mod .comm _func,4,2 ## @func .comm _value,4,2 ## @value .subsections_via_symbols
AnghaBench/darwin-xnu/SETUP/config/extr_openp.c_openp.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _btsnd_hcic_write_scan_enable ; -- Begin function btsnd_hcic_write_scan_enable .p2align 2 _btsnd_hcic_write_scan_enable: ; @btsnd_hcic_write_scan_enable .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 adrp x8, _HCIC_PARAM_SIZE_WRITE_PARAM1@GOTPAGE ldr x8, [x8, _HCIC_PARAM_SIZE_WRITE_PARAM1@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill stur x0, [x29, #-16] ldr x0, [x8] bl _HCI_GET_CMD_BUF mov x8, x0 str x8, [sp, #24] subs x8, x0, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _FALSE@GOTPAGE ldr x8, [x8, _FALSE@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-4] b LBB0_3 LBB0_2: ldr x9, [sp, #8] ; 8-byte Folded Reload ldr x8, [sp, #24] add x8, x8, #16 str x8, [sp, #16] adrp x8, _HCIC_PREAMBLE_SIZE@GOTPAGE ldr x8, [x8, _HCIC_PREAMBLE_SIZE@GOTPAGEOFF] ldr x8, [x8] ldr x9, [x9] add x8, x8, x9 ldr x9, [sp, #24] str x8, [x9, #8] ldr x8, [sp, #24] str xzr, [x8] ldr x0, [sp, #16] adrp x8, _HCI_WRITE_SCAN_ENABLE@GOTPAGE ldr x8, [x8, _HCI_WRITE_SCAN_ENABLE@GOTPAGEOFF] ldr w1, [x8] bl _UINT16_TO_STREAM ldr x8, [sp, #8] ; 8-byte Folded Reload ldr x0, [sp, #16] ldr x1, [x8] bl _UINT8_TO_STREAM ldr x0, [sp, #16] ldur x1, [x29, #-16] bl _UINT8_TO_STREAM adrp x8, _LOCAL_BR_EDR_CONTROLLER_ID@GOTPAGE ldr x8, [x8, _LOCAL_BR_EDR_CONTROLLER_ID@GOTPAGEOFF] ldr w0, [x8] ldr x1, [sp, #24] bl _btu_hcif_send_cmd adrp x8, _TRUE@GOTPAGE ldr x8, [x8, _TRUE@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-4] b LBB0_3 LBB0_3: ldur w0, [x29, #-4] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _HCIC_PARAM_SIZE_WRITE_PARAM1,8,3 ; @HCIC_PARAM_SIZE_WRITE_PARAM1 .comm _FALSE,4,2 ; @FALSE .comm _HCIC_PREAMBLE_SIZE,8,3 ; @HCIC_PREAMBLE_SIZE .comm _HCI_WRITE_SCAN_ENABLE,4,2 ; @HCI_WRITE_SCAN_ENABLE .comm _LOCAL_BR_EDR_CONTROLLER_ID,4,2 ; @LOCAL_BR_EDR_CONTROLLER_ID .comm _TRUE,4,2 ; @TRUE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _btsnd_hcic_write_scan_enable ## -- Begin function btsnd_hcic_write_scan_enable .p2align 4, 0x90 _btsnd_hcic_write_scan_enable: ## @btsnd_hcic_write_scan_enable .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -16(%rbp) movq _HCIC_PARAM_SIZE_WRITE_PARAM1@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _HCI_GET_CMD_BUF movq %rax, -24(%rbp) cmpq $0, %rax jne LBB0_2 ## %bb.1: movq _FALSE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_3 LBB0_2: movq -24(%rbp), %rax addq $16, %rax movq %rax, -32(%rbp) movq _HCIC_PREAMBLE_SIZE@GOTPCREL(%rip), %rax movq (%rax), %rcx movq _HCIC_PARAM_SIZE_WRITE_PARAM1@GOTPCREL(%rip), %rax addq (%rax), %rcx movq -24(%rbp), %rax movq %rcx, 8(%rax) movq -24(%rbp), %rax movq $0, (%rax) movq -32(%rbp), %rdi movq _HCI_WRITE_SCAN_ENABLE@GOTPCREL(%rip), %rax movl (%rax), %esi callq _UINT16_TO_STREAM movq -32(%rbp), %rdi movq _HCIC_PARAM_SIZE_WRITE_PARAM1@GOTPCREL(%rip), %rax movq (%rax), %rsi callq _UINT8_TO_STREAM movq -32(%rbp), %rdi movq -16(%rbp), %rsi callq _UINT8_TO_STREAM movq _LOCAL_BR_EDR_CONTROLLER_ID@GOTPCREL(%rip), %rax movl (%rax), %edi movq -24(%rbp), %rsi callq _btu_hcif_send_cmd movq _TRUE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) LBB0_3: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _HCIC_PARAM_SIZE_WRITE_PARAM1,8,3 ## @HCIC_PARAM_SIZE_WRITE_PARAM1 .comm _FALSE,4,2 ## @FALSE .comm _HCIC_PREAMBLE_SIZE,8,3 ## @HCIC_PREAMBLE_SIZE .comm _HCI_WRITE_SCAN_ENABLE,4,2 ## @HCI_WRITE_SCAN_ENABLE .comm _LOCAL_BR_EDR_CONTROLLER_ID,4,2 ## @LOCAL_BR_EDR_CONTROLLER_ID .comm _TRUE,4,2 ## @TRUE .subsections_via_symbols
AnghaBench/esp-idf/components/bt/host/bluedroid/stack/hcic/extr_hcicmds.c_btsnd_hcic_write_scan_enable.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function unicode_to_utf16be _unicode_to_utf16be: ; @unicode_to_utf16be .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 str x0, [sp, #16] str w1, [sp, #12] ldr x8, [sp, #16] str x8, [sp] ldr w8, [sp, #12] subs w8, w8, #16, lsl #12 ; =65536 cset w8, lt tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr w8, [sp, #12] subs w8, w8, #16, lsl #12 ; =65536 str w8, [sp, #12] ldr x0, [sp] ldr w8, [sp, #12] asr w8, w8, #10 and w8, w8, #0x3ff mov w9, #55296 add w1, w8, w9 bl _archive_be16enc ldr x8, [sp] add x0, x8, #2 ldr w8, [sp, #12] and w8, w8, #0x3ff mov w9, #56320 add w1, w8, w9 bl _archive_be16enc mov w8, #4 stur w8, [x29, #-4] b LBB0_3 LBB0_2: ldr x0, [sp] ldr w1, [sp, #12] bl _archive_be16enc mov w8, #2 stur w8, [x29, #-4] b LBB0_3 LBB0_3: ldur w0, [x29, #-4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .no_dead_strip _unicode_to_utf16be .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function unicode_to_utf16be _unicode_to_utf16be: ## @unicode_to_utf16be .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -16(%rbp) movl %esi, -20(%rbp) movq -16(%rbp), %rax movq %rax, -32(%rbp) cmpl $65535, -20(%rbp) ## imm = 0xFFFF jle LBB0_2 ## %bb.1: movl -20(%rbp), %eax subl $65536, %eax ## imm = 0x10000 movl %eax, -20(%rbp) movq -32(%rbp), %rdi movl -20(%rbp), %esi sarl $10, %esi andl $1023, %esi ## imm = 0x3FF addl $55296, %esi ## imm = 0xD800 callq _archive_be16enc movq -32(%rbp), %rdi addq $2, %rdi movl -20(%rbp), %esi andl $1023, %esi ## imm = 0x3FF addl $56320, %esi ## imm = 0xDC00 callq _archive_be16enc movl $4, -4(%rbp) jmp LBB0_3 LBB0_2: movq -32(%rbp), %rdi movl -20(%rbp), %esi callq _archive_be16enc movl $2, -4(%rbp) LBB0_3: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _unicode_to_utf16be .subsections_via_symbols
AnghaBench/freebsd/contrib/libarchive/libarchive/test/extr_test_archive_string_conversion.c_unicode_to_utf16be.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function qcaspi_qca7k_sync _qcaspi_qca7k_sync: ; @qcaspi_qca7k_sync .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 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 adrp x8, _SPI_REG_SIGNATURE@GOTPAGE ldr x8, [x8, _SPI_REG_SIGNATURE@GOTPAGEOFF] str x8, [sp, #40] ; 8-byte Folded Spill adrp x8, _QCASPI_GOOD_SIGNATURE@GOTPAGE ldr x8, [x8, _QCASPI_GOOD_SIGNATURE@GOTPAGEOFF] str x8, [sp, #48] ; 8-byte Folded Spill stur x0, [x29, #-8] stur w1, [x29, #-12] stur xzr, [x29, #-24] stur xzr, [x29, #-40] ldur w8, [x29, #-12] adrp x9, _QCASPI_EVENT_CPUON@GOTPAGE ldr x9, [x9, _QCASPI_EVENT_CPUON@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_8 b LBB0_1 LBB0_1: ldr x8, [sp, #40] ; 8-byte Folded Reload ldur x0, [x29, #-8] ldr w1, [x8] sub x2, x29, #24 str x2, [sp, #32] ; 8-byte Folded Spill bl _qcaspi_read_register ldr x8, [sp, #40] ; 8-byte Folded Reload ldr x2, [sp, #32] ; 8-byte Folded Reload ldur x0, [x29, #-8] ldr w1, [x8] bl _qcaspi_read_register ldr x9, [sp, #48] ; 8-byte Folded Reload ldur x8, [x29, #-24] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ldur x9, [x29, #-8] mov w8, #128 str w8, [x9] ldur x8, [x29, #-8] ldr w0, [x8, #4] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _netdev_dbg b LBB0_7 LBB0_3: ldur x0, [x29, #-8] adrp x8, _SPI_REG_WRBUF_SPC_AVA@GOTPAGE ldr x8, [x8, _SPI_REG_WRBUF_SPC_AVA@GOTPAGEOFF] ldr w1, [x8] sub x2, x29, #40 bl _qcaspi_read_register ldur x8, [x29, #-40] adrp x9, _QCASPI_HW_BUF_LEN@GOTPAGE ldr x9, [x9, _QCASPI_HW_BUF_LEN@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ldur x8, [x29, #-8] ldr w0, [x8, #4] adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _netdev_dbg ldur x9, [x29, #-8] mov w8, #128 str w8, [x9] b LBB0_6 LBB0_5: ldur x8, [x29, #-8] ldr w0, [x8, #4] adrp x1, l_.str.2@PAGE add x1, x1, l_.str.2@PAGEOFF bl _netdev_dbg ldur x9, [x29, #-8] mov w8, #130 str w8, [x9] b LBB0_20 LBB0_6: b LBB0_7 LBB0_7: b LBB0_8 LBB0_8: ldur x8, [x29, #-8] ldr w8, [x8] str w8, [sp, #28] ; 4-byte Folded Spill subs w8, w8, #128 cset w8, eq tbnz w8, #0, LBB0_14 b LBB0_9 LBB0_9: ldr w8, [sp, #28] ; 4-byte Folded Reload subs w8, w8, #129 cset w8, eq tbnz w8, #0, LBB0_17 b LBB0_10 LBB0_10: ldr w8, [sp, #28] ; 4-byte Folded Reload subs w8, w8, #130 cset w8, ne tbnz w8, #0, LBB0_20 b LBB0_11 LBB0_11: ldr x8, [sp, #40] ; 8-byte Folded Reload ldur x0, [x29, #-8] ldr w1, [x8] sub x2, x29, #24 bl _qcaspi_read_register ldr x9, [sp, #48] ; 8-byte Folded Reload ldur x8, [x29, #-24] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_13 b LBB0_12 LBB0_12: ldur x9, [x29, #-8] mov w8, #128 str w8, [x9] ldur x8, [x29, #-8] ldr w0, [x8, #4] adrp x1, l_.str.3@PAGE add x1, x1, l_.str.3@PAGEOFF bl _netdev_dbg b LBB0_20 LBB0_13: b LBB0_20 LBB0_14: ldr x8, [sp, #40] ; 8-byte Folded Reload ldur x0, [x29, #-8] ldr w1, [x8] sub x2, x29, #24 bl _qcaspi_read_register ldr x9, [sp, #48] ; 8-byte Folded Reload ldur x8, [x29, #-24] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_16 b LBB0_15 LBB0_15: ldur x8, [x29, #-8] ldr w0, [x8, #4] adrp x1, l_.str.4@PAGE add x1, x1, l_.str.4@PAGEOFF bl _netdev_dbg b LBB0_20 LBB0_16: ldur x8, [x29, #-8] ldr w0, [x8, #4] adrp x1, l_.str.5@PAGE add x1, x1, l_.str.5@PAGEOFF bl _netdev_dbg ldur x0, [x29, #-8] adrp x8, _SPI_REG_SPI_CONFIG@GOTPAGE ldr x8, [x8, _SPI_REG_SPI_CONFIG@GOTPAGEOFF] str x8, [sp, #16] ; 8-byte Folded Spill ldr w1, [x8] sub x2, x29, #32 bl _qcaspi_read_register ldr x8, [sp, #16] ; 8-byte Folded Reload adrp x9, _QCASPI_SLAVE_RESET_BIT@GOTPAGE ldr x9, [x9, _QCASPI_SLAVE_RESET_BIT@GOTPAGEOFF] ldr x10, [x9] ldur x9, [x29, #-32] orr x9, x9, x10 stur x9, [x29, #-32] ldur x0, [x29, #-8] ldr w1, [x8] ldur x2, [x29, #-32] mov w3, #0 bl _qcaspi_write_register ldur x9, [x29, #-8] mov w8, #129 str w8, [x9] ldur x9, [x29, #-8] ldr w8, [x9, #12] add w8, w8, #1 str w8, [x9, #12] adrp x8, _qcaspi_qca7k_sync.reset_count@PAGE str xzr, [x8, _qcaspi_qca7k_sync.reset_count@PAGEOFF] b LBB0_20 LBB0_17: adrp x8, _qcaspi_qca7k_sync.reset_count@PAGE str x8, [sp, #8] ; 8-byte Folded Spill ldr x9, [x8, _qcaspi_qca7k_sync.reset_count@PAGEOFF] add x9, x9, #1 str x9, [x8, _qcaspi_qca7k_sync.reset_count@PAGEOFF] ldur x9, [x29, #-8] ldr w0, [x9, #4] ldr x8, [x8, _qcaspi_qca7k_sync.reset_count@PAGEOFF] mov x9, sp str x8, [x9] adrp x1, l_.str.6@PAGE add x1, x1, l_.str.6@PAGEOFF bl _netdev_dbg ldr x8, [sp, #8] ; 8-byte Folded Reload ldr x8, [x8, _qcaspi_qca7k_sync.reset_count@PAGEOFF] adrp x9, _QCASPI_RESET_TIMEOUT@GOTPAGE ldr x9, [x9, _QCASPI_RESET_TIMEOUT@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, lt tbnz w8, #0, LBB0_19 b LBB0_18 LBB0_18: ldur x9, [x29, #-8] mov w8, #128 str w8, [x9] ldur x9, [x29, #-8] ldr w8, [x9, #8] add w8, w8, #1 str w8, [x9, #8] ldur x8, [x29, #-8] ldr w0, [x8, #4] adrp x1, l_.str.7@PAGE add x1, x1, l_.str.7@PAGEOFF bl _netdev_dbg b LBB0_19 LBB0_19: b LBB0_20 LBB0_20: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload add sp, sp, #112 ret .cfi_endproc ; -- End function .zerofill __DATA,__bss,_qcaspi_qca7k_sync.reset_count,8,3 ; @qcaspi_qca7k_sync.reset_count .comm _QCASPI_EVENT_CPUON,4,2 ; @QCASPI_EVENT_CPUON .comm _SPI_REG_SIGNATURE,4,2 ; @SPI_REG_SIGNATURE .comm _QCASPI_GOOD_SIGNATURE,8,3 ; @QCASPI_GOOD_SIGNATURE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "sync: got CPU on, but signature was invalid, restart\n" .comm _SPI_REG_WRBUF_SPC_AVA,4,2 ; @SPI_REG_WRBUF_SPC_AVA .comm _QCASPI_HW_BUF_LEN,8,3 ; @QCASPI_HW_BUF_LEN l_.str.1: ; @.str.1 .asciz "sync: got CPU on, but wrbuf not empty. reset!\n" l_.str.2: ; @.str.2 .asciz "sync: got CPU on, now in sync\n" l_.str.3: ; @.str.3 .asciz "sync: bad signature, restart\n" l_.str.4: ; @.str.4 .asciz "sync: could not read signature to reset device, retry.\n" l_.str.5: ; @.str.5 .asciz "sync: resetting device.\n" .comm _SPI_REG_SPI_CONFIG,4,2 ; @SPI_REG_SPI_CONFIG .comm _QCASPI_SLAVE_RESET_BIT,8,3 ; @QCASPI_SLAVE_RESET_BIT l_.str.6: ; @.str.6 .asciz "sync: waiting for CPU on, count %u.\n" .comm _QCASPI_RESET_TIMEOUT,8,3 ; @QCASPI_RESET_TIMEOUT l_.str.7: ; @.str.7 .asciz "sync: reset timeout, restarting process.\n" .no_dead_strip _qcaspi_qca7k_sync .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function qcaspi_qca7k_sync _qcaspi_qca7k_sync: ## @qcaspi_qca7k_sync .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rdi, -8(%rbp) movl %esi, -12(%rbp) movq $0, -24(%rbp) movq $0, -40(%rbp) movl -12(%rbp), %eax movq _QCASPI_EVENT_CPUON@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_8 ## %bb.1: movq -8(%rbp), %rdi movq _SPI_REG_SIGNATURE@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -24(%rbp), %rdx callq _qcaspi_read_register movq -8(%rbp), %rdi movq _SPI_REG_SIGNATURE@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -24(%rbp), %rdx callq _qcaspi_read_register movq -24(%rbp), %rax movq _QCASPI_GOOD_SIGNATURE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_3 ## %bb.2: movq -8(%rbp), %rax movl $128, (%rax) movq -8(%rbp), %rax movl 4(%rax), %edi leaq L_.str(%rip), %rsi movb $0, %al callq _netdev_dbg jmp LBB0_7 LBB0_3: movq -8(%rbp), %rdi movq _SPI_REG_WRBUF_SPC_AVA@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -40(%rbp), %rdx callq _qcaspi_read_register movq -40(%rbp), %rax movq _QCASPI_HW_BUF_LEN@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_5 ## %bb.4: movq -8(%rbp), %rax movl 4(%rax), %edi leaq L_.str.1(%rip), %rsi movb $0, %al callq _netdev_dbg movq -8(%rbp), %rax movl $128, (%rax) jmp LBB0_6 LBB0_5: movq -8(%rbp), %rax movl 4(%rax), %edi leaq L_.str.2(%rip), %rsi movb $0, %al callq _netdev_dbg movq -8(%rbp), %rax movl $130, (%rax) jmp LBB0_18 LBB0_6: jmp LBB0_7 LBB0_7: jmp LBB0_8 LBB0_8: movq -8(%rbp), %rax movl (%rax), %eax movl %eax, -44(%rbp) ## 4-byte Spill subl $128, %eax je LBB0_12 jmp LBB0_19 LBB0_19: movl -44(%rbp), %eax ## 4-byte Reload subl $129, %eax je LBB0_15 jmp LBB0_20 LBB0_20: movl -44(%rbp), %eax ## 4-byte Reload subl $130, %eax jne LBB0_18 jmp LBB0_9 LBB0_9: movq -8(%rbp), %rdi movq _SPI_REG_SIGNATURE@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -24(%rbp), %rdx callq _qcaspi_read_register movq -24(%rbp), %rax movq _QCASPI_GOOD_SIGNATURE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_11 ## %bb.10: movq -8(%rbp), %rax movl $128, (%rax) movq -8(%rbp), %rax movl 4(%rax), %edi leaq L_.str.3(%rip), %rsi movb $0, %al callq _netdev_dbg jmp LBB0_18 LBB0_11: jmp LBB0_18 LBB0_12: movq -8(%rbp), %rdi movq _SPI_REG_SIGNATURE@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -24(%rbp), %rdx callq _qcaspi_read_register movq -24(%rbp), %rax movq _QCASPI_GOOD_SIGNATURE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_14 ## %bb.13: movq -8(%rbp), %rax movl 4(%rax), %edi leaq L_.str.4(%rip), %rsi movb $0, %al callq _netdev_dbg jmp LBB0_18 LBB0_14: movq -8(%rbp), %rax movl 4(%rax), %edi leaq L_.str.5(%rip), %rsi movb $0, %al callq _netdev_dbg movq -8(%rbp), %rdi movq _SPI_REG_SPI_CONFIG@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -32(%rbp), %rdx callq _qcaspi_read_register movq _QCASPI_SLAVE_RESET_BIT@GOTPCREL(%rip), %rax movq (%rax), %rax orq -32(%rbp), %rax movq %rax, -32(%rbp) movq -8(%rbp), %rdi movq _SPI_REG_SPI_CONFIG@GOTPCREL(%rip), %rax movl (%rax), %esi movq -32(%rbp), %rdx xorl %ecx, %ecx callq _qcaspi_write_register movq -8(%rbp), %rax movl $129, (%rax) movq -8(%rbp), %rax movl 12(%rax), %ecx addl $1, %ecx movl %ecx, 12(%rax) movq $0, _qcaspi_qca7k_sync.reset_count(%rip) jmp LBB0_18 LBB0_15: movq _qcaspi_qca7k_sync.reset_count(%rip), %rax addq $1, %rax movq %rax, _qcaspi_qca7k_sync.reset_count(%rip) movq -8(%rbp), %rax movl 4(%rax), %edi movq _qcaspi_qca7k_sync.reset_count(%rip), %rdx leaq L_.str.6(%rip), %rsi movb $0, %al callq _netdev_dbg movq _qcaspi_qca7k_sync.reset_count(%rip), %rax movq _QCASPI_RESET_TIMEOUT@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jl LBB0_17 ## %bb.16: movq -8(%rbp), %rax movl $128, (%rax) movq -8(%rbp), %rax movl 8(%rax), %ecx addl $1, %ecx movl %ecx, 8(%rax) movq -8(%rbp), %rax movl 4(%rax), %edi leaq L_.str.7(%rip), %rsi movb $0, %al callq _netdev_dbg LBB0_17: jmp LBB0_18 LBB0_18: addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .zerofill __DATA,__bss,_qcaspi_qca7k_sync.reset_count,8,3 ## @qcaspi_qca7k_sync.reset_count .comm _QCASPI_EVENT_CPUON,4,2 ## @QCASPI_EVENT_CPUON .comm _SPI_REG_SIGNATURE,4,2 ## @SPI_REG_SIGNATURE .comm _QCASPI_GOOD_SIGNATURE,8,3 ## @QCASPI_GOOD_SIGNATURE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "sync: got CPU on, but signature was invalid, restart\n" .comm _SPI_REG_WRBUF_SPC_AVA,4,2 ## @SPI_REG_WRBUF_SPC_AVA .comm _QCASPI_HW_BUF_LEN,8,3 ## @QCASPI_HW_BUF_LEN L_.str.1: ## @.str.1 .asciz "sync: got CPU on, but wrbuf not empty. reset!\n" L_.str.2: ## @.str.2 .asciz "sync: got CPU on, now in sync\n" L_.str.3: ## @.str.3 .asciz "sync: bad signature, restart\n" L_.str.4: ## @.str.4 .asciz "sync: could not read signature to reset device, retry.\n" L_.str.5: ## @.str.5 .asciz "sync: resetting device.\n" .comm _SPI_REG_SPI_CONFIG,4,2 ## @SPI_REG_SPI_CONFIG .comm _QCASPI_SLAVE_RESET_BIT,8,3 ## @QCASPI_SLAVE_RESET_BIT L_.str.6: ## @.str.6 .asciz "sync: waiting for CPU on, count %u.\n" .comm _QCASPI_RESET_TIMEOUT,8,3 ## @QCASPI_RESET_TIMEOUT L_.str.7: ## @.str.7 .asciz "sync: reset timeout, restarting process.\n" .no_dead_strip _qcaspi_qca7k_sync .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/qualcomm/extr_qca_spi.c_qcaspi_qca7k_sync.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ctr64_inc _ctr64_inc: ; @ctr64_inc .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, #8] mov w8, #8 str w8, [sp, #4] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #4] subs w8, w8, #1 str w8, [sp, #4] ldr x8, [sp, #8] ldrsw x9, [sp, #4] add x8, x8, x9 ldrb w8, [x8] strb w8, [sp, #3] ldrb w8, [sp, #3] add w8, w8, #1 strb w8, [sp, #3] ldrb w8, [sp, #3] ldr x9, [sp, #8] ldrsw x10, [sp, #4] add x9, x9, x10 strb w8, [x9] ldrb w8, [sp, #3] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: b LBB0_5 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #4] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_1 b LBB0_5 LBB0_5: add sp, sp, #16 ret .cfi_endproc ; -- End function .no_dead_strip _ctr64_inc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ctr64_inc _ctr64_inc: ## @ctr64_inc .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, -8(%rbp) movl $8, -12(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movl -12(%rbp), %eax addl $-1, %eax movl %eax, -12(%rbp) movq -8(%rbp), %rax movslq -12(%rbp), %rcx movb (%rax,%rcx), %al movb %al, -13(%rbp) movb -13(%rbp), %al addb $1, %al movb %al, -13(%rbp) movb -13(%rbp), %dl movq -8(%rbp), %rax movslq -12(%rbp), %rcx movb %dl, (%rax,%rcx) cmpb $0, -13(%rbp) je LBB0_3 ## %bb.2: jmp LBB0_5 LBB0_3: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_4 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 cmpl $0, -12(%rbp) jne LBB0_1 LBB0_5: popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _ctr64_inc .subsections_via_symbols
AnghaBench/openssl/crypto/evp/extr_e_aria.c_ctr64_inc.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function process_regexp_decls _process_regexp_decls: ; @process_regexp_decls .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 stur wzr, [x29, #-12] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-12] adrp x9, _description@GOTPAGE ldr x9, [x9, _description@GOTPAGEOFF] ldr x9, [x9] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_9 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 adrp x8, _description@GOTPAGE ldr x8, [x8, _description@GOTPAGEOFF] ldr x8, [x8] ldr x8, [x8, #8] ldursw x9, [x29, #-12] ldr x8, [x8, x9, lsl #3] stur x8, [x29, #-8] ldur x8, [x29, #-8] ldr x8, [x8] adrp x9, _dm_reserv@GOTPAGE ldr x9, [x9, _dm_reserv@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldur x0, [x29, #-8] bl _DECL_RESERV ldr x0, [x0] bl _process_regexp str x0, [sp, #8] ; 8-byte Folded Spill ldur x0, [x29, #-8] bl _DECL_RESERV mov x8, x0 ldr x0, [sp, #8] ; 8-byte Folded Reload str x0, [x8] b LBB0_7 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 ldur x8, [x29, #-8] ldr x8, [x8] adrp x9, _dm_insn_reserv@GOTPAGE ldr x9, [x9, _dm_insn_reserv@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 ldur x0, [x29, #-8] bl _DECL_INSN_RESERV ldr x0, [x0] bl _process_regexp str x0, [sp] ; 8-byte Folded Spill ldur x0, [x29, #-8] bl _DECL_INSN_RESERV mov x8, x0 ldr x0, [sp] ; 8-byte Folded Reload str x0, [x8] b LBB0_6 LBB0_6: ; in Loop: Header=BB0_1 Depth=1 b LBB0_7 LBB0_7: ; in Loop: Header=BB0_1 Depth=1 b LBB0_8 LBB0_8: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-12] add w8, w8, #1 stur w8, [x29, #-12] b LBB0_1 LBB0_9: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _description,8,3 ; @description .comm _dm_reserv,8,3 ; @dm_reserv .comm _dm_insn_reserv,8,3 ; @dm_insn_reserv .no_dead_strip _process_regexp_decls .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function process_regexp_decls _process_regexp_decls: ## @process_regexp_decls .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movl $0, -12(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movl -12(%rbp), %eax movq _description@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpl (%rcx), %eax jge LBB0_9 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq _description@GOTPCREL(%rip), %rax movq (%rax), %rax movq 8(%rax), %rax movslq -12(%rbp), %rcx movq (%rax,%rcx,8), %rax movq %rax, -8(%rbp) movq -8(%rbp), %rax movq (%rax), %rax movq _dm_reserv@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_4 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movq -8(%rbp), %rdi callq _DECL_RESERV movq (%rax), %rdi callq _process_regexp movq %rax, -24(%rbp) ## 8-byte Spill movq -8(%rbp), %rdi callq _DECL_RESERV movq -24(%rbp), %rcx ## 8-byte Reload movq %rcx, (%rax) jmp LBB0_7 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 movq -8(%rbp), %rax movq (%rax), %rax movq _dm_insn_reserv@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_6 ## %bb.5: ## in Loop: Header=BB0_1 Depth=1 movq -8(%rbp), %rdi callq _DECL_INSN_RESERV movq (%rax), %rdi callq _process_regexp movq %rax, -32(%rbp) ## 8-byte Spill movq -8(%rbp), %rdi callq _DECL_INSN_RESERV movq -32(%rbp), %rcx ## 8-byte Reload movq %rcx, (%rax) LBB0_6: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_7 LBB0_7: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_8 LBB0_8: ## in Loop: Header=BB0_1 Depth=1 movl -12(%rbp), %eax addl $1, %eax movl %eax, -12(%rbp) jmp LBB0_1 LBB0_9: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _description,8,3 ## @description .comm _dm_reserv,8,3 ## @dm_reserv .comm _dm_insn_reserv,8,3 ## @dm_insn_reserv .no_dead_strip _process_regexp_decls .subsections_via_symbols
AnghaBench/freebsd/contrib/gcc/extr_genautomata.c_process_regexp_decls.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function msg_set_hdr_sz _msg_set_hdr_sz: ; @msg_set_hdr_sz .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, #8] str w1, [sp, #4] ldr x0, [sp, #8] ldr w8, [sp, #4] asr w4, w8, #2 mov w1, #0 mov w2, #21 mov w3, #15 bl _msg_set_bits ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _msg_set_hdr_sz .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function msg_set_hdr_sz _msg_set_hdr_sz: ## @msg_set_hdr_sz .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 movq %rdi, -8(%rbp) movl %esi, -12(%rbp) movq -8(%rbp), %rdi movl -12(%rbp), %r8d sarl $2, %r8d xorl %esi, %esi movl $21, %edx movl $15, %ecx callq _msg_set_bits addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _msg_set_hdr_sz .subsections_via_symbols
AnghaBench/fastsocket/kernel/net/tipc/extr_msg.h_msg_set_hdr_sz.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function FSE_abs _FSE_abs: ; @FSE_abs .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 strh w0, [sp, #14] ldrsh w8, [sp, #14] subs w8, w8, #0 cset w8, ge tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldrsh w9, [sp, #14] mov w8, #0 subs w8, w8, w9 str w8, [sp, #8] ; 4-byte Folded Spill b LBB0_3 LBB0_2: ldrsh w8, [sp, #14] str w8, [sp, #8] ; 4-byte Folded Spill b LBB0_3 LBB0_3: ldr w8, [sp, #8] ; 4-byte Folded Reload sxth w0, w8 add sp, sp, #16 ret .cfi_endproc ; -- End function .no_dead_strip _FSE_abs .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function FSE_abs _FSE_abs: ## @FSE_abs .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movw %di, %ax movw %ax, -2(%rbp) movswl -2(%rbp), %eax cmpl $0, %eax jge LBB0_2 ## %bb.1: movswl -2(%rbp), %ecx xorl %eax, %eax subl %ecx, %eax movl %eax, -8(%rbp) ## 4-byte Spill jmp LBB0_3 LBB0_2: movswl -2(%rbp), %eax movl %eax, -8(%rbp) ## 4-byte Spill LBB0_3: movl -8(%rbp), %eax ## 4-byte Reload ## kill: def $ax killed $ax killed $eax cwtl popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _FSE_abs .subsections_via_symbols
AnghaBench/borg/src/borg/algorithms/zstd/lib/legacy/extr_zstd_v02.c_FSE_abs.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function node_prev _node_prev: ; @node_prev .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 str x0, [sp, #32] str x1, [sp, #24] ldr x8, [sp, #24] str x8, [sp, #16] ldr x8, [sp, #16] ldr x8, [x8, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_1 LBB0_1: ldr x8, [sp, #16] ldr x8, [x8, #8] str x8, [sp, #16] b LBB0_2 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #16] ldr x8, [x8, #16] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_2 Depth=1 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_2 Depth=1 ldr x8, [sp, #16] ldr x8, [x8, #16] str x8, [sp, #16] b LBB0_2 LBB0_5: ldr x8, [sp, #16] str x8, [sp, #40] b LBB0_12 LBB0_6: b LBB0_7 LBB0_7: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #16] ldr x8, [x8] subs x8, x8, #0 cset w8, eq mov w9, #0 str w9, [sp, #12] ; 4-byte Folded Spill tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: ; in Loop: Header=BB0_7 Depth=1 ldr x8, [sp, #16] ldr x9, [sp, #16] ldr x9, [x9] ldr x9, [x9, #8] subs x8, x8, x9 cset w8, eq str w8, [sp, #12] ; 4-byte Folded Spill b LBB0_9 LBB0_9: ; in Loop: Header=BB0_7 Depth=1 ldr w8, [sp, #12] ; 4-byte Folded Reload tbz w8, #0, LBB0_11 b LBB0_10 LBB0_10: ; in Loop: Header=BB0_7 Depth=1 ldr x8, [sp, #16] ldr x8, [x8] str x8, [sp, #16] b LBB0_7 LBB0_11: ldr x8, [sp, #16] ldr x8, [x8] str x8, [sp, #40] b LBB0_12 LBB0_12: ldr x0, [sp, #40] add sp, sp, #48 ret .cfi_endproc ; -- End function .no_dead_strip _node_prev .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function node_prev _node_prev: ## @node_prev .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, -16(%rbp) movq %rsi, -24(%rbp) movq -24(%rbp), %rax movq %rax, -32(%rbp) movq -32(%rbp), %rax cmpq $0, 8(%rax) je LBB0_6 ## %bb.1: movq -32(%rbp), %rax movq 8(%rax), %rax movq %rax, -32(%rbp) LBB0_2: ## =>This Inner Loop Header: Depth=1 movq -32(%rbp), %rax cmpq $0, 16(%rax) je LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 jmp LBB0_4 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 movq -32(%rbp), %rax movq 16(%rax), %rax movq %rax, -32(%rbp) jmp LBB0_2 LBB0_5: movq -32(%rbp), %rax movq %rax, -8(%rbp) jmp LBB0_12 LBB0_6: jmp LBB0_7 LBB0_7: ## =>This Inner Loop Header: Depth=1 movq -32(%rbp), %rcx xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpq $0, (%rcx) movb %al, -33(%rbp) ## 1-byte Spill je LBB0_9 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 movq -32(%rbp), %rax movq -32(%rbp), %rcx movq (%rcx), %rcx cmpq 8(%rcx), %rax sete %al movb %al, -33(%rbp) ## 1-byte Spill LBB0_9: ## in Loop: Header=BB0_7 Depth=1 movb -33(%rbp), %al ## 1-byte Reload testb $1, %al jne LBB0_10 jmp LBB0_11 LBB0_10: ## in Loop: Header=BB0_7 Depth=1 movq -32(%rbp), %rax movq (%rax), %rax movq %rax, -32(%rbp) jmp LBB0_7 LBB0_11: movq -32(%rbp), %rax movq (%rax), %rax movq %rax, -8(%rbp) LBB0_12: movq -8(%rbp), %rax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _node_prev .subsections_via_symbols
AnghaBench/linux/tools/testing/selftests/kvm/lib/extr_sparsebit.c_node_prev.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rgb565_to_rgb332 _rgb565_to_rgb332: ; @rgb565_to_rgb332 .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, #12] ldr w8, [sp, #12] and w9, w8, #0xe000 ldr w8, [sp, #12] and w8, w8, #0x1c0 asr w8, w8, #6 orr w8, w8, w9, asr #8 ldr w9, [sp, #12] and w9, w9, #0x18 orr w0, w8, w9, asr #3 add sp, sp, #16 ret .cfi_endproc ; -- End function .no_dead_strip _rgb565_to_rgb332 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rgb565_to_rgb332 _rgb565_to_rgb332: ## @rgb565_to_rgb332 .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, -4(%rbp) movl -4(%rbp), %eax andl $57344, %eax ## imm = 0xE000 sarl $8, %eax movl -4(%rbp), %ecx andl $448, %ecx ## imm = 0x1C0 sarl $6, %ecx orl %ecx, %eax movl -4(%rbp), %ecx andl $24, %ecx sarl $3, %ecx orl %ecx, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _rgb565_to_rgb332 .subsections_via_symbols
AnghaBench/linux/drivers/staging/fbtft/extr_fb_watterott.c_rgb565_to_rgb332.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function unsharp_opencl_init _unsharp_opencl_init: ; @unsharp_opencl_init .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 stur x0, [x29, #-16] ldur x8, [x29, #-16] ldr x8, [x8] str x8, [sp, #24] ldur x0, [x29, #-16] adrp x1, _ff_opencl_source_unsharp@GOTPAGE ldr x1, [x1, _ff_opencl_source_unsharp@GOTPAGEOFF] mov w2, #1 bl _ff_opencl_filter_load_program str w0, [sp, #16] ldr w8, [sp, #16] subs w8, w8, #0 cset w8, ge tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: b LBB0_7 LBB0_2: ldr x8, [sp, #24] ldr x8, [x8, #48] ldr w0, [x8, #4] ldr x8, [sp, #24] ldr x8, [x8, #48] ldr w1, [x8] mov w2, #0 add x3, sp, #20 bl _clCreateCommandQueue ldr x8, [sp, #24] str x0, [x8, #32] adrp x8, _EIO@GOTPAGE ldr x8, [x8, _EIO@GOTPAGEOFF] ldr w0, [x8] bl _AVERROR ldr w2, [sp, #20] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _CL_FAIL_ON_ERROR ldr x8, [sp, #24] ldr s0, [x8, #4] fmov s1, #17.00000000 fcmp s0, s1 cset w8, gt mov w9, #1 str w9, [sp, #12] ; 4-byte Folded Spill tbnz w8, #0, LBB0_6 b LBB0_3 LBB0_3: ldr x8, [sp, #24] ldr s0, [x8, #8] fmov s1, #17.00000000 fcmp s0, s1 cset w8, gt mov w9, #1 str w9, [sp, #12] ; 4-byte Folded Spill tbnz w8, #0, LBB0_6 b LBB0_4 LBB0_4: ldr x8, [sp, #24] ldr s0, [x8, #12] fmov s1, #17.00000000 fcmp s0, s1 cset w8, gt mov w9, #1 str w9, [sp, #12] ; 4-byte Folded Spill tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ldr x8, [sp, #24] ldr s0, [x8, #16] fmov s1, #17.00000000 fcmp s0, s1 cset w8, gt str w8, [sp, #12] ; 4-byte Folded Spill b LBB0_6 LBB0_6: ldr w8, [sp, #12] ; 4-byte Folded Reload and w8, w8, #0x1 ldr x9, [sp, #24] str w8, [x9] ldr x8, [sp, #24] ldr w0, [x8, #40] ldr x8, [sp, #24] ldr w8, [x8] subs w8, w8, #0 cset w8, ne and w10, w8, #0x1 adrp x9, l_.str.2@PAGE add x9, x9, l_.str.2@PAGEOFF adrp x8, l_.str.1@PAGE add x8, x8, l_.str.1@PAGEOFF ands w10, w10, #0x1 csel x1, x8, x9, ne add x2, sp, #20 bl _clCreateKernel ldr x8, [sp, #24] str x0, [x8, #24] adrp x8, _EIO@GOTPAGE ldr x8, [x8, _EIO@GOTPAGEOFF] ldr w0, [x8] bl _AVERROR ldr w2, [sp, #20] adrp x1, l_.str.3@PAGE add x1, x1, l_.str.3@PAGEOFF bl _CL_FAIL_ON_ERROR ldr x9, [sp, #24] mov w8, #1 str w8, [x9, #20] stur wzr, [x29, #-4] b LBB0_12 LBB0_7: ldr x8, [sp, #24] ldr x8, [x8, #32] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: ldr x8, [sp, #24] ldr x0, [x8, #32] bl _clReleaseCommandQueue b LBB0_9 LBB0_9: ldr x8, [sp, #24] ldr x8, [x8, #24] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_11 b LBB0_10 LBB0_10: ldr x8, [sp, #24] ldr x0, [x8, #24] bl _clReleaseKernel b LBB0_11 LBB0_11: ldr w8, [sp, #16] stur w8, [x29, #-4] b LBB0_12 LBB0_12: ldur w0, [x29, #-4] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _ff_opencl_source_unsharp,4,2 ; @ff_opencl_source_unsharp .comm _EIO,4,2 ; @EIO .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Failed to create OpenCL command queue %d.\n" l_.str.1: ; @.str.1 .asciz "unsharp_global" l_.str.2: ; @.str.2 .asciz "unsharp_local" l_.str.3: ; @.str.3 .asciz "Failed to create kernel %d.\n" .no_dead_strip _unsharp_opencl_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal4,4byte_literals .p2align 2 ## -- Begin function unsharp_opencl_init LCPI0_0: .long 0x41880000 ## float 17 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _unsharp_opencl_init: ## @unsharp_opencl_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rdi, -16(%rbp) movq -16(%rbp), %rax movq (%rax), %rax movq %rax, -24(%rbp) movq -16(%rbp), %rdi movq _ff_opencl_source_unsharp@GOTPCREL(%rip), %rsi movl $1, %edx callq _ff_opencl_filter_load_program movl %eax, -32(%rbp) cmpl $0, -32(%rbp) jge LBB0_2 ## %bb.1: jmp LBB0_7 LBB0_2: movq -24(%rbp), %rax movq 48(%rax), %rax movl 4(%rax), %edi movq -24(%rbp), %rax movq 48(%rax), %rax movl (%rax), %esi xorl %edx, %edx leaq -28(%rbp), %rcx callq _clCreateCommandQueue movq %rax, %rcx movq -24(%rbp), %rax movq %rcx, 32(%rax) movq _EIO@GOTPCREL(%rip), %rax movl (%rax), %edi callq _AVERROR movl %eax, %edi movl -28(%rbp), %edx leaq L_.str(%rip), %rsi callq _CL_FAIL_ON_ERROR movq -24(%rbp), %rax movss 4(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero movb $1, %al movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero ucomiss %xmm1, %xmm0 movb %al, -33(%rbp) ## 1-byte Spill ja LBB0_6 ## %bb.3: movq -24(%rbp), %rax movss 8(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero movb $1, %al movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero ucomiss %xmm1, %xmm0 movb %al, -33(%rbp) ## 1-byte Spill ja LBB0_6 ## %bb.4: movq -24(%rbp), %rax movss 12(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero movb $1, %al movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero ucomiss %xmm1, %xmm0 movb %al, -33(%rbp) ## 1-byte Spill ja LBB0_6 ## %bb.5: movq -24(%rbp), %rax movss 16(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero ucomiss %xmm1, %xmm0 seta %al movb %al, -33(%rbp) ## 1-byte Spill LBB0_6: movb -33(%rbp), %al ## 1-byte Reload andb $1, %al movzbl %al, %ecx movq -24(%rbp), %rax movl %ecx, (%rax) movq -24(%rbp), %rax movl 40(%rax), %edi movq -24(%rbp), %rax movl (%rax), %ecx leaq L_.str.2(%rip), %rsi leaq L_.str.1(%rip), %rax cmpl $0, %ecx cmovneq %rax, %rsi leaq -28(%rbp), %rdx callq _clCreateKernel movq %rax, %rcx movq -24(%rbp), %rax movq %rcx, 24(%rax) movq _EIO@GOTPCREL(%rip), %rax movl (%rax), %edi callq _AVERROR movl %eax, %edi movl -28(%rbp), %edx leaq L_.str.3(%rip), %rsi callq _CL_FAIL_ON_ERROR movq -24(%rbp), %rax movl $1, 20(%rax) movl $0, -4(%rbp) jmp LBB0_12 LBB0_7: movq -24(%rbp), %rax cmpq $0, 32(%rax) je LBB0_9 ## %bb.8: movq -24(%rbp), %rax movq 32(%rax), %rdi callq _clReleaseCommandQueue LBB0_9: movq -24(%rbp), %rax cmpq $0, 24(%rax) je LBB0_11 ## %bb.10: movq -24(%rbp), %rax movq 24(%rax), %rdi callq _clReleaseKernel LBB0_11: movl -32(%rbp), %eax movl %eax, -4(%rbp) LBB0_12: movl -4(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _ff_opencl_source_unsharp,4,2 ## @ff_opencl_source_unsharp .comm _EIO,4,2 ## @EIO .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Failed to create OpenCL command queue %d.\n" L_.str.1: ## @.str.1 .asciz "unsharp_global" L_.str.2: ## @.str.2 .asciz "unsharp_local" L_.str.3: ## @.str.3 .asciz "Failed to create kernel %d.\n" .no_dead_strip _unsharp_opencl_init .subsections_via_symbols
AnghaBench/FFmpeg/libavfilter/extr_vf_unsharp_opencl.c_unsharp_opencl_init.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gl_Indexi ; -- Begin function gl_Indexi .p2align 2 _gl_Indexi: ; @gl_Indexi .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, #8] str x1, [sp] ldr x8, [sp] ldr x9, [sp, #8] str x8, [x9, #8] adrp x8, _GL_FALSE@GOTPAGE ldr x8, [x8, _GL_FALSE@GOTPAGEOFF] ldr w8, [x8] ldr x9, [sp, #8] ldr x9, [x9] str w8, [x9] add sp, sp, #16 ret .cfi_endproc ; -- End function .comm _GL_FALSE,4,2 ; @GL_FALSE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gl_Indexi ## -- Begin function gl_Indexi .p2align 4, 0x90 _gl_Indexi: ## @gl_Indexi .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, -8(%rbp) movq %rsi, -16(%rbp) movq -16(%rbp), %rcx movq -8(%rbp), %rax movq %rcx, 8(%rax) movq _GL_FALSE@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -8(%rbp), %rax movq (%rax), %rax movl %ecx, (%rax) popq %rbp retq .cfi_endproc ## -- End function .comm _GL_FALSE,4,2 ## @GL_FALSE .subsections_via_symbols
AnghaBench/reactos/dll/opengl/mesa/extr_vbfill.c_gl_Indexi.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bfa_cee_get_stats_isr _bfa_cee_get_stats_isr: ; @bfa_cee_get_stats_isr .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 stur x0, [x29, #-8] str x1, [sp, #16] ldr x8, [sp, #16] ldur x9, [x29, #-8] str x8, [x9, #40] ldur x0, [x29, #-8] mov w1, #0 bl _bfa_trc ldr x8, [sp, #16] adrp x9, _BFA_STATUS_OK@GOTPAGE ldr x9, [x9, _BFA_STATUS_OK@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_6 b LBB0_1 LBB0_1: ldur x0, [x29, #-8] mov w1, #0 bl _bfa_trc ldur x8, [x29, #-8] ldr x0, [x8, #24] ldur x8, [x29, #-8] ldr w1, [x8, #32] mov w2, #4 bl _memcpy ldur x8, [x29, #-8] ldr x8, [x8, #24] str x8, [sp, #8] str wzr, [sp, #4] b LBB0_2 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldrsw x8, [sp, #4] subs x8, x8, #1 cset w8, hs tbnz w8, #0, LBB0_5 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_2 Depth=1 ldr x8, [sp, #8] ldrsw x9, [sp, #4] ldr w0, [x8, x9, lsl #2] bl _cpu_to_be32 ldr x8, [sp, #8] ldrsw x9, [sp, #4] str w0, [x8, x9, lsl #2] b LBB0_4 LBB0_4: ; in Loop: Header=BB0_2 Depth=1 ldr w8, [sp, #4] add w8, w8, #1 str w8, [sp, #4] b LBB0_2 LBB0_5: b LBB0_6 LBB0_6: adrp x8, _BFA_FALSE@GOTPAGE ldr x8, [x8, _BFA_FALSE@GOTPAGEOFF] ldr w8, [x8] ldur x9, [x29, #-8] str w8, [x9, #16] ldur x0, [x29, #-8] mov w1, #0 bl _bfa_trc ldur x8, [x29, #-8] ldr x8, [x8, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: ldur x0, [x29, #-8] mov w1, #0 bl _bfa_trc ldur x8, [x29, #-8] ldr x8, [x8, #8] ldur x9, [x29, #-8] ldr w0, [x9] ldr x1, [sp, #16] blr x8 b LBB0_8 LBB0_8: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _BFA_STATUS_OK,8,3 ; @BFA_STATUS_OK .comm _BFA_FALSE,4,2 ; @BFA_FALSE .no_dead_strip _bfa_cee_get_stats_isr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bfa_cee_get_stats_isr _bfa_cee_get_stats_isr: ## @bfa_cee_get_stats_isr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -16(%rbp), %rcx movq -8(%rbp), %rax movq %rcx, 40(%rax) movq -8(%rbp), %rdi xorl %esi, %esi callq _bfa_trc movq -16(%rbp), %rax movq _BFA_STATUS_OK@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_6 ## %bb.1: movq -8(%rbp), %rdi xorl %esi, %esi callq _bfa_trc movq -8(%rbp), %rax movq 24(%rax), %rdi movq -8(%rbp), %rax movl 32(%rax), %esi movl $4, %edx callq _memcpy movq -8(%rbp), %rax movq 24(%rax), %rax movq %rax, -24(%rbp) movl $0, -28(%rbp) LBB0_2: ## =>This Inner Loop Header: Depth=1 movslq -28(%rbp), %rax cmpq $1, %rax jae LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq -24(%rbp), %rax movslq -28(%rbp), %rcx movl (%rax,%rcx,4), %edi callq _cpu_to_be32 movl %eax, %edx movq -24(%rbp), %rax movslq -28(%rbp), %rcx movl %edx, (%rax,%rcx,4) ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movl -28(%rbp), %eax addl $1, %eax movl %eax, -28(%rbp) jmp LBB0_2 LBB0_5: jmp LBB0_6 LBB0_6: movq _BFA_FALSE@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -8(%rbp), %rax movl %ecx, 16(%rax) movq -8(%rbp), %rdi xorl %esi, %esi callq _bfa_trc movq -8(%rbp), %rax cmpq $0, 8(%rax) je LBB0_8 ## %bb.7: movq -8(%rbp), %rdi xorl %esi, %esi callq _bfa_trc movq -8(%rbp), %rax movq 8(%rax), %rax movq -8(%rbp), %rcx movl (%rcx), %edi movq -16(%rbp), %rsi callq *%rax LBB0_8: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _BFA_STATUS_OK,8,3 ## @BFA_STATUS_OK .comm _BFA_FALSE,4,2 ## @BFA_FALSE .no_dead_strip _bfa_cee_get_stats_isr .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_port.c_bfa_cee_get_stats_isr.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function _affs_bmap __affs_bmap: ; @_affs_bmap .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, #8] str w1, [sp, #4] ldr x0, [sp, #8] ldr w1, [sp, #4] adrp x8, _affs_get_block@GOTPAGE ldr x8, [x8, _affs_get_block@GOTPAGEOFF] ldr w2, [x8] bl _generic_block_bmap ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _affs_get_block,4,2 ; @affs_get_block .no_dead_strip __affs_bmap .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function _affs_bmap __affs_bmap: ## @_affs_bmap .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 movq %rdi, -8(%rbp) movl %esi, -12(%rbp) movq -8(%rbp), %rdi movl -12(%rbp), %esi movq _affs_get_block@GOTPCREL(%rip), %rax movl (%rax), %edx callq _generic_block_bmap addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _affs_get_block,4,2 ## @affs_get_block .no_dead_strip __affs_bmap .subsections_via_symbols
AnghaBench/linux/fs/affs/extr_file.c__affs_bmap.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _SV_Trace ; -- Begin function SV_Trace .p2align 2 _SV_Trace: ; @SV_Trace .cfi_startproc ; %bb.0: sub sp, sp, #192 .cfi_def_cfa_offset 192 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 sub x8, x29, #8 str x8, [sp, #24] ; 8-byte Folded Spill str x0, [x8] stur x1, [x29, #-16] stur x2, [x29, #-24] stur x3, [x29, #-32] stur x4, [x29, #-40] stur w5, [x29, #-44] stur w6, [x29, #-48] stur w7, [x29, #-52] ldur x8, [x29, #-24] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _vec3_origin@GOTPAGE ldr x8, [x8, _vec3_origin@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-24] b LBB0_2 LBB0_2: ldur x8, [x29, #-32] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: adrp x8, _vec3_origin@GOTPAGE ldr x8, [x8, _vec3_origin@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-32] b LBB0_4 LBB0_4: add x0, sp, #40 str x0, [sp, #8] ; 8-byte Folded Spill mov w1, #0 str w1, [sp, #20] ; 4-byte Folded Spill mov w2, #80 bl _Com_Memset ldr x8, [sp, #8] ; 8-byte Folded Reload ldr w5, [sp, #20] ; 4-byte Folded Reload add x0, x8, #64 ldur x1, [x29, #-16] ldur x2, [x29, #-40] ldur x3, [x29, #-24] ldur x4, [x29, #-32] ldur w6, [x29, #-48] ldur w7, [x29, #-52] bl _CM_BoxTrace ldr d0, [sp, #104] fmov d1, #1.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: adrp x8, _ENTITYNUM_WORLD@GOTPAGE ldr x8, [x8, _ENTITYNUM_WORLD@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #4] ; 4-byte Folded Spill b LBB0_7 LBB0_6: adrp x8, _ENTITYNUM_NONE@GOTPAGE ldr x8, [x8, _ENTITYNUM_NONE@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #4] ; 4-byte Folded Spill b LBB0_7 LBB0_7: ldr w8, [sp, #4] ; 4-byte Folded Reload str w8, [sp, #112] ldr d0, [sp, #104] fcmp d0, #0.0 cset w8, ne tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: ldr x8, [sp, #24] ; 8-byte Folded Reload ldr x8, [x8] ldur q0, [sp, #104] str q0, [x8] b LBB0_17 LBB0_9: ldur w8, [x29, #-48] str w8, [sp, #40] ldur x8, [x29, #-16] str x8, [sp, #48] ldur x0, [x29, #-40] ldr x1, [sp, #56] bl _VectorCopy ldur x8, [x29, #-24] str x8, [sp, #64] ldur x8, [x29, #-32] str x8, [sp, #72] ldur w8, [x29, #-44] str w8, [sp, #80] ldur w8, [x29, #-52] str w8, [sp, #84] str wzr, [sp, #36] b LBB0_10 LBB0_10: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #36] subs w8, w8, #3 cset w8, ge tbnz w8, #0, LBB0_16 b LBB0_11 LBB0_11: ; in Loop: Header=BB0_10 Depth=1 ldur x8, [x29, #-40] ldrsw x9, [sp, #36] ldr x8, [x8, x9, lsl #3] ldur x9, [x29, #-16] ldrsw x10, [sp, #36] ldr x9, [x9, x10, lsl #3] subs x8, x8, x9 cset w8, le tbnz w8, #0, LBB0_13 b LBB0_12 LBB0_12: ; in Loop: Header=BB0_10 Depth=1 ldr x8, [sp, #48] ldrsw x9, [sp, #36] ldr x8, [x8, x9, lsl #3] ldr x9, [sp, #64] ldrsw x10, [sp, #36] ldr x9, [x9, x10, lsl #3] add x8, x8, x9 subs x8, x8, #1 ldr x9, [sp, #88] ldrsw x10, [sp, #36] str x8, [x9, x10, lsl #3] ldr x8, [sp, #56] ldrsw x9, [sp, #36] ldr x8, [x8, x9, lsl #3] ldr x9, [sp, #72] ldrsw x10, [sp, #36] ldr x9, [x9, x10, lsl #3] add x8, x8, x9 add x8, x8, #1 ldr x9, [sp, #96] ldrsw x10, [sp, #36] str x8, [x9, x10, lsl #3] b LBB0_14 LBB0_13: ; in Loop: Header=BB0_10 Depth=1 ldr x8, [sp, #56] ldrsw x9, [sp, #36] ldr x8, [x8, x9, lsl #3] ldr x9, [sp, #64] ldrsw x10, [sp, #36] ldr x9, [x9, x10, lsl #3] add x8, x8, x9 subs x8, x8, #1 ldr x9, [sp, #88] ldrsw x10, [sp, #36] str x8, [x9, x10, lsl #3] ldr x8, [sp, #48] ldrsw x9, [sp, #36] ldr x8, [x8, x9, lsl #3] ldr x9, [sp, #72] ldrsw x10, [sp, #36] ldr x9, [x9, x10, lsl #3] add x8, x8, x9 add x8, x8, #1 ldr x9, [sp, #96] ldrsw x10, [sp, #36] str x8, [x9, x10, lsl #3] b LBB0_14 LBB0_14: ; in Loop: Header=BB0_10 Depth=1 b LBB0_15 LBB0_15: ; in Loop: Header=BB0_10 Depth=1 ldr w8, [sp, #36] add w8, w8, #1 str w8, [sp, #36] b LBB0_10 LBB0_16: add x0, sp, #40 bl _SV_ClipMoveToEntities ldr x8, [sp, #24] ; 8-byte Folded Reload ldr x8, [x8] ldur q0, [sp, #104] str q0, [x8] b LBB0_17 LBB0_17: ldp x29, x30, [sp, #176] ; 16-byte Folded Reload add sp, sp, #192 ret .cfi_endproc ; -- End function .comm _vec3_origin,8,3 ; @vec3_origin .comm _ENTITYNUM_WORLD,4,2 ; @ENTITYNUM_WORLD .comm _ENTITYNUM_NONE,4,2 ; @ENTITYNUM_NONE .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 SV_Trace LCPI0_0: .quad 0x3ff0000000000000 ## double 1 .section __TEXT,__text,regular,pure_instructions .globl _SV_Trace .p2align 4, 0x90 _SV_Trace: ## @SV_Trace .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $160, %rsp movl 24(%rbp), %eax movl 16(%rbp), %eax movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movq %rcx, -32(%rbp) movq %r8, -40(%rbp) movl %r9d, -44(%rbp) cmpq $0, -24(%rbp) jne LBB0_2 ## %bb.1: movq _vec3_origin@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -24(%rbp) LBB0_2: cmpq $0, -32(%rbp) jne LBB0_4 ## %bb.3: movq _vec3_origin@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -32(%rbp) LBB0_4: leaq -128(%rbp), %rdi xorl %esi, %esi movl $80, %edx callq _Com_Memset leaq -128(%rbp), %rdi addq $64, %rdi movq -16(%rbp), %rsi movq -40(%rbp), %rdx movq -24(%rbp), %rcx movq -32(%rbp), %r8 movl 16(%rbp), %r10d movl 24(%rbp), %eax xorl %r9d, %r9d movl %r10d, (%rsp) movl %eax, 8(%rsp) callq _CM_BoxTrace movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB0_5 jp LBB0_5 jmp LBB0_6 LBB0_5: movq _ENTITYNUM_WORLD@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -136(%rbp) ## 4-byte Spill jmp LBB0_7 LBB0_6: movq _ENTITYNUM_NONE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -136(%rbp) ## 4-byte Spill LBB0_7: movl -136(%rbp), %eax ## 4-byte Reload movl %eax, -56(%rbp) movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero xorps %xmm1, %xmm1 ucomisd %xmm1, %xmm0 jne LBB0_9 jp LBB0_9 ## %bb.8: movq -8(%rbp), %rax movq -64(%rbp), %rcx movq %rcx, (%rax) movq -56(%rbp), %rcx movq %rcx, 8(%rax) jmp LBB0_17 LBB0_9: movl 16(%rbp), %eax movl %eax, -128(%rbp) movq -16(%rbp), %rax movq %rax, -120(%rbp) movq -40(%rbp), %rdi movq -112(%rbp), %rsi callq _VectorCopy movq -24(%rbp), %rax movq %rax, -104(%rbp) movq -32(%rbp), %rax movq %rax, -96(%rbp) movl -44(%rbp), %eax movl %eax, -88(%rbp) movl 24(%rbp), %eax movl %eax, -84(%rbp) movl $0, -132(%rbp) LBB0_10: ## =>This Inner Loop Header: Depth=1 cmpl $3, -132(%rbp) jge LBB0_16 ## %bb.11: ## in Loop: Header=BB0_10 Depth=1 movq -40(%rbp), %rax movslq -132(%rbp), %rcx movq (%rax,%rcx,8), %rax movq -16(%rbp), %rcx movslq -132(%rbp), %rdx cmpq (%rcx,%rdx,8), %rax jle LBB0_13 ## %bb.12: ## in Loop: Header=BB0_10 Depth=1 movq -120(%rbp), %rax movslq -132(%rbp), %rcx movq (%rax,%rcx,8), %rdx movq -104(%rbp), %rax movslq -132(%rbp), %rcx addq (%rax,%rcx,8), %rdx subq $1, %rdx movq -80(%rbp), %rax movslq -132(%rbp), %rcx movq %rdx, (%rax,%rcx,8) movq -112(%rbp), %rax movslq -132(%rbp), %rcx movq (%rax,%rcx,8), %rdx movq -96(%rbp), %rax movslq -132(%rbp), %rcx addq (%rax,%rcx,8), %rdx addq $1, %rdx movq -72(%rbp), %rax movslq -132(%rbp), %rcx movq %rdx, (%rax,%rcx,8) jmp LBB0_14 LBB0_13: ## in Loop: Header=BB0_10 Depth=1 movq -112(%rbp), %rax movslq -132(%rbp), %rcx movq (%rax,%rcx,8), %rdx movq -104(%rbp), %rax movslq -132(%rbp), %rcx addq (%rax,%rcx,8), %rdx subq $1, %rdx movq -80(%rbp), %rax movslq -132(%rbp), %rcx movq %rdx, (%rax,%rcx,8) movq -120(%rbp), %rax movslq -132(%rbp), %rcx movq (%rax,%rcx,8), %rdx movq -96(%rbp), %rax movslq -132(%rbp), %rcx addq (%rax,%rcx,8), %rdx addq $1, %rdx movq -72(%rbp), %rax movslq -132(%rbp), %rcx movq %rdx, (%rax,%rcx,8) LBB0_14: ## in Loop: Header=BB0_10 Depth=1 jmp LBB0_15 LBB0_15: ## in Loop: Header=BB0_10 Depth=1 movl -132(%rbp), %eax addl $1, %eax movl %eax, -132(%rbp) jmp LBB0_10 LBB0_16: leaq -128(%rbp), %rdi callq _SV_ClipMoveToEntities movq -8(%rbp), %rax movq -64(%rbp), %rcx movq %rcx, (%rax) movq -56(%rbp), %rcx movq %rcx, 8(%rax) LBB0_17: addq $160, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _vec3_origin,8,3 ## @vec3_origin .comm _ENTITYNUM_WORLD,4,2 ## @ENTITYNUM_WORLD .comm _ENTITYNUM_NONE,4,2 ## @ENTITYNUM_NONE .subsections_via_symbols
AnghaBench/Quake-III-Arena/code/server/extr_sv_world.c_SV_Trace.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function compute_privacy_len _compute_privacy_len: ; @compute_privacy_len .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, #8] ldr x8, [sp, #8] ldrb w8, [x8] str w8, [sp, #4] ldr w8, [sp, #4] subs w8, w8, #255 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp, #8] ldr x8, [x8, #8] ldr w8, [x8] str w8, [sp] ; 4-byte Folded Spill b LBB0_3 LBB0_2: ldr w8, [sp, #4] str w8, [sp] ; 4-byte Folded Spill b LBB0_3 LBB0_3: ldr w0, [sp] ; 4-byte Folded Reload add sp, sp, #16 ret .cfi_endproc ; -- End function .no_dead_strip _compute_privacy_len .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function compute_privacy_len _compute_privacy_len: ## @compute_privacy_len .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, -8(%rbp) movq -8(%rbp), %rax movl (%rax), %eax andl $255, %eax movl %eax, -12(%rbp) cmpl $255, -12(%rbp) jne LBB0_2 ## %bb.1: movq -8(%rbp), %rax movq 8(%rax), %rax movl (%rax), %eax movl %eax, -16(%rbp) ## 4-byte Spill jmp LBB0_3 LBB0_2: movl -12(%rbp), %eax movl %eax, -16(%rbp) ## 4-byte Spill LBB0_3: movl -16(%rbp), %eax ## 4-byte Reload popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _compute_privacy_len .subsections_via_symbols
AnghaBench/kphp-kdb/friend/extr_friend-data.c_compute_privacy_len.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function i2c_ibuf _i2c_ibuf: ; @i2c_ibuf .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 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 stur x0, [x29, #-16] stur x1, [x29, #-24] stur w2, [x29, #-28] str x3, [sp, #40] str wzr, [sp, #36] strb wzr, [sp, #7] ldur x8, [x29, #-16] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_18 b LBB0_1 LBB0_1: ldur x8, [x29, #-24] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_18 b LBB0_2 LBB0_2: ldur x8, [x29, #-24] str x8, [sp, #24] ldur x8, [x29, #-16] ldrb w8, [x8] ; kill: def $x8 killed $w8 str x8, [sp, #16] ldur w8, [x29, #-28] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_5 b LBB0_3 LBB0_3: ldr x8, [sp, #16] subs x8, x8, #127 cset w8, ls tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: mov w8, #1 str w8, [sp, #36] strb wzr, [sp, #7] b LBB0_17 LBB0_5: ldur w8, [x29, #-28] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_16 b LBB0_6 LBB0_6: mov w8, #255 strb w8, [sp, #7] ldr x8, [sp, #16] subs x8, x8, #128 cset w8, ls tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: mov w8, #1 str w8, [sp, #36] b LBB0_15 LBB0_8: ldr x8, [sp, #16] subs x8, x8, #128 cset w8, ne tbnz w8, #0, LBB0_14 b LBB0_9 LBB0_9: str wzr, [sp, #36] mov x8, #1 str x8, [sp, #16] b LBB0_10 LBB0_10: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #16] ldur x9, [x29, #-24] subs x8, x8, x9 cset w8, hs tbnz w8, #0, LBB0_13 b LBB0_11 LBB0_11: ; in Loop: Header=BB0_10 Depth=1 ldur x8, [x29, #-16] ldr x9, [sp, #16] ldrb w9, [x8, x9] ldr w8, [sp, #36] orr w8, w8, w9 str w8, [sp, #36] b LBB0_12 LBB0_12: ; in Loop: Header=BB0_10 Depth=1 ldr x8, [sp, #16] add x8, x8, #1 str x8, [sp, #16] b LBB0_10 LBB0_13: ldr w8, [sp, #36] mov w9, #0 subs w8, w8, #0 cset w8, ne and w10, w8, #0x1 mov w8, #255 ands w10, w10, #0x1 csel w8, w8, w9, ne strb w8, [sp, #7] ldrb w8, [sp, #7] and w8, w8, #0x1 str w8, [sp, #36] b LBB0_14 LBB0_14: b LBB0_15 LBB0_15: b LBB0_16 LBB0_16: b LBB0_17 LBB0_17: ldr w8, [sp, #36] mov x9, x8 ldr x8, [sp, #24] add x8, x8, x9 str x8, [sp, #24] b LBB0_19 LBB0_18: mov x8, #1 str x8, [sp, #24] stur xzr, [x29, #-24] b LBB0_19 LBB0_19: ldr x8, [sp, #40] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_21 b LBB0_20 LBB0_20: ldr x8, [sp, #40] ldr x8, [x8] mov x9, x8 str x9, [sp, #8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_22 b LBB0_21 LBB0_21: ldr x8, [sp, #24] stur x8, [x29, #-8] b LBB0_23 LBB0_22: ldrb w8, [sp, #7] ldr x9, [sp, #8] strb w8, [x9] ldr w8, [sp, #36] mov x9, x8 ldr x8, [sp, #8] add x8, x8, x9 str x8, [sp, #8] ldr x0, [sp, #8] ldur x1, [x29, #-16] ldur x2, [x29, #-24] ldrb w3, [sp, #7] bl _twos_complement ldr x10, [sp, #24] ldr x9, [sp, #40] ldr x8, [x9] add x8, x8, x10 str x8, [x9] ldr x8, [sp, #24] stur x8, [x29, #-8] b LBB0_23 LBB0_23: ldur x0, [x29, #-8] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc ; -- End function .no_dead_strip _i2c_ibuf .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function i2c_ibuf _i2c_ibuf: ## @i2c_ibuf .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $80, %rsp movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) movl %edx, -28(%rbp) movq %rcx, -40(%rbp) movl $0, -44(%rbp) movb $0, -73(%rbp) cmpq $0, -16(%rbp) je LBB0_18 ## %bb.1: cmpq $0, -24(%rbp) je LBB0_18 ## %bb.2: movq -24(%rbp), %rax movq %rax, -56(%rbp) movq -16(%rbp), %rax movzbl (%rax), %eax ## kill: def $rax killed $eax movq %rax, -64(%rbp) cmpl $0, -28(%rbp) jne LBB0_5 ## %bb.3: cmpq $127, -64(%rbp) jbe LBB0_5 ## %bb.4: movl $1, -44(%rbp) movb $0, -73(%rbp) jmp LBB0_17 LBB0_5: cmpl $0, -28(%rbp) je LBB0_16 ## %bb.6: movb $-1, -73(%rbp) cmpq $128, -64(%rbp) jbe LBB0_8 ## %bb.7: movl $1, -44(%rbp) jmp LBB0_15 LBB0_8: cmpq $128, -64(%rbp) jne LBB0_14 ## %bb.9: movl $0, -44(%rbp) movq $1, -64(%rbp) LBB0_10: ## =>This Inner Loop Header: Depth=1 movq -64(%rbp), %rax cmpq -24(%rbp), %rax jae LBB0_13 ## %bb.11: ## in Loop: Header=BB0_10 Depth=1 movq -16(%rbp), %rax movq -64(%rbp), %rcx movzbl (%rax,%rcx), %eax orl -44(%rbp), %eax movl %eax, -44(%rbp) ## %bb.12: ## in Loop: Header=BB0_10 Depth=1 movq -64(%rbp), %rax addq $1, %rax movq %rax, -64(%rbp) jmp LBB0_10 LBB0_13: movl -44(%rbp), %edx xorl %eax, %eax movl $255, %ecx cmpl $0, %edx cmovnel %ecx, %eax ## kill: def $al killed $al killed $eax movb %al, -73(%rbp) movzbl -73(%rbp), %eax andl $1, %eax movl %eax, -44(%rbp) LBB0_14: jmp LBB0_15 LBB0_15: jmp LBB0_16 LBB0_16: jmp LBB0_17 LBB0_17: movl -44(%rbp), %eax ## kill: def $rax killed $eax addq -56(%rbp), %rax movq %rax, -56(%rbp) jmp LBB0_19 LBB0_18: movq $1, -56(%rbp) movq $0, -24(%rbp) LBB0_19: cmpq $0, -40(%rbp) je LBB0_21 ## %bb.20: movq -40(%rbp), %rax movq (%rax), %rax movq %rax, -72(%rbp) cmpq $0, %rax jne LBB0_22 LBB0_21: movq -56(%rbp), %rax movq %rax, -8(%rbp) jmp LBB0_23 LBB0_22: movb -73(%rbp), %cl movq -72(%rbp), %rax movb %cl, (%rax) movl -44(%rbp), %ecx movq -72(%rbp), %rax movl %ecx, %ecx ## kill: def $rcx killed $ecx addq %rcx, %rax movq %rax, -72(%rbp) movq -72(%rbp), %rdi movq -16(%rbp), %rsi movq -24(%rbp), %rdx movzbl -73(%rbp), %ecx callq _twos_complement movq -56(%rbp), %rcx movq -40(%rbp), %rax addq (%rax), %rcx movq %rcx, (%rax) movq -56(%rbp), %rax movq %rax, -8(%rbp) LBB0_23: movq -8(%rbp), %rax addq $80, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _i2c_ibuf .subsections_via_symbols
AnghaBench/openssl/crypto/asn1/extr_a_int.c_i2c_ibuf.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function envctrl_open _envctrl_open: ; @envctrl_open .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, #8] str x1, [sp] bl _cycle_kernel_lock ldr x8, [sp] ; kill: def $x9 killed $xzr str xzr, [x8] mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _envctrl_open .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function envctrl_open _envctrl_open: ## @envctrl_open .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 movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movb $0, %al callq _cycle_kernel_lock movq -16(%rbp), %rax movq $0, (%rax) xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _envctrl_open .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/sbus/char/extr_envctrl.c_envctrl_open.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function udf_extract_files _udf_extract_files: ; @udf_extract_files .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 sub sp, sp, #464 mov x19, sp sub x8, x29, #192 str x8, [x19, #104] ; 8-byte Folded Spill adrp x9, _psz_extract_dir@GOTPAGE ldr x9, [x9, _psz_extract_dir@GOTPAGEOFF] str x9, [x19, #112] ; 8-byte Folded Spill adrp x9, _nb_blocks@GOTPAGE ldr x9, [x9, _nb_blocks@GOTPAGEOFF] str x9, [x19, #120] ; 8-byte Folded Spill adrp x9, ___stack_chk_guard@GOTPAGE ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] ldr x9, [x9] stur x9, [x29, #-24] str x0, [x8, #24] str x1, [x8, #16] str x2, [x8, #8] str xzr, [x8] ; kill: def $x9 killed $xzr str xzr, [x19, #216] str xzr, [x19, #208] adrp x9, _UDF_BLOCKSIZE@GOTPAGE ldr x9, [x9, _UDF_BLOCKSIZE@GOTPAGEOFF] ldr w9, [x9] ; kill: def $x9 killed $w9 str x9, [x19, #136] ; 8-byte Folded Spill mov x10, sp str x10, [x19, #184] lsl x9, x9, #2 add x9, x9, #15 and x9, x9, #0xfffffffffffffff0 str x9, [x19, #128] ; 8-byte Folded Spill adrp x16, ___chkstk_darwin@GOTPAGE ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 ldr x11, [x19, #128] ; 8-byte Folded Reload ldr x9, [x19, #136] ; 8-byte Folded Reload mov x10, sp subs x0, x10, x11 str x0, [x19, #144] ; 8-byte Folded Spill mov sp, x0 str x9, [x19, #176] ldr x8, [x8, #16] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [x19, #104] ; 8-byte Folded Reload ldr x8, [x8, #8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: mov w8, #1 stur w8, [x29, #-156] str w8, [x19, #156] b LBB0_69 LBB0_3: ldr x8, [x19, #104] ; 8-byte Folded Reload ldr x8, [x8, #8] ldrsb w8, [x8] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: adrp x8, _TRUE@GOTPAGE ldr x8, [x8, _TRUE@GOTPAGEOFF] ldr w1, [x8] mov x0, #0 bl _UpdateProgressWithInfoInit b LBB0_5 LBB0_5: b LBB0_6 LBB0_6: ; =>This Loop Header: Depth=1 ; Child Loop BB0_28 Depth 2 ; Child Loop BB0_47 Depth 2 ldr x8, [x19, #104] ; 8-byte Folded Reload ldr x0, [x8, #16] bl _udf_readdir ldr x9, [x19, #104] ; 8-byte Folded Reload mov x8, x0 str x8, [x9, #16] subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_65 b LBB0_7 LBB0_7: ; in Loop: Header=BB0_6 Depth=1 adrp x8, _FormatStatus@GOTPAGE ldr x8, [x8, _FormatStatus@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: b LBB0_66 LBB0_9: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [x19, #104] ; 8-byte Folded Reload ldr x0, [x8, #16] bl _udf_get_filename str x0, [x19, #200] ldr x0, [x19, #200] bl _strlen subs x8, x0, #0 cset w8, ne tbnz w8, #0, LBB0_11 b LBB0_10 LBB0_10: ; in Loop: Header=BB0_6 Depth=1 b LBB0_6 LBB0_11: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [x19, #104] ; 8-byte Folded Reload ldr x0, [x8, #8] bl _strlen add x8, x0, #3 str x8, [x19, #88] ; 8-byte Folded Spill ldr x0, [x19, #200] bl _strlen ldr x9, [x19, #88] ; 8-byte Folded Reload ldr x8, [x19, #112] ; 8-byte Folded Reload add x9, x9, x0 str x9, [x19, #96] ; 8-byte Folded Spill ldr x0, [x8] bl _strlen ldr x8, [x19, #96] ; 8-byte Folded Reload add x8, x8, x0 add x8, x8, #24 ; kill: def $w8 killed $w8 killed $x8 str w8, [x19, #236] ldr w1, [x19, #236] mov w0, #1 bl _calloc str x0, [x19, #216] ldr x8, [x19, #216] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_13 b LBB0_12 LBB0_12: adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _uprintf b LBB0_66 LBB0_13: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [x19, #104] ; 8-byte Folded Reload ldr x9, [x19, #112] ; 8-byte Folded Reload ldr x0, [x19, #216] ldr w1, [x19, #236] ldr x3, [x9] ldr x4, [x8, #8] ldr x5, [x19, #200] adrp x2, l_.str.1@PAGE add x2, x2, l_.str.1@PAGEOFF bl __snprintf str w0, [x19, #236] ldr w8, [x19, #236] subs w8, w8, #0 cset w8, ge tbnz w8, #0, LBB0_15 b LBB0_14 LBB0_14: b LBB0_66 LBB0_15: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [x19, #104] ; 8-byte Folded Reload ldr x0, [x8, #16] bl _udf_is_dir subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_25 b LBB0_16 LBB0_16: ; in Loop: Header=BB0_6 Depth=1 adrp x8, _scan_only@GOTPAGE ldr x8, [x8, _scan_only@GOTPAGEOFF] ldr w8, [x8] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_20 b LBB0_17 LBB0_17: ; in Loop: Header=BB0_6 Depth=1 ldr x0, [x19, #216] add x1, x19, #240 bl _sanitize_filename str x0, [x19, #208] ldr x0, [x19, #208] bl __mkdirU bl _IGNORE_RETVAL adrp x8, _preserve_timestamps@GOTPAGE ldr x8, [x8, _preserve_timestamps@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_19 b LBB0_18 LBB0_18: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [x19, #104] ; 8-byte Folded Reload ldr x9, [x19, #208] str x9, [x19, #80] ; 8-byte Folded Spill ldr x0, [x8, #16] bl _udf_get_attribute_time bl _to_filetime ldr x8, [x19, #104] ; 8-byte Folded Reload str w0, [x19, #72] ; 4-byte Folded Spill ldr x0, [x8, #16] bl _udf_get_access_time bl _to_filetime ldr x8, [x19, #104] ; 8-byte Folded Reload str w0, [x19, #76] ; 4-byte Folded Spill ldr x0, [x8, #16] bl _udf_get_modification_time bl _to_filetime ldr w1, [x19, #72] ; 4-byte Folded Reload ldr w2, [x19, #76] ; 4-byte Folded Reload mov x3, x0 ldr x0, [x19, #80] ; 8-byte Folded Reload bl _set_directory_timestamp b LBB0_19 LBB0_19: ; in Loop: Header=BB0_6 Depth=1 ldr x0, [x19, #208] bl _safe_free b LBB0_20 LBB0_20: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [x19, #104] ; 8-byte Folded Reload ldr x0, [x8, #16] bl _udf_opendir str x0, [x19, #192] ldr x8, [x19, #192] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_24 b LBB0_21 LBB0_21: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [x19, #112] ; 8-byte Folded Reload ldr x9, [x19, #104] ; 8-byte Folded Reload ldr x9, [x9, #24] str x9, [x19, #64] ; 8-byte Folded Spill ldr x9, [x19, #192] str x9, [x19, #56] ; 8-byte Folded Spill ldr x9, [x19, #216] str x9, [x19, #48] ; 8-byte Folded Spill ldr x0, [x8] bl _strlen ldr x8, [x19, #48] ; 8-byte Folded Reload ldr x1, [x19, #56] ; 8-byte Folded Reload mov x9, x0 ldr x0, [x19, #64] ; 8-byte Folded Reload add x2, x8, x9 bl _udf_extract_files subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB0_23 b LBB0_22 LBB0_22: b LBB0_66 LBB0_23: ; in Loop: Header=BB0_6 Depth=1 b LBB0_24 LBB0_24: ; in Loop: Header=BB0_6 Depth=1 b LBB0_64 LBB0_25: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [x19, #104] ; 8-byte Folded Reload ldr x0, [x8, #16] bl _udf_get_file_length ldr x8, [x19, #104] ; 8-byte Folded Reload str x0, [x19, #160] ldr x0, [x8, #8] ldr x1, [x19, #160] ldr x2, [x19, #200] ldr x3, [x19, #216] sub x4, x29, #232 bl _check_iso_props subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_27 b LBB0_26 LBB0_26: ; in Loop: Header=BB0_6 Depth=1 ldr x0, [x19, #216] bl _safe_free b LBB0_6 LBB0_27: ; in Loop: Header=BB0_6 Depth=1 ldr x0, [x19, #216] ldr x1, [x19, #160] bl _print_extracted_file str xzr, [x19, #224] b LBB0_28 LBB0_28: ; Parent Loop BB0_6 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x8, [x19, #224] adrp x9, _NB_OLD_C32@GOTPAGE ldr x9, [x9, _NB_OLD_C32@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, hs tbnz w8, #0, LBB0_36 b LBB0_29 LBB0_29: ; in Loop: Header=BB0_28 Depth=2 ldur x8, [x29, #-224] ldr x9, [x19, #224] ldr x8, [x8, x9, lsl #3] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_34 b LBB0_30 LBB0_30: ; in Loop: Header=BB0_28 Depth=2 adrp x8, _use_own_c32@GOTPAGE ldr x8, [x8, _use_own_c32@GOTPAGEOFF] ldr x8, [x8] ldr x9, [x19, #224] ldr x8, [x8, x9, lsl #3] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_34 b LBB0_31 LBB0_31: ; in Loop: Header=BB0_28 Depth=2 adrp x8, _FILES_DIR@GOTPAGE ldr x8, [x8, _FILES_DIR@GOTPAGEOFF] ldr w2, [x8] adrp x8, _embedded_sl_version_str@GOTPAGE ldr x8, [x8, _embedded_sl_version_str@GOTPAGEOFF] ldr x8, [x8] ldr w3, [x8] adrp x8, _old_c32_name@GOTPAGE ldr x8, [x8, _old_c32_name@GOTPAGEOFF] ldr x8, [x8] ldr x9, [x19, #224] ldr w4, [x8, x9, lsl #2] sub x0, x29, #152 str x0, [x19, #40] ; 8-byte Folded Spill adrp x1, l_.str.2@PAGE add x1, x1, l_.str.2@PAGEOFF bl _static_sprintf ldr x0, [x19, #40] ; 8-byte Folded Reload ldr x1, [x19, #216] adrp x8, _FALSE@GOTPAGE ldr x8, [x8, _FALSE@GOTPAGEOFF] ldr w2, [x8] bl _CopyFileU subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_33 b LBB0_32 LBB0_32: ; in Loop: Header=BB0_6 Depth=1 sub x0, x29, #152 bl _IsFileInDB subs x8, x0, #0 cset w8, ne and w10, w8, #0x1 adrp x9, l_.str.5@PAGE add x9, x9, l_.str.5@PAGEOFF adrp x8, l_.str.4@PAGE add x8, x8, l_.str.4@PAGEOFF ands w10, w10, #0x1 csel x8, x8, x9, ne sub sp, sp, #16 mov x9, sp str x8, [x9] adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _uprintf add sp, sp, #16 b LBB0_36 LBB0_33: ; in Loop: Header=BB0_28 Depth=2 bl _WindowsErrorString sub sp, sp, #16 mov x8, sp str x0, [x8] adrp x0, l_.str.6@PAGE add x0, x0, l_.str.6@PAGEOFF bl _uprintf add sp, sp, #16 b LBB0_34 LBB0_34: ; in Loop: Header=BB0_28 Depth=2 b LBB0_35 LBB0_35: ; in Loop: Header=BB0_28 Depth=2 ldr x8, [x19, #224] add x8, x8, #1 str x8, [x19, #224] b LBB0_28 LBB0_36: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [x19, #224] adrp x9, _NB_OLD_C32@GOTPAGE ldr x9, [x9, _NB_OLD_C32@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, hs tbnz w8, #0, LBB0_38 b LBB0_37 LBB0_37: ; in Loop: Header=BB0_6 Depth=1 b LBB0_6 LBB0_38: ; in Loop: Header=BB0_6 Depth=1 ldr x0, [x19, #216] add x1, x19, #240 bl _sanitize_filename str x0, [x19, #208] ldr w8, [x19, #240] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_40 b LBB0_39 LBB0_39: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [x19, #208] sub sp, sp, #16 mov x9, sp str x8, [x9] adrp x0, l_.str.7@PAGE add x0, x0, l_.str.7@PAGEOFF bl _uprintf add sp, sp, #16 b LBB0_40 LBB0_40: ; in Loop: Header=BB0_6 Depth=1 ldr x0, [x19, #208] adrp x8, _GENERIC_READ@GOTPAGE ldr x8, [x8, _GENERIC_READ@GOTPAGEOFF] ldr w8, [x8] adrp x9, _GENERIC_WRITE@GOTPAGE ldr x9, [x9, _GENERIC_WRITE@GOTPAGEOFF] ldr w9, [x9] orr w1, w8, w9 adrp x8, _FILE_SHARE_READ@GOTPAGE ldr x8, [x8, _FILE_SHARE_READ@GOTPAGEOFF] ldr w2, [x8] adrp x8, _CREATE_ALWAYS@GOTPAGE ldr x8, [x8, _CREATE_ALWAYS@GOTPAGEOFF] ldr w4, [x8] adrp x8, _FILE_ATTRIBUTE_NORMAL@GOTPAGE ldr x8, [x8, _FILE_ATTRIBUTE_NORMAL@GOTPAGEOFF] ldr w5, [x8] mov x6, #0 mov x3, x6 bl _CreateFileU ldr x8, [x19, #104] ; 8-byte Folded Reload str x0, [x8] ldr x8, [x8] adrp x9, _INVALID_HANDLE_VALUE@GOTPAGE ldr x9, [x9, _INVALID_HANDLE_VALUE@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_46 b LBB0_41 LBB0_41: ; in Loop: Header=BB0_6 Depth=1 bl _GetLastError stur x0, [x29, #-216] bl _WindowsErrorString sub sp, sp, #16 mov x8, sp str x0, [x8] adrp x0, l_.str.8@PAGE add x0, x0, l_.str.8@PAGEOFF bl _uprintf add sp, sp, #16 ldur x8, [x29, #-216] adrp x9, _ERROR_ACCESS_DENIED@GOTPAGE ldr x9, [x9, _ERROR_ACCESS_DENIED@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_44 b LBB0_42 LBB0_42: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [x19, #208] add x0, x8, #3 adrp x8, _autorun_name@GOTPAGE ldr x8, [x8, _autorun_name@GOTPAGEOFF] ldr w1, [x8] bl _safe_strcmp subs x8, x0, #0 cset w8, ne tbnz w8, #0, LBB0_44 b LBB0_43 LBB0_43: ; in Loop: Header=BB0_6 Depth=1 adrp x8, _stupid_antivirus@GOTPAGE ldr x8, [x8, _stupid_antivirus@GOTPAGEOFF] ldrsw x0, [x8] bl _uprintf b LBB0_45 LBB0_44: b LBB0_66 LBB0_45: ; in Loop: Header=BB0_6 Depth=1 b LBB0_58 LBB0_46: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [x19, #104] ; 8-byte Folded Reload ldr x0, [x8] ldr x1, [x19, #160] bl _preallocate_filesize b LBB0_47 LBB0_47: ; Parent Loop BB0_6 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x8, [x19, #160] subs x8, x8, #0 cset w8, le tbnz w8, #0, LBB0_57 b LBB0_48 LBB0_48: ; in Loop: Header=BB0_47 Depth=2 adrp x8, _FormatStatus@GOTPAGE ldr x8, [x8, _FormatStatus@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_50 b LBB0_49 LBB0_49: b LBB0_66 LBB0_50: ; in Loop: Header=BB0_47 Depth=2 ldr x0, [x19, #144] ; 8-byte Folded Reload adrp x8, _UDF_BLOCKSIZE@GOTPAGE ldr x8, [x8, _UDF_BLOCKSIZE@GOTPAGEOFF] ldr w2, [x8] mov w1, #0 bl _memset ldr x8, [x19, #104] ; 8-byte Folded Reload ldr x1, [x19, #144] ; 8-byte Folded Reload ldr x0, [x8, #16] mov w2, #1 bl _udf_read_block str x0, [x19, #168] ldr x8, [x19, #168] subs x8, x8, #0 cset w8, ge tbnz w8, #0, LBB0_52 b LBB0_51 LBB0_51: ldr x8, [x19, #112] ; 8-byte Folded Reload ldr x9, [x19, #216] str x9, [x19, #32] ; 8-byte Folded Spill ldr x0, [x8] bl _strlen ldr x8, [x19, #32] ; 8-byte Folded Reload add x8, x8, x0 sub sp, sp, #16 mov x9, sp str x8, [x9] adrp x0, l_.str.9@PAGE add x0, x0, l_.str.9@PAGEOFF bl _uprintf add sp, sp, #16 b LBB0_66 LBB0_52: ; in Loop: Header=BB0_47 Depth=2 ldr x0, [x19, #160] ldr x1, [x19, #168] bl _MIN ldr x8, [x19, #104] ; 8-byte Folded Reload ldr x1, [x19, #144] ; 8-byte Folded Reload stur x0, [x29, #-200] ldr x0, [x8] ldur x2, [x29, #-200] adrp x8, _WRITE_RETRIES@GOTPAGE ldr x8, [x8, _WRITE_RETRIES@GOTPAGEOFF] ldr w4, [x8] sub x3, x29, #208 bl _WriteFileWithRetry stur w0, [x29, #-236] bl _ISO_BLOCKING ldur w8, [x29, #-236] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_54 b LBB0_53 LBB0_53: bl _WindowsErrorString sub sp, sp, #16 mov x8, sp str x0, [x8] adrp x0, l_.str.10@PAGE add x0, x0, l_.str.10@PAGEOFF bl _uprintf add sp, sp, #16 b LBB0_66 LBB0_54: ; in Loop: Header=BB0_47 Depth=2 ldr x10, [x19, #120] ; 8-byte Folded Reload ldr x9, [x19, #168] ldr x8, [x19, #160] subs x8, x8, x9 str x8, [x19, #160] ldr w8, [x10] add w9, w8, #1 str w9, [x10] adrp x9, _PROGRESS_THRESHOLD@GOTPAGE ldr x9, [x9, _PROGRESS_THRESHOLD@GOTPAGEOFF] ldr w10, [x9] sdiv w9, w8, w10 mul w9, w9, w10 subs w8, w8, w9 subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_56 b LBB0_55 LBB0_55: ; in Loop: Header=BB0_47 Depth=2 ldr x8, [x19, #120] ; 8-byte Folded Reload adrp x9, _OP_FILE_COPY@GOTPAGE ldr x9, [x9, _OP_FILE_COPY@GOTPAGEOFF] ldr w0, [x9] adrp x9, _MSG_231@GOTPAGE ldr x9, [x9, _MSG_231@GOTPAGEOFF] ldr w1, [x9] ldr w2, [x8] adrp x8, _total_blocks@GOTPAGE ldr x8, [x8, _total_blocks@GOTPAGEOFF] ldr w3, [x8] bl _UpdateProgressWithInfo b LBB0_56 LBB0_56: ; in Loop: Header=BB0_47 Depth=2 b LBB0_47 LBB0_57: ; in Loop: Header=BB0_6 Depth=1 b LBB0_58 LBB0_58: ; in Loop: Header=BB0_6 Depth=1 adrp x8, _preserve_timestamps@GOTPAGE ldr x8, [x8, _preserve_timestamps@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_61 b LBB0_59 LBB0_59: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [x19, #104] ; 8-byte Folded Reload ldr x9, [x8] str x9, [x19, #24] ; 8-byte Folded Spill ldr x0, [x8, #16] bl _udf_get_attribute_time bl _to_filetime ldr x8, [x19, #104] ; 8-byte Folded Reload str w0, [x19, #16] ; 4-byte Folded Spill ldr x0, [x8, #16] bl _udf_get_access_time bl _to_filetime ldr x8, [x19, #104] ; 8-byte Folded Reload str w0, [x19, #20] ; 4-byte Folded Spill ldr x0, [x8, #16] bl _udf_get_modification_time bl _to_filetime ldr w1, [x19, #16] ; 4-byte Folded Reload ldr w2, [x19, #20] ; 4-byte Folded Reload mov x3, x0 ldr x0, [x19, #24] ; 8-byte Folded Reload bl _SetFileTime subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_61 b LBB0_60 LBB0_60: ; in Loop: Header=BB0_6 Depth=1 bl _WindowsErrorString sub sp, sp, #16 mov x8, sp str x0, [x8] adrp x0, l_.str.11@PAGE add x0, x0, l_.str.11@PAGEOFF bl _uprintf add sp, sp, #16 b LBB0_61 LBB0_61: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [x19, #104] ; 8-byte Folded Reload ldr x0, [x8] bl _safe_closehandle bl _ISO_BLOCKING ldur x8, [x29, #-232] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_63 b LBB0_62 LBB0_62: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [x19, #104] ; 8-byte Folded Reload ldr x0, [x19, #208] ldr x1, [x8, #8] ldr x2, [x19, #200] sub x3, x29, #232 bl _fix_config b LBB0_63 LBB0_63: ; in Loop: Header=BB0_6 Depth=1 ldr x0, [x19, #208] bl _safe_free b LBB0_64 LBB0_64: ; in Loop: Header=BB0_6 Depth=1 ldr x0, [x19, #216] bl _safe_free b LBB0_6 LBB0_65: stur wzr, [x29, #-156] mov w8, #1 str w8, [x19, #156] b LBB0_69 LBB0_66: ldr x8, [x19, #104] ; 8-byte Folded Reload ldr x8, [x8, #16] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_68 b LBB0_67 LBB0_67: ldr x8, [x19, #104] ; 8-byte Folded Reload ldr x0, [x8, #16] bl _udf_dirent_free b LBB0_68 LBB0_68: ldr x8, [x19, #104] ; 8-byte Folded Reload ldr x0, [x8] bl _safe_closehandle bl _ISO_BLOCKING ldr x0, [x19, #208] bl _safe_free ldr x0, [x19, #216] bl _safe_free mov w8, #1 stur w8, [x29, #-156] str w8, [x19, #156] b LBB0_69 LBB0_69: ldr x8, [x19, #184] mov sp, x8 ldur w8, [x29, #-156] str w8, [x19, #12] ; 4-byte Folded Spill ldur x9, [x29, #-24] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_71 b LBB0_70 LBB0_70: bl ___stack_chk_fail LBB0_71: ldr w0, [x19, #12] ; 4-byte Folded Reload sub sp, x29, #16 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .comm _UDF_BLOCKSIZE,4,2 ; @UDF_BLOCKSIZE .comm _TRUE,4,2 ; @TRUE .comm _FormatStatus,8,3 ; @FormatStatus .comm _psz_extract_dir,8,3 ; @psz_extract_dir .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Error allocating file name" l_.str.1: ; @.str.1 .asciz "%s%s/%s" .comm _scan_only,4,2 ; @scan_only .comm _preserve_timestamps,8,3 ; @preserve_timestamps .comm _NB_OLD_C32,8,3 ; @NB_OLD_C32 .comm _use_own_c32,8,3 ; @use_own_c32 l_.str.2: ; @.str.2 .asciz "%s/syslinux-%s/%s" .comm _FILES_DIR,4,2 ; @FILES_DIR .comm _embedded_sl_version_str,8,3 ; @embedded_sl_version_str .comm _old_c32_name,8,3 ; @old_c32_name .comm _FALSE,4,2 ; @FALSE l_.str.3: ; @.str.3 .asciz " Replaced with local version %s" l_.str.4: ; @.str.4 .asciz "\342\234\223" l_.str.5: ; @.str.5 .asciz "\342\234\227" l_.str.6: ; @.str.6 .asciz " Could not replace file: %s" l_.str.7: ; @.str.7 .asciz " File name sanitized to '%s'" .comm _GENERIC_READ,4,2 ; @GENERIC_READ .comm _GENERIC_WRITE,4,2 ; @GENERIC_WRITE .comm _FILE_SHARE_READ,4,2 ; @FILE_SHARE_READ .comm _CREATE_ALWAYS,4,2 ; @CREATE_ALWAYS .comm _FILE_ATTRIBUTE_NORMAL,4,2 ; @FILE_ATTRIBUTE_NORMAL .comm _INVALID_HANDLE_VALUE,8,3 ; @INVALID_HANDLE_VALUE l_.str.8: ; @.str.8 .asciz " Unable to create file: %s" .comm _ERROR_ACCESS_DENIED,8,3 ; @ERROR_ACCESS_DENIED .comm _autorun_name,4,2 ; @autorun_name .comm _stupid_antivirus,4,2 ; @stupid_antivirus l_.str.9: ; @.str.9 .asciz " Error reading UDF file %s" .comm _WRITE_RETRIES,4,2 ; @WRITE_RETRIES l_.str.10: ; @.str.10 .asciz " Error writing file: %s" .comm _nb_blocks,4,2 ; @nb_blocks .comm _PROGRESS_THRESHOLD,4,2 ; @PROGRESS_THRESHOLD .comm _OP_FILE_COPY,4,2 ; @OP_FILE_COPY .comm _MSG_231,4,2 ; @MSG_231 .comm _total_blocks,4,2 ; @total_blocks l_.str.11: ; @.str.11 .asciz " Could not set timestamp: %s" .no_dead_strip _udf_extract_files .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function udf_extract_files _udf_extract_files: ## @udf_extract_files .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $432, %rsp ## imm = 0x1B0 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movq %rdi, -160(%rbp) movq %rsi, -168(%rbp) movq %rdx, -176(%rbp) movq $0, -184(%rbp) movq $0, -256(%rbp) movq $0, -264(%rbp) movq _UDF_BLOCKSIZE@GOTPCREL(%rip), %rax movl (%rax), %eax ## kill: def $rax killed $eax movq %rax, -336(%rbp) ## 8-byte Spill movq %rsp, %rcx movq %rcx, -288(%rbp) shlq $2, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq -336(%rbp), %rax ## 8-byte Reload movq %rsp, %rcx movq %rcx, -328(%rbp) ## 8-byte Spill movq %rax, -296(%rbp) cmpq $0, -168(%rbp) je LBB0_2 ## %bb.1: cmpq $0, -176(%rbp) jne LBB0_3 LBB0_2: movl $1, -148(%rbp) movl $1, -316(%rbp) jmp LBB0_69 LBB0_3: movq -176(%rbp), %rax movsbl (%rax), %eax cmpl $0, %eax jne LBB0_5 ## %bb.4: movq _TRUE@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %eax, %eax movl %eax, %edi callq _UpdateProgressWithInfoInit LBB0_5: jmp LBB0_6 LBB0_6: ## =>This Loop Header: Depth=1 ## Child Loop BB0_28 Depth 2 ## Child Loop BB0_47 Depth 2 movq -168(%rbp), %rdi callq _udf_readdir movq %rax, -168(%rbp) cmpq $0, %rax je LBB0_65 ## %bb.7: ## in Loop: Header=BB0_6 Depth=1 movq _FormatStatus@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_9 ## %bb.8: jmp LBB0_66 LBB0_9: ## in Loop: Header=BB0_6 Depth=1 movq -168(%rbp), %rdi callq _udf_get_filename movq %rax, -272(%rbp) movq -272(%rbp), %rdi callq _strlen cmpq $0, %rax jne LBB0_11 ## %bb.10: ## in Loop: Header=BB0_6 Depth=1 jmp LBB0_6 LBB0_11: ## in Loop: Header=BB0_6 Depth=1 movq -176(%rbp), %rdi callq _strlen addq $3, %rax movq %rax, -352(%rbp) ## 8-byte Spill movq -272(%rbp), %rdi callq _strlen movq %rax, %rcx movq -352(%rbp), %rax ## 8-byte Reload addq %rcx, %rax movq %rax, -344(%rbp) ## 8-byte Spill movq _psz_extract_dir@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _strlen movq %rax, %rcx movq -344(%rbp), %rax ## 8-byte Reload addq %rcx, %rax addq $24, %rax ## kill: def $eax killed $eax killed $rax movl %eax, -236(%rbp) movl -236(%rbp), %esi movl $1, %edi callq _calloc movq %rax, -256(%rbp) cmpq $0, -256(%rbp) jne LBB0_13 ## %bb.12: leaq L_.str(%rip), %rdi movb $0, %al callq _uprintf jmp LBB0_66 LBB0_13: ## in Loop: Header=BB0_6 Depth=1 movq -256(%rbp), %rdi movl -236(%rbp), %esi movq _psz_extract_dir@GOTPCREL(%rip), %rax movq (%rax), %rcx movq -176(%rbp), %r8 movq -272(%rbp), %r9 leaq L_.str.1(%rip), %rdx callq __snprintf movl %eax, -236(%rbp) cmpl $0, -236(%rbp) jge LBB0_15 ## %bb.14: jmp LBB0_66 LBB0_15: ## in Loop: Header=BB0_6 Depth=1 movq -168(%rbp), %rdi callq _udf_is_dir cmpq $0, %rax je LBB0_25 ## %bb.16: ## in Loop: Header=BB0_6 Depth=1 movq _scan_only@GOTPCREL(%rip), %rax cmpl $0, (%rax) jne LBB0_20 ## %bb.17: ## in Loop: Header=BB0_6 Depth=1 movq -256(%rbp), %rdi leaq -232(%rbp), %rsi callq _sanitize_filename movq %rax, -264(%rbp) movq -264(%rbp), %rdi callq __mkdirU movl %eax, %edi callq _IGNORE_RETVAL movq _preserve_timestamps@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_19 ## %bb.18: ## in Loop: Header=BB0_6 Depth=1 movq -264(%rbp), %rax movq %rax, -368(%rbp) ## 8-byte Spill movq -168(%rbp), %rdi callq _udf_get_attribute_time movl %eax, %edi callq _to_filetime movl %eax, -360(%rbp) ## 4-byte Spill movq -168(%rbp), %rdi callq _udf_get_access_time movl %eax, %edi callq _to_filetime movl %eax, -356(%rbp) ## 4-byte Spill movq -168(%rbp), %rdi callq _udf_get_modification_time movl %eax, %edi callq _to_filetime movq -368(%rbp), %rdi ## 8-byte Reload movl -360(%rbp), %esi ## 4-byte Reload movl -356(%rbp), %edx ## 4-byte Reload movl %eax, %ecx callq _set_directory_timestamp LBB0_19: ## in Loop: Header=BB0_6 Depth=1 movq -264(%rbp), %rdi callq _safe_free LBB0_20: ## in Loop: Header=BB0_6 Depth=1 movq -168(%rbp), %rdi callq _udf_opendir movq %rax, -280(%rbp) cmpq $0, -280(%rbp) je LBB0_24 ## %bb.21: ## in Loop: Header=BB0_6 Depth=1 movq -160(%rbp), %rax movq %rax, -384(%rbp) ## 8-byte Spill movq -280(%rbp), %rax movq %rax, -376(%rbp) ## 8-byte Spill movq -256(%rbp), %rax movq %rax, -392(%rbp) ## 8-byte Spill movq _psz_extract_dir@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _strlen movq -392(%rbp), %rdx ## 8-byte Reload movq -384(%rbp), %rdi ## 8-byte Reload movq -376(%rbp), %rsi ## 8-byte Reload addq %rax, %rdx callq _udf_extract_files cmpl $0, %eax je LBB0_23 ## %bb.22: jmp LBB0_66 LBB0_23: ## in Loop: Header=BB0_6 Depth=1 jmp LBB0_24 LBB0_24: ## in Loop: Header=BB0_6 Depth=1 jmp LBB0_64 LBB0_25: ## in Loop: Header=BB0_6 Depth=1 movq -168(%rbp), %rdi callq _udf_get_file_length movq %rax, -312(%rbp) movq -176(%rbp), %rdi movq -312(%rbp), %rsi movq -272(%rbp), %rdx movq -256(%rbp), %rcx leaq -224(%rbp), %r8 callq _check_iso_props cmpq $0, %rax je LBB0_27 ## %bb.26: ## in Loop: Header=BB0_6 Depth=1 movq -256(%rbp), %rdi callq _safe_free jmp LBB0_6 LBB0_27: ## in Loop: Header=BB0_6 Depth=1 movq -256(%rbp), %rdi movq -312(%rbp), %rsi callq _print_extracted_file movq $0, -248(%rbp) LBB0_28: ## Parent Loop BB0_6 Depth=1 ## => This Inner Loop Header: Depth=2 movq -248(%rbp), %rax movq _NB_OLD_C32@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jae LBB0_36 ## %bb.29: ## in Loop: Header=BB0_28 Depth=2 movq -216(%rbp), %rax movq -248(%rbp), %rcx cmpq $0, (%rax,%rcx,8) je LBB0_34 ## %bb.30: ## in Loop: Header=BB0_28 Depth=2 movq _use_own_c32@GOTPCREL(%rip), %rax movq (%rax), %rax movq -248(%rbp), %rcx cmpq $0, (%rax,%rcx,8) je LBB0_34 ## %bb.31: ## in Loop: Header=BB0_28 Depth=2 leaq -144(%rbp), %rdi movq _FILES_DIR@GOTPCREL(%rip), %rax movl (%rax), %edx movq _embedded_sl_version_str@GOTPCREL(%rip), %rax movq (%rax), %rax movl (%rax), %ecx movq _old_c32_name@GOTPCREL(%rip), %rax movq (%rax), %rax movq -248(%rbp), %rsi movl (%rax,%rsi,4), %r8d leaq L_.str.2(%rip), %rsi callq _static_sprintf leaq -144(%rbp), %rdi movq -256(%rbp), %rsi movq _FALSE@GOTPCREL(%rip), %rax movl (%rax), %edx callq _CopyFileU cmpq $0, %rax je LBB0_33 ## %bb.32: ## in Loop: Header=BB0_6 Depth=1 leaq -144(%rbp), %rdi callq _IsFileInDB movq %rax, %rcx leaq L_.str.5(%rip), %rsi leaq L_.str.4(%rip), %rax cmpq $0, %rcx cmovneq %rax, %rsi leaq L_.str.3(%rip), %rdi movb $0, %al callq _uprintf jmp LBB0_36 LBB0_33: ## in Loop: Header=BB0_28 Depth=2 movb $0, %al callq _WindowsErrorString movq %rax, %rsi leaq L_.str.6(%rip), %rdi movb $0, %al callq _uprintf LBB0_34: ## in Loop: Header=BB0_28 Depth=2 jmp LBB0_35 LBB0_35: ## in Loop: Header=BB0_28 Depth=2 movq -248(%rbp), %rax addq $1, %rax movq %rax, -248(%rbp) jmp LBB0_28 LBB0_36: ## in Loop: Header=BB0_6 Depth=1 movq -248(%rbp), %rax movq _NB_OLD_C32@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jae LBB0_38 ## %bb.37: ## in Loop: Header=BB0_6 Depth=1 jmp LBB0_6 LBB0_38: ## in Loop: Header=BB0_6 Depth=1 movq -256(%rbp), %rdi leaq -232(%rbp), %rsi callq _sanitize_filename movq %rax, -264(%rbp) cmpl $0, -232(%rbp) jne LBB0_40 ## %bb.39: ## in Loop: Header=BB0_6 Depth=1 movq -264(%rbp), %rsi leaq L_.str.7(%rip), %rdi movb $0, %al callq _uprintf LBB0_40: ## in Loop: Header=BB0_6 Depth=1 movq -264(%rbp), %rdi movq _GENERIC_READ@GOTPCREL(%rip), %rax movl (%rax), %esi movq _GENERIC_WRITE@GOTPCREL(%rip), %rax orl (%rax), %esi movq _FILE_SHARE_READ@GOTPCREL(%rip), %rax movl (%rax), %edx movq _CREATE_ALWAYS@GOTPCREL(%rip), %rax movl (%rax), %r8d movq _FILE_ATTRIBUTE_NORMAL@GOTPCREL(%rip), %rax movl (%rax), %r9d xorl %eax, %eax movl %eax, %ecx subq $16, %rsp movq $0, (%rsp) callq _CreateFileU addq $16, %rsp movq %rax, -184(%rbp) movq -184(%rbp), %rax movq _INVALID_HANDLE_VALUE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_46 ## %bb.41: ## in Loop: Header=BB0_6 Depth=1 movb $0, %al callq _GetLastError movq %rax, -208(%rbp) movb $0, %al callq _WindowsErrorString movq %rax, %rsi leaq L_.str.8(%rip), %rdi movb $0, %al callq _uprintf movq -208(%rbp), %rax movq _ERROR_ACCESS_DENIED@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_44 ## %bb.42: ## in Loop: Header=BB0_6 Depth=1 movq -264(%rbp), %rdi addq $3, %rdi movq _autorun_name@GOTPCREL(%rip), %rax movl (%rax), %esi callq _safe_strcmp cmpq $0, %rax jne LBB0_44 ## %bb.43: ## in Loop: Header=BB0_6 Depth=1 movq _stupid_antivirus@GOTPCREL(%rip), %rax movslq (%rax), %rdi movb $0, %al callq _uprintf jmp LBB0_45 LBB0_44: jmp LBB0_66 LBB0_45: ## in Loop: Header=BB0_6 Depth=1 jmp LBB0_58 LBB0_46: ## in Loop: Header=BB0_6 Depth=1 movq -184(%rbp), %rdi movq -312(%rbp), %rsi callq _preallocate_filesize LBB0_47: ## Parent Loop BB0_6 Depth=1 ## => This Inner Loop Header: Depth=2 cmpq $0, -312(%rbp) jle LBB0_57 ## %bb.48: ## in Loop: Header=BB0_47 Depth=2 movq _FormatStatus@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_50 ## %bb.49: jmp LBB0_66 LBB0_50: ## in Loop: Header=BB0_47 Depth=2 movq -328(%rbp), %rdi ## 8-byte Reload movq _UDF_BLOCKSIZE@GOTPCREL(%rip), %rax movl (%rax), %edx xorl %esi, %esi callq _memset movq -328(%rbp), %rsi ## 8-byte Reload movq -168(%rbp), %rdi movl $1, %edx callq _udf_read_block movq %rax, -304(%rbp) cmpq $0, -304(%rbp) jge LBB0_52 ## %bb.51: movq -256(%rbp), %rax movq %rax, -400(%rbp) ## 8-byte Spill movq _psz_extract_dir@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _strlen movq -400(%rbp), %rsi ## 8-byte Reload addq %rax, %rsi leaq L_.str.9(%rip), %rdi movb $0, %al callq _uprintf jmp LBB0_66 LBB0_52: ## in Loop: Header=BB0_47 Depth=2 movq -312(%rbp), %rdi movq -304(%rbp), %rsi callq _MIN movq -328(%rbp), %rsi ## 8-byte Reload movq %rax, -192(%rbp) movq -184(%rbp), %rdi movq -192(%rbp), %rdx movq _WRITE_RETRIES@GOTPCREL(%rip), %rax movl (%rax), %r8d leaq -200(%rbp), %rcx callq _WriteFileWithRetry movl %eax, %edi movl %edi, -228(%rbp) callq _ISO_BLOCKING cmpl $0, -228(%rbp) jne LBB0_54 ## %bb.53: movb $0, %al callq _WindowsErrorString movq %rax, %rsi leaq L_.str.10(%rip), %rdi movb $0, %al callq _uprintf jmp LBB0_66 LBB0_54: ## in Loop: Header=BB0_47 Depth=2 movq -304(%rbp), %rcx movq -312(%rbp), %rax subq %rcx, %rax movq %rax, -312(%rbp) movq _nb_blocks@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, %edx addl $1, %edx movq _nb_blocks@GOTPCREL(%rip), %rcx movl %edx, (%rcx) movq _PROGRESS_THRESHOLD@GOTPCREL(%rip), %rcx cltd idivl (%rcx) cmpl $0, %edx jne LBB0_56 ## %bb.55: ## in Loop: Header=BB0_47 Depth=2 movq _OP_FILE_COPY@GOTPCREL(%rip), %rax movl (%rax), %edi movq _MSG_231@GOTPCREL(%rip), %rax movl (%rax), %esi movq _nb_blocks@GOTPCREL(%rip), %rax movl (%rax), %edx movq _total_blocks@GOTPCREL(%rip), %rax movl (%rax), %ecx callq _UpdateProgressWithInfo LBB0_56: ## in Loop: Header=BB0_47 Depth=2 jmp LBB0_47 LBB0_57: ## in Loop: Header=BB0_6 Depth=1 jmp LBB0_58 LBB0_58: ## in Loop: Header=BB0_6 Depth=1 movq _preserve_timestamps@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_61 ## %bb.59: ## in Loop: Header=BB0_6 Depth=1 movq -184(%rbp), %rax movq %rax, -416(%rbp) ## 8-byte Spill movq -168(%rbp), %rdi callq _udf_get_attribute_time movl %eax, %edi callq _to_filetime movl %eax, -408(%rbp) ## 4-byte Spill movq -168(%rbp), %rdi callq _udf_get_access_time movl %eax, %edi callq _to_filetime movl %eax, -404(%rbp) ## 4-byte Spill movq -168(%rbp), %rdi callq _udf_get_modification_time movl %eax, %edi callq _to_filetime movq -416(%rbp), %rdi ## 8-byte Reload movl -408(%rbp), %esi ## 4-byte Reload movl -404(%rbp), %edx ## 4-byte Reload movl %eax, %ecx callq _SetFileTime cmpl $0, %eax jne LBB0_61 ## %bb.60: ## in Loop: Header=BB0_6 Depth=1 movb $0, %al callq _WindowsErrorString movq %rax, %rsi leaq L_.str.11(%rip), %rdi movb $0, %al callq _uprintf LBB0_61: ## in Loop: Header=BB0_6 Depth=1 movq -184(%rbp), %rdi callq _safe_closehandle movl %eax, %edi callq _ISO_BLOCKING cmpq $0, -224(%rbp) je LBB0_63 ## %bb.62: ## in Loop: Header=BB0_6 Depth=1 movq -264(%rbp), %rdi movq -176(%rbp), %rsi movq -272(%rbp), %rdx leaq -224(%rbp), %rcx callq _fix_config LBB0_63: ## in Loop: Header=BB0_6 Depth=1 movq -264(%rbp), %rdi callq _safe_free LBB0_64: ## in Loop: Header=BB0_6 Depth=1 movq -256(%rbp), %rdi callq _safe_free jmp LBB0_6 LBB0_65: movl $0, -148(%rbp) movl $1, -316(%rbp) jmp LBB0_69 LBB0_66: cmpq $0, -168(%rbp) je LBB0_68 ## %bb.67: movq -168(%rbp), %rdi callq _udf_dirent_free LBB0_68: movq -184(%rbp), %rdi callq _safe_closehandle movl %eax, %edi callq _ISO_BLOCKING movq -264(%rbp), %rdi callq _safe_free movq -256(%rbp), %rdi callq _safe_free movl $1, -148(%rbp) movl $1, -316(%rbp) LBB0_69: movq -288(%rbp), %rax movq %rax, %rsp movl -148(%rbp), %eax movl %eax, -420(%rbp) ## 4-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB0_71 ## %bb.70: movl -420(%rbp), %eax ## 4-byte Reload movq %rbp, %rsp popq %rbp retq LBB0_71: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .comm _UDF_BLOCKSIZE,4,2 ## @UDF_BLOCKSIZE .comm _TRUE,4,2 ## @TRUE .comm _FormatStatus,8,3 ## @FormatStatus .comm _psz_extract_dir,8,3 ## @psz_extract_dir .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Error allocating file name" L_.str.1: ## @.str.1 .asciz "%s%s/%s" .comm _scan_only,4,2 ## @scan_only .comm _preserve_timestamps,8,3 ## @preserve_timestamps .comm _NB_OLD_C32,8,3 ## @NB_OLD_C32 .comm _use_own_c32,8,3 ## @use_own_c32 L_.str.2: ## @.str.2 .asciz "%s/syslinux-%s/%s" .comm _FILES_DIR,4,2 ## @FILES_DIR .comm _embedded_sl_version_str,8,3 ## @embedded_sl_version_str .comm _old_c32_name,8,3 ## @old_c32_name .comm _FALSE,4,2 ## @FALSE L_.str.3: ## @.str.3 .asciz " Replaced with local version %s" L_.str.4: ## @.str.4 .asciz "\342\234\223" L_.str.5: ## @.str.5 .asciz "\342\234\227" L_.str.6: ## @.str.6 .asciz " Could not replace file: %s" L_.str.7: ## @.str.7 .asciz " File name sanitized to '%s'" .comm _GENERIC_READ,4,2 ## @GENERIC_READ .comm _GENERIC_WRITE,4,2 ## @GENERIC_WRITE .comm _FILE_SHARE_READ,4,2 ## @FILE_SHARE_READ .comm _CREATE_ALWAYS,4,2 ## @CREATE_ALWAYS .comm _FILE_ATTRIBUTE_NORMAL,4,2 ## @FILE_ATTRIBUTE_NORMAL .comm _INVALID_HANDLE_VALUE,8,3 ## @INVALID_HANDLE_VALUE L_.str.8: ## @.str.8 .asciz " Unable to create file: %s" .comm _ERROR_ACCESS_DENIED,8,3 ## @ERROR_ACCESS_DENIED .comm _autorun_name,4,2 ## @autorun_name .comm _stupid_antivirus,4,2 ## @stupid_antivirus L_.str.9: ## @.str.9 .asciz " Error reading UDF file %s" .comm _WRITE_RETRIES,4,2 ## @WRITE_RETRIES L_.str.10: ## @.str.10 .asciz " Error writing file: %s" .comm _nb_blocks,4,2 ## @nb_blocks .comm _PROGRESS_THRESHOLD,4,2 ## @PROGRESS_THRESHOLD .comm _OP_FILE_COPY,4,2 ## @OP_FILE_COPY .comm _MSG_231,4,2 ## @MSG_231 .comm _total_blocks,4,2 ## @total_blocks L_.str.11: ## @.str.11 .asciz " Could not set timestamp: %s" .no_dead_strip _udf_extract_files .subsections_via_symbols
AnghaBench/rufus/src/extr_iso.c_udf_extract_files.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cgraph_node ; -- Begin function cgraph_node .p2align 2 _cgraph_node: ; @cgraph_node .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 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 adrp x8, _cgraph_hash@GOTPAGE ldr x8, [x8, _cgraph_hash@GOTPAGEOFF] str x8, [sp] ; 8-byte Folded Spill stur x0, [x29, #-16] ldur x0, [x29, #-16] bl _TREE_CODE adrp x8, _FUNCTION_DECL@GOTPAGE ldr x8, [x8, _FUNCTION_DECL@GOTPAGEOFF] ldr x8, [x8] subs x8, x0, x8 cset w8, eq and w0, w8, #0x1 bl _gcc_assert ldr x8, [sp] ; 8-byte Folded Reload ldr x8, [x8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _hash_node@GOTPAGE ldr x8, [x8, _hash_node@GOTPAGEOFF] ldr w1, [x8] adrp x8, _eq_node@GOTPAGE ldr x8, [x8, _eq_node@GOTPAGEOFF] ldr w2, [x8] mov w0, #10 mov x3, #0 bl _htab_create_ggc ldr x8, [sp] ; 8-byte Folded Reload str x0, [x8] b LBB0_2 LBB0_2: ldr x8, [sp] ; 8-byte Folded Reload ldur x9, [x29, #-16] add x1, sp, #24 str x9, [sp, #56] ldr x0, [x8] adrp x8, _INSERT@GOTPAGE ldr x8, [x8, _INSERT@GOTPAGEOFF] ldr w2, [x8] bl _htab_find_slot str x0, [sp, #8] ldr x8, [sp, #8] ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_3 LBB0_3: ldr x8, [sp, #8] ldr x8, [x8] str x8, [sp, #16] ldr x8, [sp, #16] ldr x8, [x8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ldr x8, [sp, #16] ldr x9, [sp, #16] str x8, [x9] b LBB0_5 LBB0_5: ldr x8, [sp, #16] stur x8, [x29, #-8] b LBB0_10 LBB0_6: bl _cgraph_create_node str x0, [sp, #16] ldur x8, [x29, #-16] ldr x9, [sp, #16] str x8, [x9, #32] ldr x8, [sp, #16] ldr x9, [sp, #8] str x8, [x9] ldur x0, [x29, #-16] bl _DECL_CONTEXT subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_9 b LBB0_7 LBB0_7: ldur x0, [x29, #-16] bl _DECL_CONTEXT bl _TREE_CODE adrp x8, _FUNCTION_DECL@GOTPAGE ldr x8, [x8, _FUNCTION_DECL@GOTPAGEOFF] ldr x8, [x8] subs x8, x0, x8 cset w8, ne tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: ldur x0, [x29, #-16] bl _DECL_CONTEXT bl _cgraph_node ldr x8, [sp, #16] str x0, [x8, #16] ldr x8, [sp, #16] ldr x8, [x8, #16] ldr x8, [x8, #8] ldr x9, [sp, #16] str x8, [x9, #24] ldr x8, [sp, #16] ldr x9, [sp, #16] ldr x9, [x9, #16] str x8, [x9, #8] ldr x8, [sp, #16] ldr x9, [sp, #16] str x8, [x9] b LBB0_9 LBB0_9: ldr x8, [sp, #16] stur x8, [x29, #-8] b LBB0_10 LBB0_10: ldur x0, [x29, #-8] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc ; -- End function .comm _FUNCTION_DECL,8,3 ; @FUNCTION_DECL .comm _cgraph_hash,8,3 ; @cgraph_hash .comm _hash_node,4,2 ; @hash_node .comm _eq_node,4,2 ; @eq_node .comm _INSERT,4,2 ; @INSERT .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cgraph_node ## -- Begin function cgraph_node .p2align 4, 0x90 _cgraph_node: ## @cgraph_node .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $80, %rsp movq %rdi, -16(%rbp) movq -16(%rbp), %rdi callq _TREE_CODE movq _FUNCTION_DECL@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax sete %al andb $1, %al movzbl %al, %edi callq _gcc_assert movq _cgraph_hash@GOTPCREL(%rip), %rax cmpq $0, (%rax) jne LBB0_2 ## %bb.1: movq _hash_node@GOTPCREL(%rip), %rax movl (%rax), %esi movq _eq_node@GOTPCREL(%rip), %rax movl (%rax), %edx movl $10, %edi xorl %eax, %eax movl %eax, %ecx callq _htab_create_ggc movq %rax, %rcx movq _cgraph_hash@GOTPCREL(%rip), %rax movq %rcx, (%rax) LBB0_2: movq -16(%rbp), %rax movq %rax, -24(%rbp) movq _cgraph_hash@GOTPCREL(%rip), %rax movq (%rax), %rdi movq _INSERT@GOTPCREL(%rip), %rax movl (%rax), %edx leaq -56(%rbp), %rsi callq _htab_find_slot movq %rax, -72(%rbp) movq -72(%rbp), %rax cmpq $0, (%rax) je LBB0_6 ## %bb.3: movq -72(%rbp), %rax movq (%rax), %rax movq %rax, -64(%rbp) movq -64(%rbp), %rax cmpq $0, (%rax) jne LBB0_5 ## %bb.4: movq -64(%rbp), %rcx movq -64(%rbp), %rax movq %rcx, (%rax) LBB0_5: movq -64(%rbp), %rax movq %rax, -8(%rbp) jmp LBB0_10 LBB0_6: movb $0, %al callq _cgraph_create_node movq %rax, -64(%rbp) movq -16(%rbp), %rcx movq -64(%rbp), %rax movq %rcx, 32(%rax) movq -64(%rbp), %rcx movq -72(%rbp), %rax movq %rcx, (%rax) movq -16(%rbp), %rdi callq _DECL_CONTEXT cmpq $0, %rax je LBB0_9 ## %bb.7: movq -16(%rbp), %rdi callq _DECL_CONTEXT movq %rax, %rdi callq _TREE_CODE movq _FUNCTION_DECL@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_9 ## %bb.8: movq -16(%rbp), %rdi callq _DECL_CONTEXT movq %rax, %rdi callq _cgraph_node movq %rax, %rcx movq -64(%rbp), %rax movq %rcx, 16(%rax) movq -64(%rbp), %rax movq 16(%rax), %rax movq 8(%rax), %rcx movq -64(%rbp), %rax movq %rcx, 24(%rax) movq -64(%rbp), %rcx movq -64(%rbp), %rax movq 16(%rax), %rax movq %rcx, 8(%rax) movq -64(%rbp), %rcx movq -64(%rbp), %rax movq %rcx, (%rax) LBB0_9: movq -64(%rbp), %rax movq %rax, -8(%rbp) LBB0_10: movq -8(%rbp), %rax addq $80, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _FUNCTION_DECL,8,3 ## @FUNCTION_DECL .comm _cgraph_hash,8,3 ## @cgraph_hash .comm _hash_node,4,2 ## @hash_node .comm _eq_node,4,2 ## @eq_node .comm _INSERT,4,2 ## @INSERT .subsections_via_symbols
AnghaBench/freebsd/contrib/gcc/extr_cgraph.c_cgraph_node.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dev_to_genpd_safe _dev_to_genpd_safe: ; @dev_to_genpd_safe .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] ldr x0, [sp] bl _IS_ERR_OR_NULL subs x8, x0, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp] ldr x0, [x8] bl _IS_ERR_OR_NULL subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ; kill: def $x8 killed $xzr str xzr, [sp, #8] b LBB0_6 LBB0_3: ldr x8, [sp] ldr x8, [x8] ldr x8, [x8, #8] adrp x9, _genpd_runtime_suspend@GOTPAGE ldr x9, [x9, _genpd_runtime_suspend@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ldr x8, [sp] ldr x0, [x8] bl _pd_to_genpd str x0, [sp, #8] b LBB0_6 LBB0_5: ; kill: def $x8 killed $xzr str xzr, [sp, #8] b LBB0_6 LBB0_6: ldr x0, [sp, #8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _genpd_runtime_suspend,8,3 ; @genpd_runtime_suspend .no_dead_strip _dev_to_genpd_safe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dev_to_genpd_safe _dev_to_genpd_safe: ## @dev_to_genpd_safe .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 movq %rdi, -16(%rbp) movq -16(%rbp), %rdi callq _IS_ERR_OR_NULL cmpq $0, %rax jne LBB0_2 ## %bb.1: movq -16(%rbp), %rax movq (%rax), %rdi callq _IS_ERR_OR_NULL cmpq $0, %rax je LBB0_3 LBB0_2: movq $0, -8(%rbp) jmp LBB0_6 LBB0_3: movq -16(%rbp), %rax movq (%rax), %rax movq 8(%rax), %rax movq _genpd_runtime_suspend@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_5 ## %bb.4: movq -16(%rbp), %rax movq (%rax), %rdi callq _pd_to_genpd movq %rax, -8(%rbp) jmp LBB0_6 LBB0_5: movq $0, -8(%rbp) LBB0_6: movq -8(%rbp), %rax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _genpd_runtime_suspend,8,3 ## @genpd_runtime_suspend .no_dead_strip _dev_to_genpd_safe .subsections_via_symbols
AnghaBench/linux/drivers/base/power/extr_domain.c_dev_to_genpd_safe.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pe_dll_id_target ; -- Begin function pe_dll_id_target .p2align 2 _pe_dll_id_target: ; @pe_dll_id_target .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 adrp x8, _pe_detail_list@GOTPAGE ldr x8, [x8, _pe_detail_list@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill stur x0, [x29, #-8] stur wzr, [x29, #-12] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #8] ; 8-byte Folded Reload ldr x8, [x8] ldursw x9, [x29, #-12] add x8, x8, x9, lsl #4 ldr x8, [x8, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_7 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #8] ; 8-byte Folded Reload ldr x8, [x8] ldursw x9, [x29, #-12] add x8, x8, x9, lsl #4 ldr x0, [x8, #8] ldur x1, [x29, #-8] bl _strcmp subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #8] ; 8-byte Folded Reload ldr x8, [x8] ldursw x9, [x29, #-12] lsl x9, x9, #4 ldr x0, [x8, x9] ldur x1, [x29, #-8] bl _strcmp subs x8, x0, #0 cset w8, ne tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ldr x8, [sp, #8] ; 8-byte Folded Reload ldr x8, [x8] ldursw x9, [x29, #-12] add x8, x8, x9, lsl #4 adrp x9, _pe_details@GOTPAGE ldr x9, [x9, _pe_details@GOTPAGEOFF] str x8, [x9] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret LBB0_5: ; in Loop: Header=BB0_1 Depth=1 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-12] add w8, w8, #1 stur w8, [x29, #-12] b LBB0_1 LBB0_7: adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl __ ldur x1, [x29, #-8] bl _einfo mov w0, #1 bl _exit .cfi_endproc ; -- End function .comm _pe_detail_list,8,3 ; @pe_detail_list .comm _pe_details,8,3 ; @pe_details .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%XUnsupported PEI architecture: %s\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pe_dll_id_target ## -- Begin function pe_dll_id_target .p2align 4, 0x90 _pe_dll_id_target: ## @pe_dll_id_target .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 movq %rdi, -8(%rbp) movl $0, -12(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movq _pe_detail_list@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -12(%rbp), %rcx shlq $4, %rcx addq %rcx, %rax cmpq $0, 8(%rax) je LBB0_7 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq _pe_detail_list@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -12(%rbp), %rcx shlq $4, %rcx addq %rcx, %rax movq 8(%rax), %rdi movq -8(%rbp), %rsi callq _strcmp cmpq $0, %rax je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movq _pe_detail_list@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -12(%rbp), %rcx shlq $4, %rcx addq %rcx, %rax movq (%rax), %rdi movq -8(%rbp), %rsi callq _strcmp cmpq $0, %rax jne LBB0_5 LBB0_4: movq _pe_detail_list@GOTPCREL(%rip), %rax movq (%rax), %rcx movslq -12(%rbp), %rax shlq $4, %rax addq %rax, %rcx movq _pe_details@GOTPCREL(%rip), %rax movq %rcx, (%rax) addq $16, %rsp popq %rbp retq LBB0_5: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_6 LBB0_6: ## in Loop: Header=BB0_1 Depth=1 movl -12(%rbp), %eax addl $1, %eax movl %eax, -12(%rbp) jmp LBB0_1 LBB0_7: leaq L_.str(%rip), %rdi callq __ movl %eax, %edi movq -8(%rbp), %rsi callq _einfo movl $1, %edi callq _exit .cfi_endproc ## -- End function .comm _pe_detail_list,8,3 ## @pe_detail_list .comm _pe_details,8,3 ## @pe_details .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%XUnsupported PEI architecture: %s\n" .subsections_via_symbols
AnghaBench/freebsd/contrib/binutils/ld/extr_pe-dll.c_pe_dll_id_target.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function get_msglevel _get_msglevel: ; @get_msglevel .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, #8] ldr x0, [sp, #8] bl _netdev_priv str x0, [sp] ldr x8, [sp] ldr w0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _get_msglevel .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function get_msglevel _get_msglevel: ## @get_msglevel .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 movq %rdi, -8(%rbp) movq -8(%rbp), %rdi callq _netdev_priv movq %rax, -16(%rbp) movq -16(%rbp), %rax movl (%rax), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _get_msglevel .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/extr_sundance.c_get_msglevel.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _radeon_atom_get_voltage_evv ; -- Begin function radeon_atom_get_voltage_evv .p2align 2 _radeon_atom_get_voltage_evv: ; @radeon_atom_get_voltage_evv .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 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 stur x0, [x29, #-16] stur x1, [x29, #-24] stur x2, [x29, #-32] adrp x8, _COMMAND@GOTPAGE ldr x8, [x8, _COMMAND@GOTPAGEOFF] ldr w0, [x8] adrp x8, _GetVoltageInfo@GOTPAGE ldr x8, [x8, _GetVoltageInfo@GOTPAGEOFF] ldr w1, [x8] bl _GetIndexIntoMasterTable stur w0, [x29, #-36] ldur x8, [x29, #-16] ldr x8, [x8, #8] str x8, [sp, #24] str xzr, [sp, #32] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #32] ldr x9, [sp, #24] subs x8, x8, x9 cset w8, hs tbnz w8, #0, LBB0_6 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldur x8, [x29, #-16] ldr x8, [x8, #16] ldr x9, [sp, #32] lsl x9, x9, #4 ldr x8, [x8, x9] ldur x9, [x29, #-24] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: b LBB0_6 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #32] add x8, x8, #1 str x8, [sp, #32] b LBB0_1 LBB0_6: ldr x8, [sp, #32] ldr x9, [sp, #24] subs x8, x8, x9 cset w8, lo tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: adrp x8, _EINVAL@GOTPAGE ldr x8, [x8, _EINVAL@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 stur w8, [x29, #-4] b LBB0_9 LBB0_8: adrp x8, _VOLTAGE_TYPE_VDDC@GOTPAGE ldr x8, [x8, _VOLTAGE_TYPE_VDDC@GOTPAGEOFF] ldr w8, [x8] add x9, sp, #8 str x9, [sp] ; 8-byte Folded Spill str w8, [sp, #20] adrp x8, _ATOM_GET_VOLTAGE_EVV_VOLTAGE@GOTPAGE ldr x8, [x8, _ATOM_GET_VOLTAGE_EVV_VOLTAGE@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #16] ldur x0, [x29, #-24] bl _cpu_to_le16 str w0, [sp, #12] ldur x8, [x29, #-16] ldr x8, [x8, #16] ldr x9, [sp, #32] add x8, x8, x9, lsl #4 ldr w0, [x8, #8] bl _cpu_to_le32 ldr x2, [sp] ; 8-byte Folded Reload str w0, [sp, #8] ldur x8, [x29, #-16] ldr w0, [x8] ldur w1, [x29, #-36] bl _atom_execute_table ldr w0, [sp, #8] bl _le16_to_cpu ldur x8, [x29, #-32] str x0, [x8] stur wzr, [x29, #-4] b LBB0_9 LBB0_9: ldur w0, [x29, #-4] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc ; -- End function .comm _COMMAND,4,2 ; @COMMAND .comm _GetVoltageInfo,4,2 ; @GetVoltageInfo .comm _EINVAL,4,2 ; @EINVAL .comm _VOLTAGE_TYPE_VDDC,4,2 ; @VOLTAGE_TYPE_VDDC .comm _ATOM_GET_VOLTAGE_EVV_VOLTAGE,4,2 ; @ATOM_GET_VOLTAGE_EVV_VOLTAGE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _radeon_atom_get_voltage_evv ## -- Begin function radeon_atom_get_voltage_evv .p2align 4, 0x90 _radeon_atom_get_voltage_evv: ## @radeon_atom_get_voltage_evv .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $80, %rsp movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) movq %rdx, -32(%rbp) movq _COMMAND@GOTPCREL(%rip), %rax movl (%rax), %edi movq _GetVoltageInfo@GOTPCREL(%rip), %rax movl (%rax), %esi callq _GetIndexIntoMasterTable movl %eax, -36(%rbp) movq -16(%rbp), %rax movq 8(%rax), %rax movq %rax, -56(%rbp) movq $0, -48(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movq -48(%rbp), %rax cmpq -56(%rbp), %rax jae LBB0_6 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq -16(%rbp), %rax movq 16(%rax), %rax movq -48(%rbp), %rcx shlq $4, %rcx addq %rcx, %rax movq (%rax), %rax cmpq -24(%rbp), %rax jne LBB0_4 ## %bb.3: jmp LBB0_6 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_5 LBB0_5: ## in Loop: Header=BB0_1 Depth=1 movq -48(%rbp), %rax addq $1, %rax movq %rax, -48(%rbp) jmp LBB0_1 LBB0_6: movq -48(%rbp), %rax cmpq -56(%rbp), %rax jb LBB0_8 ## %bb.7: xorl %eax, %eax movq _EINVAL@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) jmp LBB0_9 LBB0_8: movq _VOLTAGE_TYPE_VDDC@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -60(%rbp) movq _ATOM_GET_VOLTAGE_EVV_VOLTAGE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -64(%rbp) movq -24(%rbp), %rdi callq _cpu_to_le16 movl %eax, -68(%rbp) movq -16(%rbp), %rax movq 16(%rax), %rax movq -48(%rbp), %rcx shlq $4, %rcx addq %rcx, %rax movl 8(%rax), %edi callq _cpu_to_le32 movl %eax, -72(%rbp) movq -16(%rbp), %rax movl (%rax), %edi movl -36(%rbp), %esi leaq -72(%rbp), %rdx callq _atom_execute_table movl -72(%rbp), %edi callq _le16_to_cpu movq %rax, %rcx movq -32(%rbp), %rax movq %rcx, (%rax) movl $0, -4(%rbp) LBB0_9: movl -4(%rbp), %eax addq $80, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _COMMAND,4,2 ## @COMMAND .comm _GetVoltageInfo,4,2 ## @GetVoltageInfo .comm _EINVAL,4,2 ## @EINVAL .comm _VOLTAGE_TYPE_VDDC,4,2 ## @VOLTAGE_TYPE_VDDC .comm _ATOM_GET_VOLTAGE_EVV_VOLTAGE,4,2 ## @ATOM_GET_VOLTAGE_EVV_VOLTAGE .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_atombios.c_radeon_atom_get_voltage_evv.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ks8842_write32 _ks8842_write32: ; @ks8842_write32 .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 stur x0, [x29, #-8] stur w1, [x29, #-12] str w2, [sp, #16] str w3, [sp, #12] ldur x0, [x29, #-8] ldur w1, [x29, #-12] bl _ks8842_select_bank ldr w0, [sp, #16] ldur x8, [x29, #-8] ldr x8, [x8] ldrsw x9, [sp, #12] add x1, x8, x9 bl _iowrite32 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .no_dead_strip _ks8842_write32 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ks8842_write32 _ks8842_write32: ## @ks8842_write32 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movl %esi, -12(%rbp) movl %edx, -16(%rbp) movl %ecx, -20(%rbp) movq -8(%rbp), %rdi movl -12(%rbp), %esi callq _ks8842_select_bank movl -16(%rbp), %edi movq -8(%rbp), %rax movq (%rax), %rsi movslq -20(%rbp), %rax addq %rax, %rsi callq _iowrite32 addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _ks8842_write32 .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/extr_ks8842.c_ks8842_write32.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function qcom_iommu_tlb_flush_walk _qcom_iommu_tlb_flush_walk: ; @qcom_iommu_tlb_flush_walk .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 stur x0, [x29, #-8] str x1, [sp, #16] str x2, [sp, #8] str x3, [sp] ldur x0, [x29, #-8] ldr x1, [sp, #16] ldr x2, [sp, #8] ldr x4, [sp] mov w3, #0 bl _qcom_iommu_tlb_inv_range_nosync ldr x0, [sp] bl _qcom_iommu_tlb_sync ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .no_dead_strip _qcom_iommu_tlb_flush_walk .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function qcom_iommu_tlb_flush_walk _qcom_iommu_tlb_flush_walk: ## @qcom_iommu_tlb_flush_walk .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movq %rcx, -32(%rbp) movq -8(%rbp), %rdi movq -16(%rbp), %rsi movq -24(%rbp), %rdx movq -32(%rbp), %r8 xorl %ecx, %ecx callq _qcom_iommu_tlb_inv_range_nosync movq -32(%rbp), %rdi callq _qcom_iommu_tlb_sync addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _qcom_iommu_tlb_flush_walk .subsections_via_symbols
AnghaBench/linux/drivers/iommu/extr_qcom_iommu.c_qcom_iommu_tlb_flush_walk.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function hlsl_d3d9_renderchain_free _hlsl_d3d9_renderchain_free: ; @hlsl_d3d9_renderchain_free .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, #8] ldr x8, [sp, #8] str x8, [sp] ldr x8, [sp] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: b LBB0_3 LBB0_2: ldr x0, [sp] bl _d3d9_hlsl_destroy_resources ldr x0, [sp] bl _d3d9_renderchain_destroy_passes_and_luts ldr x0, [sp] bl _free b LBB0_3 LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _hlsl_d3d9_renderchain_free .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function hlsl_d3d9_renderchain_free _hlsl_d3d9_renderchain_free: ## @hlsl_d3d9_renderchain_free .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 movq %rdi, -8(%rbp) movq -8(%rbp), %rax movq %rax, -16(%rbp) cmpq $0, -16(%rbp) jne LBB0_2 ## %bb.1: jmp LBB0_3 LBB0_2: movq -16(%rbp), %rdi callq _d3d9_hlsl_destroy_resources movq -16(%rbp), %rdi callq _d3d9_renderchain_destroy_passes_and_luts movq -16(%rbp), %rdi callq _free LBB0_3: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _hlsl_d3d9_renderchain_free .subsections_via_symbols
AnghaBench/RetroArch/gfx/drivers_renderchain/extr_d3d9_hlsl_renderchain.c_hlsl_d3d9_renderchain_free.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function _bfd_score_elf_copy_indirect_symbol __bfd_score_elf_copy_indirect_symbol: ; @_bfd_score_elf_copy_indirect_symbol .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 stur x0, [x29, #-8] stur x1, [x29, #-16] str x2, [sp, #24] ldur x0, [x29, #-8] ldur x1, [x29, #-16] ldr x2, [sp, #24] bl __bfd_elf_link_hash_copy_indirect ldr x8, [sp, #24] ldr x8, [x8] adrp x9, _bfd_link_hash_indirect@GOTPAGE ldr x9, [x9, _bfd_link_hash_indirect@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: b LBB0_6 LBB0_2: ldur x8, [x29, #-16] str x8, [sp, #16] ldr x8, [sp, #24] str x8, [sp, #8] ldr x8, [sp, #8] ldr x10, [x8, #16] ldr x9, [sp, #16] ldr x8, [x9, #16] add x8, x8, x10 str x8, [x9, #16] ldr x8, [sp, #8] ldr x8, [x8, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: adrp x8, _TRUE@GOTPAGE ldr x8, [x8, _TRUE@GOTPAGEOFF] ldr x8, [x8] ldr x9, [sp, #16] str x8, [x9, #8] b LBB0_4 LBB0_4: ldr x8, [sp, #8] ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: adrp x8, _TRUE@GOTPAGE ldr x8, [x8, _TRUE@GOTPAGEOFF] ldr x8, [x8] ldr x9, [sp, #16] str x8, [x9] b LBB0_6 LBB0_6: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _bfd_link_hash_indirect,8,3 ; @bfd_link_hash_indirect .comm _TRUE,8,3 ; @TRUE .no_dead_strip __bfd_score_elf_copy_indirect_symbol .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function _bfd_score_elf_copy_indirect_symbol __bfd_score_elf_copy_indirect_symbol: ## @_bfd_score_elf_copy_indirect_symbol .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movq -8(%rbp), %rdi movq -16(%rbp), %rsi movq -24(%rbp), %rdx callq __bfd_elf_link_hash_copy_indirect movq -24(%rbp), %rax movq (%rax), %rax movq _bfd_link_hash_indirect@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_2 ## %bb.1: jmp LBB0_6 LBB0_2: movq -16(%rbp), %rax movq %rax, -32(%rbp) movq -24(%rbp), %rax movq %rax, -40(%rbp) movq -40(%rbp), %rax movq 16(%rax), %rcx movq -32(%rbp), %rax addq 16(%rax), %rcx movq %rcx, 16(%rax) movq -40(%rbp), %rax cmpq $0, 8(%rax) je LBB0_4 ## %bb.3: movq _TRUE@GOTPCREL(%rip), %rax movq (%rax), %rcx movq -32(%rbp), %rax movq %rcx, 8(%rax) LBB0_4: movq -40(%rbp), %rax cmpq $0, (%rax) je LBB0_6 ## %bb.5: movq _TRUE@GOTPCREL(%rip), %rax movq (%rax), %rcx movq -32(%rbp), %rax movq %rcx, (%rax) LBB0_6: addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _bfd_link_hash_indirect,8,3 ## @bfd_link_hash_indirect .comm _TRUE,8,3 ## @TRUE .no_dead_strip __bfd_score_elf_copy_indirect_symbol .subsections_via_symbols
AnghaBench/freebsd/contrib/binutils/bfd/extr_elf32-score.c__bfd_score_elf_copy_indirect_symbol.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function srcimp_mgr_get_ctrl_blk _srcimp_mgr_get_ctrl_blk: ; @srcimp_mgr_get_ctrl_blk .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 str x0, [sp, #16] ldr x8, [sp, #16] ; kill: def $x9 killed $xzr str xzr, [x8] adrp x8, _GFP_KERNEL@GOTPAGE ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] ldr w1, [x8] mov w0, #4 bl _kzalloc str x0, [sp, #8] ldr x8, [sp, #8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _ENOMEM@GOTPAGE ldr x8, [x8, _ENOMEM@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 stur w8, [x29, #-4] b LBB0_3 LBB0_2: ldr x8, [sp, #8] ldr x9, [sp, #16] str x8, [x9] stur wzr, [x29, #-4] b LBB0_3 LBB0_3: ldur w0, [x29, #-4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .no_dead_strip _srcimp_mgr_get_ctrl_blk .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function srcimp_mgr_get_ctrl_blk _srcimp_mgr_get_ctrl_blk: ## @srcimp_mgr_get_ctrl_blk .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -16(%rbp) movq -16(%rbp), %rax movq $0, (%rax) movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi movl $4, %edi callq _kzalloc movq %rax, -24(%rbp) cmpq $0, -24(%rbp) jne LBB0_2 ## %bb.1: xorl %eax, %eax movq _ENOMEM@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) jmp LBB0_3 LBB0_2: movq -24(%rbp), %rcx movq -16(%rbp), %rax movq %rcx, (%rax) movl $0, -4(%rbp) LBB0_3: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .no_dead_strip _srcimp_mgr_get_ctrl_blk .subsections_via_symbols
AnghaBench/fastsocket/kernel/sound/pci/ctxfi/extr_cthw20k2.c_srcimp_mgr_get_ctrl_blk.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _CheckSignature ; -- Begin function CheckSignature .p2align 2 _CheckSignature: ; @CheckSignature .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 adrp x8, _openssl_lock@GOTPAGE ldr x8, [x8, _openssl_lock@GOTPAGEOFF] str x8, [sp] ; 8-byte Folded Spill str x0, [sp, #16] str x1, [sp, #8] ldr x8, [sp, #16] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp, #8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: stur wzr, [x29, #-4] b LBB0_6 LBB0_3: ldr x8, [sp] ; 8-byte Folded Reload ldr w0, [x8] bl _Lock ldr x8, [sp, #16] ldr w0, [x8] ldr x8, [sp, #8] ldr w1, [x8] bl _X509_verify subs x8, x0, #0 cset w8, ne tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ldr x8, [sp] ; 8-byte Folded Reload ldr w0, [x8] bl _Unlock stur wzr, [x29, #-4] b LBB0_6 LBB0_5: ldr x8, [sp] ; 8-byte Folded Reload ldr w0, [x8] bl _Unlock mov w8, #1 stur w8, [x29, #-4] b LBB0_6 LBB0_6: ldur w0, [x29, #-4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _openssl_lock,4,2 ; @openssl_lock .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _CheckSignature ## -- Begin function CheckSignature .p2align 4, 0x90 _CheckSignature: ## @CheckSignature .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) cmpq $0, -16(%rbp) je LBB0_2 ## %bb.1: cmpq $0, -24(%rbp) jne LBB0_3 LBB0_2: movl $0, -4(%rbp) jmp LBB0_6 LBB0_3: movq _openssl_lock@GOTPCREL(%rip), %rax movl (%rax), %edi callq _Lock movq -16(%rbp), %rax movl (%rax), %edi movq -24(%rbp), %rax movl (%rax), %esi callq _X509_verify cmpq $0, %rax jne LBB0_5 ## %bb.4: movq _openssl_lock@GOTPCREL(%rip), %rax movl (%rax), %edi callq _Unlock movl $0, -4(%rbp) jmp LBB0_6 LBB0_5: movq _openssl_lock@GOTPCREL(%rip), %rax movl (%rax), %edi callq _Unlock movl $1, -4(%rbp) LBB0_6: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _openssl_lock,4,2 ## @openssl_lock .subsections_via_symbols
AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Encrypt.c_CheckSignature.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function steam_client_ll_raw_request _steam_client_ll_raw_request: ; @steam_client_ll_raw_request .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 stur x0, [x29, #-8] sturb w1, [x29, #-9] str x2, [sp, #24] str x3, [sp, #16] strb w4, [sp, #15] str w5, [sp, #8] ldur x8, [x29, #-8] ldr x8, [x8] str x8, [sp] ldr x8, [sp] ldr w0, [x8] ldurb w1, [x29, #-9] ldr x2, [sp, #24] ldr x3, [sp, #16] ldrb w4, [sp, #15] ldr w5, [sp, #8] bl _hid_hw_raw_request ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .no_dead_strip _steam_client_ll_raw_request .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function steam_client_ll_raw_request _steam_client_ll_raw_request: ## @steam_client_ll_raw_request .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movb %r8b, %al ## kill: def $sil killed $sil killed $esi movq %rdi, -8(%rbp) movb %sil, -9(%rbp) movq %rdx, -24(%rbp) movq %rcx, -32(%rbp) movb %al, -33(%rbp) movl %r9d, -40(%rbp) movq -8(%rbp), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq -48(%rbp), %rax movl (%rax), %edi movb -9(%rbp), %sil movq -24(%rbp), %rdx movq -32(%rbp), %rcx movb -33(%rbp), %al movl -40(%rbp), %r9d movzbl %sil, %esi movzbl %al, %r8d callq _hid_hw_raw_request addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _steam_client_ll_raw_request .subsections_via_symbols
AnghaBench/linux/drivers/hid/extr_hid-steam.c_steam_client_ll_raw_request.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function acpi_battery_get_info _acpi_battery_get_info: ; @acpi_battery_get_info .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 adrp x8, _info_readers@GOTPAGE ldr x8, [x8, _info_readers@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill stur x0, [x29, #-8] str wzr, [sp, #16] stur wzr, [x29, #-12] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #8] ; 8-byte Folded Reload ldur w9, [x29, #-12] str w9, [sp, #4] ; 4-byte Folded Spill ldr x0, [x8] bl _ARRAY_SIZE ldr w8, [sp, #4] ; 4-byte Folded Reload subs w8, w8, w0 cset w8, ge tbnz w8, #0, LBB0_6 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr x9, [sp, #8] ; 8-byte Folded Reload ldur x8, [x29, #-8] ldr x8, [x8] ldr w0, [x8] ldr x8, [x9] ldursw x10, [x29, #-12] mov x11, #12 mul x10, x10, x11 add x8, x8, x10 ldr w1, [x8, #8] adrp x8, _ACPI_SBS_BATTERY@GOTPAGE ldr x8, [x8, _ACPI_SBS_BATTERY@GOTPAGEOFF] ldr w2, [x8] ldr x8, [x9] ldursw x10, [x29, #-12] mul x10, x10, x11 add x8, x8, x10 ldr w3, [x8, #4] ldur x8, [x29, #-8] ldr x9, [x9] ldursw x10, [x29, #-12] mul x10, x10, x11 ldrsw x9, [x9, x10] add x4, x8, x9, lsl #2 bl _acpi_smbus_read str w0, [sp, #16] ldr w8, [sp, #16] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: b LBB0_6 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-12] add w8, w8, #1 stur w8, [x29, #-12] b LBB0_1 LBB0_6: ldr w0, [sp, #16] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _info_readers,8,3 ; @info_readers .comm _ACPI_SBS_BATTERY,4,2 ; @ACPI_SBS_BATTERY .no_dead_strip _acpi_battery_get_info .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function acpi_battery_get_info _acpi_battery_get_info: ## @acpi_battery_get_info .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movl $0, -16(%rbp) movl $0, -12(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movl -12(%rbp), %eax movl %eax, -20(%rbp) ## 4-byte Spill movq _info_readers@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _ARRAY_SIZE movl %eax, %ecx movl -20(%rbp), %eax ## 4-byte Reload cmpl %ecx, %eax jge LBB0_6 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq -8(%rbp), %rax movq (%rax), %rax movl (%rax), %edi movq _info_readers@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -12(%rbp), %rcx imulq $12, %rcx, %rcx addq %rcx, %rax movl 8(%rax), %esi movq _ACPI_SBS_BATTERY@GOTPCREL(%rip), %rax movl (%rax), %edx movq _info_readers@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -12(%rbp), %rcx imulq $12, %rcx, %rcx addq %rcx, %rax movl 4(%rax), %ecx movq -8(%rbp), %r8 movq _info_readers@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -12(%rbp), %r9 imulq $12, %r9, %r9 addq %r9, %rax movslq (%rax), %rax shlq $2, %rax addq %rax, %r8 callq _acpi_smbus_read movl %eax, -16(%rbp) cmpl $0, -16(%rbp) je LBB0_4 ## %bb.3: jmp LBB0_6 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_5 LBB0_5: ## in Loop: Header=BB0_1 Depth=1 movl -12(%rbp), %eax addl $1, %eax movl %eax, -12(%rbp) jmp LBB0_1 LBB0_6: movl -16(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _info_readers,8,3 ## @info_readers .comm _ACPI_SBS_BATTERY,4,2 ## @ACPI_SBS_BATTERY .no_dead_strip _acpi_battery_get_info .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/acpi/extr_sbs.c_acpi_battery_get_info.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function stm32_rproc_set_hold_boot _stm32_rproc_set_hold_boot: ; @stm32_rproc_set_hold_boot .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 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 stur x0, [x29, #-8] stur w1, [x29, #-12] ldur x8, [x29, #-8] ldr x8, [x8, #8] stur x8, [x29, #-24] ldur x8, [x29, #-24] ldr x9, [x8, #8] str x9, [sp, #24] ldr w8, [x8, #16] str w8, [sp, #32] ldur w8, [x29, #-12] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _HOLD_BOOT@GOTPAGE ldr x8, [x8, _HOLD_BOOT@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #8] ; 4-byte Folded Spill b LBB0_3 LBB0_2: adrp x8, _RELEASE_BOOT@GOTPAGE ldr x8, [x8, _RELEASE_BOOT@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #8] ; 4-byte Folded Spill b LBB0_3 LBB0_3: ldr w8, [sp, #8] ; 4-byte Folded Reload str w8, [sp, #16] adrp x8, _CONFIG_HAVE_ARM_SMCCC@GOTPAGE ldr x8, [x8, _CONFIG_HAVE_ARM_SMCCC@GOTPAGEOFF] ldr w0, [x8] bl _IS_ENABLED subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_4 LBB0_4: ldur x8, [x29, #-24] ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: adrp x8, _STM32_SMC_RCC@GOTPAGE ldr x8, [x8, _STM32_SMC_RCC@GOTPAGEOFF] ldr w0, [x8] adrp x8, _STM32_SMC_REG_WRITE@GOTPAGE ldr x8, [x8, _STM32_SMC_REG_WRITE@GOTPAGEOFF] ldr w1, [x8] ldr w2, [sp, #28] ldr w3, [sp, #16] mov x9, sp add x8, sp, #20 str x8, [x9] mov w7, #0 mov x4, x7 mov x5, x7 mov x6, x7 bl _arm_smccc_smc ldr w8, [sp, #20] str w8, [sp, #12] b LBB0_7 LBB0_6: ldr w0, [sp, #32] ldr w1, [sp, #28] ldr w2, [sp, #24] ldr w3, [sp, #16] bl _regmap_update_bits str w0, [sp, #12] b LBB0_7 LBB0_7: ldr w8, [sp, #12] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: ldur x0, [x29, #-8] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _dev_err b LBB0_9 LBB0_9: ldr w0, [sp, #12] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _HOLD_BOOT,4,2 ; @HOLD_BOOT .comm _RELEASE_BOOT,4,2 ; @RELEASE_BOOT .comm _CONFIG_HAVE_ARM_SMCCC,4,2 ; @CONFIG_HAVE_ARM_SMCCC .comm _STM32_SMC_RCC,4,2 ; @STM32_SMC_RCC .comm _STM32_SMC_REG_WRITE,4,2 ; @STM32_SMC_REG_WRITE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "failed to set hold boot\n" .no_dead_strip _stm32_rproc_set_hold_boot .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function stm32_rproc_set_hold_boot _stm32_rproc_set_hold_boot: ## @stm32_rproc_set_hold_boot .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $96, %rsp movq %rdi, -8(%rbp) movl %esi, -12(%rbp) movq -8(%rbp), %rax movq 8(%rax), %rax movq %rax, -24(%rbp) movq -24(%rbp), %rax movq 8(%rax), %rcx movq %rcx, -40(%rbp) movl 16(%rax), %eax movl %eax, -32(%rbp) cmpl $0, -12(%rbp) je LBB0_2 ## %bb.1: movq _HOLD_BOOT@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -60(%rbp) ## 4-byte Spill jmp LBB0_3 LBB0_2: movq _RELEASE_BOOT@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -60(%rbp) ## 4-byte Spill LBB0_3: movl -60(%rbp), %eax ## 4-byte Reload movl %eax, -52(%rbp) movq _CONFIG_HAVE_ARM_SMCCC@GOTPCREL(%rip), %rax movl (%rax), %edi callq _IS_ENABLED cmpq $0, %rax je LBB0_6 ## %bb.4: movq -24(%rbp), %rax cmpq $0, (%rax) je LBB0_6 ## %bb.5: movq _STM32_SMC_RCC@GOTPCREL(%rip), %rax movl (%rax), %edi movq _STM32_SMC_REG_WRITE@GOTPCREL(%rip), %rax movl (%rax), %esi movl -36(%rbp), %edx movl -52(%rbp), %ecx xorl %r9d, %r9d leaq -48(%rbp), %rax movl %r9d, %r8d movl $0, (%rsp) movl $0, 8(%rsp) movq %rax, 16(%rsp) callq _arm_smccc_smc movl -48(%rbp), %eax movl %eax, -56(%rbp) jmp LBB0_7 LBB0_6: movl -32(%rbp), %edi movl -36(%rbp), %esi movl -40(%rbp), %edx movl -52(%rbp), %ecx callq _regmap_update_bits movl %eax, -56(%rbp) LBB0_7: cmpl $0, -56(%rbp) je LBB0_9 ## %bb.8: movq -8(%rbp), %rdi leaq L_.str(%rip), %rsi callq _dev_err LBB0_9: movl -56(%rbp), %eax addq $96, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _HOLD_BOOT,4,2 ## @HOLD_BOOT .comm _RELEASE_BOOT,4,2 ## @RELEASE_BOOT .comm _CONFIG_HAVE_ARM_SMCCC,4,2 ## @CONFIG_HAVE_ARM_SMCCC .comm _STM32_SMC_RCC,4,2 ## @STM32_SMC_RCC .comm _STM32_SMC_REG_WRITE,4,2 ## @STM32_SMC_REG_WRITE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "failed to set hold boot\n" .no_dead_strip _stm32_rproc_set_hold_boot .subsections_via_symbols
AnghaBench/linux/drivers/remoteproc/extr_stm32_rproc.c_stm32_rproc_set_hold_boot.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ocfs2_rename_credits _ocfs2_rename_credits: ; @ocfs2_rename_credits .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, #8] adrp x8, _OCFS2_INODE_UPDATE_CREDITS@GOTPAGE ldr x8, [x8, _OCFS2_INODE_UPDATE_CREDITS@GOTPAGEOFF] ldr w9, [x8] mov w8, #3 mul w8, w8, w9 add w8, w8, #6 str w8, [sp, #4] ; 4-byte Folded Spill ldr x0, [sp, #8] bl _ocfs2_unlink_credits ldr w8, [sp, #4] ; 4-byte Folded Reload add w0, w8, w0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _OCFS2_INODE_UPDATE_CREDITS,4,2 ; @OCFS2_INODE_UPDATE_CREDITS .no_dead_strip _ocfs2_rename_credits .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ocfs2_rename_credits _ocfs2_rename_credits: ## @ocfs2_rename_credits .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 movq %rdi, -8(%rbp) movq _OCFS2_INODE_UPDATE_CREDITS@GOTPCREL(%rip), %rax imull $3, (%rax), %eax addl $6, %eax movl %eax, -12(%rbp) ## 4-byte Spill movq -8(%rbp), %rdi callq _ocfs2_unlink_credits movl %eax, %ecx movl -12(%rbp), %eax ## 4-byte Reload addl %ecx, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _OCFS2_INODE_UPDATE_CREDITS,4,2 ## @OCFS2_INODE_UPDATE_CREDITS .no_dead_strip _ocfs2_rename_credits .subsections_via_symbols
AnghaBench/linux/fs/ocfs2/extr_journal.h_ocfs2_rename_credits.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function resolveAsName _resolveAsName: ; @resolveAsName .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 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 stur x0, [x29, #-16] stur x1, [x29, #-24] str x2, [sp, #32] ldur x0, [x29, #-16] bl _UNUSED_PARAMETER ldr x8, [sp, #32] ldr x8, [x8] adrp x9, _TK_ID@GOTPAGE ldr x9, [x9, _TK_ID@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_9 b LBB0_1 LBB0_1: ldr x8, [sp, #32] ldr x8, [x8, #8] str x8, [sp, #16] str wzr, [sp, #28] b LBB0_2 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #28] ldur x9, [x29, #-24] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_8 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_2 Depth=1 ldur x8, [x29, #-24] ldr x8, [x8, #8] ldrsw x9, [sp, #28] ldr x8, [x8, x9, lsl #3] str x8, [sp, #8] ldr x8, [sp, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_2 Depth=1 ldr x0, [sp, #8] ldr x1, [sp, #16] bl _sqlite3StrICmp subs x8, x0, #0 cset w8, ne tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ldr w8, [sp, #28] add w8, w8, #1 stur w8, [x29, #-4] b LBB0_10 LBB0_6: ; in Loop: Header=BB0_2 Depth=1 b LBB0_7 LBB0_7: ; in Loop: Header=BB0_2 Depth=1 ldr w8, [sp, #28] add w8, w8, #1 str w8, [sp, #28] b LBB0_2 LBB0_8: b LBB0_9 LBB0_9: stur wzr, [x29, #-4] b LBB0_10 LBB0_10: ldur w0, [x29, #-4] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _TK_ID,8,3 ; @TK_ID .no_dead_strip _resolveAsName .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function resolveAsName _resolveAsName: ## @resolveAsName .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) movq %rdx, -32(%rbp) movq -16(%rbp), %rdi callq _UNUSED_PARAMETER movq -32(%rbp), %rax movq (%rax), %rax movq _TK_ID@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_9 ## %bb.1: movq -32(%rbp), %rax movq 8(%rax), %rax movq %rax, -48(%rbp) movl $0, -36(%rbp) LBB0_2: ## =>This Inner Loop Header: Depth=1 movl -36(%rbp), %eax movq -24(%rbp), %rcx cmpl (%rcx), %eax jge LBB0_8 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq -24(%rbp), %rax movq 8(%rax), %rax movslq -36(%rbp), %rcx movq (%rax,%rcx,8), %rax movq %rax, -56(%rbp) cmpq $0, -56(%rbp) je LBB0_6 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movq -56(%rbp), %rdi movq -48(%rbp), %rsi callq _sqlite3StrICmp cmpq $0, %rax jne LBB0_6 ## %bb.5: movl -36(%rbp), %eax addl $1, %eax movl %eax, -4(%rbp) jmp LBB0_10 LBB0_6: ## in Loop: Header=BB0_2 Depth=1 jmp LBB0_7 LBB0_7: ## in Loop: Header=BB0_2 Depth=1 movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) jmp LBB0_2 LBB0_8: jmp LBB0_9 LBB0_9: movl $0, -4(%rbp) LBB0_10: movl -4(%rbp), %eax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _TK_ID,8,3 ## @TK_ID .no_dead_strip _resolveAsName .subsections_via_symbols
AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_resolveAsName.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sighup_handler _sighup_handler: ; @sighup_handler .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 stur w0, [x29, #-4] adrp x8, _stderr@GOTPAGE ldr x8, [x8, _stderr@GOTPAGEOFF] ldr w0, [x8] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _fprintf adrp x8, _SIGHUP@GOTPAGE ldr x8, [x8, _SIGHUP@GOTPAGEOFF] ldr w0, [x8] adrp x1, _sighup_handler@PAGE add x1, x1, _sighup_handler@PAGEOFF bl _signal ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _stderr,4,2 ; @stderr .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "got SIGHUP.\n" .comm _SIGHUP,4,2 ; @SIGHUP .no_dead_strip _sighup_handler .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sighup_handler _sighup_handler: ## @sighup_handler .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 movl %edi, -4(%rbp) movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi callq _fprintf movq _SIGHUP@GOTPCREL(%rip), %rax movl (%rax), %edi leaq _sighup_handler(%rip), %rsi callq _signal addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _stderr,4,2 ## @stderr .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "got SIGHUP.\n" .comm _SIGHUP,4,2 ## @SIGHUP .no_dead_strip _sighup_handler .subsections_via_symbols
AnghaBench/kphp-kdb/copyfast/extr_copyfast-engine.c_sighup_handler.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _hostapd_set_privacy ; -- Begin function hostapd_set_privacy .p2align 2 _hostapd_set_privacy: ; @hostapd_set_privacy .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 str x0, [sp, #16] str w1, [sp, #12] ldr x8, [sp, #16] ldr x8, [x8, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp, #16] ldr x8, [x8, #8] ldr x8, [x8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: stur wzr, [x29, #-4] b LBB0_4 LBB0_3: ldr x8, [sp, #16] ldr x8, [x8, #8] ldr x8, [x8] ldr x9, [sp, #16] ldr w0, [x9] ldr w1, [sp, #12] blr x8 stur w0, [x29, #-4] b LBB0_4 LBB0_4: ldur w0, [x29, #-4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _hostapd_set_privacy ## -- Begin function hostapd_set_privacy .p2align 4, 0x90 _hostapd_set_privacy: ## @hostapd_set_privacy .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -16(%rbp) movl %esi, -20(%rbp) movq -16(%rbp), %rax cmpq $0, 8(%rax) je LBB0_2 ## %bb.1: movq -16(%rbp), %rax movq 8(%rax), %rax cmpq $0, (%rax) jne LBB0_3 LBB0_2: movl $0, -4(%rbp) jmp LBB0_4 LBB0_3: movq -16(%rbp), %rax movq 8(%rax), %rax movq (%rax), %rax movq -16(%rbp), %rcx movl (%rcx), %edi movl -20(%rbp), %esi callq *%rax movl %eax, -4(%rbp) LBB0_4: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/freebsd/contrib/wpa/src/ap/extr_ap_drv_ops.c_hostapd_set_privacy.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function set_gamma _set_gamma: ; @set_gamma .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, #8] str x1, [sp] ldr x9, [sp] ldr w8, [x9] and w8, w8, #0x7f str w8, [x9] ldr x0, [sp, #8] mov w1, #35 bl _write_reg ldr x0, [sp, #8] ldr x8, [sp] ldr w9, [x8] mov w8, #128 orr w1, w8, w9 bl _write_reg ldr x0, [sp, #8] mov w1, #34 bl _write_reg mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _set_gamma .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function set_gamma _set_gamma: ## @set_gamma .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 movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -16(%rbp), %rax movl (%rax), %ecx andl $127, %ecx movl %ecx, (%rax) movq -8(%rbp), %rdi movl $35, %esi callq _write_reg movq -8(%rbp), %rdi movq -16(%rbp), %rax movl (%rax), %esi orl $128, %esi callq _write_reg movq -8(%rbp), %rdi movl $34, %esi callq _write_reg xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _set_gamma .subsections_via_symbols
AnghaBench/linux/drivers/staging/fbtft/extr_fb_pcd8544.c_set_gamma.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function get_generic_reply _get_generic_reply: ; @get_generic_reply .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 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 stur x0, [x29, #-8] stur x1, [x29, #-16] stur x2, [x29, #-24] ldur x8, [x29, #-8] ldr x8, [x8] str x8, [sp, #32] ldur x8, [x29, #-16] ldr w0, [x8] bl _le64_to_cpu str w0, [sp, #20] ldr x0, [sp, #32] bl _mutex_lock ldr x8, [sp, #32] ldr w1, [sp, #20] add x0, x8, #4 bl _lookup_generic_request str x0, [sp, #24] ldr x8, [sp, #24] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr w1, [sp, #20] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _dout ldur x9, [x29, #-24] mov w8, #1 str w8, [x9] ; kill: def $x8 killed $xzr str xzr, [sp, #8] b LBB0_3 LBB0_2: ldr w1, [sp, #20] ldr x8, [sp, #24] ldr w9, [x8] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _dout ldur x8, [x29, #-24] str wzr, [x8] ldr x8, [sp, #24] ldr w0, [x8] bl _ceph_msg_get str x0, [sp, #8] b LBB0_3 LBB0_3: ldr x0, [sp, #32] bl _mutex_unlock ldr x0, [sp, #8] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "get_generic_reply %lld dne\n" l_.str.1: ; @.str.1 .asciz "get_generic_reply %lld got %p\n" .no_dead_strip _get_generic_reply .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function get_generic_reply _get_generic_reply: ## @get_generic_reply .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movq -8(%rbp), %rax movq (%rax), %rax movq %rax, -32(%rbp) movq -16(%rbp), %rax movl (%rax), %edi callq _le64_to_cpu movl %eax, -44(%rbp) movq -32(%rbp), %rdi callq _mutex_lock movq -32(%rbp), %rdi addq $4, %rdi movl -44(%rbp), %esi callq _lookup_generic_request movq %rax, -40(%rbp) cmpq $0, -40(%rbp) jne LBB0_2 ## %bb.1: movl -44(%rbp), %esi leaq L_.str(%rip), %rdi movb $0, %al callq _dout movq -24(%rbp), %rax movl $1, (%rax) movq $0, -56(%rbp) jmp LBB0_3 LBB0_2: movl -44(%rbp), %esi movq -40(%rbp), %rax movl (%rax), %edx leaq L_.str.1(%rip), %rdi movb $0, %al callq _dout movq -24(%rbp), %rax movl $0, (%rax) movq -40(%rbp), %rax movl (%rax), %edi callq _ceph_msg_get movq %rax, -56(%rbp) LBB0_3: movq -32(%rbp), %rdi callq _mutex_unlock movq -56(%rbp), %rax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "get_generic_reply %lld dne\n" L_.str.1: ## @.str.1 .asciz "get_generic_reply %lld got %p\n" .no_dead_strip _get_generic_reply .subsections_via_symbols
AnghaBench/linux/net/ceph/extr_mon_client.c_get_generic_reply.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ltdc_crtc_atomic_enable _ltdc_crtc_atomic_enable: ; @ltdc_crtc_atomic_enable .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 stur x0, [x29, #-8] str x1, [sp, #16] ldur x0, [x29, #-8] bl _crtc_to_ltdc str x0, [sp, #8] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _DRM_DEBUG_DRIVER ldr x8, [sp, #8] ldr w0, [x8] adrp x8, _LTDC_BCCR@GOTPAGE ldr x8, [x8, _LTDC_BCCR@GOTPAGEOFF] ldr w1, [x8] adrp x8, _BCCR_BCBLACK@GOTPAGE ldr x8, [x8, _BCCR_BCBLACK@GOTPAGEOFF] ldr w2, [x8] bl _reg_write ldr x8, [sp, #8] ldr w0, [x8] adrp x8, _LTDC_IER@GOTPAGE ldr x8, [x8, _LTDC_IER@GOTPAGEOFF] ldr w1, [x8] adrp x8, _IER_RRIE@GOTPAGE ldr x8, [x8, _IER_RRIE@GOTPAGEOFF] ldr w8, [x8] adrp x9, _IER_FUIE@GOTPAGE ldr x9, [x9, _IER_FUIE@GOTPAGEOFF] ldr w9, [x9] orr w8, w8, w9 adrp x9, _IER_TERRIE@GOTPAGE ldr x9, [x9, _IER_TERRIE@GOTPAGEOFF] ldr w9, [x9] orr w2, w8, w9 bl _reg_set ldr x8, [sp, #8] ldr w0, [x8] adrp x8, _LTDC_SRCR@GOTPAGE ldr x8, [x8, _LTDC_SRCR@GOTPAGEOFF] ldr w1, [x8] adrp x8, _SRCR_VBR@GOTPAGE ldr x8, [x8, _SRCR_VBR@GOTPAGEOFF] ldr w2, [x8] bl _reg_set ldr x8, [sp, #8] ldr w0, [x8] adrp x8, _LTDC_GCR@GOTPAGE ldr x8, [x8, _LTDC_GCR@GOTPAGEOFF] ldr w1, [x8] adrp x8, _GCR_LTDCEN@GOTPAGE ldr x8, [x8, _GCR_LTDCEN@GOTPAGEOFF] ldr w2, [x8] bl _reg_set ldur x0, [x29, #-8] bl _drm_crtc_vblank_on ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\n" .comm _LTDC_BCCR,4,2 ; @LTDC_BCCR .comm _BCCR_BCBLACK,4,2 ; @BCCR_BCBLACK .comm _LTDC_IER,4,2 ; @LTDC_IER .comm _IER_RRIE,4,2 ; @IER_RRIE .comm _IER_FUIE,4,2 ; @IER_FUIE .comm _IER_TERRIE,4,2 ; @IER_TERRIE .comm _LTDC_SRCR,4,2 ; @LTDC_SRCR .comm _SRCR_VBR,4,2 ; @SRCR_VBR .comm _LTDC_GCR,4,2 ; @LTDC_GCR .comm _GCR_LTDCEN,4,2 ; @GCR_LTDCEN .no_dead_strip _ltdc_crtc_atomic_enable .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ltdc_crtc_atomic_enable _ltdc_crtc_atomic_enable: ## @ltdc_crtc_atomic_enable .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -8(%rbp), %rdi callq _crtc_to_ltdc movq %rax, -24(%rbp) leaq L_.str(%rip), %rdi callq _DRM_DEBUG_DRIVER movq -24(%rbp), %rax movl (%rax), %edi movq _LTDC_BCCR@GOTPCREL(%rip), %rax movl (%rax), %esi movq _BCCR_BCBLACK@GOTPCREL(%rip), %rax movl (%rax), %edx callq _reg_write movq -24(%rbp), %rax movl (%rax), %edi movq _LTDC_IER@GOTPCREL(%rip), %rax movl (%rax), %esi movq _IER_RRIE@GOTPCREL(%rip), %rax movl (%rax), %edx movq _IER_FUIE@GOTPCREL(%rip), %rax orl (%rax), %edx movq _IER_TERRIE@GOTPCREL(%rip), %rax orl (%rax), %edx callq _reg_set movq -24(%rbp), %rax movl (%rax), %edi movq _LTDC_SRCR@GOTPCREL(%rip), %rax movl (%rax), %esi movq _SRCR_VBR@GOTPCREL(%rip), %rax movl (%rax), %edx callq _reg_set movq -24(%rbp), %rax movl (%rax), %edi movq _LTDC_GCR@GOTPCREL(%rip), %rax movl (%rax), %esi movq _GCR_LTDCEN@GOTPCREL(%rip), %rax movl (%rax), %edx callq _reg_set movq -8(%rbp), %rdi callq _drm_crtc_vblank_on addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\n" .comm _LTDC_BCCR,4,2 ## @LTDC_BCCR .comm _BCCR_BCBLACK,4,2 ## @BCCR_BCBLACK .comm _LTDC_IER,4,2 ## @LTDC_IER .comm _IER_RRIE,4,2 ## @IER_RRIE .comm _IER_FUIE,4,2 ## @IER_FUIE .comm _IER_TERRIE,4,2 ## @IER_TERRIE .comm _LTDC_SRCR,4,2 ## @LTDC_SRCR .comm _SRCR_VBR,4,2 ## @SRCR_VBR .comm _LTDC_GCR,4,2 ## @LTDC_GCR .comm _GCR_LTDCEN,4,2 ## @GCR_LTDCEN .no_dead_strip _ltdc_crtc_atomic_enable .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/stm/extr_ltdc.c_ltdc_crtc_atomic_enable.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ks8695_release_device _ks8695_release_device: ; @ks8695_release_device .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, #8] ldr x8, [sp, #8] ldr x0, [x8, #40] bl _iounmap ldr x8, [sp, #8] ldr x8, [x8, #32] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp, #8] ldr x0, [x8, #32] bl _iounmap b LBB0_2 LBB0_2: ldr x8, [sp, #8] ldr x0, [x8, #24] bl _release_resource ldr x8, [sp, #8] ldr x0, [x8, #24] bl _kfree ldr x8, [sp, #8] ldr x8, [x8, #16] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldr x8, [sp, #8] ldr x0, [x8, #16] bl _release_resource ldr x8, [sp, #8] ldr x0, [x8, #16] bl _kfree b LBB0_4 LBB0_4: ldr x8, [sp, #8] ldr w0, [x8, #8] adrp x8, _RING_DMA_SIZE@GOTPAGE ldr x8, [x8, _RING_DMA_SIZE@GOTPAGEOFF] ldr w1, [x8] ldr x8, [sp, #8] ldr w2, [x8, #4] ldr x8, [sp, #8] ldr w3, [x8] bl _dma_free_coherent ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _RING_DMA_SIZE,4,2 ; @RING_DMA_SIZE .no_dead_strip _ks8695_release_device .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ks8695_release_device _ks8695_release_device: ## @ks8695_release_device .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 movq %rdi, -8(%rbp) movq -8(%rbp), %rax movq 40(%rax), %rdi callq _iounmap movq -8(%rbp), %rax cmpq $0, 32(%rax) je LBB0_2 ## %bb.1: movq -8(%rbp), %rax movq 32(%rax), %rdi callq _iounmap LBB0_2: movq -8(%rbp), %rax movq 24(%rax), %rdi callq _release_resource movq -8(%rbp), %rax movq 24(%rax), %rdi callq _kfree movq -8(%rbp), %rax cmpq $0, 16(%rax) je LBB0_4 ## %bb.3: movq -8(%rbp), %rax movq 16(%rax), %rdi callq _release_resource movq -8(%rbp), %rax movq 16(%rax), %rdi callq _kfree LBB0_4: movq -8(%rbp), %rax movl 8(%rax), %edi movq _RING_DMA_SIZE@GOTPCREL(%rip), %rax movl (%rax), %esi movq -8(%rbp), %rax movl 4(%rax), %edx movq -8(%rbp), %rax movl (%rax), %ecx callq _dma_free_coherent addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _RING_DMA_SIZE,4,2 ## @RING_DMA_SIZE .no_dead_strip _ks8695_release_device .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/arm/extr_ks8695net.c_ks8695_release_device.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function r_mark_regions _r_mark_regions: ; @r_mark_regions .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 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 adrp x8, _g_v@GOTPAGE ldr x8, [x8, _g_v@GOTPAGEOFF] str x8, [sp] ; 8-byte Folded Spill stur x0, [x29, #-8] ldur x9, [x29, #-8] ldr w9, [x9, #8] ldur x10, [x29, #-8] ldr x10, [x10] str w9, [x10] ldur x9, [x29, #-8] ldr w9, [x9, #8] ldur x10, [x29, #-8] ldr x10, [x10] str w9, [x10, #4] ldur x9, [x29, #-8] ldr w9, [x9, #8] ldur x10, [x29, #-8] ldr x10, [x10] str w9, [x10, #8] ldur x9, [x29, #-8] ldr w9, [x9, #12] stur w9, [x29, #-12] ldur x9, [x29, #-8] ldr w9, [x9, #12] stur w9, [x29, #-16] ldur x0, [x29, #-8] ldr w1, [x8] mov w2, #97 mov w3, #250 mov w4, #0 bl _in_grouping subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: b LBB0_13 LBB0_2: ldr x8, [sp] ; 8-byte Folded Reload ldur x9, [x29, #-8] ldr w9, [x9, #12] stur w9, [x29, #-20] ldur x0, [x29, #-8] ldr w1, [x8] mov w2, #97 mov w3, #250 mov w4, #0 bl _out_grouping subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: b LBB0_7 LBB0_4: ldr x8, [sp] ; 8-byte Folded Reload ldur x0, [x29, #-8] ldr w1, [x8] mov w2, #97 mov w3, #250 mov w4, #1 bl _out_grouping stur w0, [x29, #-24] ldur w8, [x29, #-24] subs w8, w8, #0 cset w8, ge tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: b LBB0_7 LBB0_6: ldur w10, [x29, #-24] ldur x9, [x29, #-8] ldr w8, [x9, #12] add w8, w8, w10 str w8, [x9, #12] b LBB0_12 LBB0_7: ldr x8, [sp] ; 8-byte Folded Reload ldur w9, [x29, #-20] ldur x10, [x29, #-8] str w9, [x10, #12] ldur x0, [x29, #-8] ldr w1, [x8] mov w2, #97 mov w3, #250 mov w4, #0 bl _in_grouping subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: b LBB0_13 LBB0_9: ldr x8, [sp] ; 8-byte Folded Reload ldur x0, [x29, #-8] ldr w1, [x8] mov w2, #97 mov w3, #250 mov w4, #1 bl _in_grouping stur w0, [x29, #-28] ldur w8, [x29, #-28] subs w8, w8, #0 cset w8, ge tbnz w8, #0, LBB0_11 b LBB0_10 LBB0_10: b LBB0_13 LBB0_11: ldur w10, [x29, #-28] ldur x9, [x29, #-8] ldr w8, [x9, #12] add w8, w8, w10 str w8, [x9, #12] b LBB0_12 LBB0_12: b LBB0_26 LBB0_13: ldr x8, [sp] ; 8-byte Folded Reload ldur w9, [x29, #-16] ldur x10, [x29, #-8] str w9, [x10, #12] ldur x0, [x29, #-8] ldr w1, [x8] mov w2, #97 mov w3, #250 mov w4, #0 bl _out_grouping subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB0_15 b LBB0_14 LBB0_14: b LBB0_27 LBB0_15: ldr x8, [sp] ; 8-byte Folded Reload ldur x9, [x29, #-8] ldr w9, [x9, #12] str w9, [sp, #32] ldur x0, [x29, #-8] ldr w1, [x8] mov w2, #97 mov w3, #250 mov w4, #0 bl _out_grouping subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB0_17 b LBB0_16 LBB0_16: b LBB0_20 LBB0_17: ldr x8, [sp] ; 8-byte Folded Reload ldur x0, [x29, #-8] ldr w1, [x8] mov w2, #97 mov w3, #250 mov w4, #1 bl _out_grouping str w0, [sp, #28] ldr w8, [sp, #28] subs w8, w8, #0 cset w8, ge tbnz w8, #0, LBB0_19 b LBB0_18 LBB0_18: b LBB0_20 LBB0_19: ldr w10, [sp, #28] ldur x9, [x29, #-8] ldr w8, [x9, #12] add w8, w8, w10 str w8, [x9, #12] b LBB0_25 LBB0_20: ldr x8, [sp] ; 8-byte Folded Reload ldr w9, [sp, #32] ldur x10, [x29, #-8] str w9, [x10, #12] ldur x0, [x29, #-8] ldr w1, [x8] mov w2, #97 mov w3, #250 mov w4, #0 bl _in_grouping subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB0_22 b LBB0_21 LBB0_21: b LBB0_27 LBB0_22: ldur x8, [x29, #-8] ldr w8, [x8, #12] ldur x9, [x29, #-8] ldr w9, [x9, #8] subs w8, w8, w9 cset w8, lt tbnz w8, #0, LBB0_24 b LBB0_23 LBB0_23: b LBB0_27 LBB0_24: ldur x9, [x29, #-8] ldr w8, [x9, #12] add w8, w8, #1 str w8, [x9, #12] b LBB0_25 LBB0_25: b LBB0_26 LBB0_26: ldur x8, [x29, #-8] ldr w8, [x8, #12] ldur x9, [x29, #-8] ldr x9, [x9] str w8, [x9] b LBB0_27 LBB0_27: ldr x8, [sp] ; 8-byte Folded Reload ldur w9, [x29, #-12] ldur x10, [x29, #-8] str w9, [x10, #12] ldur x9, [x29, #-8] ldr w9, [x9, #12] str w9, [sp, #24] ldur x0, [x29, #-8] ldr w1, [x8] mov w2, #97 mov w3, #250 mov w4, #1 bl _out_grouping str w0, [sp, #20] ldr w8, [sp, #20] subs w8, w8, #0 cset w8, ge tbnz w8, #0, LBB0_29 b LBB0_28 LBB0_28: b LBB0_36 LBB0_29: ldr x8, [sp] ; 8-byte Folded Reload ldr w11, [sp, #20] ldur x10, [x29, #-8] ldr w9, [x10, #12] add w9, w9, w11 str w9, [x10, #12] ldur x0, [x29, #-8] ldr w1, [x8] mov w2, #97 mov w3, #250 mov w4, #1 bl _in_grouping str w0, [sp, #16] ldr w8, [sp, #16] subs w8, w8, #0 cset w8, ge tbnz w8, #0, LBB0_31 b LBB0_30 LBB0_30: b LBB0_36 LBB0_31: ldr x8, [sp] ; 8-byte Folded Reload ldr w11, [sp, #16] ldur x10, [x29, #-8] ldr w9, [x10, #12] add w9, w9, w11 str w9, [x10, #12] ldur x9, [x29, #-8] ldr w9, [x9, #12] ldur x10, [x29, #-8] ldr x10, [x10] str w9, [x10, #4] ldur x0, [x29, #-8] ldr w1, [x8] mov w2, #97 mov w3, #250 mov w4, #1 bl _out_grouping str w0, [sp, #12] ldr w8, [sp, #12] subs w8, w8, #0 cset w8, ge tbnz w8, #0, LBB0_33 b LBB0_32 LBB0_32: b LBB0_36 LBB0_33: ldr x8, [sp] ; 8-byte Folded Reload ldr w11, [sp, #12] ldur x10, [x29, #-8] ldr w9, [x10, #12] add w9, w9, w11 str w9, [x10, #12] ldur x0, [x29, #-8] ldr w1, [x8] mov w2, #97 mov w3, #250 mov w4, #1 bl _in_grouping str w0, [sp, #8] ldr w8, [sp, #8] subs w8, w8, #0 cset w8, ge tbnz w8, #0, LBB0_35 b LBB0_34 LBB0_34: b LBB0_36 LBB0_35: ldr w10, [sp, #8] ldur x9, [x29, #-8] ldr w8, [x9, #12] add w8, w8, w10 str w8, [x9, #12] ldur x8, [x29, #-8] ldr w8, [x8, #12] ldur x9, [x29, #-8] ldr x9, [x9] str w8, [x9, #8] b LBB0_36 LBB0_36: ldr w8, [sp, #24] ldur x9, [x29, #-8] str w8, [x9, #12] mov w0, #1 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _g_v,4,2 ; @g_v .no_dead_strip _r_mark_regions .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function r_mark_regions _r_mark_regions: ## @r_mark_regions .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rax movl 8(%rax), %ecx movq -8(%rbp), %rax movq (%rax), %rax movl %ecx, (%rax) movq -8(%rbp), %rax movl 8(%rax), %ecx movq -8(%rbp), %rax movq (%rax), %rax movl %ecx, 4(%rax) movq -8(%rbp), %rax movl 8(%rax), %ecx movq -8(%rbp), %rax movq (%rax), %rax movl %ecx, 8(%rax) movq -8(%rbp), %rax movl 12(%rax), %eax movl %eax, -12(%rbp) movq -8(%rbp), %rax movl 12(%rax), %eax movl %eax, -16(%rbp) movq -8(%rbp), %rdi movq _g_v@GOTPCREL(%rip), %rax movl (%rax), %esi movl $97, %edx movl $250, %ecx xorl %r8d, %r8d callq _in_grouping cmpl $0, %eax je LBB0_2 ## %bb.1: jmp LBB0_13 LBB0_2: movq -8(%rbp), %rax movl 12(%rax), %eax movl %eax, -20(%rbp) movq -8(%rbp), %rdi movq _g_v@GOTPCREL(%rip), %rax movl (%rax), %esi movl $97, %edx movl $250, %ecx xorl %r8d, %r8d callq _out_grouping cmpl $0, %eax je LBB0_4 ## %bb.3: jmp LBB0_7 LBB0_4: movq -8(%rbp), %rdi movq _g_v@GOTPCREL(%rip), %rax movl (%rax), %esi movl $97, %edx movl $250, %ecx movl $1, %r8d callq _out_grouping movl %eax, -24(%rbp) cmpl $0, -24(%rbp) jge LBB0_6 ## %bb.5: jmp LBB0_7 LBB0_6: movl -24(%rbp), %ecx movq -8(%rbp), %rax addl 12(%rax), %ecx movl %ecx, 12(%rax) jmp LBB0_12 LBB0_7: movl -20(%rbp), %ecx movq -8(%rbp), %rax movl %ecx, 12(%rax) movq -8(%rbp), %rdi movq _g_v@GOTPCREL(%rip), %rax movl (%rax), %esi movl $97, %edx movl $250, %ecx xorl %r8d, %r8d callq _in_grouping cmpl $0, %eax je LBB0_9 ## %bb.8: jmp LBB0_13 LBB0_9: movq -8(%rbp), %rdi movq _g_v@GOTPCREL(%rip), %rax movl (%rax), %esi movl $97, %edx movl $250, %ecx movl $1, %r8d callq _in_grouping movl %eax, -28(%rbp) cmpl $0, -28(%rbp) jge LBB0_11 ## %bb.10: jmp LBB0_13 LBB0_11: movl -28(%rbp), %ecx movq -8(%rbp), %rax addl 12(%rax), %ecx movl %ecx, 12(%rax) LBB0_12: jmp LBB0_26 LBB0_13: movl -16(%rbp), %ecx movq -8(%rbp), %rax movl %ecx, 12(%rax) movq -8(%rbp), %rdi movq _g_v@GOTPCREL(%rip), %rax movl (%rax), %esi movl $97, %edx movl $250, %ecx xorl %r8d, %r8d callq _out_grouping cmpl $0, %eax je LBB0_15 ## %bb.14: jmp LBB0_27 LBB0_15: movq -8(%rbp), %rax movl 12(%rax), %eax movl %eax, -32(%rbp) movq -8(%rbp), %rdi movq _g_v@GOTPCREL(%rip), %rax movl (%rax), %esi movl $97, %edx movl $250, %ecx xorl %r8d, %r8d callq _out_grouping cmpl $0, %eax je LBB0_17 ## %bb.16: jmp LBB0_20 LBB0_17: movq -8(%rbp), %rdi movq _g_v@GOTPCREL(%rip), %rax movl (%rax), %esi movl $97, %edx movl $250, %ecx movl $1, %r8d callq _out_grouping movl %eax, -36(%rbp) cmpl $0, -36(%rbp) jge LBB0_19 ## %bb.18: jmp LBB0_20 LBB0_19: movl -36(%rbp), %ecx movq -8(%rbp), %rax addl 12(%rax), %ecx movl %ecx, 12(%rax) jmp LBB0_25 LBB0_20: movl -32(%rbp), %ecx movq -8(%rbp), %rax movl %ecx, 12(%rax) movq -8(%rbp), %rdi movq _g_v@GOTPCREL(%rip), %rax movl (%rax), %esi movl $97, %edx movl $250, %ecx xorl %r8d, %r8d callq _in_grouping cmpl $0, %eax je LBB0_22 ## %bb.21: jmp LBB0_27 LBB0_22: movq -8(%rbp), %rax movl 12(%rax), %eax movq -8(%rbp), %rcx cmpl 8(%rcx), %eax jl LBB0_24 ## %bb.23: jmp LBB0_27 LBB0_24: movq -8(%rbp), %rax movl 12(%rax), %ecx addl $1, %ecx movl %ecx, 12(%rax) LBB0_25: jmp LBB0_26 LBB0_26: movq -8(%rbp), %rax movl 12(%rax), %ecx movq -8(%rbp), %rax movq (%rax), %rax movl %ecx, (%rax) LBB0_27: movl -12(%rbp), %ecx movq -8(%rbp), %rax movl %ecx, 12(%rax) movq -8(%rbp), %rax movl 12(%rax), %eax movl %eax, -40(%rbp) movq -8(%rbp), %rdi movq _g_v@GOTPCREL(%rip), %rax movl (%rax), %esi movl $97, %edx movl $250, %ecx movl $1, %r8d callq _out_grouping movl %eax, -44(%rbp) cmpl $0, -44(%rbp) jge LBB0_29 ## %bb.28: jmp LBB0_36 LBB0_29: movl -44(%rbp), %ecx movq -8(%rbp), %rax addl 12(%rax), %ecx movl %ecx, 12(%rax) movq -8(%rbp), %rdi movq _g_v@GOTPCREL(%rip), %rax movl (%rax), %esi movl $97, %edx movl $250, %ecx movl $1, %r8d callq _in_grouping movl %eax, -48(%rbp) cmpl $0, -48(%rbp) jge LBB0_31 ## %bb.30: jmp LBB0_36 LBB0_31: movl -48(%rbp), %ecx movq -8(%rbp), %rax addl 12(%rax), %ecx movl %ecx, 12(%rax) movq -8(%rbp), %rax movl 12(%rax), %ecx movq -8(%rbp), %rax movq (%rax), %rax movl %ecx, 4(%rax) movq -8(%rbp), %rdi movq _g_v@GOTPCREL(%rip), %rax movl (%rax), %esi movl $97, %edx movl $250, %ecx movl $1, %r8d callq _out_grouping movl %eax, -52(%rbp) cmpl $0, -52(%rbp) jge LBB0_33 ## %bb.32: jmp LBB0_36 LBB0_33: movl -52(%rbp), %ecx movq -8(%rbp), %rax addl 12(%rax), %ecx movl %ecx, 12(%rax) movq -8(%rbp), %rdi movq _g_v@GOTPCREL(%rip), %rax movl (%rax), %esi movl $97, %edx movl $250, %ecx movl $1, %r8d callq _in_grouping movl %eax, -56(%rbp) cmpl $0, -56(%rbp) jge LBB0_35 ## %bb.34: jmp LBB0_36 LBB0_35: movl -56(%rbp), %ecx movq -8(%rbp), %rax addl 12(%rax), %ecx movl %ecx, 12(%rax) movq -8(%rbp), %rax movl 12(%rax), %ecx movq -8(%rbp), %rax movq (%rax), %rax movl %ecx, 8(%rax) LBB0_36: movl -40(%rbp), %ecx movq -8(%rbp), %rax movl %ecx, 12(%rax) movl $1, %eax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _g_v,4,2 ## @g_v .no_dead_strip _r_mark_regions .subsections_via_symbols
AnghaBench/postgres/src/backend/snowball/libstemmer/extr_stem_ISO_8859_1_portuguese.c_r_mark_regions.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _input_cmd_xkb_capslock ; -- Begin function input_cmd_xkb_capslock .p2align 2 _input_cmd_xkb_capslock: ; @input_cmd_xkb_capslock .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 stur w0, [x29, #-12] str x1, [sp, #24] ; kill: def $x8 killed $xzr str xzr, [sp, #16] ldur w0, [x29, #-12] adrp x8, _EXPECTED_AT_LEAST@GOTPAGE ldr x8, [x8, _EXPECTED_AT_LEAST@GOTPAGEOFF] ldr w2, [x8] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF mov w3, #1 bl _checkarg mov x8, x0 str x8, [sp, #16] subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp, #16] stur x8, [x29, #-8] b LBB0_5 LBB0_2: adrp x8, _config@GOTPAGE ldr x8, [x8, _config@GOTPAGEOFF] ldr x8, [x8] ldr x8, [x8] str x8, [sp, #8] ldr x8, [sp, #8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: adrp x8, _CMD_FAILURE@GOTPAGE ldr x8, [x8, _CMD_FAILURE@GOTPAGEOFF] ldr w0, [x8] adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _cmd_results_new stur x0, [x29, #-8] b LBB0_5 LBB0_4: ldr x8, [sp, #24] ldr x0, [x8] mov w1, #0 bl _parse_boolean ldr x8, [sp, #8] str w0, [x8] adrp x8, _CMD_SUCCESS@GOTPAGE ldr x8, [x8, _CMD_SUCCESS@GOTPAGEOFF] ldr w0, [x8] mov x1, #0 bl _cmd_results_new stur x0, [x29, #-8] b LBB0_5 LBB0_5: ldur x0, [x29, #-8] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "xkb_capslock" .comm _EXPECTED_AT_LEAST,4,2 ; @EXPECTED_AT_LEAST .comm _config,8,3 ; @config .comm _CMD_FAILURE,4,2 ; @CMD_FAILURE l_.str.1: ; @.str.1 .asciz "No input device defined." .comm _CMD_SUCCESS,4,2 ; @CMD_SUCCESS .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _input_cmd_xkb_capslock ## -- Begin function input_cmd_xkb_capslock .p2align 4, 0x90 _input_cmd_xkb_capslock: ## @input_cmd_xkb_capslock .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movl %edi, -12(%rbp) movq %rsi, -24(%rbp) movq $0, -32(%rbp) movl -12(%rbp), %edi movq _EXPECTED_AT_LEAST@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str(%rip), %rsi movl $1, %ecx callq _checkarg movq %rax, -32(%rbp) cmpq $0, %rax je LBB0_2 ## %bb.1: movq -32(%rbp), %rax movq %rax, -8(%rbp) jmp LBB0_5 LBB0_2: movq _config@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax), %rax movq %rax, -40(%rbp) cmpq $0, -40(%rbp) jne LBB0_4 ## %bb.3: movq _CMD_FAILURE@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.1(%rip), %rsi callq _cmd_results_new movq %rax, -8(%rbp) jmp LBB0_5 LBB0_4: movq -24(%rbp), %rax movq (%rax), %rdi xorl %esi, %esi callq _parse_boolean movl %eax, %ecx movq -40(%rbp), %rax movl %ecx, (%rax) movq _CMD_SUCCESS@GOTPCREL(%rip), %rax movl (%rax), %edi xorl %eax, %eax movl %eax, %esi callq _cmd_results_new movq %rax, -8(%rbp) LBB0_5: movq -8(%rbp), %rax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "xkb_capslock" .comm _EXPECTED_AT_LEAST,4,2 ## @EXPECTED_AT_LEAST .comm _config,8,3 ## @config .comm _CMD_FAILURE,4,2 ## @CMD_FAILURE L_.str.1: ## @.str.1 .asciz "No input device defined." .comm _CMD_SUCCESS,4,2 ## @CMD_SUCCESS .subsections_via_symbols
AnghaBench/sway/sway/commands/input/extr_xkb_capslock.c_input_cmd_xkb_capslock.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function create_arg_item _create_arg_item: ; @create_arg_item .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 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 stur x0, [x29, #-16] stur x1, [x29, #-24] stur w2, [x29, #-28] str x3, [sp, #40] str x4, [sp, #32] bl _allocate_arg str x0, [sp, #16] ldr x8, [sp, #16] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x0, [sp, #32] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _show_error adrp x8, _TEP_ERRNO__MEM_ALLOC_FAILED@GOTPAGE ldr x8, [x8, _TEP_ERRNO__MEM_ALLOC_FAILED@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-4] b LBB0_24 LBB0_2: ldur w8, [x29, #-28] str w8, [sp, #12] ; 4-byte Folded Spill subs w8, w8, #128 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_3 LBB0_3: ldr w8, [sp, #12] ; 4-byte Folded Reload subs w8, w8, #129 cset w8, eq tbnz w8, #0, LBB0_11 b LBB0_4 LBB0_4: ldr w8, [sp, #12] ; 4-byte Folded Reload subs w8, w8, #130 cset w8, ne tbnz w8, #0, LBB0_22 b LBB0_5 LBB0_5: adrp x8, _TEP_FILTER_ARG_VALUE@GOTPAGE ldr x8, [x8, _TEP_FILTER_ARG_VALUE@GOTPAGEOFF] ldr x8, [x8] ldr x9, [sp, #16] str x8, [x9, #8] ldur w8, [x29, #-28] subs w8, w8, #130 cset w8, ne tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: adrp x8, _TEP_FILTER_STRING@GOTPAGE ldr x8, [x8, _TEP_FILTER_STRING@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #8] ; 4-byte Folded Spill b LBB0_8 LBB0_7: adrp x8, _TEP_FILTER_CHAR@GOTPAGE ldr x8, [x8, _TEP_FILTER_CHAR@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #8] ; 4-byte Folded Spill b LBB0_8 LBB0_8: ldr w8, [sp, #8] ; 4-byte Folded Reload ldr x9, [sp, #16] str w8, [x9, #24] ldur x0, [x29, #-24] bl _strdup ldr x8, [sp, #16] str w0, [x8, #28] ldr x8, [sp, #16] ldr w8, [x8, #28] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_10 b LBB0_9 LBB0_9: ldr x0, [sp, #16] bl _free_arg ldr x0, [sp, #32] adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _show_error adrp x8, _TEP_ERRNO__MEM_ALLOC_FAILED@GOTPAGE ldr x8, [x8, _TEP_ERRNO__MEM_ALLOC_FAILED@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-4] b LBB0_24 LBB0_10: b LBB0_23 LBB0_11: ldur x8, [x29, #-24] ldrsb w0, [x8] bl _isdigit subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB0_13 b LBB0_12 LBB0_12: adrp x8, _TEP_FILTER_ARG_VALUE@GOTPAGE ldr x8, [x8, _TEP_FILTER_ARG_VALUE@GOTPAGEOFF] ldr x8, [x8] ldr x9, [sp, #16] str x8, [x9, #8] adrp x8, _TEP_FILTER_NUMBER@GOTPAGE ldr x8, [x8, _TEP_FILTER_NUMBER@GOTPAGEOFF] ldr w8, [x8] ldr x9, [sp, #16] str w8, [x9, #24] ldur x0, [x29, #-24] mov x1, #0 mov w2, #0 bl _strtoull ldr x8, [sp, #16] str w0, [x8, #20] b LBB0_23 LBB0_13: ldur x0, [x29, #-16] ldur x1, [x29, #-24] bl _tep_find_any_field str x0, [sp, #24] ldr x8, [sp, #24] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_21 b LBB0_14 LBB0_14: ldur x0, [x29, #-24] adrp x8, _COMM@GOTPAGE ldr x8, [x8, _COMM@GOTPAGEOFF] ldr w1, [x8] bl _strcmp subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_16 b LBB0_15 LBB0_15: adrp x8, _comm@GOTPAGE ldr x8, [x8, _comm@GOTPAGEOFF] str x8, [sp, #24] b LBB0_20 LBB0_16: ldur x0, [x29, #-24] adrp x8, _CPU@GOTPAGE ldr x8, [x8, _CPU@GOTPAGEOFF] ldr w1, [x8] bl _strcmp subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_18 b LBB0_17 LBB0_17: adrp x8, _cpu@GOTPAGE ldr x8, [x8, _cpu@GOTPAGEOFF] str x8, [sp, #24] b LBB0_19 LBB0_18: adrp x8, _TEP_FILTER_ARG_BOOLEAN@GOTPAGE ldr x8, [x8, _TEP_FILTER_ARG_BOOLEAN@GOTPAGEOFF] ldr x8, [x8] ldr x9, [sp, #16] str x8, [x9, #8] adrp x8, _TEP_FILTER_FALSE@GOTPAGE ldr x8, [x8, _TEP_FILTER_FALSE@GOTPAGEOFF] ldr w8, [x8] ldr x9, [sp, #16] str w8, [x9, #16] b LBB0_23 LBB0_19: b LBB0_20 LBB0_20: b LBB0_21 LBB0_21: adrp x8, _TEP_FILTER_ARG_FIELD@GOTPAGE ldr x8, [x8, _TEP_FILTER_ARG_FIELD@GOTPAGEOFF] ldr x8, [x8] ldr x9, [sp, #16] str x8, [x9, #8] ldr x8, [sp, #24] ldr x9, [sp, #16] str x8, [x9] b LBB0_23 LBB0_22: ldr x0, [sp, #16] bl _free_arg ldr x0, [sp, #32] ldur x8, [x29, #-24] mov x9, sp str x8, [x9] adrp x1, l_.str.2@PAGE add x1, x1, l_.str.2@PAGEOFF bl _show_error adrp x8, _TEP_ERRNO__UNEXPECTED_TYPE@GOTPAGE ldr x8, [x8, _TEP_ERRNO__UNEXPECTED_TYPE@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-4] b LBB0_24 LBB0_23: ldr x8, [sp, #16] ldr x9, [sp, #40] str x8, [x9] stur wzr, [x29, #-4] b LBB0_24 LBB0_24: ldur w0, [x29, #-4] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "failed to allocate filter arg" .comm _TEP_ERRNO__MEM_ALLOC_FAILED,4,2 ; @TEP_ERRNO__MEM_ALLOC_FAILED .comm _TEP_FILTER_ARG_VALUE,8,3 ; @TEP_FILTER_ARG_VALUE .comm _TEP_FILTER_STRING,4,2 ; @TEP_FILTER_STRING .comm _TEP_FILTER_CHAR,4,2 ; @TEP_FILTER_CHAR l_.str.1: ; @.str.1 .asciz "failed to allocate string filter arg" .comm _TEP_FILTER_NUMBER,4,2 ; @TEP_FILTER_NUMBER .comm _COMM,4,2 ; @COMM .comm _comm,4,2 ; @comm .comm _CPU,4,2 ; @CPU .comm _cpu,4,2 ; @cpu .comm _TEP_FILTER_ARG_BOOLEAN,8,3 ; @TEP_FILTER_ARG_BOOLEAN .comm _TEP_FILTER_FALSE,4,2 ; @TEP_FILTER_FALSE .comm _TEP_FILTER_ARG_FIELD,8,3 ; @TEP_FILTER_ARG_FIELD l_.str.2: ; @.str.2 .asciz "expected a value but found %s" .comm _TEP_ERRNO__UNEXPECTED_TYPE,4,2 ; @TEP_ERRNO__UNEXPECTED_TYPE .no_dead_strip _create_arg_item .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function create_arg_item _create_arg_item: ## @create_arg_item .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $80, %rsp movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) movl %edx, -28(%rbp) movq %rcx, -40(%rbp) movq %r8, -48(%rbp) movb $0, %al callq _allocate_arg movq %rax, -64(%rbp) cmpq $0, -64(%rbp) jne LBB0_2 ## %bb.1: movq -48(%rbp), %rdi leaq L_.str(%rip), %rsi movb $0, %al callq _show_error movq _TEP_ERRNO__MEM_ALLOC_FAILED@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_22 LBB0_2: movl -28(%rbp), %eax movl %eax, -68(%rbp) ## 4-byte Spill subl $128, %eax je LBB0_3 jmp LBB0_23 LBB0_23: movl -68(%rbp), %eax ## 4-byte Reload subl $129, %eax je LBB0_9 jmp LBB0_24 LBB0_24: movl -68(%rbp), %eax ## 4-byte Reload subl $130, %eax jne LBB0_20 jmp LBB0_3 LBB0_3: movq _TEP_FILTER_ARG_VALUE@GOTPCREL(%rip), %rax movq (%rax), %rcx movq -64(%rbp), %rax movq %rcx, 8(%rax) cmpl $130, -28(%rbp) jne LBB0_5 ## %bb.4: movq _TEP_FILTER_STRING@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -72(%rbp) ## 4-byte Spill jmp LBB0_6 LBB0_5: movq _TEP_FILTER_CHAR@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -72(%rbp) ## 4-byte Spill LBB0_6: movl -72(%rbp), %ecx ## 4-byte Reload movq -64(%rbp), %rax movl %ecx, 24(%rax) movq -24(%rbp), %rdi callq _strdup movl %eax, %ecx movq -64(%rbp), %rax movl %ecx, 28(%rax) movq -64(%rbp), %rax cmpl $0, 28(%rax) jne LBB0_8 ## %bb.7: movq -64(%rbp), %rdi callq _free_arg movq -48(%rbp), %rdi leaq L_.str.1(%rip), %rsi movb $0, %al callq _show_error movq _TEP_ERRNO__MEM_ALLOC_FAILED@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_22 LBB0_8: jmp LBB0_21 LBB0_9: movq -24(%rbp), %rax movsbl (%rax), %edi callq _isdigit cmpl $0, %eax je LBB0_11 ## %bb.10: movq _TEP_FILTER_ARG_VALUE@GOTPCREL(%rip), %rax movq (%rax), %rcx movq -64(%rbp), %rax movq %rcx, 8(%rax) movq _TEP_FILTER_NUMBER@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -64(%rbp), %rax movl %ecx, 24(%rax) movq -24(%rbp), %rdi xorl %eax, %eax movl %eax, %esi xorl %edx, %edx callq _strtoull movl %eax, %ecx movq -64(%rbp), %rax movl %ecx, 20(%rax) jmp LBB0_21 LBB0_11: movq -16(%rbp), %rdi movq -24(%rbp), %rsi callq _tep_find_any_field movq %rax, -56(%rbp) cmpq $0, -56(%rbp) jne LBB0_19 ## %bb.12: movq -24(%rbp), %rdi movq _COMM@GOTPCREL(%rip), %rax movl (%rax), %esi callq _strcmp cmpl $0, %eax jne LBB0_14 ## %bb.13: movq _comm@GOTPCREL(%rip), %rax movq %rax, -56(%rbp) jmp LBB0_18 LBB0_14: movq -24(%rbp), %rdi movq _CPU@GOTPCREL(%rip), %rax movl (%rax), %esi callq _strcmp cmpl $0, %eax jne LBB0_16 ## %bb.15: movq _cpu@GOTPCREL(%rip), %rax movq %rax, -56(%rbp) jmp LBB0_17 LBB0_16: movq _TEP_FILTER_ARG_BOOLEAN@GOTPCREL(%rip), %rax movq (%rax), %rcx movq -64(%rbp), %rax movq %rcx, 8(%rax) movq _TEP_FILTER_FALSE@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -64(%rbp), %rax movl %ecx, 16(%rax) jmp LBB0_21 LBB0_17: jmp LBB0_18 LBB0_18: jmp LBB0_19 LBB0_19: movq _TEP_FILTER_ARG_FIELD@GOTPCREL(%rip), %rax movq (%rax), %rcx movq -64(%rbp), %rax movq %rcx, 8(%rax) movq -56(%rbp), %rcx movq -64(%rbp), %rax movq %rcx, (%rax) jmp LBB0_21 LBB0_20: movq -64(%rbp), %rdi callq _free_arg movq -48(%rbp), %rdi movq -24(%rbp), %rdx leaq L_.str.2(%rip), %rsi movb $0, %al callq _show_error movq _TEP_ERRNO__UNEXPECTED_TYPE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_22 LBB0_21: movq -64(%rbp), %rcx movq -40(%rbp), %rax movq %rcx, (%rax) movl $0, -4(%rbp) LBB0_22: movl -4(%rbp), %eax addq $80, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "failed to allocate filter arg" .comm _TEP_ERRNO__MEM_ALLOC_FAILED,4,2 ## @TEP_ERRNO__MEM_ALLOC_FAILED .comm _TEP_FILTER_ARG_VALUE,8,3 ## @TEP_FILTER_ARG_VALUE .comm _TEP_FILTER_STRING,4,2 ## @TEP_FILTER_STRING .comm _TEP_FILTER_CHAR,4,2 ## @TEP_FILTER_CHAR L_.str.1: ## @.str.1 .asciz "failed to allocate string filter arg" .comm _TEP_FILTER_NUMBER,4,2 ## @TEP_FILTER_NUMBER .comm _COMM,4,2 ## @COMM .comm _comm,4,2 ## @comm .comm _CPU,4,2 ## @CPU .comm _cpu,4,2 ## @cpu .comm _TEP_FILTER_ARG_BOOLEAN,8,3 ## @TEP_FILTER_ARG_BOOLEAN .comm _TEP_FILTER_FALSE,4,2 ## @TEP_FILTER_FALSE .comm _TEP_FILTER_ARG_FIELD,8,3 ## @TEP_FILTER_ARG_FIELD L_.str.2: ## @.str.2 .asciz "expected a value but found %s" .comm _TEP_ERRNO__UNEXPECTED_TYPE,4,2 ## @TEP_ERRNO__UNEXPECTED_TYPE .no_dead_strip _create_arg_item .subsections_via_symbols
AnghaBench/linux/tools/lib/traceevent/extr_parse-filter.c_create_arg_item.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _nf_conntrack_find_get ; -- Begin function nf_conntrack_find_get .p2align 2 _nf_conntrack_find_get: ; @nf_conntrack_find_get .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 stur x0, [x29, #-8] stur x1, [x29, #-16] bl _rcu_read_lock b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldur x0, [x29, #-8] ldur x1, [x29, #-16] bl ___nf_conntrack_find str x0, [sp, #24] ldr x8, [sp, #24] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr x0, [sp, #24] bl _nf_ct_tuplehash_to_ctrack str x0, [sp, #16] ldr x0, [sp, #16] bl _nf_ct_is_dying subs x8, x0, #0 cset w8, ne mov w9, #1 str w9, [sp, #12] ; 4-byte Folded Spill tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldr x0, [sp, #16] bl _atomic_inc_not_zero subs w8, w0, #0 cset w8, eq str w8, [sp, #12] ; 4-byte Folded Spill b LBB0_4 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #12] ; 4-byte Folded Reload and w0, w8, #0x1 bl _unlikely subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ; kill: def $x8 killed $xzr str xzr, [sp, #24] b LBB0_9 LBB0_6: ; in Loop: Header=BB0_1 Depth=1 ldur x0, [x29, #-16] ldr x1, [sp, #24] bl _nf_ct_tuple_equal subs w8, w0, #0 cset w8, eq and w0, w8, #0x1 bl _unlikely subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: ; in Loop: Header=BB0_1 Depth=1 ldr x0, [sp, #16] bl _nf_ct_put b LBB0_1 LBB0_8: b LBB0_9 LBB0_9: b LBB0_10 LBB0_10: bl _rcu_read_unlock ldr x0, [sp, #24] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _nf_conntrack_find_get ## -- Begin function nf_conntrack_find_get .p2align 4, 0x90 _nf_conntrack_find_get: ## @nf_conntrack_find_get .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movb $0, %al callq _rcu_read_lock LBB0_1: ## =>This Inner Loop Header: Depth=1 movq -8(%rbp), %rdi movq -16(%rbp), %rsi callq ___nf_conntrack_find movq %rax, -24(%rbp) cmpq $0, -24(%rbp) je LBB0_10 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq -24(%rbp), %rdi callq _nf_ct_tuplehash_to_ctrack movq %rax, -32(%rbp) movq -32(%rbp), %rdi callq _nf_ct_is_dying movq %rax, %rcx movb $1, %al cmpq $0, %rcx movb %al, -33(%rbp) ## 1-byte Spill jne LBB0_4 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movq -32(%rbp), %rdi callq _atomic_inc_not_zero cmpl $0, %eax setne %al xorb $-1, %al movb %al, -33(%rbp) ## 1-byte Spill LBB0_4: ## in Loop: Header=BB0_1 Depth=1 movb -33(%rbp), %al ## 1-byte Reload andb $1, %al movzbl %al, %edi callq _unlikely cmpq $0, %rax je LBB0_6 ## %bb.5: movq $0, -24(%rbp) jmp LBB0_9 LBB0_6: ## in Loop: Header=BB0_1 Depth=1 movq -16(%rbp), %rdi movq -24(%rbp), %rsi callq _nf_ct_tuple_equal cmpl $0, %eax setne %al xorb $-1, %al andb $1, %al movzbl %al, %edi callq _unlikely cmpq $0, %rax je LBB0_8 ## %bb.7: ## in Loop: Header=BB0_1 Depth=1 movq -32(%rbp), %rdi callq _nf_ct_put jmp LBB0_1 LBB0_8: jmp LBB0_9 LBB0_9: jmp LBB0_10 LBB0_10: movb $0, %al callq _rcu_read_unlock movq -24(%rbp), %rax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/fastsocket/kernel/net/netfilter/extr_nf_conntrack_core.c_nf_conntrack_find_get.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function tifm_dev_match _tifm_dev_match: ; @tifm_dev_match .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, #16] str x1, [sp, #8] ldr x8, [sp, #16] ldr x8, [x8] ldr x9, [sp, #8] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: mov w8, #1 str w8, [sp, #28] b LBB0_3 LBB0_2: str wzr, [sp, #28] b LBB0_3 LBB0_3: ldr w0, [sp, #28] add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _tifm_dev_match .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function tifm_dev_match _tifm_dev_match: ## @tifm_dev_match .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, -16(%rbp) movq %rsi, -24(%rbp) movq -16(%rbp), %rax movq (%rax), %rax movq -24(%rbp), %rcx cmpq (%rcx), %rax jne LBB0_2 ## %bb.1: movl $1, -4(%rbp) jmp LBB0_3 LBB0_2: movl $0, -4(%rbp) LBB0_3: movl -4(%rbp), %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _tifm_dev_match .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/misc/extr_tifm_core.c_tifm_dev_match.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _BotPredictVisiblePosition ; -- Begin function BotPredictVisiblePosition .p2align 2 _BotPredictVisiblePosition: ; @BotPredictVisiblePosition .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 sub sp, sp, #208 adrp x8, _MAX_AVOIDREACH@GOTPAGE ldr x8, [x8, _MAX_AVOIDREACH@GOTPAGEOFF] stur x8, [x29, #-200] ; 8-byte Folded Spill adrp x9, _qfalse@GOTPAGE ldr x9, [x9, _qfalse@GOTPAGEOFF] stur x9, [x29, #-192] ; 8-byte Folded Spill adrp x9, _qtrue@GOTPAGE ldr x9, [x9, _qtrue@GOTPAGEOFF] stur x9, [x29, #-184] ; 8-byte Folded Spill adrp x9, ___stack_chk_guard@GOTPAGE ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] ldr x9, [x9] stur x9, [x29, #-8] stur w0, [x29, #-16] stur w1, [x29, #-20] stur x2, [x29, #-32] stur w3, [x29, #-36] stur w4, [x29, #-40] ldr w9, [x8] ; kill: def $x9 killed $w9 stur x9, [x29, #-168] ; 8-byte Folded Spill mov x10, sp stur x10, [x29, #-80] lsl x9, x9, #2 add x9, x9, #15 and x9, x9, #0xfffffffffffffff0 stur x9, [x29, #-176] ; 8-byte Folded Spill adrp x16, ___chkstk_darwin@GOTPAGE ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 ldur x11, [x29, #-176] ; 8-byte Folded Reload ldur x9, [x29, #-168] ; 8-byte Folded Reload mov x10, sp subs x0, x10, x11 stur x0, [x29, #-160] ; 8-byte Folded Spill mov sp, x0 stur x9, [x29, #-88] ldr w9, [x8] ; kill: def $x9 killed $w9 stur x9, [x29, #-144] ; 8-byte Folded Spill lsl x9, x9, #2 add x9, x9, #15 and x9, x9, #0xfffffffffffffff0 stur x9, [x29, #-152] ; 8-byte Folded Spill adrp x16, ___chkstk_darwin@GOTPAGE ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 ldur x11, [x29, #-152] ; 8-byte Folded Reload ldur x9, [x29, #-144] ; 8-byte Folded Reload mov x10, sp subs x0, x10, x11 stur x0, [x29, #-136] ; 8-byte Folded Spill mov sp, x0 stur x9, [x29, #-96] ldr w8, [x8] ; kill: def $x8 killed $w8 lsl x9, x8, #2 add x9, x9, #15 and x9, x9, #0xfffffffffffffff0 stur x9, [x29, #-128] ; 8-byte Folded Spill adrp x16, ___chkstk_darwin@GOTPAGE ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 ldur x10, [x29, #-128] ; 8-byte Folded Reload mov x9, sp subs x0, x9, x10 stur x0, [x29, #-120] ; 8-byte Folded Spill mov sp, x0 stur x8, [x29, #-104] ldur x8, [x29, #-32] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldur x8, [x29, #-192] ; 8-byte Folded Reload ldr w8, [x8] stur w8, [x29, #-12] mov w8, #1 stur w8, [x29, #-112] b LBB0_21 LBB0_2: ldur w8, [x29, #-20] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldur x8, [x29, #-192] ; 8-byte Folded Reload ldr w8, [x8] stur w8, [x29, #-12] mov w8, #1 stur w8, [x29, #-112] b LBB0_21 LBB0_4: ldur x8, [x29, #-32] ldr w8, [x8] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ldur x8, [x29, #-192] ; 8-byte Folded Reload ldr w8, [x8] stur w8, [x29, #-12] mov w8, #1 stur w8, [x29, #-112] b LBB0_21 LBB0_6: ldur x0, [x29, #-160] ; 8-byte Folded Reload ldur x8, [x29, #-200] ; 8-byte Folded Reload ldrsw x8, [x8] lsl x8, x8, #2 mov x2, x8 mov w1, #0 bl _Com_Memset ldur x8, [x29, #-32] ldr w8, [x8] stur w8, [x29, #-60] ldur w8, [x29, #-20] stur w8, [x29, #-64] ldur w0, [x29, #-16] ldur w1, [x29, #-108] bl _VectorCopy stur wzr, [x29, #-68] b LBB0_7 LBB0_7: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-68] subs w8, w8, #20 cset w8, ge mov w9, #0 stur w9, [x29, #-204] ; 4-byte Folded Spill tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: ; in Loop: Header=BB0_7 Depth=1 ldur w8, [x29, #-20] ldur x9, [x29, #-32] ldr w9, [x9] subs w8, w8, w9 cset w8, ne stur w8, [x29, #-204] ; 4-byte Folded Spill b LBB0_9 LBB0_9: ; in Loop: Header=BB0_7 Depth=1 ldur w8, [x29, #-204] ; 4-byte Folded Reload tbz w8, #0, LBB0_20 b LBB0_10 LBB0_10: ; in Loop: Header=BB0_7 Depth=1 ldur x6, [x29, #-120] ; 8-byte Folded Reload ldur x5, [x29, #-136] ; 8-byte Folded Reload ldur x4, [x29, #-160] ; 8-byte Folded Reload ldur w0, [x29, #-108] ldur w1, [x29, #-20] ldur w2, [x29, #-60] ldur w3, [x29, #-64] ldur x7, [x29, #-32] ldur w10, [x29, #-36] ldur w9, [x29, #-36] sub sp, sp, #32 mov x8, sp str w10, [x8] str w9, [x8, #4] ; kill: def $x9 killed $xzr str xzr, [x8, #8] str wzr, [x8, #16] str xzr, [x8, #24] bl _BotGetReachabilityToGoal add sp, sp, #32 stur w0, [x29, #-56] ldur w8, [x29, #-56] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_12 b LBB0_11 LBB0_11: ldur x8, [x29, #-192] ; 8-byte Folded Reload ldr w8, [x8] stur w8, [x29, #-12] mov w8, #1 stur w8, [x29, #-112] b LBB0_21 LBB0_12: ; in Loop: Header=BB0_7 Depth=1 ldur w0, [x29, #-56] sub x1, x29, #52 bl _AAS_ReachabilityFromNum ldur x8, [x29, #-32] ldr w0, [x8, #8] ldur x8, [x29, #-32] ldr w1, [x8, #4] ldur w2, [x29, #-44] bl _BotVisible subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_14 b LBB0_13 LBB0_13: ldur w0, [x29, #-44] ldur w1, [x29, #-40] bl _VectorCopy ldur x8, [x29, #-184] ; 8-byte Folded Reload ldr w8, [x8] stur w8, [x29, #-12] mov w8, #1 stur w8, [x29, #-112] b LBB0_21 LBB0_14: ; in Loop: Header=BB0_7 Depth=1 ldur x8, [x29, #-32] ldr w0, [x8, #8] ldur x8, [x29, #-32] ldr w1, [x8, #4] ldur w2, [x29, #-48] bl _BotVisible subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_16 b LBB0_15 LBB0_15: ldur w0, [x29, #-48] ldur w1, [x29, #-40] bl _VectorCopy ldur x8, [x29, #-184] ; 8-byte Folded Reload ldr w8, [x8] stur w8, [x29, #-12] mov w8, #1 stur w8, [x29, #-112] b LBB0_21 LBB0_16: ; in Loop: Header=BB0_7 Depth=1 ldur w8, [x29, #-52] ldur x9, [x29, #-32] ldr w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_18 b LBB0_17 LBB0_17: ldur w0, [x29, #-48] ldur w1, [x29, #-40] bl _VectorCopy ldur x8, [x29, #-184] ; 8-byte Folded Reload ldr w8, [x8] stur w8, [x29, #-12] mov w8, #1 stur w8, [x29, #-112] b LBB0_21 LBB0_18: ; in Loop: Header=BB0_7 Depth=1 ldur w8, [x29, #-20] stur w8, [x29, #-64] ldur w8, [x29, #-52] stur w8, [x29, #-20] ldur w0, [x29, #-48] ldur w1, [x29, #-108] bl _VectorCopy b LBB0_19 LBB0_19: ; in Loop: Header=BB0_7 Depth=1 ldur w8, [x29, #-68] add w8, w8, #1 stur w8, [x29, #-68] b LBB0_7 LBB0_20: ldur x8, [x29, #-192] ; 8-byte Folded Reload ldr w8, [x8] stur w8, [x29, #-12] mov w8, #1 stur w8, [x29, #-112] b LBB0_21 LBB0_21: ldur x8, [x29, #-80] mov sp, x8 ldur w8, [x29, #-12] stur w8, [x29, #-208] ; 4-byte Folded Spill ldur x9, [x29, #-8] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_23 b LBB0_22 LBB0_22: bl ___stack_chk_fail LBB0_23: ldur w0, [x29, #-208] ; 4-byte Folded Reload mov sp, x29 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .comm _MAX_AVOIDREACH,4,2 ; @MAX_AVOIDREACH .comm _qfalse,4,2 ; @qfalse .comm _qtrue,4,2 ; @qtrue .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _BotPredictVisiblePosition ## -- Begin function BotPredictVisiblePosition .p2align 4, 0x90 _BotPredictVisiblePosition: ## @BotPredictVisiblePosition .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 $176, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -24(%rbp) movl %edi, -32(%rbp) movl %esi, -36(%rbp) movq %rdx, -48(%rbp) movl %ecx, -52(%rbp) movl %r8d, -56(%rbp) movq _MAX_AVOIDREACH@GOTPCREL(%rip), %rax movq %rax, -160(%rbp) ## 8-byte Spill movl (%rax), %eax ## kill: def $rax killed $eax movq %rax, -184(%rbp) ## 8-byte Spill movq %rsp, %rcx movq %rcx, -96(%rbp) shlq $2, %rax callq ____chkstk_darwin movq -184(%rbp), %rcx ## 8-byte Reload addq $15, %rax andq $-16, %rax subq %rax, %rsp movq -160(%rbp), %rax ## 8-byte Reload movq %rsp, %rdx movq %rdx, -176(%rbp) ## 8-byte Spill movq %rcx, -104(%rbp) movl (%rax), %eax ## kill: def $rax killed $eax movq %rax, -168(%rbp) ## 8-byte Spill shlq $2, %rax callq ____chkstk_darwin movq -168(%rbp), %rcx ## 8-byte Reload addq $15, %rax andq $-16, %rax subq %rax, %rsp movq -160(%rbp), %rax ## 8-byte Reload movq %rsp, %rdx movq %rdx, -152(%rbp) ## 8-byte Spill movq %rcx, -112(%rbp) movl (%rax), %eax ## kill: def $rax killed $eax movq %rax, -144(%rbp) ## 8-byte Spill shlq $2, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq -144(%rbp), %rax ## 8-byte Reload movq %rsp, %rcx movq %rcx, -136(%rbp) ## 8-byte Spill movq %rax, -120(%rbp) cmpq $0, -48(%rbp) jne LBB0_2 ## %bb.1: movq _qfalse@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -28(%rbp) movl $1, -128(%rbp) jmp LBB0_21 LBB0_2: cmpl $0, -36(%rbp) jne LBB0_4 ## %bb.3: movq _qfalse@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -28(%rbp) movl $1, -128(%rbp) jmp LBB0_21 LBB0_4: movq -48(%rbp), %rax cmpl $0, (%rax) jne LBB0_6 ## %bb.5: movq _qfalse@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -28(%rbp) movl $1, -128(%rbp) jmp LBB0_21 LBB0_6: movq -176(%rbp), %rdi ## 8-byte Reload movq _MAX_AVOIDREACH@GOTPCREL(%rip), %rax movslq (%rax), %rax shlq $2, %rax movl %eax, %edx xorl %esi, %esi callq _Com_Memset movq -48(%rbp), %rax movl (%rax), %eax movl %eax, -80(%rbp) movl -36(%rbp), %eax movl %eax, -84(%rbp) movl -32(%rbp), %edi movl -124(%rbp), %esi callq _VectorCopy movl $0, -88(%rbp) LBB0_7: ## =>This Inner Loop Header: Depth=1 xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpl $20, -88(%rbp) movb %al, -185(%rbp) ## 1-byte Spill jge LBB0_9 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 movl -36(%rbp), %eax movq -48(%rbp), %rcx cmpl (%rcx), %eax setne %al movb %al, -185(%rbp) ## 1-byte Spill LBB0_9: ## in Loop: Header=BB0_7 Depth=1 movb -185(%rbp), %al ## 1-byte Reload testb $1, %al jne LBB0_10 jmp LBB0_20 LBB0_10: ## in Loop: Header=BB0_7 Depth=1 movq -136(%rbp), %rbx ## 8-byte Reload movq -152(%rbp), %r9 ## 8-byte Reload movq -176(%rbp), %r8 ## 8-byte Reload movl -124(%rbp), %edi movl -36(%rbp), %esi movl -80(%rbp), %edx movl -84(%rbp), %ecx movq -48(%rbp), %r11 movl -52(%rbp), %r10d movl -52(%rbp), %eax xorl %r14d, %r14d ## kill: def $r14 killed $r14d xorl %r14d, %r14d subq $64, %rsp movq %rbx, (%rsp) movq %r11, 8(%rsp) movl %r10d, 16(%rsp) movl %eax, 24(%rsp) movq $0, 32(%rsp) movl $0, 40(%rsp) movq $0, 48(%rsp) callq _BotGetReachabilityToGoal addq $64, %rsp movl %eax, -76(%rbp) cmpl $0, -76(%rbp) jne LBB0_12 ## %bb.11: movq _qfalse@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -28(%rbp) movl $1, -128(%rbp) jmp LBB0_21 LBB0_12: ## in Loop: Header=BB0_7 Depth=1 movl -76(%rbp), %edi leaq -72(%rbp), %rsi callq _AAS_ReachabilityFromNum movq -48(%rbp), %rax movl 8(%rax), %edi movq -48(%rbp), %rax movl 4(%rax), %esi movl -64(%rbp), %edx callq _BotVisible cmpq $0, %rax je LBB0_14 ## %bb.13: movl -64(%rbp), %edi movl -56(%rbp), %esi callq _VectorCopy movq _qtrue@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -28(%rbp) movl $1, -128(%rbp) jmp LBB0_21 LBB0_14: ## in Loop: Header=BB0_7 Depth=1 movq -48(%rbp), %rax movl 8(%rax), %edi movq -48(%rbp), %rax movl 4(%rax), %esi movl -68(%rbp), %edx callq _BotVisible cmpq $0, %rax je LBB0_16 ## %bb.15: movl -68(%rbp), %edi movl -56(%rbp), %esi callq _VectorCopy movq _qtrue@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -28(%rbp) movl $1, -128(%rbp) jmp LBB0_21 LBB0_16: ## in Loop: Header=BB0_7 Depth=1 movl -72(%rbp), %eax movq -48(%rbp), %rcx cmpl (%rcx), %eax jne LBB0_18 ## %bb.17: movl -68(%rbp), %edi movl -56(%rbp), %esi callq _VectorCopy movq _qtrue@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -28(%rbp) movl $1, -128(%rbp) jmp LBB0_21 LBB0_18: ## in Loop: Header=BB0_7 Depth=1 movl -36(%rbp), %eax movl %eax, -84(%rbp) movl -72(%rbp), %eax movl %eax, -36(%rbp) movl -68(%rbp), %edi movl -124(%rbp), %esi callq _VectorCopy ## %bb.19: ## in Loop: Header=BB0_7 Depth=1 movl -88(%rbp), %eax addl $1, %eax movl %eax, -88(%rbp) jmp LBB0_7 LBB0_20: movq _qfalse@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -28(%rbp) movl $1, -128(%rbp) LBB0_21: movq -96(%rbp), %rax movq %rax, %rsp movl -28(%rbp), %eax movl %eax, -192(%rbp) ## 4-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -24(%rbp), %rcx cmpq %rcx, %rax jne LBB0_23 ## %bb.22: movl -192(%rbp), %eax ## 4-byte Reload leaq -16(%rbp), %rsp popq %rbx popq %r14 popq %rbp retq LBB0_23: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .comm _MAX_AVOIDREACH,4,2 ## @MAX_AVOIDREACH .comm _qfalse,4,2 ## @qfalse .comm _qtrue,4,2 ## @qtrue .subsections_via_symbols
AnghaBench/Quake-III-Arena/code/botlib/extr_be_ai_move.c_BotPredictVisiblePosition.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function meson_spifc_fill_buffer _meson_spifc_fill_buffer: ; @meson_spifc_fill_buffer .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 stur x0, [x29, #-8] str x1, [sp, #16] str w2, [sp, #12] str wzr, [sp, #4] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #4] ldr w9, [sp, #12] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_6 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #12] ldr w9, [sp, #4] subs w8, w8, w9 subs w8, w8, #4 cset w8, lt tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #16] ldr w8, [x8] str w8, [sp, #8] b LBB0_5 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 ldr x1, [sp, #16] ldr w8, [sp, #12] ldr w9, [sp, #4] subs w2, w8, w9 add x0, sp, #8 bl _memcpy b LBB0_5 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 ldur x8, [x29, #-8] ldr w0, [x8] adrp x8, _REG_C0@GOTPAGE ldr x8, [x8, _REG_C0@GOTPAGEOFF] ldr x8, [x8] ldrsw x9, [sp, #4] add x1, x8, x9 ldr w2, [sp, #8] bl _regmap_write ldr x8, [sp, #16] add x8, x8, #16 str x8, [sp, #16] ldr w8, [sp, #4] add w8, w8, #4 str w8, [sp, #4] b LBB0_1 LBB0_6: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _REG_C0,8,3 ; @REG_C0 .no_dead_strip _meson_spifc_fill_buffer .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function meson_spifc_fill_buffer _meson_spifc_fill_buffer: ## @meson_spifc_fill_buffer .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movl %edx, -20(%rbp) movl $0, -28(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movl -28(%rbp), %eax cmpl -20(%rbp), %eax jge LBB0_6 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl -20(%rbp), %eax subl -28(%rbp), %eax cmpl $4, %eax jl LBB0_4 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movq -16(%rbp), %rax movl (%rax), %eax movl %eax, -24(%rbp) jmp LBB0_5 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 movq -16(%rbp), %rsi movl -20(%rbp), %edx subl -28(%rbp), %edx leaq -24(%rbp), %rdi callq _memcpy LBB0_5: ## in Loop: Header=BB0_1 Depth=1 movq -8(%rbp), %rax movl (%rax), %edi movq _REG_C0@GOTPCREL(%rip), %rax movq (%rax), %rsi movslq -28(%rbp), %rax addq %rax, %rsi movl -24(%rbp), %edx callq _regmap_write movq -16(%rbp), %rax addq $16, %rax movq %rax, -16(%rbp) movl -28(%rbp), %eax addl $4, %eax movl %eax, -28(%rbp) jmp LBB0_1 LBB0_6: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _REG_C0,8,3 ## @REG_C0 .no_dead_strip _meson_spifc_fill_buffer .subsections_via_symbols
AnghaBench/linux/drivers/spi/extr_spi-meson-spifc.c_meson_spifc_fill_buffer.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function write_lv_sym_table _write_lv_sym_table: ; @write_lv_sym_table .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 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 stur x0, [x29, #-8] stur x1, [x29, #-16] stur x2, [x29, #-24] str x3, [sp, #32] ldur x8, [x29, #-16] ldr x8, [x8] str x8, [sp, #24] ldr x0, [sp, #32] ldr x1, [sp, #24] bl _uint32_to_bin ldr x8, [sp, #24] add x8, x8, w0, sxtw #2 str x8, [sp, #24] str xzr, [sp, #16] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #16] ldr x9, [sp, #32] subs x8, x8, x9 cset w8, hs tbnz w8, #0, LBB0_4 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldur x0, [x29, #-8] ldur x8, [x29, #-24] ldr x9, [sp, #16] ldr w1, [x8, x9, lsl #2] mov x2, sp bl _mrb_sym2name_len str x0, [sp, #8] ldr x8, [sp] mov x0, x8 ldr x1, [sp, #24] bl _uint16_to_bin ldr x8, [sp, #24] add x8, x8, w0, sxtw #2 str x8, [sp, #24] ldr x0, [sp, #24] ldr x1, [sp, #8] ldr x2, [sp] bl _memcpy ldr x9, [sp] ldr x8, [sp, #24] add x8, x8, x9, lsl #2 str x8, [sp, #24] b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #16] add x8, x8, #1 str x8, [sp, #16] b LBB0_1 LBB0_4: ldr x8, [sp, #24] ldur x9, [x29, #-16] str x8, [x9] adrp x8, _MRB_DUMP_OK@GOTPAGE ldr x8, [x8, _MRB_DUMP_OK@GOTPAGEOFF] ldr w0, [x8] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _MRB_DUMP_OK,4,2 ; @MRB_DUMP_OK .no_dead_strip _write_lv_sym_table .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function write_lv_sym_table _write_lv_sym_table: ## @write_lv_sym_table .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movq %rcx, -32(%rbp) movq -16(%rbp), %rax movq (%rax), %rax movq %rax, -40(%rbp) movq -32(%rbp), %rdi movq -40(%rbp), %rsi callq _uint32_to_bin movl %eax, %ecx movq -40(%rbp), %rax movslq %ecx, %rcx shlq $2, %rcx addq %rcx, %rax movq %rax, -40(%rbp) movq $0, -48(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movq -48(%rbp), %rax cmpq -32(%rbp), %rax jae LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq -8(%rbp), %rdi movq -24(%rbp), %rax movq -48(%rbp), %rcx movl (%rax,%rcx,4), %esi leaq -64(%rbp), %rdx callq _mrb_sym2name_len movq %rax, -56(%rbp) movq -64(%rbp), %rax movl %eax, %edi movq -40(%rbp), %rsi callq _uint16_to_bin movl %eax, %ecx movq -40(%rbp), %rax movslq %ecx, %rcx shlq $2, %rcx addq %rcx, %rax movq %rax, -40(%rbp) movq -40(%rbp), %rdi movq -56(%rbp), %rsi movq -64(%rbp), %rdx callq _memcpy movq -64(%rbp), %rax shlq $2, %rax addq -40(%rbp), %rax movq %rax, -40(%rbp) ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movq -48(%rbp), %rax addq $1, %rax movq %rax, -48(%rbp) jmp LBB0_1 LBB0_4: movq -40(%rbp), %rcx movq -16(%rbp), %rax movq %rcx, (%rax) movq _MRB_DUMP_OK@GOTPCREL(%rip), %rax movl (%rax), %eax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _MRB_DUMP_OK,4,2 ## @MRB_DUMP_OK .no_dead_strip _write_lv_sym_table .subsections_via_symbols
AnghaBench/h2o/deps/mruby/src/extr_dump.c_write_lv_sym_table.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function jisx0208_mbtowc _jisx0208_mbtowc: ; @jisx0208_mbtowc .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 stur w0, [x29, #-8] stur x1, [x29, #-16] str x2, [sp, #24] str w3, [sp, #20] ldr x8, [sp, #24] ldrb w8, [x8] strb w8, [sp, #19] ldrb w8, [sp, #19] subs w8, w8, #33 cset w8, lt tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldrb w8, [sp, #19] subs w8, w8, #40 cset w8, le tbnz w8, #0, LBB0_4 b LBB0_2 LBB0_2: ldrb w8, [sp, #19] subs w8, w8, #48 cset w8, lt tbnz w8, #0, LBB0_19 b LBB0_3 LBB0_3: ldrb w8, [sp, #19] subs w8, w8, #116 cset w8, gt tbnz w8, #0, LBB0_19 b LBB0_4 LBB0_4: ldr w8, [sp, #20] subs w8, w8, #2 cset w8, lt tbnz w8, #0, LBB0_18 b LBB0_5 LBB0_5: ldr x8, [sp, #24] ldrb w8, [x8, #1] strb w8, [sp, #18] ldrb w8, [sp, #18] subs w8, w8, #33 cset w8, lt tbnz w8, #0, LBB0_17 b LBB0_6 LBB0_6: ldrb w8, [sp, #18] subs w8, w8, #127 cset w8, ge tbnz w8, #0, LBB0_17 b LBB0_7 LBB0_7: ldrb w8, [sp, #19] subs w9, w8, #33 mov w8, #94 mul w8, w8, w9 ldrb w9, [sp, #18] subs w9, w9, #33 add w8, w8, w9 str w8, [sp, #12] mov w8, #65533 strh w8, [sp, #10] ldr w8, [sp, #12] subs w8, w8, #1410 cset w8, hs tbnz w8, #0, LBB0_11 b LBB0_8 LBB0_8: ldr w8, [sp, #12] subs w8, w8, #690 cset w8, hs tbnz w8, #0, LBB0_10 b LBB0_9 LBB0_9: adrp x8, _jisx0208_2uni_page21@GOTPAGE ldr x8, [x8, _jisx0208_2uni_page21@GOTPAGEOFF] ldr x8, [x8] ldr w9, [sp, #12] ; kill: def $x9 killed $w9 add x8, x8, x9, lsl #1 ldrh w8, [x8] strh w8, [sp, #10] b LBB0_10 LBB0_10: b LBB0_14 LBB0_11: ldr w8, [sp, #12] mov w9, #7808 subs w8, w8, w9 cset w8, hs tbnz w8, #0, LBB0_13 b LBB0_12 LBB0_12: adrp x8, _jisx0208_2uni_page30@GOTPAGE ldr x8, [x8, _jisx0208_2uni_page30@GOTPAGEOFF] ldr x8, [x8] ldr w9, [sp, #12] subs w9, w9, #1410 add x8, x8, w9, uxtw #1 ldrh w8, [x8] strh w8, [sp, #10] b LBB0_13 LBB0_13: b LBB0_14 LBB0_14: ldrh w8, [sp, #10] mov w9, #65533 subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_16 b LBB0_15 LBB0_15: ldrh w8, [sp, #10] ; kill: def $x8 killed $w8 ldur x9, [x29, #-16] str x8, [x9] mov w8, #2 stur w8, [x29, #-4] b LBB0_20 LBB0_16: b LBB0_17 LBB0_17: adrp x8, _RET_ILSEQ@GOTPAGE ldr x8, [x8, _RET_ILSEQ@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-4] b LBB0_20 LBB0_18: mov w0, #0 bl _RET_TOOFEW stur w0, [x29, #-4] b LBB0_20 LBB0_19: adrp x8, _RET_ILSEQ@GOTPAGE ldr x8, [x8, _RET_ILSEQ@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-4] b LBB0_20 LBB0_20: ldur w0, [x29, #-4] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _jisx0208_2uni_page21,8,3 ; @jisx0208_2uni_page21 .comm _jisx0208_2uni_page30,8,3 ; @jisx0208_2uni_page30 .comm _RET_ILSEQ,4,2 ; @RET_ILSEQ .no_dead_strip _jisx0208_mbtowc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function jisx0208_mbtowc _jisx0208_mbtowc: ## @jisx0208_mbtowc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movl %edi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movl %ecx, -28(%rbp) movq -24(%rbp), %rax movb (%rax), %al movb %al, -29(%rbp) movzbl -29(%rbp), %eax cmpl $33, %eax jl LBB0_2 ## %bb.1: movzbl -29(%rbp), %eax cmpl $40, %eax jle LBB0_4 LBB0_2: movzbl -29(%rbp), %eax cmpl $48, %eax jl LBB0_19 ## %bb.3: movzbl -29(%rbp), %eax cmpl $116, %eax jg LBB0_19 LBB0_4: cmpl $2, -28(%rbp) jl LBB0_18 ## %bb.5: movq -24(%rbp), %rax movb 1(%rax), %al movb %al, -30(%rbp) movzbl -30(%rbp), %eax cmpl $33, %eax jl LBB0_17 ## %bb.6: movzbl -30(%rbp), %eax cmpl $127, %eax jge LBB0_17 ## %bb.7: movzbl -29(%rbp), %eax subl $33, %eax imull $94, %eax, %eax movzbl -30(%rbp), %ecx subl $33, %ecx addl %ecx, %eax movl %eax, -36(%rbp) movw $-3, -38(%rbp) cmpl $1410, -36(%rbp) ## imm = 0x582 jae LBB0_11 ## %bb.8: cmpl $690, -36(%rbp) ## imm = 0x2B2 jae LBB0_10 ## %bb.9: movq _jisx0208_2uni_page21@GOTPCREL(%rip), %rax movq (%rax), %rax movl -36(%rbp), %ecx ## kill: def $rcx killed $ecx movw (%rax,%rcx,2), %ax movw %ax, -38(%rbp) LBB0_10: jmp LBB0_14 LBB0_11: cmpl $7808, -36(%rbp) ## imm = 0x1E80 jae LBB0_13 ## %bb.12: movq _jisx0208_2uni_page30@GOTPCREL(%rip), %rax movq (%rax), %rax movl -36(%rbp), %ecx subl $1410, %ecx ## imm = 0x582 movl %ecx, %ecx ## kill: def $rcx killed $ecx movw (%rax,%rcx,2), %ax movw %ax, -38(%rbp) LBB0_13: jmp LBB0_14 LBB0_14: movzwl -38(%rbp), %eax cmpl $65533, %eax ## imm = 0xFFFD je LBB0_16 ## %bb.15: movzwl -38(%rbp), %eax movl %eax, %ecx movq -16(%rbp), %rax movq %rcx, (%rax) movl $2, -4(%rbp) jmp LBB0_20 LBB0_16: jmp LBB0_17 LBB0_17: movq _RET_ILSEQ@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_20 LBB0_18: xorl %edi, %edi callq _RET_TOOFEW movl %eax, -4(%rbp) jmp LBB0_20 LBB0_19: movq _RET_ILSEQ@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) LBB0_20: movl -4(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _jisx0208_2uni_page21,8,3 ## @jisx0208_2uni_page21 .comm _jisx0208_2uni_page30,8,3 ## @jisx0208_2uni_page30 .comm _RET_ILSEQ,4,2 ## @RET_ILSEQ .no_dead_strip _jisx0208_mbtowc .subsections_via_symbols
AnghaBench/TDengine/deps/iconv/extr_jisx0208.h_jisx0208_mbtowc.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function eisa_eeprom_open _eisa_eeprom_open: ; @eisa_eeprom_open .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, #16] str x1, [sp, #8] ldr x8, [sp, #8] ldr w8, [x8] adrp x9, _FMODE_WRITE@GOTPAGE ldr x9, [x9, _FMODE_WRITE@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _EINVAL@GOTPAGE ldr x8, [x8, _EINVAL@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 str w8, [sp, #28] b LBB0_3 LBB0_2: str wzr, [sp, #28] b LBB0_3 LBB0_3: ldr w0, [sp, #28] add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _FMODE_WRITE,4,2 ; @FMODE_WRITE .comm _EINVAL,4,2 ; @EINVAL .no_dead_strip _eisa_eeprom_open .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function eisa_eeprom_open _eisa_eeprom_open: ## @eisa_eeprom_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 %rdi, -16(%rbp) movq %rsi, -24(%rbp) movq -24(%rbp), %rax movl (%rax), %eax movq _FMODE_WRITE@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax je LBB0_2 ## %bb.1: xorl %eax, %eax movq _EINVAL@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) jmp LBB0_3 LBB0_2: movl $0, -4(%rbp) LBB0_3: movl -4(%rbp), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _FMODE_WRITE,4,2 ## @FMODE_WRITE .comm _EINVAL,4,2 ## @EINVAL .no_dead_strip _eisa_eeprom_open .subsections_via_symbols
AnghaBench/linux/drivers/parisc/extr_eisa_eeprom.c_eisa_eeprom_open.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ipoib_cm_send_req _ipoib_cm_send_req: ; @ipoib_cm_send_req .cfi_startproc ; %bb.0: sub sp, sp, #192 .cfi_def_cfa_offset 192 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 stur x0, [x29, #-8] stur x1, [x29, #-16] stur x2, [x29, #-24] stur w3, [x29, #-28] stur x4, [x29, #-40] ldur x0, [x29, #-8] bl _netdev_priv stur x0, [x29, #-48] sub x8, x29, #64 str x8, [sp] ; 8-byte Folded Spill stur xzr, [x29, #-64] stur xzr, [x29, #-56] add x0, sp, #16 str x0, [sp, #8] ; 8-byte Folded Spill mov w1, #0 mov x2, #96 bl _memset ldur x8, [x29, #-48] ldr x8, [x8] ldr w0, [x8] bl _cpu_to_be32 stur x0, [x29, #-56] adrp x8, _IPOIB_CM_BUF_SIZE@GOTPAGE ldr x8, [x8, _IPOIB_CM_BUF_SIZE@GOTPAGEOFF] ldr w0, [x8] bl _cpu_to_be32 stur x0, [x29, #-64] ldur x8, [x29, #-40] str x8, [sp, #104] ; kill: def $x8 killed $xzr str xzr, [sp, #96] adrp x8, _IPOIB_CM_IETF_ID@GOTPAGE ldr x8, [x8, _IPOIB_CM_IETF_ID@GOTPAGEOFF] ldr w8, [x8] ldur w9, [x29, #-28] orr w0, w8, w9 bl _cpu_to_be64 ldr x8, [sp] ; 8-byte Folded Reload str w0, [sp, #88] ldur x9, [x29, #-24] ldr w9, [x9, #4] str w9, [sp, #84] ldur x9, [x29, #-24] ldr w9, [x9] str w9, [sp, #80] str x8, [sp, #72] mov w8, #16 str w8, [sp, #16] str xzr, [sp, #64] str xzr, [sp, #56] mov w8, #4 str w8, [sp, #20] mov w8, #20 str w8, [sp, #24] str w8, [sp, #28] str xzr, [sp, #48] str xzr, [sp, #40] mov w8, #15 str w8, [sp, #32] ldur x0, [x29, #-8] bl _ipoib_cm_has_srq ldr x1, [sp, #8] ; 8-byte Folded Reload str w0, [sp, #36] ldur x0, [x29, #-16] bl _ib_send_cm_req ldp x29, x30, [sp, #176] ; 16-byte Folded Reload add sp, sp, #192 ret .cfi_endproc ; -- End function .comm _IPOIB_CM_BUF_SIZE,4,2 ; @IPOIB_CM_BUF_SIZE .comm _IPOIB_CM_IETF_ID,4,2 ; @IPOIB_CM_IETF_ID .no_dead_strip _ipoib_cm_send_req .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ipoib_cm_send_req _ipoib_cm_send_req: ## @ipoib_cm_send_req .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $160, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movl %ecx, -28(%rbp) movq %r8, -40(%rbp) movq -8(%rbp), %rdi callq _netdev_priv movq %rax, -48(%rbp) leaq -64(%rbp), %rdi xorl %esi, %esi movl $16, %edx callq _memset leaq -160(%rbp), %rdi xorl %esi, %esi movl $96, %edx callq _memset movq -48(%rbp), %rax movq (%rax), %rax movl (%rax), %edi callq _cpu_to_be32 movq %rax, -56(%rbp) movq _IPOIB_CM_BUF_SIZE@GOTPCREL(%rip), %rax movl (%rax), %edi callq _cpu_to_be32 movq %rax, -64(%rbp) movq -40(%rbp), %rax movq %rax, -72(%rbp) movq $0, -80(%rbp) movq _IPOIB_CM_IETF_ID@GOTPCREL(%rip), %rax movl (%rax), %edi orl -28(%rbp), %edi callq _cpu_to_be64 movl %eax, -88(%rbp) movq -24(%rbp), %rax movl 4(%rax), %eax movl %eax, -92(%rbp) movq -24(%rbp), %rax movl (%rax), %eax movl %eax, -96(%rbp) leaq -64(%rbp), %rax movq %rax, -104(%rbp) movl $16, -160(%rbp) movq $0, -112(%rbp) movq $0, -120(%rbp) movl $4, -156(%rbp) movl $20, -152(%rbp) movl $20, -148(%rbp) movq $0, -128(%rbp) movq $0, -136(%rbp) movl $15, -144(%rbp) movq -8(%rbp), %rdi callq _ipoib_cm_has_srq movl %eax, -140(%rbp) movq -16(%rbp), %rdi leaq -160(%rbp), %rsi callq _ib_send_cm_req addq $160, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _IPOIB_CM_BUF_SIZE,4,2 ## @IPOIB_CM_BUF_SIZE .comm _IPOIB_CM_IETF_ID,4,2 ## @IPOIB_CM_IETF_ID .no_dead_strip _ipoib_cm_send_req .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/infiniband/ulp/ipoib/extr_ipoib_cm.c_ipoib_cm_send_req.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function fc0012_init _fc0012_init: ; @fc0012_init .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 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 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] str x0, [sp, #24] ldr x8, [sp, #24] ldr x8, [x8, #8] str x8, [sp, #16] str wzr, [sp, #8] adrp x8, l___const.fc0012_init.reg@PAGE add x8, x8, l___const.fc0012_init.reg@PAGEOFF ldr q0, [x8] add x9, sp, #32 str q0, [sp, #32] ldur x8, [x8, #14] stur x8, [x9, #14] ldr x8, [sp, #16] ldr x8, [x8, #8] ldr w8, [x8] str w8, [sp, #4] ; 4-byte Folded Spill subs w8, w8, #128 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_1 LBB0_1: ldr w8, [sp, #4] ; 4-byte Folded Reload subs w8, w8, #129 subs w8, w8, #1 cset w8, hi tbnz w8, #0, LBB0_4 b LBB0_2 LBB0_2: ldrb w8, [sp, #39] orr w8, w8, #0x20 strb w8, [sp, #39] b LBB0_5 LBB0_3: b LBB0_4 LBB0_4: b LBB0_5 LBB0_5: ldr x8, [sp, #16] ldr x8, [x8, #8] ldr x8, [x8, #16] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: ldrb w8, [sp, #44] orr w8, w8, #0x2 strb w8, [sp, #44] b LBB0_7 LBB0_7: ldr x8, [sp, #16] ldr x8, [x8, #8] ldr x8, [x8, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: ldrb w8, [sp, #41] orr w8, w8, #0x1 strb w8, [sp, #41] b LBB0_9 LBB0_9: ldr x8, [sp, #24] ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_11 b LBB0_10 LBB0_10: ldr x8, [sp, #24] ldr x8, [x8] ldr x0, [sp, #24] mov w1, #1 blr x8 b LBB0_11 LBB0_11: mov w8, #1 str w8, [sp, #12] b LBB0_12 LBB0_12: ; =>This Inner Loop Header: Depth=1 ldrsw x8, [sp, #12] subs x8, x8, #22 cset w8, hs tbnz w8, #0, LBB0_17 b LBB0_13 LBB0_13: ; in Loop: Header=BB0_12 Depth=1 ldr x0, [sp, #16] ldr w1, [sp, #12] ldrsw x9, [sp, #12] add x8, sp, #32 ldrb w2, [x8, x9] bl _fc0012_writereg str w0, [sp, #8] ldr w8, [sp, #8] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_15 b LBB0_14 LBB0_14: b LBB0_17 LBB0_15: ; in Loop: Header=BB0_12 Depth=1 b LBB0_16 LBB0_16: ; in Loop: Header=BB0_12 Depth=1 ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB0_12 LBB0_17: ldr x8, [sp, #24] ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_19 b LBB0_18 LBB0_18: ldr x8, [sp, #24] ldr x8, [x8] ldr x0, [sp, #24] mov w1, #0 blr x8 b LBB0_19 LBB0_19: ldr w8, [sp, #8] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_21 b LBB0_20 LBB0_20: ldr x8, [sp, #16] ldr x0, [x8] adrp x8, _KBUILD_MODNAME@GOTPAGE ldr x8, [x8, _KBUILD_MODNAME@GOTPAGEOFF] ldr w2, [x8] ldr w3, [sp, #8] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _dev_err b LBB0_21 LBB0_21: ldr w8, [sp, #8] str w8, [sp] ; 4-byte Folded Spill ldur x9, [x29, #-8] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_23 b LBB0_22 LBB0_22: bl ___stack_chk_fail LBB0_23: ldr w0, [sp] ; 4-byte Folded Reload ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .section __TEXT,__const l___const.fc0012_init.reg: ; @__const.fc0012_init.reg .ascii "\000\005\020\000\000\017\000\000\377n\270\202\374\002\000\000\000\000\037\b\000\004" .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s: fc0012_writereg failed: %d\n" .comm _KBUILD_MODNAME,4,2 ; @KBUILD_MODNAME .no_dead_strip _fc0012_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function fc0012_init _fc0012_init: ## @fc0012_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movq %rdi, -40(%rbp) movq -40(%rbp), %rax movq 8(%rax), %rax movq %rax, -48(%rbp) movl $0, -56(%rbp) movabsq $288239305388720128, %rax ## imm = 0x400081F00000000 movq %rax, -18(%rbp) movaps l___const.fc0012_init.reg(%rip), %xmm0 movaps %xmm0, -32(%rbp) movq -48(%rbp), %rax movq 8(%rax), %rax movl (%rax), %eax movl %eax, -60(%rbp) ## 4-byte Spill subl $128, %eax je LBB0_2 jmp LBB0_23 LBB0_23: movl -60(%rbp), %eax ## 4-byte Reload addl $-129, %eax subl $1, %eax ja LBB0_3 jmp LBB0_1 LBB0_1: movzbl -25(%rbp), %eax orl $32, %eax ## kill: def $al killed $al killed $eax movb %al, -25(%rbp) jmp LBB0_4 LBB0_2: jmp LBB0_3 LBB0_3: jmp LBB0_4 LBB0_4: movq -48(%rbp), %rax movq 8(%rax), %rax cmpq $0, 16(%rax) je LBB0_6 ## %bb.5: movzbl -20(%rbp), %eax orl $2, %eax ## kill: def $al killed $al killed $eax movb %al, -20(%rbp) LBB0_6: movq -48(%rbp), %rax movq 8(%rax), %rax cmpq $0, 8(%rax) je LBB0_8 ## %bb.7: movzbl -23(%rbp), %eax orl $1, %eax ## kill: def $al killed $al killed $eax movb %al, -23(%rbp) LBB0_8: movq -40(%rbp), %rax cmpq $0, (%rax) je LBB0_10 ## %bb.9: movq -40(%rbp), %rax movq (%rax), %rax movq -40(%rbp), %rdi movl $1, %esi callq *%rax LBB0_10: movl $1, -52(%rbp) LBB0_11: ## =>This Inner Loop Header: Depth=1 movslq -52(%rbp), %rax cmpq $22, %rax jae LBB0_16 ## %bb.12: ## in Loop: Header=BB0_11 Depth=1 movq -48(%rbp), %rdi movl -52(%rbp), %esi movslq -52(%rbp), %rax movzbl -32(%rbp,%rax), %edx callq _fc0012_writereg movl %eax, -56(%rbp) cmpl $0, -56(%rbp) je LBB0_14 ## %bb.13: jmp LBB0_16 LBB0_14: ## in Loop: Header=BB0_11 Depth=1 jmp LBB0_15 LBB0_15: ## in Loop: Header=BB0_11 Depth=1 movl -52(%rbp), %eax addl $1, %eax movl %eax, -52(%rbp) jmp LBB0_11 LBB0_16: movq -40(%rbp), %rax cmpq $0, (%rax) je LBB0_18 ## %bb.17: movq -40(%rbp), %rax movq (%rax), %rax movq -40(%rbp), %rdi xorl %esi, %esi callq *%rax LBB0_18: cmpl $0, -56(%rbp) je LBB0_20 ## %bb.19: movq -48(%rbp), %rax movq (%rax), %rdi movq _KBUILD_MODNAME@GOTPCREL(%rip), %rax movl (%rax), %edx movl -56(%rbp), %ecx leaq L_.str(%rip), %rsi callq _dev_err LBB0_20: movl -56(%rbp), %eax movl %eax, -64(%rbp) ## 4-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB0_22 ## %bb.21: movl -64(%rbp), %eax ## 4-byte Reload addq $64, %rsp popq %rbp retq LBB0_22: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .section __TEXT,__const .p2align 4 ## @__const.fc0012_init.reg l___const.fc0012_init.reg: .ascii "\000\005\020\000\000\017\000\000\377n\270\202\374\002\000\000\000\000\037\b\000\004" .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s: fc0012_writereg failed: %d\n" .comm _KBUILD_MODNAME,4,2 ## @KBUILD_MODNAME .no_dead_strip _fc0012_init .subsections_via_symbols
AnghaBench/linux/drivers/media/tuners/extr_fc0012.c_fc0012_init.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function apply_distributive_law _apply_distributive_law: ; @apply_distributive_law .cfi_startproc ; %bb.0: sub sp, sp, #176 .cfi_def_cfa_offset 176 stp x29, x30, [sp, #160] ; 16-byte Folded Spill add x29, sp, #160 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, _PLUS@GOTPAGE ldr x8, [x8, _PLUS@GOTPAGEOFF] stur x8, [x29, #-48] ; 8-byte Folded Spill adrp x8, _MINUS@GOTPAGE ldr x8, [x8, _MINUS@GOTPAGEOFF] stur x8, [x29, #-40] ; 8-byte Folded Spill stur w0, [x29, #-8] ldur w0, [x29, #-8] bl _GET_CODE stur w0, [x29, #-12] ldur w0, [x29, #-8] bl _GET_MODE bl _FLOAT_MODE_P subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_1 LBB0_1: adrp x8, _flag_unsafe_math_optimizations@GOTPAGE ldr x8, [x8, _flag_unsafe_math_optimizations@GOTPAGEOFF] ldr w8, [x8] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ldur w8, [x29, #-8] stur w8, [x29, #-4] b LBB0_55 LBB0_3: ldur w8, [x29, #-12] subs w8, w8, #131 cset w8, eq tbnz w8, #0, LBB0_9 b LBB0_4 LBB0_4: ldur w8, [x29, #-12] subs w8, w8, #134 cset w8, eq tbnz w8, #0, LBB0_9 b LBB0_5 LBB0_5: ldur w8, [x29, #-12] adrp x9, _XOR@GOTPAGE ldr x9, [x9, _XOR@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_9 b LBB0_6 LBB0_6: ldur x9, [x29, #-48] ; 8-byte Folded Reload ldur w8, [x29, #-12] ldr w9, [x9] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_9 b LBB0_7 LBB0_7: ldur x9, [x29, #-40] ; 8-byte Folded Reload ldur w8, [x29, #-12] ldr w9, [x9] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: ldur w8, [x29, #-8] stur w8, [x29, #-4] b LBB0_55 LBB0_9: ldur w0, [x29, #-8] mov w1, #0 bl _XEXP stur w0, [x29, #-20] ldur w0, [x29, #-8] mov w1, #1 bl _XEXP stur w0, [x29, #-24] ldur w0, [x29, #-20] bl _OBJECT_P subs x8, x0, #0 cset w8, ne tbnz w8, #0, LBB0_11 b LBB0_10 LBB0_10: ldur w0, [x29, #-24] bl _OBJECT_P subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_12 b LBB0_11 LBB0_11: ldur w8, [x29, #-8] stur w8, [x29, #-4] b LBB0_55 LBB0_12: ldur w0, [x29, #-20] bl _expand_compound_operation stur w0, [x29, #-20] ldur w0, [x29, #-24] bl _expand_compound_operation stur w0, [x29, #-24] ldur w0, [x29, #-20] bl _GET_CODE stur w0, [x29, #-16] ldur w8, [x29, #-16] stur w8, [x29, #-52] ; 4-byte Folded Spill ldur w0, [x29, #-24] bl _GET_CODE ldur w8, [x29, #-52] ; 4-byte Folded Reload subs w8, w8, w0 cset w8, eq tbnz w8, #0, LBB0_14 b LBB0_13 LBB0_13: ldur w8, [x29, #-8] stur w8, [x29, #-4] b LBB0_55 LBB0_14: ldur w8, [x29, #-16] subs w8, w8, #128 ; kill: def $x8 killed $w8 stur x8, [x29, #-64] ; 8-byte Folded Spill subs x8, x8, #6 cset w8, hi tbnz w8, #0, LBB0_35 ; %bb.15: ldur x11, [x29, #-64] ; 8-byte Folded Reload adrp x10, lJTI0_0@PAGE add x10, x10, lJTI0_0@PAGEOFF Ltmp0: adr x8, Ltmp0 ldrsw x9, [x10, x11, lsl #2] add x8, x8, x9 br x8 LBB0_16: ldur x9, [x29, #-48] ; 8-byte Folded Reload ldur w8, [x29, #-12] ldr w9, [x9] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_18 b LBB0_17 LBB0_17: ldur x9, [x29, #-40] ; 8-byte Folded Reload ldur w8, [x29, #-12] ldr w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_19 b LBB0_18 LBB0_18: ldur w8, [x29, #-8] stur w8, [x29, #-4] b LBB0_55 LBB0_19: b LBB0_36 LBB0_20: ldur x9, [x29, #-48] ; 8-byte Folded Reload ldur w8, [x29, #-12] ldr w9, [x9] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_23 b LBB0_21 LBB0_21: ldur x9, [x29, #-40] ; 8-byte Folded Reload ldur w8, [x29, #-12] ldr w9, [x9] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_23 b LBB0_22 LBB0_22: ldur w8, [x29, #-8] stur w8, [x29, #-4] b LBB0_55 LBB0_23: b LBB0_36 LBB0_24: b LBB0_36 LBB0_25: ldur w0, [x29, #-20] bl _SUBREG_REG bl _GET_MODE stur w0, [x29, #-68] ; 4-byte Folded Spill ldur w0, [x29, #-24] bl _SUBREG_REG bl _GET_MODE mov x8, x0 ldur w0, [x29, #-68] ; 4-byte Folded Reload subs w8, w0, w8 cset w8, ne tbnz w8, #0, LBB0_33 b LBB0_26 LBB0_26: ldur w0, [x29, #-20] bl _SUBREG_BYTE stur w0, [x29, #-72] ; 4-byte Folded Spill ldur w0, [x29, #-24] bl _SUBREG_BYTE mov x8, x0 ldur w0, [x29, #-72] ; 4-byte Folded Reload subs w8, w0, w8 cset w8, ne tbnz w8, #0, LBB0_33 b LBB0_27 LBB0_27: ldur w0, [x29, #-20] bl _subreg_lowpart_p subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB0_33 b LBB0_28 LBB0_28: ldur w0, [x29, #-20] bl _GET_MODE bl _GET_MODE_CLASS stur w0, [x29, #-76] ; 4-byte Folded Spill ldur w0, [x29, #-20] bl _SUBREG_REG bl _GET_MODE bl _GET_MODE_CLASS mov x8, x0 ldur w0, [x29, #-76] ; 4-byte Folded Reload subs w8, w0, w8 cset w8, ne tbnz w8, #0, LBB0_33 b LBB0_29 LBB0_29: ldur w0, [x29, #-20] bl _GET_MODE bl _GET_MODE_SIZE str w0, [sp, #80] ; 4-byte Folded Spill ldur w0, [x29, #-20] bl _SUBREG_REG bl _GET_MODE bl _GET_MODE_SIZE mov x8, x0 ldr w0, [sp, #80] ; 4-byte Folded Reload subs w8, w0, w8 cset w8, gt tbnz w8, #0, LBB0_33 b LBB0_30 LBB0_30: ldur w0, [x29, #-20] bl _GET_MODE bl _VECTOR_MODE_P subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_33 b LBB0_31 LBB0_31: ldur w0, [x29, #-20] bl _SUBREG_REG bl _GET_MODE bl _GET_MODE_SIZE adrp x8, _UNITS_PER_WORD@GOTPAGE ldr x8, [x8, _UNITS_PER_WORD@GOTPAGEOFF] ldr w8, [x8] subs w8, w0, w8 cset w8, gt tbnz w8, #0, LBB0_33 b LBB0_32 LBB0_32: ldur w0, [x29, #-8] bl _GET_MODE bl _GET_MODE_BITSIZE str w0, [sp, #76] ; 4-byte Folded Spill ldur w0, [x29, #-20] bl _SUBREG_REG bl _GET_MODE bl _GET_MODE_BITSIZE mov x1, x0 ldr w0, [sp, #76] ; 4-byte Folded Reload bl _TRULY_NOOP_TRUNCATION subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_34 b LBB0_33 LBB0_33: ldur w8, [x29, #-8] stur w8, [x29, #-4] b LBB0_55 LBB0_34: ldur w8, [x29, #-12] str w8, [sp, #72] ; 4-byte Folded Spill ldur w0, [x29, #-20] bl _SUBREG_REG bl _GET_MODE str w0, [sp, #64] ; 4-byte Folded Spill ldur w0, [x29, #-20] bl _SUBREG_REG str w0, [sp, #68] ; 4-byte Folded Spill ldur w0, [x29, #-24] bl _SUBREG_REG ldr w1, [sp, #64] ; 4-byte Folded Reload ldr w2, [sp, #68] ; 4-byte Folded Reload mov x3, x0 ldr w0, [sp, #72] ; 4-byte Folded Reload bl _simplify_gen_binary stur w0, [x29, #-32] ldur w0, [x29, #-8] bl _GET_MODE ldur w1, [x29, #-32] bl _gen_lowpart stur w0, [x29, #-4] b LBB0_55 LBB0_35: ldur w8, [x29, #-8] stur w8, [x29, #-4] b LBB0_55 LBB0_36: ldur w0, [x29, #-20] bl _COMMUTATIVE_ARITH_P subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_39 b LBB0_37 LBB0_37: ldur w0, [x29, #-20] mov w1, #0 str w1, [sp, #56] ; 4-byte Folded Spill bl _XEXP ldr w1, [sp, #56] ; 4-byte Folded Reload str w0, [sp, #60] ; 4-byte Folded Spill ldur w0, [x29, #-24] bl _XEXP mov x1, x0 ldr w0, [sp, #60] ; 4-byte Folded Reload bl _rtx_equal_p subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_39 b LBB0_38 LBB0_38: ldur w0, [x29, #-20] mov w1, #0 bl _XEXP stur w0, [x29, #-28] ldur w0, [x29, #-20] mov w1, #1 str w1, [sp, #52] ; 4-byte Folded Spill bl _XEXP ldr w1, [sp, #52] ; 4-byte Folded Reload stur w0, [x29, #-20] ldur w0, [x29, #-24] bl _XEXP stur w0, [x29, #-24] b LBB0_51 LBB0_39: ldur w0, [x29, #-20] bl _COMMUTATIVE_ARITH_P subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_42 b LBB0_40 LBB0_40: ldur w0, [x29, #-20] mov w1, #0 bl _XEXP str w0, [sp, #48] ; 4-byte Folded Spill ldur w0, [x29, #-24] mov w1, #1 bl _XEXP mov x1, x0 ldr w0, [sp, #48] ; 4-byte Folded Reload bl _rtx_equal_p subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_42 b LBB0_41 LBB0_41: ldur w0, [x29, #-20] mov w1, #0 str w1, [sp, #44] ; 4-byte Folded Spill bl _XEXP stur w0, [x29, #-28] ldur w0, [x29, #-20] mov w1, #1 bl _XEXP ldr w1, [sp, #44] ; 4-byte Folded Reload stur w0, [x29, #-20] ldur w0, [x29, #-24] bl _XEXP stur w0, [x29, #-24] b LBB0_50 LBB0_42: ldur w0, [x29, #-20] bl _COMMUTATIVE_ARITH_P subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_45 b LBB0_43 LBB0_43: ldur w0, [x29, #-20] mov w1, #1 bl _XEXP str w0, [sp, #40] ; 4-byte Folded Spill ldur w0, [x29, #-24] mov w1, #0 bl _XEXP mov x1, x0 ldr w0, [sp, #40] ; 4-byte Folded Reload bl _rtx_equal_p subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_45 b LBB0_44 LBB0_44: ldur w0, [x29, #-20] mov w1, #1 str w1, [sp, #36] ; 4-byte Folded Spill bl _XEXP stur w0, [x29, #-28] ldur w0, [x29, #-20] mov w1, #0 bl _XEXP ldr w1, [sp, #36] ; 4-byte Folded Reload stur w0, [x29, #-20] ldur w0, [x29, #-24] bl _XEXP stur w0, [x29, #-24] b LBB0_49 LBB0_45: ldur w0, [x29, #-20] mov w1, #1 str w1, [sp, #28] ; 4-byte Folded Spill bl _XEXP ldr w1, [sp, #28] ; 4-byte Folded Reload str w0, [sp, #32] ; 4-byte Folded Spill ldur w0, [x29, #-24] bl _XEXP mov x1, x0 ldr w0, [sp, #32] ; 4-byte Folded Reload bl _rtx_equal_p subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_47 b LBB0_46 LBB0_46: ldur w0, [x29, #-20] mov w1, #1 bl _XEXP stur w0, [x29, #-28] ldur w0, [x29, #-20] mov w1, #0 str w1, [sp, #24] ; 4-byte Folded Spill bl _XEXP ldr w1, [sp, #24] ; 4-byte Folded Reload stur w0, [x29, #-20] ldur w0, [x29, #-24] bl _XEXP stur w0, [x29, #-24] b LBB0_48 LBB0_47: ldur w8, [x29, #-8] stur w8, [x29, #-4] b LBB0_55 LBB0_48: b LBB0_49 LBB0_49: b LBB0_50 LBB0_50: b LBB0_51 LBB0_51: ldur w8, [x29, #-12] str w8, [sp, #20] ; 4-byte Folded Spill ldur w0, [x29, #-8] bl _GET_MODE mov x1, x0 ldr w0, [sp, #20] ; 4-byte Folded Reload ldur w2, [x29, #-20] ldur w3, [x29, #-24] bl _simplify_gen_binary stur w0, [x29, #-32] ldur w8, [x29, #-12] adrp x9, _XOR@GOTPAGE ldr x9, [x9, _XOR@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_54 b LBB0_52 LBB0_52: ldur w8, [x29, #-16] subs w8, w8, #131 cset w8, ne tbnz w8, #0, LBB0_54 b LBB0_53 LBB0_53: mov w8, #134 stur w8, [x29, #-16] adrp x8, _NOT@GOTPAGE ldr x8, [x8, _NOT@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #16] ; 4-byte Folded Spill ldur w0, [x29, #-8] bl _GET_MODE str w0, [sp, #8] ; 4-byte Folded Spill ldur w8, [x29, #-28] str w8, [sp, #12] ; 4-byte Folded Spill ldur w0, [x29, #-8] bl _GET_MODE ldr w1, [sp, #8] ; 4-byte Folded Reload ldr w2, [sp, #12] ; 4-byte Folded Reload mov x3, x0 ldr w0, [sp, #16] ; 4-byte Folded Reload bl _simplify_gen_unary stur w0, [x29, #-28] b LBB0_54 LBB0_54: ldur w8, [x29, #-16] str w8, [sp, #4] ; 4-byte Folded Spill ldur w0, [x29, #-8] bl _GET_MODE str w0, [sp] ; 4-byte Folded Spill ldur w0, [x29, #-32] bl _apply_distributive_law ldr w1, [sp] ; 4-byte Folded Reload mov x2, x0 ldr w0, [sp, #4] ; 4-byte Folded Reload ldur w3, [x29, #-28] bl _simplify_gen_binary stur w0, [x29, #-4] b LBB0_55 LBB0_55: ldur w0, [x29, #-4] ldp x29, x30, [sp, #160] ; 16-byte Folded Reload add sp, sp, #176 ret .cfi_endproc .p2align 2 lJTI0_0: .long LBB0_25-Ltmp0 .long LBB0_20-Ltmp0 .long LBB0_16-Ltmp0 .long LBB0_16-Ltmp0 .long LBB0_16-Ltmp0 .long LBB0_24-Ltmp0 .long LBB0_16-Ltmp0 ; -- End function .comm _flag_unsafe_math_optimizations,4,2 ; @flag_unsafe_math_optimizations .comm _XOR,4,2 ; @XOR .comm _PLUS,4,2 ; @PLUS .comm _MINUS,4,2 ; @MINUS .comm _UNITS_PER_WORD,4,2 ; @UNITS_PER_WORD .comm _NOT,4,2 ; @NOT .no_dead_strip _apply_distributive_law .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function apply_distributive_law _apply_distributive_law: ## @apply_distributive_law .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $128, %rsp movl %edi, -8(%rbp) movl -8(%rbp), %edi callq _GET_CODE movl %eax, -12(%rbp) movl -8(%rbp), %edi callq _GET_MODE movl %eax, %edi callq _FLOAT_MODE_P cmpq $0, %rax je LBB0_3 ## %bb.1: movq _flag_unsafe_math_optimizations@GOTPCREL(%rip), %rax cmpl $0, (%rax) jne LBB0_3 ## %bb.2: movl -8(%rbp), %eax movl %eax, -4(%rbp) jmp LBB0_54 LBB0_3: cmpl $131, -12(%rbp) je LBB0_9 ## %bb.4: cmpl $134, -12(%rbp) je LBB0_9 ## %bb.5: movl -12(%rbp), %eax movq _XOR@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax je LBB0_9 ## %bb.6: movl -12(%rbp), %eax movq _PLUS@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax je LBB0_9 ## %bb.7: movl -12(%rbp), %eax movq _MINUS@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax je LBB0_9 ## %bb.8: movl -8(%rbp), %eax movl %eax, -4(%rbp) jmp LBB0_54 LBB0_9: movl -8(%rbp), %edi xorl %esi, %esi callq _XEXP movl %eax, -20(%rbp) movl -8(%rbp), %edi movl $1, %esi callq _XEXP movl %eax, -24(%rbp) movl -20(%rbp), %edi callq _OBJECT_P cmpq $0, %rax jne LBB0_11 ## %bb.10: movl -24(%rbp), %edi callq _OBJECT_P cmpq $0, %rax je LBB0_12 LBB0_11: movl -8(%rbp), %eax movl %eax, -4(%rbp) jmp LBB0_54 LBB0_12: movl -20(%rbp), %edi callq _expand_compound_operation movl %eax, -20(%rbp) movl -24(%rbp), %edi callq _expand_compound_operation movl %eax, -24(%rbp) movl -20(%rbp), %edi callq _GET_CODE movl %eax, -16(%rbp) movl -16(%rbp), %eax movl %eax, -36(%rbp) ## 4-byte Spill movl -24(%rbp), %edi callq _GET_CODE movl %eax, %ecx movl -36(%rbp), %eax ## 4-byte Reload cmpl %ecx, %eax je LBB0_14 ## %bb.13: movl -8(%rbp), %eax movl %eax, -4(%rbp) jmp LBB0_54 LBB0_14: movl -16(%rbp), %eax addl $-128, %eax movl %eax, %ecx movq %rcx, -48(%rbp) ## 8-byte Spill subl $6, %eax ja LBB0_34 ## %bb.55: movq -48(%rbp), %rax ## 8-byte Reload leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_15: movl -12(%rbp), %eax movq _PLUS@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax je LBB0_17 ## %bb.16: movl -12(%rbp), %eax movq _MINUS@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_18 LBB0_17: movl -8(%rbp), %eax movl %eax, -4(%rbp) jmp LBB0_54 LBB0_18: jmp LBB0_35 LBB0_19: movl -12(%rbp), %eax movq _PLUS@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax je LBB0_22 ## %bb.20: movl -12(%rbp), %eax movq _MINUS@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax je LBB0_22 ## %bb.21: movl -8(%rbp), %eax movl %eax, -4(%rbp) jmp LBB0_54 LBB0_22: jmp LBB0_35 LBB0_23: jmp LBB0_35 LBB0_24: movl -20(%rbp), %edi callq _SUBREG_REG movl %eax, %edi callq _GET_MODE movl %eax, -52(%rbp) ## 4-byte Spill movl -24(%rbp), %edi callq _SUBREG_REG movl %eax, %edi callq _GET_MODE movl %eax, %ecx movl -52(%rbp), %eax ## 4-byte Reload cmpl %ecx, %eax jne LBB0_32 ## %bb.25: movl -20(%rbp), %edi callq _SUBREG_BYTE movl %eax, -56(%rbp) ## 4-byte Spill movl -24(%rbp), %edi callq _SUBREG_BYTE movl %eax, %ecx movl -56(%rbp), %eax ## 4-byte Reload cmpl %ecx, %eax jne LBB0_32 ## %bb.26: movl -20(%rbp), %edi callq _subreg_lowpart_p cmpl $0, %eax je LBB0_32 ## %bb.27: movl -20(%rbp), %edi callq _GET_MODE movl %eax, %edi callq _GET_MODE_CLASS movl %eax, -60(%rbp) ## 4-byte Spill movl -20(%rbp), %edi callq _SUBREG_REG movl %eax, %edi callq _GET_MODE movl %eax, %edi callq _GET_MODE_CLASS movl %eax, %ecx movl -60(%rbp), %eax ## 4-byte Reload cmpl %ecx, %eax jne LBB0_32 ## %bb.28: movl -20(%rbp), %edi callq _GET_MODE movl %eax, %edi callq _GET_MODE_SIZE movl %eax, -64(%rbp) ## 4-byte Spill movl -20(%rbp), %edi callq _SUBREG_REG movl %eax, %edi callq _GET_MODE movl %eax, %edi callq _GET_MODE_SIZE movl %eax, %ecx movl -64(%rbp), %eax ## 4-byte Reload cmpl %ecx, %eax jg LBB0_32 ## %bb.29: movl -20(%rbp), %edi callq _GET_MODE movl %eax, %edi callq _VECTOR_MODE_P cmpl $0, %eax jne LBB0_32 ## %bb.30: movl -20(%rbp), %edi callq _SUBREG_REG movl %eax, %edi callq _GET_MODE movl %eax, %edi callq _GET_MODE_SIZE movq _UNITS_PER_WORD@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jg LBB0_32 ## %bb.31: movl -8(%rbp), %edi callq _GET_MODE movl %eax, %edi callq _GET_MODE_BITSIZE movl %eax, -68(%rbp) ## 4-byte Spill movl -20(%rbp), %edi callq _SUBREG_REG movl %eax, %edi callq _GET_MODE movl %eax, %edi callq _GET_MODE_BITSIZE movl -68(%rbp), %edi ## 4-byte Reload movl %eax, %esi callq _TRULY_NOOP_TRUNCATION cmpl $0, %eax jne LBB0_33 LBB0_32: movl -8(%rbp), %eax movl %eax, -4(%rbp) jmp LBB0_54 LBB0_33: movl -12(%rbp), %eax movl %eax, -80(%rbp) ## 4-byte Spill movl -20(%rbp), %edi callq _SUBREG_REG movl %eax, %edi callq _GET_MODE movl %eax, -76(%rbp) ## 4-byte Spill movl -20(%rbp), %edi callq _SUBREG_REG movl %eax, -72(%rbp) ## 4-byte Spill movl -24(%rbp), %edi callq _SUBREG_REG movl -80(%rbp), %edi ## 4-byte Reload movl -76(%rbp), %esi ## 4-byte Reload movl -72(%rbp), %edx ## 4-byte Reload movl %eax, %ecx callq _simplify_gen_binary movl %eax, -32(%rbp) movl -8(%rbp), %edi callq _GET_MODE movl %eax, %edi movl -32(%rbp), %esi callq _gen_lowpart movl %eax, -4(%rbp) jmp LBB0_54 LBB0_34: movl -8(%rbp), %eax movl %eax, -4(%rbp) jmp LBB0_54 LBB0_35: movl -20(%rbp), %edi callq _COMMUTATIVE_ARITH_P cmpq $0, %rax je LBB0_38 ## %bb.36: movl -20(%rbp), %edi xorl %esi, %esi callq _XEXP movl %eax, -84(%rbp) ## 4-byte Spill movl -24(%rbp), %edi xorl %esi, %esi callq _XEXP movl -84(%rbp), %edi ## 4-byte Reload movl %eax, %esi callq _rtx_equal_p cmpq $0, %rax je LBB0_38 ## %bb.37: movl -20(%rbp), %edi xorl %esi, %esi callq _XEXP movl %eax, -28(%rbp) movl -20(%rbp), %edi movl $1, %esi callq _XEXP movl %eax, -20(%rbp) movl -24(%rbp), %edi movl $1, %esi callq _XEXP movl %eax, -24(%rbp) jmp LBB0_50 LBB0_38: movl -20(%rbp), %edi callq _COMMUTATIVE_ARITH_P cmpq $0, %rax je LBB0_41 ## %bb.39: movl -20(%rbp), %edi xorl %esi, %esi callq _XEXP movl %eax, -88(%rbp) ## 4-byte Spill movl -24(%rbp), %edi movl $1, %esi callq _XEXP movl -88(%rbp), %edi ## 4-byte Reload movl %eax, %esi callq _rtx_equal_p cmpq $0, %rax je LBB0_41 ## %bb.40: movl -20(%rbp), %edi xorl %esi, %esi callq _XEXP movl %eax, -28(%rbp) movl -20(%rbp), %edi movl $1, %esi callq _XEXP movl %eax, -20(%rbp) movl -24(%rbp), %edi xorl %esi, %esi callq _XEXP movl %eax, -24(%rbp) jmp LBB0_49 LBB0_41: movl -20(%rbp), %edi callq _COMMUTATIVE_ARITH_P cmpq $0, %rax je LBB0_44 ## %bb.42: movl -20(%rbp), %edi movl $1, %esi callq _XEXP movl %eax, -92(%rbp) ## 4-byte Spill movl -24(%rbp), %edi xorl %esi, %esi callq _XEXP movl -92(%rbp), %edi ## 4-byte Reload movl %eax, %esi callq _rtx_equal_p cmpq $0, %rax je LBB0_44 ## %bb.43: movl -20(%rbp), %edi movl $1, %esi callq _XEXP movl %eax, -28(%rbp) movl -20(%rbp), %edi xorl %esi, %esi callq _XEXP movl %eax, -20(%rbp) movl -24(%rbp), %edi movl $1, %esi callq _XEXP movl %eax, -24(%rbp) jmp LBB0_48 LBB0_44: movl -20(%rbp), %edi movl $1, %esi callq _XEXP movl %eax, -96(%rbp) ## 4-byte Spill movl -24(%rbp), %edi movl $1, %esi callq _XEXP movl -96(%rbp), %edi ## 4-byte Reload movl %eax, %esi callq _rtx_equal_p cmpq $0, %rax je LBB0_46 ## %bb.45: movl -20(%rbp), %edi movl $1, %esi callq _XEXP movl %eax, -28(%rbp) movl -20(%rbp), %edi xorl %esi, %esi callq _XEXP movl %eax, -20(%rbp) movl -24(%rbp), %edi xorl %esi, %esi callq _XEXP movl %eax, -24(%rbp) jmp LBB0_47 LBB0_46: movl -8(%rbp), %eax movl %eax, -4(%rbp) jmp LBB0_54 LBB0_47: jmp LBB0_48 LBB0_48: jmp LBB0_49 LBB0_49: jmp LBB0_50 LBB0_50: movl -12(%rbp), %eax movl %eax, -100(%rbp) ## 4-byte Spill movl -8(%rbp), %edi callq _GET_MODE movl -100(%rbp), %edi ## 4-byte Reload movl %eax, %esi movl -20(%rbp), %edx movl -24(%rbp), %ecx callq _simplify_gen_binary movl %eax, -32(%rbp) movl -12(%rbp), %eax movq _XOR@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_53 ## %bb.51: cmpl $131, -16(%rbp) jne LBB0_53 ## %bb.52: movl $134, -16(%rbp) movq _NOT@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -112(%rbp) ## 4-byte Spill movl -8(%rbp), %edi callq _GET_MODE movl %eax, -108(%rbp) ## 4-byte Spill movl -28(%rbp), %eax movl %eax, -104(%rbp) ## 4-byte Spill movl -8(%rbp), %edi callq _GET_MODE movl -112(%rbp), %edi ## 4-byte Reload movl -108(%rbp), %esi ## 4-byte Reload movl -104(%rbp), %edx ## 4-byte Reload movl %eax, %ecx callq _simplify_gen_unary movl %eax, -28(%rbp) LBB0_53: movl -16(%rbp), %eax movl %eax, -120(%rbp) ## 4-byte Spill movl -8(%rbp), %edi callq _GET_MODE movl %eax, -116(%rbp) ## 4-byte Spill movl -32(%rbp), %edi callq _apply_distributive_law movl -120(%rbp), %edi ## 4-byte Reload movl -116(%rbp), %esi ## 4-byte Reload movl %eax, %edx movl -28(%rbp), %ecx callq _simplify_gen_binary movl %eax, -4(%rbp) LBB0_54: movl -4(%rbp), %eax addq $128, %rsp popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_24, LBB0_24-LJTI0_0 .set L0_0_set_19, LBB0_19-LJTI0_0 .set L0_0_set_15, LBB0_15-LJTI0_0 .set L0_0_set_23, LBB0_23-LJTI0_0 LJTI0_0: .long L0_0_set_24 .long L0_0_set_19 .long L0_0_set_15 .long L0_0_set_15 .long L0_0_set_15 .long L0_0_set_23 .long L0_0_set_15 .end_data_region ## -- End function .comm _flag_unsafe_math_optimizations,4,2 ## @flag_unsafe_math_optimizations .comm _XOR,4,2 ## @XOR .comm _PLUS,4,2 ## @PLUS .comm _MINUS,4,2 ## @MINUS .comm _UNITS_PER_WORD,4,2 ## @UNITS_PER_WORD .comm _NOT,4,2 ## @NOT .no_dead_strip _apply_distributive_law .subsections_via_symbols
AnghaBench/freebsd/contrib/gcc/extr_combine.c_apply_distributive_law.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _rn_match ; -- Begin function rn_match .p2align 2 _rn_match: ; @rn_match .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, #8] str x1, [sp] ldr x0, [sp, #8] ldr x1, [sp] mov x3, #0 mov x2, x3 bl _rn_match_args ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _rn_match ## -- Begin function rn_match .p2align 4, 0x90 _rn_match: ## @rn_match .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 movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -8(%rbp), %rdi movq -16(%rbp), %rsi xorl %eax, %eax movl %eax, %ecx movq %rcx, %rdx callq _rn_match_args addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/darwin-xnu/bsd/net/extr_radix.c_rn_match.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function acpi_scan_rsd_ptr _acpi_scan_rsd_ptr: ; @acpi_scan_rsd_ptr .cfi_startproc ; %bb.0: mov x0, #0 ret .cfi_endproc ; -- End function .comm _ACPI_EBDA_PTR_LOCATION,4,2 ; @ACPI_EBDA_PTR_LOCATION .comm _ACPI_EBDA_WINDOW_SIZE,4,2 ; @ACPI_EBDA_WINDOW_SIZE .comm _ACPI_HI_RSDP_WINDOW_BASE,4,2 ; @ACPI_HI_RSDP_WINDOW_BASE .comm _ACPI_HI_RSDP_WINDOW_SIZE,4,2 ; @ACPI_HI_RSDP_WINDOW_SIZE .comm _acpi_mem_fd,4,2 ; @acpi_mem_fd .no_dead_strip _acpi_scan_rsd_ptr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function acpi_scan_rsd_ptr _acpi_scan_rsd_ptr: ## @acpi_scan_rsd_ptr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq _ACPI_EBDA_PTR_LOCATION@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -20(%rbp) movq _acpi_mem_fd@GOTPCREL(%rip), %rax movl (%rax), %edi movl -20(%rbp), %ecx leaq -20(%rbp), %rsi movl $4, %edx callq _pread movl -20(%rbp), %eax shll $4, %eax movl %eax, -20(%rbp) movl -20(%rbp), %eax movq _ACPI_EBDA_WINDOW_SIZE@GOTPCREL(%rip), %rcx addl (%rcx), %eax movl %eax, -24(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movl -20(%rbp), %eax cmpl -24(%rbp), %eax jge LBB0_6 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl -20(%rbp), %edi callq _acpi_get_rsdp movq %rax, -16(%rbp) cmpq $0, %rax je LBB0_4 ## %bb.3: movq -16(%rbp), %rax movq %rax, -8(%rbp) jmp LBB0_13 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_5 LBB0_5: ## in Loop: Header=BB0_1 Depth=1 movl -20(%rbp), %eax addl $16, %eax movl %eax, -20(%rbp) jmp LBB0_1 LBB0_6: movq _ACPI_HI_RSDP_WINDOW_BASE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -20(%rbp) movl -20(%rbp), %eax movq _ACPI_HI_RSDP_WINDOW_SIZE@GOTPCREL(%rip), %rcx addl (%rcx), %eax movl %eax, -24(%rbp) LBB0_7: ## =>This Inner Loop Header: Depth=1 movl -20(%rbp), %eax cmpl -24(%rbp), %eax jge LBB0_12 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 movl -20(%rbp), %edi callq _acpi_get_rsdp movq %rax, -16(%rbp) cmpq $0, %rax je LBB0_10 ## %bb.9: movq -16(%rbp), %rax movq %rax, -8(%rbp) jmp LBB0_13 LBB0_10: ## in Loop: Header=BB0_7 Depth=1 jmp LBB0_11 LBB0_11: ## in Loop: Header=BB0_7 Depth=1 movl -20(%rbp), %eax addl $16, %eax movl %eax, -20(%rbp) jmp LBB0_7 LBB0_12: movq $0, -8(%rbp) LBB0_13: movq -8(%rbp), %rax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _ACPI_EBDA_PTR_LOCATION,4,2 ## @ACPI_EBDA_PTR_LOCATION .comm _acpi_mem_fd,4,2 ## @acpi_mem_fd .comm _ACPI_EBDA_WINDOW_SIZE,4,2 ## @ACPI_EBDA_WINDOW_SIZE .comm _ACPI_HI_RSDP_WINDOW_BASE,4,2 ## @ACPI_HI_RSDP_WINDOW_BASE .comm _ACPI_HI_RSDP_WINDOW_SIZE,4,2 ## @ACPI_HI_RSDP_WINDOW_SIZE .no_dead_strip _acpi_scan_rsd_ptr .subsections_via_symbols
AnghaBench/freebsd/usr.sbin/acpi/acpidump/extr_acpi_user.c_acpi_scan_rsd_ptr.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function lua_proto_get_eof_packet _lua_proto_get_eof_packet: ; @lua_proto_get_eof_packet .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 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 stur x0, [x29, #-16] ldur x0, [x29, #-16] mov w1, #1 sub x2, x29, #24 bl _luaL_checklstring stur x0, [x29, #-32] str wzr, [sp, #4] ldur x9, [x29, #-32] add x8, sp, #8 str x9, [sp, #8] ldur x9, [x29, #-24] str x9, [sp, #16] str x8, [sp, #32] str xzr, [sp, #24] bl _network_mysqld_eof_packet_new str x0, [sp, #40] ldr w8, [sp, #4] subs w8, w8, #0 cset w8, ne mov w9, #1 str w9, [sp] ; 4-byte Folded Spill tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x1, [sp, #40] add x0, sp, #24 bl _network_mysqld_proto_get_eof_packet subs x8, x0, #0 cset w8, ne str w8, [sp] ; 4-byte Folded Spill b LBB0_2 LBB0_2: ldr w8, [sp] ; 4-byte Folded Reload and w8, w8, #0x1 str w8, [sp, #4] ldr w8, [sp, #4] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldr x0, [sp, #40] bl _network_mysqld_eof_packet_free ldur x0, [x29, #-16] adrp x8, _G_STRLOC@GOTPAGE ldr x8, [x8, _G_STRLOC@GOTPAGEOFF] ldr w2, [x8] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _luaL_error stur wzr, [x29, #-4] b LBB0_5 LBB0_4: ldur x0, [x29, #-16] bl _lua_newtable ldr x0, [sp, #40] adrp x8, _server_status@GOTPAGE ldr x8, [x8, _server_status@GOTPAGEOFF] ldr w1, [x8] bl _LUA_EXPORT_INT ldr x0, [sp, #40] adrp x8, _warnings@GOTPAGE ldr x8, [x8, _warnings@GOTPAGEOFF] ldr w1, [x8] bl _LUA_EXPORT_INT ldr x0, [sp, #40] bl _network_mysqld_eof_packet_free mov w8, #1 stur w8, [x29, #-4] b LBB0_5 LBB0_5: ldur w0, [x29, #-4] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s: network_mysqld_proto_get_eof_packet() failed" .comm _G_STRLOC,4,2 ; @G_STRLOC .comm _server_status,4,2 ; @server_status .comm _warnings,4,2 ; @warnings .no_dead_strip _lua_proto_get_eof_packet .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function lua_proto_get_eof_packet _lua_proto_get_eof_packet: ## @lua_proto_get_eof_packet .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $80, %rsp movq %rdi, -16(%rbp) movq -16(%rbp), %rdi movl $1, %esi leaq -24(%rbp), %rdx callq _luaL_checklstring movq %rax, -32(%rbp) movl $0, -76(%rbp) movq -32(%rbp), %rax movq %rax, -72(%rbp) movq -24(%rbp), %rax movq %rax, -64(%rbp) leaq -72(%rbp), %rax movq %rax, -48(%rbp) movq $0, -56(%rbp) movb $0, %al callq _network_mysqld_eof_packet_new movq %rax, -40(%rbp) movb $1, %al cmpl $0, -76(%rbp) movb %al, -77(%rbp) ## 1-byte Spill jne LBB0_2 ## %bb.1: movq -40(%rbp), %rsi leaq -56(%rbp), %rdi callq _network_mysqld_proto_get_eof_packet cmpq $0, %rax setne %al movb %al, -77(%rbp) ## 1-byte Spill LBB0_2: movb -77(%rbp), %al ## 1-byte Reload andb $1, %al movzbl %al, %eax movl %eax, -76(%rbp) cmpl $0, -76(%rbp) je LBB0_4 ## %bb.3: movq -40(%rbp), %rdi callq _network_mysqld_eof_packet_free movq -16(%rbp), %rdi movq _G_STRLOC@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str(%rip), %rsi callq _luaL_error movl $0, -4(%rbp) jmp LBB0_5 LBB0_4: movq -16(%rbp), %rdi callq _lua_newtable movq -40(%rbp), %rdi movq _server_status@GOTPCREL(%rip), %rax movl (%rax), %esi callq _LUA_EXPORT_INT movq -40(%rbp), %rdi movq _warnings@GOTPCREL(%rip), %rax movl (%rax), %esi callq _LUA_EXPORT_INT movq -40(%rbp), %rdi callq _network_mysqld_eof_packet_free movl $1, -4(%rbp) LBB0_5: movl -4(%rbp), %eax addq $80, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s: network_mysqld_proto_get_eof_packet() failed" .comm _G_STRLOC,4,2 ## @G_STRLOC .comm _server_status,4,2 ## @server_status .comm _warnings,4,2 ## @warnings .no_dead_strip _lua_proto_get_eof_packet .subsections_via_symbols
AnghaBench/Atlas/lib/extr_mysql-proto.c_lua_proto_get_eof_packet.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function wpa_drv_join_mesh _wpa_drv_join_mesh: ; @wpa_drv_join_mesh .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 str x0, [sp, #16] str x1, [sp, #8] ldr x8, [sp, #16] ldr x8, [x8, #8] ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp, #16] ldr x8, [x8, #8] ldr x8, [x8] ldr x9, [sp, #16] ldr w0, [x9] ldr x1, [sp, #8] blr x8 stur w0, [x29, #-4] b LBB0_3 LBB0_2: mov w8, #-1 stur w8, [x29, #-4] b LBB0_3 LBB0_3: ldur w0, [x29, #-4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .no_dead_strip _wpa_drv_join_mesh .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function wpa_drv_join_mesh _wpa_drv_join_mesh: ## @wpa_drv_join_mesh .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) movq -16(%rbp), %rax movq 8(%rax), %rax cmpq $0, (%rax) je LBB0_2 ## %bb.1: movq -16(%rbp), %rax movq 8(%rax), %rax movq (%rax), %rax movq -16(%rbp), %rcx movl (%rcx), %edi movq -24(%rbp), %rsi callq *%rax movl %eax, -4(%rbp) jmp LBB0_3 LBB0_2: movl $-1, -4(%rbp) LBB0_3: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _wpa_drv_join_mesh .subsections_via_symbols
AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_driver_i.h_wpa_drv_join_mesh.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function vimc_sen_set_fmt _vimc_sen_set_fmt: ; @vimc_sen_set_fmt .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 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 stur x0, [x29, #-16] stur x1, [x29, #-24] stur x2, [x29, #-32] ldur x0, [x29, #-16] bl _v4l2_get_subdevdata stur x0, [x29, #-40] ldur x8, [x29, #-32] ldr x8, [x8] adrp x9, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGE ldr x9, [x9, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_1 LBB0_1: ldur x8, [x29, #-40] ldr x8, [x8, #40] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: adrp x8, _EBUSY@GOTPAGE ldr x8, [x8, _EBUSY@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 stur w8, [x29, #-4] b LBB0_6 LBB0_3: ldur x8, [x29, #-40] add x8, x8, #8 str x8, [sp, #48] b LBB0_5 LBB0_4: ldur x0, [x29, #-16] ldur x1, [x29, #-24] ldur x8, [x29, #-32] ldr w2, [x8, #36] bl _v4l2_subdev_get_try_format str x0, [sp, #48] b LBB0_5 LBB0_5: ldur x8, [x29, #-32] add x0, x8, #8 bl _vimc_sen_adjust_fmt ldur x8, [x29, #-40] ldr w0, [x8, #4] ldur x8, [x29, #-40] ldr w2, [x8] ldr x8, [sp, #48] ldr w3, [x8, #24] ldr x8, [sp, #48] ldr w4, [x8, #20] ldr x8, [sp, #48] ldr w5, [x8, #16] ldr x8, [sp, #48] ldr w6, [x8, #12] ldr x8, [sp, #48] ldr w7, [x8, #8] ldr x8, [sp, #48] ldr w17, [x8, #4] ldr x8, [sp, #48] ldr w16, [x8] ldur x8, [x29, #-32] ldr w15, [x8, #32] ldur x8, [x29, #-32] ldr w14, [x8, #28] ldur x8, [x29, #-32] ldr w13, [x8, #24] ldur x8, [x29, #-32] ldr w12, [x8, #20] ldur x8, [x29, #-32] ldr w11, [x8, #16] ldur x8, [x29, #-32] ldr w10, [x8, #12] ldur x8, [x29, #-32] ldr w8, [x8, #8] mov x9, sp str x9, [sp, #40] ; 8-byte Folded Spill str w17, [x9] str w16, [x9, #4] str w15, [x9, #8] str w14, [x9, #12] str w13, [x9, #16] str w12, [x9, #20] str w11, [x9, #24] str w10, [x9, #28] str w8, [x9, #32] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _dev_dbg ldr x8, [sp, #48] ldur x9, [x29, #-32] ldur q0, [x9, #8] str q0, [x8] ldur q0, [x9, #20] stur q0, [x8, #12] stur wzr, [x29, #-4] b LBB0_6 LBB0_6: ldur w0, [x29, #-4] ldp x29, x30, [sp, #96] ; 16-byte Folded Reload add sp, sp, #112 ret .cfi_endproc ; -- End function .comm _V4L2_SUBDEV_FORMAT_ACTIVE,8,3 ; @V4L2_SUBDEV_FORMAT_ACTIVE .comm _EBUSY,4,2 ; @EBUSY .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s: format update: old:%dx%d (0x%x, %d, %d, %d, %d) new:%dx%d (0x%x, %d, %d, %d, %d)\n" .no_dead_strip _vimc_sen_set_fmt .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function vimc_sen_set_fmt _vimc_sen_set_fmt: ## @vimc_sen_set_fmt .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 $152, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, -56(%rbp) movq %rsi, -64(%rbp) movq %rdx, -72(%rbp) movq -56(%rbp), %rdi callq _v4l2_get_subdevdata movq %rax, -80(%rbp) movq -72(%rbp), %rax movq (%rax), %rax movq _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_4 ## %bb.1: movq -80(%rbp), %rax cmpq $0, 40(%rax) je LBB0_3 ## %bb.2: xorl %eax, %eax movq _EBUSY@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -44(%rbp) jmp LBB0_6 LBB0_3: movq -80(%rbp), %rax addq $8, %rax movq %rax, -88(%rbp) jmp LBB0_5 LBB0_4: movq -56(%rbp), %rdi movq -64(%rbp), %rsi movq -72(%rbp), %rax movl 36(%rax), %edx callq _v4l2_subdev_get_try_format movq %rax, -88(%rbp) LBB0_5: movq -72(%rbp), %rdi addq $8, %rdi callq _vimc_sen_adjust_fmt movq -80(%rbp), %rax movl 4(%rax), %edi movq -80(%rbp), %rax movl (%rax), %edx movq -88(%rbp), %rax movl 24(%rax), %ecx movq -88(%rbp), %rax movl 20(%rax), %r8d movq -88(%rbp), %rax movl 16(%rax), %r9d movq -88(%rbp), %rax movl 12(%rax), %eax movq -88(%rbp), %rsi movl 8(%rsi), %esi movl %esi, -100(%rbp) ## 4-byte Spill movq -88(%rbp), %rsi movl 4(%rsi), %esi movl %esi, -96(%rbp) ## 4-byte Spill movq -88(%rbp), %rsi movl (%rsi), %r13d movq -72(%rbp), %rsi movl 32(%rsi), %r12d movq -72(%rbp), %rsi movl 28(%rsi), %r15d movq -72(%rbp), %rsi movl 24(%rsi), %r14d movq -72(%rbp), %rsi movl 20(%rsi), %ebx movq -72(%rbp), %rsi movl 16(%rsi), %r11d movq -72(%rbp), %rsi movl 12(%rsi), %r10d movq -72(%rbp), %rsi movl 8(%rsi), %esi movl %esi, -92(%rbp) ## 4-byte Spill leaq L_.str(%rip), %rsi movl %eax, (%rsp) movl -100(%rbp), %eax ## 4-byte Reload movl %eax, 8(%rsp) movl -96(%rbp), %eax ## 4-byte Reload movl %eax, 16(%rsp) movl -92(%rbp), %eax ## 4-byte Reload movl %r13d, 24(%rsp) movl %r12d, 32(%rsp) movl %r15d, 40(%rsp) movl %r14d, 48(%rsp) movl %ebx, 56(%rsp) movl %r11d, 64(%rsp) movl %r10d, 72(%rsp) movl %eax, 80(%rsp) callq _dev_dbg movq -88(%rbp), %rax movq -72(%rbp), %rcx movq 8(%rcx), %rdx movq %rdx, (%rax) movq 16(%rcx), %rdx movq %rdx, 8(%rax) movq 24(%rcx), %rdx movq %rdx, 16(%rax) movl 32(%rcx), %ecx movl %ecx, 24(%rax) movl $0, -44(%rbp) LBB0_6: movl -44(%rbp), %eax addq $152, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _V4L2_SUBDEV_FORMAT_ACTIVE,8,3 ## @V4L2_SUBDEV_FORMAT_ACTIVE .comm _EBUSY,4,2 ## @EBUSY .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s: format update: old:%dx%d (0x%x, %d, %d, %d, %d) new:%dx%d (0x%x, %d, %d, %d, %d)\n" .no_dead_strip _vimc_sen_set_fmt .subsections_via_symbols
AnghaBench/linux/drivers/media/platform/vimc/extr_vimc-sensor.c_vimc_sen_set_fmt.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function simple_gnome_keyring_save_creds _simple_gnome_keyring_save_creds: ; @simple_gnome_keyring_save_creds .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 stur x0, [x29, #-8] stur x1, [x29, #-16] str x2, [sp, #24] str x3, [sp, #16] str x4, [sp, #8] str x5, [sp] ldur x0, [x29, #-8] ldur x1, [x29, #-16] ldr x2, [sp, #24] ldr x3, [sp, #16] ldr x4, [sp, #8] adrp x8, _password_set_gnome_keyring@GOTPAGE ldr x8, [x8, _password_set_gnome_keyring@GOTPAGEOFF] ldr w5, [x8] adrp x8, _SVN_AUTH__GNOME_KEYRING_PASSWORD_TYPE@GOTPAGE ldr x8, [x8, _SVN_AUTH__GNOME_KEYRING_PASSWORD_TYPE@GOTPAGEOFF] ldr w6, [x8] ldr x7, [sp] bl _svn_auth__simple_creds_cache_set ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _password_set_gnome_keyring,4,2 ; @password_set_gnome_keyring .comm _SVN_AUTH__GNOME_KEYRING_PASSWORD_TYPE,4,2 ; @SVN_AUTH__GNOME_KEYRING_PASSWORD_TYPE .no_dead_strip _simple_gnome_keyring_save_creds .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function simple_gnome_keyring_save_creds _simple_gnome_keyring_save_creds: ## @simple_gnome_keyring_save_creds .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movq %rcx, -32(%rbp) movq %r8, -40(%rbp) movq %r9, -48(%rbp) movq -8(%rbp), %rdi movq -16(%rbp), %rsi movq -24(%rbp), %rdx movq -32(%rbp), %rcx movq -40(%rbp), %r8 movq _password_set_gnome_keyring@GOTPCREL(%rip), %rax movl (%rax), %r9d movq _SVN_AUTH__GNOME_KEYRING_PASSWORD_TYPE@GOTPCREL(%rip), %rax movl (%rax), %r10d movq -48(%rbp), %rax movl %r10d, (%rsp) movq %rax, 8(%rsp) callq _svn_auth__simple_creds_cache_set addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _password_set_gnome_keyring,4,2 ## @password_set_gnome_keyring .comm _SVN_AUTH__GNOME_KEYRING_PASSWORD_TYPE,4,2 ## @SVN_AUTH__GNOME_KEYRING_PASSWORD_TYPE .no_dead_strip _simple_gnome_keyring_save_creds .subsections_via_symbols
AnghaBench/freebsd/contrib/subversion/subversion/libsvn_auth_gnome_keyring/extr_gnome_keyring.c_simple_gnome_keyring_save_creds.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _create_hyp_exec_mappings ; -- Begin function create_hyp_exec_mappings .p2align 2 _create_hyp_exec_mappings: ; @create_hyp_exec_mappings .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 stur w0, [x29, #-8] stur x1, [x29, #-16] str x2, [sp, #24] bl _is_kernel_in_hyp_mode bl _BUG_ON ldur w0, [x29, #-8] ldur x1, [x29, #-16] adrp x8, _PAGE_HYP_EXEC@GOTPAGE ldr x8, [x8, _PAGE_HYP_EXEC@GOTPAGEOFF] ldr w3, [x8] add x2, sp, #16 bl ___create_hyp_private_mapping str w0, [sp, #12] ldr w8, [sp, #12] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp, #24] ; kill: def $x9 killed $xzr str xzr, [x8] ldr w8, [sp, #12] stur w8, [x29, #-4] b LBB0_3 LBB0_2: ldr x8, [sp, #16] ldr x9, [sp, #24] str x8, [x9] stur wzr, [x29, #-4] b LBB0_3 LBB0_3: ldur w0, [x29, #-4] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _PAGE_HYP_EXEC,4,2 ; @PAGE_HYP_EXEC .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _create_hyp_exec_mappings ## -- Begin function create_hyp_exec_mappings .p2align 4, 0x90 _create_hyp_exec_mappings: ## @create_hyp_exec_mappings .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movl %edi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movb $0, %al callq _is_kernel_in_hyp_mode movl %eax, %edi callq _BUG_ON movl -8(%rbp), %edi movq -16(%rbp), %rsi movq _PAGE_HYP_EXEC@GOTPCREL(%rip), %rax movl (%rax), %ecx leaq -32(%rbp), %rdx callq ___create_hyp_private_mapping movl %eax, -36(%rbp) cmpl $0, -36(%rbp) je LBB0_2 ## %bb.1: movq -24(%rbp), %rax movq $0, (%rax) movl -36(%rbp), %eax movl %eax, -4(%rbp) jmp LBB0_3 LBB0_2: movq -32(%rbp), %rcx movq -24(%rbp), %rax movq %rcx, (%rax) movl $0, -4(%rbp) LBB0_3: movl -4(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _PAGE_HYP_EXEC,4,2 ## @PAGE_HYP_EXEC .subsections_via_symbols
AnghaBench/linux/virt/kvm/arm/extr_mmu.c_create_hyp_exec_mappings.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rmi_f54_vidioc_enum_fmt _rmi_f54_vidioc_enum_fmt: ; @rmi_f54_vidioc_enum_fmt .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 stur x0, [x29, #-16] str x1, [sp, #24] str x2, [sp, #16] ldur x0, [x29, #-16] bl _video_drvdata str x0, [sp, #8] ldr x8, [sp, #16] ldr x8, [x8] adrp x9, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGE ldr x9, [x9, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _EINVAL@GOTPAGE ldr x8, [x8, _EINVAL@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 stur w8, [x29, #-4] b LBB0_5 LBB0_2: ldr x8, [sp, #16] ldr x8, [x8, #16] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: adrp x8, _EINVAL@GOTPAGE ldr x8, [x8, _EINVAL@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 stur w8, [x29, #-4] b LBB0_5 LBB0_4: ldr x8, [sp, #8] ldr w8, [x8] ldr x9, [sp, #16] str w8, [x9, #8] stur wzr, [x29, #-4] b LBB0_5 LBB0_5: ldur w0, [x29, #-4] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _V4L2_BUF_TYPE_VIDEO_CAPTURE,8,3 ; @V4L2_BUF_TYPE_VIDEO_CAPTURE .comm _EINVAL,4,2 ; @EINVAL .no_dead_strip _rmi_f54_vidioc_enum_fmt .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rmi_f54_vidioc_enum_fmt _rmi_f54_vidioc_enum_fmt: ## @rmi_f54_vidioc_enum_fmt .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) movq %rdx, -32(%rbp) movq -16(%rbp), %rdi callq _video_drvdata movq %rax, -40(%rbp) movq -32(%rbp), %rax movq (%rax), %rax movq _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_2 ## %bb.1: xorl %eax, %eax movq _EINVAL@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) jmp LBB0_5 LBB0_2: movq -32(%rbp), %rax cmpq $0, 16(%rax) je LBB0_4 ## %bb.3: xorl %eax, %eax movq _EINVAL@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) jmp LBB0_5 LBB0_4: movq -40(%rbp), %rax movl (%rax), %ecx movq -32(%rbp), %rax movl %ecx, 8(%rax) movl $0, -4(%rbp) LBB0_5: movl -4(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _V4L2_BUF_TYPE_VIDEO_CAPTURE,8,3 ## @V4L2_BUF_TYPE_VIDEO_CAPTURE .comm _EINVAL,4,2 ## @EINVAL .no_dead_strip _rmi_f54_vidioc_enum_fmt .subsections_via_symbols
AnghaBench/linux/drivers/input/rmi4/extr_rmi_f54.c_rmi_f54_vidioc_enum_fmt.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _nbns_rq_getrr ; -- Begin function nbns_rq_getrr .p2align 2 _nbns_rq_getrr: ; @nbns_rq_getrr .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 stur x0, [x29, #-16] str x1, [sp, #24] ldur x8, [x29, #-16] str x8, [sp, #16] ldr x0, [sp, #24] mov w1, #40 bl _bzero ldr x8, [sp, #16] ldr x8, [x8] str x8, [sp, #8] ldr x0, [sp, #8] bl _nb_encname_len str w0, [sp] ldr w8, [sp] subs w8, w8, #1 cset w8, ge tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _NBERR_INVALIDRESPONSE@GOTPAGE ldr x8, [x8, _NBERR_INVALIDRESPONSE@GOTPAGEOFF] ldr w0, [x8] bl _NBERROR stur w0, [x29, #-4] b LBB0_5 LBB0_2: ldr x8, [sp, #8] ldr x9, [sp, #24] str x8, [x9, #32] ldr x0, [sp, #16] ldr w2, [sp] mov x1, #0 bl _mb_get_mem str w0, [sp, #4] ldr w8, [sp, #4] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldr w8, [sp, #4] stur w8, [x29, #-4] b LBB0_5 LBB0_4: ldr x0, [sp, #16] ldr x1, [sp, #24] bl _mb_get_uint16be ldr x0, [sp, #16] ldr x8, [sp, #24] add x1, x8, #4 bl _mb_get_uint16be ldr x0, [sp, #16] ldr x8, [sp, #24] add x1, x8, #24 bl _mb_get_uint32be ldr x0, [sp, #16] ldr x8, [sp, #24] add x1, x8, #8 bl _mb_get_uint16be ldr x8, [sp, #16] ldr x8, [x8] ldr x9, [sp, #24] str x8, [x9, #16] ldr x0, [sp, #16] ldr x8, [sp, #24] ldr w2, [x8, #8] mov x1, #0 bl _mb_get_mem str w0, [sp, #4] ldr w8, [sp, #4] stur w8, [x29, #-4] b LBB0_5 LBB0_5: ldur w0, [x29, #-4] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _NBERR_INVALIDRESPONSE,4,2 ; @NBERR_INVALIDRESPONSE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _nbns_rq_getrr ## -- Begin function nbns_rq_getrr .p2align 4, 0x90 _nbns_rq_getrr: ## @nbns_rq_getrr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) movq -16(%rbp), %rax movq %rax, -32(%rbp) movq -24(%rbp), %rdi movl $40, %esi callq _bzero movq -32(%rbp), %rax movq (%rax), %rax movq %rax, -40(%rbp) movq -40(%rbp), %rdi callq _nb_encname_len movl %eax, -48(%rbp) cmpl $1, -48(%rbp) jge LBB0_2 ## %bb.1: movq _NBERR_INVALIDRESPONSE@GOTPCREL(%rip), %rax movl (%rax), %edi callq _NBERROR movl %eax, -4(%rbp) jmp LBB0_5 LBB0_2: movq -40(%rbp), %rcx movq -24(%rbp), %rax movq %rcx, 32(%rax) movq -32(%rbp), %rdi movl -48(%rbp), %edx xorl %eax, %eax movl %eax, %esi callq _mb_get_mem movl %eax, -44(%rbp) cmpl $0, -44(%rbp) je LBB0_4 ## %bb.3: movl -44(%rbp), %eax movl %eax, -4(%rbp) jmp LBB0_5 LBB0_4: movq -32(%rbp), %rdi movq -24(%rbp), %rsi callq _mb_get_uint16be movq -32(%rbp), %rdi movq -24(%rbp), %rsi addq $4, %rsi callq _mb_get_uint16be movq -32(%rbp), %rdi movq -24(%rbp), %rsi addq $24, %rsi callq _mb_get_uint32be movq -32(%rbp), %rdi movq -24(%rbp), %rsi addq $8, %rsi callq _mb_get_uint16be movq -32(%rbp), %rax movq (%rax), %rcx movq -24(%rbp), %rax movq %rcx, 16(%rax) movq -32(%rbp), %rdi movq -24(%rbp), %rax movl 8(%rax), %edx xorl %eax, %eax movl %eax, %esi callq _mb_get_mem movl %eax, -44(%rbp) movl -44(%rbp), %eax movl %eax, -4(%rbp) LBB0_5: movl -4(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _NBERR_INVALIDRESPONSE,4,2 ## @NBERR_INVALIDRESPONSE .subsections_via_symbols
AnghaBench/freebsd/contrib/smbfs/lib/smb/extr_nbns_rq.c_nbns_rq_getrr.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function multiq3_do_insn_bits _multiq3_do_insn_bits: ; @multiq3_do_insn_bits .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 stur x0, [x29, #-8] str x1, [sp, #16] str x2, [sp, #8] str x3, [sp] ldr x0, [sp, #16] ldr x1, [sp] bl _comedi_dio_update_state subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp, #16] ldr w0, [x8] ldur x8, [x29, #-8] ldr x8, [x8] adrp x9, _MULTIQ3_DO_REG@GOTPAGE ldr x9, [x9, _MULTIQ3_DO_REG@GOTPAGEOFF] ldr x9, [x9] add x1, x8, x9 bl _outw b LBB0_2 LBB0_2: ldr x8, [sp, #16] ldr w8, [x8] ldr x9, [sp] str w8, [x9, #4] ldr x8, [sp, #8] ldr w0, [x8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _MULTIQ3_DO_REG,8,3 ; @MULTIQ3_DO_REG .no_dead_strip _multiq3_do_insn_bits .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function multiq3_do_insn_bits _multiq3_do_insn_bits: ## @multiq3_do_insn_bits .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movq %rcx, -32(%rbp) movq -16(%rbp), %rdi movq -32(%rbp), %rsi callq _comedi_dio_update_state cmpq $0, %rax je LBB0_2 ## %bb.1: movq -16(%rbp), %rax movl (%rax), %edi movq -8(%rbp), %rax movq (%rax), %rsi movq _MULTIQ3_DO_REG@GOTPCREL(%rip), %rax addq (%rax), %rsi callq _outw LBB0_2: movq -16(%rbp), %rax movl (%rax), %ecx movq -32(%rbp), %rax movl %ecx, 4(%rax) movq -24(%rbp), %rax movl (%rax), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _MULTIQ3_DO_REG,8,3 ## @MULTIQ3_DO_REG .no_dead_strip _multiq3_do_insn_bits .subsections_via_symbols
AnghaBench/linux/drivers/staging/comedi/drivers/extr_multiq3.c_multiq3_do_insn_bits.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pci_bus_insert_busn_res ; -- Begin function pci_bus_insert_busn_res .p2align 2 _pci_bus_insert_busn_res: ; @pci_bus_insert_busn_res .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 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 stur x0, [x29, #-8] stur w1, [x29, #-12] stur w2, [x29, #-16] ldur x8, [x29, #-8] add x8, x8, #16 stur x8, [x29, #-24] ldur w8, [x29, #-12] ldur x9, [x29, #-24] str w8, [x9] ldur w8, [x29, #-16] ldur x9, [x29, #-24] str w8, [x9, #4] adrp x8, _IORESOURCE_BUS@GOTPAGE ldr x8, [x8, _IORESOURCE_BUS@GOTPAGEOFF] ldr w8, [x8] ldur x9, [x29, #-24] str w8, [x9, #12] ldur x0, [x29, #-8] bl _pci_is_root_bus subs x8, x0, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldur x8, [x29, #-8] ldr x8, [x8, #8] str x8, [sp, #32] b LBB0_3 LBB0_2: ldur x0, [x29, #-8] bl _pci_domain_nr bl _get_pci_domain_busn_res str x0, [sp, #32] adrp x8, _IORESOURCE_PCI_FIXED@GOTPAGE ldr x8, [x8, _IORESOURCE_PCI_FIXED@GOTPAGEOFF] ldr w10, [x8] ldur x9, [x29, #-24] ldr w8, [x9, #12] orr w8, w8, w10 str w8, [x9, #12] b LBB0_3 LBB0_3: ldr x0, [sp, #32] ldur x1, [x29, #-24] bl _request_resource_conflict str x0, [sp, #24] ldr x8, [sp, #24] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ldur x8, [x29, #-8] str x8, [sp, #16] ; 8-byte Folded Spill ldur x8, [x29, #-24] str x8, [sp, #8] ; 8-byte Folded Spill ldur x0, [x29, #-8] bl _pci_is_root_bus ldr x2, [sp, #8] ; 8-byte Folded Reload mov x8, x0 ldr x0, [sp, #16] ; 8-byte Folded Reload subs x8, x8, #0 cset w8, ne and w10, w8, #0x1 adrp x9, l_.str.2@PAGE add x9, x9, l_.str.2@PAGEOFF adrp x8, l_.str.1@PAGE add x8, x8, l_.str.1@PAGEOFF ands w10, w10, #0x1 csel x3, x8, x9, ne ldr x4, [sp, #32] ldr x8, [sp, #24] ldr w5, [x8, #8] ldr x6, [sp, #24] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _dev_info b LBB0_5 LBB0_5: ldr x8, [sp, #24] subs x8, x8, #0 cset w8, eq and w0, w8, #0x1 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _IORESOURCE_BUS,4,2 ; @IORESOURCE_BUS .comm _IORESOURCE_PCI_FIXED,4,2 ; @IORESOURCE_PCI_FIXED .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "busn_res: can not insert %pR under %s%pR (conflicts with %s %pR)\n" l_.str.1: ; @.str.1 .asciz "domain " l_.str.2: ; @.str.2 .space 1 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pci_bus_insert_busn_res ## -- Begin function pci_bus_insert_busn_res .p2align 4, 0x90 _pci_bus_insert_busn_res: ## @pci_bus_insert_busn_res .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movq %rdi, -8(%rbp) movl %esi, -12(%rbp) movl %edx, -16(%rbp) movq -8(%rbp), %rax addq $16, %rax movq %rax, -24(%rbp) movl -12(%rbp), %ecx movq -24(%rbp), %rax movl %ecx, (%rax) movl -16(%rbp), %ecx movq -24(%rbp), %rax movl %ecx, 4(%rax) movq _IORESOURCE_BUS@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -24(%rbp), %rax movl %ecx, 12(%rax) movq -8(%rbp), %rdi callq _pci_is_root_bus cmpq $0, %rax jne LBB0_2 ## %bb.1: movq -8(%rbp), %rax movq 8(%rax), %rax movq %rax, -32(%rbp) jmp LBB0_3 LBB0_2: movq -8(%rbp), %rdi callq _pci_domain_nr movl %eax, %edi callq _get_pci_domain_busn_res movq %rax, -32(%rbp) movq _IORESOURCE_PCI_FIXED@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -24(%rbp), %rax orl 12(%rax), %ecx movl %ecx, 12(%rax) LBB0_3: movq -32(%rbp), %rdi movq -24(%rbp), %rsi callq _request_resource_conflict movq %rax, -40(%rbp) cmpq $0, -40(%rbp) je LBB0_5 ## %bb.4: movq -8(%rbp), %rax movq %rax, -56(%rbp) ## 8-byte Spill movq -24(%rbp), %rax movq %rax, -48(%rbp) ## 8-byte Spill movq -8(%rbp), %rdi callq _pci_is_root_bus movq -56(%rbp), %rdi ## 8-byte Reload movq -48(%rbp), %rdx ## 8-byte Reload movq %rax, %rsi leaq L_.str.2(%rip), %rcx leaq L_.str.1(%rip), %rax cmpq $0, %rsi cmovneq %rax, %rcx movq -32(%rbp), %r8 movq -40(%rbp), %rax movl 8(%rax), %r9d movq -40(%rbp), %rax leaq L_.str(%rip), %rsi movq %rax, (%rsp) callq _dev_info LBB0_5: cmpq $0, -40(%rbp) sete %al andb $1, %al movzbl %al, %eax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _IORESOURCE_BUS,4,2 ## @IORESOURCE_BUS .comm _IORESOURCE_PCI_FIXED,4,2 ## @IORESOURCE_PCI_FIXED .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "busn_res: can not insert %pR under %s%pR (conflicts with %s %pR)\n" L_.str.1: ## @.str.1 .asciz "domain " L_.str.2: ## @.str.2 .space 1 .subsections_via_symbols
AnghaBench/linux/drivers/pci/extr_probe.c_pci_bus_insert_busn_res.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mmc_gpio_get_ro ; -- Begin function mmc_gpio_get_ro .p2align 2 _mmc_gpio_get_ro: ; @mmc_gpio_get_ro .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 str x0, [sp, #16] ldr x8, [sp, #16] ldr x8, [x8] str x8, [sp, #8] ldr x8, [sp, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp, #8] ldr w8, [x8] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: adrp x8, _ENOSYS@GOTPAGE ldr x8, [x8, _ENOSYS@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 stur w8, [x29, #-4] b LBB0_4 LBB0_3: ldr x8, [sp, #8] ldr w0, [x8] bl _gpiod_get_value_cansleep stur w0, [x29, #-4] b LBB0_4 LBB0_4: ldur w0, [x29, #-4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _ENOSYS,4,2 ; @ENOSYS .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mmc_gpio_get_ro ## -- Begin function mmc_gpio_get_ro .p2align 4, 0x90 _mmc_gpio_get_ro: ## @mmc_gpio_get_ro .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -16(%rbp) movq -16(%rbp), %rax movq (%rax), %rax movq %rax, -24(%rbp) cmpq $0, -24(%rbp) je LBB0_2 ## %bb.1: movq -24(%rbp), %rax cmpl $0, (%rax) jne LBB0_3 LBB0_2: xorl %eax, %eax movq _ENOSYS@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) jmp LBB0_4 LBB0_3: movq -24(%rbp), %rax movl (%rax), %edi callq _gpiod_get_value_cansleep movl %eax, -4(%rbp) LBB0_4: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _ENOSYS,4,2 ## @ENOSYS .subsections_via_symbols
AnghaBench/linux/drivers/mmc/core/extr_slot-gpio.c_mmc_gpio_get_ro.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _snd_gus_simple_remove_sample ; -- Begin function snd_gus_simple_remove_sample .p2align 2 _snd_gus_simple_remove_sample: ; @snd_gus_simple_remove_sample .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 stur x0, [x29, #-8] str x1, [sp, #16] str w2, [sp, #12] ldur x8, [x29, #-8] str x8, [sp] ldr x0, [sp] ldr x8, [sp, #16] ldr w1, [x8] bl _snd_gf1_mem_free ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _snd_gus_simple_remove_sample ## -- Begin function snd_gus_simple_remove_sample .p2align 4, 0x90 _snd_gus_simple_remove_sample: ## @snd_gus_simple_remove_sample .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movl %edx, -20(%rbp) movq -8(%rbp), %rax movq %rax, -32(%rbp) movq -32(%rbp), %rdi movq -16(%rbp), %rax movl (%rax), %esi callq _snd_gf1_mem_free addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/fastsocket/kernel/sound/isa/gus/extr_gus_instr.c_snd_gus_simple_remove_sample.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function amdgpu_atpx_set_discrete_state _amdgpu_atpx_set_discrete_state: ; @amdgpu_atpx_set_discrete_state .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 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 stur x0, [x29, #-16] stur x1, [x29, #-24] ldur x8, [x29, #-16] ldr x8, [x8, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_1 LBB0_1: mov x8, sp mov w9, #3 str w9, [sp] ldur x9, [x29, #-24] str x9, [sp, #8] ldr w9, [sp] add x2, sp, #24 str w9, [sp, #24] str x8, [sp, #32] ldur x8, [x29, #-16] ldr w0, [x8] adrp x8, _ATPX_FUNCTION_POWER_CONTROL@GOTPAGE ldr x8, [x8, _ATPX_FUNCTION_POWER_CONTROL@GOTPAGEOFF] ldr w1, [x8] bl _amdgpu_atpx_call str x0, [sp, #16] ldr x8, [sp, #16] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: adrp x8, _EIO@GOTPAGE ldr x8, [x8, _EIO@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 stur w8, [x29, #-4] b LBB0_7 LBB0_3: ldr x0, [sp, #16] bl _kfree ldur x8, [x29, #-24] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: mov w0, #200 bl _msleep b LBB0_5 LBB0_5: b LBB0_6 LBB0_6: stur wzr, [x29, #-4] b LBB0_7 LBB0_7: ldur w0, [x29, #-4] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _ATPX_FUNCTION_POWER_CONTROL,4,2 ; @ATPX_FUNCTION_POWER_CONTROL .comm _EIO,4,2 ; @EIO .no_dead_strip _amdgpu_atpx_set_discrete_state .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function amdgpu_atpx_set_discrete_state _amdgpu_atpx_set_discrete_state: ## @amdgpu_atpx_set_discrete_state .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) movq -16(%rbp), %rax cmpq $0, 8(%rax) je LBB0_6 ## %bb.1: movl $3, -64(%rbp) movq -24(%rbp), %rax movq %rax, -56(%rbp) movl -64(%rbp), %eax movl %eax, -40(%rbp) leaq -64(%rbp), %rax movq %rax, -32(%rbp) movq -16(%rbp), %rax movl (%rax), %edi movq _ATPX_FUNCTION_POWER_CONTROL@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -40(%rbp), %rdx callq _amdgpu_atpx_call movq %rax, -48(%rbp) cmpq $0, -48(%rbp) jne LBB0_3 ## %bb.2: xorl %eax, %eax movq _EIO@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) jmp LBB0_7 LBB0_3: movq -48(%rbp), %rdi callq _kfree cmpq $0, -24(%rbp) jne LBB0_5 ## %bb.4: movl $200, %edi callq _msleep LBB0_5: jmp LBB0_6 LBB0_6: movl $0, -4(%rbp) LBB0_7: movl -4(%rbp), %eax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _ATPX_FUNCTION_POWER_CONTROL,4,2 ## @ATPX_FUNCTION_POWER_CONTROL .comm _EIO,4,2 ## @EIO .no_dead_strip _amdgpu_atpx_set_discrete_state .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_atpx_handler.c_amdgpu_atpx_set_discrete_state.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function timer_done _timer_done: ; @timer_done .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, #8] ldr x0, [sp, #8] bl _TIMER str x0, [sp] ldr x0, [sp] bl _assert ldr x0, [sp] bl _timer_free_values ldr x8, [sp] ldr x0, [x8, #16] bl _sd_event_source_unref ldr x8, [sp] str x0, [x8, #16] ldr x8, [sp] ldr x0, [x8, #8] bl _sd_event_source_unref ldr x8, [sp] str x0, [x8, #8] ldr x8, [sp] ldr w0, [x8] bl _free ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _timer_done .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function timer_done _timer_done: ## @timer_done .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 movq %rdi, -8(%rbp) movq -8(%rbp), %rdi callq _TIMER movq %rax, -16(%rbp) movq -16(%rbp), %rdi callq _assert movq -16(%rbp), %rdi callq _timer_free_values movq -16(%rbp), %rax movq 16(%rax), %rdi callq _sd_event_source_unref movq %rax, %rcx movq -16(%rbp), %rax movq %rcx, 16(%rax) movq -16(%rbp), %rax movq 8(%rax), %rdi callq _sd_event_source_unref movq %rax, %rcx movq -16(%rbp), %rax movq %rcx, 8(%rax) movq -16(%rbp), %rax movl (%rax), %edi callq _free addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _timer_done .subsections_via_symbols
AnghaBench/systemd/src/core/extr_timer.c_timer_done.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sctp_has_association ; -- Begin function sctp_has_association .p2align 2 _sctp_has_association: ; @sctp_has_association .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 stur x0, [x29, #-16] str x1, [sp, #24] ldur x0, [x29, #-16] ldr x1, [sp, #24] add x2, sp, #8 bl _sctp_lookup_association mov x8, x0 str x8, [sp, #16] subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x0, [sp, #16] bl _sctp_association_put mov w8, #1 stur w8, [x29, #-4] b LBB0_3 LBB0_2: stur wzr, [x29, #-4] b LBB0_3 LBB0_3: ldur w0, [x29, #-4] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sctp_has_association ## -- Begin function sctp_has_association .p2align 4, 0x90 _sctp_has_association: ## @sctp_has_association .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) movq -16(%rbp), %rdi movq -24(%rbp), %rsi leaq -40(%rbp), %rdx callq _sctp_lookup_association movq %rax, -32(%rbp) cmpq $0, %rax je LBB0_2 ## %bb.1: movq -32(%rbp), %rdi callq _sctp_association_put movl $1, -4(%rbp) jmp LBB0_3 LBB0_2: movl $0, -4(%rbp) LBB0_3: movl -4(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/fastsocket/kernel/net/sctp/extr_input.c_sctp_has_association.c