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 _SetHubOffline ; -- Begin function SetHubOffline .p2align 2 _SetHubOffline: ; @SetHubOffline .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 wzr, [x29, #-20] ldur x8, [x29, #-8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: b LBB0_18 LBB0_2: ldur x8, [x29, #-8] ldr x8, [x8, #16] ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_7 b LBB0_3 LBB0_3: ldur x8, [x29, #-8] ldr x8, [x8, #16] ldr x8, [x8] ldr x8, [x8] adrp x9, _SERVER_TYPE_FARM_CONTROLLER@GOTPAGE ldr x9, [x9, _SERVER_TYPE_FARM_CONTROLLER@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_7 b LBB0_4 LBB0_4: ldur x8, [x29, #-8] ldr x8, [x8] adrp x9, _HUB_TYPE_FARM_DYNAMIC@GOTPAGE ldr x9, [x9, _HUB_TYPE_FARM_DYNAMIC@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: mov w8, #1 stur w8, [x29, #-20] b LBB0_6 LBB0_6: b LBB0_7 LBB0_7: ldur x9, [x29, #-8] mov w8, #1 str w8, [x9, #8] ldur x8, [x29, #-8] ldr w0, [x8, #24] bl _Lock ldur x8, [x29, #-8] ldr w8, [x8, #12] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: ldur x8, [x29, #-8] ldr x8, [x8, #40] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_9 LBB0_9: ldur x8, [x29, #-8] ldr w0, [x8, #24] bl _Unlock ldur x8, [x29, #-8] str wzr, [x8, #8] b LBB0_18 LBB0_10: ldur x0, [x29, #-8] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _HLog ldur x0, [x29, #-8] bl _StopAllLink ldur x8, [x29, #-8] ldr x0, [x8, #32] bl _SnFreeSecureNAT ldur x8, [x29, #-8] ; kill: def $x9 killed $xzr str xzr, [x8, #32] ldur x8, [x29, #-8] ldr x8, [x8, #16] ldr w0, [x8, #8] bl _LockList stur xzr, [x29, #-16] b LBB0_11 LBB0_11: ; =>This Inner Loop Header: Depth=1 ldur x8, [x29, #-16] str x8, [sp, #8] ; 8-byte Folded Spill ldur x8, [x29, #-8] ldr x8, [x8, #16] ldr w0, [x8, #8] bl _LIST_NUM ldr x8, [sp, #8] ; 8-byte Folded Reload subs x8, x8, x0 cset w8, ge tbnz w8, #0, LBB0_16 b LBB0_12 LBB0_12: ; in Loop: Header=BB0_11 Depth=1 ldur x8, [x29, #-8] ldr x8, [x8, #16] ldr w0, [x8, #8] ldur x1, [x29, #-16] bl _LIST_DATA str x0, [sp, #16] ldr x8, [sp, #16] ldr w0, [x8, #8] ldur x8, [x29, #-8] ldr w1, [x8, #28] bl _StrCmpi subs x8, x0, #0 cset w8, ne tbnz w8, #0, LBB0_14 b LBB0_13 LBB0_13: ; in Loop: Header=BB0_11 Depth=1 ldr x8, [sp, #16] ldr x0, [x8] bl _BrFreeBridge ldr x8, [sp, #16] ; kill: def $x9 killed $xzr str xzr, [x8] b LBB0_14 LBB0_14: ; in Loop: Header=BB0_11 Depth=1 b LBB0_15 LBB0_15: ; in Loop: Header=BB0_11 Depth=1 ldur x8, [x29, #-16] add x8, x8, #1 stur x8, [x29, #-16] b LBB0_11 LBB0_16: ldur x8, [x29, #-8] ldr x8, [x8, #16] ldr w0, [x8, #8] bl _UnlockList ldur x9, [x29, #-8] mov w8, #1 str w8, [x9, #12] ldur x0, [x29, #-8] bl _StopAllSession ldur x8, [x29, #-8] ldr w0, [x8, #24] bl _Unlock ldur x8, [x29, #-8] str wzr, [x8, #8] ldur x8, [x29, #-8] ldr x8, [x8, #16] ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_18 b LBB0_17 LBB0_17: ldur x0, [x29, #-8] bl _SiHubOfflineProc b LBB0_18 LBB0_18: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _SERVER_TYPE_FARM_CONTROLLER,8,3 ; @SERVER_TYPE_FARM_CONTROLLER .comm _HUB_TYPE_FARM_DYNAMIC,8,3 ; @HUB_TYPE_FARM_DYNAMIC .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "LH_OFFLINE" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _SetHubOffline ## -- Begin function SetHubOffline .p2align 4, 0x90 _SetHubOffline: ## @SetHubOffline .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 $0, -20(%rbp) cmpq $0, -8(%rbp) jne LBB0_2 ## %bb.1: jmp LBB0_18 LBB0_2: movq -8(%rbp), %rax movq 16(%rax), %rax cmpq $0, (%rax) je LBB0_7 ## %bb.3: movq -8(%rbp), %rax movq 16(%rax), %rax movq (%rax), %rax movq (%rax), %rax movq _SERVER_TYPE_FARM_CONTROLLER@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_7 ## %bb.4: movq -8(%rbp), %rax movq (%rax), %rax movq _HUB_TYPE_FARM_DYNAMIC@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_6 ## %bb.5: movl $1, -20(%rbp) LBB0_6: jmp LBB0_7 LBB0_7: movq -8(%rbp), %rax movl $1, 8(%rax) movq -8(%rbp), %rax movl 24(%rax), %edi callq _Lock movq -8(%rbp), %rax cmpl $0, 12(%rax) jne LBB0_9 ## %bb.8: movq -8(%rbp), %rax cmpq $0, 40(%rax) je LBB0_10 LBB0_9: movq -8(%rbp), %rax movl 24(%rax), %edi callq _Unlock movq -8(%rbp), %rax movl $0, 8(%rax) jmp LBB0_18 LBB0_10: movq -8(%rbp), %rdi leaq L_.str(%rip), %rsi callq _HLog movq -8(%rbp), %rdi callq _StopAllLink movq -8(%rbp), %rax movq 32(%rax), %rdi callq _SnFreeSecureNAT movq -8(%rbp), %rax movq $0, 32(%rax) movq -8(%rbp), %rax movq 16(%rax), %rax movl 8(%rax), %edi callq _LockList movq $0, -16(%rbp) LBB0_11: ## =>This Inner Loop Header: Depth=1 movq -16(%rbp), %rax movq %rax, -40(%rbp) ## 8-byte Spill movq -8(%rbp), %rax movq 16(%rax), %rax movl 8(%rax), %edi callq _LIST_NUM movq %rax, %rcx movq -40(%rbp), %rax ## 8-byte Reload cmpq %rcx, %rax jge LBB0_16 ## %bb.12: ## in Loop: Header=BB0_11 Depth=1 movq -8(%rbp), %rax movq 16(%rax), %rax movl 8(%rax), %edi movq -16(%rbp), %rsi callq _LIST_DATA movq %rax, -32(%rbp) movq -32(%rbp), %rax movl 8(%rax), %edi movq -8(%rbp), %rax movl 28(%rax), %esi callq _StrCmpi cmpq $0, %rax jne LBB0_14 ## %bb.13: ## in Loop: Header=BB0_11 Depth=1 movq -32(%rbp), %rax movq (%rax), %rdi callq _BrFreeBridge movq -32(%rbp), %rax movq $0, (%rax) LBB0_14: ## in Loop: Header=BB0_11 Depth=1 jmp LBB0_15 LBB0_15: ## in Loop: Header=BB0_11 Depth=1 movq -16(%rbp), %rax addq $1, %rax movq %rax, -16(%rbp) jmp LBB0_11 LBB0_16: movq -8(%rbp), %rax movq 16(%rax), %rax movl 8(%rax), %edi callq _UnlockList movq -8(%rbp), %rax movl $1, 12(%rax) movq -8(%rbp), %rdi callq _StopAllSession movq -8(%rbp), %rax movl 24(%rax), %edi callq _Unlock movq -8(%rbp), %rax movl $0, 8(%rax) movq -8(%rbp), %rax movq 16(%rax), %rax cmpq $0, (%rax) je LBB0_18 ## %bb.17: movq -8(%rbp), %rdi callq _SiHubOfflineProc LBB0_18: addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _SERVER_TYPE_FARM_CONTROLLER,8,3 ## @SERVER_TYPE_FARM_CONTROLLER .comm _HUB_TYPE_FARM_DYNAMIC,8,3 ## @HUB_TYPE_FARM_DYNAMIC .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "LH_OFFLINE" .subsections_via_symbols
AnghaBench/SoftEtherVPN/src/Cedar/extr_Hub.c_SetHubOffline.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function fe_vlan_rx_add_vid _fe_vlan_rx_add_vid: ; @fe_vlan_rx_add_vid .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, _fe_reg_table@GOTPAGE ldr x8, [x8, _fe_reg_table@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill adrp x8, _FE_REG_FE_DMA_VID_BASE@GOTPAGE ldr x8, [x8, _FE_REG_FE_DMA_VID_BASE@GOTPAGEOFF] str x8, [sp, #16] ; 8-byte Folded Spill stur x0, [x29, #-16] stur w1, [x29, #-20] stur w2, [x29, #-24] ldur x0, [x29, #-16] bl _netdev_priv ldr x8, [sp, #8] ; 8-byte Folded Reload ldr x9, [sp, #16] ; 8-byte Folded Reload str x0, [sp, #32] ldur w10, [x29, #-24] and w10, w10, #0xf str w10, [sp, #28] ldr x8, [x8] ldr x9, [x9] ldr x8, [x8, x9, lsl #3] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldur x8, [x29, #-16] ldr w8, [x8] adrp x9, _NETIF_F_HW_VLAN_CTAG_TX@GOTPAGE ldr x9, [x9, _NETIF_F_HW_VLAN_CTAG_TX@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: stur wzr, [x29, #-4] b LBB0_10 LBB0_3: ldr w0, [sp, #28] ldr x1, [sp, #32] bl _test_bit subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ldur x0, [x29, #-16] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _netdev_warn adrp x8, _NETIF_F_HW_VLAN_CTAG_TX@GOTPAGE ldr x8, [x8, _NETIF_F_HW_VLAN_CTAG_TX@GOTPAGEOFF] ldr w10, [x8] ldur x9, [x29, #-16] ldr w8, [x9, #4] bic w8, w8, w10 str w8, [x9, #4] ldur x0, [x29, #-16] bl _netdev_update_features b LBB0_9 LBB0_5: ldr x9, [sp, #16] ; 8-byte Folded Reload ldr x8, [sp, #8] ; 8-byte Folded Reload ldr x8, [x8] ldr x9, [x9] ldr x8, [x8, x9, lsl #3] ldr w9, [sp, #28] asr w9, w9, #1 lsl w9, w9, #2 add x0, x8, w9, sxtw bl _fe_r32 str w0, [sp, #24] ldr w8, [sp, #28] ands w8, w8, #0x1 cset w8, eq tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: ldrh w8, [sp, #24] str w8, [sp, #24] ldur w9, [x29, #-24] ldr w8, [sp, #24] orr w8, w8, w9, lsl #16 str w8, [sp, #24] b LBB0_8 LBB0_7: ldr w8, [sp, #24] and w8, w8, #0xffff0000 str w8, [sp, #24] ldur w9, [x29, #-24] ldr w8, [sp, #24] orr w8, w8, w9 str w8, [sp, #24] b LBB0_8 LBB0_8: ldr x9, [sp, #16] ; 8-byte Folded Reload ldr x8, [sp, #8] ; 8-byte Folded Reload ldr w0, [sp, #24] ldr x8, [x8] ldr x9, [x9] ldr x8, [x8, x9, lsl #3] ldr w9, [sp, #28] asr w9, w9, #1 lsl w9, w9, #2 add x1, x8, w9, sxtw bl _fe_w32 ldr w0, [sp, #28] ldr x1, [sp, #32] bl _set_bit 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 _fe_reg_table,8,3 ; @fe_reg_table .comm _FE_REG_FE_DMA_VID_BASE,8,3 ; @FE_REG_FE_DMA_VID_BASE .comm _NETIF_F_HW_VLAN_CTAG_TX,4,2 ; @NETIF_F_HW_VLAN_CTAG_TX .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "disable tx vlan offload\n" .no_dead_strip _fe_vlan_rx_add_vid .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function fe_vlan_rx_add_vid _fe_vlan_rx_add_vid: ## @fe_vlan_rx_add_vid .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) movl %esi, -20(%rbp) movl %edx, -24(%rbp) movq -16(%rbp), %rdi callq _netdev_priv movq %rax, -32(%rbp) movl -24(%rbp), %eax andl $15, %eax movl %eax, -36(%rbp) movq _fe_reg_table@GOTPCREL(%rip), %rax movq (%rax), %rax movq _FE_REG_FE_DMA_VID_BASE@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq $0, (%rax,%rcx,8) je LBB0_2 ## %bb.1: movq -16(%rbp), %rax movl (%rax), %eax movq _NETIF_F_HW_VLAN_CTAG_TX@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax jne LBB0_3 LBB0_2: movl $0, -4(%rbp) jmp LBB0_10 LBB0_3: movl -36(%rbp), %edi movq -32(%rbp), %rsi callq _test_bit cmpq $0, %rax je LBB0_5 ## %bb.4: movq -16(%rbp), %rdi leaq L_.str(%rip), %rsi callq _netdev_warn movq _NETIF_F_HW_VLAN_CTAG_TX@GOTPCREL(%rip), %rax movl (%rax), %ecx xorl $-1, %ecx movq -16(%rbp), %rax andl 4(%rax), %ecx movl %ecx, 4(%rax) movq -16(%rbp), %rdi callq _netdev_update_features jmp LBB0_9 LBB0_5: movq _fe_reg_table@GOTPCREL(%rip), %rax movq (%rax), %rax movq _FE_REG_FE_DMA_VID_BASE@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq (%rax,%rcx,8), %rdi movl -36(%rbp), %eax sarl $1, %eax shll $2, %eax cltq addq %rax, %rdi callq _fe_r32 movl %eax, -40(%rbp) movl -36(%rbp), %eax andl $1, %eax cmpl $0, %eax je LBB0_7 ## %bb.6: movl -40(%rbp), %eax andl $65535, %eax ## imm = 0xFFFF movl %eax, -40(%rbp) movl -24(%rbp), %eax shll $16, %eax orl -40(%rbp), %eax movl %eax, -40(%rbp) jmp LBB0_8 LBB0_7: movl -40(%rbp), %eax andl $-65536, %eax ## imm = 0xFFFF0000 movl %eax, -40(%rbp) movl -24(%rbp), %eax orl -40(%rbp), %eax movl %eax, -40(%rbp) LBB0_8: movl -40(%rbp), %edi movq _fe_reg_table@GOTPCREL(%rip), %rax movq (%rax), %rax movq _FE_REG_FE_DMA_VID_BASE@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq (%rax,%rcx,8), %rsi movl -36(%rbp), %eax sarl $1, %eax shll $2, %eax cltq addq %rax, %rsi callq _fe_w32 movl -36(%rbp), %edi movq -32(%rbp), %rsi callq _set_bit LBB0_9: movl $0, -4(%rbp) LBB0_10: movl -4(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _fe_reg_table,8,3 ## @fe_reg_table .comm _FE_REG_FE_DMA_VID_BASE,8,3 ## @FE_REG_FE_DMA_VID_BASE .comm _NETIF_F_HW_VLAN_CTAG_TX,4,2 ## @NETIF_F_HW_VLAN_CTAG_TX .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "disable tx vlan offload\n" .no_dead_strip _fe_vlan_rx_add_vid .subsections_via_symbols
AnghaBench/lede/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/extr_mtk_eth_soc.c_fe_vlan_rx_add_vid.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function tcf_chain_tp_remove _tcf_chain_tp_remove: ; @tcf_chain_tp_remove .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, #16] ldr w0, [x8, #8] ldur x1, [x29, #-8] bl _tcf_chain_dereference str x0, [sp] ldr x0, [sp, #8] bl _tcf_proto_mark_delete ldr x8, [sp, #8] ldur x9, [x29, #-8] 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] bl _tcf_chain0_head_change b LBB0_2 LBB0_2: ldr x8, [sp, #16] ldr x8, [x8] ldr w0, [x8] ldr x1, [sp] bl _RCU_INIT_POINTER ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .no_dead_strip _tcf_chain_tp_remove .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function tcf_chain_tp_remove _tcf_chain_tp_remove: ## @tcf_chain_tp_remove .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 -16(%rbp), %rax movl 8(%rax), %edi movq -8(%rbp), %rsi callq _tcf_chain_dereference movq %rax, -32(%rbp) movq -24(%rbp), %rdi callq _tcf_proto_mark_delete movq -24(%rbp), %rax movq -8(%rbp), %rcx cmpq (%rcx), %rax jne LBB0_2 ## %bb.1: movq -8(%rbp), %rdi movq -32(%rbp), %rsi callq _tcf_chain0_head_change LBB0_2: movq -16(%rbp), %rax movq (%rax), %rax movl (%rax), %edi movq -32(%rbp), %rsi callq _RCU_INIT_POINTER addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _tcf_chain_tp_remove .subsections_via_symbols
AnghaBench/linux/net/sched/extr_cls_api.c_tcf_chain_tp_remove.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function vop_remove _vop_remove: ; @vop_remove .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] adrp x1, _vop_component_ops@GOTPAGE ldr x1, [x1, _vop_component_ops@GOTPAGEOFF] bl _component_del mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _vop_component_ops,4,2 ; @vop_component_ops .no_dead_strip _vop_remove .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function vop_remove _vop_remove: ## @vop_remove .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 movq _vop_component_ops@GOTPCREL(%rip), %rsi callq _component_del xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _vop_component_ops,4,2 ## @vop_component_ops .no_dead_strip _vop_remove .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/rockchip/extr_rockchip_vop_reg.c_vop_remove.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function slow_work_runqueue_stop _slow_work_runqueue_stop: ; @slow_work_runqueue_stop .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] adrp x0, _slow_work_queue_lock@GOTPAGE ldr x0, [x0, _slow_work_queue_lock@GOTPAGEOFF] bl _spin_unlock_irq ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _slow_work_queue_lock,4,2 ; @slow_work_queue_lock .no_dead_strip _slow_work_runqueue_stop .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function slow_work_runqueue_stop _slow_work_runqueue_stop: ## @slow_work_runqueue_stop .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 _slow_work_queue_lock@GOTPCREL(%rip), %rdi callq _spin_unlock_irq addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _slow_work_queue_lock,4,2 ## @slow_work_queue_lock .no_dead_strip _slow_work_runqueue_stop .subsections_via_symbols
AnghaBench/fastsocket/kernel/kernel/extr_slow-work-debugfs.c_slow_work_runqueue_stop.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function print_SCp _print_SCp: ; @print_SCp .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 x1, [sp, #16] ldur x8, [x29, #-8] ldr w2, [x8, #12] ldur x8, [x29, #-8] ldr w3, [x8, #8] ldur x8, [x29, #-8] ldr w4, [x8, #4] ldur x8, [x29, #-8] ldr w5, [x8] ldr x6, [sp, #8] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printk 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 "%sptr %p this_residual 0x%x buffer %p buffers_residual 0x%x%s" .no_dead_strip _print_SCp .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function print_SCp _print_SCp: ## @print_SCp .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 -16(%rbp), %rsi movq -8(%rbp), %rax movl 12(%rax), %edx movq -8(%rbp), %rax movl 8(%rax), %ecx movq -8(%rbp), %rax movl 4(%rax), %r8d movq -8(%rbp), %rax movl (%rax), %r9d movq -24(%rbp), %rax leaq L_.str(%rip), %rdi movq %rax, (%rsp) callq _printk addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%sptr %p this_residual 0x%x buffer %p buffers_residual 0x%x%s" .no_dead_strip _print_SCp .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/scsi/arm/extr_fas216.c_print_SCp.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _DoMovie ; -- Begin function DoMovie .p2align 2 _DoMovie: ; @DoMovie .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, _Movie@GOTPAGE ldr x8, [x8, _Movie@GOTPAGEOFF] str x8, [sp] ; 8-byte Folded Spill adrp x9, _PlaybackFileOpened@GOTPAGE ldr x9, [x9, _PlaybackFileOpened@GOTPAGEOFF] str x9, [sp, #8] ; 8-byte Folded Spill adrp x9, _Stopped@GOTPAGE ldr x9, [x9, _Stopped@GOTPAGEOFF] str x9, [sp, #16] ; 8-byte Folded Spill adrp x9, _MovieStatus@GOTPAGE ldr x9, [x9, _MovieStatus@GOTPAGEOFF] str x9, [sp, #24] ; 8-byte Folded Spill stur xzr, [x29, #-16] ldr x8, [x8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: b LBB0_31 LBB0_2: bl _IncrementLagAndFrameCounter adrp x9, _LagFrameFlag@GOTPAGE ldr x9, [x9, _LagFrameFlag@GOTPAGEOFF] mov w8, #1 str w8, [x9] bl _SetInputDisplayCharacters ldr x8, [sp] ; 8-byte Folded Reload ldr x8, [x8] adrp x9, _Recording@GOTPAGE ldr x9, [x9, _Recording@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_12 b LBB0_3 LBB0_3: stur wzr, [x29, #-4] b LBB0_4 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-4] subs w8, w8, #8 cset w8, ge tbnz w8, #0, LBB0_7 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [sp] ; 8-byte Folded Reload adrp x9, _PORTDATA1@GOTPAGE ldr x9, [x9, _PORTDATA1@GOTPAGEOFF] ldr x9, [x9] ldursw x10, [x29, #-4] add x0, x9, x10, lsl #2 ldr w3, [x8, #24] mov w2, #1 mov x1, x2 bl _fwrite b LBB0_6 LBB0_6: ; in Loop: Header=BB0_4 Depth=1 ldur w8, [x29, #-4] add w8, w8, #1 stur w8, [x29, #-4] b LBB0_4 LBB0_7: stur wzr, [x29, #-4] b LBB0_8 LBB0_8: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-4] subs w8, w8, #8 cset w8, ge tbnz w8, #0, LBB0_11 b LBB0_9 LBB0_9: ; in Loop: Header=BB0_8 Depth=1 ldr x8, [sp] ; 8-byte Folded Reload adrp x9, _PORTDATA2@GOTPAGE ldr x9, [x9, _PORTDATA2@GOTPAGEOFF] ldr x9, [x9] ldursw x10, [x29, #-4] add x0, x9, x10, lsl #2 ldr w3, [x8, #24] mov w2, #1 mov x1, x2 bl _fwrite b LBB0_10 LBB0_10: ; in Loop: Header=BB0_8 Depth=1 ldur w8, [x29, #-4] add w8, w8, #1 stur w8, [x29, #-4] b LBB0_8 LBB0_11: b LBB0_12 LBB0_12: ldr x8, [sp] ; 8-byte Folded Reload ldr x8, [x8] adrp x9, _Playback@GOTPAGE ldr x9, [x9, _Playback@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_24 b LBB0_13 LBB0_13: stur wzr, [x29, #-4] b LBB0_14 LBB0_14: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-4] subs w8, w8, #8 cset w8, ge tbnz w8, #0, LBB0_17 b LBB0_15 LBB0_15: ; in Loop: Header=BB0_14 Depth=1 ldr x8, [sp] ; 8-byte Folded Reload adrp x9, _PORTDATA1@GOTPAGE ldr x9, [x9, _PORTDATA1@GOTPAGEOFF] ldr x9, [x9] ldursw x10, [x29, #-4] add x0, x9, x10, lsl #2 ldr w3, [x8, #24] mov w2, #1 mov x1, x2 bl _fread stur x0, [x29, #-16] b LBB0_16 LBB0_16: ; in Loop: Header=BB0_14 Depth=1 ldur w8, [x29, #-4] add w8, w8, #1 stur w8, [x29, #-4] b LBB0_14 LBB0_17: stur wzr, [x29, #-4] b LBB0_18 LBB0_18: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-4] subs w8, w8, #8 cset w8, ge tbnz w8, #0, LBB0_21 b LBB0_19 LBB0_19: ; in Loop: Header=BB0_18 Depth=1 ldr x8, [sp] ; 8-byte Folded Reload adrp x9, _PORTDATA2@GOTPAGE ldr x9, [x9, _PORTDATA2@GOTPAGEOFF] ldr x9, [x9] ldursw x10, [x29, #-4] add x0, x9, x10, lsl #2 ldr w3, [x8, #24] mov w2, #1 mov x1, x2 bl _fread stur x0, [x29, #-16] b LBB0_20 LBB0_20: ; in Loop: Header=BB0_18 Depth=1 ldur w8, [x29, #-4] add w8, w8, #1 stur w8, [x29, #-4] b LBB0_18 LBB0_21: ldr x8, [sp] ; 8-byte Folded Reload ldr w0, [x8, #24] bl _ftell ldr x9, [sp] ; 8-byte Folded Reload adrp x8, _headersize@GOTPAGE ldr x8, [x8, _headersize@GOTPAGEOFF] ldr w8, [x8] subs w8, w0, w8 adrp x10, _framelength@GOTPAGE ldr x10, [x10, _framelength@GOTPAGEOFF] ldr w10, [x10] sdiv w8, w8, w10 ldr w9, [x9, #8] subs w8, w8, w9 cset w8, lt tbnz w8, #0, LBB0_23 b LBB0_22 LBB0_22: ldr x8, [sp] ; 8-byte Folded Reload ldr w0, [x8, #24] bl _fclose ldr x10, [sp, #8] ; 8-byte Folded Reload ldr x8, [sp, #16] ; 8-byte Folded Reload ldr x9, [sp] ; 8-byte Folded Reload str xzr, [x10] ldr x8, [x8] str x8, [x9] bl _ClearInput ldr x8, [sp, #24] ; 8-byte Folded Reload ldr w0, [x8] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _strcpy b LBB0_23 LBB0_23: b LBB0_24 LBB0_24: ldr x8, [sp] ; 8-byte Folded Reload ldr x8, [x8] adrp x9, _Recording@GOTPAGE ldr x9, [x9, _Recording@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_27 b LBB0_25 LBB0_25: adrp x8, _RecordingFileOpened@GOTPAGE ldr x8, [x8, _RecordingFileOpened@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_27 b LBB0_26 LBB0_26: ldr x8, [sp] ; 8-byte Folded Reload ldr w0, [x8, #24] bl _fclose ldr x9, [sp, #16] ; 8-byte Folded Reload ldr x10, [sp] ; 8-byte Folded Reload ldr x8, [sp, #24] ; 8-byte Folded Reload adrp x11, _RecordingFileOpened@GOTPAGE ldr x11, [x11, _RecordingFileOpened@GOTPAGEOFF] str xzr, [x11] ldr x9, [x9] str x9, [x10] ldr w0, [x8] adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _strcpy b LBB0_27 LBB0_27: ldr x8, [sp] ; 8-byte Folded Reload ldr x8, [x8] adrp x9, _Playback@GOTPAGE ldr x9, [x9, _Playback@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_31 b LBB0_28 LBB0_28: ldr x8, [sp, #8] ; 8-byte Folded Reload ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_31 b LBB0_29 LBB0_29: ldr x8, [sp] ; 8-byte Folded Reload ldr x8, [x8, #16] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_31 b LBB0_30 LBB0_30: ldr x8, [sp] ; 8-byte Folded Reload ldr w0, [x8, #24] bl _fclose ldr x11, [sp, #8] ; 8-byte Folded Reload ldr x9, [sp, #16] ; 8-byte Folded Reload ldr x10, [sp] ; 8-byte Folded Reload ldr x8, [sp, #24] ; 8-byte Folded Reload str xzr, [x11] ldr x9, [x9] str x9, [x10] ldr w0, [x8] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _strcpy b LBB0_31 LBB0_31: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _Movie,32,3 ; @Movie .comm _LagFrameFlag,4,2 ; @LagFrameFlag .comm _Recording,8,3 ; @Recording .comm _PORTDATA1,8,3 ; @PORTDATA1 .comm _PORTDATA2,8,3 ; @PORTDATA2 .comm _Playback,8,3 ; @Playback .comm _headersize,4,2 ; @headersize .comm _framelength,4,2 ; @framelength .comm _PlaybackFileOpened,8,3 ; @PlaybackFileOpened .comm _Stopped,8,3 ; @Stopped .comm _MovieStatus,4,2 ; @MovieStatus .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Playback Stopped" .comm _RecordingFileOpened,8,3 ; @RecordingFileOpened l_.str.1: ; @.str.1 .asciz "Recording Stopped" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _DoMovie ## -- Begin function DoMovie .p2align 4, 0x90 _DoMovie: ## @DoMovie .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 $0, -16(%rbp) movq _Movie@GOTPCREL(%rip), %rax cmpq $0, (%rax) jne LBB0_2 ## %bb.1: jmp LBB0_31 LBB0_2: movb $0, %al callq _IncrementLagAndFrameCounter movq _LagFrameFlag@GOTPCREL(%rip), %rax movl $1, (%rax) movb $0, %al callq _SetInputDisplayCharacters movq _Movie@GOTPCREL(%rip), %rax movq (%rax), %rax movq _Recording@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_12 ## %bb.3: movl $0, -4(%rbp) LBB0_4: ## =>This Inner Loop Header: Depth=1 cmpl $8, -4(%rbp) jge LBB0_7 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movq _PORTDATA1@GOTPCREL(%rip), %rax movq (%rax), %rdi movslq -4(%rbp), %rax shlq $2, %rax addq %rax, %rdi movq _Movie@GOTPCREL(%rip), %rax movl 24(%rax), %ecx movl $1, %edx movl %edx, %esi callq _fwrite ## %bb.6: ## in Loop: Header=BB0_4 Depth=1 movl -4(%rbp), %eax addl $1, %eax movl %eax, -4(%rbp) jmp LBB0_4 LBB0_7: movl $0, -4(%rbp) LBB0_8: ## =>This Inner Loop Header: Depth=1 cmpl $8, -4(%rbp) jge LBB0_11 ## %bb.9: ## in Loop: Header=BB0_8 Depth=1 movq _PORTDATA2@GOTPCREL(%rip), %rax movq (%rax), %rdi movslq -4(%rbp), %rax shlq $2, %rax addq %rax, %rdi movq _Movie@GOTPCREL(%rip), %rax movl 24(%rax), %ecx movl $1, %edx movl %edx, %esi callq _fwrite ## %bb.10: ## in Loop: Header=BB0_8 Depth=1 movl -4(%rbp), %eax addl $1, %eax movl %eax, -4(%rbp) jmp LBB0_8 LBB0_11: jmp LBB0_12 LBB0_12: movq _Movie@GOTPCREL(%rip), %rax movq (%rax), %rax movq _Playback@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_24 ## %bb.13: movl $0, -4(%rbp) LBB0_14: ## =>This Inner Loop Header: Depth=1 cmpl $8, -4(%rbp) jge LBB0_17 ## %bb.15: ## in Loop: Header=BB0_14 Depth=1 movq _PORTDATA1@GOTPCREL(%rip), %rax movq (%rax), %rdi movslq -4(%rbp), %rax shlq $2, %rax addq %rax, %rdi movq _Movie@GOTPCREL(%rip), %rax movl 24(%rax), %ecx movl $1, %edx movl %edx, %esi callq _fread movq %rax, -16(%rbp) ## %bb.16: ## in Loop: Header=BB0_14 Depth=1 movl -4(%rbp), %eax addl $1, %eax movl %eax, -4(%rbp) jmp LBB0_14 LBB0_17: movl $0, -4(%rbp) LBB0_18: ## =>This Inner Loop Header: Depth=1 cmpl $8, -4(%rbp) jge LBB0_21 ## %bb.19: ## in Loop: Header=BB0_18 Depth=1 movq _PORTDATA2@GOTPCREL(%rip), %rax movq (%rax), %rdi movslq -4(%rbp), %rax shlq $2, %rax addq %rax, %rdi movq _Movie@GOTPCREL(%rip), %rax movl 24(%rax), %ecx movl $1, %edx movl %edx, %esi callq _fread movq %rax, -16(%rbp) ## %bb.20: ## in Loop: Header=BB0_18 Depth=1 movl -4(%rbp), %eax addl $1, %eax movl %eax, -4(%rbp) jmp LBB0_18 LBB0_21: movq _Movie@GOTPCREL(%rip), %rax movl 24(%rax), %edi callq _ftell movq _headersize@GOTPCREL(%rip), %rcx subl (%rcx), %eax movq _framelength@GOTPCREL(%rip), %rcx cltd idivl (%rcx) movq _Movie@GOTPCREL(%rip), %rcx cmpl 8(%rcx), %eax jl LBB0_23 ## %bb.22: movq _Movie@GOTPCREL(%rip), %rax movl 24(%rax), %edi callq _fclose movq _PlaybackFileOpened@GOTPCREL(%rip), %rax movq $0, (%rax) movq _Stopped@GOTPCREL(%rip), %rax movq (%rax), %rcx movq _Movie@GOTPCREL(%rip), %rax movq %rcx, (%rax) movb $0, %al callq _ClearInput movq _MovieStatus@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi callq _strcpy LBB0_23: jmp LBB0_24 LBB0_24: movq _Movie@GOTPCREL(%rip), %rax movq (%rax), %rax movq _Recording@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_27 ## %bb.25: movq _RecordingFileOpened@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_27 ## %bb.26: movq _Movie@GOTPCREL(%rip), %rax movl 24(%rax), %edi callq _fclose movq _RecordingFileOpened@GOTPCREL(%rip), %rax movq $0, (%rax) movq _Stopped@GOTPCREL(%rip), %rax movq (%rax), %rcx movq _Movie@GOTPCREL(%rip), %rax movq %rcx, (%rax) movq _MovieStatus@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.1(%rip), %rsi callq _strcpy LBB0_27: movq _Movie@GOTPCREL(%rip), %rax movq (%rax), %rax movq _Playback@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_31 ## %bb.28: movq _PlaybackFileOpened@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_31 ## %bb.29: movq _Movie@GOTPCREL(%rip), %rax cmpq $0, 16(%rax) je LBB0_31 ## %bb.30: movq _Movie@GOTPCREL(%rip), %rax movl 24(%rax), %edi callq _fclose movq _PlaybackFileOpened@GOTPCREL(%rip), %rax movq $0, (%rax) movq _Stopped@GOTPCREL(%rip), %rax movq (%rax), %rcx movq _Movie@GOTPCREL(%rip), %rax movq %rcx, (%rax) movq _MovieStatus@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi callq _strcpy LBB0_31: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _Movie,32,3 ## @Movie .comm _LagFrameFlag,4,2 ## @LagFrameFlag .comm _Recording,8,3 ## @Recording .comm _PORTDATA1,8,3 ## @PORTDATA1 .comm _PORTDATA2,8,3 ## @PORTDATA2 .comm _Playback,8,3 ## @Playback .comm _headersize,4,2 ## @headersize .comm _framelength,4,2 ## @framelength .comm _PlaybackFileOpened,8,3 ## @PlaybackFileOpened .comm _Stopped,8,3 ## @Stopped .comm _MovieStatus,4,2 ## @MovieStatus .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Playback Stopped" .comm _RecordingFileOpened,8,3 ## @RecordingFileOpened L_.str.1: ## @.str.1 .asciz "Recording Stopped" .subsections_via_symbols
AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_movie.c_DoMovie.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function Sp_toString _Sp_toString: ; @Sp_toString .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] mov w1, #0 bl _js_toobject str x0, [sp] ldr x8, [sp] ldr x8, [x8] adrp x9, _JS_CSTRING@GOTPAGE ldr x9, [x9, _JS_CSTRING@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x0, [sp, #8] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _js_typeerror b LBB0_2 LBB0_2: ldr x0, [sp, #8] ldr x8, [sp] ldr w1, [x8, #8] bl _js_pushliteral ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _JS_CSTRING,8,3 ; @JS_CSTRING .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "not a string" .no_dead_strip _Sp_toString .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function Sp_toString _Sp_toString: ## @Sp_toString .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 xorl %esi, %esi callq _js_toobject movq %rax, -16(%rbp) movq -16(%rbp), %rax movq (%rax), %rax movq _JS_CSTRING@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_2 ## %bb.1: movq -8(%rbp), %rdi leaq L_.str(%rip), %rsi callq _js_typeerror LBB0_2: movq -8(%rbp), %rdi movq -16(%rbp), %rax movl 8(%rax), %esi callq _js_pushliteral addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _JS_CSTRING,8,3 ## @JS_CSTRING .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "not a string" .no_dead_strip _Sp_toString .subsections_via_symbols
AnghaBench/sumatrapdf/ext/mujs/extr_jsstring.c_Sp_toString.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function gopt_nfs_vers _gopt_nfs_vers: ; @gopt_nfs_vers .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 x0, [sp, #16] bl _atoi str w0, [sp, #12] ldr w8, [sp, #12] subs w8, w8, #2 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_1 LBB0_1: ldr w8, [sp, #12] subs w8, w8, #3 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ldr w8, [sp, #12] subs w8, w8, #4 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldr w8, [sp, #12] adrp x9, _gopt@GOTPAGE ldr x9, [x9, _gopt@GOTPAGEOFF] str w8, [x9] stur wzr, [x29, #-4] b LBB0_5 LBB0_4: adrp x8, _stderr@GOTPAGE ldr x8, [x8, _stderr@GOTPAGEOFF] ldr w0, [x8] ldr x2, [sp, #16] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _fprintf mov w8, #1 stur w8, [x29, #-4] b LBB0_5 LBB0_5: ldur w0, [x29, #-4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _gopt,4,2 ; @gopt .comm _stderr,4,2 ; @stderr .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "conf: illegal nfs_vers \"%s\"\n" .no_dead_strip _gopt_nfs_vers .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function gopt_nfs_vers _gopt_nfs_vers: ## @gopt_nfs_vers .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), %rdi callq _atoi movl %eax, -20(%rbp) cmpl $2, -20(%rbp) je LBB0_3 ## %bb.1: cmpl $3, -20(%rbp) je LBB0_3 ## %bb.2: cmpl $4, -20(%rbp) jne LBB0_4 LBB0_3: movl -20(%rbp), %ecx movq _gopt@GOTPCREL(%rip), %rax movl %ecx, (%rax) movl $0, -4(%rbp) jmp LBB0_5 LBB0_4: movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %edi movq -16(%rbp), %rdx leaq L_.str(%rip), %rsi callq _fprintf movl $1, -4(%rbp) LBB0_5: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _gopt,4,2 ## @gopt .comm _stderr,4,2 ## @stderr .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "conf: illegal nfs_vers \"%s\"\n" .no_dead_strip _gopt_nfs_vers .subsections_via_symbols
AnghaBench/freebsd/contrib/amd/amd/extr_conf.c_gopt_nfs_vers.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function parse_options _parse_options: ; @parse_options .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w27, -24 .cfi_offset w28, -32 sub sp, sp, #1056 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-24] str x0, [sp, #16] str x1, [sp, #8] ldr x0, [sp, #8] mov w1, #63 bl _strchr str x0, [sp] ldr x8, [sp] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: b LBB0_5 LBB0_2: ldr x8, [sp, #16] ldr w8, [x8] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_5 b LBB0_3 LBB0_3: ldr x3, [sp] add x0, sp, #24 mov w1, #1024 adrp x2, l_.str@PAGE add x2, x2, l_.str@PAGEOFF bl _av_find_info_tag subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: add x0, sp, #24 bl _av_strdup ldr x8, [sp, #16] str w0, [x8] b LBB0_5 LBB0_5: 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_7 b LBB0_6 LBB0_6: bl ___stack_chk_fail LBB0_7: add sp, sp, #1056 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "key_password" .no_dead_strip _parse_options .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function parse_options _parse_options: ## @parse_options .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $1072, %rsp ## imm = 0x430 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movq %rdi, -1048(%rbp) movq %rsi, -1056(%rbp) movq -1056(%rbp), %rdi movl $63, %esi callq _strchr movq %rax, -1064(%rbp) cmpq $0, -1064(%rbp) jne LBB0_2 ## %bb.1: jmp LBB0_5 LBB0_2: movq -1048(%rbp), %rax cmpl $0, (%rax) jne LBB0_5 ## %bb.3: leaq -1040(%rbp), %rdi movq -1064(%rbp), %rcx movl $1024, %esi ## imm = 0x400 leaq L_.str(%rip), %rdx callq _av_find_info_tag cmpq $0, %rax je LBB0_5 ## %bb.4: leaq -1040(%rbp), %rdi callq _av_strdup movl %eax, %ecx movq -1048(%rbp), %rax movl %ecx, (%rax) LBB0_5: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB0_7 ## %bb.6: addq $1072, %rsp ## imm = 0x430 popq %rbp retq LBB0_7: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "key_password" .no_dead_strip _parse_options .subsections_via_symbols
AnghaBench/FFmpeg/libavformat/extr_tls_mbedtls.c_parse_options.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function __stop_cpu_timer_accounting ___stop_cpu_timer_accounting: ; @__stop_cpu_timer_accounting .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 x8, [x8] subs x8, x8, #0 cset w8, eq and w0, w8, #0x1 bl _WARN_ON_ONCE ldr x8, [sp, #8] add x0, x8, #8 bl _raw_write_seqcount_begin bl _get_tod_clock_fast ldr x8, [sp, #8] ldr x8, [x8] subs x10, x0, x8 ldr x8, [sp, #8] ldr x9, [x8, #16] ldrsw x8, [x9] subs x8, x8, x10 ; kill: def $w8 killed $w8 killed $x8 str w8, [x9] ldr x8, [sp, #8] str xzr, [x8] ldr x8, [sp, #8] add x0, x8, #8 bl _raw_write_seqcount_end ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip ___stop_cpu_timer_accounting .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function __stop_cpu_timer_accounting ___stop_cpu_timer_accounting: ## @__stop_cpu_timer_accounting .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 cmpq $0, (%rax) sete %al andb $1, %al movzbl %al, %edi callq _WARN_ON_ONCE movq -8(%rbp), %rdi addq $8, %rdi callq _raw_write_seqcount_begin movb $0, %al callq _get_tod_clock_fast movq %rax, %rdx movq -8(%rbp), %rax subq (%rax), %rdx movq -8(%rbp), %rax movq 16(%rax), %rax movslq (%rax), %rcx subq %rdx, %rcx ## kill: def $ecx killed $ecx killed $rcx movl %ecx, (%rax) movq -8(%rbp), %rax movq $0, (%rax) movq -8(%rbp), %rdi addq $8, %rdi callq _raw_write_seqcount_end addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip ___stop_cpu_timer_accounting .subsections_via_symbols
AnghaBench/linux/arch/s390/kvm/extr_kvm-s390.c___stop_cpu_timer_accounting.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 unixCurrentTime lCPI0_0: .quad 0x4194997000000000 ; double 8.64E+7 .section __TEXT,__text,regular,pure_instructions .p2align 2 _unixCurrentTime: ; @unixCurrentTime .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] add x8, sp, #24 str x8, [sp, #8] ; 8-byte Folded Spill movi d0, #0000000000000000 str d0, [sp, #24] ldur x0, [x29, #-8] bl _UNUSED_PARAMETER ldr x1, [sp, #8] ; 8-byte Folded Reload mov w0, #0 bl _unixCurrentTimeInt64 str w0, [sp, #20] ldr d0, [sp, #24] adrp x8, lCPI0_0@PAGE ldr d1, [x8, lCPI0_0@PAGEOFF] fdiv d0, d0, d1 ldur x8, [x29, #-16] str d0, [x8] ldr w0, [sp, #20] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .no_dead_strip _unixCurrentTime .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 unixCurrentTime LCPI0_0: .quad 0x4194997000000000 ## double 8.64E+7 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _unixCurrentTime: ## @unixCurrentTime .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) xorps %xmm0, %xmm0 movsd %xmm0, -24(%rbp) movq -8(%rbp), %rdi callq _UNUSED_PARAMETER xorl %edi, %edi leaq -24(%rbp), %rsi callq _unixCurrentTimeInt64 movl %eax, -28(%rbp) movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero divsd %xmm1, %xmm0 movq -16(%rbp), %rax movsd %xmm0, (%rax) movl -28(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _unixCurrentTime .subsections_via_symbols
AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_unixCurrentTime.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function snd_sonicvibes_midi_input_close _snd_sonicvibes_midi_input_close: ; @snd_sonicvibes_midi_input_close .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] ldr x8, [x8] str x8, [sp, #16] adrp x8, _SV_MIDI_MASK@GOTPAGE ldr x8, [x8, _SV_MIDI_MASK@GOTPAGEOFF] ldr w10, [x8] ldr x9, [sp, #16] ldr w8, [x9] orr w8, w8, w10 str w8, [sp, #12] ; 4-byte Folded Spill str w8, [x9] ldr x0, [sp, #16] adrp x8, _IRQMASK@GOTPAGE ldr x8, [x8, _IRQMASK@GOTPAGEOFF] ldr w1, [x8] bl _SV_REG mov x1, x0 ldr w0, [sp, #12] ; 4-byte Folded Reload bl _outb ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _SV_MIDI_MASK,4,2 ; @SV_MIDI_MASK .comm _IRQMASK,4,2 ; @IRQMASK .no_dead_strip _snd_sonicvibes_midi_input_close .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function snd_sonicvibes_midi_input_close _snd_sonicvibes_midi_input_close: ## @snd_sonicvibes_midi_input_close .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), %rax movq %rax, -16(%rbp) movq _SV_MIDI_MASK@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -16(%rbp), %rax orl (%rax), %ecx movl %ecx, -20(%rbp) ## 4-byte Spill movl %ecx, (%rax) movq -16(%rbp), %rdi movq _IRQMASK@GOTPCREL(%rip), %rax movl (%rax), %esi callq _SV_REG movl -20(%rbp), %edi ## 4-byte Reload movl %eax, %esi callq _outb addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _SV_MIDI_MASK,4,2 ## @SV_MIDI_MASK .comm _IRQMASK,4,2 ## @IRQMASK .no_dead_strip _snd_sonicvibes_midi_input_close .subsections_via_symbols
AnghaBench/fastsocket/kernel/sound/pci/extr_sonicvibes.c_snd_sonicvibes_midi_input_close.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function user_clock_nanosleep _user_clock_nanosleep: ; @user_clock_nanosleep .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 w1, [x29, #-20] stur w2, [x29, #-24] str x3, [sp, #32] str x4, [sp, #24] ldr x0, [sp, #32] add x1, sp, #16 mov w2, #4 bl _copyin 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 w8, [sp, #12] stur w8, [x29, #-4] b LBB0_13 LBB0_2: ldr x8, [sp, #24] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_3 LBB0_3: ldur w8, [x29, #-24] adrp x9, _TIMER_ABSTIME@GOTPAGE ldr x9, [x9, _TIMER_ABSTIME@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_6 b LBB0_4 LBB0_4: ldr x0, [sp, #24] adrp x8, _VM_PROT_WRITE@GOTPAGE ldr x8, [x8, _VM_PROT_WRITE@GOTPAGEOFF] ldr w2, [x8] mov w1, #4 bl _useracc subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: adrp x8, _EFAULT@GOTPAGE ldr x8, [x8, _EFAULT@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-4] b LBB0_13 LBB0_6: ldur x0, [x29, #-16] ldur w1, [x29, #-20] ldur w2, [x29, #-24] add x3, sp, #16 add x4, sp, #20 bl _kern_clock_nanosleep str w0, [sp, #12] ldr w8, [sp, #12] adrp x9, _EINTR@GOTPAGE ldr x9, [x9, _EINTR@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_12 b LBB0_7 LBB0_7: ldr x8, [sp, #24] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_12 b LBB0_8 LBB0_8: ldur w8, [x29, #-24] adrp x9, _TIMER_ABSTIME@GOTPAGE ldr x9, [x9, _TIMER_ABSTIME@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_12 b LBB0_9 LBB0_9: ldr x1, [sp, #24] add x0, sp, #20 mov w2, #4 bl _copyout str w0, [sp, #8] ldr w8, [sp, #8] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_11 b LBB0_10 LBB0_10: ldr w8, [sp, #8] str w8, [sp, #12] b LBB0_11 LBB0_11: b LBB0_12 LBB0_12: ldr w8, [sp, #12] stur w8, [x29, #-4] b LBB0_13 LBB0_13: ldur w0, [x29, #-4] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _TIMER_ABSTIME,4,2 ; @TIMER_ABSTIME .comm _VM_PROT_WRITE,4,2 ; @VM_PROT_WRITE .comm _EFAULT,4,2 ; @EFAULT .comm _EINTR,4,2 ; @EINTR .no_dead_strip _user_clock_nanosleep .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function user_clock_nanosleep _user_clock_nanosleep: ## @user_clock_nanosleep .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) movl %esi, -20(%rbp) movl %edx, -24(%rbp) movq %rcx, -32(%rbp) movq %r8, -40(%rbp) movq -32(%rbp), %rdi leaq -56(%rbp), %rsi movl $4, %edx callq _copyin movl %eax, -60(%rbp) cmpl $0, -60(%rbp) je LBB0_2 ## %bb.1: movl -60(%rbp), %eax movl %eax, -4(%rbp) jmp LBB0_13 LBB0_2: cmpq $0, -40(%rbp) je LBB0_6 ## %bb.3: movl -24(%rbp), %eax movq _TIMER_ABSTIME@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax jne LBB0_6 ## %bb.4: movq -40(%rbp), %rdi movq _VM_PROT_WRITE@GOTPCREL(%rip), %rax movl (%rax), %edx movl $4, %esi callq _useracc cmpl $0, %eax jne LBB0_6 ## %bb.5: movq _EFAULT@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_13 LBB0_6: movq -16(%rbp), %rdi movl -20(%rbp), %esi movl -24(%rbp), %edx leaq -56(%rbp), %rcx leaq -48(%rbp), %r8 callq _kern_clock_nanosleep movl %eax, -60(%rbp) movl -60(%rbp), %eax movq _EINTR@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_12 ## %bb.7: cmpq $0, -40(%rbp) je LBB0_12 ## %bb.8: movl -24(%rbp), %eax movq _TIMER_ABSTIME@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax jne LBB0_12 ## %bb.9: movq -40(%rbp), %rsi leaq -48(%rbp), %rdi movl $4, %edx callq _copyout movl %eax, -64(%rbp) cmpl $0, -64(%rbp) je LBB0_11 ## %bb.10: movl -64(%rbp), %eax movl %eax, -60(%rbp) LBB0_11: jmp LBB0_12 LBB0_12: movl -60(%rbp), %eax movl %eax, -4(%rbp) LBB0_13: movl -4(%rbp), %eax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _TIMER_ABSTIME,4,2 ## @TIMER_ABSTIME .comm _VM_PROT_WRITE,4,2 ## @VM_PROT_WRITE .comm _EFAULT,4,2 ## @EFAULT .comm _EINTR,4,2 ## @EINTR .no_dead_strip _user_clock_nanosleep .subsections_via_symbols
AnghaBench/freebsd/sys/kern/extr_kern_time.c_user_clock_nanosleep.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function __intel_get_crtc_scanline ___intel_get_crtc_scanline: ; @__intel_get_crtc_scanline .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 x8, [x29, #-16] ldr x8, [x8, #8] stur x8, [x29, #-24] ldur x0, [x29, #-24] bl _to_i915 stur x0, [x29, #-32] ldur x8, [x29, #-16] ldr w8, [x8] str w8, [sp, #28] ldur x8, [x29, #-16] ldr w8, [x8, #16] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: mov w8, #-1 stur w8, [x29, #-4] b LBB0_19 LBB0_2: ldur x8, [x29, #-16] ldr x8, [x8, #8] ldr x8, [x8] str x8, [sp] ; 8-byte Folded Spill ldur x8, [x29, #-16] add x0, x8, #8 bl _drm_crtc_index ldr x8, [sp] ; 8-byte Folded Reload mov x9, #12 mul x9, x0, x9 add x8, x8, x9 str x8, [sp, #32] ldr x8, [sp, #32] str x8, [sp, #40] ldr x8, [sp, #40] ldr w8, [x8] adrp x9, _I915_MODE_FLAG_GET_SCANLINE_FROM_TIMESTAMP@GOTPAGE ldr x9, [x9, _I915_MODE_FLAG_GET_SCANLINE_FROM_TIMESTAMP@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldur x0, [x29, #-16] bl ___intel_get_crtc_scanline_from_timestamp stur w0, [x29, #-4] b LBB0_19 LBB0_4: ldr x8, [sp, #40] ldr w8, [x8, #4] str w8, [sp, #20] ldr x8, [sp, #40] ldr w8, [x8, #8] adrp x9, _DRM_MODE_FLAG_INTERLACE@GOTPAGE ldr x9, [x9, _DRM_MODE_FLAG_INTERLACE@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ldr w8, [sp, #20] mov w9, #2 sdiv w8, w8, w9 str w8, [sp, #20] b LBB0_6 LBB0_6: ldur x0, [x29, #-32] mov w1, #2 bl _IS_GEN subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: ldr w0, [sp, #28] bl _PIPEDSL bl _I915_READ_FW adrp x8, _DSL_LINEMASK_GEN2@GOTPAGE ldr x8, [x8, _DSL_LINEMASK_GEN2@GOTPAGEOFF] ldr w8, [x8] and w8, w0, w8 str w8, [sp, #24] b LBB0_9 LBB0_8: ldr w0, [sp, #28] bl _PIPEDSL bl _I915_READ_FW adrp x8, _DSL_LINEMASK_GEN3@GOTPAGE ldr x8, [x8, _DSL_LINEMASK_GEN3@GOTPAGEOFF] ldr w8, [x8] and w8, w0, w8 str w8, [sp, #24] b LBB0_9 LBB0_9: ldur x0, [x29, #-32] bl _HAS_DDI subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_18 b LBB0_10 LBB0_10: ldr w8, [sp, #24] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_18 b LBB0_11 LBB0_11: str wzr, [sp, #16] b LBB0_12 LBB0_12: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #16] subs w8, w8, #100 cset w8, ge tbnz w8, #0, LBB0_17 b LBB0_13 LBB0_13: ; in Loop: Header=BB0_12 Depth=1 mov w0, #1 bl _udelay ldr w0, [sp, #28] bl _PIPEDSL bl _I915_READ_FW adrp x8, _DSL_LINEMASK_GEN3@GOTPAGE ldr x8, [x8, _DSL_LINEMASK_GEN3@GOTPAGEOFF] ldr w8, [x8] and w8, w0, w8 str w8, [sp, #12] ldr w8, [sp, #12] ldr w9, [sp, #24] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_15 b LBB0_14 LBB0_14: ldr w8, [sp, #12] str w8, [sp, #24] 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, #16] add w8, w8, #1 str w8, [sp, #16] b LBB0_12 LBB0_17: b LBB0_18 LBB0_18: ldr w8, [sp, #24] ldur x9, [x29, #-16] ldr w9, [x9, #4] add w8, w8, w9 ldr w10, [sp, #20] sdiv w9, w8, w10 mul w9, w9, w10 subs w8, w8, w9 stur w8, [x29, #-4] b LBB0_19 LBB0_19: ldur w0, [x29, #-4] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc ; -- End function .comm _I915_MODE_FLAG_GET_SCANLINE_FROM_TIMESTAMP,4,2 ; @I915_MODE_FLAG_GET_SCANLINE_FROM_TIMESTAMP .comm _DRM_MODE_FLAG_INTERLACE,4,2 ; @DRM_MODE_FLAG_INTERLACE .comm _DSL_LINEMASK_GEN2,4,2 ; @DSL_LINEMASK_GEN2 .comm _DSL_LINEMASK_GEN3,4,2 ; @DSL_LINEMASK_GEN3 .no_dead_strip ___intel_get_crtc_scanline .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function __intel_get_crtc_scanline ___intel_get_crtc_scanline: ## @__intel_get_crtc_scanline .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), %rax movq 8(%rax), %rax movq %rax, -24(%rbp) movq -24(%rbp), %rdi callq _to_i915 movq %rax, -32(%rbp) movq -16(%rbp), %rax movl (%rax), %eax movl %eax, -52(%rbp) movq -16(%rbp), %rax cmpl $0, 16(%rax) jne LBB0_2 ## %bb.1: movl $-1, -4(%rbp) jmp LBB0_19 LBB0_2: movq -16(%rbp), %rax movq 8(%rax), %rax movq (%rax), %rax movq %rax, -80(%rbp) ## 8-byte Spill movq -16(%rbp), %rdi addq $8, %rdi callq _drm_crtc_index movq %rax, %rcx movq -80(%rbp), %rax ## 8-byte Reload imulq $12, %rcx, %rcx addq %rcx, %rax movq %rax, -48(%rbp) movq -48(%rbp), %rax movq %rax, -40(%rbp) movq -40(%rbp), %rax movl (%rax), %eax movq _I915_MODE_FLAG_GET_SCANLINE_FROM_TIMESTAMP@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax je LBB0_4 ## %bb.3: movq -16(%rbp), %rdi callq ___intel_get_crtc_scanline_from_timestamp movl %eax, -4(%rbp) jmp LBB0_19 LBB0_4: movq -40(%rbp), %rax movl 4(%rax), %eax movl %eax, -60(%rbp) movq -40(%rbp), %rax movl 8(%rax), %eax movq _DRM_MODE_FLAG_INTERLACE@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax je LBB0_6 ## %bb.5: movl -60(%rbp), %eax movl $2, %ecx cltd idivl %ecx movl %eax, -60(%rbp) LBB0_6: movq -32(%rbp), %rdi movl $2, %esi callq _IS_GEN cmpq $0, %rax je LBB0_8 ## %bb.7: movl -52(%rbp), %edi callq _PIPEDSL movl %eax, %edi callq _I915_READ_FW movq _DSL_LINEMASK_GEN2@GOTPCREL(%rip), %rcx andl (%rcx), %eax movl %eax, -56(%rbp) jmp LBB0_9 LBB0_8: movl -52(%rbp), %edi callq _PIPEDSL movl %eax, %edi callq _I915_READ_FW movq _DSL_LINEMASK_GEN3@GOTPCREL(%rip), %rcx andl (%rcx), %eax movl %eax, -56(%rbp) LBB0_9: movq -32(%rbp), %rdi callq _HAS_DDI cmpq $0, %rax je LBB0_18 ## %bb.10: cmpl $0, -56(%rbp) jne LBB0_18 ## %bb.11: movl $0, -64(%rbp) LBB0_12: ## =>This Inner Loop Header: Depth=1 cmpl $100, -64(%rbp) jge LBB0_17 ## %bb.13: ## in Loop: Header=BB0_12 Depth=1 movl $1, %edi callq _udelay movl -52(%rbp), %edi callq _PIPEDSL movl %eax, %edi callq _I915_READ_FW movq _DSL_LINEMASK_GEN3@GOTPCREL(%rip), %rcx andl (%rcx), %eax movl %eax, -68(%rbp) movl -68(%rbp), %eax cmpl -56(%rbp), %eax je LBB0_15 ## %bb.14: movl -68(%rbp), %eax movl %eax, -56(%rbp) jmp LBB0_17 LBB0_15: ## in Loop: Header=BB0_12 Depth=1 jmp LBB0_16 LBB0_16: ## in Loop: Header=BB0_12 Depth=1 movl -64(%rbp), %eax addl $1, %eax movl %eax, -64(%rbp) jmp LBB0_12 LBB0_17: jmp LBB0_18 LBB0_18: movl -56(%rbp), %eax movq -16(%rbp), %rcx addl 4(%rcx), %eax cltd idivl -60(%rbp) movl %edx, -4(%rbp) LBB0_19: movl -4(%rbp), %eax addq $80, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _I915_MODE_FLAG_GET_SCANLINE_FROM_TIMESTAMP,4,2 ## @I915_MODE_FLAG_GET_SCANLINE_FROM_TIMESTAMP .comm _DRM_MODE_FLAG_INTERLACE,4,2 ## @DRM_MODE_FLAG_INTERLACE .comm _DSL_LINEMASK_GEN2,4,2 ## @DSL_LINEMASK_GEN2 .comm _DSL_LINEMASK_GEN3,4,2 ## @DSL_LINEMASK_GEN3 .no_dead_strip ___intel_get_crtc_scanline .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/i915/extr_i915_irq.c___intel_get_crtc_scanline.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function psp_set_powergating_state _psp_set_powergating_state: ; @psp_set_powergating_state .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, #8] str w1, [sp, #4] mov w0, #0 add sp, sp, #16 ret .cfi_endproc ; -- End function .no_dead_strip _psp_set_powergating_state .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function psp_set_powergating_state _psp_set_powergating_state: ## @psp_set_powergating_state .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 %esi, -12(%rbp) xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _psp_set_powergating_state .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_psp.c_psp_set_powergating_state.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mac_pipe_label_alloc ; -- Begin function mac_pipe_label_alloc .p2align 2 _mac_pipe_label_alloc: ; @mac_pipe_label_alloc .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, _M_WAITOK@GOTPAGE ldr x8, [x8, _M_WAITOK@GOTPAGEOFF] ldr w0, [x8] bl _mac_labelzone_alloc str x0, [sp, #8] adrp x8, _pipe_init_label@GOTPAGE ldr x8, [x8, _pipe_init_label@GOTPAGEOFF] ldr w0, [x8] ldr x1, [sp, #8] bl _MAC_POLICY_PERFORM ldr x0, [sp, #8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _M_WAITOK,4,2 ; @M_WAITOK .comm _pipe_init_label,4,2 ; @pipe_init_label .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mac_pipe_label_alloc ## -- Begin function mac_pipe_label_alloc .p2align 4, 0x90 _mac_pipe_label_alloc: ## @mac_pipe_label_alloc .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 _M_WAITOK@GOTPCREL(%rip), %rax movl (%rax), %edi callq _mac_labelzone_alloc movq %rax, -8(%rbp) movq _pipe_init_label@GOTPCREL(%rip), %rax movl (%rax), %edi movq -8(%rbp), %rsi callq _MAC_POLICY_PERFORM movq -8(%rbp), %rax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _M_WAITOK,4,2 ## @M_WAITOK .comm _pipe_init_label,4,2 ## @pipe_init_label .subsections_via_symbols
AnghaBench/freebsd/sys/security/mac/extr_mac_pipe.c_mac_pipe_label_alloc.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ecap_pwm_probe _ecap_pwm_probe: ; @ecap_pwm_probe .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] ldur x8, [x29, #-16] ldr x8, [x8, #8] stur x8, [x29, #-24] ldur x0, [x29, #-16] adrp x8, _GFP_KERNEL@GOTPAGE ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] ldr w2, [x8] mov w1, #48 bl _devm_kzalloc str x0, [sp, #32] ldr x8, [sp, #32] 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_15 LBB0_2: ldur x0, [x29, #-16] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _devm_clk_get str x0, [sp, #16] ldr x0, [sp, #16] bl _IS_ERR subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_3 LBB0_3: ldur x0, [x29, #-24] adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _of_device_is_compatible subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ldur x0, [x29, #-16] adrp x1, l_.str.2@PAGE add x1, x1, l_.str.2@PAGEOFF bl _dev_warn ldur x8, [x29, #-16] ldr x0, [x8] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _devm_clk_get str x0, [sp, #16] b LBB0_5 LBB0_5: b LBB0_6 LBB0_6: ldr x0, [sp, #16] bl _IS_ERR subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: ldur x0, [x29, #-16] adrp x1, l_.str.3@PAGE add x1, x1, l_.str.3@PAGEOFF bl _dev_err ldr x0, [sp, #16] bl _PTR_ERR stur w0, [x29, #-4] b LBB0_15 LBB0_8: ldr x0, [sp, #16] bl _clk_get_rate ldr x8, [sp, #32] str w0, [x8, #40] ldr x8, [sp, #32] ldr w8, [x8, #40] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_10 b LBB0_9 LBB0_9: ldur x0, [x29, #-16] adrp x1, l_.str.4@PAGE add x1, x1, l_.str.4@PAGEOFF bl _dev_err 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_15 LBB0_10: ldur x8, [x29, #-16] ldr x9, [sp, #32] str x8, [x9, #24] ldr x9, [sp, #32] adrp x8, _ecap_pwm_ops@GOTPAGE ldr x8, [x8, _ecap_pwm_ops@GOTPAGEOFF] str x8, [x9, #16] adrp x8, _of_pwm_xlate_with_flags@GOTPAGE ldr x8, [x8, _of_pwm_xlate_with_flags@GOTPAGEOFF] ldr w8, [x8] ldr x9, [sp, #32] str w8, [x9, #12] ldr x9, [sp, #32] mov w8, #3 str w8, [x9] ldr x9, [sp, #32] mov w8, #-1 str w8, [x9, #4] ldr x9, [sp, #32] mov w8, #1 str w8, [x9, #8] ldur x0, [x29, #-16] adrp x8, _IORESOURCE_MEM@GOTPAGE ldr x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF] ldr w1, [x8] mov w2, #0 bl _platform_get_resource str x0, [sp, #24] ldur x0, [x29, #-16] ldr x1, [sp, #24] bl _devm_ioremap_resource ldr x8, [sp, #32] str x0, [x8, #32] ldr x8, [sp, #32] ldr x0, [x8, #32] bl _IS_ERR subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_12 b LBB0_11 LBB0_11: ldr x8, [sp, #32] ldr x0, [x8, #32] bl _PTR_ERR stur w0, [x29, #-4] b LBB0_15 LBB0_12: ldr x0, [sp, #32] bl _pwmchip_add str w0, [sp, #12] ldr w8, [sp, #12] subs w8, w8, #0 cset w8, ge tbnz w8, #0, LBB0_14 b LBB0_13 LBB0_13: ldur x0, [x29, #-16] ldr w9, [sp, #12] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x1, l_.str.5@PAGE add x1, x1, l_.str.5@PAGEOFF bl _dev_err ldr w8, [sp, #12] stur w8, [x29, #-4] b LBB0_15 LBB0_14: ldur x0, [x29, #-16] ldr x1, [sp, #32] bl _platform_set_drvdata ldur x0, [x29, #-16] bl _pm_runtime_enable stur wzr, [x29, #-4] b LBB0_15 LBB0_15: ldur w0, [x29, #-4] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "fck" l_.str.1: ; @.str.1 .asciz "ti,am33xx-ecap" l_.str.2: ; @.str.2 .asciz "Binding is obsolete.\n" l_.str.3: ; @.str.3 .asciz "failed to get clock\n" l_.str.4: ; @.str.4 .asciz "failed to get clock rate\n" .comm _EINVAL,4,2 ; @EINVAL .comm _ecap_pwm_ops,4,2 ; @ecap_pwm_ops .comm _of_pwm_xlate_with_flags,4,2 ; @of_pwm_xlate_with_flags .comm _IORESOURCE_MEM,4,2 ; @IORESOURCE_MEM l_.str.5: ; @.str.5 .asciz "pwmchip_add() failed: %d\n" .no_dead_strip _ecap_pwm_probe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ecap_pwm_probe _ecap_pwm_probe: ## @ecap_pwm_probe .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 -16(%rbp), %rax movq 8(%rax), %rax movq %rax, -24(%rbp) movq -16(%rbp), %rdi movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %edx movl $48, %esi callq _devm_kzalloc movq %rax, -32(%rbp) cmpq $0, -32(%rbp) jne LBB0_2 ## %bb.1: xorl %eax, %eax movq _ENOMEM@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) jmp LBB0_15 LBB0_2: movq -16(%rbp), %rdi leaq L_.str(%rip), %rsi callq _devm_clk_get movq %rax, -48(%rbp) movq -48(%rbp), %rdi callq _IS_ERR cmpq $0, %rax je LBB0_6 ## %bb.3: movq -24(%rbp), %rdi leaq L_.str.1(%rip), %rsi callq _of_device_is_compatible cmpq $0, %rax je LBB0_5 ## %bb.4: movq -16(%rbp), %rdi leaq L_.str.2(%rip), %rsi callq _dev_warn movq -16(%rbp), %rax movq (%rax), %rdi leaq L_.str(%rip), %rsi callq _devm_clk_get movq %rax, -48(%rbp) LBB0_5: jmp LBB0_6 LBB0_6: movq -48(%rbp), %rdi callq _IS_ERR cmpq $0, %rax je LBB0_8 ## %bb.7: movq -16(%rbp), %rdi leaq L_.str.3(%rip), %rsi movb $0, %al callq _dev_err movq -48(%rbp), %rdi callq _PTR_ERR movl %eax, -4(%rbp) jmp LBB0_15 LBB0_8: movq -48(%rbp), %rdi callq _clk_get_rate movl %eax, %ecx movq -32(%rbp), %rax movl %ecx, 40(%rax) movq -32(%rbp), %rax cmpl $0, 40(%rax) jne LBB0_10 ## %bb.9: movq -16(%rbp), %rdi leaq L_.str.4(%rip), %rsi movb $0, %al callq _dev_err xorl %eax, %eax movq _EINVAL@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) jmp LBB0_15 LBB0_10: movq -16(%rbp), %rcx movq -32(%rbp), %rax movq %rcx, 24(%rax) movq -32(%rbp), %rax movq _ecap_pwm_ops@GOTPCREL(%rip), %rcx movq %rcx, 16(%rax) movq _of_pwm_xlate_with_flags@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -32(%rbp), %rax movl %ecx, 12(%rax) movq -32(%rbp), %rax movl $3, (%rax) movq -32(%rbp), %rax movl $-1, 4(%rax) movq -32(%rbp), %rax movl $1, 8(%rax) movq -16(%rbp), %rdi movq _IORESOURCE_MEM@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %edx, %edx callq _platform_get_resource movq %rax, -40(%rbp) movq -16(%rbp), %rdi movq -40(%rbp), %rsi callq _devm_ioremap_resource movq %rax, %rcx movq -32(%rbp), %rax movq %rcx, 32(%rax) movq -32(%rbp), %rax movq 32(%rax), %rdi callq _IS_ERR cmpq $0, %rax je LBB0_12 ## %bb.11: movq -32(%rbp), %rax movq 32(%rax), %rdi callq _PTR_ERR movl %eax, -4(%rbp) jmp LBB0_15 LBB0_12: movq -32(%rbp), %rdi callq _pwmchip_add movl %eax, -52(%rbp) cmpl $0, -52(%rbp) jge LBB0_14 ## %bb.13: movq -16(%rbp), %rdi movl -52(%rbp), %edx leaq L_.str.5(%rip), %rsi movb $0, %al callq _dev_err movl -52(%rbp), %eax movl %eax, -4(%rbp) jmp LBB0_15 LBB0_14: movq -16(%rbp), %rdi movq -32(%rbp), %rsi callq _platform_set_drvdata movq -16(%rbp), %rdi callq _pm_runtime_enable movl $0, -4(%rbp) LBB0_15: movl -4(%rbp), %eax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "fck" L_.str.1: ## @.str.1 .asciz "ti,am33xx-ecap" L_.str.2: ## @.str.2 .asciz "Binding is obsolete.\n" L_.str.3: ## @.str.3 .asciz "failed to get clock\n" L_.str.4: ## @.str.4 .asciz "failed to get clock rate\n" .comm _EINVAL,4,2 ## @EINVAL .comm _ecap_pwm_ops,4,2 ## @ecap_pwm_ops .comm _of_pwm_xlate_with_flags,4,2 ## @of_pwm_xlate_with_flags .comm _IORESOURCE_MEM,4,2 ## @IORESOURCE_MEM L_.str.5: ## @.str.5 .asciz "pwmchip_add() failed: %d\n" .no_dead_strip _ecap_pwm_probe .subsections_via_symbols
AnghaBench/linux/drivers/pwm/extr_pwm-tiecap.c_ecap_pwm_probe.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function marvell_nfc_hw_ecc_hmg_write_page_raw _marvell_nfc_hw_ecc_hmg_write_page_raw: ; @marvell_nfc_hw_ecc_hmg_write_page_raw .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 w3, [sp, #8] ldur x0, [x29, #-8] ldur x8, [x29, #-8] ldr w1, [x8, #4] bl _marvell_nfc_select_target ldur x0, [x29, #-8] ldr x1, [sp, #16] ldur x8, [x29, #-8] ldr w2, [x8] ldr w4, [sp, #8] mov w3, #1 bl _marvell_nfc_hw_ecc_hmg_do_write_page ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .no_dead_strip _marvell_nfc_hw_ecc_hmg_write_page_raw .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function marvell_nfc_hw_ecc_hmg_write_page_raw _marvell_nfc_hw_ecc_hmg_write_page_raw: ## @marvell_nfc_hw_ecc_hmg_write_page_raw .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 %ecx, -24(%rbp) movq -8(%rbp), %rdi movq -8(%rbp), %rax movl 4(%rax), %esi callq _marvell_nfc_select_target movq -8(%rbp), %rdi movq -16(%rbp), %rsi movq -8(%rbp), %rax movl (%rax), %edx movl -24(%rbp), %r8d movl $1, %ecx callq _marvell_nfc_hw_ecc_hmg_do_write_page addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _marvell_nfc_hw_ecc_hmg_write_page_raw .subsections_via_symbols
AnghaBench/linux/drivers/mtd/nand/raw/extr_marvell_nand.c_marvell_nfc_hw_ecc_hmg_write_page_raw.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function read_byte _read_byte: ; @read_byte .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 w0, [x8, #16] bl _getc str w0, [sp, #12] ldr w8, [sp, #12] subs w8, w8, #0 cset w8, lt tbnz w8, #0, LBB0_3 b LBB0_1 LBB0_1: ldr w8, [sp, #12] subs w8, w8, #255 cset w8, gt tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ldr x9, [sp, #16] ldr w8, [x9, #20] add w8, w8, #1 str w8, [x9, #20] ldr w8, [sp, #12] stur w8, [x29, #-4] b LBB0_14 LBB0_3: ldr w8, [sp, #12] adrp x9, _EOF@GOTPAGE ldr x9, [x9, _EOF@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: adrp x8, _INTERNAL_ERROR@GOTPAGE ldr x8, [x8, _INTERNAL_ERROR@GOTPAGEOFF] ldr w10, [x8] ldr x9, [sp, #16] ldr w8, [x9] orr w8, w8, w10 str w8, [x9] adrp x8, _ERANGE@GOTPAGE ldr x8, [x8, _ERANGE@GOTPAGEOFF] ldr x8, [x8] ldr x9, [sp, #16] str x8, [x9, #8] ldr x0, [sp, #16] adrp x8, _UNEXPECTED_ERROR_CODE@GOTPAGE ldr x8, [x8, _UNEXPECTED_ERROR_CODE@GOTPAGEOFF] ldr w1, [x8] adrp x2, l_.str@PAGE add x2, x2, l_.str@PAGEOFF bl _emit_error b LBB0_12 LBB0_5: ldr x8, [sp, #16] ldr w0, [x8, #16] bl _ferror subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: adrp x8, _errno@GOTPAGE ldr x8, [x8, _errno@GOTPAGEOFF] ldr x8, [x8] ldr x9, [sp, #16] str x8, [x9, #8] b LBB0_11 LBB0_7: ldr x8, [sp, #16] ldr w0, [x8, #16] bl _feof subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: ldr x8, [sp, #16] str xzr, [x8, #8] b LBB0_10 LBB0_9: adrp x8, _EDOM@GOTPAGE ldr x8, [x8, _EDOM@GOTPAGEOFF] ldr x8, [x8] ldr x9, [sp, #16] str x8, [x9, #8] b LBB0_10 LBB0_10: b LBB0_11 LBB0_11: b LBB0_12 LBB0_12: b LBB0_13 LBB0_13: adrp x8, _TRUNCATED@GOTPAGE ldr x8, [x8, _TRUNCATED@GOTPAGEOFF] ldr w10, [x8] ldr x9, [sp, #16] ldr w8, [x9] orr w8, w8, w10 str w8, [x9] adrp x8, _EOF@GOTPAGE ldr x8, [x8, _EOF@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-4] b LBB0_14 LBB0_14: ldur w0, [x29, #-4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _EOF,4,2 ; @EOF .comm _INTERNAL_ERROR,4,2 ; @INTERNAL_ERROR .comm _ERANGE,8,3 ; @ERANGE .comm _UNEXPECTED_ERROR_CODE,4,2 ; @UNEXPECTED_ERROR_CODE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "file read" .comm _errno,8,3 ; @errno .comm _EDOM,8,3 ; @EDOM .comm _TRUNCATED,4,2 ; @TRUNCATED .comm _EINTR,8,3 ; @EINTR .no_dead_strip _read_byte .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function read_byte _read_byte: ## @read_byte .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 movl 16(%rax), %edi callq _getc movl %eax, -20(%rbp) cmpl $0, -20(%rbp) jl LBB0_3 ## %bb.1: cmpl $255, -20(%rbp) jg LBB0_3 ## %bb.2: movq -16(%rbp), %rax movl 20(%rax), %ecx addl $1, %ecx movl %ecx, 20(%rax) movl -20(%rbp), %eax movl %eax, -4(%rbp) jmp LBB0_14 LBB0_3: movl -20(%rbp), %eax movq _EOF@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax je LBB0_5 ## %bb.4: movq _INTERNAL_ERROR@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -16(%rbp), %rax orl (%rax), %ecx movl %ecx, (%rax) movq _ERANGE@GOTPCREL(%rip), %rax movq (%rax), %rcx movq -16(%rbp), %rax movq %rcx, 8(%rax) movq -16(%rbp), %rdi movq _UNEXPECTED_ERROR_CODE@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str(%rip), %rdx callq _emit_error jmp LBB0_12 LBB0_5: movq -16(%rbp), %rax movl 16(%rax), %edi callq _ferror cmpq $0, %rax je LBB0_7 ## %bb.6: movq _errno@GOTPCREL(%rip), %rax movq (%rax), %rcx movq -16(%rbp), %rax movq %rcx, 8(%rax) jmp LBB0_11 LBB0_7: movq -16(%rbp), %rax movl 16(%rax), %edi callq _feof cmpq $0, %rax je LBB0_9 ## %bb.8: movq -16(%rbp), %rax movq $0, 8(%rax) jmp LBB0_10 LBB0_9: movq _EDOM@GOTPCREL(%rip), %rax movq (%rax), %rcx movq -16(%rbp), %rax movq %rcx, 8(%rax) LBB0_10: jmp LBB0_11 LBB0_11: jmp LBB0_12 LBB0_12: jmp LBB0_13 LBB0_13: movq _TRUNCATED@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -16(%rbp), %rax orl (%rax), %ecx movl %ecx, (%rax) movq _EOF@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) LBB0_14: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _EOF,4,2 ## @EOF .comm _INTERNAL_ERROR,4,2 ## @INTERNAL_ERROR .comm _ERANGE,8,3 ## @ERANGE .comm _UNEXPECTED_ERROR_CODE,4,2 ## @UNEXPECTED_ERROR_CODE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "file read" .comm _errno,8,3 ## @errno .comm _EDOM,8,3 ## @EDOM .comm _TRUNCATED,4,2 ## @TRUNCATED .comm _EINTR,8,3 ## @EINTR .no_dead_strip _read_byte .subsections_via_symbols
AnghaBench/Provenance/Cores/Mupen64Plus/png/contrib/tools/extr_pngfix.c_read_byte.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _TS_CONF_set_signer_key ; -- Begin function TS_CONF_set_signer_key .p2align 2 _TS_CONF_set_signer_key: ; @TS_CONF_set_signer_key .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] str x4, [sp, #24] str wzr, [sp, #20] ; kill: def $x8 killed $xzr str xzr, [sp, #8] ldur x8, [x29, #-24] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldur x0, [x29, #-8] ldur x1, [x29, #-16] adrp x8, _ENV_SIGNER_KEY@GOTPAGE ldr x8, [x8, _ENV_SIGNER_KEY@GOTPAGEOFF] ldr w2, [x8] bl _NCONF_get_string stur x0, [x29, #-24] b LBB0_2 LBB0_2: ldur x8, [x29, #-24] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldur x0, [x29, #-16] adrp x8, _ENV_SIGNER_KEY@GOTPAGE ldr x8, [x8, _ENV_SIGNER_KEY@GOTPAGEOFF] ldr w1, [x8] bl _ts_CONF_lookup_fail b LBB0_9 LBB0_4: ldur x0, [x29, #-24] ldr x1, [sp, #32] bl _TS_CONF_load_key mov x8, x0 str x8, [sp, #8] subs x8, x0, #0 cset w8, ne tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: b LBB0_9 LBB0_6: ldr x0, [sp, #24] ldr x1, [sp, #8] bl _TS_RESP_CTX_set_signer_key subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: b LBB0_9 LBB0_8: mov w8, #1 str w8, [sp, #20] b LBB0_9 LBB0_9: ldr x0, [sp, #8] bl _EVP_PKEY_free ldr w0, [sp, #20] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _ENV_SIGNER_KEY,4,2 ; @ENV_SIGNER_KEY .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _TS_CONF_set_signer_key ## -- Begin function TS_CONF_set_signer_key .p2align 4, 0x90 _TS_CONF_set_signer_key: ## @TS_CONF_set_signer_key .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) movl $0, -44(%rbp) movq $0, -56(%rbp) cmpq $0, -24(%rbp) jne LBB0_2 ## %bb.1: movq -8(%rbp), %rdi movq -16(%rbp), %rsi movq _ENV_SIGNER_KEY@GOTPCREL(%rip), %rax movl (%rax), %edx callq _NCONF_get_string movq %rax, -24(%rbp) LBB0_2: cmpq $0, -24(%rbp) jne LBB0_4 ## %bb.3: movq -16(%rbp), %rdi movq _ENV_SIGNER_KEY@GOTPCREL(%rip), %rax movl (%rax), %esi callq _ts_CONF_lookup_fail jmp LBB0_9 LBB0_4: movq -24(%rbp), %rdi movq -32(%rbp), %rsi callq _TS_CONF_load_key movq %rax, -56(%rbp) cmpq $0, %rax jne LBB0_6 ## %bb.5: jmp LBB0_9 LBB0_6: movq -40(%rbp), %rdi movq -56(%rbp), %rsi callq _TS_RESP_CTX_set_signer_key cmpl $0, %eax jne LBB0_8 ## %bb.7: jmp LBB0_9 LBB0_8: movl $1, -44(%rbp) LBB0_9: movq -56(%rbp), %rdi callq _EVP_PKEY_free movl -44(%rbp), %eax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _ENV_SIGNER_KEY,4,2 ## @ENV_SIGNER_KEY .subsections_via_symbols
AnghaBench/openssl/crypto/ts/extr_ts_conf.c_TS_CONF_set_signer_key.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function REBAR_Notify _REBAR_Notify: ; @REBAR_Notify .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] ldr x0, [sp, #16] bl _REBAR_GetNotifyParent str w0, [sp, #8] ldr x8, [sp, #16] ldr w0, [x8, #8] bl _GetDlgCtrlID ldur x8, [x29, #-8] str w0, [x8] ldr x8, [sp, #16] ldr w8, [x8, #8] ldur x9, [x29, #-8] str w8, [x9, #8] ldr w8, [sp, #12] ldur x9, [x29, #-8] str w8, [x9, #4] ldr w1, [sp, #8] ldr w2, [sp, #12] ldr x8, [sp, #16] ldr x8, [x8] 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 adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _TRACE ldr w0, [sp, #8] adrp x8, _WM_NOTIFY@GOTPAGE ldr x8, [x8, _WM_NOTIFY@GOTPAGEOFF] ldr w1, [x8] ldur x8, [x29, #-8] ldr w2, [x8] ldur x8, [x29, #-8] mov x3, x8 bl _SendMessageW 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 "window %p, code=%08x, via %s\n" l_.str.1: ; @.str.1 .asciz "Unicode" l_.str.2: ; @.str.2 .asciz "ANSI" .comm _WM_NOTIFY,4,2 ; @WM_NOTIFY .no_dead_strip _REBAR_Notify .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function REBAR_Notify _REBAR_Notify: ## @REBAR_Notify .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 -16(%rbp), %rdi callq _REBAR_GetNotifyParent movl %eax, -24(%rbp) movq -16(%rbp), %rax movl 8(%rax), %edi callq _GetDlgCtrlID movl %eax, %ecx movq -8(%rbp), %rax movl %ecx, (%rax) movq -16(%rbp), %rax movl 8(%rax), %ecx movq -8(%rbp), %rax movl %ecx, 8(%rax) movl -20(%rbp), %ecx movq -8(%rbp), %rax movl %ecx, 4(%rax) movl -24(%rbp), %esi movl -20(%rbp), %edx movq -16(%rbp), %rax movq (%rax), %rdi leaq L_.str.2(%rip), %rcx leaq L_.str.1(%rip), %rax cmpq $0, %rdi cmovneq %rax, %rcx leaq L_.str(%rip), %rdi callq _TRACE movl -24(%rbp), %edi movq _WM_NOTIFY@GOTPCREL(%rip), %rax movl (%rax), %esi movq -8(%rbp), %rax movl (%rax), %edx movq -8(%rbp), %rax movl %eax, %ecx callq _SendMessageW addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "window %p, code=%08x, via %s\n" L_.str.1: ## @.str.1 .asciz "Unicode" L_.str.2: ## @.str.2 .asciz "ANSI" .comm _WM_NOTIFY,4,2 ## @WM_NOTIFY .no_dead_strip _REBAR_Notify .subsections_via_symbols
AnghaBench/reactos/dll/win32/comctl32/extr_rebar.c_REBAR_Notify.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _acpi_ut_create_thread_state ; -- Begin function acpi_ut_create_thread_state .p2align 2 _acpi_ut_create_thread_state: ; @acpi_ut_create_thread_state .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, l_.str@PAGE add x8, x8, l_.str@PAGEOFF ; kill: def $w8 killed $w8 killed $x8 str w8, [sp, #12] ; 4-byte Folded Spill adrp x8, _ut_create_thread_state@GOTPAGE ldr x8, [x8, _ut_create_thread_state@GOTPAGEOFF] ldr w0, [x8] bl _ACPI_FUNCTION_TRACE bl _acpi_ut_create_generic_state 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: mov x0, #0 bl _return_PTR b LBB0_2 LBB0_2: adrp x8, _ACPI_DESC_TYPE_STATE_THREAD@GOTPAGE ldr x8, [x8, _ACPI_DESC_TYPE_STATE_THREAD@GOTPAGEOFF] ldr w8, [x8] ldr x9, [sp, #16] str w8, [x9] bl _acpi_os_get_thread_id ldr x8, [sp, #16] str x0, [x8] ldr x8, [sp, #16] ldr x8, [x8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldr w0, [sp, #12] ; 4-byte Folded Reload bl _ACPI_ERROR ldr x9, [sp, #16] mov x8, #1 str x8, [x9] b LBB0_4 LBB0_4: ldr x0, [sp, #16] bl _return_PTR ldur x0, [x29, #-8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _ut_create_thread_state,4,2 ; @ut_create_thread_state .comm _ACPI_DESC_TYPE_STATE_THREAD,4,2 ; @ACPI_DESC_TYPE_STATE_THREAD .comm _AE_INFO,4,2 ; @AE_INFO .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Invalid zero ID from AcpiOsGetThreadId" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _acpi_ut_create_thread_state ## -- Begin function acpi_ut_create_thread_state .p2align 4, 0x90 _acpi_ut_create_thread_state: ## @acpi_ut_create_thread_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 $16, %rsp movq _ut_create_thread_state@GOTPCREL(%rip), %rax movl (%rax), %edi callq _ACPI_FUNCTION_TRACE movb $0, %al callq _acpi_ut_create_generic_state movq %rax, -16(%rbp) cmpq $0, -16(%rbp) jne LBB0_2 ## %bb.1: xorl %eax, %eax movl %eax, %edi callq _return_PTR LBB0_2: movq _ACPI_DESC_TYPE_STATE_THREAD@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -16(%rbp), %rax movl %ecx, (%rax) movb $0, %al callq _acpi_os_get_thread_id movq %rax, %rcx movq -16(%rbp), %rax movq %rcx, (%rax) movq -16(%rbp), %rax cmpq $0, (%rax) jne LBB0_4 ## %bb.3: leaq L_.str(%rip), %rax movl %eax, %edi callq _ACPI_ERROR movq -16(%rbp), %rax movq $1, (%rax) LBB0_4: movq -16(%rbp), %rdi callq _return_PTR movq -8(%rbp), %rax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _ut_create_thread_state,4,2 ## @ut_create_thread_state .comm _ACPI_DESC_TYPE_STATE_THREAD,4,2 ## @ACPI_DESC_TYPE_STATE_THREAD .comm _AE_INFO,4,2 ## @AE_INFO .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Invalid zero ID from AcpiOsGetThreadId" .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/acpi/acpica/extr_utstate.c_acpi_ut_create_thread_state.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ceph_pg_pool_name_by_id ; -- Begin function ceph_pg_pool_name_by_id .p2align 2 _ceph_pg_pool_name_by_id: ; @ceph_pg_pool_name_by_id .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] ldr x8, [sp, #24] adrp x9, _CEPH_NOPOOL@GOTPAGE ldr x9, [x9, _CEPH_NOPOOL@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ; kill: def $x8 killed $xzr stur xzr, [x29, #-8] b LBB0_8 LBB0_2: ldr x8, [sp, #24] adrp x9, _INT_MAX@GOTPAGE ldr x9, [x9, _INT_MAX@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, gt and w0, w8, #0x1 bl _WARN_ON_ONCE subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ; kill: def $x8 killed $xzr stur xzr, [x29, #-8] b LBB0_8 LBB0_4: ldur x0, [x29, #-16] ldr x8, [sp, #24] mov x1, x8 bl ___lookup_pg_pool str x0, [sp, #16] ldr x8, [sp, #16] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ldr x8, [sp, #16] ldr x8, [x8] str x8, [sp, #8] ; 8-byte Folded Spill b LBB0_7 LBB0_6: mov x8, #0 str x8, [sp, #8] ; 8-byte Folded Spill b LBB0_7 LBB0_7: ldr x8, [sp, #8] ; 8-byte Folded Reload stur x8, [x29, #-8] b LBB0_8 LBB0_8: ldur x0, [x29, #-8] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _CEPH_NOPOOL,8,3 ; @CEPH_NOPOOL .comm _INT_MAX,8,3 ; @INT_MAX .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ceph_pg_pool_name_by_id ## -- Begin function ceph_pg_pool_name_by_id .p2align 4, 0x90 _ceph_pg_pool_name_by_id: ## @ceph_pg_pool_name_by_id .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 -24(%rbp), %rax movq _CEPH_NOPOOL@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_2 ## %bb.1: movq $0, -8(%rbp) jmp LBB0_8 LBB0_2: movq -24(%rbp), %rax movq _INT_MAX@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax setg %al andb $1, %al movzbl %al, %edi callq _WARN_ON_ONCE cmpq $0, %rax je LBB0_4 ## %bb.3: movq $0, -8(%rbp) jmp LBB0_8 LBB0_4: movq -16(%rbp), %rdi movq -24(%rbp), %rax movl %eax, %esi callq ___lookup_pg_pool movq %rax, -32(%rbp) cmpq $0, -32(%rbp) je LBB0_6 ## %bb.5: movq -32(%rbp), %rax movq (%rax), %rax movq %rax, -40(%rbp) ## 8-byte Spill jmp LBB0_7 LBB0_6: xorl %eax, %eax ## kill: def $rax killed $eax movq %rax, -40(%rbp) ## 8-byte Spill jmp LBB0_7 LBB0_7: movq -40(%rbp), %rax ## 8-byte Reload movq %rax, -8(%rbp) LBB0_8: movq -8(%rbp), %rax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _CEPH_NOPOOL,8,3 ## @CEPH_NOPOOL .comm _INT_MAX,8,3 ## @INT_MAX .subsections_via_symbols
AnghaBench/linux/net/ceph/extr_osdmap.c_ceph_pg_pool_name_by_id.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cache_remove_dev _cache_remove_dev: ; @cache_remove_dev .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, _all_cpu_cache_info@GOTPAGE ldr x8, [x8, _all_cpu_cache_info@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill stur w0, [x29, #-4] str xzr, [sp, #16] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x9, [sp, #8] ; 8-byte Folded Reload ldr x8, [sp, #16] ldr x9, [x9] ldur w10, [x29, #-4] ; kill: def $x10 killed $w10 lsl x10, x10, #4 ldr x9, [x9, x10] 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 w0, [x29, #-4] ldr x1, [sp, #16] bl _LEAF_KOBJECT_PTR bl _kobject_put 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, #8] ; 8-byte Folded Reload ldr x8, [x8] ldur w9, [x29, #-4] ; kill: def $x9 killed $w9 add x8, x8, x9, lsl #4 ldr x8, [x8, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ldr x8, [sp, #8] ; 8-byte Folded Reload ldr x8, [x8] ldur w9, [x29, #-4] ; kill: def $x9 killed $w9 add x8, x8, x9, lsl #4 add x0, x8, #8 bl _kobject_put ldr x8, [sp, #8] ; 8-byte Folded Reload ldr x8, [x8] ldur w9, [x29, #-4] ; kill: def $x9 killed $w9 add x8, x8, x9, lsl #4 add x0, x8, #8 mov w1, #0 mov w2, #4 bl _memset b LBB0_6 LBB0_6: ldur w0, [x29, #-4] bl _cpu_cache_sysfs_exit mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _all_cpu_cache_info,8,3 ; @all_cpu_cache_info .no_dead_strip _cache_remove_dev .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cache_remove_dev _cache_remove_dev: ## @cache_remove_dev .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 $0, -16(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movq -16(%rbp), %rax movq _all_cpu_cache_info@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movl -4(%rbp), %edx ## kill: def $rdx killed $edx shlq $4, %rdx addq %rdx, %rcx cmpq (%rcx), %rax jae LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl -4(%rbp), %edi movq -16(%rbp), %rsi callq _LEAF_KOBJECT_PTR movq %rax, %rdi callq _kobject_put ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movq -16(%rbp), %rax addq $1, %rax movq %rax, -16(%rbp) jmp LBB0_1 LBB0_4: movq _all_cpu_cache_info@GOTPCREL(%rip), %rax movq (%rax), %rax movl -4(%rbp), %ecx ## kill: def $rcx killed $ecx shlq $4, %rcx addq %rcx, %rax cmpq $0, 8(%rax) je LBB0_6 ## %bb.5: movq _all_cpu_cache_info@GOTPCREL(%rip), %rax movq (%rax), %rdi movl -4(%rbp), %eax ## kill: def $rax killed $eax shlq $4, %rax addq %rax, %rdi addq $8, %rdi callq _kobject_put movq _all_cpu_cache_info@GOTPCREL(%rip), %rax movq (%rax), %rdi movl -4(%rbp), %eax ## kill: def $rax killed $eax shlq $4, %rax addq %rax, %rdi addq $8, %rdi xorl %esi, %esi movl $4, %edx callq _memset LBB0_6: movl -4(%rbp), %edi callq _cpu_cache_sysfs_exit xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _all_cpu_cache_info,8,3 ## @all_cpu_cache_info .no_dead_strip _cache_remove_dev .subsections_via_symbols
AnghaBench/linux/arch/ia64/kernel/extr_topology.c_cache_remove_dev.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function handle_touch_down _handle_touch_down: ; @handle_touch_down .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 x8, [x29, #-24] mov x1, x8 adrp x8, _touch_down@GOTPAGE ldr x8, [x8, _touch_down@GOTPAGEOFF] ldr w2, [x8] bl _wl_container_of stur x0, [x29, #-24] adrp x8, _server@GOTPAGE ldr x8, [x8, _server@GOTPAGEOFF] ldr w0, [x8] ldur x8, [x29, #-24] ldr x8, [x8, #8] ldr x1, [x8, #24] bl _wlr_idle_notify_activity ldur x8, [x29, #-16] stur x8, [x29, #-32] ldur x8, [x29, #-24] ldr x8, [x8, #8] stur x8, [x29, #-40] ldur x8, [x29, #-40] ldr x8, [x8, #24] str x8, [sp, #48] add x8, sp, #40 str x8, [sp] ; 8-byte Folded Spill ; kill: def $x8 killed $xzr str xzr, [sp, #40] ldur x8, [x29, #-24] ldr w0, [x8] ldur x8, [x29, #-32] ldr w1, [x8, #16] ldur x8, [x29, #-32] ldr w2, [x8, #12] ldur x8, [x29, #-32] ldr w3, [x8, #8] add x4, sp, #32 add x5, sp, #24 bl _wlr_cursor_absolute_to_layout_coords ldr x1, [sp] ; 8-byte Folded Reload ldur x0, [x29, #-40] ldr d0, [sp, #32] ldr d1, [sp, #24] add x2, sp, #16 add x3, sp, #8 bl _node_at_coords ldur x8, [x29, #-32] ldr w8, [x8] ldur x9, [x29, #-40] str w8, [x9, #16] ldr d0, [sp, #32] ldur x8, [x29, #-40] str d0, [x8] ldr d0, [sp, #24] ldur x8, [x29, #-40] str d0, [x8, #8] ldr x8, [sp, #40] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: b LBB0_4 LBB0_2: ldur x0, [x29, #-40] ldr x1, [sp, #40] bl _seat_is_input_allowed subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldr x0, [sp, #48] ldr x1, [sp, #40] ldur x8, [x29, #-32] ldr w2, [x8, #4] ldur x8, [x29, #-32] ldr w3, [x8] ldr d0, [sp, #16] ldr d1, [sp, #8] bl _wlr_seat_touch_notify_down ldur x0, [x29, #-24] bl _cursor_hide b LBB0_4 LBB0_4: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload add sp, sp, #112 ret .cfi_endproc ; -- End function .comm _touch_down,4,2 ; @touch_down .comm _server,4,2 ; @server .comm _cursor,8,3 ; @cursor .no_dead_strip _handle_touch_down .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function handle_touch_down _handle_touch_down: ## @handle_touch_down .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) movq %rsi, -16(%rbp) movq -8(%rbp), %rdi movq -24(%rbp), %rax movl %eax, %esi movq _touch_down@GOTPCREL(%rip), %rax movl (%rax), %edx callq _wl_container_of movq %rax, -24(%rbp) movq _server@GOTPCREL(%rip), %rax movl (%rax), %edi movq -24(%rbp), %rax movq 8(%rax), %rax movq 24(%rax), %rsi callq _wlr_idle_notify_activity movq -16(%rbp), %rax movq %rax, -32(%rbp) movq -24(%rbp), %rax movq 8(%rax), %rax movq %rax, -40(%rbp) movq -40(%rbp), %rax movq 24(%rax), %rax movq %rax, -48(%rbp) movq $0, -56(%rbp) movq -24(%rbp), %rax movl (%rax), %edi movq -32(%rbp), %rax movl 16(%rax), %esi movq -32(%rbp), %rax movl 12(%rax), %edx movq -32(%rbp), %rax movl 8(%rax), %ecx leaq -64(%rbp), %r8 leaq -72(%rbp), %r9 callq _wlr_cursor_absolute_to_layout_coords movq -40(%rbp), %rdi movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -72(%rbp), %xmm1 ## xmm1 = mem[0],zero leaq -56(%rbp), %rsi leaq -80(%rbp), %rdx leaq -88(%rbp), %rcx callq _node_at_coords movq -32(%rbp), %rax movl (%rax), %ecx movq -40(%rbp), %rax movl %ecx, 16(%rax) movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero movq -40(%rbp), %rax movsd %xmm0, (%rax) movsd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero movq -40(%rbp), %rax movsd %xmm0, 8(%rax) cmpq $0, -56(%rbp) jne LBB0_2 ## %bb.1: jmp LBB0_4 LBB0_2: movq -40(%rbp), %rdi movq -56(%rbp), %rsi callq _seat_is_input_allowed cmpq $0, %rax je LBB0_4 ## %bb.3: movq -48(%rbp), %rdi movq -56(%rbp), %rsi movq -32(%rbp), %rax movl 4(%rax), %edx movq -32(%rbp), %rax movl (%rax), %ecx movsd -80(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -88(%rbp), %xmm1 ## xmm1 = mem[0],zero callq _wlr_seat_touch_notify_down movq -24(%rbp), %rdi callq _cursor_hide LBB0_4: addq $96, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _touch_down,4,2 ## @touch_down .comm _server,4,2 ## @server .comm _cursor,8,3 ## @cursor .no_dead_strip _handle_touch_down .subsections_via_symbols
AnghaBench/sway/sway/input/extr_cursor.c_handle_touch_down.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function kvm_starting_cpu _kvm_starting_cpu: ; @kvm_starting_cpu .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 x0, _kvm_count_lock@GOTPAGE ldr x0, [x0, _kvm_count_lock@GOTPAGEOFF] bl _raw_spin_lock adrp x8, _kvm_usage_count@GOTPAGE ldr x8, [x8, _kvm_usage_count@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: mov x0, #0 bl _hardware_enable_nolock b LBB0_2 LBB0_2: adrp x0, _kvm_count_lock@GOTPAGE ldr x0, [x0, _kvm_count_lock@GOTPAGEOFF] bl _raw_spin_unlock mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _kvm_count_lock,4,2 ; @kvm_count_lock .comm _kvm_usage_count,8,3 ; @kvm_usage_count .no_dead_strip _kvm_starting_cpu .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function kvm_starting_cpu _kvm_starting_cpu: ## @kvm_starting_cpu .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 _kvm_count_lock@GOTPCREL(%rip), %rdi callq _raw_spin_lock movq _kvm_usage_count@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_2 ## %bb.1: xorl %eax, %eax movl %eax, %edi callq _hardware_enable_nolock LBB0_2: movq _kvm_count_lock@GOTPCREL(%rip), %rdi callq _raw_spin_unlock xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _kvm_count_lock,4,2 ## @kvm_count_lock .comm _kvm_usage_count,8,3 ## @kvm_usage_count .no_dead_strip _kvm_starting_cpu .subsections_via_symbols
AnghaBench/linux/virt/kvm/extr_kvm_main.c_kvm_starting_cpu.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function i2c_opal_remove _i2c_opal_remove: ; @i2c_opal_remove .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 _platform_get_drvdata str x0, [sp] ldr x0, [sp] bl _i2c_del_adapter mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _i2c_opal_remove .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function i2c_opal_remove _i2c_opal_remove: ## @i2c_opal_remove .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 _platform_get_drvdata movq %rax, -16(%rbp) movq -16(%rbp), %rdi callq _i2c_del_adapter xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _i2c_opal_remove .subsections_via_symbols
AnghaBench/linux/drivers/i2c/busses/extr_i2c-opal.c_i2c_opal_remove.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pmap_destroy_pcid_sync ; -- Begin function pmap_destroy_pcid_sync .p2align 2 _pmap_destroy_pcid_sync: ; @pmap_destroy_pcid_sync .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] bl _ml_get_interrupts_enabled adrp x8, _FALSE@GOTPAGE ldr x8, [x8, _FALSE@GOTPAGEOFF] ldr x8, [x8] subs x8, x0, x8 cset w8, eq mov w9, #1 str w9, [sp] ; 4-byte Folded Spill tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: bl _get_preemption_level 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 w0, w8, #0x1 bl _pmap_assert str wzr, [sp, #4] b LBB0_3 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #4] adrp x9, _PMAP_PCID_MAX_CPUS@GOTPAGE ldr x9, [x9, _PMAP_PCID_MAX_CPUS@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_8 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [sp, #8] ldr x8, [x8] ldrsw x9, [sp, #4] ldr x8, [x8, x9, lsl #3] adrp x9, _PMAP_PCID_INVALID_PCID@GOTPAGE ldr x9, [x9, _PMAP_PCID_INVALID_PCID@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_3 Depth=1 ldr w0, [sp, #4] ldr x1, [sp, #8] bl _pmap_pcid_deallocate_pcid b LBB0_6 LBB0_6: ; in Loop: Header=BB0_3 Depth=1 b LBB0_7 LBB0_7: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [sp, #4] add w8, w8, #1 str w8, [sp, #4] b LBB0_3 LBB0_8: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _FALSE,8,3 ; @FALSE .comm _PMAP_PCID_MAX_CPUS,4,2 ; @PMAP_PCID_MAX_CPUS .comm _PMAP_PCID_INVALID_PCID,8,3 ; @PMAP_PCID_INVALID_PCID .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pmap_destroy_pcid_sync ## -- Begin function pmap_destroy_pcid_sync .p2align 4, 0x90 _pmap_destroy_pcid_sync: ## @pmap_destroy_pcid_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 $16, %rsp movq %rdi, -8(%rbp) movb $0, %al callq _ml_get_interrupts_enabled movq %rax, %rcx movb $1, %al movq _FALSE@GOTPCREL(%rip), %rdx cmpq (%rdx), %rcx movb %al, -13(%rbp) ## 1-byte Spill je LBB0_2 ## %bb.1: movb $0, %al callq _get_preemption_level cmpq $0, %rax setne %al movb %al, -13(%rbp) ## 1-byte Spill LBB0_2: movb -13(%rbp), %al ## 1-byte Reload andb $1, %al movzbl %al, %edi callq _pmap_assert movl $0, -12(%rbp) LBB0_3: ## =>This Inner Loop Header: Depth=1 movl -12(%rbp), %eax movq _PMAP_PCID_MAX_CPUS@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jge LBB0_8 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movq -8(%rbp), %rax movq (%rax), %rax movslq -12(%rbp), %rcx movq (%rax,%rcx,8), %rax movq _PMAP_PCID_INVALID_PCID@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_6 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movl -12(%rbp), %edi movq -8(%rbp), %rsi callq _pmap_pcid_deallocate_pcid LBB0_6: ## in Loop: Header=BB0_3 Depth=1 jmp LBB0_7 LBB0_7: ## in Loop: Header=BB0_3 Depth=1 movl -12(%rbp), %eax addl $1, %eax movl %eax, -12(%rbp) jmp LBB0_3 LBB0_8: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _FALSE,8,3 ## @FALSE .comm _PMAP_PCID_MAX_CPUS,4,2 ## @PMAP_PCID_MAX_CPUS .comm _PMAP_PCID_INVALID_PCID,8,3 ## @PMAP_PCID_INVALID_PCID .subsections_via_symbols
AnghaBench/darwin-xnu/osfmk/x86_64/extr_pmap_pcid.c_pmap_destroy_pcid_sync.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _readLE64 ; -- Begin function readLE64 .p2align 2 _readLE64: ; @readLE64 .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] bl _r_buf_size ldr w8, [sp, #4] add w8, w8, #8 subs w8, w0, w8 cset w8, lt tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x0, [sp, #8] ldr w1, [sp, #4] bl _r_buf_read_le64_at str w0, [sp] ; 4-byte Folded Spill b LBB0_3 LBB0_2: mov w8, #0 str w8, [sp] ; 4-byte Folded Spill b LBB0_3 LBB0_3: ldr w0, [sp] ; 4-byte Folded Reload 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 _readLE64 ## -- Begin function readLE64 .p2align 4, 0x90 _readLE64: ## @readLE64 .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 callq _r_buf_size movl -12(%rbp), %ecx addl $8, %ecx cmpl %ecx, %eax jl LBB0_2 ## %bb.1: movq -8(%rbp), %rdi movl -12(%rbp), %esi callq _r_buf_read_le64_at movl %eax, -16(%rbp) ## 4-byte Spill jmp LBB0_3 LBB0_2: xorl %eax, %eax movl %eax, -16(%rbp) ## 4-byte Spill jmp LBB0_3 LBB0_3: movl -16(%rbp), %eax ## 4-byte Reload addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/radare2/libr/bin/format/nxo/extr_nxo.c_readLE64.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bstp_set_port_proto _bstp_set_port_proto: ; @bstp_set_port_proto .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] ldur x8, [x29, #-8] ldr x8, [x8, #24] str x8, [sp, #8] ldur w8, [x29, #-12] str w8, [sp, #4] ; 4-byte Folded Spill subs w8, w8, #128 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr w8, [sp, #4] ; 4-byte Folded Reload subs w8, w8, #129 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_6 LBB0_2: ldur x8, [x29, #-8] add x0, x8, #12 bl _bstp_timer_stop ldur x8, [x29, #-8] str wzr, [x8, #16] ldur x8, [x29, #-8] ldr w8, [x8] subs w8, w8, #16, lsl #12 ; =65536 cset w8, lt tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldur x9, [x29, #-8] mov w8, #65535 str w8, [x9] b LBB0_4 LBB0_4: b LBB0_7 LBB0_5: ldur x8, [x29, #-8] add x0, x8, #12 ldr x8, [sp, #8] ldr w1, [x8] bl _bstp_timer_start b LBB0_7 LBB0_6: ldur w1, [x29, #-12] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _DPRINTF b LBB0_8 LBB0_7: ldur w8, [x29, #-12] ldur x9, [x29, #-8] str w8, [x9, #4] adrp x8, _BSTP_PORT_CANMIGRATE@GOTPAGE ldr x8, [x8, _BSTP_PORT_CANMIGRATE@GOTPAGEOFF] ldr w10, [x8] ldur x9, [x29, #-8] ldr w8, [x9, #8] bic w8, w8, w10 str w8, [x9, #8] b LBB0_8 LBB0_8: 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 "Unsupported STP version %d\n" .comm _BSTP_PORT_CANMIGRATE,4,2 ; @BSTP_PORT_CANMIGRATE .no_dead_strip _bstp_set_port_proto .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bstp_set_port_proto _bstp_set_port_proto: ## @bstp_set_port_proto .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 -8(%rbp), %rax movq 24(%rax), %rax movq %rax, -24(%rbp) movl -12(%rbp), %eax movl %eax, -28(%rbp) ## 4-byte Spill subl $128, %eax je LBB0_1 jmp LBB0_8 LBB0_8: movl -28(%rbp), %eax ## 4-byte Reload subl $129, %eax je LBB0_4 jmp LBB0_5 LBB0_1: movq -8(%rbp), %rdi addq $12, %rdi callq _bstp_timer_stop movq -8(%rbp), %rax movl $0, 16(%rax) movq -8(%rbp), %rax cmpl $65535, (%rax) ## imm = 0xFFFF jle LBB0_3 ## %bb.2: movq -8(%rbp), %rax movl $65535, (%rax) ## imm = 0xFFFF LBB0_3: jmp LBB0_6 LBB0_4: movq -8(%rbp), %rdi addq $12, %rdi movq -24(%rbp), %rax movl (%rax), %esi callq _bstp_timer_start jmp LBB0_6 LBB0_5: movl -12(%rbp), %esi leaq L_.str(%rip), %rdi callq _DPRINTF jmp LBB0_7 LBB0_6: movl -12(%rbp), %ecx movq -8(%rbp), %rax movl %ecx, 4(%rax) movq _BSTP_PORT_CANMIGRATE@GOTPCREL(%rip), %rax movl (%rax), %ecx xorl $-1, %ecx movq -8(%rbp), %rax andl 8(%rax), %ecx movl %ecx, 8(%rax) LBB0_7: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Unsupported STP version %d\n" .comm _BSTP_PORT_CANMIGRATE,4,2 ## @BSTP_PORT_CANMIGRATE .no_dead_strip _bstp_set_port_proto .subsections_via_symbols
AnghaBench/freebsd/sys/net/extr_bridgestp.c_bstp_set_port_proto.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sblastrecordchk ; -- Begin function sblastrecordchk .p2align 2 _sblastrecordchk: ; @sblastrecordchk .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, #-8] stur x1, [x29, #-16] ldur x8, [x29, #-8] ldr x8, [x8] stur x8, [x29, #-24] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldur x8, [x29, #-24] subs x8, x8, #0 cset w8, eq mov w9, #0 stur w9, [x29, #-28] ; 4-byte Folded Spill tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldur x8, [x29, #-24] ldr x8, [x8] subs x8, x8, #0 cset w8, ne stur w8, [x29, #-28] ; 4-byte Folded Spill b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-28] ; 4-byte Folded Reload tbz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 ldur x8, [x29, #-24] ldr x8, [x8] stur x8, [x29, #-24] b LBB0_1 LBB0_5: ldur x8, [x29, #-24] ldur x9, [x29, #-8] ldr x9, [x9, #8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_11 b LBB0_6 LBB0_6: ldur x8, [x29, #-8] ldr x0, [x8] bl _VM_KERNEL_ADDRPERM str x0, [sp, #32] ; 8-byte Folded Spill ldur x8, [x29, #-8] ldr x0, [x8, #8] bl _VM_KERNEL_ADDRPERM str x0, [sp, #40] ; 8-byte Folded Spill ldur x0, [x29, #-24] bl _VM_KERNEL_ADDRPERM ldr x10, [sp, #32] ; 8-byte Folded Reload ldr x9, [sp, #40] ; 8-byte Folded Reload mov x8, sp str x10, [x8] str x9, [x8, #8] str x0, [x8, #16] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf ldur x8, [x29, #-8] ldr x8, [x8] stur x8, [x29, #-24] b LBB0_7 LBB0_7: ; =>This Inner Loop Header: Depth=1 ldur x8, [x29, #-24] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_8 LBB0_8: ; in Loop: Header=BB0_7 Depth=1 ldur x0, [x29, #-24] bl _VM_KERNEL_ADDRPERM mov x8, sp str x0, [x8] adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf b LBB0_9 LBB0_9: ; in Loop: Header=BB0_7 Depth=1 ldur x8, [x29, #-24] ldr x8, [x8] stur x8, [x29, #-24] b LBB0_7 LBB0_10: ldur x1, [x29, #-16] adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _panic b LBB0_11 LBB0_11: 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 "sblastrecordchk: mb 0x%llx lastrecord 0x%llx last 0x%llx\n" l_.str.1: ; @.str.1 .asciz "packet chain:\n" l_.str.2: ; @.str.2 .asciz "\t0x%llx\n" l_.str.3: ; @.str.3 .asciz "sblastrecordchk from %s" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sblastrecordchk ## -- Begin function sblastrecordchk .p2align 4, 0x90 _sblastrecordchk: ## @sblastrecordchk .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 -8(%rbp), %rax movq (%rax), %rax movq %rax, -24(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpq $0, -24(%rbp) movb %al, -25(%rbp) ## 1-byte Spill je LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq -24(%rbp), %rax cmpq $0, (%rax) setne %al movb %al, -25(%rbp) ## 1-byte Spill LBB0_3: ## in Loop: Header=BB0_1 Depth=1 movb -25(%rbp), %al ## 1-byte Reload testb $1, %al jne LBB0_4 jmp LBB0_5 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 movq -24(%rbp), %rax movq (%rax), %rax movq %rax, -24(%rbp) jmp LBB0_1 LBB0_5: movq -24(%rbp), %rax movq -8(%rbp), %rcx cmpq 8(%rcx), %rax je LBB0_11 ## %bb.6: movq -8(%rbp), %rax movq (%rax), %rdi callq _VM_KERNEL_ADDRPERM ## kill: def $eax killed $eax killed $rax movl %eax, -36(%rbp) ## 4-byte Spill movq -8(%rbp), %rax movq 8(%rax), %rdi callq _VM_KERNEL_ADDRPERM ## kill: def $eax killed $eax killed $rax movl %eax, -32(%rbp) ## 4-byte Spill movq -24(%rbp), %rdi callq _VM_KERNEL_ADDRPERM movl -36(%rbp), %esi ## 4-byte Reload movl -32(%rbp), %edx ## 4-byte Reload movl %eax, %ecx leaq L_.str(%rip), %rdi movb $0, %al callq _printf leaq L_.str.1(%rip), %rdi movb $0, %al callq _printf movq -8(%rbp), %rax movq (%rax), %rax movq %rax, -24(%rbp) LBB0_7: ## =>This Inner Loop Header: Depth=1 cmpq $0, -24(%rbp) je LBB0_10 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 movq -24(%rbp), %rdi callq _VM_KERNEL_ADDRPERM movl %eax, %esi leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf ## %bb.9: ## in Loop: Header=BB0_7 Depth=1 movq -24(%rbp), %rax movq (%rax), %rax movq %rax, -24(%rbp) jmp LBB0_7 LBB0_10: movq -16(%rbp), %rsi leaq L_.str.3(%rip), %rdi callq _panic LBB0_11: addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "sblastrecordchk: mb 0x%llx lastrecord 0x%llx last 0x%llx\n" L_.str.1: ## @.str.1 .asciz "packet chain:\n" L_.str.2: ## @.str.2 .asciz "\t0x%llx\n" L_.str.3: ## @.str.3 .asciz "sblastrecordchk from %s" .subsections_via_symbols
AnghaBench/darwin-xnu/bsd/kern/extr_uipc_socket2.c_sblastrecordchk.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ali_c2_cable_detect _ali_c2_cable_detect: ; @ali_c2_cable_detect .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, #8] ldr w0, [x8] bl _to_pci_dev str x0, [sp, #8] ldr x0, [sp, #8] bl _ali_cable_override subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _ATA_CBL_PATA40_SHORT@GOTPAGE ldr x8, [x8, _ATA_CBL_PATA40_SHORT@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-4] b LBB0_5 LBB0_2: ldr x0, [sp, #8] mov w1, #74 add x2, sp, #4 bl _pci_read_config_byte ldr w8, [sp, #4] ldr x9, [sp, #16] ldr w10, [x9] mov w9, #1 lsl w9, w9, w10 ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: adrp x8, _ATA_CBL_PATA40@GOTPAGE ldr x8, [x8, _ATA_CBL_PATA40@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-4] b LBB0_5 LBB0_4: adrp x8, _ATA_CBL_PATA80@GOTPAGE ldr x8, [x8, _ATA_CBL_PATA80@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-4] b LBB0_5 LBB0_5: ldur w0, [x29, #-4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _ATA_CBL_PATA40_SHORT,4,2 ; @ATA_CBL_PATA40_SHORT .comm _ATA_CBL_PATA40,4,2 ; @ATA_CBL_PATA40 .comm _ATA_CBL_PATA80,4,2 ; @ATA_CBL_PATA80 .no_dead_strip _ali_c2_cable_detect .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ali_c2_cable_detect _ali_c2_cable_detect: ## @ali_c2_cable_detect .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 8(%rax), %rax movl (%rax), %edi callq _to_pci_dev movq %rax, -24(%rbp) movq -24(%rbp), %rdi callq _ali_cable_override cmpq $0, %rax je LBB0_2 ## %bb.1: movq _ATA_CBL_PATA40_SHORT@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_5 LBB0_2: movq -24(%rbp), %rdi movl $74, %esi leaq -28(%rbp), %rdx callq _pci_read_config_byte movl -28(%rbp), %eax movq -16(%rbp), %rcx movl (%rcx), %ecx movl $1, %edx ## kill: def $cl killed $ecx shll %cl, %edx movl %edx, %ecx andl %ecx, %eax cmpl $0, %eax je LBB0_4 ## %bb.3: movq _ATA_CBL_PATA40@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_5 LBB0_4: movq _ATA_CBL_PATA80@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) LBB0_5: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _ATA_CBL_PATA40_SHORT,4,2 ## @ATA_CBL_PATA40_SHORT .comm _ATA_CBL_PATA40,4,2 ## @ATA_CBL_PATA40 .comm _ATA_CBL_PATA80,4,2 ## @ATA_CBL_PATA80 .no_dead_strip _ali_c2_cable_detect .subsections_via_symbols
AnghaBench/linux/drivers/ata/extr_pata_ali.c_ali_c2_cable_detect.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __mt7620_mii_write ; -- Begin function _mt7620_mii_write .p2align 2 __mt7620_mii_write: ; @_mt7620_mii_write .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] str w2, [sp, #8] str w3, [sp, #4] ldr x0, [sp, #16] bl _mt7620_mii_busy_wait subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: mov w8, #-1 stur w8, [x29, #-4] b LBB0_5 LBB0_2: ldrh w8, [sp, #4] str w8, [sp, #4] ldr x0, [sp, #16] adrp x8, _GSW_MDIO_ACCESS@GOTPAGE ldr x8, [x8, _GSW_MDIO_ACCESS@GOTPAGEOFF] ldr w8, [x8] adrp x9, _GSW_MDIO_START@GOTPAGE ldr x9, [x9, _GSW_MDIO_START@GOTPAGEOFF] ldr w9, [x9] orr w8, w8, w9 adrp x9, _GSW_MDIO_WRITE@GOTPAGE ldr x9, [x9, _GSW_MDIO_WRITE@GOTPAGEOFF] ldr w9, [x9] orr w8, w8, w9 ldr w9, [sp, #8] adrp x10, _GSW_MDIO_REG_SHIFT@GOTPAGE ldr x10, [x10, _GSW_MDIO_REG_SHIFT@GOTPAGEOFF] ldr w10, [x10] lsl w9, w9, w10 orr w8, w8, w9 ldr w9, [sp, #12] adrp x10, _GSW_MDIO_ADDR_SHIFT@GOTPAGE ldr x10, [x10, _GSW_MDIO_ADDR_SHIFT@GOTPAGEOFF] ldr w10, [x10] lsl w9, w9, w10 orr w8, w8, w9 ldr w9, [sp, #4] orr w1, w8, w9 adrp x8, _MT7620A_GSW_REG_PIAC@GOTPAGE ldr x8, [x8, _MT7620A_GSW_REG_PIAC@GOTPAGEOFF] ldr w2, [x8] bl _mtk_switch_w32 ldr x0, [sp, #16] bl _mt7620_mii_busy_wait subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: mov w8, #-1 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, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _GSW_MDIO_ACCESS,4,2 ; @GSW_MDIO_ACCESS .comm _GSW_MDIO_START,4,2 ; @GSW_MDIO_START .comm _GSW_MDIO_WRITE,4,2 ; @GSW_MDIO_WRITE .comm _GSW_MDIO_REG_SHIFT,4,2 ; @GSW_MDIO_REG_SHIFT .comm _GSW_MDIO_ADDR_SHIFT,4,2 ; @GSW_MDIO_ADDR_SHIFT .comm _MT7620A_GSW_REG_PIAC,4,2 ; @MT7620A_GSW_REG_PIAC .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __mt7620_mii_write ## -- Begin function _mt7620_mii_write .p2align 4, 0x90 __mt7620_mii_write: ## @_mt7620_mii_write .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) movl %edx, -24(%rbp) movl %ecx, -28(%rbp) movq -16(%rbp), %rdi callq _mt7620_mii_busy_wait cmpq $0, %rax je LBB0_2 ## %bb.1: movl $-1, -4(%rbp) jmp LBB0_5 LBB0_2: movl -28(%rbp), %eax andl $65535, %eax ## imm = 0xFFFF movl %eax, -28(%rbp) movq -16(%rbp), %rdi movq _GSW_MDIO_ACCESS@GOTPCREL(%rip), %rax movl (%rax), %esi movq _GSW_MDIO_START@GOTPCREL(%rip), %rax orl (%rax), %esi movq _GSW_MDIO_WRITE@GOTPCREL(%rip), %rax orl (%rax), %esi movl -24(%rbp), %eax movq _GSW_MDIO_REG_SHIFT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx ## kill: def $cl killed $ecx shll %cl, %eax orl %eax, %esi movl -20(%rbp), %eax movq _GSW_MDIO_ADDR_SHIFT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx ## kill: def $cl killed $ecx shll %cl, %eax orl %eax, %esi orl -28(%rbp), %esi movq _MT7620A_GSW_REG_PIAC@GOTPCREL(%rip), %rax movl (%rax), %edx callq _mtk_switch_w32 movq -16(%rbp), %rdi callq _mt7620_mii_busy_wait cmpq $0, %rax je LBB0_4 ## %bb.3: movl $-1, -4(%rbp) jmp LBB0_5 LBB0_4: movl $0, -4(%rbp) LBB0_5: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _GSW_MDIO_ACCESS,4,2 ## @GSW_MDIO_ACCESS .comm _GSW_MDIO_START,4,2 ## @GSW_MDIO_START .comm _GSW_MDIO_WRITE,4,2 ## @GSW_MDIO_WRITE .comm _GSW_MDIO_REG_SHIFT,4,2 ## @GSW_MDIO_REG_SHIFT .comm _GSW_MDIO_ADDR_SHIFT,4,2 ## @GSW_MDIO_ADDR_SHIFT .comm _MT7620A_GSW_REG_PIAC,4,2 ## @MT7620A_GSW_REG_PIAC .subsections_via_symbols
AnghaBench/openwrt/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/extr_mdio_mt7620.c__mt7620_mii_write.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dsl_deadlist_close ; -- Begin function dsl_deadlist_close .p2align 2 _dsl_deadlist_close: ; @dsl_deadlist_close .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] ldur x0, [x29, #-8] bl _dsl_deadlist_is_open bl _ASSERT ldur x8, [x29, #-8] add x0, x8, #80 bl _mutex_destroy ldur x8, [x29, #-8] ldr x8, [x8, #72] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _B_FALSE@GOTPAGE ldr x8, [x8, _B_FALSE@GOTPAGEOFF] ldr x8, [x8] ldur x9, [x29, #-8] str x8, [x9, #72] ldur x8, [x29, #-8] add x0, x8, #64 bl _bpobj_close ldur x8, [x29, #-8] ; kill: def $x9 killed $xzr str xzr, [x8, #8] ldur x8, [x29, #-8] str xzr, [x8] b LBB0_13 LBB0_2: ldur x8, [x29, #-8] ldr x8, [x8, #56] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_7 b LBB0_3 LBB0_3: ; kill: def $x8 killed $xzr str xzr, [sp, #24] b LBB0_4 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldur x8, [x29, #-8] add x0, x8, #48 add x1, sp, #24 bl _avl_destroy_nodes mov x8, x0 stur x8, [x29, #-16] subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_4 Depth=1 ldur x0, [x29, #-16] bl _bpobj_close ldur x0, [x29, #-16] mov w1, #4 bl _kmem_free b LBB0_4 LBB0_6: ldur x8, [x29, #-8] add x0, x8, #48 bl _avl_destroy b LBB0_7 LBB0_7: ldur x8, [x29, #-8] ldr x8, [x8, #40] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_12 b LBB0_8 LBB0_8: ; kill: def $x8 killed $xzr str xzr, [sp, #8] b LBB0_9 LBB0_9: ; =>This Inner Loop Header: Depth=1 ldur x8, [x29, #-8] add x0, x8, #32 add x1, sp, #8 bl _avl_destroy_nodes mov x8, x0 str x8, [sp, #16] subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_11 b LBB0_10 LBB0_10: ; in Loop: Header=BB0_9 Depth=1 ldr x0, [sp, #16] mov w1, #4 bl _kmem_free b LBB0_9 LBB0_11: ldur x8, [x29, #-8] add x0, x8, #32 bl _avl_destroy b LBB0_12 LBB0_12: ldur x8, [x29, #-8] ldr x0, [x8, #24] ldur x1, [x29, #-8] bl _dmu_buf_rele ldur x8, [x29, #-8] ; kill: def $x9 killed $xzr str xzr, [x8, #24] ldur x8, [x29, #-8] str xzr, [x8, #16] ldur x8, [x29, #-8] str xzr, [x8, #8] ldur x8, [x29, #-8] str xzr, [x8] b LBB0_13 LBB0_13: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _B_FALSE,8,3 ; @B_FALSE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dsl_deadlist_close ## -- Begin function dsl_deadlist_close .p2align 4, 0x90 _dsl_deadlist_close: ## @dsl_deadlist_close .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 -8(%rbp), %rdi callq _dsl_deadlist_is_open movl %eax, %edi callq _ASSERT movq -8(%rbp), %rdi addq $80, %rdi callq _mutex_destroy movq -8(%rbp), %rax cmpq $0, 72(%rax) je LBB0_2 ## %bb.1: movq _B_FALSE@GOTPCREL(%rip), %rax movq (%rax), %rcx movq -8(%rbp), %rax movq %rcx, 72(%rax) movq -8(%rbp), %rdi addq $64, %rdi callq _bpobj_close movq -8(%rbp), %rax movq $0, 8(%rax) movq -8(%rbp), %rax movq $0, (%rax) jmp LBB0_13 LBB0_2: movq -8(%rbp), %rax cmpq $0, 56(%rax) je LBB0_7 ## %bb.3: movq $0, -24(%rbp) LBB0_4: ## =>This Inner Loop Header: Depth=1 movq -8(%rbp), %rdi addq $48, %rdi leaq -24(%rbp), %rsi callq _avl_destroy_nodes movq %rax, -16(%rbp) cmpq $0, %rax je LBB0_6 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movq -16(%rbp), %rdi callq _bpobj_close movq -16(%rbp), %rdi movl $4, %esi callq _kmem_free jmp LBB0_4 LBB0_6: movq -8(%rbp), %rdi addq $48, %rdi callq _avl_destroy LBB0_7: movq -8(%rbp), %rax cmpq $0, 40(%rax) je LBB0_12 ## %bb.8: movq $0, -40(%rbp) LBB0_9: ## =>This Inner Loop Header: Depth=1 movq -8(%rbp), %rdi addq $32, %rdi leaq -40(%rbp), %rsi callq _avl_destroy_nodes movq %rax, -32(%rbp) cmpq $0, %rax je LBB0_11 ## %bb.10: ## in Loop: Header=BB0_9 Depth=1 movq -32(%rbp), %rdi movl $4, %esi callq _kmem_free jmp LBB0_9 LBB0_11: movq -8(%rbp), %rdi addq $32, %rdi callq _avl_destroy LBB0_12: movq -8(%rbp), %rax movq 24(%rax), %rdi movq -8(%rbp), %rsi callq _dmu_buf_rele movq -8(%rbp), %rax movq $0, 24(%rax) movq -8(%rbp), %rax movq $0, 16(%rax) movq -8(%rbp), %rax movq $0, 8(%rax) movq -8(%rbp), %rax movq $0, (%rax) LBB0_13: addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _B_FALSE,8,3 ## @B_FALSE .subsections_via_symbols
AnghaBench/zfs/module/zfs/extr_dsl_deadlist.c_dsl_deadlist_close.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _alloc_clear ; -- Begin function alloc_clear .p2align 2 _alloc_clear: ; @alloc_clear .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] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: b LBB0_15 LBB0_2: ldur x8, [x29, #-8] ldr x8, [x8, #32] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldur x8, [x29, #-8] add x0, x8, #40 bl _lock_quick_destroy b LBB0_4 LBB0_4: ldur x8, [x29, #-8] ldr x8, [x8, #32] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_5 LBB0_5: ldur x8, [x29, #-8] ldr x8, [x8, #24] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_6 LBB0_6: ldur x8, [x29, #-8] ldr x8, [x8, #24] str x8, [sp, #16] b LBB0_7 LBB0_7: ; =>This Inner Loop Header: Depth=1 ldr x0, [sp, #16] bl _alloc_special_next subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: ; in Loop: Header=BB0_7 Depth=1 ldr x0, [sp, #16] bl _alloc_special_next str x0, [sp, #16] b LBB0_7 LBB0_9: ldur x8, [x29, #-8] ldr x0, [x8, #32] bl _lock_quick_lock ldr x0, [sp, #16] ldur x8, [x29, #-8] ldr x8, [x8, #32] ldr x1, [x8, #8] bl _alloc_set_special_next ldur x8, [x29, #-8] ldr x8, [x8, #24] ldur x9, [x29, #-8] ldr x9, [x9, #32] str x8, [x9, #8] ldur x8, [x29, #-8] ldr x10, [x8, #16] ldur x8, [x29, #-8] ldr x9, [x8, #32] ldrsw x8, [x9, #4] add x8, x8, x10 ; kill: def $w8 killed $w8 killed $x8 str w8, [x9, #4] ldur x8, [x29, #-8] ldr x0, [x8, #32] bl _lock_quick_unlock b LBB0_11 LBB0_10: ldur x0, [x29, #-8] bl _alloc_clear_special_list b LBB0_11 LBB0_11: ldur x8, [x29, #-8] ; kill: def $x9 killed $xzr str xzr, [x8, #24] ldur x8, [x29, #-8] str xzr, [x8, #16] ldur x8, [x29, #-8] ldr x8, [x8, #8] str x8, [sp, #8] b LBB0_12 LBB0_12: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_14 b LBB0_13 LBB0_13: ; in Loop: Header=BB0_12 Depth=1 ldr x8, [sp, #8] ldr x8, [x8] str x8, [sp] ldr x0, [sp, #8] bl _free ldr x8, [sp] str x8, [sp, #8] b LBB0_12 LBB0_14: ldur x8, [x29, #-8] ; kill: def $x9 killed $xzr str xzr, [x8, #8] ldur x8, [x29, #-8] str xzr, [x8] b LBB0_15 LBB0_15: 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 _alloc_clear ## -- Begin function alloc_clear .p2align 4, 0x90 _alloc_clear: ## @alloc_clear .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) cmpq $0, -8(%rbp) jne LBB0_2 ## %bb.1: jmp LBB0_15 LBB0_2: movq -8(%rbp), %rax cmpq $0, 32(%rax) jne LBB0_4 ## %bb.3: movq -8(%rbp), %rdi addq $40, %rdi callq _lock_quick_destroy LBB0_4: movq -8(%rbp), %rax cmpq $0, 32(%rax) je LBB0_10 ## %bb.5: movq -8(%rbp), %rax cmpq $0, 24(%rax) je LBB0_10 ## %bb.6: movq -8(%rbp), %rax movq 24(%rax), %rax movq %rax, -16(%rbp) LBB0_7: ## =>This Inner Loop Header: Depth=1 movq -16(%rbp), %rdi callq _alloc_special_next cmpq $0, %rax je LBB0_9 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 movq -16(%rbp), %rdi callq _alloc_special_next movq %rax, -16(%rbp) jmp LBB0_7 LBB0_9: movq -8(%rbp), %rax movq 32(%rax), %rdi callq _lock_quick_lock movq -16(%rbp), %rdi movq -8(%rbp), %rax movq 32(%rax), %rax movq 8(%rax), %rsi callq _alloc_set_special_next movq -8(%rbp), %rax movq 24(%rax), %rcx movq -8(%rbp), %rax movq 32(%rax), %rax movq %rcx, 8(%rax) movq -8(%rbp), %rax movq 16(%rax), %rdx movq -8(%rbp), %rax movq 32(%rax), %rax movslq 4(%rax), %rcx addq %rdx, %rcx ## kill: def $ecx killed $ecx killed $rcx movl %ecx, 4(%rax) movq -8(%rbp), %rax movq 32(%rax), %rdi callq _lock_quick_unlock jmp LBB0_11 LBB0_10: movq -8(%rbp), %rdi callq _alloc_clear_special_list LBB0_11: movq -8(%rbp), %rax movq $0, 24(%rax) movq -8(%rbp), %rax movq $0, 16(%rax) movq -8(%rbp), %rax movq 8(%rax), %rax movq %rax, -24(%rbp) LBB0_12: ## =>This Inner Loop Header: Depth=1 cmpq $0, -24(%rbp) je LBB0_14 ## %bb.13: ## in Loop: Header=BB0_12 Depth=1 movq -24(%rbp), %rax movq (%rax), %rax movq %rax, -32(%rbp) movq -24(%rbp), %rdi callq _free movq -32(%rbp), %rax movq %rax, -24(%rbp) jmp LBB0_12 LBB0_14: movq -8(%rbp), %rax movq $0, 8(%rax) movq -8(%rbp), %rax movq $0, (%rax) LBB0_15: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/freebsd/contrib/unbound/util/extr_alloc.c_alloc_clear.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mpca_many ; -- Begin function mpca_many .p2align 2 _mpca_many: ; @mpca_many .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, _mpcf_fold_ast@GOTPAGE ldr x8, [x8, _mpcf_fold_ast@GOTPAGEOFF] ldr w0, [x8] ldr x1, [sp, #8] bl _mpc_many ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _mpcf_fold_ast,4,2 ; @mpcf_fold_ast .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mpca_many ## -- Begin function mpca_many .p2align 4, 0x90 _mpca_many: ## @mpca_many .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 _mpcf_fold_ast@GOTPCREL(%rip), %rax movl (%rax), %edi movq -8(%rbp), %rsi callq _mpc_many addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _mpcf_fold_ast,4,2 ## @mpcf_fold_ast .subsections_via_symbols
AnghaBench/radare2/shlr/mpc/extr_mpc.c_mpca_many.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ar5312_plat_mem_setup _ar5312_plat_mem_setup: ; @ar5312_plat_mem_setup .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .no_dead_strip _ar5312_plat_mem_setup .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ar5312_plat_mem_setup _ar5312_plat_mem_setup: ## @ar5312_plat_mem_setup .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _ar5312_plat_mem_setup .subsections_via_symbols
AnghaBench/linux/arch/mips/ath25/extr_ar5312.h_ar5312_plat_mem_setup.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mac_ifnet_check_transmit ; -- Begin function mac_ifnet_check_transmit .p2align 2 _mac_ifnet_check_transmit: ; @mac_ifnet_check_transmit .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] stur w2, [x29, #-20] str w3, [sp, #24] ldur x0, [x29, #-16] bl _mac_mbuf_to_label str x0, [sp, #16] ldur x0, [x29, #-8] bl _ifnet_lock_shared adrp x8, _ifnet_check_transmit@GOTPAGE ldr x8, [x8, _ifnet_check_transmit@GOTPAGEOFF] ldr w0, [x8] ldur x1, [x29, #-8] ldur x8, [x29, #-8] ldr w2, [x8] ldur x3, [x29, #-16] ldr x4, [sp, #16] ldur w5, [x29, #-20] ldr w6, [sp, #24] bl _MAC_CHECK ldur x0, [x29, #-8] bl _ifnet_lock_done ldr w0, [sp, #12] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _ifnet_check_transmit,4,2 ; @ifnet_check_transmit .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mac_ifnet_check_transmit ## -- Begin function mac_ifnet_check_transmit .p2align 4, 0x90 _mac_ifnet_check_transmit: ## @mac_ifnet_check_transmit .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) movl %edx, -20(%rbp) movl %ecx, -24(%rbp) movq -16(%rbp), %rdi callq _mac_mbuf_to_label movq %rax, -32(%rbp) movq -8(%rbp), %rdi callq _ifnet_lock_shared movq _ifnet_check_transmit@GOTPCREL(%rip), %rax movl (%rax), %edi movq -8(%rbp), %rsi movq -8(%rbp), %rax movl (%rax), %edx movq -16(%rbp), %rcx movq -32(%rbp), %r8 movl -20(%rbp), %r9d movl -24(%rbp), %eax movl %eax, (%rsp) callq _MAC_CHECK movq -8(%rbp), %rdi callq _ifnet_lock_done movl -36(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _ifnet_check_transmit,4,2 ## @ifnet_check_transmit .subsections_via_symbols
AnghaBench/darwin-xnu/security/extr_mac_net.c_mac_ifnet_check_transmit.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _led_set_one ; -- Begin function led_set_one .p2align 2 _led_set_one: ; @led_set_one .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 adrp x8, _led_buffer@GOTPAGE ldr x8, [x8, _led_buffer@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill str w0, [sp, #44] str x1, [sp, #32] str x2, [sp, #24] str x3, [sp, #16] ldr w8, [sp, #44] adrp x9, _ISSI3733_LED_COUNT@GOTPAGE ldr x9, [x9, _ISSI3733_LED_COUNT@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x9, [sp, #8] ; 8-byte Folded Reload ldr x8, [sp, #32] ldr x10, [x9] ldrsw x12, [sp, #44] mov x11, #24 mul x12, x12, x11 add x10, x10, x12 str x8, [x10, #16] ldr x8, [sp, #24] ldr x10, [x9] ldrsw x12, [sp, #44] mul x12, x12, x11 add x10, x10, x12 str x8, [x10, #8] ldr x8, [sp, #16] ldr x9, [x9] ldrsw x10, [sp, #44] mul x10, x10, x11 str x8, [x9, x10] b LBB0_2 LBB0_2: add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _ISSI3733_LED_COUNT,4,2 ; @ISSI3733_LED_COUNT .comm _led_buffer,8,3 ; @led_buffer .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _led_set_one ## -- Begin function led_set_one .p2align 4, 0x90 _led_set_one: ## @led_set_one .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) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movq %rcx, -32(%rbp) movl -4(%rbp), %eax movq _ISSI3733_LED_COUNT@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jge LBB0_2 ## %bb.1: movq -16(%rbp), %rcx movq _led_buffer@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -4(%rbp), %rdx imulq $24, %rdx, %rdx addq %rdx, %rax movq %rcx, 16(%rax) movq -24(%rbp), %rcx movq _led_buffer@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -4(%rbp), %rdx imulq $24, %rdx, %rdx addq %rdx, %rax movq %rcx, 8(%rax) movq -32(%rbp), %rcx movq _led_buffer@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -4(%rbp), %rdx imulq $24, %rdx, %rdx addq %rdx, %rax movq %rcx, (%rax) LBB0_2: popq %rbp retq .cfi_endproc ## -- End function .comm _ISSI3733_LED_COUNT,4,2 ## @ISSI3733_LED_COUNT .comm _led_buffer,8,3 ## @led_buffer .subsections_via_symbols
AnghaBench/qmk_firmware/tmk_core/protocol/arm_atsam/extr_led_matrix.c_led_set_one.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _DistTransactionRecordIndexId ; -- Begin function DistTransactionRecordIndexId .p2align 2 _DistTransactionRecordIndexId: ; @DistTransactionRecordIndexId .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF adrp x1, _MetadataCache@GOTPAGE ldr x1, [x1, _MetadataCache@GOTPAGEOFF] str x1, [sp, #8] ; 8-byte Folded Spill bl _CachedRelationLookup ldr x8, [sp, #8] ; 8-byte Folded Reload ldr w0, [x8] 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 "pg_dist_transaction_unique_constraint" .comm _MetadataCache,4,2 ; @MetadataCache .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _DistTransactionRecordIndexId ## -- Begin function DistTransactionRecordIndexId .p2align 4, 0x90 _DistTransactionRecordIndexId: ## @DistTransactionRecordIndexId .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str(%rip), %rdi movq _MetadataCache@GOTPCREL(%rip), %rsi callq _CachedRelationLookup movq _MetadataCache@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "pg_dist_transaction_unique_constraint" .comm _MetadataCache,4,2 ## @MetadataCache .subsections_via_symbols
AnghaBench/citus/src/backend/distributed/utils/extr_metadata_cache.c_DistTransactionRecordIndexId.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function selinux_socket_getsockname _selinux_socket_getsockname: ; @selinux_socket_getsockname .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 w0, [x8] adrp x8, _SOCKET__GETATTR@GOTPAGE ldr x8, [x8, _SOCKET__GETATTR@GOTPAGEOFF] ldr w1, [x8] bl _sock_has_perm ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _SOCKET__GETATTR,4,2 ; @SOCKET__GETATTR .no_dead_strip _selinux_socket_getsockname .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function selinux_socket_getsockname _selinux_socket_getsockname: ## @selinux_socket_getsockname .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 movl (%rax), %edi movq _SOCKET__GETATTR@GOTPCREL(%rip), %rax movl (%rax), %esi callq _sock_has_perm addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _SOCKET__GETATTR,4,2 ## @SOCKET__GETATTR .no_dead_strip _selinux_socket_getsockname .subsections_via_symbols
AnghaBench/linux/security/selinux/extr_hooks.c_selinux_socket_getsockname.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _r8712_indicate_connect ; -- Begin function r8712_indicate_connect .p2align 2 _r8712_indicate_connect: ; @r8712_indicate_connect .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] add x8, x8, #16 str x8, [sp, #16] ldr x8, [sp, #16] str wzr, [x8] ldr x0, [sp, #16] adrp x8, __FW_LINKED@GOTPAGE ldr x8, [x8, __FW_LINKED@GOTPAGEOFF] ldr w1, [x8] bl _set_fwstate ldur x8, [x29, #-8] ldr x8, [x8, #8] ldur x0, [x29, #-8] adrp x9, _LED_CTL_LINK@GOTPAGE ldr x9, [x9, _LED_CTL_LINK@GOTPAGEOFF] ldr w1, [x9] blr x8 ldur x0, [x29, #-8] bl _r8712_os_indicate_connect ldur x8, [x29, #-8] ldr x8, [x8] adrp x9, _PS_MODE_ACTIVE@GOTPAGE ldr x9, [x9, _PS_MODE_ACTIVE@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, le tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp, #16] add x8, x8, #4 str x8, [sp, #8] ; 8-byte Folded Spill adrp x8, _jiffies@GOTPAGE ldr x8, [x8, _jiffies@GOTPAGEOFF] ldr x8, [x8] str x8, [sp] ; 8-byte Folded Spill mov w0, #60000 bl _msecs_to_jiffies ldr x8, [sp] ; 8-byte Folded Reload mov x9, x0 ldr x0, [sp, #8] ; 8-byte Folded Reload add x1, x8, x9 bl _mod_timer b LBB0_2 LBB0_2: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm __FW_LINKED,4,2 ; @_FW_LINKED .comm _LED_CTL_LINK,4,2 ; @LED_CTL_LINK .comm _PS_MODE_ACTIVE,8,3 ; @PS_MODE_ACTIVE .comm _jiffies,8,3 ; @jiffies .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _r8712_indicate_connect ## -- Begin function r8712_indicate_connect .p2align 4, 0x90 _r8712_indicate_connect: ## @r8712_indicate_connect .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 addq $16, %rax movq %rax, -16(%rbp) movq -16(%rbp), %rax movl $0, (%rax) movq -16(%rbp), %rdi movq __FW_LINKED@GOTPCREL(%rip), %rax movl (%rax), %esi callq _set_fwstate movq -8(%rbp), %rax movq 8(%rax), %rax movq -8(%rbp), %rdi movq _LED_CTL_LINK@GOTPCREL(%rip), %rcx movl (%rcx), %esi callq *%rax movq -8(%rbp), %rdi callq _r8712_os_indicate_connect movq -8(%rbp), %rax movq (%rax), %rax movq _PS_MODE_ACTIVE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jle LBB0_2 ## %bb.1: movq -16(%rbp), %rax addq $4, %rax movq %rax, -24(%rbp) ## 8-byte Spill movq _jiffies@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -32(%rbp) ## 8-byte Spill movl $60000, %edi ## imm = 0xEA60 callq _msecs_to_jiffies movq -32(%rbp), %rsi ## 8-byte Reload movq -24(%rbp), %rdi ## 8-byte Reload addq %rax, %rsi callq _mod_timer LBB0_2: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm __FW_LINKED,4,2 ## @_FW_LINKED .comm _LED_CTL_LINK,4,2 ## @LED_CTL_LINK .comm _PS_MODE_ACTIVE,8,3 ## @PS_MODE_ACTIVE .comm _jiffies,8,3 ## @jiffies .subsections_via_symbols
AnghaBench/linux/drivers/staging/rtl8712/extr_rtl871x_mlme.c_r8712_indicate_connect.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mt7615_channel_switch_beacon _mt7615_channel_switch_beacon: ; @mt7615_channel_switch_beacon .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] ldur x8, [x29, #-8] ldr x8, [x8] str x8, [sp] ldr x0, [sp] bl _mutex_lock ldr x0, [sp] ldr x1, [sp, #16] mov w2, #1 bl _mt7615_mcu_set_bcn ldr x0, [sp] bl _mutex_unlock ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .no_dead_strip _mt7615_channel_switch_beacon .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mt7615_channel_switch_beacon _mt7615_channel_switch_beacon: ## @mt7615_channel_switch_beacon .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 -8(%rbp), %rax movq (%rax), %rax movq %rax, -32(%rbp) movq -32(%rbp), %rdi callq _mutex_lock movq -32(%rbp), %rdi movq -16(%rbp), %rsi movl $1, %edx callq _mt7615_mcu_set_bcn movq -32(%rbp), %rdi callq _mutex_unlock addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _mt7615_channel_switch_beacon .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/mediatek/mt76/mt7615/extr_main.c_mt7615_channel_switch_beacon.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function brcms_c_calc_ba_time _brcms_c_calc_ba_time: ; @brcms_c_calc_ba_time .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] str w2, [sp] ldr x0, [sp, #8] ldr w1, [sp, #4] bl _brcms_basic_rate str w0, [sp, #4] ldr x0, [sp, #8] ldr w1, [sp, #4] ldr w2, [sp] adrp x8, _DOT11_BA_LEN@GOTPAGE ldr x8, [x8, _DOT11_BA_LEN@GOTPAGEOFF] ldr x8, [x8] adrp x9, _DOT11_BA_BITMAP_LEN@GOTPAGE ldr x9, [x9, _DOT11_BA_BITMAP_LEN@GOTPAGEOFF] ldr x9, [x9] add x8, x8, x9 adrp x9, _FCS_LEN@GOTPAGE ldr x9, [x9, _FCS_LEN@GOTPAGEOFF] ldr x9, [x9] add x3, x8, x9 bl _brcms_c_calc_frame_time ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _DOT11_BA_LEN,8,3 ; @DOT11_BA_LEN .comm _DOT11_BA_BITMAP_LEN,8,3 ; @DOT11_BA_BITMAP_LEN .comm _FCS_LEN,8,3 ; @FCS_LEN .no_dead_strip _brcms_c_calc_ba_time .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function brcms_c_calc_ba_time _brcms_c_calc_ba_time: ## @brcms_c_calc_ba_time .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) movl %edx, -16(%rbp) movq -8(%rbp), %rdi movl -12(%rbp), %esi callq _brcms_basic_rate movl %eax, -12(%rbp) movq -8(%rbp), %rdi movl -12(%rbp), %esi movl -16(%rbp), %edx movq _DOT11_BA_LEN@GOTPCREL(%rip), %rax movq (%rax), %rcx movq _DOT11_BA_BITMAP_LEN@GOTPCREL(%rip), %rax addq (%rax), %rcx movq _FCS_LEN@GOTPCREL(%rip), %rax addq (%rax), %rcx callq _brcms_c_calc_frame_time addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _DOT11_BA_LEN,8,3 ## @DOT11_BA_LEN .comm _DOT11_BA_BITMAP_LEN,8,3 ## @DOT11_BA_BITMAP_LEN .comm _FCS_LEN,8,3 ## @FCS_LEN .no_dead_strip _brcms_c_calc_ba_time .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/extr_main.c_brcms_c_calc_ba_time.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _AAS_PrintTravelType ; -- Begin function AAS_PrintTravelType .p2align 2 _AAS_PrintTravelType: ; @AAS_PrintTravelType .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, #12] add sp, sp, #16 ret .cfi_endproc ; -- End function .comm _PRT_MESSAGE,4,2 ; @PRT_MESSAGE .comm _TRAVELTYPE_MASK,4,2 ; @TRAVELTYPE_MASK .comm _botimport,8,3 ; @botimport .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _AAS_PrintTravelType ## -- Begin function AAS_PrintTravelType .p2align 4, 0x90 _AAS_PrintTravelType: ## @AAS_PrintTravelType .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) popq %rbp retq .cfi_endproc ## -- End function .comm _PRT_MESSAGE,4,2 ## @PRT_MESSAGE .comm _TRAVELTYPE_MASK,4,2 ## @TRAVELTYPE_MASK .comm _botimport,8,3 ## @botimport .subsections_via_symbols
AnghaBench/Quake-III-Arena/code/botlib/extr_be_aas_debug.c_AAS_PrintTravelType.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function jme_wake_queue_if_stopped _jme_wake_queue_if_stopped: ; @jme_wake_queue_if_stopped .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] ldr x8, [x8, #16] str x8, [sp, #16] bl _smp_wmb ldur x8, [x29, #-8] ldr w0, [x8, #8] bl _netif_queue_stopped subs x8, x0, #0 cset w8, eq mov w9, #0 str w9, [sp, #12] ; 4-byte Folded Spill tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x0, [sp, #16] bl _atomic_read ldur x8, [x29, #-8] ldr x8, [x8] subs x8, x0, x8 cset w8, ge str w8, [sp, #12] ; 4-byte Folded Spill b LBB0_2 LBB0_2: 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_4 b LBB0_3 LBB0_3: ldur x0, [x29, #-8] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _msg_tx_done ldur x8, [x29, #-8] ldr w0, [x8, #8] bl _netif_wake_queue b LBB0_4 LBB0_4: 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 "TX Queue Waked.\n" .no_dead_strip _jme_wake_queue_if_stopped .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function jme_wake_queue_if_stopped _jme_wake_queue_if_stopped: ## @jme_wake_queue_if_stopped .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 16(%rax), %rax movq %rax, -16(%rbp) movb $0, %al callq _smp_wmb movq -8(%rbp), %rax movl 8(%rax), %edi callq _netif_queue_stopped movq %rax, %rcx xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpq $0, %rcx movb %al, -17(%rbp) ## 1-byte Spill je LBB0_2 ## %bb.1: movq -16(%rbp), %rdi callq _atomic_read movq -8(%rbp), %rcx cmpq (%rcx), %rax setge %al movb %al, -17(%rbp) ## 1-byte Spill LBB0_2: movb -17(%rbp), %al ## 1-byte Reload andb $1, %al movzbl %al, %edi callq _unlikely cmpq $0, %rax je LBB0_4 ## %bb.3: movq -8(%rbp), %rdi leaq L_.str(%rip), %rsi callq _msg_tx_done movq -8(%rbp), %rax movl 8(%rax), %edi callq _netif_wake_queue LBB0_4: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "TX Queue Waked.\n" .no_dead_strip _jme_wake_queue_if_stopped .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/extr_jme.c_jme_wake_queue_if_stopped.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function add_bin_header _add_bin_header: ; @add_bin_header .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, _stderr@GOTPAGE ldr x8, [x8, _stderr@GOTPAGEOFF] str x8, [sp, #16] ; 8-byte Folded Spill stur x0, [x29, #-8] stur x1, [x29, #-16] stur x2, [x29, #-24] stur x3, [x29, #-32] stur w4, [x29, #-36] ldur x0, [x29, #-8] bl _assert ldur x8, [x29, #-8] str xzr, [x8, #48] ldur x8, [x29, #-8] str xzr, [x8, #40] ldur x8, [x29, #-8] str xzr, [x8, #32] ldur x0, [x29, #-8] bl _add_msghdr subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldur x0, [x29, #-8] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _out_of_memory b LBB0_11 LBB0_2: ldur x8, [x29, #-8] ldr x8, [x8, #8] str x8, [sp, #32] adrp x8, _PROTOCOL_BINARY_RES@GOTPAGE ldr x8, [x8, _PROTOCOL_BINARY_RES@GOTPAGEOFF] ldr x8, [x8] ldr x9, [sp, #32] str x8, [x9, #64] ldur x8, [x29, #-8] ldr w8, [x8, #24] ldr x9, [sp, #32] str w8, [x9, #56] ldur x0, [x29, #-32] bl _htons ldr x8, [sp, #32] str x0, [x8, #48] ldur x8, [x29, #-24] ldr x9, [sp, #32] str x8, [x9, #40] adrp x8, _PROTOCOL_BINARY_RAW_BYTES@GOTPAGE ldr x8, [x8, _PROTOCOL_BINARY_RAW_BYTES@GOTPAGEOFF] ldr x8, [x8] ldr x9, [sp, #32] str x8, [x9, #32] ldur x0, [x29, #-16] bl _htons ldr x8, [sp, #32] str x0, [x8, #24] ldur w0, [x29, #-36] bl _htonl ldr x8, [sp, #32] str w0, [x8, #16] ldur x8, [x29, #-8] ldr w8, [x8, #20] ldr x9, [sp, #32] str w8, [x9, #12] ldur x8, [x29, #-8] ldr w0, [x8, #16] bl _htonll ldr x8, [sp, #32] str w0, [x8, #8] adrp x8, _settings@GOTPAGE ldr x8, [x8, _settings@GOTPAGEOFF] ldr w8, [x8] subs w8, w8, #1 cset w8, le tbnz w8, #0, LBB0_10 b LBB0_3 LBB0_3: ldr x8, [sp, #16] ; 8-byte Folded Reload ldr w0, [x8] ldur x8, [x29, #-8] ldr w9, [x8] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _fprintf str wzr, [sp, #28] b LBB0_4 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldrsw x8, [sp, #28] subs x8, x8, #8 cset w8, hs tbnz w8, #0, LBB0_9 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [sp, #28] mov w10, #4 sdiv w9, w8, w10 mul w9, w9, w10 subs w8, w8, w9 subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [sp, #16] ; 8-byte Folded Reload ldr w0, [x8] ldur x8, [x29, #-8] ldr w9, [x8] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x1, l_.str.2@PAGE add x1, x1, l_.str.2@PAGEOFF bl _fprintf b LBB0_7 LBB0_7: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [sp, #16] ; 8-byte Folded Reload ldr w0, [x8] ldr x8, [sp, #32] ldr x8, [x8] ldrsw x9, [sp, #28] ldr w9, [x8, x9, lsl #2] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x1, l_.str.3@PAGE add x1, x1, l_.str.3@PAGEOFF bl _fprintf b LBB0_8 LBB0_8: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [sp, #28] add w8, w8, #1 str w8, [sp, #28] b LBB0_4 LBB0_9: ldr x8, [sp, #16] ; 8-byte Folded Reload ldr w0, [x8] adrp x1, l_.str.4@PAGE add x1, x1, l_.str.4@PAGEOFF bl _fprintf b LBB0_10 LBB0_10: ldur x0, [x29, #-8] ldur x8, [x29, #-8] ldr x1, [x8, #8] mov w2, #64 bl _add_iov b LBB0_11 LBB0_11: 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 "SERVER_ERROR out of memory adding binary header" .comm _PROTOCOL_BINARY_RES,8,3 ; @PROTOCOL_BINARY_RES .comm _PROTOCOL_BINARY_RAW_BYTES,8,3 ; @PROTOCOL_BINARY_RAW_BYTES .comm _settings,4,2 ; @settings .comm _stderr,4,2 ; @stderr l_.str.1: ; @.str.1 .asciz ">%d Writing bin response:" l_.str.2: ; @.str.2 .asciz "\n>%d " l_.str.3: ; @.str.3 .asciz " 0x%02x" l_.str.4: ; @.str.4 .asciz "\n" .no_dead_strip _add_bin_header .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function add_bin_header _add_bin_header: ## @add_bin_header .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) movl %r8d, -36(%rbp) movq -8(%rbp), %rdi callq _assert movq -8(%rbp), %rax movq $0, 48(%rax) movq -8(%rbp), %rax movq $0, 40(%rax) movq -8(%rbp), %rax movq $0, 32(%rax) movq -8(%rbp), %rdi callq _add_msghdr cmpq $0, %rax je LBB0_2 ## %bb.1: movq -8(%rbp), %rdi leaq L_.str(%rip), %rsi callq _out_of_memory jmp LBB0_11 LBB0_2: movq -8(%rbp), %rax movq 8(%rax), %rax movq %rax, -48(%rbp) movq _PROTOCOL_BINARY_RES@GOTPCREL(%rip), %rax movq (%rax), %rcx movq -48(%rbp), %rax movq %rcx, 64(%rax) movq -8(%rbp), %rax movl 24(%rax), %ecx movq -48(%rbp), %rax movl %ecx, 56(%rax) movq -32(%rbp), %rdi callq _htons movq %rax, %rcx movq -48(%rbp), %rax movq %rcx, 48(%rax) movq -24(%rbp), %rcx movq -48(%rbp), %rax movq %rcx, 40(%rax) movq _PROTOCOL_BINARY_RAW_BYTES@GOTPCREL(%rip), %rax movq (%rax), %rcx movq -48(%rbp), %rax movq %rcx, 32(%rax) movq -16(%rbp), %rdi callq _htons movq %rax, %rcx movq -48(%rbp), %rax movq %rcx, 24(%rax) movl -36(%rbp), %edi callq _htonl movl %eax, %ecx movq -48(%rbp), %rax movl %ecx, 16(%rax) movq -8(%rbp), %rax movl 20(%rax), %ecx movq -48(%rbp), %rax movl %ecx, 12(%rax) movq -8(%rbp), %rax movl 16(%rax), %edi callq _htonll movl %eax, %ecx movq -48(%rbp), %rax movl %ecx, 8(%rax) movq _settings@GOTPCREL(%rip), %rax cmpl $1, (%rax) jle LBB0_10 ## %bb.3: movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %edi movq -8(%rbp), %rax movl (%rax), %edx leaq L_.str.1(%rip), %rsi movb $0, %al callq _fprintf movl $0, -52(%rbp) LBB0_4: ## =>This Inner Loop Header: Depth=1 movslq -52(%rbp), %rax cmpq $8, %rax jae LBB0_9 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movl -52(%rbp), %eax movl $4, %ecx cltd idivl %ecx cmpl $0, %edx jne LBB0_7 ## %bb.6: ## in Loop: Header=BB0_4 Depth=1 movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %edi movq -8(%rbp), %rax movl (%rax), %edx leaq L_.str.2(%rip), %rsi movb $0, %al callq _fprintf LBB0_7: ## in Loop: Header=BB0_4 Depth=1 movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %edi movq -48(%rbp), %rax movq (%rax), %rax movslq -52(%rbp), %rcx movl (%rax,%rcx,4), %edx leaq L_.str.3(%rip), %rsi movb $0, %al callq _fprintf ## %bb.8: ## in Loop: Header=BB0_4 Depth=1 movl -52(%rbp), %eax addl $1, %eax movl %eax, -52(%rbp) jmp LBB0_4 LBB0_9: movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.4(%rip), %rsi movb $0, %al callq _fprintf LBB0_10: movq -8(%rbp), %rdi movq -8(%rbp), %rax movq 8(%rax), %rsi movl $64, %edx callq _add_iov LBB0_11: addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "SERVER_ERROR out of memory adding binary header" .comm _PROTOCOL_BINARY_RES,8,3 ## @PROTOCOL_BINARY_RES .comm _PROTOCOL_BINARY_RAW_BYTES,8,3 ## @PROTOCOL_BINARY_RAW_BYTES .comm _settings,4,2 ## @settings .comm _stderr,4,2 ## @stderr L_.str.1: ## @.str.1 .asciz ">%d Writing bin response:" L_.str.2: ## @.str.2 .asciz "\n>%d " L_.str.3: ## @.str.3 .asciz " 0x%02x" L_.str.4: ## @.str.4 .asciz "\n" .no_dead_strip _add_bin_header .subsections_via_symbols
AnghaBench/memcached/extr_memcached.c_add_bin_header.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ifname_compare _ifname_compare: ; @ifname_compare .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 str x0, [sp, #56] str x1, [sp, #48] str x2, [sp, #40] str xzr, [sp, #32] ldr x8, [sp, #56] str x8, [sp, #24] ldr x8, [sp, #48] str x8, [sp, #16] ldr x8, [sp, #40] str x8, [sp, #8] str wzr, [sp, #4] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldrsw x8, [sp, #4] adrp x9, _IFNAMSIZ@GOTPAGE ldr x9, [x9, _IFNAMSIZ@GOTPAGEOFF] ldrsw x9, [x9] mov x10, #8 udiv x9, x9, x10 subs x8, x8, x9 cset w8, hs tbnz w8, #0, LBB0_4 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #24] ldrsw x9, [sp, #4] ldr x8, [x8, x9, lsl #3] ldr x9, [sp, #16] ldrsw x10, [sp, #4] ldr x9, [x9, x10, lsl #3] eor x8, x8, x9 ldr x9, [sp, #8] ldrsw x10, [sp, #4] ldr x9, [x9, x10, lsl #3] and x9, x8, x9 ldr x8, [sp, #32] orr x8, x8, x9 str x8, [sp, #32] b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #4] add w8, w8, #1 str w8, [sp, #4] b LBB0_1 LBB0_4: ldr x0, [sp, #32] add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _IFNAMSIZ,4,2 ; @IFNAMSIZ .no_dead_strip _ifname_compare .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ifname_compare _ifname_compare: ## @ifname_compare .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 %rdx, -24(%rbp) movq $0, -32(%rbp) movq -8(%rbp), %rax movq %rax, -40(%rbp) movq -16(%rbp), %rax movq %rax, -48(%rbp) movq -24(%rbp), %rax movq %rax, -56(%rbp) movl $0, -60(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movslq -60(%rbp), %rax movq _IFNAMSIZ@GOTPCREL(%rip), %rcx movslq (%rcx), %rcx shrq $3, %rcx cmpq %rcx, %rax jae LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq -40(%rbp), %rax movslq -60(%rbp), %rcx movq (%rax,%rcx,8), %rax movq -48(%rbp), %rcx movslq -60(%rbp), %rdx xorq (%rcx,%rdx,8), %rax movq -56(%rbp), %rcx movslq -60(%rbp), %rdx andq (%rcx,%rdx,8), %rax orq -32(%rbp), %rax movq %rax, -32(%rbp) ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movl -60(%rbp), %eax addl $1, %eax movl %eax, -60(%rbp) jmp LBB0_1 LBB0_4: movq -32(%rbp), %rax popq %rbp retq .cfi_endproc ## -- End function .comm _IFNAMSIZ,4,2 ## @IFNAMSIZ .no_dead_strip _ifname_compare .subsections_via_symbols
AnghaBench/linux/net/ipv4/netfilter/extr_arp_tables.c_ifname_compare.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function aml8726_sdxc_power_off _aml8726_sdxc_power_off: ; @aml8726_sdxc_power_off .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, #8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: stur wzr, [x29, #-4] b LBB0_3 LBB0_2: ldr x8, [sp, #16] ldr x8, [x8, #8] str x8, [sp, #8] ; 8-byte Folded Spill ldr x8, [sp, #16] ldr w8, [x8, #4] str w8, [sp, #4] ; 4-byte Folded Spill ldr x8, [sp, #16] ldr w0, [x8] bl _PIN_OFF_FLAG ldr w1, [sp, #4] ; 4-byte Folded Reload mov x2, x0 ldr x0, [sp, #8] ; 8-byte Folded Reload bl _GPIO_PIN_SET stur w0, [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 _aml8726_sdxc_power_off .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function aml8726_sdxc_power_off _aml8726_sdxc_power_off: ## @aml8726_sdxc_power_off .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 cmpq $0, 8(%rax) jne LBB0_2 ## %bb.1: movl $0, -4(%rbp) jmp LBB0_3 LBB0_2: movq -16(%rbp), %rax movq 8(%rax), %rax movq %rax, -32(%rbp) ## 8-byte Spill movq -16(%rbp), %rax movl 4(%rax), %eax movl %eax, -20(%rbp) ## 4-byte Spill movq -16(%rbp), %rax movl (%rax), %edi callq _PIN_OFF_FLAG movq -32(%rbp), %rdi ## 8-byte Reload movl -20(%rbp), %esi ## 4-byte Reload movl %eax, %edx callq _GPIO_PIN_SET movl %eax, -4(%rbp) LBB0_3: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _aml8726_sdxc_power_off .subsections_via_symbols
AnghaBench/freebsd/sys/arm/amlogic/aml8726/extr_aml8726_sdxc-m8.c_aml8726_sdxc_power_off.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function selsetbits _selsetbits: ; @selsetbits .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 str x0, [sp, #40] str x1, [sp, #32] str w2, [sp, #28] str w3, [sp, #24] str w4, [sp, #20] str wzr, [sp, #12] str wzr, [sp, #16] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #16] subs w8, w8, #3 cset w8, ge tbnz w8, #0, LBB0_12 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #20] adrp x9, _select_flags@GOTPAGE ldr x9, [x9, _select_flags@GOTPAGEOFF] ldr x9, [x9] ldrsw x10, [sp, #16] ldr w9, [x9, x10, lsl #2] ands w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 b LBB0_11 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #40] ldrsw x9, [sp, #16] ldr x8, [x8, x9, lsl #3] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 b LBB0_11 LBB0_6: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #40] ldrsw x9, [sp, #16] ldr x8, [x8, x9, lsl #3] ldrsw x9, [sp, #28] ldr w8, [x8, x9, lsl #2] ldr w9, [sp, #24] ands w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: ; in Loop: Header=BB0_1 Depth=1 b LBB0_11 LBB0_8: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #32] ldrsw x9, [sp, #16] ldr x8, [x8, x9, lsl #3] ldrsw x9, [sp, #28] ldr w8, [x8, x9, lsl #2] ldr w9, [sp, #24] ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_9 LBB0_9: ; in Loop: Header=BB0_1 Depth=1 b LBB0_11 LBB0_10: ; in Loop: Header=BB0_1 Depth=1 ldr w10, [sp, #24] ldr x8, [sp, #32] ldrsw x9, [sp, #16] ldr x8, [x8, x9, lsl #3] ldrsw x9, [sp, #28] add x9, x8, x9, lsl #2 ldr w8, [x9] orr w8, w8, w10 str w8, [x9] ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB0_11 LBB0_11: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #16] add w8, w8, #1 str w8, [sp, #16] b LBB0_1 LBB0_12: ldr w0, [sp, #12] add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _select_flags,8,3 ; @select_flags .no_dead_strip _selsetbits .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function selsetbits _selsetbits: ## @selsetbits .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) movl %edx, -20(%rbp) movl %ecx, -24(%rbp) movl %r8d, -28(%rbp) movl $0, -36(%rbp) movl $0, -32(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 cmpl $3, -32(%rbp) jge LBB0_12 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl -28(%rbp), %eax movq _select_flags@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movslq -32(%rbp), %rdx andl (%rcx,%rdx,4), %eax cmpl $0, %eax jne LBB0_4 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_11 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 movq -8(%rbp), %rax movslq -32(%rbp), %rcx cmpq $0, (%rax,%rcx,8) jne LBB0_6 ## %bb.5: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_11 LBB0_6: ## in Loop: Header=BB0_1 Depth=1 movq -8(%rbp), %rax movslq -32(%rbp), %rcx movq (%rax,%rcx,8), %rax movslq -20(%rbp), %rcx movl (%rax,%rcx,4), %eax andl -24(%rbp), %eax cmpl $0, %eax jne LBB0_8 ## %bb.7: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_11 LBB0_8: ## in Loop: Header=BB0_1 Depth=1 movq -16(%rbp), %rax movslq -32(%rbp), %rcx movq (%rax,%rcx,8), %rax movslq -20(%rbp), %rcx movl (%rax,%rcx,4), %eax andl -24(%rbp), %eax cmpl $0, %eax je LBB0_10 ## %bb.9: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_11 LBB0_10: ## in Loop: Header=BB0_1 Depth=1 movl -24(%rbp), %edx movq -16(%rbp), %rax movslq -32(%rbp), %rcx movq (%rax,%rcx,8), %rax movslq -20(%rbp), %rcx orl (%rax,%rcx,4), %edx movl %edx, (%rax,%rcx,4) movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) LBB0_11: ## in Loop: Header=BB0_1 Depth=1 movl -32(%rbp), %eax addl $1, %eax movl %eax, -32(%rbp) jmp LBB0_1 LBB0_12: movl -36(%rbp), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _select_flags,8,3 ## @select_flags .no_dead_strip _selsetbits .subsections_via_symbols
AnghaBench/freebsd/sys/kern/extr_sys_generic.c_selsetbits.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mei_me_dev_init ; -- Begin function mei_me_dev_init .p2align 2 _mei_me_dev_init: ; @mei_me_dev_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] str x1, [sp, #24] ldur x0, [x29, #-16] adrp x8, _GFP_KERNEL@GOTPAGE ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] ldr w2, [x8] mov w1, #24 bl _devm_kzalloc 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_7 LBB0_2: ldr x0, [sp, #16] bl _to_me_hw str x0, [sp, #8] str wzr, [sp, #4] b LBB0_3 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #4] adrp x9, _DMA_DSCR_NUM@GOTPAGE ldr x9, [x9, _DMA_DSCR_NUM@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_6 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [sp, #24] ldr x8, [x8, #8] ldrsw x9, [sp, #4] ldr w8, [x8, x9, lsl #2] ldr x9, [sp, #16] ldr x9, [x9, #8] ldrsw x10, [sp, #4] str w8, [x9, x10, lsl #2] b LBB0_5 LBB0_5: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [sp, #4] add w8, w8, #1 str w8, [sp, #4] b LBB0_3 LBB0_6: ldr x0, [sp, #16] ldur x1, [x29, #-16] adrp x2, _mei_me_hw_ops@GOTPAGE ldr x2, [x2, _mei_me_hw_ops@GOTPAGEOFF] bl _mei_device_init ldr x8, [sp, #24] ldr x9, [sp, #8] str x8, [x9] ldr x8, [sp, #24] ldr w8, [x8] ldr x9, [sp, #16] str w8, [x9] ldr x8, [sp, #16] stur x8, [x29, #-8] b LBB0_7 LBB0_7: ldur x0, [x29, #-8] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _DMA_DSCR_NUM,4,2 ; @DMA_DSCR_NUM .comm _mei_me_hw_ops,4,2 ; @mei_me_hw_ops .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mei_me_dev_init ## -- Begin function mei_me_dev_init .p2align 4, 0x90 _mei_me_dev_init: ## @mei_me_dev_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 %rsi, -24(%rbp) movq -16(%rbp), %rdi movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %edx movl $24, %esi callq _devm_kzalloc movq %rax, -32(%rbp) cmpq $0, -32(%rbp) jne LBB0_2 ## %bb.1: movq $0, -8(%rbp) jmp LBB0_7 LBB0_2: movq -32(%rbp), %rdi callq _to_me_hw movq %rax, -40(%rbp) movl $0, -44(%rbp) LBB0_3: ## =>This Inner Loop Header: Depth=1 movl -44(%rbp), %eax movq _DMA_DSCR_NUM@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jge LBB0_6 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movq -24(%rbp), %rax movq 8(%rax), %rax movslq -44(%rbp), %rcx movl (%rax,%rcx,4), %edx movq -32(%rbp), %rax movq 8(%rax), %rax movslq -44(%rbp), %rcx movl %edx, (%rax,%rcx,4) ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movl -44(%rbp), %eax addl $1, %eax movl %eax, -44(%rbp) jmp LBB0_3 LBB0_6: movq -32(%rbp), %rdi movq -16(%rbp), %rsi movq _mei_me_hw_ops@GOTPCREL(%rip), %rdx callq _mei_device_init movq -24(%rbp), %rcx movq -40(%rbp), %rax movq %rcx, (%rax) movq -24(%rbp), %rax movl (%rax), %ecx movq -32(%rbp), %rax movl %ecx, (%rax) movq -32(%rbp), %rax movq %rax, -8(%rbp) LBB0_7: movq -8(%rbp), %rax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _DMA_DSCR_NUM,4,2 ## @DMA_DSCR_NUM .comm _mei_me_hw_ops,4,2 ## @mei_me_hw_ops .subsections_via_symbols
AnghaBench/linux/drivers/misc/mei/extr_hw-me.c_mei_me_dev_init.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function makeargv _makeargv: ; @makeargv .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, _margc@GOTPAGE ldr x8, [x8, _margc@GOTPAGEOFF] str x8, [sp] ; 8-byte Folded Spill adrp x9, _margv@GOTPAGE ldr x9, [x9, _margv@GOTPAGEOFF] ldr x9, [x9] str x9, [sp, #16] str xzr, [x8] adrp x8, _line@GOTPAGE ldr x8, [x8, _line@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] ldur x8, [x29, #-8] ldrsb w8, [x8] subs w8, w8, #33 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _saveline@GOTPAGE ldr x8, [x8, _saveline@GOTPAGEOFF] ldr w0, [x8] adrp x8, _line@GOTPAGE ldr x8, [x8, _line@GOTPAGEOFF] ldr x1, [x8] bl _strcpy adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _strdup ldr x9, [sp] ; 8-byte Folded Reload ; implicit-def: $x8 mov x8, x0 sxtw x8, w8 ldr x10, [sp, #16] add x11, x10, #8 str x11, [sp, #16] str x8, [x10] ldr x8, [x9] add x8, x8, #1 str x8, [x9] ldur x8, [x29, #-8] add x8, x8, #1 stur x8, [x29, #-8] b LBB0_2 LBB0_2: b LBB0_3 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_5 Depth 2 ; Child Loop BB0_10 Depth 2 ldur x8, [x29, #-8] ldrb w8, [x8] sturb w8, [x29, #-17] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_34 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_3 Depth=1 str wzr, [sp, #12] b LBB0_5 LBB0_5: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldursb w0, [x29, #-17] bl _isspace subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_5 Depth=2 ldur x8, [x29, #-8] add x9, x8, #1 stur x9, [x29, #-8] ldrb w8, [x8, #1] sturb w8, [x29, #-17] b LBB0_5 LBB0_7: ; in Loop: Header=BB0_3 Depth=1 ldursb w8, [x29, #-17] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: b LBB0_34 LBB0_9: ; in Loop: Header=BB0_3 Depth=1 ldr x9, [sp] ; 8-byte Folded Reload ldur x8, [x29, #-8] ldr x10, [sp, #16] add x11, x10, #8 str x11, [sp, #16] str x8, [x10] ldr x8, [x9] add x8, x8, #1 str x8, [x9] ldur x8, [x29, #-8] stur x8, [x29, #-16] b LBB0_10 LBB0_10: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldursb w8, [x29, #-17] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_31 b LBB0_11 LBB0_11: ; in Loop: Header=BB0_10 Depth=2 ldr w8, [sp, #12] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_15 b LBB0_12 LBB0_12: ; in Loop: Header=BB0_10 Depth=2 ldursb w8, [x29, #-17] ldr w9, [sp, #12] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_14 b LBB0_13 LBB0_13: ; in Loop: Header=BB0_10 Depth=2 str wzr, [sp, #12] b LBB0_30 LBB0_14: ; in Loop: Header=BB0_10 Depth=2 b LBB0_29 LBB0_15: ; in Loop: Header=BB0_10 Depth=2 ldursb w8, [x29, #-17] subs w8, w8, #92 cset w8, ne tbnz w8, #0, LBB0_19 b LBB0_16 LBB0_16: ; in Loop: Header=BB0_10 Depth=2 ldur x8, [x29, #-8] add x9, x8, #1 stur x9, [x29, #-8] ldrsb w8, [x8, #1] sturb w8, [x29, #-17] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_18 b LBB0_17 LBB0_17: ; in Loop: Header=BB0_3 Depth=1 b LBB0_31 LBB0_18: ; in Loop: Header=BB0_10 Depth=2 b LBB0_28 LBB0_19: ; in Loop: Header=BB0_10 Depth=2 ldursb w8, [x29, #-17] subs w8, w8, #34 cset w8, ne tbnz w8, #0, LBB0_21 b LBB0_20 LBB0_20: ; in Loop: Header=BB0_10 Depth=2 mov w8, #34 str w8, [sp, #12] b LBB0_30 LBB0_21: ; in Loop: Header=BB0_10 Depth=2 ldursb w8, [x29, #-17] subs w8, w8, #39 cset w8, ne tbnz w8, #0, LBB0_23 b LBB0_22 LBB0_22: ; in Loop: Header=BB0_10 Depth=2 mov w8, #39 str w8, [sp, #12] b LBB0_30 LBB0_23: ; in Loop: Header=BB0_10 Depth=2 ldursb w0, [x29, #-17] bl _isspace subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_25 b LBB0_24 LBB0_24: ; in Loop: Header=BB0_3 Depth=1 b LBB0_31 LBB0_25: ; in Loop: Header=BB0_10 Depth=2 b LBB0_26 LBB0_26: ; in Loop: Header=BB0_10 Depth=2 b LBB0_27 LBB0_27: ; in Loop: Header=BB0_10 Depth=2 b LBB0_28 LBB0_28: ; in Loop: Header=BB0_10 Depth=2 b LBB0_29 LBB0_29: ; in Loop: Header=BB0_10 Depth=2 ldurb w8, [x29, #-17] ldur x9, [x29, #-16] add x10, x9, #1 stur x10, [x29, #-16] strb w8, [x9] b LBB0_30 LBB0_30: ; in Loop: Header=BB0_10 Depth=2 ldur x8, [x29, #-8] add x9, x8, #1 stur x9, [x29, #-8] ldrb w8, [x8, #1] sturb w8, [x29, #-17] b LBB0_10 LBB0_31: ; in Loop: Header=BB0_3 Depth=1 ldur x8, [x29, #-16] strb wzr, [x8] ldursb w8, [x29, #-17] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_33 b LBB0_32 LBB0_32: b LBB0_34 LBB0_33: ; in Loop: Header=BB0_3 Depth=1 ldur x8, [x29, #-8] add x8, x8, #1 stur x8, [x29, #-8] b LBB0_3 LBB0_34: ldr x8, [sp, #16] add x9, x8, #8 str x9, [sp, #16] ; kill: def $x9 killed $xzr str xzr, [x8] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _margv,8,3 ; @margv .comm _margc,8,3 ; @margc .comm _line,8,3 ; @line .comm _saveline,4,2 ; @saveline .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "!" .no_dead_strip _makeargv .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function makeargv _makeargv: ## @makeargv .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 _margv@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -32(%rbp) movq _margc@GOTPCREL(%rip), %rax movq $0, (%rax) movq _line@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movq -8(%rbp), %rax movsbl (%rax), %eax cmpl $33, %eax jne LBB0_2 ## %bb.1: movq _saveline@GOTPCREL(%rip), %rax movl (%rax), %edi movq _line@GOTPCREL(%rip), %rax movq (%rax), %rsi callq _strcpy leaq L_.str(%rip), %rdi callq _strdup movslq %eax, %rcx movq -32(%rbp), %rax movq %rax, %rdx addq $8, %rdx movq %rdx, -32(%rbp) movq %rcx, (%rax) movq _margc@GOTPCREL(%rip), %rax movq (%rax), %rcx addq $1, %rcx movq _margc@GOTPCREL(%rip), %rax movq %rcx, (%rax) movq -8(%rbp), %rax addq $1, %rax movq %rax, -8(%rbp) LBB0_2: jmp LBB0_3 LBB0_3: ## =>This Loop Header: Depth=1 ## Child Loop BB0_5 Depth 2 ## Child Loop BB0_10 Depth 2 movq -8(%rbp), %rax movb (%rax), %al movb %al, -17(%rbp) cmpb $0, %al je LBB0_34 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movl $0, -36(%rbp) LBB0_5: ## Parent Loop BB0_3 Depth=1 ## => This Inner Loop Header: Depth=2 movsbl -17(%rbp), %edi callq _isspace cmpq $0, %rax je LBB0_7 ## %bb.6: ## in Loop: Header=BB0_5 Depth=2 movq -8(%rbp), %rax movq %rax, %rcx addq $1, %rcx movq %rcx, -8(%rbp) movb 1(%rax), %al movb %al, -17(%rbp) jmp LBB0_5 LBB0_7: ## in Loop: Header=BB0_3 Depth=1 movsbl -17(%rbp), %eax cmpl $0, %eax jne LBB0_9 ## %bb.8: jmp LBB0_34 LBB0_9: ## in Loop: Header=BB0_3 Depth=1 movq -8(%rbp), %rcx movq -32(%rbp), %rax movq %rax, %rdx addq $8, %rdx movq %rdx, -32(%rbp) movq %rcx, (%rax) movq _margc@GOTPCREL(%rip), %rax movq (%rax), %rcx addq $1, %rcx movq _margc@GOTPCREL(%rip), %rax movq %rcx, (%rax) movq -8(%rbp), %rax movq %rax, -16(%rbp) LBB0_10: ## Parent Loop BB0_3 Depth=1 ## => This Inner Loop Header: Depth=2 movsbl -17(%rbp), %eax cmpl $0, %eax je LBB0_31 ## %bb.11: ## in Loop: Header=BB0_10 Depth=2 cmpl $0, -36(%rbp) je LBB0_15 ## %bb.12: ## in Loop: Header=BB0_10 Depth=2 movsbl -17(%rbp), %eax cmpl -36(%rbp), %eax jne LBB0_14 ## %bb.13: ## in Loop: Header=BB0_10 Depth=2 movl $0, -36(%rbp) jmp LBB0_30 LBB0_14: ## in Loop: Header=BB0_10 Depth=2 jmp LBB0_29 LBB0_15: ## in Loop: Header=BB0_10 Depth=2 movsbl -17(%rbp), %eax cmpl $92, %eax jne LBB0_19 ## %bb.16: ## in Loop: Header=BB0_10 Depth=2 movq -8(%rbp), %rax movq %rax, %rcx addq $1, %rcx movq %rcx, -8(%rbp) movb 1(%rax), %al movb %al, -17(%rbp) movsbl %al, %eax cmpl $0, %eax jne LBB0_18 ## %bb.17: ## in Loop: Header=BB0_3 Depth=1 jmp LBB0_31 LBB0_18: ## in Loop: Header=BB0_10 Depth=2 jmp LBB0_28 LBB0_19: ## in Loop: Header=BB0_10 Depth=2 movsbl -17(%rbp), %eax cmpl $34, %eax jne LBB0_21 ## %bb.20: ## in Loop: Header=BB0_10 Depth=2 movl $34, -36(%rbp) jmp LBB0_30 LBB0_21: ## in Loop: Header=BB0_10 Depth=2 movsbl -17(%rbp), %eax cmpl $39, %eax jne LBB0_23 ## %bb.22: ## in Loop: Header=BB0_10 Depth=2 movl $39, -36(%rbp) jmp LBB0_30 LBB0_23: ## in Loop: Header=BB0_10 Depth=2 movsbl -17(%rbp), %edi callq _isspace cmpq $0, %rax je LBB0_25 ## %bb.24: ## in Loop: Header=BB0_3 Depth=1 jmp LBB0_31 LBB0_25: ## in Loop: Header=BB0_10 Depth=2 jmp LBB0_26 LBB0_26: ## in Loop: Header=BB0_10 Depth=2 jmp LBB0_27 LBB0_27: ## in Loop: Header=BB0_10 Depth=2 jmp LBB0_28 LBB0_28: ## in Loop: Header=BB0_10 Depth=2 jmp LBB0_29 LBB0_29: ## in Loop: Header=BB0_10 Depth=2 movb -17(%rbp), %cl movq -16(%rbp), %rax movq %rax, %rdx addq $1, %rdx movq %rdx, -16(%rbp) movb %cl, (%rax) LBB0_30: ## in Loop: Header=BB0_10 Depth=2 movq -8(%rbp), %rax movq %rax, %rcx addq $1, %rcx movq %rcx, -8(%rbp) movb 1(%rax), %al movb %al, -17(%rbp) jmp LBB0_10 LBB0_31: ## in Loop: Header=BB0_3 Depth=1 movq -16(%rbp), %rax movb $0, (%rax) movsbl -17(%rbp), %eax cmpl $0, %eax jne LBB0_33 ## %bb.32: jmp LBB0_34 LBB0_33: ## in Loop: Header=BB0_3 Depth=1 movq -8(%rbp), %rax addq $1, %rax movq %rax, -8(%rbp) jmp LBB0_3 LBB0_34: movq -32(%rbp), %rax movq %rax, %rcx addq $8, %rcx movq %rcx, -32(%rbp) movq $0, (%rax) addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _margv,8,3 ## @margv .comm _margc,8,3 ## @margc .comm _line,8,3 ## @line .comm _saveline,4,2 ## @saveline .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "!" .no_dead_strip _makeargv .subsections_via_symbols
AnghaBench/freebsd/contrib/telnet/telnet/extr_commands.c_makeargv.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function evp_md_free _evp_md_free: ; @evp_md_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 x0, [sp, #8] bl _EVP_MD_free ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _evp_md_free .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function evp_md_free _evp_md_free: ## @evp_md_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), %rdi callq _EVP_MD_free addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _evp_md_free .subsections_via_symbols
AnghaBench/openssl/crypto/evp/extr_digest.c_evp_md_free.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _svn_fs_fs__read_min_unpacked_rev ; -- Begin function svn_fs_fs__read_min_unpacked_rev .p2align 2 _svn_fs_fs__read_min_unpacked_rev: ; @svn_fs_fs__read_min_unpacked_rev .cfi_startproc ; %bb.0: sub sp, sp, #160 .cfi_def_cfa_offset 160 stp x29, x30, [sp, #144] ; 16-byte Folded Spill add x29, sp, #144 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] str x0, [sp, #48] str x1, [sp, #40] str x2, [sp, #32] ldr x0, [sp, #40] ldr x1, [sp, #32] bl _svn_fs_fs__path_min_unpacked_rev mov x1, x0 adrp x8, _APR_READ@GOTPAGE ldr x8, [x8, _APR_READ@GOTPAGEOFF] ldr w8, [x8] adrp x9, _APR_BUFFERED@GOTPAGE ldr x9, [x9, _APR_BUFFERED@GOTPAGEOFF] ldr w9, [x9] orr w2, w8, w9 adrp x8, _APR_OS_DEFAULT@GOTPAGE ldr x8, [x8, _APR_OS_DEFAULT@GOTPAGEOFF] ldr w3, [x8] ldr x4, [sp, #32] add x0, sp, #24 bl _svn_io_file_open bl _SVN_ERR add x2, sp, #20 mov w8, #80 str w8, [sp, #20] ldr x0, [sp, #24] ldr x3, [sp, #32] add x1, sp, #56 str x1, [sp] ; 8-byte Folded Spill bl _svn_io_read_length_line bl _SVN_ERR ldr x0, [sp, #24] ldr x1, [sp, #32] bl _svn_io_file_close bl _SVN_ERR ldr x1, [sp] ; 8-byte Folded Reload ldr x0, [sp, #48] mov x2, #0 bl _svn_revnum_parse bl _SVN_ERR adrp x8, _SVN_NO_ERROR@GOTPAGE ldr x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF] ldr x8, [x8] str x8, [sp, #8] ; 8-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_2 b LBB0_1 LBB0_1: bl ___stack_chk_fail LBB0_2: ldr x0, [sp, #8] ; 8-byte Folded Reload ldp x29, x30, [sp, #144] ; 16-byte Folded Reload add sp, sp, #160 ret .cfi_endproc ; -- End function .comm _APR_READ,4,2 ; @APR_READ .comm _APR_BUFFERED,4,2 ; @APR_BUFFERED .comm _APR_OS_DEFAULT,4,2 ; @APR_OS_DEFAULT .comm _SVN_NO_ERROR,8,3 ; @SVN_NO_ERROR .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _svn_fs_fs__read_min_unpacked_rev ## -- Begin function svn_fs_fs__read_min_unpacked_rev .p2align 4, 0x90 _svn_fs_fs__read_min_unpacked_rev: ## @svn_fs_fs__read_min_unpacked_rev .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $144, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movq %rdi, -104(%rbp) movq %rsi, -112(%rbp) movq %rdx, -120(%rbp) movq -112(%rbp), %rdi movq -120(%rbp), %rsi callq _svn_fs_fs__path_min_unpacked_rev movl %eax, %esi movq _APR_READ@GOTPCREL(%rip), %rax movl (%rax), %edx movq _APR_BUFFERED@GOTPCREL(%rip), %rax orl (%rax), %edx movq _APR_OS_DEFAULT@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -120(%rbp), %r8 leaq -128(%rbp), %rdi callq _svn_io_file_open movl %eax, %edi callq _SVN_ERR movl $80, -132(%rbp) movq -128(%rbp), %rdi leaq -96(%rbp), %rsi movq -120(%rbp), %rcx leaq -132(%rbp), %rdx callq _svn_io_read_length_line movl %eax, %edi callq _SVN_ERR movq -128(%rbp), %rdi movq -120(%rbp), %rsi callq _svn_io_file_close movl %eax, %edi callq _SVN_ERR movq -104(%rbp), %rdi leaq -96(%rbp), %rsi xorl %eax, %eax movl %eax, %edx callq _svn_revnum_parse movl %eax, %edi callq _SVN_ERR movq _SVN_NO_ERROR@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -144(%rbp) ## 8-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB0_2 ## %bb.1: movq -144(%rbp), %rax ## 8-byte Reload addq $144, %rsp popq %rbp retq LBB0_2: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .comm _APR_READ,4,2 ## @APR_READ .comm _APR_BUFFERED,4,2 ## @APR_BUFFERED .comm _APR_OS_DEFAULT,4,2 ## @APR_OS_DEFAULT .comm _SVN_NO_ERROR,8,3 ## @SVN_NO_ERROR .subsections_via_symbols
AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_fs/extr_util.c_svn_fs_fs__read_min_unpacked_rev.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _aoecmd_cleanslate ; -- Begin function aoecmd_cleanslate .p2align 2 _aoecmd_cleanslate: ; @aoecmd_cleanslate .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] adrp x8, _RTTAVG_INIT@GOTPAGE ldr x8, [x8, _RTTAVG_INIT@GOTPAGEOFF] ldr w8, [x8] ldur x9, [x29, #-8] str w8, [x9, #28] adrp x8, _RTTDEV_INIT@GOTPAGE ldr x8, [x8, _RTTDEV_INIT@GOTPAGEOFF] ldr w8, [x8] ldur x9, [x29, #-8] str w8, [x9, #24] ldur x8, [x29, #-8] str xzr, [x8, #16] ldur x8, [x29, #-8] ldr x8, [x8, #8] str x8, [sp, #16] ldr x8, [sp, #16] ldur x9, [x29, #-8] ldrsw x9, [x9] add x8, x8, x9, lsl #3 str x8, [sp, #8] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #16] ldr x9, [sp, #8] subs x8, x8, x9 cset w8, hs mov w9, #0 str w9, [sp, #4] ; 4-byte Folded Spill tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #16] ldr x8, [x8] subs x8, x8, #0 cset w8, ne str w8, [sp, #4] ; 4-byte Folded Spill b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #4] ; 4-byte Folded Reload tbz w8, #0, LBB0_6 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #16] ldr x0, [x8] bl _aoecmd_wreset b LBB0_5 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #16] add x8, x8, #8 str x8, [sp, #16] b LBB0_1 LBB0_6: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _RTTAVG_INIT,4,2 ; @RTTAVG_INIT .comm _RTTDEV_INIT,4,2 ; @RTTDEV_INIT .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _aoecmd_cleanslate ## -- Begin function aoecmd_cleanslate .p2align 4, 0x90 _aoecmd_cleanslate: ## @aoecmd_cleanslate .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 _RTTAVG_INIT@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -8(%rbp), %rax movl %ecx, 28(%rax) movq _RTTDEV_INIT@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -8(%rbp), %rax movl %ecx, 24(%rax) movq -8(%rbp), %rax movq $0, 16(%rax) movq -8(%rbp), %rax movq 8(%rax), %rax movq %rax, -16(%rbp) movq -16(%rbp), %rax movq -8(%rbp), %rcx movslq (%rcx), %rcx shlq $3, %rcx addq %rcx, %rax movq %rax, -24(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movq -16(%rbp), %rcx xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpq -24(%rbp), %rcx movb %al, -25(%rbp) ## 1-byte Spill jae LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq -16(%rbp), %rax cmpq $0, (%rax) setne %al movb %al, -25(%rbp) ## 1-byte Spill LBB0_3: ## in Loop: Header=BB0_1 Depth=1 movb -25(%rbp), %al ## 1-byte Reload testb $1, %al jne LBB0_4 jmp LBB0_6 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 movq -16(%rbp), %rax movq (%rax), %rdi callq _aoecmd_wreset ## %bb.5: ## in Loop: Header=BB0_1 Depth=1 movq -16(%rbp), %rax addq $8, %rax movq %rax, -16(%rbp) jmp LBB0_1 LBB0_6: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _RTTAVG_INIT,4,2 ## @RTTAVG_INIT .comm _RTTDEV_INIT,4,2 ## @RTTDEV_INIT .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/block/aoe/extr_aoecmd.c_aoecmd_cleanslate.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pfkey_xfrm_state2msg_expire _pfkey_xfrm_state2msg_expire: ; @pfkey_xfrm_state2msg_expire .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 w2, [sp, #4] mov w1, #0 bl ___pfkey_xfrm_state2msg ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _pfkey_xfrm_state2msg_expire .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pfkey_xfrm_state2msg_expire _pfkey_xfrm_state2msg_expire: ## @pfkey_xfrm_state2msg_expire .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), %edx xorl %esi, %esi callq ___pfkey_xfrm_state2msg addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _pfkey_xfrm_state2msg_expire .subsections_via_symbols
AnghaBench/linux/net/key/extr_af_key.c_pfkey_xfrm_state2msg_expire.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function radeon_uvd_cs_msg_decode _radeon_uvd_cs_msg_decode: ; @radeon_uvd_cs_msg_decode .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 adrp x8, _EINVAL@GOTPAGE ldr x8, [x8, _EINVAL@GOTPAGEOFF] str x8, [sp, #24] ; 8-byte Folded Spill stur x0, [x29, #-16] stur x1, [x29, #-24] ldur x8, [x29, #-16] ldr w8, [x8, #16] stur w8, [x29, #-28] ldur x8, [x29, #-16] ldr w8, [x8, #24] stur w8, [x29, #-32] ldur x8, [x29, #-16] ldr w8, [x8, #28] stur w8, [x29, #-36] ldur x8, [x29, #-16] ldr w8, [x8, #36] stur w8, [x29, #-40] ldur x8, [x29, #-16] ldr w8, [x8, #112] stur w8, [x29, #-44] ldur w8, [x29, #-32] mov w9, #16 udiv w8, w8, w9 stur w8, [x29, #-48] ldur w8, [x29, #-36] udiv w0, w8, w9 mov w1, #2 str w1, [sp, #36] ; 4-byte Folded Spill bl _ALIGN ldr w9, [sp, #36] ; 4-byte Folded Reload stur w0, [x29, #-52] ldur w8, [x29, #-32] ldur w10, [x29, #-36] mul w8, w8, w10 str w8, [sp, #56] ldr w8, [sp, #56] udiv w9, w8, w9 ldr w8, [sp, #56] add w8, w8, w9 str w8, [sp, #56] ldr w0, [sp, #56] mov w1, #1024 bl _ALIGN str w0, [sp, #56] ldur w8, [x29, #-28] subs w8, w8, #0 ; kill: def $x8 killed $w8 str x8, [sp, #40] ; 8-byte Folded Spill subs x8, x8, #4 cset w8, hi tbnz w8, #0, LBB0_6 ; %bb.1: ldr x11, [sp, #40] ; 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_2: ldr w8, [sp, #56] mov w9, #17 mul w8, w8, w9 str w8, [sp, #48] ldur w8, [x29, #-48] ldur w10, [x29, #-52] mul w8, w8, w10 mul w8, w8, w9 mov w9, #192 mul w9, w8, w9 ldr w8, [sp, #48] add w8, w8, w9 str w8, [sp, #48] ldur w8, [x29, #-48] ldur w9, [x29, #-52] mul w9, w8, w9 ldr w8, [sp, #48] add w8, w8, w9, lsl #5 str w8, [sp, #48] b LBB0_7 LBB0_3: ldr w8, [sp, #56] mov w9, #3 mul w8, w8, w9 str w8, [sp, #48] ldur w8, [x29, #-48] ldur w9, [x29, #-52] mul w9, w8, w9 ldr w8, [sp, #48] add w8, w8, w9, lsl #7 str w8, [sp, #48] ldur w9, [x29, #-48] ldr w8, [sp, #48] add w8, w8, w9, lsl #6 str w8, [sp, #48] ldur w9, [x29, #-48] ldr w8, [sp, #48] add w8, w8, w9, lsl #7 str w8, [sp, #48] ldur w0, [x29, #-48] ldur w1, [x29, #-52] bl _max str w0, [sp, #52] ldr w8, [sp, #52] mov w9, #7 mul w8, w8, w9 lsl w0, w8, #4 mov w1, #64 bl _ALIGN ldr w8, [sp, #48] add w8, w8, w0 str w8, [sp, #48] b LBB0_7 LBB0_4: ldr w8, [sp, #56] mov w9, #3 mul w8, w8, w9 str w8, [sp, #48] b LBB0_7 LBB0_5: ldr w8, [sp, #56] mov w9, #3 mul w8, w8, w9 str w8, [sp, #48] ldur w8, [x29, #-48] ldur w9, [x29, #-52] mul w9, w8, w9 ldr w8, [sp, #48] add w8, w8, w9, lsl #6 str w8, [sp, #48] ldur w8, [x29, #-48] ldur w9, [x29, #-52] mul w8, w8, w9 lsl w0, w8, #5 mov w1, #64 bl _ALIGN ldr w8, [sp, #48] add w8, w8, w0 str w8, [sp, #48] b LBB0_7 LBB0_6: ldur w9, [x29, #-28] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _DRM_ERROR ldr x8, [sp, #24] ; 8-byte Folded Reload ldr w9, [x8] mov w8, #0 subs w8, w8, w9 stur w8, [x29, #-4] b LBB0_12 LBB0_7: ldur w8, [x29, #-32] ldur w9, [x29, #-44] subs w8, w8, w9 cset w8, ls tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _DRM_ERROR ldr x8, [sp, #24] ; 8-byte Folded Reload ldr w9, [x8] mov w8, #0 subs w8, w8, w9 stur w8, [x29, #-4] b LBB0_12 LBB0_9: ldur w8, [x29, #-40] ldr w9, [sp, #48] subs w8, w8, w9 cset w8, hs tbnz w8, #0, LBB0_11 b LBB0_10 LBB0_10: ldur w8, [x29, #-40] ; implicit-def: $x10 mov x10, x8 ldr w9, [sp, #48] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x10, [x9] str x8, [x9, #8] adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _DRM_ERROR ldr x8, [sp, #24] ; 8-byte Folded Reload ldr w9, [x8] mov w8, #0 subs w8, w8, w9 stur w8, [x29, #-4] b LBB0_12 LBB0_11: ldur w8, [x29, #-40] ldur x9, [x29, #-24] str w8, [x9, #4] ldr w8, [sp, #56] ldur x9, [x29, #-24] str w8, [x9, #8] stur wzr, [x29, #-4] b LBB0_12 LBB0_12: ldur w0, [x29, #-4] ldp x29, x30, [sp, #112] ; 16-byte Folded Reload add sp, sp, #128 ret .cfi_endproc .p2align 2 lJTI0_0: .long LBB0_2-Ltmp0 .long LBB0_3-Ltmp0 .long LBB0_6-Ltmp0 .long LBB0_4-Ltmp0 .long LBB0_5-Ltmp0 ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "UVD codec not handled %d!\n" .comm _EINVAL,4,2 ; @EINVAL l_.str.1: ; @.str.1 .asciz "Invalid UVD decoding target pitch!\n" l_.str.2: ; @.str.2 .asciz "Invalid dpb_size in UVD message (%d / %d)!\n" .no_dead_strip _radeon_uvd_cs_msg_decode .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function radeon_uvd_cs_msg_decode _radeon_uvd_cs_msg_decode: ## @radeon_uvd_cs_msg_decode .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 -16(%rbp), %rax movl 16(%rax), %eax movl %eax, -28(%rbp) movq -16(%rbp), %rax movl 24(%rax), %eax movl %eax, -32(%rbp) movq -16(%rbp), %rax movl 28(%rax), %eax movl %eax, -36(%rbp) movq -16(%rbp), %rax movl 36(%rax), %eax movl %eax, -40(%rbp) movq -16(%rbp), %rax movl 112(%rax), %eax movl %eax, -44(%rbp) movl -32(%rbp), %eax shrl $4, %eax movl %eax, -48(%rbp) movl -36(%rbp), %edi shrl $4, %edi movl $2, %esi callq _ALIGN movl %eax, -52(%rbp) movl -32(%rbp), %eax movl -36(%rbp), %ecx imull %ecx, %eax movl %eax, -56(%rbp) movl -56(%rbp), %eax movl %eax, %ecx shrl %ecx addl %ecx, %eax movl %eax, -56(%rbp) movl -56(%rbp), %edi movl $1024, %esi ## imm = 0x400 callq _ALIGN movl %eax, -56(%rbp) movl -28(%rbp), %eax ## kill: def $rax killed $eax movq %rax, -72(%rbp) ## 8-byte Spill subq $4, %rax ja LBB0_5 ## %bb.12: movq -72(%rbp), %rax ## 8-byte Reload leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_1: imull $17, -56(%rbp), %eax movl %eax, -64(%rbp) movl -48(%rbp), %eax imull -52(%rbp), %eax imull $17, %eax, %eax imull $192, %eax, %eax addl -64(%rbp), %eax movl %eax, -64(%rbp) movl -48(%rbp), %eax imull -52(%rbp), %eax shll $5, %eax addl -64(%rbp), %eax movl %eax, -64(%rbp) jmp LBB0_6 LBB0_2: imull $3, -56(%rbp), %eax movl %eax, -64(%rbp) movl -48(%rbp), %eax imull -52(%rbp), %eax shll $7, %eax addl -64(%rbp), %eax movl %eax, -64(%rbp) movl -48(%rbp), %eax shll $6, %eax addl -64(%rbp), %eax movl %eax, -64(%rbp) movl -48(%rbp), %eax shll $7, %eax addl -64(%rbp), %eax movl %eax, -64(%rbp) movl -48(%rbp), %edi movl -52(%rbp), %esi callq _max movl %eax, -60(%rbp) imull $7, -60(%rbp), %edi shll $4, %edi movl $64, %esi callq _ALIGN addl -64(%rbp), %eax movl %eax, -64(%rbp) jmp LBB0_6 LBB0_3: imull $3, -56(%rbp), %eax movl %eax, -64(%rbp) jmp LBB0_6 LBB0_4: imull $3, -56(%rbp), %eax movl %eax, -64(%rbp) movl -48(%rbp), %eax imull -52(%rbp), %eax shll $6, %eax addl -64(%rbp), %eax movl %eax, -64(%rbp) movl -48(%rbp), %edi imull -52(%rbp), %edi shll $5, %edi movl $64, %esi callq _ALIGN addl -64(%rbp), %eax movl %eax, -64(%rbp) jmp LBB0_6 LBB0_5: movl -28(%rbp), %esi leaq L_.str(%rip), %rdi movb $0, %al callq _DRM_ERROR xorl %eax, %eax movq _EINVAL@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) jmp LBB0_11 LBB0_6: movl -32(%rbp), %eax cmpl -44(%rbp), %eax jbe LBB0_8 ## %bb.7: leaq L_.str.1(%rip), %rdi movb $0, %al callq _DRM_ERROR xorl %eax, %eax movq _EINVAL@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) jmp LBB0_11 LBB0_8: movl -40(%rbp), %eax cmpl -64(%rbp), %eax jae LBB0_10 ## %bb.9: movl -40(%rbp), %esi movl -64(%rbp), %edx leaq L_.str.2(%rip), %rdi movb $0, %al callq _DRM_ERROR xorl %eax, %eax movq _EINVAL@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) jmp LBB0_11 LBB0_10: movl -40(%rbp), %ecx movq -24(%rbp), %rax movl %ecx, 4(%rax) movl -56(%rbp), %ecx movq -24(%rbp), %rax movl %ecx, 8(%rax) movl $0, -4(%rbp) LBB0_11: movl -4(%rbp), %eax addq $80, %rsp popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_1, LBB0_1-LJTI0_0 .set L0_0_set_2, LBB0_2-LJTI0_0 .set L0_0_set_5, LBB0_5-LJTI0_0 .set L0_0_set_3, LBB0_3-LJTI0_0 .set L0_0_set_4, LBB0_4-LJTI0_0 LJTI0_0: .long L0_0_set_1 .long L0_0_set_2 .long L0_0_set_5 .long L0_0_set_3 .long L0_0_set_4 .end_data_region ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "UVD codec not handled %d!\n" .comm _EINVAL,4,2 ## @EINVAL L_.str.1: ## @.str.1 .asciz "Invalid UVD decoding target pitch!\n" L_.str.2: ## @.str.2 .asciz "Invalid dpb_size in UVD message (%d / %d)!\n" .no_dead_strip _radeon_uvd_cs_msg_decode .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_uvd.c_radeon_uvd_cs_msg_decode.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dspi_remove _dspi_remove: ; @dspi_remove .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 x0, [x29, #-8] bl _platform_get_drvdata str x0, [sp, #16] ldr x0, [sp, #16] bl _spi_controller_get_devdata str x0, [sp, #8] ldr x0, [sp, #8] bl _dspi_release_dma ldr x8, [sp, #8] ldr w0, [x8, #4] bl _clk_disable_unprepare ldr x8, [sp, #8] ldr w0, [x8] bl _spi_unregister_controller mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .no_dead_strip _dspi_remove .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dspi_remove _dspi_remove: ## @dspi_remove .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), %rdi callq _platform_get_drvdata movq %rax, -16(%rbp) movq -16(%rbp), %rdi callq _spi_controller_get_devdata movq %rax, -24(%rbp) movq -24(%rbp), %rdi callq _dspi_release_dma movq -24(%rbp), %rax movl 4(%rax), %edi callq _clk_disable_unprepare movq -24(%rbp), %rax movl (%rax), %edi callq _spi_unregister_controller xorl %eax, %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _dspi_remove .subsections_via_symbols
AnghaBench/linux/drivers/spi/extr_spi-fsl-dspi.c_dspi_remove.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pmap_pkru_same _pmap_pkru_same: ; @pmap_pkru_same .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] adrp x8, _MA_OWNED@GOTPAGE ldr x8, [x8, _MA_OWNED@GOTPAGEOFF] ldr w1, [x8] bl _PMAP_LOCK_ASSERT ldur x8, [x29, #-16] ldr x8, [x8] adrp x9, _PT_X86@GOTPAGE ldr x9, [x9, _PT_X86@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_3 b LBB0_1 LBB0_1: adrp x8, _cpu_stdext_feature2@GOTPAGE ldr x8, [x8, _cpu_stdext_feature2@GOTPAGEOFF] ldr w8, [x8] adrp x9, _CPUID_STDEXT2_PKU@GOTPAGE ldr x9, [x9, _CPUID_STDEXT2_PKU@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ldur x8, [x29, #-24] adrp x9, _VM_MAXUSER_ADDRESS@GOTPAGE ldr x9, [x9, _VM_MAXUSER_ADDRESS@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, lt tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: mov w8, #1 stur w8, [x29, #-4] b LBB0_14 LBB0_4: ldr x8, [sp, #32] adrp x9, _VM_MAXUSER_ADDRESS@GOTPAGE ldr x9, [x9, _VM_MAXUSER_ADDRESS@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, le and w0, w8, #0x1 bl _MPASS ldur x8, [x29, #-24] str x8, [sp, #8] ; kill: def $x8 killed $xzr str xzr, [sp, #16] b LBB0_5 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #8] ldr x9, [sp, #32] subs x8, x8, x9 cset w8, ge tbnz w8, #0, LBB0_13 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_5 Depth=1 ldur x8, [x29, #-16] add x0, x8, #8 ldr x1, [sp, #8] bl _rangeset_lookup str x0, [sp, #24] ldr x8, [sp, #24] subs x8, x8, #0 cset w8, eq and w8, w8, #0x1 ldr x9, [sp, #16] subs x9, x9, #0 cset w9, eq and w9, w9, #0x1 eor w8, w8, w9 subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: stur wzr, [x29, #-4] b LBB0_14 LBB0_8: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [sp, #24] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_10 b LBB0_9 LBB0_9: ; in Loop: Header=BB0_5 Depth=1 adrp x8, _PAGE_SIZE@GOTPAGE ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF] ldr x9, [x8] ldr x8, [sp, #8] add x8, x8, x9 str x8, [sp, #8] b LBB0_5 LBB0_10: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [sp, #16] ldr x8, [x8] ldr x9, [sp, #24] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_12 b LBB0_11 LBB0_11: stur wzr, [x29, #-4] b LBB0_14 LBB0_12: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [sp, #24] ldr x8, [x8, #8] str x8, [sp, #8] b LBB0_5 LBB0_13: mov w8, #1 stur w8, [x29, #-4] b LBB0_14 LBB0_14: ldur w0, [x29, #-4] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _MA_OWNED,4,2 ; @MA_OWNED .comm _PT_X86,8,3 ; @PT_X86 .comm _cpu_stdext_feature2,4,2 ; @cpu_stdext_feature2 .comm _CPUID_STDEXT2_PKU,4,2 ; @CPUID_STDEXT2_PKU .comm _VM_MAXUSER_ADDRESS,8,3 ; @VM_MAXUSER_ADDRESS .comm _PAGE_SIZE,8,3 ; @PAGE_SIZE .no_dead_strip _pmap_pkru_same .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pmap_pkru_same _pmap_pkru_same: ## @pmap_pkru_same .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 movq _MA_OWNED@GOTPCREL(%rip), %rax movl (%rax), %esi callq _PMAP_LOCK_ASSERT movq -16(%rbp), %rax movq (%rax), %rax movq _PT_X86@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_3 ## %bb.1: movq _cpu_stdext_feature2@GOTPCREL(%rip), %rax movl (%rax), %eax movq _CPUID_STDEXT2_PKU@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax je LBB0_3 ## %bb.2: movq -24(%rbp), %rax movq _VM_MAXUSER_ADDRESS@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jl LBB0_4 LBB0_3: movl $1, -4(%rbp) jmp LBB0_14 LBB0_4: movq -32(%rbp), %rax movq _VM_MAXUSER_ADDRESS@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax setle %al andb $1, %al movzbl %al, %edi callq _MPASS movq -24(%rbp), %rax movq %rax, -56(%rbp) movq $0, -48(%rbp) LBB0_5: ## =>This Inner Loop Header: Depth=1 movq -56(%rbp), %rax cmpq -32(%rbp), %rax jge LBB0_13 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movq -16(%rbp), %rdi addq $8, %rdi movq -56(%rbp), %rsi callq _rangeset_lookup movq %rax, -40(%rbp) cmpq $0, -40(%rbp) sete %al andb $1, %al movzbl %al, %eax cmpq $0, -48(%rbp) sete %cl andb $1, %cl movzbl %cl, %ecx xorl %ecx, %eax cmpl $0, %eax je LBB0_8 ## %bb.7: movl $0, -4(%rbp) jmp LBB0_14 LBB0_8: ## in Loop: Header=BB0_5 Depth=1 cmpq $0, -40(%rbp) jne LBB0_10 ## %bb.9: ## in Loop: Header=BB0_5 Depth=1 movq _PAGE_SIZE@GOTPCREL(%rip), %rax movq (%rax), %rax addq -56(%rbp), %rax movq %rax, -56(%rbp) jmp LBB0_5 LBB0_10: ## in Loop: Header=BB0_5 Depth=1 movq -48(%rbp), %rax movq (%rax), %rax movq -40(%rbp), %rcx cmpq (%rcx), %rax je LBB0_12 ## %bb.11: movl $0, -4(%rbp) jmp LBB0_14 LBB0_12: ## in Loop: Header=BB0_5 Depth=1 movq -40(%rbp), %rax movq 8(%rax), %rax movq %rax, -56(%rbp) jmp LBB0_5 LBB0_13: movl $1, -4(%rbp) LBB0_14: movl -4(%rbp), %eax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _MA_OWNED,4,2 ## @MA_OWNED .comm _PT_X86,8,3 ## @PT_X86 .comm _cpu_stdext_feature2,4,2 ## @cpu_stdext_feature2 .comm _CPUID_STDEXT2_PKU,4,2 ## @CPUID_STDEXT2_PKU .comm _VM_MAXUSER_ADDRESS,8,3 ## @VM_MAXUSER_ADDRESS .comm _PAGE_SIZE,8,3 ## @PAGE_SIZE .no_dead_strip _pmap_pkru_same .subsections_via_symbols
AnghaBench/freebsd/sys/amd64/amd64/extr_pmap.c_pmap_pkru_same.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bcm_sdhci_finish_transfer _bcm_sdhci_finish_transfer: ; @bcm_sdhci_finish_transfer .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] str x1, [sp] ldr x0, [sp] bl _sdhci_finish_data ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _bcm_sdhci_finish_transfer .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bcm_sdhci_finish_transfer _bcm_sdhci_finish_transfer: ## @bcm_sdhci_finish_transfer .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 %rsi, -16(%rbp) movq -16(%rbp), %rdi callq _sdhci_finish_data addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _bcm_sdhci_finish_transfer .subsections_via_symbols
AnghaBench/freebsd/sys/arm/broadcom/bcm2835/extr_bcm2835_sdhci.c_bcm_sdhci_finish_transfer.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function wpa_sm_set_state _wpa_sm_set_state: ; @wpa_sm_set_state .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 x0, [x8, #8] bl _WPA_ASSERT ldr x8, [sp, #8] ldr x8, [x8] ldr x8, [x8, #8] ldr x9, [sp, #8] ldr x9, [x9] ldr w0, [x9] ldr w1, [sp, #4] blr x8 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _wpa_sm_set_state .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function wpa_sm_set_state _wpa_sm_set_state: ## @wpa_sm_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 $16, %rsp movq %rdi, -8(%rbp) movl %esi, -12(%rbp) movq -8(%rbp), %rax movq (%rax), %rax movq 8(%rax), %rdi callq _WPA_ASSERT movq -8(%rbp), %rax movq (%rax), %rax movq 8(%rax), %rax movq -8(%rbp), %rcx movq (%rcx), %rcx movl (%rcx), %edi movl -12(%rbp), %esi callq *%rax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _wpa_sm_set_state .subsections_via_symbols
AnghaBench/freebsd/contrib/wpa/src/rsn_supp/extr_wpa_i.h_wpa_sm_set_state.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function t4_wr_mbox_ns _t4_wr_mbox_ns: ; @t4_wr_mbox_ns .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 w1, [x29, #-12] str x2, [sp, #24] str w3, [sp, #20] str x4, [sp, #8] ldur x0, [x29, #-8] ldur w1, [x29, #-12] ldr x2, [sp, #24] ldr w3, [sp, #20] ldr x4, [sp, #8] mov w5, #0 bl _t4_wr_mbox_meat ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .no_dead_strip _t4_wr_mbox_ns .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function t4_wr_mbox_ns _t4_wr_mbox_ns: ## @t4_wr_mbox_ns .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 %rdx, -24(%rbp) movl %ecx, -28(%rbp) movq %r8, -40(%rbp) movq -8(%rbp), %rdi movl -12(%rbp), %esi movq -24(%rbp), %rdx movl -28(%rbp), %ecx movq -40(%rbp), %r8 xorl %r9d, %r9d callq _t4_wr_mbox_meat addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _t4_wr_mbox_ns .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/cxgb4/extr_cxgb4.h_t4_wr_mbox_ns.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function i8259_set_irq_mask _i8259_set_irq_mask: ; @i8259_set_irq_mask .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, _cached_A1@GOTPAGE ldr x8, [x8, _cached_A1@GOTPAGEOFF] ldr w0, [x8] mov w1, #161 bl _outb adrp x8, _cached_21@GOTPAGE ldr x8, [x8, _cached_21@GOTPAGEOFF] ldr w0, [x8] mov w1, #33 bl _outb ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _cached_A1,4,2 ; @cached_A1 .comm _cached_21,4,2 ; @cached_21 .no_dead_strip _i8259_set_irq_mask .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function i8259_set_irq_mask _i8259_set_irq_mask: ## @i8259_set_irq_mask .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 _cached_A1@GOTPCREL(%rip), %rax movl (%rax), %edi movl $161, %esi callq _outb movq _cached_21@GOTPCREL(%rip), %rax movl (%rax), %edi movl $33, %esi callq _outb addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _cached_A1,4,2 ## @cached_A1 .comm _cached_21,4,2 ## @cached_21 .no_dead_strip _i8259_set_irq_mask .subsections_via_symbols
AnghaBench/linux/arch/powerpc/sysdev/extr_i8259.c_i8259_set_irq_mask.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function imx_dsp_probe _imx_dsp_probe: ; @imx_dsp_probe .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, _GFP_KERNEL@GOTPAGE ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] str x8, [sp] ; 8-byte Folded Spill stur x0, [x29, #-16] ldur x8, [x29, #-16] stur x8, [x29, #-24] ldur x0, [x29, #-16] ldur x8, [x29, #-16] ldr w1, [x8] bl _device_set_of_node_from_dev ldr x8, [sp] ; 8-byte Folded Reload ldur x0, [x29, #-24] ldr w2, [x8] mov w1, #16 bl _devm_kzalloc stur x0, [x29, #-32] ldur x8, [x29, #-32] 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_21 LBB0_2: str wzr, [sp, #16] b LBB0_3 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #16] adrp x9, _DSP_MU_CHAN_NUM@GOTPAGE ldr x9, [x9, _DSP_MU_CHAN_NUM@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 ldr w8, [sp, #16] subs w8, w8, #2 cset w8, ge tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [sp] ; 8-byte Folded Reload ldr w0, [x8] ldr w2, [sp, #16] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _kasprintf str x0, [sp, #24] b LBB0_7 LBB0_6: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [sp] ; 8-byte Folded Reload ldr w0, [x8] ldr w8, [sp, #16] subs w2, w8, #2 adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _kasprintf str x0, [sp, #24] b LBB0_7 LBB0_7: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [sp, #24] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: 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_21 LBB0_9: ; in Loop: Header=BB0_3 Depth=1 ldur x8, [x29, #-32] ldr x8, [x8] ldrsw x9, [sp, #16] mov x10, #40 mul x9, x9, x10 add x8, x8, x9 str x8, [sp, #40] ldr x8, [sp, #40] add x8, x8, #16 str x8, [sp, #32] ldur x8, [x29, #-24] ldr x9, [sp, #32] str x8, [x9, #16] ldr x8, [sp, #32] str wzr, [x8] ldr x9, [sp, #32] mov w8, #1 str w8, [x9, #4] adrp x8, _imx_dsp_handle_rx@GOTPAGE ldr x8, [x8, _imx_dsp_handle_rx@GOTPAGEOFF] ldr w8, [x8] ldr x9, [sp, #32] str w8, [x9, #8] ldur x8, [x29, #-32] ldr x9, [sp, #40] str x8, [x9, #8] ldr w8, [sp, #16] mov w10, #2 sdiv w9, w8, w10 mul w9, w9, w10 subs w8, w8, w9 ldr x9, [sp, #40] str w8, [x9] ldr x0, [sp, #32] ldr x1, [sp, #24] bl _mbox_request_channel_byname ldr x8, [sp, #40] str w0, [x8, #4] ldr x8, [sp, #40] ldr w0, [x8, #4] bl _IS_ERR subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_13 b LBB0_10 LBB0_10: ldr x8, [sp, #40] ldr w0, [x8, #4] bl _PTR_ERR str w0, [sp, #20] ldr w8, [sp, #20] adrp x9, _EPROBE_DEFER@GOTPAGE ldr x9, [x9, _EPROBE_DEFER@GOTPAGEOFF] ldr w9, [x9] adds w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_12 b LBB0_11 LBB0_11: ldur x0, [x29, #-24] ldr x2, [sp, #24] ldr w3, [sp, #20] adrp x1, l_.str.2@PAGE add x1, x1, l_.str.2@PAGEOFF bl _dev_err b LBB0_12 LBB0_12: b LBB0_16 LBB0_13: ; in Loop: Header=BB0_3 Depth=1 ldur x0, [x29, #-24] ldr x2, [sp, #24] adrp x1, l_.str.3@PAGE add x1, x1, l_.str.3@PAGEOFF bl _dev_dbg ldr x0, [sp, #24] bl _kfree b LBB0_14 LBB0_14: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [sp, #16] add w8, w8, #1 str w8, [sp, #16] b LBB0_3 LBB0_15: ldur x8, [x29, #-24] ldur x9, [x29, #-32] str x8, [x9, #8] ldur x0, [x29, #-24] ldur x1, [x29, #-32] bl _dev_set_drvdata ldur x0, [x29, #-24] adrp x1, l_.str.4@PAGE add x1, x1, l_.str.4@PAGEOFF bl _dev_info ldur x0, [x29, #-24] bl _devm_of_platform_populate stur w0, [x29, #-4] b LBB0_21 LBB0_16: ldr x0, [sp, #24] bl _kfree str wzr, [sp, #12] b LBB0_17 LBB0_17: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #12] ldr w9, [sp, #16] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_20 b LBB0_18 LBB0_18: ; in Loop: Header=BB0_17 Depth=1 ldur x8, [x29, #-32] ldr x8, [x8] ldrsw x9, [sp, #12] mov x10, #40 mul x9, x9, x10 add x8, x8, x9 str x8, [sp, #40] ldr x8, [sp, #40] ldr w0, [x8, #4] bl _mbox_free_channel b LBB0_19 LBB0_19: ; in Loop: Header=BB0_17 Depth=1 ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB0_17 LBB0_20: ldr w8, [sp, #20] stur w8, [x29, #-4] b LBB0_21 LBB0_21: ldur w0, [x29, #-4] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc ; -- End function .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .comm _DSP_MU_CHAN_NUM,4,2 ; @DSP_MU_CHAN_NUM .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "txdb%d" l_.str.1: ; @.str.1 .asciz "rxdb%d" .comm _imx_dsp_handle_rx,4,2 ; @imx_dsp_handle_rx .comm _EPROBE_DEFER,4,2 ; @EPROBE_DEFER l_.str.2: ; @.str.2 .asciz "Failed to request mbox chan %s ret %d\n" l_.str.3: ; @.str.3 .asciz "request mbox chan %s\n" l_.str.4: ; @.str.4 .asciz "NXP i.MX DSP IPC initialized\n" .no_dead_strip _imx_dsp_probe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function imx_dsp_probe _imx_dsp_probe: ## @imx_dsp_probe .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), %rax movq %rax, -24(%rbp) movq -16(%rbp), %rdi movq -16(%rbp), %rax movl (%rax), %esi callq _device_set_of_node_from_dev movq -24(%rbp), %rdi movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %edx movl $16, %esi callq _devm_kzalloc movq %rax, -32(%rbp) cmpq $0, -32(%rbp) jne LBB0_2 ## %bb.1: xorl %eax, %eax movq _ENOMEM@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) jmp LBB0_21 LBB0_2: movl $0, -64(%rbp) LBB0_3: ## =>This Inner Loop Header: Depth=1 movl -64(%rbp), %eax movq _DSP_MU_CHAN_NUM@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jge LBB0_15 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 cmpl $2, -64(%rbp) jge LBB0_6 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %edi movl -64(%rbp), %edx leaq L_.str(%rip), %rsi callq _kasprintf movq %rax, -56(%rbp) jmp LBB0_7 LBB0_6: ## in Loop: Header=BB0_3 Depth=1 movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %edi movl -64(%rbp), %edx subl $2, %edx leaq L_.str.1(%rip), %rsi callq _kasprintf movq %rax, -56(%rbp) LBB0_7: ## in Loop: Header=BB0_3 Depth=1 cmpq $0, -56(%rbp) jne LBB0_9 ## %bb.8: xorl %eax, %eax movq _ENOMEM@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) jmp LBB0_21 LBB0_9: ## in Loop: Header=BB0_3 Depth=1 movq -32(%rbp), %rax movq (%rax), %rax movslq -64(%rbp), %rcx imulq $40, %rcx, %rcx addq %rcx, %rax movq %rax, -40(%rbp) movq -40(%rbp), %rax addq $16, %rax movq %rax, -48(%rbp) movq -24(%rbp), %rcx movq -48(%rbp), %rax movq %rcx, 16(%rax) movq -48(%rbp), %rax movl $0, (%rax) movq -48(%rbp), %rax movl $1, 4(%rax) movq _imx_dsp_handle_rx@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -48(%rbp), %rax movl %ecx, 8(%rax) movq -32(%rbp), %rcx movq -40(%rbp), %rax movq %rcx, 8(%rax) movl -64(%rbp), %eax movl $2, %ecx cltd idivl %ecx movq -40(%rbp), %rax movl %edx, (%rax) movq -48(%rbp), %rdi movq -56(%rbp), %rsi callq _mbox_request_channel_byname movl %eax, %ecx movq -40(%rbp), %rax movl %ecx, 4(%rax) movq -40(%rbp), %rax movl 4(%rax), %edi callq _IS_ERR cmpq $0, %rax je LBB0_13 ## %bb.10: movq -40(%rbp), %rax movl 4(%rax), %edi callq _PTR_ERR movl %eax, -60(%rbp) movl -60(%rbp), %eax xorl %ecx, %ecx movq _EPROBE_DEFER@GOTPCREL(%rip), %rdx subl (%rdx), %ecx cmpl %ecx, %eax je LBB0_12 ## %bb.11: movq -24(%rbp), %rdi movq -56(%rbp), %rdx movl -60(%rbp), %ecx leaq L_.str.2(%rip), %rsi callq _dev_err LBB0_12: jmp LBB0_16 LBB0_13: ## in Loop: Header=BB0_3 Depth=1 movq -24(%rbp), %rdi movq -56(%rbp), %rdx leaq L_.str.3(%rip), %rsi callq _dev_dbg movq -56(%rbp), %rdi callq _kfree ## %bb.14: ## in Loop: Header=BB0_3 Depth=1 movl -64(%rbp), %eax addl $1, %eax movl %eax, -64(%rbp) jmp LBB0_3 LBB0_15: movq -24(%rbp), %rcx movq -32(%rbp), %rax movq %rcx, 8(%rax) movq -24(%rbp), %rdi movq -32(%rbp), %rsi callq _dev_set_drvdata movq -24(%rbp), %rdi leaq L_.str.4(%rip), %rsi callq _dev_info movq -24(%rbp), %rdi callq _devm_of_platform_populate movl %eax, -4(%rbp) jmp LBB0_21 LBB0_16: movq -56(%rbp), %rdi callq _kfree movl $0, -68(%rbp) LBB0_17: ## =>This Inner Loop Header: Depth=1 movl -68(%rbp), %eax cmpl -64(%rbp), %eax jge LBB0_20 ## %bb.18: ## in Loop: Header=BB0_17 Depth=1 movq -32(%rbp), %rax movq (%rax), %rax movslq -68(%rbp), %rcx imulq $40, %rcx, %rcx addq %rcx, %rax movq %rax, -40(%rbp) movq -40(%rbp), %rax movl 4(%rax), %edi callq _mbox_free_channel ## %bb.19: ## in Loop: Header=BB0_17 Depth=1 movl -68(%rbp), %eax addl $1, %eax movl %eax, -68(%rbp) jmp LBB0_17 LBB0_20: movl -60(%rbp), %eax movl %eax, -4(%rbp) LBB0_21: movl -4(%rbp), %eax addq $80, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .comm _DSP_MU_CHAN_NUM,4,2 ## @DSP_MU_CHAN_NUM .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "txdb%d" L_.str.1: ## @.str.1 .asciz "rxdb%d" .comm _imx_dsp_handle_rx,4,2 ## @imx_dsp_handle_rx .comm _EPROBE_DEFER,4,2 ## @EPROBE_DEFER L_.str.2: ## @.str.2 .asciz "Failed to request mbox chan %s ret %d\n" L_.str.3: ## @.str.3 .asciz "request mbox chan %s\n" L_.str.4: ## @.str.4 .asciz "NXP i.MX DSP IPC initialized\n" .no_dead_strip _imx_dsp_probe .subsections_via_symbols
AnghaBench/linux/drivers/firmware/imx/extr_imx-dsp.c_imx_dsp_probe.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function xn_ioctl _xn_ioctl: ; @xn_ioctl .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 adrp x8, _IFCAP_RXCSUM@GOTPAGE ldr x8, [x8, _IFCAP_RXCSUM@GOTPAGEOFF] str x8, [sp, #32] ; 8-byte Folded Spill adrp x8, _IFCAP_LRO@GOTPAGE ldr x8, [x8, _IFCAP_LRO@GOTPAGEOFF] str x8, [sp, #40] ; 8-byte Folded Spill stur x0, [x29, #-8] stur w1, [x29, #-12] stur x2, [x29, #-24] ldur x8, [x29, #-8] ldr x8, [x8, #24] stur x8, [x29, #-32] ldur x8, [x29, #-24] stur x8, [x29, #-40] stur wzr, [x29, #-52] ldur x8, [x29, #-32] ldr w8, [x8, #12] stur w8, [x29, #-44] ldur w8, [x29, #-12] subs w8, w8, #128 ; kill: def $x8 killed $w8 str x8, [sp, #48] ; 8-byte Folded Spill subs x8, x8, #7 cset w8, hi tbnz w8, #0, LBB0_27 ; %bb.1: ldr x11, [sp, #48] ; 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_2: ldur x0, [x29, #-8] ldur w1, [x29, #-12] ldur x2, [x29, #-24] bl _ether_ioctl stur w0, [x29, #-52] b LBB0_28 LBB0_3: ldur x8, [x29, #-8] ldr w8, [x8, #16] ldur x9, [x29, #-40] ldr w9, [x9, #4] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: b LBB0_28 LBB0_5: ldur x8, [x29, #-40] ldr w8, [x8, #4] ldur x9, [x29, #-8] str w8, [x9, #16] adrp x8, _IFF_DRV_RUNNING@GOTPAGE ldr x8, [x8, _IFF_DRV_RUNNING@GOTPAGEOFF] ldr w10, [x8] ldur x9, [x29, #-8] ldr w8, [x9, #4] bic w8, w8, w10 str w8, [x9, #4] ldur x0, [x29, #-32] bl _xn_ifinit b LBB0_28 LBB0_6: ldur x0, [x29, #-32] bl _XN_LOCK ldur x8, [x29, #-8] ldr w8, [x8] adrp x9, _IFF_UP@GOTPAGE ldr x9, [x9, _IFF_UP@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: ldur x0, [x29, #-32] bl _xn_ifinit_locked b LBB0_11 LBB0_8: ldur x8, [x29, #-8] ldr w8, [x8, #4] adrp x9, _IFF_DRV_RUNNING@GOTPAGE ldr x9, [x9, _IFF_DRV_RUNNING@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_9 LBB0_9: ldur x0, [x29, #-32] bl _xn_stop b LBB0_10 LBB0_10: b LBB0_11 LBB0_11: ldur x8, [x29, #-8] ldr w8, [x8] ldur x9, [x29, #-32] str w8, [x9] ldur x0, [x29, #-32] bl _XN_UNLOCK b LBB0_28 LBB0_12: ldur x8, [x29, #-40] ldr w8, [x8] ldur x9, [x29, #-8] ldr w9, [x9, #8] eor w8, w8, w9 stur w8, [x29, #-48] str wzr, [sp, #56] ldur w8, [x29, #-48] adrp x9, _IFCAP_TXCSUM@GOTPAGE ldr x9, [x9, _IFCAP_TXCSUM@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_14 b LBB0_13 LBB0_13: adrp x8, _IFCAP_TXCSUM@GOTPAGE ldr x8, [x8, _IFCAP_TXCSUM@GOTPAGEOFF] ldr w10, [x8] ldur x9, [x29, #-8] ldr w8, [x9, #8] eor w8, w8, w10 str w8, [x9, #8] adrp x8, _XN_CSUM_FEATURES@GOTPAGE ldr x8, [x8, _XN_CSUM_FEATURES@GOTPAGEOFF] ldr w10, [x8] ldur x9, [x29, #-8] ldr w8, [x9, #12] eor w8, w8, w10 str w8, [x9, #12] b LBB0_14 LBB0_14: ldur w8, [x29, #-48] adrp x9, _IFCAP_TSO4@GOTPAGE ldr x9, [x9, _IFCAP_TSO4@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_16 b LBB0_15 LBB0_15: adrp x8, _IFCAP_TSO4@GOTPAGE ldr x8, [x8, _IFCAP_TSO4@GOTPAGEOFF] ldr w10, [x8] ldur x9, [x29, #-8] ldr w8, [x9, #8] eor w8, w8, w10 str w8, [x9, #8] adrp x8, _CSUM_TSO@GOTPAGE ldr x8, [x8, _CSUM_TSO@GOTPAGEOFF] ldr w10, [x8] ldur x9, [x29, #-8] ldr w8, [x9, #12] eor w8, w8, w10 str w8, [x9, #12] b LBB0_16 LBB0_16: ldr x10, [sp, #40] ; 8-byte Folded Reload ldr x9, [sp, #32] ; 8-byte Folded Reload ldur w8, [x29, #-48] ldr w9, [x9] ldr w10, [x10] orr w9, w9, w10 ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_22 b LBB0_17 LBB0_17: ldr x9, [sp, #32] ; 8-byte Folded Reload mov w8, #1 str w8, [sp, #56] ldur w8, [x29, #-48] ldr w9, [x9] ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_19 b LBB0_18 LBB0_18: ldr x8, [sp, #32] ; 8-byte Folded Reload ldr w10, [x8] ldur x9, [x29, #-8] ldr w8, [x9, #8] eor w8, w8, w10 str w8, [x9, #8] b LBB0_19 LBB0_19: ldr x9, [sp, #40] ; 8-byte Folded Reload ldur w8, [x29, #-48] ldr w9, [x9] ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_21 b LBB0_20 LBB0_20: ldr x8, [sp, #40] ; 8-byte Folded Reload ldr w10, [x8] ldur x9, [x29, #-8] ldr w8, [x9, #8] eor w8, w8, w10 str w8, [x9, #8] b LBB0_21 LBB0_21: b LBB0_22 LBB0_22: ldr w8, [sp, #56] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_24 b LBB0_23 LBB0_23: b LBB0_28 LBB0_24: ldur x8, [x29, #-32] ldr w0, [x8, #12] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _device_printf ldur x0, [x29, #-32] bl _XN_LOCK ldur x0, [x29, #-32] bl _netfront_carrier_off ldur x9, [x29, #-32] mov w8, #1 str w8, [x9, #4] ldur x0, [x29, #-32] bl _XN_UNLOCK adrp x8, _XST_NIL@GOTPAGE ldr x8, [x8, _XST_NIL@GOTPAGEOFF] str x8, [sp, #16] ; 8-byte Folded Spill ldr w8, [x8] str w8, [sp, #12] ; 4-byte Folded Spill ldur w0, [x29, #-44] bl _xenbus_get_node mov x1, x0 ldr w0, [sp, #12] ; 4-byte Folded Reload adrp x2, l_.str.1@PAGE add x2, x2, l_.str.1@PAGEOFF bl _xs_rm ldr x8, [sp, #16] ; 8-byte Folded Reload ldr w8, [x8] str w8, [sp, #28] ; 4-byte Folded Spill ldur w0, [x29, #-44] bl _xenbus_get_node mov x1, x0 ldr w0, [sp, #28] ; 4-byte Folded Reload adrp x2, l_.str.2@PAGE add x2, x2, l_.str.2@PAGEOFF bl _xs_rm ldur w0, [x29, #-44] adrp x8, _XenbusStateClosing@GOTPAGE ldr x8, [x8, _XenbusStateClosing@GOTPAGEOFF] ldr w1, [x8] bl _xenbus_set_state ldur x0, [x29, #-32] adrp x8, _hz@GOTPAGE ldr x8, [x8, _hz@GOTPAGEOFF] ldr w9, [x8] mov w8, #30 mul w3, w8, w9 mov w1, #0 adrp x2, l_.str.3@PAGE add x2, x2, l_.str.3@PAGEOFF bl _tsleep stur w0, [x29, #-52] b LBB0_28 LBB0_25: b LBB0_28 LBB0_26: ldur x0, [x29, #-8] ldur x1, [x29, #-40] ldur x8, [x29, #-32] add x2, x8, #8 ldur w3, [x29, #-12] bl _ifmedia_ioctl stur w0, [x29, #-52] b LBB0_28 LBB0_27: ldur x0, [x29, #-8] ldur w1, [x29, #-12] ldur x2, [x29, #-24] bl _ether_ioctl stur w0, [x29, #-52] b LBB0_28 LBB0_28: ldur w0, [x29, #-52] ldp x29, x30, [sp, #112] ; 16-byte Folded Reload add sp, sp, #128 ret .cfi_endproc .p2align 2 lJTI0_0: .long LBB0_3-Ltmp0 .long LBB0_26-Ltmp0 .long LBB0_6-Ltmp0 .long LBB0_12-Ltmp0 .long LBB0_2-Ltmp0 .long LBB0_26-Ltmp0 .long LBB0_25-Ltmp0 .long LBB0_25-Ltmp0 ; -- End function .comm _IFF_DRV_RUNNING,4,2 ; @IFF_DRV_RUNNING .comm _IFF_UP,4,2 ; @IFF_UP .comm _IFCAP_TXCSUM,4,2 ; @IFCAP_TXCSUM .comm _XN_CSUM_FEATURES,4,2 ; @XN_CSUM_FEATURES .comm _IFCAP_TSO4,4,2 ; @IFCAP_TSO4 .comm _CSUM_TSO,4,2 ; @CSUM_TSO .comm _IFCAP_RXCSUM,4,2 ; @IFCAP_RXCSUM .comm _IFCAP_LRO,4,2 ; @IFCAP_LRO .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "performing interface reset due to feature change\n" .comm _XST_NIL,4,2 ; @XST_NIL l_.str.1: ; @.str.1 .asciz "feature-gso-tcpv4" l_.str.2: ; @.str.2 .asciz "feature-no-csum-offload" .comm _XenbusStateClosing,4,2 ; @XenbusStateClosing l_.str.3: ; @.str.3 .asciz "xn_rst" .comm _hz,4,2 ; @hz .comm _AF_INET,4,2 ; @AF_INET .no_dead_strip _xn_ioctl .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function xn_ioctl _xn_ioctl: ## @xn_ioctl .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 %rdx, -24(%rbp) movq -8(%rbp), %rax movq 24(%rax), %rax movq %rax, -32(%rbp) movq -24(%rbp), %rax movq %rax, -40(%rbp) movl $0, -52(%rbp) movq -32(%rbp), %rax movl 12(%rax), %eax movl %eax, -44(%rbp) movl -12(%rbp), %eax addl $-128, %eax movl %eax, %ecx movq %rcx, -64(%rbp) ## 8-byte Spill subl $7, %eax ja LBB0_26 ## %bb.28: movq -64(%rbp), %rax ## 8-byte Reload leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_1: movq -8(%rbp), %rdi movl -12(%rbp), %esi movq -24(%rbp), %rdx callq _ether_ioctl movl %eax, -52(%rbp) jmp LBB0_27 LBB0_2: movq -8(%rbp), %rax movl 16(%rax), %eax movq -40(%rbp), %rcx cmpl 4(%rcx), %eax jne LBB0_4 ## %bb.3: jmp LBB0_27 LBB0_4: movq -40(%rbp), %rax movl 4(%rax), %ecx movq -8(%rbp), %rax movl %ecx, 16(%rax) movq _IFF_DRV_RUNNING@GOTPCREL(%rip), %rax movl (%rax), %ecx xorl $-1, %ecx movq -8(%rbp), %rax andl 4(%rax), %ecx movl %ecx, 4(%rax) movq -32(%rbp), %rdi callq _xn_ifinit jmp LBB0_27 LBB0_5: movq -32(%rbp), %rdi callq _XN_LOCK movq -8(%rbp), %rax movl (%rax), %eax movq _IFF_UP@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax je LBB0_7 ## %bb.6: movq -32(%rbp), %rdi callq _xn_ifinit_locked jmp LBB0_10 LBB0_7: movq -8(%rbp), %rax movl 4(%rax), %eax movq _IFF_DRV_RUNNING@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax je LBB0_9 ## %bb.8: movq -32(%rbp), %rdi callq _xn_stop LBB0_9: jmp LBB0_10 LBB0_10: movq -8(%rbp), %rax movl (%rax), %ecx movq -32(%rbp), %rax movl %ecx, (%rax) movq -32(%rbp), %rdi callq _XN_UNLOCK jmp LBB0_27 LBB0_11: movq -40(%rbp), %rax movl (%rax), %eax movq -8(%rbp), %rcx xorl 8(%rcx), %eax movl %eax, -48(%rbp) movl $0, -56(%rbp) movl -48(%rbp), %eax movq _IFCAP_TXCSUM@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax je LBB0_13 ## %bb.12: movq _IFCAP_TXCSUM@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -8(%rbp), %rax xorl 8(%rax), %ecx movl %ecx, 8(%rax) movq _XN_CSUM_FEATURES@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -8(%rbp), %rax xorl 12(%rax), %ecx movl %ecx, 12(%rax) LBB0_13: movl -48(%rbp), %eax movq _IFCAP_TSO4@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax je LBB0_15 ## %bb.14: movq _IFCAP_TSO4@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -8(%rbp), %rax xorl 8(%rax), %ecx movl %ecx, 8(%rax) movq _CSUM_TSO@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -8(%rbp), %rax xorl 12(%rax), %ecx movl %ecx, 12(%rax) LBB0_15: movl -48(%rbp), %eax movq _IFCAP_RXCSUM@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movq _IFCAP_LRO@GOTPCREL(%rip), %rdx orl (%rdx), %ecx andl %ecx, %eax cmpl $0, %eax je LBB0_21 ## %bb.16: movl $1, -56(%rbp) movl -48(%rbp), %eax movq _IFCAP_RXCSUM@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax je LBB0_18 ## %bb.17: movq _IFCAP_RXCSUM@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -8(%rbp), %rax xorl 8(%rax), %ecx movl %ecx, 8(%rax) LBB0_18: movl -48(%rbp), %eax movq _IFCAP_LRO@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax je LBB0_20 ## %bb.19: movq _IFCAP_LRO@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -8(%rbp), %rax xorl 8(%rax), %ecx movl %ecx, 8(%rax) LBB0_20: jmp LBB0_21 LBB0_21: cmpl $0, -56(%rbp) jne LBB0_23 ## %bb.22: jmp LBB0_27 LBB0_23: movq -32(%rbp), %rax movl 12(%rax), %edi leaq L_.str(%rip), %rsi callq _device_printf movq -32(%rbp), %rdi callq _XN_LOCK movq -32(%rbp), %rdi callq _netfront_carrier_off movq -32(%rbp), %rax movl $1, 4(%rax) movq -32(%rbp), %rdi callq _XN_UNLOCK movq _XST_NIL@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -72(%rbp) ## 4-byte Spill movl -44(%rbp), %edi callq _xenbus_get_node movl -72(%rbp), %edi ## 4-byte Reload movl %eax, %esi leaq L_.str.1(%rip), %rdx callq _xs_rm movq _XST_NIL@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -68(%rbp) ## 4-byte Spill movl -44(%rbp), %edi callq _xenbus_get_node movl -68(%rbp), %edi ## 4-byte Reload movl %eax, %esi leaq L_.str.2(%rip), %rdx callq _xs_rm movl -44(%rbp), %edi movq _XenbusStateClosing@GOTPCREL(%rip), %rax movl (%rax), %esi callq _xenbus_set_state movq -32(%rbp), %rdi movq _hz@GOTPCREL(%rip), %rax imull $30, (%rax), %ecx xorl %esi, %esi leaq L_.str.3(%rip), %rdx callq _tsleep movl %eax, -52(%rbp) jmp LBB0_27 LBB0_24: jmp LBB0_27 LBB0_25: movq -8(%rbp), %rdi movq -40(%rbp), %rsi movq -32(%rbp), %rdx addq $8, %rdx movl -12(%rbp), %ecx callq _ifmedia_ioctl movl %eax, -52(%rbp) jmp LBB0_27 LBB0_26: movq -8(%rbp), %rdi movl -12(%rbp), %esi movq -24(%rbp), %rdx callq _ether_ioctl movl %eax, -52(%rbp) LBB0_27: movl -52(%rbp), %eax addq $80, %rsp popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_2, LBB0_2-LJTI0_0 .set L0_0_set_25, LBB0_25-LJTI0_0 .set L0_0_set_5, LBB0_5-LJTI0_0 .set L0_0_set_11, LBB0_11-LJTI0_0 .set L0_0_set_1, LBB0_1-LJTI0_0 .set L0_0_set_24, LBB0_24-LJTI0_0 LJTI0_0: .long L0_0_set_2 .long L0_0_set_25 .long L0_0_set_5 .long L0_0_set_11 .long L0_0_set_1 .long L0_0_set_25 .long L0_0_set_24 .long L0_0_set_24 .end_data_region ## -- End function .comm _IFF_DRV_RUNNING,4,2 ## @IFF_DRV_RUNNING .comm _IFF_UP,4,2 ## @IFF_UP .comm _IFCAP_TXCSUM,4,2 ## @IFCAP_TXCSUM .comm _XN_CSUM_FEATURES,4,2 ## @XN_CSUM_FEATURES .comm _IFCAP_TSO4,4,2 ## @IFCAP_TSO4 .comm _CSUM_TSO,4,2 ## @CSUM_TSO .comm _IFCAP_RXCSUM,4,2 ## @IFCAP_RXCSUM .comm _IFCAP_LRO,4,2 ## @IFCAP_LRO .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "performing interface reset due to feature change\n" .comm _XST_NIL,4,2 ## @XST_NIL L_.str.1: ## @.str.1 .asciz "feature-gso-tcpv4" L_.str.2: ## @.str.2 .asciz "feature-no-csum-offload" .comm _XenbusStateClosing,4,2 ## @XenbusStateClosing L_.str.3: ## @.str.3 .asciz "xn_rst" .comm _hz,4,2 ## @hz .comm _AF_INET,4,2 ## @AF_INET .no_dead_strip _xn_ioctl .subsections_via_symbols
AnghaBench/freebsd/sys/dev/xen/netfront/extr_netfront.c_xn_ioctl.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function qtnf_set_power_mgmt _qtnf_set_power_mgmt: ; @qtnf_set_power_mgmt .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 w2, [x29, #-20] stur w3, [x29, #-24] ldur x0, [x29, #-16] bl _qtnf_netdev_get_priv str x0, [sp, #32] ldr x8, [sp, #32] str x8, [sp, #16] ; 8-byte Folded Spill ldur w8, [x29, #-20] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _QLINK_PM_AUTO_STANDBY@GOTPAGE ldr x8, [x8, _QLINK_PM_AUTO_STANDBY@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #12] ; 4-byte Folded Spill b LBB0_3 LBB0_2: adrp x8, _QLINK_PM_OFF@GOTPAGE ldr x8, [x8, _QLINK_PM_OFF@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #12] ; 4-byte Folded Spill b LBB0_3 LBB0_3: ldr x0, [sp, #16] ; 8-byte Folded Reload ldr w1, [sp, #12] ; 4-byte Folded Reload ldur w2, [x29, #-24] bl _qtnf_cmd_send_pm_set str w0, [sp, #28] ldr w8, [sp, #28] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ldur x8, [x29, #-16] ldr w1, [x8] ldr w2, [sp, #28] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _pr_err b LBB0_5 LBB0_5: ldr w0, [sp, #28] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _QLINK_PM_AUTO_STANDBY,4,2 ; @QLINK_PM_AUTO_STANDBY .comm _QLINK_PM_OFF,4,2 ; @QLINK_PM_OFF .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s: failed to set PM mode ret=%d\n" .no_dead_strip _qtnf_set_power_mgmt .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function qtnf_set_power_mgmt _qtnf_set_power_mgmt: ## @qtnf_set_power_mgmt .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) movl %edx, -20(%rbp) movl %ecx, -24(%rbp) movq -16(%rbp), %rdi callq _qtnf_netdev_get_priv movq %rax, -32(%rbp) movq -32(%rbp), %rax movq %rax, -48(%rbp) ## 8-byte Spill cmpl $0, -20(%rbp) je LBB0_2 ## %bb.1: movq _QLINK_PM_AUTO_STANDBY@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -52(%rbp) ## 4-byte Spill jmp LBB0_3 LBB0_2: movq _QLINK_PM_OFF@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -52(%rbp) ## 4-byte Spill LBB0_3: movq -48(%rbp), %rdi ## 8-byte Reload movl -52(%rbp), %esi ## 4-byte Reload movl -24(%rbp), %edx callq _qtnf_cmd_send_pm_set movl %eax, -36(%rbp) cmpl $0, -36(%rbp) je LBB0_5 ## %bb.4: movq -16(%rbp), %rax movl (%rax), %esi movl -36(%rbp), %edx leaq L_.str(%rip), %rdi callq _pr_err LBB0_5: movl -36(%rbp), %eax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _QLINK_PM_AUTO_STANDBY,4,2 ## @QLINK_PM_AUTO_STANDBY .comm _QLINK_PM_OFF,4,2 ## @QLINK_PM_OFF .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s: failed to set PM mode ret=%d\n" .no_dead_strip _qtnf_set_power_mgmt .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/quantenna/qtnfmac/extr_cfg80211.c_qtnf_set_power_mgmt.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function snd_es1688_isa_remove _snd_es1688_isa_remove: ; @snd_es1688_isa_remove .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] bl _dev_get_drvdata bl _snd_card_free mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _snd_es1688_isa_remove .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function snd_es1688_isa_remove _snd_es1688_isa_remove: ## @snd_es1688_isa_remove .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 callq _dev_get_drvdata movl %eax, %edi callq _snd_card_free xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _snd_es1688_isa_remove .subsections_via_symbols
AnghaBench/linux/sound/isa/es1688/extr_es1688.c_snd_es1688_isa_remove.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pv88060_irq_handler _pv88060_irq_handler: ; @pv88060_irq_handler .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, _PV88060_REG_EVENT_A@GOTPAGE ldr x8, [x8, _PV88060_REG_EVENT_A@GOTPAGEOFF] str x8, [sp] ; 8-byte Folded Spill stur w0, [x29, #-8] stur x1, [x29, #-16] ldur x9, [x29, #-16] str x9, [sp, #24] adrp x9, _IRQ_NONE@GOTPAGE ldr x9, [x9, _IRQ_NONE@GOTPAGEOFF] ldr w9, [x9] str w9, [sp, #8] ldr x9, [sp, #24] ldr w0, [x9, #4] ldr w1, [x8] add x2, sp, #16 bl _regmap_read str w0, [sp, #12] ldr w8, [sp, #12] subs w8, w8, #0 cset w8, ge tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: b LBB0_23 LBB0_2: ldr w8, [sp, #16] adrp x9, _PV88060_E_VDD_FLT@GOTPAGE ldr x9, [x9, _PV88060_E_VDD_FLT@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_12 b LBB0_3 LBB0_3: str wzr, [sp, #20] b LBB0_4 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #20] adrp x9, _PV88060_MAX_REGULATORS@GOTPAGE ldr x9, [x9, _PV88060_MAX_REGULATORS@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_9 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [sp, #24] ldr x8, [x8, #8] ldrsw x9, [sp, #20] ldr x8, [x8, x9, lsl #3] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [sp, #24] ldr x8, [x8, #8] ldrsw x9, [sp, #20] ldr x0, [x8, x9, lsl #3] bl _regulator_lock ldr x8, [sp, #24] ldr x8, [x8, #8] ldrsw x9, [sp, #20] ldr x0, [x8, x9, lsl #3] adrp x8, _REGULATOR_EVENT_UNDER_VOLTAGE@GOTPAGE ldr x8, [x8, _REGULATOR_EVENT_UNDER_VOLTAGE@GOTPAGEOFF] ldr w1, [x8] mov x2, #0 bl _regulator_notifier_call_chain ldr x8, [sp, #24] ldr x8, [x8, #8] ldrsw x9, [sp, #20] ldr x0, [x8, x9, lsl #3] bl _regulator_unlock b LBB0_7 LBB0_7: ; in Loop: Header=BB0_4 Depth=1 b LBB0_8 LBB0_8: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [sp, #20] add w8, w8, #1 str w8, [sp, #20] b LBB0_4 LBB0_9: ldr x8, [sp] ; 8-byte Folded Reload ldr x9, [sp, #24] ldr w0, [x9, #4] ldr w1, [x8] adrp x8, _PV88060_E_VDD_FLT@GOTPAGE ldr x8, [x8, _PV88060_E_VDD_FLT@GOTPAGEOFF] ldr w2, [x8] bl _regmap_write str w0, [sp, #12] ldr w8, [sp, #12] subs w8, w8, #0 cset w8, ge tbnz w8, #0, LBB0_11 b LBB0_10 LBB0_10: b LBB0_23 LBB0_11: adrp x8, _IRQ_HANDLED@GOTPAGE ldr x8, [x8, _IRQ_HANDLED@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #8] b LBB0_12 LBB0_12: ldr w8, [sp, #16] adrp x9, _PV88060_E_OVER_TEMP@GOTPAGE ldr x9, [x9, _PV88060_E_OVER_TEMP@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_22 b LBB0_13 LBB0_13: str wzr, [sp, #20] b LBB0_14 LBB0_14: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #20] adrp x9, _PV88060_MAX_REGULATORS@GOTPAGE ldr x9, [x9, _PV88060_MAX_REGULATORS@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_19 b LBB0_15 LBB0_15: ; in Loop: Header=BB0_14 Depth=1 ldr x8, [sp, #24] ldr x8, [x8, #8] ldrsw x9, [sp, #20] ldr x8, [x8, x9, lsl #3] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_17 b LBB0_16 LBB0_16: ; in Loop: Header=BB0_14 Depth=1 ldr x8, [sp, #24] ldr x8, [x8, #8] ldrsw x9, [sp, #20] ldr x0, [x8, x9, lsl #3] bl _regulator_lock ldr x8, [sp, #24] ldr x8, [x8, #8] ldrsw x9, [sp, #20] ldr x0, [x8, x9, lsl #3] adrp x8, _REGULATOR_EVENT_OVER_TEMP@GOTPAGE ldr x8, [x8, _REGULATOR_EVENT_OVER_TEMP@GOTPAGEOFF] ldr w1, [x8] mov x2, #0 bl _regulator_notifier_call_chain ldr x8, [sp, #24] ldr x8, [x8, #8] ldrsw x9, [sp, #20] ldr x0, [x8, x9, lsl #3] bl _regulator_unlock b LBB0_17 LBB0_17: ; in Loop: Header=BB0_14 Depth=1 b LBB0_18 LBB0_18: ; in Loop: Header=BB0_14 Depth=1 ldr w8, [sp, #20] add w8, w8, #1 str w8, [sp, #20] b LBB0_14 LBB0_19: ldr x8, [sp] ; 8-byte Folded Reload ldr x9, [sp, #24] ldr w0, [x9, #4] ldr w1, [x8] adrp x8, _PV88060_E_OVER_TEMP@GOTPAGE ldr x8, [x8, _PV88060_E_OVER_TEMP@GOTPAGEOFF] ldr w2, [x8] bl _regmap_write str w0, [sp, #12] ldr w8, [sp, #12] subs w8, w8, #0 cset w8, ge tbnz w8, #0, LBB0_21 b LBB0_20 LBB0_20: b LBB0_23 LBB0_21: adrp x8, _IRQ_HANDLED@GOTPAGE ldr x8, [x8, _IRQ_HANDLED@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #8] b LBB0_22 LBB0_22: ldr w8, [sp, #8] stur w8, [x29, #-4] b LBB0_24 LBB0_23: ldr x8, [sp, #24] ldr w0, [x8] ldr w2, [sp, #12] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _dev_err adrp x8, _IRQ_NONE@GOTPAGE ldr x8, [x8, _IRQ_NONE@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-4] b LBB0_24 LBB0_24: ldur w0, [x29, #-4] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _IRQ_NONE,4,2 ; @IRQ_NONE .comm _PV88060_REG_EVENT_A,4,2 ; @PV88060_REG_EVENT_A .comm _PV88060_E_VDD_FLT,4,2 ; @PV88060_E_VDD_FLT .comm _PV88060_MAX_REGULATORS,4,2 ; @PV88060_MAX_REGULATORS .comm _REGULATOR_EVENT_UNDER_VOLTAGE,4,2 ; @REGULATOR_EVENT_UNDER_VOLTAGE .comm _IRQ_HANDLED,4,2 ; @IRQ_HANDLED .comm _PV88060_E_OVER_TEMP,4,2 ; @PV88060_E_OVER_TEMP .comm _REGULATOR_EVENT_OVER_TEMP,4,2 ; @REGULATOR_EVENT_OVER_TEMP .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "I2C error : %d\n" .no_dead_strip _pv88060_irq_handler .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pv88060_irq_handler _pv88060_irq_handler: ## @pv88060_irq_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 $48, %rsp movl %edi, -8(%rbp) movq %rsi, -16(%rbp) movq -16(%rbp), %rax movq %rax, -24(%rbp) movq _IRQ_NONE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -40(%rbp) movq -24(%rbp), %rax movl 4(%rax), %edi movq _PV88060_REG_EVENT_A@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -32(%rbp), %rdx callq _regmap_read movl %eax, -36(%rbp) cmpl $0, -36(%rbp) jge LBB0_2 ## %bb.1: jmp LBB0_23 LBB0_2: movl -32(%rbp), %eax movq _PV88060_E_VDD_FLT@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax je LBB0_12 ## %bb.3: movl $0, -28(%rbp) LBB0_4: ## =>This Inner Loop Header: Depth=1 movl -28(%rbp), %eax movq _PV88060_MAX_REGULATORS@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jge LBB0_9 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movq -24(%rbp), %rax movq 8(%rax), %rax movslq -28(%rbp), %rcx cmpq $0, (%rax,%rcx,8) je LBB0_7 ## %bb.6: ## in Loop: Header=BB0_4 Depth=1 movq -24(%rbp), %rax movq 8(%rax), %rax movslq -28(%rbp), %rcx movq (%rax,%rcx,8), %rdi callq _regulator_lock movq -24(%rbp), %rax movq 8(%rax), %rax movslq -28(%rbp), %rcx movq (%rax,%rcx,8), %rdi movq _REGULATOR_EVENT_UNDER_VOLTAGE@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %eax, %eax movl %eax, %edx callq _regulator_notifier_call_chain movq -24(%rbp), %rax movq 8(%rax), %rax movslq -28(%rbp), %rcx movq (%rax,%rcx,8), %rdi callq _regulator_unlock LBB0_7: ## in Loop: Header=BB0_4 Depth=1 jmp LBB0_8 LBB0_8: ## in Loop: Header=BB0_4 Depth=1 movl -28(%rbp), %eax addl $1, %eax movl %eax, -28(%rbp) jmp LBB0_4 LBB0_9: movq -24(%rbp), %rax movl 4(%rax), %edi movq _PV88060_REG_EVENT_A@GOTPCREL(%rip), %rax movl (%rax), %esi movq _PV88060_E_VDD_FLT@GOTPCREL(%rip), %rax movl (%rax), %edx callq _regmap_write movl %eax, -36(%rbp) cmpl $0, -36(%rbp) jge LBB0_11 ## %bb.10: jmp LBB0_23 LBB0_11: movq _IRQ_HANDLED@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -40(%rbp) LBB0_12: movl -32(%rbp), %eax movq _PV88060_E_OVER_TEMP@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax je LBB0_22 ## %bb.13: movl $0, -28(%rbp) LBB0_14: ## =>This Inner Loop Header: Depth=1 movl -28(%rbp), %eax movq _PV88060_MAX_REGULATORS@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jge LBB0_19 ## %bb.15: ## in Loop: Header=BB0_14 Depth=1 movq -24(%rbp), %rax movq 8(%rax), %rax movslq -28(%rbp), %rcx cmpq $0, (%rax,%rcx,8) je LBB0_17 ## %bb.16: ## in Loop: Header=BB0_14 Depth=1 movq -24(%rbp), %rax movq 8(%rax), %rax movslq -28(%rbp), %rcx movq (%rax,%rcx,8), %rdi callq _regulator_lock movq -24(%rbp), %rax movq 8(%rax), %rax movslq -28(%rbp), %rcx movq (%rax,%rcx,8), %rdi movq _REGULATOR_EVENT_OVER_TEMP@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %eax, %eax movl %eax, %edx callq _regulator_notifier_call_chain movq -24(%rbp), %rax movq 8(%rax), %rax movslq -28(%rbp), %rcx movq (%rax,%rcx,8), %rdi callq _regulator_unlock LBB0_17: ## in Loop: Header=BB0_14 Depth=1 jmp LBB0_18 LBB0_18: ## in Loop: Header=BB0_14 Depth=1 movl -28(%rbp), %eax addl $1, %eax movl %eax, -28(%rbp) jmp LBB0_14 LBB0_19: movq -24(%rbp), %rax movl 4(%rax), %edi movq _PV88060_REG_EVENT_A@GOTPCREL(%rip), %rax movl (%rax), %esi movq _PV88060_E_OVER_TEMP@GOTPCREL(%rip), %rax movl (%rax), %edx callq _regmap_write movl %eax, -36(%rbp) cmpl $0, -36(%rbp) jge LBB0_21 ## %bb.20: jmp LBB0_23 LBB0_21: movq _IRQ_HANDLED@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -40(%rbp) LBB0_22: movl -40(%rbp), %eax movl %eax, -4(%rbp) jmp LBB0_24 LBB0_23: movq -24(%rbp), %rax movl (%rax), %edi movl -36(%rbp), %edx leaq L_.str(%rip), %rsi callq _dev_err movq _IRQ_NONE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) LBB0_24: movl -4(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _IRQ_NONE,4,2 ## @IRQ_NONE .comm _PV88060_REG_EVENT_A,4,2 ## @PV88060_REG_EVENT_A .comm _PV88060_E_VDD_FLT,4,2 ## @PV88060_E_VDD_FLT .comm _PV88060_MAX_REGULATORS,4,2 ## @PV88060_MAX_REGULATORS .comm _REGULATOR_EVENT_UNDER_VOLTAGE,4,2 ## @REGULATOR_EVENT_UNDER_VOLTAGE .comm _IRQ_HANDLED,4,2 ## @IRQ_HANDLED .comm _PV88060_E_OVER_TEMP,4,2 ## @PV88060_E_OVER_TEMP .comm _REGULATOR_EVENT_OVER_TEMP,4,2 ## @REGULATOR_EVENT_OVER_TEMP .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "I2C error : %d\n" .no_dead_strip _pv88060_irq_handler .subsections_via_symbols
AnghaBench/linux/drivers/regulator/extr_pv88060-regulator.c_pv88060_irq_handler.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function w100_pll_set_clk _w100_pll_set_clk: ; @w100_pll_set_clk .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, _w100_pwr_state@GOTPAGE ldr x8, [x8, _w100_pwr_state@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill adrp x9, _remapped_regs@GOTPAGE ldr x9, [x9, _remapped_regs@GOTPAGEOFF] str x9, [sp, #16] ; 8-byte Folded Spill adrp x9, _mmPWRMGT_CNTL@GOTPAGE ldr x9, [x9, _mmPWRMGT_CNTL@GOTPAGEOFF] str x9, [sp, #24] ; 8-byte Folded Spill stur x0, [x29, #-8] ldr w8, [x8] subs w8, w8, #1 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x9, [sp, #24] ; 8-byte Folded Reload ldr x8, [sp, #16] ; 8-byte Folded Reload ldr x10, [sp, #8] ; 8-byte Folded Reload str wzr, [x10, #16] str wzr, [x10, #20] ldr x10, [x10, #8] mov x0, x10 ldr x8, [x8] ldr x9, [x9] add x1, x8, x9 bl _writel b LBB0_2 LBB0_2: ldr x9, [sp, #8] ; 8-byte Folded Reload ldr x8, [sp, #16] ; 8-byte Folded Reload adrp x10, _CLK_SRC_XTAL@GOTPAGE ldr x10, [x10, _CLK_SRC_XTAL@GOTPAGEOFF] ldr w10, [x10] str w10, [x9, #64] ldr x9, [x9, #56] mov x0, x9 ldr x8, [x8] adrp x9, _mmSCLK_CNTL@GOTPAGE ldr x9, [x9, _mmSCLK_CNTL@GOTPAGEOFF] ldr x9, [x9] add x1, x8, x9 bl _writel ldr x8, [sp, #16] ; 8-byte Folded Reload ldr x9, [sp, #8] ; 8-byte Folded Reload ldur x10, [x29, #-8] ldr w10, [x10, #12] str w10, [x9, #52] ldur x10, [x29, #-8] ldr w10, [x10, #8] str w10, [x9, #48] ldur x10, [x29, #-8] ldr w10, [x10, #4] str w10, [x9, #44] ldur x10, [x29, #-8] ldr w10, [x10] str w10, [x9, #40] ldr x9, [x9, #32] mov x0, x9 ldr x8, [x8] adrp x9, _mmPLL_REF_FB_DIV@GOTPAGE ldr x9, [x9, _mmPLL_REF_FB_DIV@GOTPAGEOFF] ldr x9, [x9] add x1, x8, x9 bl _writel ldr x8, [sp, #16] ; 8-byte Folded Reload ldr x9, [sp, #24] ; 8-byte Folded Reload ldr x10, [sp, #8] ; 8-byte Folded Reload str xzr, [x10, #24] ldr x10, [x10, #8] mov x0, x10 ldr x8, [x8] ldr x9, [x9] add x1, x8, x9 bl _writel ldur x0, [x29, #-8] bl _w100_pll_calibration ldr x8, [sp, #8] ; 8-byte Folded Reload stur w0, [x29, #-12] ldr w8, [x8] subs w8, w8, #1 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldr x9, [sp, #24] ; 8-byte Folded Reload ldr x8, [sp, #16] ; 8-byte Folded Reload ldr x10, [sp, #8] ; 8-byte Folded Reload mov w11, #1 str w11, [x10, #16] str w11, [x10, #20] ldr x10, [x10, #8] mov x0, x10 ldr x8, [x8] ldr x9, [x9] add x1, x8, x9 bl _writel b LBB0_4 LBB0_4: ldur w0, [x29, #-12] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _w100_pwr_state,72,3 ; @w100_pwr_state .comm _remapped_regs,8,3 ; @remapped_regs .comm _mmPWRMGT_CNTL,8,3 ; @mmPWRMGT_CNTL .comm _CLK_SRC_XTAL,4,2 ; @CLK_SRC_XTAL .comm _mmSCLK_CNTL,8,3 ; @mmSCLK_CNTL .comm _mmPLL_REF_FB_DIV,8,3 ; @mmPLL_REF_FB_DIV .no_dead_strip _w100_pll_set_clk .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function w100_pll_set_clk _w100_pll_set_clk: ## @w100_pll_set_clk .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 _w100_pwr_state@GOTPCREL(%rip), %rax cmpl $1, (%rax) jne LBB0_2 ## %bb.1: movq _w100_pwr_state@GOTPCREL(%rip), %rax movl $0, 16(%rax) movq _w100_pwr_state@GOTPCREL(%rip), %rax movl $0, 20(%rax) movq _w100_pwr_state@GOTPCREL(%rip), %rax movq 8(%rax), %rax movl %eax, %edi movq _remapped_regs@GOTPCREL(%rip), %rax movq (%rax), %rsi movq _mmPWRMGT_CNTL@GOTPCREL(%rip), %rax addq (%rax), %rsi callq _writel LBB0_2: movq _CLK_SRC_XTAL@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _w100_pwr_state@GOTPCREL(%rip), %rax movl %ecx, 64(%rax) movq _w100_pwr_state@GOTPCREL(%rip), %rax movq 56(%rax), %rax movl %eax, %edi movq _remapped_regs@GOTPCREL(%rip), %rax movq (%rax), %rsi movq _mmSCLK_CNTL@GOTPCREL(%rip), %rax addq (%rax), %rsi callq _writel movq -8(%rbp), %rax movl 12(%rax), %ecx movq _w100_pwr_state@GOTPCREL(%rip), %rax movl %ecx, 52(%rax) movq -8(%rbp), %rax movl 8(%rax), %ecx movq _w100_pwr_state@GOTPCREL(%rip), %rax movl %ecx, 48(%rax) movq -8(%rbp), %rax movl 4(%rax), %ecx movq _w100_pwr_state@GOTPCREL(%rip), %rax movl %ecx, 44(%rax) movq -8(%rbp), %rax movl (%rax), %ecx movq _w100_pwr_state@GOTPCREL(%rip), %rax movl %ecx, 40(%rax) movq _w100_pwr_state@GOTPCREL(%rip), %rax movq 32(%rax), %rax movl %eax, %edi movq _remapped_regs@GOTPCREL(%rip), %rax movq (%rax), %rsi movq _mmPLL_REF_FB_DIV@GOTPCREL(%rip), %rax addq (%rax), %rsi callq _writel movq _w100_pwr_state@GOTPCREL(%rip), %rax movq $0, 24(%rax) movq _w100_pwr_state@GOTPCREL(%rip), %rax movq 8(%rax), %rax movl %eax, %edi movq _remapped_regs@GOTPCREL(%rip), %rax movq (%rax), %rsi movq _mmPWRMGT_CNTL@GOTPCREL(%rip), %rax addq (%rax), %rsi callq _writel movq -8(%rbp), %rdi callq _w100_pll_calibration movl %eax, -12(%rbp) movq _w100_pwr_state@GOTPCREL(%rip), %rax cmpl $1, (%rax) jne LBB0_4 ## %bb.3: movq _w100_pwr_state@GOTPCREL(%rip), %rax movl $1, 16(%rax) movq _w100_pwr_state@GOTPCREL(%rip), %rax movl $1, 20(%rax) movq _w100_pwr_state@GOTPCREL(%rip), %rax movq 8(%rax), %rax movl %eax, %edi movq _remapped_regs@GOTPCREL(%rip), %rax movq (%rax), %rsi movq _mmPWRMGT_CNTL@GOTPCREL(%rip), %rax addq (%rax), %rsi callq _writel LBB0_4: movl -12(%rbp), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _w100_pwr_state,72,3 ## @w100_pwr_state .comm _remapped_regs,8,3 ## @remapped_regs .comm _mmPWRMGT_CNTL,8,3 ## @mmPWRMGT_CNTL .comm _CLK_SRC_XTAL,4,2 ## @CLK_SRC_XTAL .comm _mmSCLK_CNTL,8,3 ## @mmSCLK_CNTL .comm _mmPLL_REF_FB_DIV,8,3 ## @mmPLL_REF_FB_DIV .no_dead_strip _w100_pll_set_clk .subsections_via_symbols
AnghaBench/linux/drivers/video/fbdev/extr_w100fb.c_w100_pll_set_clk.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dummy_setup _dummy_setup: ; @dummy_setup .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 _ether_setup ldr x9, [sp, #8] adrp x8, _dummy_netdev_ops@GOTPAGE ldr x8, [x8, _dummy_netdev_ops@GOTPAGEOFF] str x8, [x9, #56] ldr x9, [sp, #8] adrp x8, _dummy_ethtool_ops@GOTPAGE ldr x8, [x8, _dummy_ethtool_ops@GOTPAGEOFF] str x8, [x9, #48] ldr x9, [sp, #8] mov w8, #1 str w8, [x9] adrp x8, _IFF_NOARP@GOTPAGE ldr x8, [x8, _IFF_NOARP@GOTPAGEOFF] ldr w10, [x8] ldr x9, [sp, #8] ldr w8, [x9, #40] orr w8, w8, w10 str w8, [x9, #40] adrp x8, _IFF_MULTICAST@GOTPAGE ldr x8, [x8, _IFF_MULTICAST@GOTPAGEOFF] ldr w10, [x8] ldr x9, [sp, #8] ldr w8, [x9, #40] bic w8, w8, w10 str w8, [x9, #40] adrp x8, _IFF_LIVE_ADDR_CHANGE@GOTPAGE ldr x8, [x8, _IFF_LIVE_ADDR_CHANGE@GOTPAGEOFF] ldr w8, [x8] adrp x9, _IFF_NO_QUEUE@GOTPAGE ldr x9, [x9, _IFF_NO_QUEUE@GOTPAGEOFF] ldr w9, [x9] orr w10, w8, w9 ldr x9, [sp, #8] ldr w8, [x9, #4] orr w8, w8, w10 str w8, [x9, #4] adrp x8, _NETIF_F_SG@GOTPAGE ldr x8, [x8, _NETIF_F_SG@GOTPAGEOFF] ldr w8, [x8] adrp x9, _NETIF_F_FRAGLIST@GOTPAGE ldr x9, [x9, _NETIF_F_FRAGLIST@GOTPAGEOFF] ldr w9, [x9] orr w10, w8, w9 ldr x9, [sp, #8] ldr w8, [x9, #8] orr w8, w8, w10 str w8, [x9, #8] adrp x8, _NETIF_F_ALL_TSO@GOTPAGE ldr x8, [x8, _NETIF_F_ALL_TSO@GOTPAGEOFF] ldr w10, [x8] ldr x9, [sp, #8] ldr w8, [x9, #8] orr w8, w8, w10 str w8, [x9, #8] adrp x8, _NETIF_F_HW_CSUM@GOTPAGE ldr x8, [x8, _NETIF_F_HW_CSUM@GOTPAGEOFF] ldr w8, [x8] adrp x9, _NETIF_F_HIGHDMA@GOTPAGE ldr x9, [x9, _NETIF_F_HIGHDMA@GOTPAGEOFF] ldr w9, [x9] orr w8, w8, w9 adrp x9, _NETIF_F_LLTX@GOTPAGE ldr x9, [x9, _NETIF_F_LLTX@GOTPAGEOFF] ldr w9, [x9] orr w10, w8, w9 ldr x9, [sp, #8] ldr w8, [x9, #8] orr w8, w8, w10 str w8, [x9, #8] adrp x8, _NETIF_F_GSO_ENCAP_ALL@GOTPAGE ldr x8, [x8, _NETIF_F_GSO_ENCAP_ALL@GOTPAGEOFF] ldr w10, [x8] ldr x9, [sp, #8] ldr w8, [x9, #8] orr w8, w8, w10 str w8, [x9, #8] ldr x8, [sp, #8] ldr w10, [x8, #8] ldr x9, [sp, #8] ldr w8, [x9, #12] orr w8, w8, w10 str w8, [x9, #12] ldr x8, [sp, #8] ldr w10, [x8, #8] ldr x9, [sp, #8] ldr w8, [x9, #16] orr w8, w8, w10 str w8, [x9, #16] ldr x0, [sp, #8] bl _eth_hw_addr_random ldr x8, [sp, #8] str xzr, [x8, #32] ldr x8, [sp, #8] str xzr, [x8, #24] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _dummy_netdev_ops,4,2 ; @dummy_netdev_ops .comm _dummy_ethtool_ops,4,2 ; @dummy_ethtool_ops .comm _IFF_NOARP,4,2 ; @IFF_NOARP .comm _IFF_MULTICAST,4,2 ; @IFF_MULTICAST .comm _IFF_LIVE_ADDR_CHANGE,4,2 ; @IFF_LIVE_ADDR_CHANGE .comm _IFF_NO_QUEUE,4,2 ; @IFF_NO_QUEUE .comm _NETIF_F_SG,4,2 ; @NETIF_F_SG .comm _NETIF_F_FRAGLIST,4,2 ; @NETIF_F_FRAGLIST .comm _NETIF_F_ALL_TSO,4,2 ; @NETIF_F_ALL_TSO .comm _NETIF_F_HW_CSUM,4,2 ; @NETIF_F_HW_CSUM .comm _NETIF_F_HIGHDMA,4,2 ; @NETIF_F_HIGHDMA .comm _NETIF_F_LLTX,4,2 ; @NETIF_F_LLTX .comm _NETIF_F_GSO_ENCAP_ALL,4,2 ; @NETIF_F_GSO_ENCAP_ALL .no_dead_strip _dummy_setup .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dummy_setup _dummy_setup: ## @dummy_setup .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 _ether_setup movq -8(%rbp), %rax movq _dummy_netdev_ops@GOTPCREL(%rip), %rcx movq %rcx, 56(%rax) movq -8(%rbp), %rax movq _dummy_ethtool_ops@GOTPCREL(%rip), %rcx movq %rcx, 48(%rax) movq -8(%rbp), %rax movl $1, (%rax) movq _IFF_NOARP@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -8(%rbp), %rax orl 40(%rax), %ecx movl %ecx, 40(%rax) movq _IFF_MULTICAST@GOTPCREL(%rip), %rax movl (%rax), %ecx xorl $-1, %ecx movq -8(%rbp), %rax andl 40(%rax), %ecx movl %ecx, 40(%rax) movq _IFF_LIVE_ADDR_CHANGE@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _IFF_NO_QUEUE@GOTPCREL(%rip), %rax orl (%rax), %ecx movq -8(%rbp), %rax orl 4(%rax), %ecx movl %ecx, 4(%rax) movq _NETIF_F_SG@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _NETIF_F_FRAGLIST@GOTPCREL(%rip), %rax orl (%rax), %ecx movq -8(%rbp), %rax orl 8(%rax), %ecx movl %ecx, 8(%rax) movq _NETIF_F_ALL_TSO@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -8(%rbp), %rax orl 8(%rax), %ecx movl %ecx, 8(%rax) movq _NETIF_F_HW_CSUM@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _NETIF_F_HIGHDMA@GOTPCREL(%rip), %rax orl (%rax), %ecx movq _NETIF_F_LLTX@GOTPCREL(%rip), %rax orl (%rax), %ecx movq -8(%rbp), %rax orl 8(%rax), %ecx movl %ecx, 8(%rax) movq _NETIF_F_GSO_ENCAP_ALL@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -8(%rbp), %rax orl 8(%rax), %ecx movl %ecx, 8(%rax) movq -8(%rbp), %rax movl 8(%rax), %ecx movq -8(%rbp), %rax orl 12(%rax), %ecx movl %ecx, 12(%rax) movq -8(%rbp), %rax movl 8(%rax), %ecx movq -8(%rbp), %rax orl 16(%rax), %ecx movl %ecx, 16(%rax) movq -8(%rbp), %rdi callq _eth_hw_addr_random movq -8(%rbp), %rax movq $0, 32(%rax) movq -8(%rbp), %rax movq $0, 24(%rax) addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _dummy_netdev_ops,4,2 ## @dummy_netdev_ops .comm _dummy_ethtool_ops,4,2 ## @dummy_ethtool_ops .comm _IFF_NOARP,4,2 ## @IFF_NOARP .comm _IFF_MULTICAST,4,2 ## @IFF_MULTICAST .comm _IFF_LIVE_ADDR_CHANGE,4,2 ## @IFF_LIVE_ADDR_CHANGE .comm _IFF_NO_QUEUE,4,2 ## @IFF_NO_QUEUE .comm _NETIF_F_SG,4,2 ## @NETIF_F_SG .comm _NETIF_F_FRAGLIST,4,2 ## @NETIF_F_FRAGLIST .comm _NETIF_F_ALL_TSO,4,2 ## @NETIF_F_ALL_TSO .comm _NETIF_F_HW_CSUM,4,2 ## @NETIF_F_HW_CSUM .comm _NETIF_F_HIGHDMA,4,2 ## @NETIF_F_HIGHDMA .comm _NETIF_F_LLTX,4,2 ## @NETIF_F_LLTX .comm _NETIF_F_GSO_ENCAP_ALL,4,2 ## @NETIF_F_GSO_ENCAP_ALL .no_dead_strip _dummy_setup .subsections_via_symbols
AnghaBench/linux/drivers/net/extr_dummy.c_dummy_setup.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function find_or_alloc_l2e _find_or_alloc_l2e: ; @find_or_alloc_l2e .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] str x3, [sp, #40] ; kill: def $x8 killed $xzr str xzr, [sp, #8] ldur x8, [x29, #-16] ldr x8, [x8, #8] str x8, [sp, #24] ldur x8, [x29, #-16] ldr x8, [x8, #8] ldur x9, [x29, #-16] ldr x9, [x9] mov x10, #56 mul x9, x9, x10 add x8, x8, x9 str x8, [sp, #32] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #24] ldr x9, [sp, #32] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_14 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #24] add x0, x8, #52 bl _atomic_load_acq_int subs x8, x0, #0 cset w8, ne tbnz w8, #0, LBB0_6 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #24] str x8, [sp, #8] b LBB0_5 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 b LBB0_12 LBB0_6: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #24] ldr x8, [x8] adrp x9, _L2T_STATE_SWITCHING@GOTPAGE ldr x9, [x9, _L2T_STATE_SWITCHING@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_11 b LBB0_7 LBB0_7: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #24] ldr w0, [x8, #48] ldr x1, [sp, #40] adrp x8, _ETHER_ADDR_LEN@GOTPAGE ldr x8, [x8, _ETHER_ADDR_LEN@GOTPAGEOFF] ldr w2, [x8] bl _memcmp subs x8, x0, #0 cset w8, ne tbnz w8, #0, LBB0_11 b LBB0_8 LBB0_8: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #24] ldr x8, [x8, #8] ldur x9, [x29, #-24] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_11 b LBB0_9 LBB0_9: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #24] ldr x8, [x8, #16] ldur x9, [x29, #-32] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_11 b LBB0_10 LBB0_10: ldr x8, [sp, #24] stur x8, [x29, #-8] b LBB0_25 LBB0_11: ; in Loop: Header=BB0_1 Depth=1 b LBB0_12 LBB0_12: ; in Loop: Header=BB0_1 Depth=1 b LBB0_13 LBB0_13: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #24] add x8, x8, #56 str x8, [sp, #24] b LBB0_1 LBB0_14: ldr x8, [sp, #8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_16 b LBB0_15 LBB0_15: ; kill: def $x8 killed $xzr stur xzr, [x29, #-8] b LBB0_25 LBB0_16: ldr x8, [sp, #8] str x8, [sp, #24] ldr x8, [sp, #24] ldr x8, [x8] adrp x9, _L2T_STATE_SWITCHING@GOTPAGE ldr x9, [x9, _L2T_STATE_SWITCHING@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ge tbnz w8, #0, LBB0_24 b LBB0_17 LBB0_17: ldur x8, [x29, #-16] ldr x8, [x8, #8] ldr x9, [sp, #24] ldr x9, [x9, #24] mov x10, #56 mul x9, x9, x10 add x8, x8, x9 add x8, x8, #40 str x8, [sp, #16] b LBB0_18 LBB0_18: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #16] ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_23 b LBB0_19 LBB0_19: ; in Loop: Header=BB0_18 Depth=1 ldr x8, [sp, #16] ldr x8, [x8] ldr x9, [sp, #24] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_21 b LBB0_20 LBB0_20: ldr x8, [sp, #24] ldr x8, [x8, #32] ldr x9, [sp, #16] str x8, [x9] ldr x8, [sp, #24] ; kill: def $x9 killed $xzr str xzr, [x8, #32] b LBB0_23 LBB0_21: ; in Loop: Header=BB0_18 Depth=1 b LBB0_22 LBB0_22: ; in Loop: Header=BB0_18 Depth=1 ldr x8, [sp, #16] ldr x8, [x8] add x8, x8, #32 str x8, [sp, #16] b LBB0_18 LBB0_23: b LBB0_24 LBB0_24: adrp x8, _L2T_STATE_UNUSED@GOTPAGE ldr x8, [x8, _L2T_STATE_UNUSED@GOTPAGEOFF] ldr x8, [x8] ldr x9, [sp, #24] str x8, [x9] ldr x8, [sp, #24] stur x8, [x29, #-8] b LBB0_25 LBB0_25: ldur x0, [x29, #-8] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc ; -- End function .comm _L2T_STATE_SWITCHING,8,3 ; @L2T_STATE_SWITCHING .comm _ETHER_ADDR_LEN,4,2 ; @ETHER_ADDR_LEN .comm _L2T_STATE_UNUSED,8,3 ; @L2T_STATE_UNUSED .no_dead_strip _find_or_alloc_l2e .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function find_or_alloc_l2e _find_or_alloc_l2e: ## @find_or_alloc_l2e .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 %rcx, -40(%rbp) movq $0, -72(%rbp) movq -16(%rbp), %rax movq 8(%rax), %rax movq %rax, -56(%rbp) movq -16(%rbp), %rax movq 8(%rax), %rax movq -16(%rbp), %rcx imulq $56, (%rcx), %rcx addq %rcx, %rax movq %rax, -48(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movq -56(%rbp), %rax cmpq -48(%rbp), %rax je LBB0_14 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq -56(%rbp), %rdi addq $52, %rdi callq _atomic_load_acq_int cmpq $0, %rax jne LBB0_6 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 cmpq $0, -72(%rbp) jne LBB0_5 ## %bb.4: ## in Loop: Header=BB0_1 Depth=1 movq -56(%rbp), %rax movq %rax, -72(%rbp) LBB0_5: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_12 LBB0_6: ## in Loop: Header=BB0_1 Depth=1 movq -56(%rbp), %rax movq (%rax), %rax movq _L2T_STATE_SWITCHING@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_11 ## %bb.7: ## in Loop: Header=BB0_1 Depth=1 movq -56(%rbp), %rax movl 48(%rax), %edi movq -40(%rbp), %rsi movq _ETHER_ADDR_LEN@GOTPCREL(%rip), %rax movl (%rax), %edx callq _memcmp cmpq $0, %rax jne LBB0_11 ## %bb.8: ## in Loop: Header=BB0_1 Depth=1 movq -56(%rbp), %rax movq 8(%rax), %rax cmpq -24(%rbp), %rax jne LBB0_11 ## %bb.9: ## in Loop: Header=BB0_1 Depth=1 movq -56(%rbp), %rax movq 16(%rax), %rax cmpq -32(%rbp), %rax jne LBB0_11 ## %bb.10: movq -56(%rbp), %rax movq %rax, -8(%rbp) jmp LBB0_25 LBB0_11: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_12 LBB0_12: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_13 LBB0_13: ## in Loop: Header=BB0_1 Depth=1 movq -56(%rbp), %rax addq $56, %rax movq %rax, -56(%rbp) jmp LBB0_1 LBB0_14: cmpq $0, -72(%rbp) jne LBB0_16 ## %bb.15: movq $0, -8(%rbp) jmp LBB0_25 LBB0_16: movq -72(%rbp), %rax movq %rax, -56(%rbp) movq -56(%rbp), %rax movq (%rax), %rax movq _L2T_STATE_SWITCHING@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jge LBB0_24 ## %bb.17: movq -16(%rbp), %rax movq 8(%rax), %rax movq -56(%rbp), %rcx imulq $56, 24(%rcx), %rcx addq %rcx, %rax addq $40, %rax movq %rax, -64(%rbp) LBB0_18: ## =>This Inner Loop Header: Depth=1 movq -64(%rbp), %rax cmpq $0, (%rax) je LBB0_23 ## %bb.19: ## in Loop: Header=BB0_18 Depth=1 movq -64(%rbp), %rax movq (%rax), %rax cmpq -56(%rbp), %rax jne LBB0_21 ## %bb.20: movq -56(%rbp), %rax movq 32(%rax), %rcx movq -64(%rbp), %rax movq %rcx, (%rax) movq -56(%rbp), %rax movq $0, 32(%rax) jmp LBB0_23 LBB0_21: ## in Loop: Header=BB0_18 Depth=1 jmp LBB0_22 LBB0_22: ## in Loop: Header=BB0_18 Depth=1 movq -64(%rbp), %rax movq (%rax), %rax addq $32, %rax movq %rax, -64(%rbp) jmp LBB0_18 LBB0_23: jmp LBB0_24 LBB0_24: movq _L2T_STATE_UNUSED@GOTPCREL(%rip), %rax movq (%rax), %rcx movq -56(%rbp), %rax movq %rcx, (%rax) movq -56(%rbp), %rax movq %rax, -8(%rbp) LBB0_25: movq -8(%rbp), %rax addq $80, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _L2T_STATE_SWITCHING,8,3 ## @L2T_STATE_SWITCHING .comm _ETHER_ADDR_LEN,4,2 ## @ETHER_ADDR_LEN .comm _L2T_STATE_UNUSED,8,3 ## @L2T_STATE_UNUSED .no_dead_strip _find_or_alloc_l2e .subsections_via_symbols
AnghaBench/freebsd/sys/dev/cxgbe/extr_t4_l2t.c_find_or_alloc_l2e.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function vec4_dist _vec4_dist: ; @vec4_dist .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] ldur x1, [x29, #-8] ldur x2, [x29, #-16] sub x0, x29, #20 str x0, [sp, #16] ; 8-byte Folded Spill bl _vec4_sub ldr x1, [sp, #16] ; 8-byte Folded Reload mov x0, x1 bl _vec4_dot str s0, [sp, #24] ldr s0, [sp, #24] fcmp s0, #0.0 cset w8, le tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr s0, [sp, #24] fsqrt s0, s0 str s0, [sp, #12] ; 4-byte Folded Spill b LBB0_3 LBB0_2: movi d0, #0000000000000000 str s0, [sp, #12] ; 4-byte Folded Spill b LBB0_3 LBB0_3: ldr s0, [sp, #12] ; 4-byte Folded Reload ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .no_dead_strip _vec4_dist .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function vec4_dist _vec4_dist: ## @vec4_dist .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), %rsi movq -16(%rbp), %rdx leaq -24(%rbp), %rdi callq _vec4_sub leaq -24(%rbp), %rsi movq %rsi, %rdi callq _vec4_dot movss %xmm0, -28(%rbp) movss -28(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero xorps %xmm1, %xmm1 ucomiss %xmm1, %xmm0 jbe LBB0_2 ## %bb.1: movss -28(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero sqrtss %xmm0, %xmm0 movss %xmm0, -32(%rbp) ## 4-byte Spill jmp LBB0_3 LBB0_2: xorps %xmm0, %xmm0 movss %xmm0, -32(%rbp) ## 4-byte Spill jmp LBB0_3 LBB0_3: movss -32(%rbp), %xmm0 ## 4-byte Reload ## xmm0 = mem[0],zero,zero,zero addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _vec4_dist .subsections_via_symbols
AnghaBench/obs-studio/libobs/audio-monitoring/osx/extr_....graphicsvec4.h_vec4_dist.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _process_record_user ; -- Begin function process_record_user .p2align 2 _process_record_user: ; @process_record_user .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, #12] str x1, [sp] mov w0, #1 add sp, sp, #16 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _process_record_user ## -- Begin function process_record_user .p2align 4, 0x90 _process_record_user: ## @process_record_user .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) movq %rsi, -16(%rbp) movl $1, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/qmk_firmware/keyboards/40percentclub/5x5/keymaps/default/extr_keymap.c_process_record_user.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function analogix_dp_bridge_atomic_post_disable _analogix_dp_bridge_atomic_post_disable: ; @analogix_dp_bridge_atomic_post_disable .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] ldur x8, [x29, #-8] ldr x8, [x8] str x8, [sp, #24] ldr x0, [sp, #24] ldur x1, [x29, #-16] bl _analogix_dp_get_new_crtc 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: b LBB0_7 LBB0_2: ldur x0, [x29, #-16] ldr x1, [sp, #16] bl _drm_atomic_get_new_crtc_state str x0, [sp, #8] ldr x8, [sp, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldr x8, [sp, #8] ldr w8, [x8] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: b LBB0_7 LBB0_5: ldr x0, [sp, #24] bl _analogix_dp_enable_psr str w0, [sp, #4] ldr w8, [sp, #4] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: ldr w1, [sp, #4] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _DRM_ERROR b LBB0_7 LBB0_7: 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 "Failed to enable psr (%d)\n" .no_dead_strip _analogix_dp_bridge_atomic_post_disable .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function analogix_dp_bridge_atomic_post_disable _analogix_dp_bridge_atomic_post_disable: ## @analogix_dp_bridge_atomic_post_disable .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 -8(%rbp), %rax movq (%rax), %rax movq %rax, -24(%rbp) movq -24(%rbp), %rdi movq -16(%rbp), %rsi callq _analogix_dp_get_new_crtc movq %rax, -32(%rbp) cmpq $0, -32(%rbp) jne LBB0_2 ## %bb.1: jmp LBB0_7 LBB0_2: movq -16(%rbp), %rdi movq -32(%rbp), %rsi callq _drm_atomic_get_new_crtc_state movq %rax, -40(%rbp) cmpq $0, -40(%rbp) je LBB0_4 ## %bb.3: movq -40(%rbp), %rax cmpl $0, (%rax) jne LBB0_5 LBB0_4: jmp LBB0_7 LBB0_5: movq -24(%rbp), %rdi callq _analogix_dp_enable_psr movl %eax, -44(%rbp) cmpl $0, -44(%rbp) je LBB0_7 ## %bb.6: movl -44(%rbp), %esi leaq L_.str(%rip), %rdi callq _DRM_ERROR LBB0_7: addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Failed to enable psr (%d)\n" .no_dead_strip _analogix_dp_bridge_atomic_post_disable .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/bridge/analogix/extr_analogix_dp_core.c_analogix_dp_bridge_atomic_post_disable.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fonsClearState ; -- Begin function fonsClearState .p2align 2 _fonsClearState: ; @fonsClearState .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 _fons__getState str x0, [sp] ldr x8, [sp] fmov s0, #12.00000000 str s0, [x8] ldr x9, [sp] mov w8, #-1 str w8, [x9, #4] ldr x8, [sp] str xzr, [x8, #32] ldr x8, [sp] str xzr, [x8, #24] ldr x8, [sp] str xzr, [x8, #16] adrp x8, _FONS_ALIGN_LEFT@GOTPAGE ldr x8, [x8, _FONS_ALIGN_LEFT@GOTPAGEOFF] ldr w8, [x8] adrp x9, _FONS_ALIGN_BASELINE@GOTPAGE ldr x9, [x9, _FONS_ALIGN_BASELINE@GOTPAGEOFF] ldr w9, [x9] orr w8, w8, w9 ldr x9, [sp] str w8, [x9, #8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _FONS_ALIGN_LEFT,4,2 ; @FONS_ALIGN_LEFT .comm _FONS_ALIGN_BASELINE,4,2 ; @FONS_ALIGN_BASELINE .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 fonsClearState LCPI0_0: .long 0x41400000 ## float 12 .section __TEXT,__text,regular,pure_instructions .globl _fonsClearState .p2align 4, 0x90 _fonsClearState: ## @fonsClearState .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 _fons__getState movq %rax, -16(%rbp) movq -16(%rbp), %rax movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, (%rax) movq -16(%rbp), %rax movl $-1, 4(%rax) movq -16(%rbp), %rax movq $0, 32(%rax) movq -16(%rbp), %rax movq $0, 24(%rax) movq -16(%rbp), %rax movq $0, 16(%rax) movq _FONS_ALIGN_LEFT@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _FONS_ALIGN_BASELINE@GOTPCREL(%rip), %rax orl (%rax), %ecx movq -16(%rbp), %rax movl %ecx, 8(%rax) addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _FONS_ALIGN_LEFT,4,2 ## @FONS_ALIGN_LEFT .comm _FONS_ALIGN_BASELINE,4,2 ## @FONS_ALIGN_BASELINE .subsections_via_symbols
AnghaBench/openpilot/phonelibs/nanovg/extr_fontstash.h_fonsClearState.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pciserial_remove_ports ; -- Begin function pciserial_remove_ports .p2align 2 _pciserial_remove_ports: ; @pciserial_remove_ports .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 wzr, [sp, #12] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #12] ldur x9, [x29, #-8] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_4 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldur x8, [x29, #-8] ldr x8, [x8, #16] ldrsw x9, [sp, #12] ldr w0, [x8, x9, lsl #2] bl _serial8250_unregister_port b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB0_1 LBB0_4: str wzr, [sp, #12] b LBB0_5 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #12] adrp x9, _PCI_NUM_BAR_RESOURCES@GOTPAGE ldr x9, [x9, _PCI_NUM_BAR_RESOURCES@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_10 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_5 Depth=1 ldur x8, [x29, #-8] ldr x8, [x8, #8] ldrsw x9, [sp, #12] ldr x8, [x8, x9, lsl #3] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: ; in Loop: Header=BB0_5 Depth=1 ldur x8, [x29, #-8] ldr x8, [x8, #8] ldrsw x9, [sp, #12] ldr x0, [x8, x9, lsl #3] bl _iounmap b LBB0_8 LBB0_8: ; in Loop: Header=BB0_5 Depth=1 ldur x8, [x29, #-8] ldr x9, [x8, #8] ldrsw x10, [sp, #12] mov x8, #0 str x8, [x9, x10, lsl #3] b LBB0_9 LBB0_9: ; in Loop: Header=BB0_5 Depth=1 ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB0_5 LBB0_10: ldur x8, [x29, #-8] ldr w0, [x8, #4] bl _find_quirk str x0, [sp, #16] ldr x8, [sp, #16] ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_12 b LBB0_11 LBB0_11: ldr x8, [sp, #16] ldr x8, [x8] ldur x9, [x29, #-8] ldr w0, [x9, #4] blr x8 b LBB0_12 LBB0_12: ldur x0, [x29, #-8] bl _kfree ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _PCI_NUM_BAR_RESOURCES,4,2 ; @PCI_NUM_BAR_RESOURCES .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pciserial_remove_ports ## -- Begin function pciserial_remove_ports .p2align 4, 0x90 _pciserial_remove_ports: ## @pciserial_remove_ports .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, -20(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movl -20(%rbp), %eax movq -8(%rbp), %rcx cmpl (%rcx), %eax jge LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq -8(%rbp), %rax movq 16(%rax), %rax movslq -20(%rbp), %rcx movl (%rax,%rcx,4), %edi callq _serial8250_unregister_port ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movl -20(%rbp), %eax addl $1, %eax movl %eax, -20(%rbp) jmp LBB0_1 LBB0_4: movl $0, -20(%rbp) LBB0_5: ## =>This Inner Loop Header: Depth=1 movl -20(%rbp), %eax movq _PCI_NUM_BAR_RESOURCES@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jge LBB0_10 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movq -8(%rbp), %rax movq 8(%rax), %rax movslq -20(%rbp), %rcx cmpq $0, (%rax,%rcx,8) je LBB0_8 ## %bb.7: ## in Loop: Header=BB0_5 Depth=1 movq -8(%rbp), %rax movq 8(%rax), %rax movslq -20(%rbp), %rcx movq (%rax,%rcx,8), %rdi callq _iounmap LBB0_8: ## in Loop: Header=BB0_5 Depth=1 movq -8(%rbp), %rax movq 8(%rax), %rax movslq -20(%rbp), %rcx movq $0, (%rax,%rcx,8) ## %bb.9: ## in Loop: Header=BB0_5 Depth=1 movl -20(%rbp), %eax addl $1, %eax movl %eax, -20(%rbp) jmp LBB0_5 LBB0_10: movq -8(%rbp), %rax movl 4(%rax), %edi callq _find_quirk movq %rax, -16(%rbp) movq -16(%rbp), %rax cmpq $0, (%rax) je LBB0_12 ## %bb.11: movq -16(%rbp), %rax movq (%rax), %rax movq -8(%rbp), %rcx movl 4(%rcx), %edi callq *%rax LBB0_12: movq -8(%rbp), %rdi callq _kfree addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _PCI_NUM_BAR_RESOURCES,4,2 ## @PCI_NUM_BAR_RESOURCES .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/serial/extr_8250_pci.c_pciserial_remove_ports.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _X509_set_serialNumber ; -- Begin function X509_set_serialNumber .p2align 2 _X509_set_serialNumber: ; @X509_set_serialNumber .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] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: stur wzr, [x29, #-4] b LBB0_5 LBB0_2: ldr x8, [sp, #16] str x8, [sp] ldr x8, [sp] ldr x9, [sp, #8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldr x0, [sp] ldr x1, [sp, #8] bl _ASN1_STRING_copy stur w0, [x29, #-4] b LBB0_5 LBB0_4: mov w8, #1 stur w8, [x29, #-4] b LBB0_5 LBB0_5: 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 _X509_set_serialNumber ## -- Begin function X509_set_serialNumber .p2align 4, 0x90 _X509_set_serialNumber: ## @X509_set_serialNumber .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) jne LBB0_2 ## %bb.1: movl $0, -4(%rbp) jmp LBB0_5 LBB0_2: movq -16(%rbp), %rax movq %rax, -32(%rbp) movq -32(%rbp), %rax cmpq -24(%rbp), %rax je LBB0_4 ## %bb.3: movq -32(%rbp), %rdi movq -24(%rbp), %rsi callq _ASN1_STRING_copy movl %eax, -4(%rbp) jmp LBB0_5 LBB0_4: movl $1, -4(%rbp) LBB0_5: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/freebsd/crypto/openssl/crypto/x509/extr_x509_set.c_X509_set_serialNumber.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function check_conn_params _check_conn_params: ; @check_conn_params .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] ldr w0, [x8] bl _superuser_arg subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: b LBB0_10 LBB0_2: str wzr, [sp, #4] b LBB0_3 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldur x8, [x29, #-8] ldrsw x9, [sp, #4] ldr x8, [x8, x9, lsl #3] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_9 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_3 Depth=1 ldur x8, [x29, #-8] ldrsw x9, [sp, #4] ldr x0, [x8, x9, lsl #3] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _strcmp subs x8, x0, #0 cset w8, ne tbnz w8, #0, LBB0_7 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [sp, #16] ldrsw x9, [sp, #4] ldr x8, [x8, x9, lsl #3] ldrsb w8, [x8] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: b LBB0_10 LBB0_7: ; in Loop: Header=BB0_3 Depth=1 b LBB0_8 LBB0_8: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [sp, #4] add w8, w8, #1 str w8, [sp, #4] b LBB0_3 LBB0_9: adrp x8, _ERROR@GOTPAGE ldr x8, [x8, _ERROR@GOTPAGEOFF] ldr w8, [x8] str w8, [sp] ; 4-byte Folded Spill adrp x8, _ERRCODE_S_R_E_PROHIBITED_SQL_STATEMENT_ATTEMPTED@GOTPAGE ldr x8, [x8, _ERRCODE_S_R_E_PROHIBITED_SQL_STATEMENT_ATTEMPTED@GOTPAGEOFF] ldr w0, [x8] bl _errcode adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _errmsg adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _errdetail mov x1, x0 ldr w0, [sp] ; 4-byte Folded Reload bl _ereport b LBB0_10 LBB0_10: 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 "password" .comm _ERROR,4,2 ; @ERROR .comm _ERRCODE_S_R_E_PROHIBITED_SQL_STATEMENT_ATTEMPTED,4,2 ; @ERRCODE_S_R_E_PROHIBITED_SQL_STATEMENT_ATTEMPTED l_.str.1: ; @.str.1 .asciz "password is required" l_.str.2: ; @.str.2 .asciz "Non-superusers must provide a password in the user mapping." .no_dead_strip _check_conn_params .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function check_conn_params _check_conn_params: ## @check_conn_params .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 -24(%rbp), %rax movl (%rax), %edi callq _superuser_arg cmpq $0, %rax je LBB0_2 ## %bb.1: jmp LBB0_10 LBB0_2: movl $0, -28(%rbp) LBB0_3: ## =>This Inner Loop Header: Depth=1 movq -8(%rbp), %rax movslq -28(%rbp), %rcx cmpq $0, (%rax,%rcx,8) je LBB0_9 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movq -8(%rbp), %rax movslq -28(%rbp), %rcx movq (%rax,%rcx,8), %rdi leaq L_.str(%rip), %rsi callq _strcmp cmpq $0, %rax jne LBB0_7 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movq -16(%rbp), %rax movslq -28(%rbp), %rcx movq (%rax,%rcx,8), %rax movsbl (%rax), %eax cmpl $0, %eax je LBB0_7 ## %bb.6: jmp LBB0_10 LBB0_7: ## in Loop: Header=BB0_3 Depth=1 jmp LBB0_8 LBB0_8: ## in Loop: Header=BB0_3 Depth=1 movl -28(%rbp), %eax addl $1, %eax movl %eax, -28(%rbp) jmp LBB0_3 LBB0_9: movq _ERROR@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -32(%rbp) ## 4-byte Spill movq _ERRCODE_S_R_E_PROHIBITED_SQL_STATEMENT_ATTEMPTED@GOTPCREL(%rip), %rax movl (%rax), %edi callq _errcode leaq L_.str.1(%rip), %rdi callq _errmsg leaq L_.str.2(%rip), %rdi callq _errdetail movl -32(%rbp), %edi ## 4-byte Reload movl %eax, %esi callq _ereport LBB0_10: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "password" .comm _ERROR,4,2 ## @ERROR .comm _ERRCODE_S_R_E_PROHIBITED_SQL_STATEMENT_ATTEMPTED,4,2 ## @ERRCODE_S_R_E_PROHIBITED_SQL_STATEMENT_ATTEMPTED L_.str.1: ## @.str.1 .asciz "password is required" L_.str.2: ## @.str.2 .asciz "Non-superusers must provide a password in the user mapping." .no_dead_strip _check_conn_params .subsections_via_symbols
AnghaBench/postgres/contrib/postgres_fdw/extr_connection.c_check_conn_params.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function adm6996_get_pvid _adm6996_get_pvid: ; @adm6996_get_pvid .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 x0, [x29, #-8] bl _to_adm str x0, [sp] ldur w1, [x29, #-12] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _pr_devel ldr x8, [sp] ldr x8, [x8] ldursw x9, [x29, #-12] ldr w8, [x8, x9, lsl #2] ldr x9, [sp, #8] str w8, [x9] mov w0, #0 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 "get_pvid port %d\n" .no_dead_strip _adm6996_get_pvid .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function adm6996_get_pvid _adm6996_get_pvid: ## @adm6996_get_pvid .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) movq -8(%rbp), %rdi callq _to_adm movq %rax, -32(%rbp) movl -12(%rbp), %esi leaq L_.str(%rip), %rdi callq _pr_devel movq -32(%rbp), %rax movq (%rax), %rax movslq -12(%rbp), %rcx movl (%rax,%rcx,4), %ecx movq -24(%rbp), %rax movl %ecx, (%rax) xorl %eax, %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "get_pvid port %d\n" .no_dead_strip _adm6996_get_pvid .subsections_via_symbols
AnghaBench/openwrt/target/linux/generic/files/drivers/net/phy/extr_adm6996.c_adm6996_get_pvid.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _qlcnic_83xx_remove_sysfs ; -- Begin function qlcnic_83xx_remove_sysfs .p2align 2 _qlcnic_83xx_remove_sysfs: ; @qlcnic_83xx_remove_sysfs .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 x8, [x8] str x8, [sp] ldr x0, [sp, #8] bl _qlcnic_remove_diag_entries ldr x0, [sp] adrp x1, _bin_attr_flash@GOTPAGE ldr x1, [x1, _bin_attr_flash@GOTPAGEOFF] bl _sysfs_remove_bin_file ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _bin_attr_flash,4,2 ; @bin_attr_flash .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _qlcnic_83xx_remove_sysfs ## -- Begin function qlcnic_83xx_remove_sysfs .p2align 4, 0x90 _qlcnic_83xx_remove_sysfs: ## @qlcnic_83xx_remove_sysfs .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), %rax movq %rax, -16(%rbp) movq -8(%rbp), %rdi callq _qlcnic_remove_diag_entries movq -16(%rbp), %rdi movq _bin_attr_flash@GOTPCREL(%rip), %rsi callq _sysfs_remove_bin_file addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _bin_attr_flash,4,2 ## @bin_attr_flash .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic_sysfs.c_qlcnic_83xx_remove_sysfs.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function fragment_and_dispatch _fragment_and_dispatch: ; @fragment_and_dispatch .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, _current_fragment_packet@GOTPAGE ldr x8, [x8, _current_fragment_packet@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill adrp x8, _callbacks@GOTPAGE ldr x8, [x8, _callbacks@GOTPAGEOFF] str x8, [sp, #16] ; 8-byte Folded Spill stur x0, [x29, #-8] ldur x8, [x29, #-8] ldr x8, [x8] adrp x9, _MSG_EVT_MASK@GOTPAGE ldr x9, [x9, _MSG_EVT_MASK@GOTPAGEOFF] ldr x9, [x9] and x8, x8, x9 str x8, [sp, #32] ldur x8, [x29, #-8] ldr x8, [x8, #32] ldur x9, [x29, #-8] ldrsw x9, [x9, #8] add x8, x8, x9, lsl #2 str x8, [sp, #24] ldur x8, [x29, #-8] subs x8, x8, #0 cset w8, ne and w0, w8, #0x1 bl _assert ldr x8, [sp, #32] adrp x9, _MSG_STACK_TO_HC_HCI_ACL@GOTPAGE ldr x9, [x9, _MSG_STACK_TO_HC_HCI_ACL@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp, #16] ; 8-byte Folded Reload ldr x8, [x8] ldr x8, [x8] ldur x0, [x29, #-8] mov w1, #1 blr x8 b LBB0_12 LBB0_2: ldur x8, [x29, #-8] ldr x0, [x8] bl _SUB_EVENT adrp x8, _LOCAL_BR_EDR_CONTROLLER_ID@GOTPAGE ldr x8, [x8, _LOCAL_BR_EDR_CONTROLLER_ID@GOTPAGEOFF] ldr x8, [x8] subs x8, x0, x8 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: adrp x8, _controller@GOTPAGE ldr x8, [x8, _controller@GOTPAGEOFF] ldr x8, [x8] ldr x8, [x8] blr x8 str x0, [sp] ; 8-byte Folded Spill b LBB0_5 LBB0_4: adrp x8, _controller@GOTPAGE ldr x8, [x8, _controller@GOTPAGEOFF] ldr x8, [x8] ldr x8, [x8, #8] blr x8 str x0, [sp] ; 8-byte Folded Spill b LBB0_5 LBB0_5: ldr x8, [sp] ; 8-byte Folded Reload stur x8, [x29, #-24] ldur x8, [x29, #-24] adrp x9, _HCI_ACL_PREAMBLE_SIZE@GOTPAGE ldr x9, [x9, _HCI_ACL_PREAMBLE_SIZE@GOTPAGEOFF] ldr x9, [x9] add x8, x8, x9 stur x8, [x29, #-32] ldur x8, [x29, #-8] ldr x8, [x8, #16] str x8, [sp, #40] ldur x0, [x29, #-16] ldr x1, [sp, #24] bl _STREAM_TO_UINT16 ldur x0, [x29, #-16] bl _APPLY_CONTINUATION_FLAG stur x0, [x29, #-16] ldr x8, [sp, #40] ldur x9, [x29, #-32] subs x8, x8, x9 cset w8, le tbnz w8, #0, LBB0_11 b LBB0_6 LBB0_6: ldr x9, [sp, #8] ; 8-byte Folded Reload ldur x8, [x29, #-8] str x8, [x9] ldr x0, [sp, #24] ldur x1, [x29, #-24] bl _UINT16_TO_STREAM ldr x8, [sp, #16] ; 8-byte Folded Reload ldur x9, [x29, #-32] ldur x10, [x29, #-8] str x9, [x10, #16] ldr x8, [x8] ldr x8, [x8] ldur x0, [x29, #-8] mov w1, #0 blr x8 ldur x10, [x29, #-24] ldur x9, [x29, #-8] ldrsw x8, [x9, #8] add x8, x8, x10 ; kill: def $w8 killed $w8 killed $x8 str w8, [x9, #8] ldur x9, [x29, #-24] ldr x8, [sp, #40] subs x8, x8, x9 str x8, [sp, #40] ldr x8, [sp, #40] ldur x9, [x29, #-8] str x8, [x9, #16] ldur x8, [x29, #-8] ldr x8, [x8, #32] ldur x9, [x29, #-8] ldrsw x9, [x9, #8] add x8, x8, x9, lsl #2 str x8, [sp, #24] ldr x0, [sp, #24] ldur x1, [x29, #-16] bl _UINT16_TO_STREAM ldr x0, [sp, #24] ldr x8, [sp, #40] adrp x9, _HCI_ACL_PREAMBLE_SIZE@GOTPAGE ldr x9, [x9, _HCI_ACL_PREAMBLE_SIZE@GOTPAGEOFF] ldr x9, [x9] subs x1, x8, x9 bl _UINT16_TO_STREAM ldur x8, [x29, #-8] ldr x8, [x8, #24] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_7 LBB0_7: ldur x9, [x29, #-8] ldr x8, [x9, #24] subs x8, x8, #1 str x8, [x9, #24] ldur x8, [x29, #-8] ldr x8, [x8, #24] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: ldr x8, [sp, #16] ; 8-byte Folded Reload ldr x9, [sp, #8] ; 8-byte Folded Reload adrp x10, _MSG_HC_TO_STACK_L2C_SEG_XMIT@GOTPAGE ldr x10, [x10, _MSG_HC_TO_STACK_L2C_SEG_XMIT@GOTPAGEOFF] ldr x10, [x10] ldur x11, [x29, #-8] str x10, [x11] ; kill: def $x10 killed $xzr str xzr, [x9] ldr x8, [x8] ldr x8, [x8, #8] ldur x0, [x29, #-8] mov w1, #0 blr x8 b LBB0_12 LBB0_9: b LBB0_10 LBB0_10: b LBB0_12 LBB0_11: ldr x8, [sp, #16] ; 8-byte Folded Reload ldr x9, [sp, #8] ; 8-byte Folded Reload ; kill: def $x10 killed $xzr str xzr, [x9] ldr x8, [x8] ldr x8, [x8] ldur x0, [x29, #-8] mov w1, #1 blr x8 b LBB0_12 LBB0_12: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc ; -- End function .comm _MSG_EVT_MASK,8,3 ; @MSG_EVT_MASK .comm _MSG_STACK_TO_HC_HCI_ACL,8,3 ; @MSG_STACK_TO_HC_HCI_ACL .comm _callbacks,8,3 ; @callbacks .comm _LOCAL_BR_EDR_CONTROLLER_ID,8,3 ; @LOCAL_BR_EDR_CONTROLLER_ID .comm _controller,8,3 ; @controller .comm _HCI_ACL_PREAMBLE_SIZE,8,3 ; @HCI_ACL_PREAMBLE_SIZE .comm _current_fragment_packet,8,3 ; @current_fragment_packet .comm _MSG_HC_TO_STACK_L2C_SEG_XMIT,8,3 ; @MSG_HC_TO_STACK_L2C_SEG_XMIT .no_dead_strip _fragment_and_dispatch .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function fragment_and_dispatch _fragment_and_dispatch: ## @fragment_and_dispatch .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 movq (%rax), %rax movq _MSG_EVT_MASK@GOTPCREL(%rip), %rcx andq (%rcx), %rax movq %rax, -48(%rbp) movq -8(%rbp), %rax movq 32(%rax), %rax movq -8(%rbp), %rcx movslq 8(%rcx), %rcx shlq $2, %rcx addq %rcx, %rax movq %rax, -56(%rbp) cmpq $0, -8(%rbp) setne %al andb $1, %al movzbl %al, %edi callq _assert movq -48(%rbp), %rax movq _MSG_STACK_TO_HC_HCI_ACL@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_2 ## %bb.1: movq _callbacks@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax), %rax movq -8(%rbp), %rdi movl $1, %esi callq *%rax jmp LBB0_12 LBB0_2: movq -8(%rbp), %rax movq (%rax), %rdi callq _SUB_EVENT movq _LOCAL_BR_EDR_CONTROLLER_ID@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_4 ## %bb.3: movq _controller@GOTPCREL(%rip), %rax movq (%rax), %rcx movb $0, %al callq *(%rcx) movq %rax, -64(%rbp) ## 8-byte Spill jmp LBB0_5 LBB0_4: movq _controller@GOTPCREL(%rip), %rax movq (%rax), %rcx movb $0, %al callq *8(%rcx) movq %rax, -64(%rbp) ## 8-byte Spill LBB0_5: movq -64(%rbp), %rax ## 8-byte Reload movq %rax, -24(%rbp) movq -24(%rbp), %rax movq _HCI_ACL_PREAMBLE_SIZE@GOTPCREL(%rip), %rcx addq (%rcx), %rax movq %rax, -32(%rbp) movq -8(%rbp), %rax movq 16(%rax), %rax movq %rax, -40(%rbp) movq -16(%rbp), %rdi movq -56(%rbp), %rsi callq _STREAM_TO_UINT16 movq -16(%rbp), %rdi callq _APPLY_CONTINUATION_FLAG movq %rax, -16(%rbp) movq -40(%rbp), %rax cmpq -32(%rbp), %rax jle LBB0_11 ## %bb.6: movq -8(%rbp), %rcx movq _current_fragment_packet@GOTPCREL(%rip), %rax movq %rcx, (%rax) movq -56(%rbp), %rdi movq -24(%rbp), %rsi callq _UINT16_TO_STREAM movq -32(%rbp), %rcx movq -8(%rbp), %rax movq %rcx, 16(%rax) movq _callbacks@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax), %rax movq -8(%rbp), %rdi xorl %esi, %esi callq *%rax movq -24(%rbp), %rdx movq -8(%rbp), %rax movslq 8(%rax), %rcx addq %rdx, %rcx ## kill: def $ecx killed $ecx killed $rcx movl %ecx, 8(%rax) movq -24(%rbp), %rcx movq -40(%rbp), %rax subq %rcx, %rax movq %rax, -40(%rbp) movq -40(%rbp), %rcx movq -8(%rbp), %rax movq %rcx, 16(%rax) movq -8(%rbp), %rax movq 32(%rax), %rax movq -8(%rbp), %rcx movslq 8(%rcx), %rcx shlq $2, %rcx addq %rcx, %rax movq %rax, -56(%rbp) movq -56(%rbp), %rdi movq -16(%rbp), %rsi callq _UINT16_TO_STREAM movq -56(%rbp), %rdi movq -40(%rbp), %rsi movq _HCI_ACL_PREAMBLE_SIZE@GOTPCREL(%rip), %rax subq (%rax), %rsi callq _UINT16_TO_STREAM movq -8(%rbp), %rax cmpq $0, 24(%rax) je LBB0_10 ## %bb.7: movq -8(%rbp), %rax movq 24(%rax), %rcx addq $-1, %rcx movq %rcx, 24(%rax) movq -8(%rbp), %rax cmpq $0, 24(%rax) jne LBB0_9 ## %bb.8: movq _MSG_HC_TO_STACK_L2C_SEG_XMIT@GOTPCREL(%rip), %rax movq (%rax), %rcx movq -8(%rbp), %rax movq %rcx, (%rax) movq _current_fragment_packet@GOTPCREL(%rip), %rax movq $0, (%rax) movq _callbacks@GOTPCREL(%rip), %rax movq (%rax), %rax movq 8(%rax), %rax movq -8(%rbp), %rdi xorl %esi, %esi callq *%rax jmp LBB0_12 LBB0_9: jmp LBB0_10 LBB0_10: jmp LBB0_12 LBB0_11: movq _current_fragment_packet@GOTPCREL(%rip), %rax movq $0, (%rax) movq _callbacks@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax), %rax movq -8(%rbp), %rdi movl $1, %esi callq *%rax LBB0_12: addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _MSG_EVT_MASK,8,3 ## @MSG_EVT_MASK .comm _MSG_STACK_TO_HC_HCI_ACL,8,3 ## @MSG_STACK_TO_HC_HCI_ACL .comm _callbacks,8,3 ## @callbacks .comm _LOCAL_BR_EDR_CONTROLLER_ID,8,3 ## @LOCAL_BR_EDR_CONTROLLER_ID .comm _controller,8,3 ## @controller .comm _HCI_ACL_PREAMBLE_SIZE,8,3 ## @HCI_ACL_PREAMBLE_SIZE .comm _current_fragment_packet,8,3 ## @current_fragment_packet .comm _MSG_HC_TO_STACK_L2C_SEG_XMIT,8,3 ## @MSG_HC_TO_STACK_L2C_SEG_XMIT .no_dead_strip _fragment_and_dispatch .subsections_via_symbols
AnghaBench/esp-idf/components/bt/host/bluedroid/hci/extr_packet_fragmenter.c_fragment_and_dispatch.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function find_device_by_addr _find_device_by_addr: ; @find_device_by_addr .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] ldur x8, [x29, #-8] add x1, sp, #24 str x8, [sp, #24] ; kill: def $x8 killed $xzr str xzr, [sp, #32] adrp x8, _find_device@GOTPAGE ldr x8, [x8, _find_device@GOTPAGEOFF] ldr w0, [x8] bl _for_each_padev str w0, [sp, #20] ldr w8, [sp, #20] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp, #32] str x8, [sp, #8] ; 8-byte Folded Spill b LBB0_3 LBB0_2: mov x8, #0 str x8, [sp, #8] ; 8-byte Folded Spill b LBB0_3 LBB0_3: ldr x0, [sp, #8] ; 8-byte Folded Reload ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _find_device,4,2 ; @find_device .no_dead_strip _find_device_by_addr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function find_device_by_addr _find_device_by_addr: ## @find_device_by_addr .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 -8(%rbp), %rax movq %rax, -24(%rbp) movq $0, -16(%rbp) movq _find_device@GOTPCREL(%rip), %rax movl (%rax), %edi leaq -24(%rbp), %rsi callq _for_each_padev movl %eax, -28(%rbp) cmpl $0, -28(%rbp) je LBB0_2 ## %bb.1: movq -16(%rbp), %rax movq %rax, -40(%rbp) ## 8-byte Spill jmp LBB0_3 LBB0_2: xorl %eax, %eax ## kill: def $rax killed $eax movq %rax, -40(%rbp) ## 8-byte Spill jmp LBB0_3 LBB0_3: movq -40(%rbp), %rax ## 8-byte Reload addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _find_device,4,2 ## @find_device .no_dead_strip _find_device_by_addr .subsections_via_symbols
AnghaBench/fastsocket/kernel/arch/parisc/kernel/extr_drivers.c_find_device_by_addr.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function query_mshtml_cut _query_mshtml_cut: ; @query_mshtml_cut .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 x1, [sp, #8] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _FIXME adrp x8, _OLECMDF_SUPPORTED@GOTPAGE ldr x8, [x8, _OLECMDF_SUPPORTED@GOTPAGEOFF] ldr w8, [x8] adrp x9, _OLECMDF_ENABLED@GOTPAGE ldr x9, [x9, _OLECMDF_ENABLED@GOTPAGEOFF] ldr w9, [x9] orr w8, w8, w9 ldr x9, [sp] str w8, [x9] adrp x8, _S_OK@GOTPAGE ldr x8, [x8, _S_OK@GOTPAGEOFF] ldr w0, [x8] 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 "(%p)\n" .comm _OLECMDF_SUPPORTED,4,2 ; @OLECMDF_SUPPORTED .comm _OLECMDF_ENABLED,4,2 ; @OLECMDF_ENABLED .comm _S_OK,4,2 ; @S_OK .no_dead_strip _query_mshtml_cut .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function query_mshtml_cut _query_mshtml_cut: ## @query_mshtml_cut .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), %rsi leaq L_.str(%rip), %rdi callq _FIXME movq _OLECMDF_SUPPORTED@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _OLECMDF_ENABLED@GOTPCREL(%rip), %rax orl (%rax), %ecx movq -16(%rbp), %rax movl %ecx, (%rax) movq _S_OK@GOTPCREL(%rip), %rax movl (%rax), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "(%p)\n" .comm _OLECMDF_SUPPORTED,4,2 ## @OLECMDF_SUPPORTED .comm _OLECMDF_ENABLED,4,2 ## @OLECMDF_ENABLED .comm _S_OK,4,2 ## @S_OK .no_dead_strip _query_mshtml_cut .subsections_via_symbols
AnghaBench/reactos/dll/win32/mshtml/extr_olecmd.c_query_mshtml_cut.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dbAllocDmap _dbAllocDmap: ; @dbAllocDmap .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, _ROOT@GOTPAGE ldr x9, [x9, _ROOT@GOTPAGEOFF] str x9, [sp, #8] ; 8-byte Folded Spill stur x0, [x29, #-16] stur x1, [x29, #-24] stur w2, [x29, #-28] str w3, [sp, #32] ldur x8, [x29, #-24] ldr x8, [x8] ldr x9, [x9] ldr x8, [x8, x9, lsl #3] str x8, [sp, #24] ldur x0, [x29, #-16] ldur x1, [x29, #-24] ldur w2, [x29, #-28] ldr w3, [sp, #32] bl _dbAllocBits ldr x9, [sp, #8] ; 8-byte Folded Reload ldur x8, [x29, #-24] ldr x8, [x8] ldr x9, [x9] ldr x8, [x8, x9, lsl #3] ldr x9, [sp, #24] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: stur wzr, [x29, #-4] b LBB0_5 LBB0_2: ldr x9, [sp, #8] ; 8-byte Folded Reload ldur x0, [x29, #-16] ldur w1, [x29, #-28] ldur x8, [x29, #-24] ldr x8, [x8] ldr x9, [x9] ldr x2, [x8, x9, lsl #3] mov w3, #1 mov w4, #0 bl _dbAdjCtl str w0, [sp, #20] subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldur x0, [x29, #-16] ldur x1, [x29, #-24] ldur w2, [x29, #-28] ldr w3, [sp, #32] bl _dbFreeBits b LBB0_4 LBB0_4: ldr w8, [sp, #20] stur w8, [x29, #-4] b LBB0_5 LBB0_5: ldur w0, [x29, #-4] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _ROOT,8,3 ; @ROOT .no_dead_strip _dbAllocDmap .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dbAllocDmap _dbAllocDmap: ## @dbAllocDmap .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) movl %edx, -28(%rbp) movl %ecx, -32(%rbp) movq -24(%rbp), %rax movq (%rax), %rax movq _ROOT@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq (%rax,%rcx,8), %rax movq %rax, -40(%rbp) movq -16(%rbp), %rdi movq -24(%rbp), %rsi movl -28(%rbp), %edx movl -32(%rbp), %ecx callq _dbAllocBits movq -24(%rbp), %rax movq (%rax), %rax movq _ROOT@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq (%rax,%rcx,8), %rax cmpq -40(%rbp), %rax jne LBB0_2 ## %bb.1: movl $0, -4(%rbp) jmp LBB0_5 LBB0_2: movq -16(%rbp), %rdi movl -28(%rbp), %esi movq -24(%rbp), %rax movq (%rax), %rax movq _ROOT@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq (%rax,%rcx,8), %rdx movl $1, %ecx xorl %r8d, %r8d callq _dbAdjCtl movl %eax, -44(%rbp) cmpl $0, %eax je LBB0_4 ## %bb.3: movq -16(%rbp), %rdi movq -24(%rbp), %rsi movl -28(%rbp), %edx movl -32(%rbp), %ecx callq _dbFreeBits LBB0_4: 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 _ROOT,8,3 ## @ROOT .no_dead_strip _dbAllocDmap .subsections_via_symbols
AnghaBench/linux/fs/jfs/extr_jfs_dmap.c_dbAllocDmap.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dlm_query_join_packet_to_wire _dlm_query_join_packet_to_wire: ; @dlm_query_join_packet_to_wire .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 w8, [x8] str w8, [sp, #12] ldr w0, [sp, #12] bl _be32_to_cpu ldr x8, [sp, #16] str w0, [x8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .no_dead_strip _dlm_query_join_packet_to_wire .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dlm_query_join_packet_to_wire _dlm_query_join_packet_to_wire: ## @dlm_query_join_packet_to_wire .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 movl (%rax), %eax movl %eax, -24(%rbp) movl -24(%rbp), %edi callq _be32_to_cpu movl %eax, %ecx movq -16(%rbp), %rax movl %ecx, (%rax) addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _dlm_query_join_packet_to_wire .subsections_via_symbols
AnghaBench/linux/fs/ocfs2/dlm/extr_dlmdomain.c_dlm_query_join_packet_to_wire.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function wlc_lcnphy_set_pa_gain _wlc_lcnphy_set_pa_gain: ; @wlc_lcnphy_set_pa_gain .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] adrp x8, _LCNPHY_txgainctrlovrval1_pagain_ovr_val1_MASK@GOTPAGE ldr x8, [x8, _LCNPHY_txgainctrlovrval1_pagain_ovr_val1_MASK@GOTPAGEOFF] ldr w2, [x8] ldr w8, [sp, #4] adrp x9, _LCNPHY_txgainctrlovrval1_pagain_ovr_val1_SHIFT@GOTPAGE ldr x9, [x9, _LCNPHY_txgainctrlovrval1_pagain_ovr_val1_SHIFT@GOTPAGEOFF] ldr w9, [x9] lsl w3, w8, w9 mov w1, #1275 bl _mod_phy_reg ldr x0, [sp, #8] adrp x8, _LCNPHY_stxtxgainctrlovrval1_pagain_ovr_val1_MASK@GOTPAGE ldr x8, [x8, _LCNPHY_stxtxgainctrlovrval1_pagain_ovr_val1_MASK@GOTPAGEOFF] ldr w2, [x8] ldr w8, [sp, #4] adrp x9, _LCNPHY_stxtxgainctrlovrval1_pagain_ovr_val1_SHIFT@GOTPAGE ldr x9, [x9, _LCNPHY_stxtxgainctrlovrval1_pagain_ovr_val1_SHIFT@GOTPAGEOFF] ldr w9, [x9] lsl w3, w8, w9 mov w1, #1277 bl _mod_phy_reg ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _LCNPHY_txgainctrlovrval1_pagain_ovr_val1_MASK,4,2 ; @LCNPHY_txgainctrlovrval1_pagain_ovr_val1_MASK .comm _LCNPHY_txgainctrlovrval1_pagain_ovr_val1_SHIFT,4,2 ; @LCNPHY_txgainctrlovrval1_pagain_ovr_val1_SHIFT .comm _LCNPHY_stxtxgainctrlovrval1_pagain_ovr_val1_MASK,4,2 ; @LCNPHY_stxtxgainctrlovrval1_pagain_ovr_val1_MASK .comm _LCNPHY_stxtxgainctrlovrval1_pagain_ovr_val1_SHIFT,4,2 ; @LCNPHY_stxtxgainctrlovrval1_pagain_ovr_val1_SHIFT .no_dead_strip _wlc_lcnphy_set_pa_gain .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function wlc_lcnphy_set_pa_gain _wlc_lcnphy_set_pa_gain: ## @wlc_lcnphy_set_pa_gain .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 movq _LCNPHY_txgainctrlovrval1_pagain_ovr_val1_MASK@GOTPCREL(%rip), %rax movl (%rax), %edx movl -12(%rbp), %eax movq _LCNPHY_txgainctrlovrval1_pagain_ovr_val1_SHIFT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx ## kill: def $cl killed $ecx shll %cl, %eax movl %eax, %ecx movl $1275, %esi ## imm = 0x4FB callq _mod_phy_reg movq -8(%rbp), %rdi movq _LCNPHY_stxtxgainctrlovrval1_pagain_ovr_val1_MASK@GOTPCREL(%rip), %rax movl (%rax), %edx movl -12(%rbp), %eax movq _LCNPHY_stxtxgainctrlovrval1_pagain_ovr_val1_SHIFT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx ## kill: def $cl killed $ecx shll %cl, %eax movl %eax, %ecx movl $1277, %esi ## imm = 0x4FD callq _mod_phy_reg addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _LCNPHY_txgainctrlovrval1_pagain_ovr_val1_MASK,4,2 ## @LCNPHY_txgainctrlovrval1_pagain_ovr_val1_MASK .comm _LCNPHY_txgainctrlovrval1_pagain_ovr_val1_SHIFT,4,2 ## @LCNPHY_txgainctrlovrval1_pagain_ovr_val1_SHIFT .comm _LCNPHY_stxtxgainctrlovrval1_pagain_ovr_val1_MASK,4,2 ## @LCNPHY_stxtxgainctrlovrval1_pagain_ovr_val1_MASK .comm _LCNPHY_stxtxgainctrlovrval1_pagain_ovr_val1_SHIFT,4,2 ## @LCNPHY_stxtxgainctrlovrval1_pagain_ovr_val1_SHIFT .no_dead_strip _wlc_lcnphy_set_pa_gain .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/phy/extr_phy_lcn.c_wlc_lcnphy_set_pa_gain.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ISO13818_1_Get_Descriptor_Description _ISO13818_1_Get_Descriptor_Description: ; @ISO13818_1_Get_Descriptor_Description .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, #4] ldr w8, [sp, #4] subs w8, w8, #54 cset w8, ge tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _ISO13818_1_descriptors_descs@GOTPAGE ldr x8, [x8, _ISO13818_1_descriptors_descs@GOTPAGEOFF] ldr x8, [x8] ldrsw x9, [sp, #4] ldr x8, [x8, x9, lsl #3] str x8, [sp, #8] b LBB0_3 LBB0_2: adrp x8, _ISO13818_1_other_descs@GOTPAGE ldr x8, [x8, _ISO13818_1_other_descs@GOTPAGEOFF] ldr x8, [x8] ldr x8, [x8, #8] str x8, [sp, #8] b LBB0_3 LBB0_3: ldr x0, [sp, #8] add sp, sp, #16 ret .cfi_endproc ; -- End function .comm _ISO13818_1_descriptors_descs,8,3 ; @ISO13818_1_descriptors_descs .comm _ISO13818_1_other_descs,8,3 ; @ISO13818_1_other_descs .no_dead_strip _ISO13818_1_Get_Descriptor_Description .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ISO13818_1_Get_Descriptor_Description _ISO13818_1_Get_Descriptor_Description: ## @ISO13818_1_Get_Descriptor_Description .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, -12(%rbp) cmpl $54, -12(%rbp) jge LBB0_2 ## %bb.1: movq _ISO13818_1_descriptors_descs@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -12(%rbp), %rcx movq (%rax,%rcx,8), %rax movq %rax, -8(%rbp) jmp LBB0_3 LBB0_2: movq _ISO13818_1_other_descs@GOTPCREL(%rip), %rax movq (%rax), %rax movq 8(%rax), %rax movq %rax, -8(%rbp) LBB0_3: movq -8(%rbp), %rax popq %rbp retq .cfi_endproc ## -- End function .comm _ISO13818_1_descriptors_descs,8,3 ## @ISO13818_1_descriptors_descs .comm _ISO13818_1_other_descs,8,3 ## @ISO13818_1_other_descs .no_dead_strip _ISO13818_1_Get_Descriptor_Description .subsections_via_symbols
AnghaBench/vlc/modules/demux/mpeg/extr_ts_strings.h_ISO13818_1_Get_Descriptor_Description.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function extent_gdump_add _extent_gdump_add: ; @extent_gdump_add .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, _ATOMIC_RELAXED@GOTPAGE ldr x8, [x8, _ATOMIC_RELAXED@GOTPAGEOFF] str x8, [sp, #16] ; 8-byte Folded Spill stur x0, [x29, #-8] stur x1, [x29, #-16] adrp x8, _config_prof@GOTPAGE ldr x8, [x8, _config_prof@GOTPAGEOFF] ldr w0, [x8] bl _cassert ldur x0, [x29, #-8] bl _tsdn_witness_tsdp_get adrp x8, _WITNESS_RANK_CORE@GOTPAGE ldr x8, [x8, _WITNESS_RANK_CORE@GOTPAGEOFF] ldr w1, [x8] mov w2, #0 bl _witness_assert_depth_to_rank adrp x8, _opt_prof@GOTPAGE ldr x8, [x8, _opt_prof@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_11 b LBB0_1 LBB0_1: ldur x0, [x29, #-16] bl _extent_state_get adrp x8, _extent_state_active@GOTPAGE ldr x8, [x8, _extent_state_active@GOTPAGEOFF] ldr x8, [x8] subs x8, x0, x8 cset w8, ne tbnz w8, #0, LBB0_11 b LBB0_2 LBB0_2: ldur x0, [x29, #-16] bl _extent_size_get ldr x8, [sp, #16] ; 8-byte Folded Reload adrp x9, _LG_PAGE@GOTPAGE ldr x9, [x9, _LG_PAGE@GOTPAGEOFF] ldr x9, [x9] lsr x9, x0, x9 stur x9, [x29, #-24] ldur x1, [x29, #-24] ldr w2, [x8] adrp x0, _curpages@GOTPAGE ldr x0, [x0, _curpages@GOTPAGEOFF] bl _atomic_fetch_add_zu ldr x8, [sp, #16] ; 8-byte Folded Reload ldur x9, [x29, #-24] add x9, x0, x9 str x9, [sp, #32] ldr w1, [x8] adrp x0, _highpages@GOTPAGE ldr x0, [x0, _highpages@GOTPAGEOFF] bl _atomic_load_zu str x0, [sp, #24] b LBB0_3 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #32] ldr x9, [sp, #24] subs x8, x8, x9 cset w8, ls mov w9, #0 str w9, [sp, #12] ; 4-byte Folded Spill tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [sp, #16] ; 8-byte Folded Reload ldr x2, [sp, #32] ldr w3, [x8] ldr w4, [x8] adrp x0, _highpages@GOTPAGE ldr x0, [x0, _highpages@GOTPAGEOFF] add x1, sp, #24 bl _atomic_compare_exchange_weak_zu subs w8, w0, #0 cset w8, eq str w8, [sp, #12] ; 4-byte Folded Spill b LBB0_5 LBB0_5: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [sp, #12] ; 4-byte Folded Reload tbz w8, #0, LBB0_7 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_3 Depth=1 b LBB0_3 LBB0_7: ldr x8, [sp, #32] ldr x9, [sp, #24] subs x8, x8, x9 cset w8, ls tbnz w8, #0, LBB0_10 b LBB0_8 LBB0_8: bl _prof_gdump_get_unlocked subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_9 LBB0_9: ldur x0, [x29, #-8] bl _prof_gdump b LBB0_10 LBB0_10: b LBB0_11 LBB0_11: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _config_prof,4,2 ; @config_prof .comm _WITNESS_RANK_CORE,4,2 ; @WITNESS_RANK_CORE .comm _opt_prof,8,3 ; @opt_prof .comm _extent_state_active,8,3 ; @extent_state_active .comm _LG_PAGE,8,3 ; @LG_PAGE .comm _curpages,4,2 ; @curpages .comm _ATOMIC_RELAXED,4,2 ; @ATOMIC_RELAXED .comm _highpages,4,2 ; @highpages .no_dead_strip _extent_gdump_add .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function extent_gdump_add _extent_gdump_add: ## @extent_gdump_add .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 _config_prof@GOTPCREL(%rip), %rax movl (%rax), %edi callq _cassert movq -8(%rbp), %rdi callq _tsdn_witness_tsdp_get movl %eax, %edi movq _WITNESS_RANK_CORE@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %edx, %edx callq _witness_assert_depth_to_rank movq _opt_prof@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_11 ## %bb.1: movq -16(%rbp), %rdi callq _extent_state_get movq _extent_state_active@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_11 ## %bb.2: movq -16(%rbp), %rdi callq _extent_size_get movq _LG_PAGE@GOTPCREL(%rip), %rcx movq (%rcx), %rcx ## kill: def $cl killed $rcx shrq %cl, %rax movq %rax, -24(%rbp) movq -24(%rbp), %rsi movq _ATOMIC_RELAXED@GOTPCREL(%rip), %rax movl (%rax), %edx movq _curpages@GOTPCREL(%rip), %rdi callq _atomic_fetch_add_zu addq -24(%rbp), %rax movq %rax, -32(%rbp) movq _ATOMIC_RELAXED@GOTPCREL(%rip), %rax movl (%rax), %esi movq _highpages@GOTPCREL(%rip), %rdi callq _atomic_load_zu movq %rax, -40(%rbp) LBB0_3: ## =>This Inner Loop Header: Depth=1 movq -32(%rbp), %rcx xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpq -40(%rbp), %rcx movb %al, -41(%rbp) ## 1-byte Spill jbe LBB0_5 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movq -32(%rbp), %rdx movq _ATOMIC_RELAXED@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _ATOMIC_RELAXED@GOTPCREL(%rip), %rax movl (%rax), %r8d movq _highpages@GOTPCREL(%rip), %rdi leaq -40(%rbp), %rsi callq _atomic_compare_exchange_weak_zu cmpl $0, %eax setne %al xorb $-1, %al movb %al, -41(%rbp) ## 1-byte Spill LBB0_5: ## in Loop: Header=BB0_3 Depth=1 movb -41(%rbp), %al ## 1-byte Reload testb $1, %al jne LBB0_6 jmp LBB0_7 LBB0_6: ## in Loop: Header=BB0_3 Depth=1 jmp LBB0_3 LBB0_7: movq -32(%rbp), %rax cmpq -40(%rbp), %rax jbe LBB0_10 ## %bb.8: movb $0, %al callq _prof_gdump_get_unlocked cmpq $0, %rax je LBB0_10 ## %bb.9: movq -8(%rbp), %rdi callq _prof_gdump LBB0_10: jmp LBB0_11 LBB0_11: addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _config_prof,4,2 ## @config_prof .comm _WITNESS_RANK_CORE,4,2 ## @WITNESS_RANK_CORE .comm _opt_prof,8,3 ## @opt_prof .comm _extent_state_active,8,3 ## @extent_state_active .comm _LG_PAGE,8,3 ## @LG_PAGE .comm _curpages,4,2 ## @curpages .comm _ATOMIC_RELAXED,4,2 ## @ATOMIC_RELAXED .comm _highpages,4,2 ## @highpages .no_dead_strip _extent_gdump_add .subsections_via_symbols
AnghaBench/jemalloc/src/extr_extent.c_extent_gdump_add.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function fill_frame_from_iplimage _fill_frame_from_iplimage: ; @fill_frame_from_iplimage .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, #24] str x1, [sp, #16] str w2, [sp, #12] ldr x8, [sp, #16] ldr w8, [x8, #4] ldr x9, [sp, #24] ldr x9, [x9, #8] str w8, [x9] ldr x8, [sp, #16] ldr w8, [x8] ldr x9, [sp, #24] ldr x9, [x9] str w8, [x9] add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _fill_frame_from_iplimage .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function fill_frame_from_iplimage _fill_frame_from_iplimage: ## @fill_frame_from_iplimage .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) movl %edx, -20(%rbp) movq -16(%rbp), %rax movl 4(%rax), %ecx movq -8(%rbp), %rax movq 8(%rax), %rax movl %ecx, (%rax) movq -16(%rbp), %rax movl (%rax), %ecx movq -8(%rbp), %rax movq (%rax), %rax movl %ecx, (%rax) popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _fill_frame_from_iplimage .subsections_via_symbols
AnghaBench/FFmpeg/libavfilter/extr_vf_libopencv.c_fill_frame_from_iplimage.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _uv_resident_set_memory ; -- Begin function uv_resident_set_memory .p2align 2 _uv_resident_set_memory: ; @uv_resident_set_memory .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] mov x0, #0 bl _find_thread add x1, sp, #4 bl _get_thread_info str x0, [sp, #8] ldr x8, [sp, #8] adrp x9, _B_OK@GOTPAGE ldr x9, [x9, _B_OK@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x0, [sp, #8] bl _UV__ERR stur w0, [x29, #-4] b LBB0_6 LBB0_2: str xzr, [sp, #16] ldur x8, [x29, #-16] str xzr, [x8] b LBB0_3 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr w0, [sp, #4] add x1, sp, #16 add x2, sp, #24 bl _get_next_area_info adrp x8, _B_OK@GOTPAGE ldr x8, [x8, _B_OK@GOTPAGEOFF] ldr x8, [x8] subs x8, x0, x8 cset w8, ne tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_3 Depth=1 ldr x10, [sp, #24] ldur x9, [x29, #-16] ldr x8, [x9] add x8, x8, x10 str x8, [x9] b LBB0_3 LBB0_5: stur wzr, [x29, #-4] b LBB0_6 LBB0_6: ldur w0, [x29, #-4] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _B_OK,8,3 ; @B_OK .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _uv_resident_set_memory ## -- Begin function uv_resident_set_memory .p2align 4, 0x90 _uv_resident_set_memory: ## @uv_resident_set_memory .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) xorl %eax, %eax movl %eax, %edi callq _find_thread movl %eax, %edi leaq -48(%rbp), %rsi callq _get_thread_info movq %rax, -40(%rbp) movq -40(%rbp), %rax movq _B_OK@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_2 ## %bb.1: movq -40(%rbp), %rdi callq _UV__ERR movl %eax, -4(%rbp) jmp LBB0_6 LBB0_2: movq $0, -32(%rbp) movq -16(%rbp), %rax movq $0, (%rax) LBB0_3: ## =>This Inner Loop Header: Depth=1 movl -48(%rbp), %edi leaq -32(%rbp), %rsi leaq -24(%rbp), %rdx callq _get_next_area_info movq _B_OK@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_5 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movq -24(%rbp), %rcx movq -16(%rbp), %rax addq (%rax), %rcx movq %rcx, (%rax) jmp LBB0_3 LBB0_5: movl $0, -4(%rbp) LBB0_6: movl -4(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _B_OK,8,3 ## @B_OK .subsections_via_symbols
AnghaBench/libuv/src/unix/extr_haiku.c_uv_resident_set_memory.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ffreep ; -- Begin function ffreep .p2align 2 _ffreep: ; @ffreep .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, _FPU_rm@GOTPAGE ldr x8, [x8, _FPU_rm@GOTPAGEOFF] ldr w0, [x8] adrp x8, _TAG_Empty@GOTPAGE ldr x8, [x8, _TAG_Empty@GOTPAGEOFF] ldr w1, [x8] bl _FPU_settagi bl _FPU_pop ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .comm _FPU_rm,4,2 ; @FPU_rm .comm _TAG_Empty,4,2 ; @TAG_Empty .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ffreep ## -- Begin function ffreep .p2align 4, 0x90 _ffreep: ## @ffreep .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _FPU_rm@GOTPCREL(%rip), %rax movl (%rax), %edi movq _TAG_Empty@GOTPCREL(%rip), %rax movl (%rax), %esi callq _FPU_settagi movb $0, %al callq _FPU_pop popq %rbp retq .cfi_endproc ## -- End function .comm _FPU_rm,4,2 ## @FPU_rm .comm _TAG_Empty,4,2 ## @TAG_Empty .subsections_via_symbols
AnghaBench/linux/arch/x86/math-emu/extr_fpu_aux.c_ffreep.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _class_compat_create_link ; -- Begin function class_compat_create_link .p2align 2 _class_compat_create_link: ; @class_compat_create_link .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 x8, [x29, #-16] ldr x8, [x8] str x8, [sp, #16] ; 8-byte Folded Spill ldur x8, [x29, #-24] str x8, [sp, #8] ; 8-byte Folded Spill ldur x0, [x29, #-24] bl _dev_name ldr x1, [sp, #8] ; 8-byte Folded Reload mov x2, x0 ldr x0, [sp, #16] ; 8-byte Folded Reload bl _sysfs_create_link 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: ldr w8, [sp, #28] stur w8, [x29, #-4] b LBB0_7 LBB0_2: ldr x8, [sp, #32] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_3 LBB0_3: ldur x0, [x29, #-24] ldr x1, [sp, #32] adrp x2, l_.str@PAGE add x2, x2, l_.str@PAGEOFF bl _sysfs_create_link str w0, [sp, #28] ldr w8, [sp, #28] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ldur x8, [x29, #-16] ldr x8, [x8] str x8, [sp] ; 8-byte Folded Spill ldur x0, [x29, #-24] bl _dev_name mov x1, x0 ldr x0, [sp] ; 8-byte Folded Reload bl _sysfs_remove_link b LBB0_5 LBB0_5: b LBB0_6 LBB0_6: ldr w8, [sp, #28] stur w8, [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 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "device" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _class_compat_create_link ## -- Begin function class_compat_create_link .p2align 4, 0x90 _class_compat_create_link: ## @class_compat_create_link .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), %rax movq (%rax), %rax movq %rax, -56(%rbp) ## 8-byte Spill movq -24(%rbp), %rax movq %rax, -48(%rbp) ## 8-byte Spill movq -24(%rbp), %rdi callq _dev_name movq -56(%rbp), %rdi ## 8-byte Reload movq -48(%rbp), %rsi ## 8-byte Reload movq %rax, %rdx callq _sysfs_create_link movl %eax, -36(%rbp) cmpl $0, -36(%rbp) je LBB0_2 ## %bb.1: movl -36(%rbp), %eax movl %eax, -4(%rbp) jmp LBB0_7 LBB0_2: cmpq $0, -32(%rbp) je LBB0_6 ## %bb.3: movq -24(%rbp), %rdi movq -32(%rbp), %rsi leaq L_.str(%rip), %rdx callq _sysfs_create_link movl %eax, -36(%rbp) cmpl $0, -36(%rbp) je LBB0_5 ## %bb.4: movq -16(%rbp), %rax movq (%rax), %rax movq %rax, -64(%rbp) ## 8-byte Spill movq -24(%rbp), %rdi callq _dev_name movq -64(%rbp), %rdi ## 8-byte Reload movq %rax, %rsi callq _sysfs_remove_link LBB0_5: jmp LBB0_6 LBB0_6: movl -36(%rbp), %eax movl %eax, -4(%rbp) LBB0_7: movl -4(%rbp), %eax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "device" .subsections_via_symbols
AnghaBench/linux/drivers/base/extr_class.c_class_compat_create_link.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _free_grep_patterns ; -- Begin function free_grep_patterns .p2align 2 _free_grep_patterns: ; @free_grep_patterns .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] ldr x8, [x8, #8] str x8, [sp, #16] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #16] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_13 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #16] ldr x8, [x8, #32] str x8, [sp, #8] ldr x8, [sp, #16] ldr w8, [x8] subs w8, w8, #128 subs w8, w8, #2 cset w8, hi tbnz w8, #0, LBB0_10 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #16] ldr w8, [x8, #24] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 ldr x0, [sp, #16] bl _free_pcre1_regexp b LBB0_9 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #16] ldr w8, [x8, #20] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_1 Depth=1 ldr x0, [sp, #16] bl _free_pcre2_pattern b LBB0_8 LBB0_7: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #16] add x0, x8, #16 bl _regfree b LBB0_8 LBB0_8: ; in Loop: Header=BB0_1 Depth=1 b LBB0_9 LBB0_9: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #16] ldr x0, [x8, #8] bl _free b LBB0_11 LBB0_10: ; in Loop: Header=BB0_1 Depth=1 b LBB0_11 LBB0_11: ; in Loop: Header=BB0_1 Depth=1 ldr x0, [sp, #16] bl _free b LBB0_12 LBB0_12: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #8] str x8, [sp, #16] b LBB0_1 LBB0_13: ldur x8, [x29, #-8] ldr w8, [x8, #4] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_15 b LBB0_14 LBB0_14: b LBB0_16 LBB0_15: ldur x8, [x29, #-8] ldr w0, [x8] bl _free_pattern_expr b LBB0_16 LBB0_16: 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 _free_grep_patterns ## -- Begin function free_grep_patterns .p2align 4, 0x90 _free_grep_patterns: ## @free_grep_patterns .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 8(%rax), %rax movq %rax, -16(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 cmpq $0, -16(%rbp) je LBB0_13 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq -16(%rbp), %rax movq 32(%rax), %rax movq %rax, -24(%rbp) movq -16(%rbp), %rax movl (%rax), %eax addl $-128, %eax subl $2, %eax ja LBB0_10 jmp LBB0_3 LBB0_3: ## in Loop: Header=BB0_1 Depth=1 movq -16(%rbp), %rax cmpl $0, 24(%rax) je LBB0_5 ## %bb.4: ## in Loop: Header=BB0_1 Depth=1 movq -16(%rbp), %rdi callq _free_pcre1_regexp jmp LBB0_9 LBB0_5: ## in Loop: Header=BB0_1 Depth=1 movq -16(%rbp), %rax cmpl $0, 20(%rax) je LBB0_7 ## %bb.6: ## in Loop: Header=BB0_1 Depth=1 movq -16(%rbp), %rdi callq _free_pcre2_pattern jmp LBB0_8 LBB0_7: ## in Loop: Header=BB0_1 Depth=1 movq -16(%rbp), %rdi addq $16, %rdi callq _regfree LBB0_8: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_9 LBB0_9: ## in Loop: Header=BB0_1 Depth=1 movq -16(%rbp), %rax movq 8(%rax), %rdi callq _free jmp LBB0_11 LBB0_10: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_11 LBB0_11: ## in Loop: Header=BB0_1 Depth=1 movq -16(%rbp), %rdi callq _free ## %bb.12: ## in Loop: Header=BB0_1 Depth=1 movq -24(%rbp), %rax movq %rax, -16(%rbp) jmp LBB0_1 LBB0_13: movq -8(%rbp), %rax cmpl $0, 4(%rax) jne LBB0_15 ## %bb.14: jmp LBB0_16 LBB0_15: movq -8(%rbp), %rax movl (%rax), %edi callq _free_pattern_expr LBB0_16: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/git/extr_grep.c_free_grep_patterns.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mt_adc_clkgen_event _mt_adc_clkgen_event: ; @mt_adc_clkgen_event .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] stur w2, [x29, #-20] ldur x8, [x29, #-8] ldr w0, [x8] bl _snd_soc_dapm_to_component str x0, [sp, #16] ldur w8, [x29, #-20] str w8, [sp, #12] ; 4-byte Folded Spill subs w8, w8, #128 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr w8, [sp, #12] ; 4-byte Folded Reload subs w8, w8, #129 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_4 LBB0_2: ldr x8, [sp, #16] ldr w0, [x8] adrp x8, _MT6351_AUDENC_ANA_CON3@GOTPAGE ldr x8, [x8, _MT6351_AUDENC_ANA_CON3@GOTPAGEOFF] ldr w1, [x8] mov w2, #48 mov w3, #0 bl _regmap_update_bits b LBB0_5 LBB0_3: ldr x8, [sp, #16] ldr w0, [x8] adrp x8, _MT6351_AUDENC_ANA_CON3@GOTPAGE ldr x8, [x8, _MT6351_AUDENC_ANA_CON3@GOTPAGEOFF] ldr w1, [x8] mov w2, #12 mov w3, #0 bl _regmap_update_bits b LBB0_5 LBB0_4: b LBB0_5 LBB0_5: mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _MT6351_AUDENC_ANA_CON3,4,2 ; @MT6351_AUDENC_ANA_CON3 .no_dead_strip _mt_adc_clkgen_event .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mt_adc_clkgen_event _mt_adc_clkgen_event: ## @mt_adc_clkgen_event .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) movl %edx, -20(%rbp) movq -8(%rbp), %rax movl (%rax), %edi callq _snd_soc_dapm_to_component movq %rax, -32(%rbp) movl -20(%rbp), %eax movl %eax, -36(%rbp) ## 4-byte Spill subl $128, %eax je LBB0_1 jmp LBB0_5 LBB0_5: movl -36(%rbp), %eax ## 4-byte Reload subl $129, %eax je LBB0_2 jmp LBB0_3 LBB0_1: movq -32(%rbp), %rax movl (%rax), %edi movq _MT6351_AUDENC_ANA_CON3@GOTPCREL(%rip), %rax movl (%rax), %esi movl $48, %edx xorl %ecx, %ecx callq _regmap_update_bits jmp LBB0_4 LBB0_2: movq -32(%rbp), %rax movl (%rax), %edi movq _MT6351_AUDENC_ANA_CON3@GOTPCREL(%rip), %rax movl (%rax), %esi movl $12, %edx xorl %ecx, %ecx callq _regmap_update_bits jmp LBB0_4 LBB0_3: jmp LBB0_4 LBB0_4: xorl %eax, %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _MT6351_AUDENC_ANA_CON3,4,2 ## @MT6351_AUDENC_ANA_CON3 .no_dead_strip _mt_adc_clkgen_event .subsections_via_symbols
AnghaBench/linux/sound/soc/codecs/extr_mt6351.c_mt_adc_clkgen_event.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ili251x_touchdata_to_coords _ili251x_touchdata_to_coords: ; @ili251x_touchdata_to_coords .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] stur w2, [x29, #-28] str x3, [sp, #24] str x4, [sp, #16] ldur w8, [x29, #-28] adrp x9, _ILI251X_TOUCHES@GOTPAGE ldr x9, [x9, _ILI251X_TOUCHES@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, lo tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: stur wzr, [x29, #-4] b LBB0_5 LBB0_2: ldur x8, [x29, #-24] add x8, x8, #4 ldur w9, [x29, #-28] mov w10, #5 mul w9, w9, w10 add x0, x8, w9, uxtw #2 bl _get_unaligned_be16 ldr x8, [sp, #24] str w0, [x8] ldr x8, [sp, #24] ldr w8, [x8] str w8, [sp, #12] ; 4-byte Folded Spill mov w0, #15 bl _BIT ldr w8, [sp, #12] ; 4-byte Folded Reload ands w8, w8, w0 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: stur wzr, [x29, #-4] b LBB0_5 LBB0_4: ldr x9, [sp, #24] ldr w8, [x9] and w8, w8, #0x3fff str w8, [x9] ldur x8, [x29, #-24] add x8, x8, #4 ldur w9, [x29, #-28] mov w10, #5 mul w9, w9, w10 add x8, x8, w9, uxtw #2 add x0, x8, #8 bl _get_unaligned_be16 ldr x8, [sp, #16] str w0, [x8] mov w8, #1 stur w8, [x29, #-4] b LBB0_5 LBB0_5: ldur w0, [x29, #-4] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _ILI251X_TOUCHES,4,2 ; @ILI251X_TOUCHES .no_dead_strip _ili251x_touchdata_to_coords .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ili251x_touchdata_to_coords _ili251x_touchdata_to_coords: ## @ili251x_touchdata_to_coords .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) movl %edx, -28(%rbp) movq %rcx, -40(%rbp) movq %r8, -48(%rbp) movl -28(%rbp), %eax movq _ILI251X_TOUCHES@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jb LBB0_2 ## %bb.1: movl $0, -4(%rbp) jmp LBB0_5 LBB0_2: movq -24(%rbp), %rdi addq $4, %rdi imull $5, -28(%rbp), %eax movl %eax, %eax ## kill: def $rax killed $eax shlq $2, %rax addq %rax, %rdi callq _get_unaligned_be16 movl %eax, %ecx movq -40(%rbp), %rax movl %ecx, (%rax) movq -40(%rbp), %rax movl (%rax), %eax movl %eax, -52(%rbp) ## 4-byte Spill movl $15, %edi callq _BIT movl %eax, %ecx movl -52(%rbp), %eax ## 4-byte Reload andl %ecx, %eax cmpl $0, %eax jne LBB0_4 ## %bb.3: movl $0, -4(%rbp) jmp LBB0_5 LBB0_4: movq -40(%rbp), %rax movl (%rax), %ecx andl $16383, %ecx ## imm = 0x3FFF movl %ecx, (%rax) movq -24(%rbp), %rdi addq $4, %rdi imull $5, -28(%rbp), %eax movl %eax, %eax ## kill: def $rax killed $eax shlq $2, %rax addq %rax, %rdi addq $8, %rdi callq _get_unaligned_be16 movl %eax, %ecx movq -48(%rbp), %rax movl %ecx, (%rax) movl $1, -4(%rbp) LBB0_5: movl -4(%rbp), %eax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _ILI251X_TOUCHES,4,2 ## @ILI251X_TOUCHES .no_dead_strip _ili251x_touchdata_to_coords .subsections_via_symbols
AnghaBench/linux/drivers/input/touchscreen/extr_ili210x.c_ili251x_touchdata_to_coords.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function w5100_tx_skb _w5100_tx_skb: ; @w5100_tx_skb .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] ldur x0, [x29, #-8] bl _netdev_priv str x0, [sp, #24] ldr x8, [sp, #24] str x8, [sp] ; 8-byte Folded Spill ldr x0, [sp, #24] bl _W5100_S0_TX_WR mov x1, x0 ldr x0, [sp] ; 8-byte Folded Reload bl _w5100_read16 str x0, [sp, #16] ldr x0, [sp, #24] ldr x1, [sp, #16] ldur x8, [x29, #-16] ldr w2, [x8, #8] ldur x8, [x29, #-16] ldr x3, [x8] bl _w5100_writebuf ldr x8, [sp, #24] str x8, [sp, #8] ; 8-byte Folded Spill ldr x0, [sp, #24] bl _W5100_S0_TX_WR mov x1, x0 ldr x0, [sp, #8] ; 8-byte Folded Reload ldr x8, [sp, #16] ldur x9, [x29, #-16] ldr x9, [x9] add x2, x8, x9 bl _w5100_write16 ldur x8, [x29, #-16] ldr x10, [x8] ldur x9, [x29, #-8] ldrsw x8, [x9, #4] add x8, x8, x10 ; kill: def $w8 killed $w8 killed $x8 str w8, [x9, #4] ldur x9, [x29, #-8] ldr w8, [x9] add w8, w8, #1 str w8, [x9] ldur x0, [x29, #-16] bl _dev_kfree_skb ldr x0, [sp, #24] adrp x8, _S0_CR_SEND@GOTPAGE ldr x8, [x8, _S0_CR_SEND@GOTPAGEOFF] ldr w1, [x8] bl _w5100_command ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _S0_CR_SEND,4,2 ; @S0_CR_SEND .no_dead_strip _w5100_tx_skb .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function w5100_tx_skb _w5100_tx_skb: ## @w5100_tx_skb .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 -8(%rbp), %rdi callq _netdev_priv movq %rax, -24(%rbp) movq -24(%rbp), %rax movq %rax, -48(%rbp) ## 8-byte Spill movq -24(%rbp), %rdi callq _W5100_S0_TX_WR movq -48(%rbp), %rdi ## 8-byte Reload movl %eax, %esi callq _w5100_read16 movq %rax, -32(%rbp) movq -24(%rbp), %rdi movq -32(%rbp), %rsi movq -16(%rbp), %rax movl 8(%rax), %edx movq -16(%rbp), %rax movq (%rax), %rcx callq _w5100_writebuf movq -24(%rbp), %rax movq %rax, -40(%rbp) ## 8-byte Spill movq -24(%rbp), %rdi callq _W5100_S0_TX_WR movq -40(%rbp), %rdi ## 8-byte Reload movl %eax, %esi movq -32(%rbp), %rdx movq -16(%rbp), %rax addq (%rax), %rdx callq _w5100_write16 movq -16(%rbp), %rax movq (%rax), %rdx movq -8(%rbp), %rax movslq 4(%rax), %rcx addq %rdx, %rcx ## kill: def $ecx killed $ecx killed $rcx movl %ecx, 4(%rax) movq -8(%rbp), %rax movl (%rax), %ecx addl $1, %ecx movl %ecx, (%rax) movq -16(%rbp), %rdi callq _dev_kfree_skb movq -24(%rbp), %rdi movq _S0_CR_SEND@GOTPCREL(%rip), %rax movl (%rax), %esi callq _w5100_command addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _S0_CR_SEND,4,2 ## @S0_CR_SEND .no_dead_strip _w5100_tx_skb .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/wiznet/extr_w5100.c_w5100_tx_skb.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function default_pins1 _default_pins1: ; @default_pins1 .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, #8] ldr x9, [sp, #8] mov w8, #23392 movk w8, #3, lsl #16 str w8, [x9, #12] ldr x9, [sp, #8] mov w8, #50000 str w8, [x9, #4] ldr x9, [sp, #8] mov w8, #14318 str w8, [x9, #8] ldr x9, [sp, #8] mov w8, #257 movk w8, #3, lsl #16 str w8, [x9] add sp, sp, #16 ret .cfi_endproc ; -- End function .no_dead_strip _default_pins1 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function default_pins1 _default_pins1: ## @default_pins1 .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 $220000, 12(%rax) ## imm = 0x35B60 movq -8(%rbp), %rax movl $50000, 4(%rax) ## imm = 0xC350 movq -8(%rbp), %rax movl $14318, 8(%rax) ## imm = 0x37EE movq -8(%rbp), %rax movl $196865, (%rax) ## imm = 0x30101 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _default_pins1 .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/video/matrox/extr_matroxfb_misc.c_default_pins1.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function _dictKeyIndex __dictKeyIndex: ; @_dictKeyIndex .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] bl __dictExpandIfNeeded adrp x8, _DICT_ERR@GOTPAGE ldr x8, [x8, _DICT_ERR@GOTPAGEOFF] ldr x8, [x8] subs x8, x0, x8 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: mov w8, #-1 stur w8, [x29, #-4] b LBB0_14 LBB0_2: ldur x0, [x29, #-16] ldr x1, [sp, #24] bl _dictHashKey str w0, [sp, #20] str wzr, [sp, #12] b LBB0_3 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_5 Depth 2 ldr w8, [sp, #12] subs w8, w8, #1 cset w8, hi tbnz w8, #0, LBB0_13 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [sp, #20] ldur x9, [x29, #-16] ldr x9, [x9] ldr w10, [sp, #12] ; kill: def $x10 killed $w10 lsl x10, x10, #4 ldr w9, [x9, x10] and w8, w8, w9 str w8, [sp, #16] ldur x8, [x29, #-16] ldr x8, [x8] ldr w9, [sp, #12] ; kill: def $x9 killed $w9 add x8, x8, x9, lsl #4 ldr x8, [x8, #8] ldr w9, [sp, #16] ; kill: def $x9 killed $w9 ldr x8, [x8, x9, lsl #3] str x8, [sp] b LBB0_5 LBB0_5: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x8, [sp] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_9 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_5 Depth=2 ldur x0, [x29, #-16] ldr x1, [sp, #24] ldr x8, [sp] ldr w2, [x8, #8] bl _dictCompareKeys subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: mov w8, #-1 stur w8, [x29, #-4] b LBB0_14 LBB0_8: ; in Loop: Header=BB0_5 Depth=2 ldr x8, [sp] ldr x8, [x8] str x8, [sp] b LBB0_5 LBB0_9: ; in Loop: Header=BB0_3 Depth=1 ldur x0, [x29, #-16] bl _dictIsRehashing subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_11 b LBB0_10 LBB0_10: b LBB0_13 LBB0_11: ; in Loop: Header=BB0_3 Depth=1 b LBB0_12 LBB0_12: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB0_3 LBB0_13: ldr w8, [sp, #16] stur w8, [x29, #-4] b LBB0_14 LBB0_14: ldur w0, [x29, #-4] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _DICT_ERR,8,3 ; @DICT_ERR .no_dead_strip __dictKeyIndex .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function _dictKeyIndex __dictKeyIndex: ## @_dictKeyIndex .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 callq __dictExpandIfNeeded movq _DICT_ERR@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_2 ## %bb.1: movl $-1, -4(%rbp) jmp LBB0_14 LBB0_2: movq -16(%rbp), %rdi movq -24(%rbp), %rsi callq _dictHashKey movl %eax, -28(%rbp) movl $0, -36(%rbp) LBB0_3: ## =>This Loop Header: Depth=1 ## Child Loop BB0_5 Depth 2 cmpl $1, -36(%rbp) ja LBB0_13 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movl -28(%rbp), %eax movq -16(%rbp), %rcx movq (%rcx), %rcx movl -36(%rbp), %edx ## kill: def $rdx killed $edx shlq $4, %rdx addq %rdx, %rcx andl (%rcx), %eax movl %eax, -32(%rbp) movq -16(%rbp), %rax movq (%rax), %rax movl -36(%rbp), %ecx ## kill: def $rcx killed $ecx shlq $4, %rcx addq %rcx, %rax movq 8(%rax), %rax movl -32(%rbp), %ecx ## kill: def $rcx killed $ecx movq (%rax,%rcx,8), %rax movq %rax, -48(%rbp) LBB0_5: ## Parent Loop BB0_3 Depth=1 ## => This Inner Loop Header: Depth=2 cmpq $0, -48(%rbp) je LBB0_9 ## %bb.6: ## in Loop: Header=BB0_5 Depth=2 movq -16(%rbp), %rdi movq -24(%rbp), %rsi movq -48(%rbp), %rax movl 8(%rax), %edx callq _dictCompareKeys cmpq $0, %rax je LBB0_8 ## %bb.7: movl $-1, -4(%rbp) jmp LBB0_14 LBB0_8: ## in Loop: Header=BB0_5 Depth=2 movq -48(%rbp), %rax movq (%rax), %rax movq %rax, -48(%rbp) jmp LBB0_5 LBB0_9: ## in Loop: Header=BB0_3 Depth=1 movq -16(%rbp), %rdi callq _dictIsRehashing cmpl $0, %eax jne LBB0_11 ## %bb.10: jmp LBB0_13 LBB0_11: ## in Loop: Header=BB0_3 Depth=1 jmp LBB0_12 LBB0_12: ## in Loop: Header=BB0_3 Depth=1 movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) jmp LBB0_3 LBB0_13: movl -32(%rbp), %eax movl %eax, -4(%rbp) LBB0_14: movl -4(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _DICT_ERR,8,3 ## @DICT_ERR .no_dead_strip __dictKeyIndex .subsections_via_symbols
AnghaBench/disque/src/extr_dict.c__dictKeyIndex.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function blkcipher_walk_next _blkcipher_walk_next: ; @blkcipher_walk_next .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, _BLKCIPHER_WALK_COPY@GOTPAGE ldr x8, [x8, _BLKCIPHER_WALK_COPY@GOTPAGEOFF] str x8, [sp] ; 8-byte Folded Spill stur x0, [x29, #-16] stur x1, [x29, #-24] ldur x8, [x29, #-16] ldr x8, [x8, #8] str x8, [sp, #32] ldr x0, [sp, #32] bl _crypto_blkcipher_alignmask str w0, [sp, #28] ldur x8, [x29, #-24] ldr w8, [x8] str w8, [sp, #20] ldr w8, [sp, #20] str w8, [sp, #12] ; 4-byte Folded Spill ldr x0, [sp, #32] bl _crypto_blkcipher_blocksize ldr w8, [sp, #12] ; 4-byte Folded Reload subs w8, w8, w0 cset w8, lo and w0, w8, #0x1 bl _unlikely subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _CRYPTO_TFM_RES_BAD_BLOCK_LEN@GOTPAGE ldr x8, [x8, _CRYPTO_TFM_RES_BAD_BLOCK_LEN@GOTPAGEOFF] ldr w10, [x8] ldur x9, [x29, #-16] ldr w8, [x9] orr w8, w8, w10 str w8, [x9] ldur x0, [x29, #-16] ldur x1, [x29, #-24] adrp x8, _EINVAL@GOTPAGE ldr x8, [x8, _EINVAL@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w2, w8, w9 bl _blkcipher_walk_done stur w0, [x29, #-4] b LBB0_17 LBB0_2: ldr x9, [sp] ; 8-byte Folded Reload adrp x8, _BLKCIPHER_WALK_SLOW@GOTPAGE ldr x8, [x8, _BLKCIPHER_WALK_SLOW@GOTPAGEOFF] ldr w8, [x8] ldr w9, [x9] orr w8, w8, w9 adrp x9, _BLKCIPHER_WALK_DIFF@GOTPAGE ldr x9, [x9, _BLKCIPHER_WALK_DIFF@GOTPAGEOFF] ldr w9, [x9] orr w10, w8, w9 ldur x9, [x29, #-24] ldr w8, [x9, #4] bic w8, w8, w10 str w8, [x9, #4] ldur x8, [x29, #-24] add x0, x8, #68 ldr w1, [sp, #28] bl _scatterwalk_aligned subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldur x8, [x29, #-24] add x0, x8, #64 ldr w1, [sp, #28] bl _scatterwalk_aligned subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_9 b LBB0_4 LBB0_4: ldr x8, [sp] ; 8-byte Folded Reload ldr w10, [x8] ldur x9, [x29, #-24] ldr w8, [x9, #4] orr w8, w8, w10 str w8, [x9, #4] ldur x8, [x29, #-24] ldr x8, [x8, #80] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_8 b LBB0_5 LBB0_5: adrp x8, _GFP_ATOMIC@GOTPAGE ldr x8, [x8, _GFP_ATOMIC@GOTPAGEOFF] ldr w0, [x8] bl ___get_free_page ldur x8, [x29, #-24] str x0, [x8, #80] ldur x8, [x29, #-24] ldr x8, [x8, #80] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: str wzr, [sp, #20] b LBB0_7 LBB0_7: b LBB0_8 LBB0_8: b LBB0_9 LBB0_9: ldur x8, [x29, #-24] ldr w0, [x8, #72] ldr w1, [sp, #20] bl _min str w0, [sp, #24] ldur x8, [x29, #-24] add x0, x8, #68 ldr w1, [sp, #20] bl _scatterwalk_clamp str w0, [sp, #20] ldur x8, [x29, #-24] add x0, x8, #64 ldr w1, [sp, #20] bl _scatterwalk_clamp str w0, [sp, #20] ldr w8, [sp, #20] ldr w9, [sp, #24] subs w8, w8, w9 cset w8, lo and w0, w8, #0x1 bl _unlikely subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_11 b LBB0_10 LBB0_10: ldur x0, [x29, #-16] ldur x1, [x29, #-24] ldr w2, [sp, #24] ldr w3, [sp, #28] bl _blkcipher_next_slow str w0, [sp, #16] b LBB0_14 LBB0_11: ldr x9, [sp] ; 8-byte Folded Reload ldr w8, [sp, #20] ldur x10, [x29, #-24] str w8, [x10, #8] ldur x8, [x29, #-24] ldr w8, [x8, #4] ldr w9, [x9] ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_13 b LBB0_12 LBB0_12: ldur x0, [x29, #-24] bl _blkcipher_next_copy str w0, [sp, #16] b LBB0_14 LBB0_13: ldur x0, [x29, #-16] ldur x1, [x29, #-24] bl _blkcipher_next_fast stur w0, [x29, #-4] b LBB0_17 LBB0_14: ldur x8, [x29, #-24] ldr w8, [x8, #4] adrp x9, _BLKCIPHER_WALK_PHYS@GOTPAGE ldr x9, [x9, _BLKCIPHER_WALK_PHYS@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_16 b LBB0_15 LBB0_15: ldur x8, [x29, #-24] ldr w0, [x8, #56] bl _virt_to_page ldur x8, [x29, #-24] str x0, [x8, #48] ldur x8, [x29, #-24] ldr w0, [x8, #32] bl _virt_to_page ldur x8, [x29, #-24] str x0, [x8, #24] adrp x8, _PAGE_SIZE@GOTPAGE ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF] ldr w9, [x8] subs w11, w9, #1 ldur x10, [x29, #-24] ldr w9, [x10, #40] and w9, w9, w11 str w9, [x10, #40] ldr w8, [x8] subs w10, w8, #1 ldur x9, [x29, #-24] ldr w8, [x9, #16] and w8, w8, w10 str w8, [x9, #16] b LBB0_16 LBB0_16: ldr w8, [sp, #16] stur w8, [x29, #-4] b LBB0_17 LBB0_17: ldur w0, [x29, #-4] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _CRYPTO_TFM_RES_BAD_BLOCK_LEN,4,2 ; @CRYPTO_TFM_RES_BAD_BLOCK_LEN .comm _EINVAL,4,2 ; @EINVAL .comm _BLKCIPHER_WALK_SLOW,4,2 ; @BLKCIPHER_WALK_SLOW .comm _BLKCIPHER_WALK_COPY,4,2 ; @BLKCIPHER_WALK_COPY .comm _BLKCIPHER_WALK_DIFF,4,2 ; @BLKCIPHER_WALK_DIFF .comm _GFP_ATOMIC,4,2 ; @GFP_ATOMIC .comm _BLKCIPHER_WALK_PHYS,4,2 ; @BLKCIPHER_WALK_PHYS .comm _PAGE_SIZE,4,2 ; @PAGE_SIZE .no_dead_strip _blkcipher_walk_next .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function blkcipher_walk_next _blkcipher_walk_next: ## @blkcipher_walk_next .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 movq 8(%rax), %rax movq %rax, -32(%rbp) movq -32(%rbp), %rdi callq _crypto_blkcipher_alignmask movl %eax, -36(%rbp) movq -24(%rbp), %rax movl (%rax), %eax movl %eax, -44(%rbp) movl -44(%rbp), %eax movl %eax, -52(%rbp) ## 4-byte Spill movq -32(%rbp), %rdi callq _crypto_blkcipher_blocksize movl %eax, %ecx movl -52(%rbp), %eax ## 4-byte Reload cmpl %ecx, %eax setb %al andb $1, %al movzbl %al, %edi callq _unlikely cmpq $0, %rax je LBB0_2 ## %bb.1: movq _CRYPTO_TFM_RES_BAD_BLOCK_LEN@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -16(%rbp), %rax orl (%rax), %ecx movl %ecx, (%rax) movq -16(%rbp), %rdi movq -24(%rbp), %rsi xorl %edx, %edx movq _EINVAL@GOTPCREL(%rip), %rax subl (%rax), %edx callq _blkcipher_walk_done movl %eax, -4(%rbp) jmp LBB0_17 LBB0_2: movq _BLKCIPHER_WALK_SLOW@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _BLKCIPHER_WALK_COPY@GOTPCREL(%rip), %rax orl (%rax), %ecx movq _BLKCIPHER_WALK_DIFF@GOTPCREL(%rip), %rax orl (%rax), %ecx xorl $-1, %ecx movq -24(%rbp), %rax andl 4(%rax), %ecx movl %ecx, 4(%rax) movq -24(%rbp), %rdi addq $68, %rdi movl -36(%rbp), %esi callq _scatterwalk_aligned cmpl $0, %eax je LBB0_4 ## %bb.3: movq -24(%rbp), %rdi addq $64, %rdi movl -36(%rbp), %esi callq _scatterwalk_aligned cmpl $0, %eax jne LBB0_9 LBB0_4: movq _BLKCIPHER_WALK_COPY@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -24(%rbp), %rax orl 4(%rax), %ecx movl %ecx, 4(%rax) movq -24(%rbp), %rax cmpq $0, 80(%rax) jne LBB0_8 ## %bb.5: movq _GFP_ATOMIC@GOTPCREL(%rip), %rax movl (%rax), %edi callq ___get_free_page movq %rax, %rcx movq -24(%rbp), %rax movq %rcx, 80(%rax) movq -24(%rbp), %rax cmpq $0, 80(%rax) jne LBB0_7 ## %bb.6: movl $0, -44(%rbp) LBB0_7: jmp LBB0_8 LBB0_8: jmp LBB0_9 LBB0_9: movq -24(%rbp), %rax movl 72(%rax), %edi movl -44(%rbp), %esi callq _min movl %eax, -40(%rbp) movq -24(%rbp), %rdi addq $68, %rdi movl -44(%rbp), %esi callq _scatterwalk_clamp movl %eax, -44(%rbp) movq -24(%rbp), %rdi addq $64, %rdi movl -44(%rbp), %esi callq _scatterwalk_clamp movl %eax, -44(%rbp) movl -44(%rbp), %eax cmpl -40(%rbp), %eax setb %al andb $1, %al movzbl %al, %edi callq _unlikely cmpq $0, %rax je LBB0_11 ## %bb.10: movq -16(%rbp), %rdi movq -24(%rbp), %rsi movl -40(%rbp), %edx movl -36(%rbp), %ecx callq _blkcipher_next_slow movl %eax, -48(%rbp) jmp LBB0_14 LBB0_11: movl -44(%rbp), %ecx movq -24(%rbp), %rax movl %ecx, 8(%rax) movq -24(%rbp), %rax movl 4(%rax), %eax movq _BLKCIPHER_WALK_COPY@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax je LBB0_13 ## %bb.12: movq -24(%rbp), %rdi callq _blkcipher_next_copy movl %eax, -48(%rbp) jmp LBB0_14 LBB0_13: movq -16(%rbp), %rdi movq -24(%rbp), %rsi callq _blkcipher_next_fast movl %eax, -4(%rbp) jmp LBB0_17 LBB0_14: movq -24(%rbp), %rax movl 4(%rax), %eax movq _BLKCIPHER_WALK_PHYS@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax je LBB0_16 ## %bb.15: movq -24(%rbp), %rax movl 56(%rax), %edi callq _virt_to_page movq %rax, %rcx movq -24(%rbp), %rax movq %rcx, 48(%rax) movq -24(%rbp), %rax movl 32(%rax), %edi callq _virt_to_page movq %rax, %rcx movq -24(%rbp), %rax movq %rcx, 24(%rax) movq _PAGE_SIZE@GOTPCREL(%rip), %rax movl (%rax), %ecx subl $1, %ecx movq -24(%rbp), %rax andl 40(%rax), %ecx movl %ecx, 40(%rax) movq _PAGE_SIZE@GOTPCREL(%rip), %rax movl (%rax), %ecx subl $1, %ecx movq -24(%rbp), %rax andl 16(%rax), %ecx movl %ecx, 16(%rax) LBB0_16: movl -48(%rbp), %eax movl %eax, -4(%rbp) LBB0_17: movl -4(%rbp), %eax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _CRYPTO_TFM_RES_BAD_BLOCK_LEN,4,2 ## @CRYPTO_TFM_RES_BAD_BLOCK_LEN .comm _EINVAL,4,2 ## @EINVAL .comm _BLKCIPHER_WALK_SLOW,4,2 ## @BLKCIPHER_WALK_SLOW .comm _BLKCIPHER_WALK_COPY,4,2 ## @BLKCIPHER_WALK_COPY .comm _BLKCIPHER_WALK_DIFF,4,2 ## @BLKCIPHER_WALK_DIFF .comm _GFP_ATOMIC,4,2 ## @GFP_ATOMIC .comm _BLKCIPHER_WALK_PHYS,4,2 ## @BLKCIPHER_WALK_PHYS .comm _PAGE_SIZE,4,2 ## @PAGE_SIZE .no_dead_strip _blkcipher_walk_next .subsections_via_symbols
AnghaBench/fastsocket/kernel/crypto/extr_blkcipher.c_blkcipher_walk_next.c