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
.p2align 2 ; -- Begin function usb_amd_quirk_pll
_usb_amd_quirk_pll: ; @usb_amd_quirk_pll
.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
mov x8, x0
adrp x0, _amd_lock@GOTPAGE
ldr x0, [x0, _amd_lock@GOTPAGEOFF]
str x0, [sp, #48] ; 8-byte Folded Spill
adrp x9, _amd_chipset@GOTPAGE
ldr x9, [x9, _amd_chipset@GOTPAGEOFF]
str x9, [sp, #56] ; 8-byte Folded Spill
adrp x9, _NB_PCIE_INDX_ADDR@GOTPAGE
ldr x9, [x9, _NB_PCIE_INDX_ADDR@GOTPAGEOFF]
stur x9, [x29, #-48] ; 8-byte Folded Spill
adrp x9, _NB_PCIE_INDX_DATA@GOTPAGE
ldr x9, [x9, _NB_PCIE_INDX_DATA@GOTPAGEOFF]
stur x9, [x29, #-40] ; 8-byte Folded Spill
stur w8, [x29, #-4]
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, ne
and w8, w8, #0x1
ands w8, w8, #0x1
cset w8, eq
stur w8, [x29, #-24]
ldur x1, [x29, #-32]
bl _spin_lock_irqsave
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_1
LBB0_1:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr w9, [x8]
add w9, w9, #1
str w9, [x8]
ldr w8, [x8]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
ldr x0, [sp, #48] ; 8-byte Folded Reload
ldur x1, [x29, #-32]
bl _spin_unlock_irqrestore
b LBB0_34
LBB0_3:
b LBB0_7
LBB0_4:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr w9, [x8]
subs w9, w9, #1
str w9, [x8]
ldr w8, [x8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
ldr x0, [sp, #48] ; 8-byte Folded Reload
ldur x1, [x29, #-32]
bl _spin_unlock_irqrestore
b LBB0_34
LBB0_6:
b LBB0_7
LBB0_7:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x8, [x8, #16]
adrp x9, _AMD_CHIPSET_SB800@GOTPAGE
ldr x9, [x9, _AMD_CHIPSET_SB800@GOTPAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_8
LBB0_8:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x8, [x8, #16]
adrp x9, _AMD_CHIPSET_HUDSON2@GOTPAGE
ldr x9, [x9, _AMD_CHIPSET_HUDSON2@GOTPAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x8, [x8, #16]
adrp x9, _AMD_CHIPSET_BOLTON@GOTPAGE
ldr x9, [x9, _AMD_CHIPSET_BOLTON@GOTPAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
adrp x8, _AB_REG_BAR_LOW@GOTPAGE
ldr x8, [x8, _AB_REG_BAR_LOW@GOTPAGEOFF]
ldr w0, [x8]
mov w1, #3286
str w1, [sp, #40] ; 4-byte Folded Spill
bl _outb_p
mov w0, #3287
str w0, [sp, #44] ; 4-byte Folded Spill
bl _inb_p
ldr w1, [sp, #40] ; 4-byte Folded Reload
stur w0, [x29, #-12]
adrp x8, _AB_REG_BAR_HIGH@GOTPAGE
ldr x8, [x8, _AB_REG_BAR_HIGH@GOTPAGEOFF]
ldr w0, [x8]
bl _outb_p
ldr w0, [sp, #44] ; 4-byte Folded Reload
bl _inb_p
stur w0, [x29, #-16]
ldur w9, [x29, #-16]
ldur w8, [x29, #-12]
orr w8, w8, w9, lsl #8
stur w8, [x29, #-8]
ldur w0, [x29, #-8]
bl _AB_INDX
mov x1, x0
mov w0, #48
bl _outl_p
ldur w0, [x29, #-8]
bl _AB_DATA
mov x1, x0
mov w0, #64
bl _outl_p
ldur w0, [x29, #-8]
bl _AB_INDX
mov x1, x0
mov w0, #52
bl _outl_p
ldur w0, [x29, #-8]
bl _AB_DATA
bl _inl_p
stur w0, [x29, #-20]
b LBB0_16
LBB0_11:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x8, [x8, #16]
adrp x9, _AMD_CHIPSET_SB700@GOTPAGE
ldr x9, [x9, _AMD_CHIPSET_SB700@GOTPAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_14
b LBB0_12
LBB0_12:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr w8, [x8, #24]
subs w8, w8, #59
cset w8, gt
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr w0, [x8, #12]
adrp x8, _AB_REG_BAR_SB700@GOTPAGE
ldr x8, [x8, _AB_REG_BAR_SB700@GOTPAGEOFF]
ldr w1, [x8]
sub x2, x29, #8
bl _pci_read_config_dword
adrp x8, _AX_INDXC@GOTPAGE
ldr x8, [x8, _AX_INDXC@GOTPAGEOFF]
ldr w8, [x8]
str w8, [sp, #32] ; 4-byte Folded Spill
ldur w0, [x29, #-8]
bl _AB_INDX
mov x1, x0
ldr w0, [sp, #32] ; 4-byte Folded Reload
bl _outl
ldur w0, [x29, #-8]
bl _AB_DATA
mov x1, x0
mov w0, #64
bl _outl
adrp x8, _AX_DATAC@GOTPAGE
ldr x8, [x8, _AX_DATAC@GOTPAGEOFF]
ldr w8, [x8]
str w8, [sp, #36] ; 4-byte Folded Spill
ldur w0, [x29, #-8]
bl _AB_INDX
mov x1, x0
ldr w0, [sp, #36] ; 4-byte Folded Reload
bl _outl
ldur w0, [x29, #-8]
bl _AB_DATA
bl _inl
stur w0, [x29, #-20]
b LBB0_15
LBB0_14:
ldr x0, [sp, #48] ; 8-byte Folded Reload
ldur x1, [x29, #-32]
bl _spin_unlock_irqrestore
b LBB0_34
LBB0_15:
b LBB0_16
LBB0_16:
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17:
ldur w8, [x29, #-20]
and w8, w8, #0xfffffff7
stur w8, [x29, #-20]
ldur w8, [x29, #-20]
mov w9, #528
orr w8, w8, w9
stur w8, [x29, #-20]
b LBB0_19
LBB0_18:
ldur w8, [x29, #-20]
orr w8, w8, #0x8
stur w8, [x29, #-20]
ldur w8, [x29, #-20]
mov w9, #-529
and w8, w8, w9
stur w8, [x29, #-20]
b LBB0_19
LBB0_19:
ldur w8, [x29, #-20]
str w8, [sp, #28] ; 4-byte Folded Spill
ldur w0, [x29, #-8]
bl _AB_DATA
mov x1, x0
ldr w0, [sp, #28] ; 4-byte Folded Reload
bl _outl_p
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr w8, [x8, #8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_21
b LBB0_20
LBB0_20:
ldr x0, [sp, #48] ; 8-byte Folded Reload
ldur x1, [x29, #-32]
bl _spin_unlock_irqrestore
b LBB0_34
LBB0_21:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr w8, [x8, #4]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_23
b LBB0_22
LBB0_22:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr w8, [x8, #4]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB0_24
b LBB0_23
LBB0_23:
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldur x8, [x29, #-48] ; 8-byte Folded Reload
adrp x10, _PCIE_P_CNTL@GOTPAGE
ldr x10, [x10, _PCIE_P_CNTL@GOTPAGEOFF]
ldr w10, [x10]
stur w10, [x29, #-8]
ldr w0, [x9, #8]
ldr w1, [x8]
ldur w2, [x29, #-8]
bl _pci_write_config_dword
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldr w0, [x9, #8]
ldr w1, [x8]
sub x2, x29, #20
str x2, [sp, #16] ; 8-byte Folded Spill
bl _pci_read_config_dword
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldur w10, [x29, #-20]
mov w11, #-4634
and w10, w10, w11
stur w10, [x29, #-20]
ldur w10, [x29, #-24]
ldur w11, [x29, #-24]
orr w10, w10, w11, lsl #3
ldur w11, [x29, #-24]
orr w11, w10, w11, lsl #12
ldur w10, [x29, #-20]
orr w10, w10, w11
stur w10, [x29, #-20]
ldur w10, [x29, #-24]
subs w10, w10, #0
cset w10, eq
and w11, w10, #0x1
ldur w10, [x29, #-24]
subs w10, w10, #0
cset w10, eq
and w10, w10, #0x1
lsl w10, w10, #9
orr w11, w10, w11, lsl #4
ldur w10, [x29, #-20]
orr w10, w10, w11
stur w10, [x29, #-20]
ldr w0, [x9, #8]
ldr w1, [x8]
ldur w2, [x29, #-20]
bl _pci_write_config_dword
ldur x8, [x29, #-48] ; 8-byte Folded Reload
ldr x9, [sp, #56] ; 8-byte Folded Reload
adrp x10, _BIF_NB@GOTPAGE
ldr x10, [x10, _BIF_NB@GOTPAGEOFF]
ldr w10, [x10]
stur w10, [x29, #-8]
ldr w0, [x9, #8]
ldr w1, [x8]
ldur w2, [x29, #-8]
bl _pci_write_config_dword
ldr x2, [sp, #16] ; 8-byte Folded Reload
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldr w0, [x9, #8]
ldr w1, [x8]
bl _pci_read_config_dword
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldur w10, [x29, #-20]
and w10, w10, #0xfffffeff
stur w10, [x29, #-20]
ldur w11, [x29, #-24]
ldur w10, [x29, #-20]
orr w10, w10, w11, lsl #8
stur w10, [x29, #-20]
ldr w0, [x9, #8]
ldr w1, [x8]
ldur w2, [x29, #-20]
bl _pci_write_config_dword
b LBB0_33
LBB0_24:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr w8, [x8, #4]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_32
b LBB0_25
LBB0_25:
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldur x8, [x29, #-48] ; 8-byte Folded Reload
adrp x10, _NB_PIF0_PWRDOWN_0@GOTPAGE
ldr x10, [x10, _NB_PIF0_PWRDOWN_0@GOTPAGEOFF]
ldr w10, [x10]
stur w10, [x29, #-8]
ldr w0, [x9, #8]
ldr w1, [x8]
ldur w2, [x29, #-8]
bl _pci_write_config_dword
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldr w0, [x9, #8]
ldr w1, [x8]
sub x2, x29, #20
bl _pci_read_config_dword
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_27
b LBB0_26
LBB0_26:
ldur w8, [x29, #-20]
and w8, w8, #0xffffe07f
stur w8, [x29, #-20]
b LBB0_28
LBB0_27:
ldur w8, [x29, #-20]
orr w8, w8, #0x1f80
stur w8, [x29, #-20]
b LBB0_28
LBB0_28:
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldr w0, [x9, #8]
ldr w1, [x8]
sub x8, x29, #20
str x8, [sp, #8] ; 8-byte Folded Spill
ldur w2, [x29, #-20]
bl _pci_write_config_dword
ldur x8, [x29, #-48] ; 8-byte Folded Reload
ldr x9, [sp, #56] ; 8-byte Folded Reload
adrp x10, _NB_PIF0_PWRDOWN_1@GOTPAGE
ldr x10, [x10, _NB_PIF0_PWRDOWN_1@GOTPAGEOFF]
ldr w10, [x10]
stur w10, [x29, #-8]
ldr w0, [x9, #8]
ldr w1, [x8]
ldur w2, [x29, #-8]
bl _pci_write_config_dword
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldr x2, [sp, #8] ; 8-byte Folded Reload
ldr w0, [x9, #8]
ldr w1, [x8]
bl _pci_read_config_dword
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_30
b LBB0_29
LBB0_29:
ldur w8, [x29, #-20]
and w8, w8, #0xffffe07f
stur w8, [x29, #-20]
b LBB0_31
LBB0_30:
ldur w8, [x29, #-20]
orr w8, w8, #0x1f80
stur w8, [x29, #-20]
b LBB0_31
LBB0_31:
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldr w0, [x9, #8]
ldr w1, [x8]
ldur w2, [x29, #-20]
bl _pci_write_config_dword
b LBB0_32
LBB0_32:
b LBB0_33
LBB0_33:
ldr x0, [sp, #48] ; 8-byte Folded Reload
ldur x1, [x29, #-32]
bl _spin_unlock_irqrestore
b LBB0_34
LBB0_34:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.comm _amd_lock,4,2 ; @amd_lock
.comm _amd_chipset,32,3 ; @amd_chipset
.comm _AMD_CHIPSET_SB800,8,3 ; @AMD_CHIPSET_SB800
.comm _AMD_CHIPSET_HUDSON2,8,3 ; @AMD_CHIPSET_HUDSON2
.comm _AMD_CHIPSET_BOLTON,8,3 ; @AMD_CHIPSET_BOLTON
.comm _AB_REG_BAR_LOW,4,2 ; @AB_REG_BAR_LOW
.comm _AB_REG_BAR_HIGH,4,2 ; @AB_REG_BAR_HIGH
.comm _AMD_CHIPSET_SB700,8,3 ; @AMD_CHIPSET_SB700
.comm _AB_REG_BAR_SB700,4,2 ; @AB_REG_BAR_SB700
.comm _AX_INDXC,4,2 ; @AX_INDXC
.comm _AX_DATAC,4,2 ; @AX_DATAC
.comm _PCIE_P_CNTL,4,2 ; @PCIE_P_CNTL
.comm _NB_PCIE_INDX_ADDR,4,2 ; @NB_PCIE_INDX_ADDR
.comm _NB_PCIE_INDX_DATA,4,2 ; @NB_PCIE_INDX_DATA
.comm _BIF_NB,4,2 ; @BIF_NB
.comm _NB_PIF0_PWRDOWN_0,4,2 ; @NB_PIF0_PWRDOWN_0
.comm _NB_PIF0_PWRDOWN_1,4,2 ; @NB_PIF0_PWRDOWN_1
.no_dead_strip _usb_amd_quirk_pll
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function usb_amd_quirk_pll
_usb_amd_quirk_pll: ## @usb_amd_quirk_pll
.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, -4(%rbp)
movl -4(%rbp), %edx
movl $1, %eax
xorl %ecx, %ecx
cmpl $0, %edx
cmovnel %ecx, %eax
movl %eax, -24(%rbp)
movq -32(%rbp), %rsi
movq _amd_lock@GOTPCREL(%rip), %rdi
callq _spin_lock_irqsave
cmpl $0, -4(%rbp)
je LBB0_4
## %bb.1:
movq _amd_chipset@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _amd_chipset@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _amd_chipset@GOTPCREL(%rip), %rax
cmpl $1, (%rax)
jle LBB0_3
## %bb.2:
movq -32(%rbp), %rsi
movq _amd_lock@GOTPCREL(%rip), %rdi
callq _spin_unlock_irqrestore
jmp LBB0_34
LBB0_3:
jmp LBB0_7
LBB0_4:
movq _amd_chipset@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $-1, %ecx
movq _amd_chipset@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _amd_chipset@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_6
## %bb.5:
movq -32(%rbp), %rsi
movq _amd_lock@GOTPCREL(%rip), %rdi
callq _spin_unlock_irqrestore
jmp LBB0_34
LBB0_6:
jmp LBB0_7
LBB0_7:
movq _amd_chipset@GOTPCREL(%rip), %rax
movq 16(%rax), %rax
movq _AMD_CHIPSET_SB800@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_10
## %bb.8:
movq _amd_chipset@GOTPCREL(%rip), %rax
movq 16(%rax), %rax
movq _AMD_CHIPSET_HUDSON2@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_10
## %bb.9:
movq _amd_chipset@GOTPCREL(%rip), %rax
movq 16(%rax), %rax
movq _AMD_CHIPSET_BOLTON@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_11
LBB0_10:
movq _AB_REG_BAR_LOW@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $3286, %esi ## imm = 0xCD6
callq _outb_p
movl $3287, %edi ## imm = 0xCD7
callq _inb_p
movl %eax, -12(%rbp)
movq _AB_REG_BAR_HIGH@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $3286, %esi ## imm = 0xCD6
callq _outb_p
movl $3287, %edi ## imm = 0xCD7
callq _inb_p
movl %eax, -16(%rbp)
movl -16(%rbp), %eax
shll $8, %eax
orl -12(%rbp), %eax
movl %eax, -8(%rbp)
movl -8(%rbp), %edi
callq _AB_INDX
movl %eax, %esi
movl $48, %edi
callq _outl_p
movl -8(%rbp), %edi
callq _AB_DATA
movl %eax, %esi
movl $64, %edi
callq _outl_p
movl -8(%rbp), %edi
callq _AB_INDX
movl %eax, %esi
movl $52, %edi
callq _outl_p
movl -8(%rbp), %edi
callq _AB_DATA
movl %eax, %edi
callq _inl_p
movl %eax, -20(%rbp)
jmp LBB0_16
LBB0_11:
movq _amd_chipset@GOTPCREL(%rip), %rax
movq 16(%rax), %rax
movq _AMD_CHIPSET_SB700@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_14
## %bb.12:
movq _amd_chipset@GOTPCREL(%rip), %rax
cmpl $59, 24(%rax)
jg LBB0_14
## %bb.13:
movq _amd_chipset@GOTPCREL(%rip), %rax
movl 12(%rax), %edi
movq _AB_REG_BAR_SB700@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -8(%rbp), %rdx
callq _pci_read_config_dword
movq _AX_INDXC@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -40(%rbp) ## 4-byte Spill
movl -8(%rbp), %edi
callq _AB_INDX
movl -40(%rbp), %edi ## 4-byte Reload
movl %eax, %esi
callq _outl
movl -8(%rbp), %edi
callq _AB_DATA
movl %eax, %esi
movl $64, %edi
callq _outl
movq _AX_DATAC@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -36(%rbp) ## 4-byte Spill
movl -8(%rbp), %edi
callq _AB_INDX
movl -36(%rbp), %edi ## 4-byte Reload
movl %eax, %esi
callq _outl
movl -8(%rbp), %edi
callq _AB_DATA
movl %eax, %edi
callq _inl
movl %eax, -20(%rbp)
jmp LBB0_15
LBB0_14:
movq -32(%rbp), %rsi
movq _amd_lock@GOTPCREL(%rip), %rdi
callq _spin_unlock_irqrestore
jmp LBB0_34
LBB0_15:
jmp LBB0_16
LBB0_16:
cmpl $0, -4(%rbp)
je LBB0_18
## %bb.17:
movl -20(%rbp), %eax
andl $-9, %eax
movl %eax, -20(%rbp)
movl -20(%rbp), %eax
orl $528, %eax ## imm = 0x210
movl %eax, -20(%rbp)
jmp LBB0_19
LBB0_18:
movl -20(%rbp), %eax
orl $8, %eax
movl %eax, -20(%rbp)
movl -20(%rbp), %eax
andl $-529, %eax ## imm = 0xFDEF
movl %eax, -20(%rbp)
LBB0_19:
movl -20(%rbp), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
movl -8(%rbp), %edi
callq _AB_DATA
movl -44(%rbp), %edi ## 4-byte Reload
movl %eax, %esi
callq _outl_p
movq _amd_chipset@GOTPCREL(%rip), %rax
cmpl $0, 8(%rax)
jne LBB0_21
## %bb.20:
movq -32(%rbp), %rsi
movq _amd_lock@GOTPCREL(%rip), %rdi
callq _spin_unlock_irqrestore
jmp LBB0_34
LBB0_21:
movq _amd_chipset@GOTPCREL(%rip), %rax
cmpl $1, 4(%rax)
je LBB0_23
## %bb.22:
movq _amd_chipset@GOTPCREL(%rip), %rax
cmpl $3, 4(%rax)
jne LBB0_24
LBB0_23:
movq _PCIE_P_CNTL@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -8(%rbp)
movq _amd_chipset@GOTPCREL(%rip), %rax
movl 8(%rax), %edi
movq _NB_PCIE_INDX_ADDR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl -8(%rbp), %edx
callq _pci_write_config_dword
movq _amd_chipset@GOTPCREL(%rip), %rax
movl 8(%rax), %edi
movq _NB_PCIE_INDX_DATA@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -20(%rbp), %rdx
callq _pci_read_config_dword
movl -20(%rbp), %eax
andl $-4634, %eax ## imm = 0xEDE6
movl %eax, -20(%rbp)
movl -24(%rbp), %eax
movl -24(%rbp), %ecx
shll $3, %ecx
orl %ecx, %eax
movl -24(%rbp), %ecx
shll $12, %ecx
orl %ecx, %eax
orl -20(%rbp), %eax
movl %eax, -20(%rbp)
cmpl $0, -24(%rbp)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
shll $4, %eax
cmpl $0, -24(%rbp)
setne %cl
xorb $-1, %cl
andb $1, %cl
movzbl %cl, %ecx
shll $9, %ecx
orl %ecx, %eax
orl -20(%rbp), %eax
movl %eax, -20(%rbp)
movq _amd_chipset@GOTPCREL(%rip), %rax
movl 8(%rax), %edi
movq _NB_PCIE_INDX_DATA@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl -20(%rbp), %edx
callq _pci_write_config_dword
movq _BIF_NB@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -8(%rbp)
movq _amd_chipset@GOTPCREL(%rip), %rax
movl 8(%rax), %edi
movq _NB_PCIE_INDX_ADDR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl -8(%rbp), %edx
callq _pci_write_config_dword
movq _amd_chipset@GOTPCREL(%rip), %rax
movl 8(%rax), %edi
movq _NB_PCIE_INDX_DATA@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -20(%rbp), %rdx
callq _pci_read_config_dword
movl -20(%rbp), %eax
andl $-257, %eax ## imm = 0xFEFF
movl %eax, -20(%rbp)
movl -24(%rbp), %eax
shll $8, %eax
orl -20(%rbp), %eax
movl %eax, -20(%rbp)
movq _amd_chipset@GOTPCREL(%rip), %rax
movl 8(%rax), %edi
movq _NB_PCIE_INDX_DATA@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl -20(%rbp), %edx
callq _pci_write_config_dword
jmp LBB0_33
LBB0_24:
movq _amd_chipset@GOTPCREL(%rip), %rax
cmpl $2, 4(%rax)
jne LBB0_32
## %bb.25:
movq _NB_PIF0_PWRDOWN_0@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -8(%rbp)
movq _amd_chipset@GOTPCREL(%rip), %rax
movl 8(%rax), %edi
movq _NB_PCIE_INDX_ADDR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl -8(%rbp), %edx
callq _pci_write_config_dword
movq _amd_chipset@GOTPCREL(%rip), %rax
movl 8(%rax), %edi
movq _NB_PCIE_INDX_DATA@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -20(%rbp), %rdx
callq _pci_read_config_dword
cmpl $0, -4(%rbp)
je LBB0_27
## %bb.26:
movl -20(%rbp), %eax
andl $-8065, %eax ## imm = 0xE07F
movl %eax, -20(%rbp)
jmp LBB0_28
LBB0_27:
movl -20(%rbp), %eax
orl $8064, %eax ## imm = 0x1F80
movl %eax, -20(%rbp)
LBB0_28:
movq _amd_chipset@GOTPCREL(%rip), %rax
movl 8(%rax), %edi
movq _NB_PCIE_INDX_DATA@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl -20(%rbp), %edx
callq _pci_write_config_dword
movq _NB_PIF0_PWRDOWN_1@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -8(%rbp)
movq _amd_chipset@GOTPCREL(%rip), %rax
movl 8(%rax), %edi
movq _NB_PCIE_INDX_ADDR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl -8(%rbp), %edx
callq _pci_write_config_dword
movq _amd_chipset@GOTPCREL(%rip), %rax
movl 8(%rax), %edi
movq _NB_PCIE_INDX_DATA@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -20(%rbp), %rdx
callq _pci_read_config_dword
cmpl $0, -4(%rbp)
je LBB0_30
## %bb.29:
movl -20(%rbp), %eax
andl $-8065, %eax ## imm = 0xE07F
movl %eax, -20(%rbp)
jmp LBB0_31
LBB0_30:
movl -20(%rbp), %eax
orl $8064, %eax ## imm = 0x1F80
movl %eax, -20(%rbp)
LBB0_31:
movq _amd_chipset@GOTPCREL(%rip), %rax
movl 8(%rax), %edi
movq _NB_PCIE_INDX_DATA@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl -20(%rbp), %edx
callq _pci_write_config_dword
LBB0_32:
jmp LBB0_33
LBB0_33:
movq -32(%rbp), %rsi
movq _amd_lock@GOTPCREL(%rip), %rdi
callq _spin_unlock_irqrestore
LBB0_34:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _amd_lock,4,2 ## @amd_lock
.comm _amd_chipset,32,3 ## @amd_chipset
.comm _AMD_CHIPSET_SB800,8,3 ## @AMD_CHIPSET_SB800
.comm _AMD_CHIPSET_HUDSON2,8,3 ## @AMD_CHIPSET_HUDSON2
.comm _AMD_CHIPSET_BOLTON,8,3 ## @AMD_CHIPSET_BOLTON
.comm _AB_REG_BAR_LOW,4,2 ## @AB_REG_BAR_LOW
.comm _AB_REG_BAR_HIGH,4,2 ## @AB_REG_BAR_HIGH
.comm _AMD_CHIPSET_SB700,8,3 ## @AMD_CHIPSET_SB700
.comm _AB_REG_BAR_SB700,4,2 ## @AB_REG_BAR_SB700
.comm _AX_INDXC,4,2 ## @AX_INDXC
.comm _AX_DATAC,4,2 ## @AX_DATAC
.comm _PCIE_P_CNTL,4,2 ## @PCIE_P_CNTL
.comm _NB_PCIE_INDX_ADDR,4,2 ## @NB_PCIE_INDX_ADDR
.comm _NB_PCIE_INDX_DATA,4,2 ## @NB_PCIE_INDX_DATA
.comm _BIF_NB,4,2 ## @BIF_NB
.comm _NB_PIF0_PWRDOWN_0,4,2 ## @NB_PIF0_PWRDOWN_0
.comm _NB_PIF0_PWRDOWN_1,4,2 ## @NB_PIF0_PWRDOWN_1
.no_dead_strip _usb_amd_quirk_pll
.subsections_via_symbols
| AnghaBench/linux/drivers/usb/host/extr_pci-quirks.c_usb_amd_quirk_pll.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function walFramePgno
_walFramePgno: ; @walFramePgno
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str w1, [sp, #12]
ldr w0, [sp, #12]
bl _walFramePage
str w0, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #16]
ldr x8, [x8]
ldr x8, [x8]
adrp x9, _WALINDEX_HDR_SIZE@GOTPAGE
ldr x9, [x9, _WALINDEX_HDR_SIZE@GOTPAGEOFF]
ldrsw x9, [x9]
mov x10, #4
udiv x9, x9, x10
ldrsw x10, [sp, #12]
add x9, x9, x10
subs x9, x9, #1
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-4]
b LBB0_3
LBB0_2:
ldr x8, [sp, #16]
ldr x8, [x8]
ldrsw x9, [sp, #8]
ldr x8, [x8, x9, lsl #3]
ldr w9, [sp, #12]
subs w9, w9, #1
adrp x10, _HASHTABLE_NPAGE_ONE@GOTPAGE
ldr x10, [x10, _HASHTABLE_NPAGE_ONE@GOTPAGEOFF]
ldr w10, [x10]
subs w9, w9, w10
adrp x10, _HASHTABLE_NPAGE@GOTPAGE
ldr x10, [x10, _HASHTABLE_NPAGE@GOTPAGEOFF]
ldr w11, [x10]
sdiv w10, w9, w11
mul w10, w10, w11
subs w9, w9, w10
ldr w8, [x8, w9, sxtw #2]
stur w8, [x29, #-4]
b LBB0_3
LBB0_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.comm _WALINDEX_HDR_SIZE,4,2 ; @WALINDEX_HDR_SIZE
.comm _HASHTABLE_NPAGE_ONE,4,2 ; @HASHTABLE_NPAGE_ONE
.comm _HASHTABLE_NPAGE,4,2 ; @HASHTABLE_NPAGE
.no_dead_strip _walFramePgno
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function walFramePgno
_walFramePgno: ## @walFramePgno
.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 -20(%rbp), %edi
callq _walFramePage
movl %eax, -24(%rbp)
cmpl $0, -24(%rbp)
jne LBB0_2
## %bb.1:
movq -16(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rax
movq _WALINDEX_HDR_SIZE@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
shrq $2, %rcx
movslq -20(%rbp), %rdx
addq %rdx, %rcx
subq $1, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -4(%rbp)
jmp LBB0_3
LBB0_2:
movq -16(%rbp), %rax
movq (%rax), %rax
movslq -24(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -32(%rbp) ## 8-byte Spill
movl -20(%rbp), %eax
subl $1, %eax
movq _HASHTABLE_NPAGE_ONE@GOTPCREL(%rip), %rcx
subl (%rcx), %eax
movq _HASHTABLE_NPAGE@GOTPCREL(%rip), %rcx
cltd
idivl (%rcx)
movq -32(%rbp), %rax ## 8-byte Reload
movslq %edx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -4(%rbp)
LBB0_3:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _WALINDEX_HDR_SIZE,4,2 ## @WALINDEX_HDR_SIZE
.comm _HASHTABLE_NPAGE_ONE,4,2 ## @HASHTABLE_NPAGE_ONE
.comm _HASHTABLE_NPAGE,4,2 ## @HASHTABLE_NPAGE
.no_dead_strip _walFramePgno
.subsections_via_symbols
| AnghaBench/nodemcu-firmware/app/sqlite3/extr_sqlite3.c_walFramePgno.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vidioc_g_fbuf
_vidioc_g_fbuf: ; @vidioc_g_fbuf
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #40]
str x1, [sp, #32]
str x2, [sp, #24]
ldr x8, [sp, #32]
str x8, [sp, #16]
ldr x8, [sp, #16]
ldr x8, [x8]
str x8, [sp, #8]
ldr x8, [sp, #24]
str x8, [sp]
ldr x9, [sp]
ldr x8, [sp, #8]
ldr w8, [x8]
str w8, [x9]
adrp x8, _V4L2_FBUF_CAP_LIST_CLIPPING@GOTPAGE
ldr x8, [x8, _V4L2_FBUF_CAP_LIST_CLIPPING@GOTPAGEOFF]
ldr w8, [x8]
ldr x9, [sp]
str w8, [x9]
mov w0, #0
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.comm _V4L2_FBUF_CAP_LIST_CLIPPING,4,2 ; @V4L2_FBUF_CAP_LIST_CLIPPING
.no_dead_strip _vidioc_g_fbuf
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vidioc_g_fbuf
_vidioc_g_fbuf: ## @vidioc_g_fbuf
.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 -16(%rbp), %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
movq %rax, -48(%rbp)
movq -48(%rbp), %rax
movq -40(%rbp), %rcx
movl (%rcx), %ecx
movl %ecx, (%rax)
movq _V4L2_FBUF_CAP_LIST_CLIPPING@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq -48(%rbp), %rax
movl %ecx, (%rax)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _V4L2_FBUF_CAP_LIST_CLIPPING,4,2 ## @V4L2_FBUF_CAP_LIST_CLIPPING
.no_dead_strip _vidioc_g_fbuf
.subsections_via_symbols
| AnghaBench/linux/drivers/media/platform/extr_fsl-viu.c_vidioc_g_fbuf.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function f
_f: ; @f
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.no_dead_strip _f
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function f
_f: ## @f
.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)
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _f
.subsections_via_symbols
| AnghaBench/freebsd/contrib/netbsd-tests/usr.bin/xlint/lint1/extr_d_cast_fun_array_param.c_f.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ngx_mail_capabilities ; -- Begin function ngx_mail_capabilities
.p2align 2
_ngx_mail_capabilities: ; @ngx_mail_capabilities
.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]
ldur x8, [x29, #-32]
str x8, [sp, #40]
ldr x8, [sp, #40]
ldur x9, [x29, #-24]
ldrsw x9, [x9]
add x8, x8, x9
str x8, [sp, #8]
ldur x8, [x29, #-16]
ldr x8, [x8]
ldr x8, [x8, #8]
str x8, [sp, #24]
mov x8, #1
str x8, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
ldur x9, [x29, #-16]
ldr x9, [x9]
ldr x9, [x9]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x0, [sp, #8]
bl _ngx_array_push
str x0, [sp, #32]
ldr x8, [sp, #32]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x8, _NGX_CONF_ERROR@GOTPAGE
ldr x8, [x8, _NGX_CONF_ERROR@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
b LBB0_7
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
ldr x9, [sp, #16]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #32]
str w8, [x9]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
b LBB0_1
LBB0_6:
adrp x8, _NGX_CONF_OK@GOTPAGE
ldr x8, [x8, _NGX_CONF_OK@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
b LBB0_7
LBB0_7:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.comm _NGX_CONF_ERROR,8,3 ; @NGX_CONF_ERROR
.comm _NGX_CONF_OK,8,3 ; @NGX_CONF_OK
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ngx_mail_capabilities ## -- Begin function ngx_mail_capabilities
.p2align 4, 0x90
_ngx_mail_capabilities: ## @ngx_mail_capabilities
.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 -32(%rbp), %rax
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
movq -24(%rbp), %rcx
movslq (%rcx), %rcx
addq %rcx, %rax
movq %rax, -72(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rax
movq 8(%rax), %rax
movq %rax, -56(%rbp)
movq $1, -64(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -64(%rbp), %rax
movq -16(%rbp), %rcx
movq (%rcx), %rcx
cmpq (%rcx), %rax
jae LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -72(%rbp), %rdi
callq _ngx_array_push
movq %rax, -48(%rbp)
cmpq $0, -48(%rbp)
jne LBB0_4
## %bb.3:
movq _NGX_CONF_ERROR@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
jmp LBB0_7
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq -56(%rbp), %rax
movq -64(%rbp), %rcx
movl (%rax,%rcx,4), %ecx
movq -48(%rbp), %rax
movl %ecx, (%rax)
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movq -64(%rbp), %rax
addq $1, %rax
movq %rax, -64(%rbp)
jmp LBB0_1
LBB0_6:
movq _NGX_CONF_OK@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
LBB0_7:
movq -8(%rbp), %rax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NGX_CONF_ERROR,8,3 ## @NGX_CONF_ERROR
.comm _NGX_CONF_OK,8,3 ## @NGX_CONF_OK
.subsections_via_symbols
| AnghaBench/nginx/src/mail/extr_ngx_mail_core_module.c_ngx_mail_capabilities.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _png_zfree ; -- Begin function png_zfree
.p2align 2
_png_zfree: ; @png_zfree
.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 w1, [sp, #8]
adrp x8, _png_const_structrp@GOTPAGE
ldr x8, [x8, _png_const_structrp@GOTPAGEOFF]
ldr w0, [x8]
ldur w1, [x29, #-4]
bl _png_voidcast
ldr w1, [sp, #8]
bl _png_free
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _png_const_structrp,4,2 ; @png_const_structrp
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _png_zfree ## -- Begin function png_zfree
.p2align 4, 0x90
_png_zfree: ## @png_zfree
.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)
movl %esi, -8(%rbp)
movq _png_const_structrp@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl -4(%rbp), %esi
callq _png_voidcast
movl %eax, %edi
movl -8(%rbp), %esi
callq _png_free
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _png_const_structrp,4,2 ## @png_const_structrp
.subsections_via_symbols
| AnghaBench/reactos/dll/3rdparty/libpng/extr_png.c_png_zfree.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nfp_app_dev_get
_nfp_app_dev_get: ; @nfp_app_dev_get
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur w1, [x29, #-20]
str x2, [sp, #16]
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, eq
mov w9, #1
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur x8, [x29, #-16]
ldr x8, [x8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
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:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB0_5
LBB0_4:
ldur x8, [x29, #-16]
ldr x8, [x8]
ldr x8, [x8]
ldur x0, [x29, #-16]
ldur w1, [x29, #-20]
ldr x2, [sp, #16]
blr x8
stur x0, [x29, #-8]
b LBB0_5
LBB0_5:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.no_dead_strip _nfp_app_dev_get
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nfp_app_dev_get
_nfp_app_dev_get: ## @nfp_app_dev_get
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movq %rdx, -32(%rbp)
movb $1, %al
cmpq $0, -16(%rbp)
movb %al, -33(%rbp) ## 1-byte Spill
je LBB0_2
## %bb.1:
movq -16(%rbp), %rax
movq (%rax), %rax
cmpq $0, (%rax)
setne %al
xorb $-1, %al
movb %al, -33(%rbp) ## 1-byte Spill
LBB0_2:
movb -33(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %edi
callq _unlikely
cmpq $0, %rax
je LBB0_4
## %bb.3:
movq $0, -8(%rbp)
jmp LBB0_5
LBB0_4:
movq -16(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rax
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
movq -32(%rbp), %rdx
callq *%rax
movq %rax, -8(%rbp)
LBB0_5:
movq -8(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _nfp_app_dev_get
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/netronome/nfp/flower/extr_..nfp_app.h_nfp_app_dev_get.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function owl_set_mux
_owl_set_mux: ; @owl_set_mux
.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]
ldur x0, [x29, #-16]
bl _pinctrl_dev_get_drvdata
str x0, [sp, #32]
ldr x8, [sp, #32]
ldr x8, [x8, #16]
ldr x8, [x8]
ldur w9, [x29, #-24]
; kill: def $x9 killed $w9
add x8, x8, x9, lsl #3
str x8, [sp, #24]
ldr x0, [sp, #24]
ldur w1, [x29, #-20]
add x2, sp, #8
add x3, sp, #12
bl _get_group_mfp_mask_val
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x8, _EINVAL@GOTPAGE
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
ldr w9, [x8]
mov w8, #0
subs w8, w8, w9
stur w8, [x29, #-4]
b LBB0_3
LBB0_2:
ldr x0, [sp, #32]
ldr x1, [sp, #16]
bl _raw_spin_lock_irqsave
ldr x8, [sp, #32]
ldr x8, [x8, #8]
ldr x9, [sp, #24]
ldr x9, [x9]
add x0, x8, x9
ldr w1, [sp, #8]
ldr w2, [sp, #12]
bl _owl_update_bits
ldr x0, [sp, #32]
ldr x1, [sp, #16]
bl _raw_spin_unlock_irqrestore
stur wzr, [x29, #-4]
b LBB0_3
LBB0_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _owl_set_mux
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function owl_set_mux
_owl_set_mux: ## @owl_set_mux
.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 -16(%rbp), %rdi
callq _pinctrl_dev_get_drvdata
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
movq 16(%rax), %rax
movq (%rax), %rax
movl -24(%rbp), %ecx
## kill: def $rcx killed $ecx
shlq $3, %rcx
addq %rcx, %rax
movq %rax, -40(%rbp)
movq -40(%rbp), %rdi
movl -20(%rbp), %esi
leaq -56(%rbp), %rdx
leaq -52(%rbp), %rcx
callq _get_group_mfp_mask_val
cmpq $0, %rax
je LBB0_2
## %bb.1:
xorl %eax, %eax
movq _EINVAL@GOTPCREL(%rip), %rcx
subl (%rcx), %eax
movl %eax, -4(%rbp)
jmp LBB0_3
LBB0_2:
movq -32(%rbp), %rdi
movq -48(%rbp), %rsi
callq _raw_spin_lock_irqsave
movq -32(%rbp), %rax
movq 8(%rax), %rdi
movq -40(%rbp), %rax
addq (%rax), %rdi
movl -56(%rbp), %esi
movl -52(%rbp), %edx
callq _owl_update_bits
movq -32(%rbp), %rdi
movq -48(%rbp), %rsi
callq _raw_spin_unlock_irqrestore
movl $0, -4(%rbp)
LBB0_3:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _owl_set_mux
.subsections_via_symbols
| AnghaBench/linux/drivers/pinctrl/actions/extr_pinctrl-owl.c_owl_set_mux.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _AcpiDsEvalTableRegionOperands ; -- Begin function AcpiDsEvalTableRegionOperands
.p2align 2
_AcpiDsEvalTableRegionOperands: ; @AcpiDsEvalTableRegionOperands
.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]
adrp x8, _DsEvalTableRegionOperands@GOTPAGE
ldr x8, [x8, _DsEvalTableRegionOperands@GOTPAGEOFF]
ldr w0, [x8]
ldur x1, [x29, #-24]
bl _ACPI_FUNCTION_TRACE_PTR
ldur x8, [x29, #-24]
ldr x8, [x8, #16]
str x8, [sp, #24]
ldur x8, [x29, #-24]
ldr x8, [x8, #8]
str x8, [sp, #16]
ldur x0, [x29, #-16]
ldr x1, [sp, #16]
bl _AcpiDsCreateOperands
stur x0, [x29, #-32]
ldur x0, [x29, #-32]
bl _ACPI_FAILURE
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur x0, [x29, #-32]
bl _return_ACPI_STATUS
b LBB0_2
LBB0_2:
ldur x8, [x29, #-16]
ldr x8, [x8]
str x8, [sp, #32]
ldur x8, [x29, #-24]
ldr w0, [x8]
adrp x8, _ACPI_WALK_OPERANDS@GOTPAGE
ldr x8, [x8, _ACPI_WALK_OPERANDS@GOTPAGEOFF]
ldr w1, [x8]
ldur x2, [x29, #-16]
bl _AcpiExResolveOperands
stur x0, [x29, #-32]
ldur x0, [x29, #-32]
bl _ACPI_FAILURE
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
b LBB0_13
LBB0_4:
ldr x8, [sp, #32]
ldr x8, [x8]
ldr w0, [x8, #12]
ldr x8, [sp, #32]
ldr x8, [x8, #8]
ldr w1, [x8, #12]
ldr x8, [sp, #32]
ldr x8, [x8, #16]
ldr w2, [x8, #12]
add x3, sp, #4
bl _AcpiTbFindTable
stur x0, [x29, #-32]
ldur x0, [x29, #-32]
bl _ACPI_FAILURE
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_5
LBB0_5:
ldur x8, [x29, #-32]
adrp x9, _AE_NOT_FOUND@GOTPAGE
ldr x9, [x9, _AE_NOT_FOUND@GOTPAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
ldr x8, [sp, #32]
ldr x8, [x8, #16]
ldr w0, [x8, #12]
bl _ACPI_ERROR
b LBB0_7
LBB0_7:
b LBB0_13
LBB0_8:
ldr w0, [sp, #4]
add x1, sp, #8
bl _AcpiGetTableByIndex
stur x0, [x29, #-32]
ldur x0, [x29, #-32]
bl _ACPI_FAILURE
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
b LBB0_13
LBB0_10:
ldr x0, [sp, #24]
bl _AcpiNsGetAttachedObject
str x0, [sp, #40]
ldr x8, [sp, #40]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
adrp x8, _AE_NOT_EXIST@GOTPAGE
ldr x8, [x8, _AE_NOT_EXIST@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-32]
b LBB0_13
LBB0_12:
ldr x0, [sp, #8]
bl _ACPI_PTR_TO_PHYSADDR
ldr x8, [sp, #40]
str w0, [x8, #8]
ldr x8, [sp, #8]
ldr w8, [x8]
ldr x9, [sp, #40]
str w8, [x9, #4]
ldr x8, [sp, #40]
ldr w0, [x8, #8]
bl _ACPI_FORMAT_UINT64
ldr x8, [sp, #40]
ldr w0, [x8, #4]
bl _ACPI_DEBUG_PRINT
adrp x8, _AOPOBJ_DATA_VALID@GOTPAGE
ldr x8, [x8, _AOPOBJ_DATA_VALID@GOTPAGEOFF]
ldr w10, [x8]
ldr x9, [sp, #40]
ldr w8, [x9]
orr w8, w8, w10
str w8, [x9]
b LBB0_13
LBB0_13:
ldr x8, [sp, #32]
ldr x0, [x8]
bl _AcpiUtRemoveReference
ldr x8, [sp, #32]
ldr x0, [x8, #8]
bl _AcpiUtRemoveReference
ldr x8, [sp, #32]
ldr x0, [x8, #16]
bl _AcpiUtRemoveReference
ldur x0, [x29, #-32]
bl _return_ACPI_STATUS
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.comm _DsEvalTableRegionOperands,4,2 ; @DsEvalTableRegionOperands
.comm _ACPI_WALK_OPERANDS,4,2 ; @ACPI_WALK_OPERANDS
.comm _AE_NOT_FOUND,8,3 ; @AE_NOT_FOUND
.comm _AE_INFO,4,2 ; @AE_INFO
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ACPI Table [%4.4s] OEM:(%s, %s) not found in RSDT/XSDT"
.comm _AE_NOT_EXIST,8,3 ; @AE_NOT_EXIST
.comm _ACPI_DB_EXEC,4,2 ; @ACPI_DB_EXEC
l_.str.1: ; @.str.1
.asciz "RgnObj %p Addr %8.8X%8.8X Len %X\n"
.comm _AOPOBJ_DATA_VALID,4,2 ; @AOPOBJ_DATA_VALID
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _AcpiDsEvalTableRegionOperands ## -- Begin function AcpiDsEvalTableRegionOperands
.p2align 4, 0x90
_AcpiDsEvalTableRegionOperands: ## @AcpiDsEvalTableRegionOperands
.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 _DsEvalTableRegionOperands@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq -24(%rbp), %rsi
callq _ACPI_FUNCTION_TRACE_PTR
movq -24(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -56(%rbp)
movq -24(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -64(%rbp)
movq -16(%rbp), %rdi
movq -64(%rbp), %rsi
callq _AcpiDsCreateOperands
movq %rax, -32(%rbp)
movq -32(%rbp), %rdi
callq _ACPI_FAILURE
cmpq $0, %rax
je LBB0_2
## %bb.1:
movq -32(%rbp), %rdi
callq _return_ACPI_STATUS
LBB0_2:
movq -16(%rbp), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq -24(%rbp), %rax
movl (%rax), %edi
movq _ACPI_WALK_OPERANDS@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -16(%rbp), %rdx
callq _AcpiExResolveOperands
movq %rax, -32(%rbp)
movq -32(%rbp), %rdi
callq _ACPI_FAILURE
cmpq $0, %rax
je LBB0_4
## %bb.3:
jmp LBB0_13
LBB0_4:
movq -48(%rbp), %rax
movq (%rax), %rax
movl 12(%rax), %edi
movq -48(%rbp), %rax
movq 8(%rax), %rax
movl 12(%rax), %esi
movq -48(%rbp), %rax
movq 16(%rax), %rax
movl 12(%rax), %edx
leaq -76(%rbp), %rcx
callq _AcpiTbFindTable
movq %rax, -32(%rbp)
movq -32(%rbp), %rdi
callq _ACPI_FAILURE
cmpq $0, %rax
je LBB0_8
## %bb.5:
movq -32(%rbp), %rax
movq _AE_NOT_FOUND@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_7
## %bb.6:
movq -48(%rbp), %rax
movq 16(%rax), %rax
movl 12(%rax), %edi
callq _ACPI_ERROR
LBB0_7:
jmp LBB0_13
LBB0_8:
movl -76(%rbp), %edi
leaq -72(%rbp), %rsi
callq _AcpiGetTableByIndex
movq %rax, -32(%rbp)
movq -32(%rbp), %rdi
callq _ACPI_FAILURE
cmpq $0, %rax
je LBB0_10
## %bb.9:
jmp LBB0_13
LBB0_10:
movq -56(%rbp), %rdi
callq _AcpiNsGetAttachedObject
movq %rax, -40(%rbp)
cmpq $0, -40(%rbp)
jne LBB0_12
## %bb.11:
movq _AE_NOT_EXIST@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
jmp LBB0_13
LBB0_12:
movq -72(%rbp), %rdi
callq _ACPI_PTR_TO_PHYSADDR
movl %eax, %ecx
movq -40(%rbp), %rax
movl %ecx, 8(%rax)
movq -72(%rbp), %rax
movl (%rax), %ecx
movq -40(%rbp), %rax
movl %ecx, 4(%rax)
movq -40(%rbp), %rax
movl 8(%rax), %edi
callq _ACPI_FORMAT_UINT64
movq -40(%rbp), %rax
movl 4(%rax), %edi
callq _ACPI_DEBUG_PRINT
movq _AOPOBJ_DATA_VALID@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq -40(%rbp), %rax
orl (%rax), %ecx
movl %ecx, (%rax)
LBB0_13:
movq -48(%rbp), %rax
movq (%rax), %rdi
callq _AcpiUtRemoveReference
movq -48(%rbp), %rax
movq 8(%rax), %rdi
callq _AcpiUtRemoveReference
movq -48(%rbp), %rax
movq 16(%rax), %rdi
callq _AcpiUtRemoveReference
movq -32(%rbp), %rdi
callq _return_ACPI_STATUS
movq -8(%rbp), %rax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DsEvalTableRegionOperands,4,2 ## @DsEvalTableRegionOperands
.comm _ACPI_WALK_OPERANDS,4,2 ## @ACPI_WALK_OPERANDS
.comm _AE_NOT_FOUND,8,3 ## @AE_NOT_FOUND
.comm _AE_INFO,4,2 ## @AE_INFO
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ACPI Table [%4.4s] OEM:(%s, %s) not found in RSDT/XSDT"
.comm _AE_NOT_EXIST,8,3 ## @AE_NOT_EXIST
.comm _ACPI_DB_EXEC,4,2 ## @ACPI_DB_EXEC
L_.str.1: ## @.str.1
.asciz "RgnObj %p Addr %8.8X%8.8X Len %X\n"
.comm _AOPOBJ_DATA_VALID,4,2 ## @AOPOBJ_DATA_VALID
.subsections_via_symbols
| AnghaBench/freebsd/sys/contrib/dev/acpica/components/dispatcher/extr_dsopcode.c_AcpiDsEvalTableRegionOperands.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function verifySig
_verifySig: ; @verifySig
.cfi_startproc
; %bb.0:
sub sp, sp, #400
.cfi_def_cfa_offset 400
stp x28, x27, [sp, #368] ; 16-byte Folded Spill
stp x29, x30, [sp, #384] ; 16-byte Folded Spill
add x29, sp, #384
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str w0, [sp, #100]
str x1, [sp, #88]
str x2, [sp, #80]
str x3, [sp, #72]
str w4, [sp, #68]
ldr w0, [sp, #100]
adrp x8, _CALG_SHA1@GOTPAGE
ldr x8, [x8, _CALG_SHA1@GOTPAGEOFF]
ldr w1, [x8]
mov w3, #0
mov x2, x3
add x4, sp, #64
bl _CryptCreateHash
str x0, [sp, #56]
ldr x8, [sp, #56]
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #48] ; 4-byte Folded Spill
bl _GetLastError
mov x10, x0
ldr w0, [sp, #48] ; 4-byte Folded Reload
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _ok
ldr x8, [sp, #56]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_1
LBB0_1:
add x8, sp, #52
str x8, [sp, #32] ; 8-byte Folded Spill
mov w8, #256
str w8, [sp, #52]
ldr w0, [sp, #64]
ldr x1, [sp, #88]
ldr x2, [sp, #80]
mov w3, #0
str w3, [sp, #28] ; 4-byte Folded Spill
bl _CryptHashData
str x0, [sp, #56]
ldr x8, [sp, #56]
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #24] ; 4-byte Folded Spill
bl _GetLastError
mov x10, x0
ldr w0, [sp, #24] ; 4-byte Folded Reload
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _ok
ldr w3, [sp, #28] ; 4-byte Folded Reload
ldr x5, [sp, #32] ; 8-byte Folded Reload
ldr w0, [sp, #64]
adrp x8, _AT_SIGNATURE@GOTPAGE
ldr x8, [x8, _AT_SIGNATURE@GOTPAGEOFF]
ldr w1, [x8]
mov x2, #0
add x4, sp, #104
bl _CryptSignHashA
str x0, [sp, #56]
ldr x8, [sp, #56]
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #44] ; 4-byte Folded Spill
bl _GetLastError
mov x10, x0
ldr w0, [sp, #44] ; 4-byte Folded Reload
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _ok
ldr x8, [sp, #56]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
ldr w8, [sp, #52]
ldr w9, [sp, #68]
subs w8, w8, w9
cset w8, eq
and w0, w8, #0x1
ldr w8, [sp, #68]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #52]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _ok
ldr x1, [sp, #72]
ldr w2, [sp, #68]
add x0, sp, #104
bl _memcmp
subs w8, w0, #0
cset w8, eq
and w0, w8, #0x1
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _ok
b LBB0_3
LBB0_3:
ldr w0, [sp, #64]
bl _CryptDestroyHash
b LBB0_4
LBB0_4:
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_6
b LBB0_5
LBB0_5:
bl ___stack_chk_fail
LBB0_6:
ldp x29, x30, [sp, #384] ; 16-byte Folded Reload
ldp x28, x27, [sp, #368] ; 16-byte Folded Reload
add sp, sp, #400
ret
.cfi_endproc
; -- End function
.comm _CALG_SHA1,4,2 ; @CALG_SHA1
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "CryptCreateHash failed: %08x\n"
l_.str.1: ; @.str.1
.asciz "CryptHashData failed: %08x\n"
.comm _AT_SIGNATURE,4,2 ; @AT_SIGNATURE
l_.str.2: ; @.str.2
.asciz "CryptSignHash failed: %08x\n"
l_.str.3: ; @.str.3
.asciz "Expected sig length %d, got %d\n"
l_.str.4: ; @.str.4
.asciz "Unexpected signature\n"
.no_dead_strip _verifySig
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function verifySig
_verifySig: ## @verifySig
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $336, %rsp ## imm = 0x150
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -276(%rbp)
movq %rsi, -288(%rbp)
movq %rdx, -296(%rbp)
movq %rcx, -304(%rbp)
movl %r8d, -308(%rbp)
movl -276(%rbp), %edi
movq _CALG_SHA1@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %ecx, %ecx
leaq -312(%rbp), %r8
movl %ecx, %edx
callq _CryptCreateHash
movq %rax, -320(%rbp)
movq -320(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -328(%rbp) ## 4-byte Spill
movb $0, %al
callq _GetLastError
movl -328(%rbp), %edi ## 4-byte Reload
movl %eax, %edx
leaq L_.str(%rip), %rsi
movb $0, %al
callq _ok
cmpq $0, -320(%rbp)
je LBB0_4
## %bb.1:
movl $256, -324(%rbp) ## imm = 0x100
movl -312(%rbp), %edi
movq -288(%rbp), %rsi
movq -296(%rbp), %rdx
xorl %ecx, %ecx
callq _CryptHashData
movq %rax, -320(%rbp)
movq -320(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -336(%rbp) ## 4-byte Spill
movb $0, %al
callq _GetLastError
movl -336(%rbp), %edi ## 4-byte Reload
movl %eax, %edx
leaq L_.str.1(%rip), %rsi
movb $0, %al
callq _ok
movl -312(%rbp), %edi
movq _AT_SIGNATURE@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -272(%rbp), %r8
xorl %eax, %eax
movl %eax, %edx
xorl %ecx, %ecx
leaq -324(%rbp), %r9
callq _CryptSignHashA
movq %rax, -320(%rbp)
movq -320(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -332(%rbp) ## 4-byte Spill
movb $0, %al
callq _GetLastError
movl -332(%rbp), %edi ## 4-byte Reload
movl %eax, %edx
leaq L_.str.2(%rip), %rsi
movb $0, %al
callq _ok
cmpq $0, -320(%rbp)
je LBB0_3
## %bb.2:
movl -324(%rbp), %eax
cmpl -308(%rbp), %eax
sete %al
andb $1, %al
movzbl %al, %edi
movl -308(%rbp), %edx
movl -324(%rbp), %ecx
leaq L_.str.3(%rip), %rsi
movb $0, %al
callq _ok
leaq -272(%rbp), %rdi
movq -304(%rbp), %rsi
movl -308(%rbp), %edx
callq _memcmp
cmpl $0, %eax
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %edi
leaq L_.str.4(%rip), %rsi
movb $0, %al
callq _ok
LBB0_3:
movl -312(%rbp), %edi
callq _CryptDestroyHash
LBB0_4:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_6
## %bb.5:
addq $336, %rsp ## imm = 0x150
popq %rbp
retq
LBB0_6:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.comm _CALG_SHA1,4,2 ## @CALG_SHA1
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "CryptCreateHash failed: %08x\n"
L_.str.1: ## @.str.1
.asciz "CryptHashData failed: %08x\n"
.comm _AT_SIGNATURE,4,2 ## @AT_SIGNATURE
L_.str.2: ## @.str.2
.asciz "CryptSignHash failed: %08x\n"
L_.str.3: ## @.str.3
.asciz "Expected sig length %d, got %d\n"
L_.str.4: ## @.str.4
.asciz "Unexpected signature\n"
.no_dead_strip _verifySig
.subsections_via_symbols
| AnghaBench/reactos/modules/rostests/winetests/crypt32/extr_cert.c_verifySig.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function i915_gem_context_get
_i915_gem_context_get: ; @i915_gem_context_get
.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 _kref_get
ldr x0, [sp, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.no_dead_strip _i915_gem_context_get
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function i915_gem_context_get
_i915_gem_context_get: ## @i915_gem_context_get
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
callq _kref_get
movq -8(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _i915_gem_context_get
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/i915/gem/extr_i915_gem_context.h_i915_gem_context_get.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mlx5_fpga_ipsec_counters_count ; -- Begin function mlx5_fpga_ipsec_counters_count
.p2align 2
_mlx5_fpga_ipsec_counters_count: ; @mlx5_fpga_ipsec_counters_count
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
ldr x8, [sp, #16]
ldr x8, [x8]
str x8, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
stur wzr, [x29, #-4]
b LBB0_4
LBB0_3:
adrp x8, _ipsec_extended_cap@GOTPAGE
ldr x8, [x8, _ipsec_extended_cap@GOTPAGEOFF]
ldr w0, [x8]
ldr x8, [sp, #8]
ldr x8, [x8]
ldr w1, [x8]
adrp x8, _number_of_ipsec_counters@GOTPAGE
ldr x8, [x8, _number_of_ipsec_counters@GOTPAGEOFF]
ldr w2, [x8]
bl _MLX5_GET
stur w0, [x29, #-4]
b LBB0_4
LBB0_4:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.comm _ipsec_extended_cap,4,2 ; @ipsec_extended_cap
.comm _number_of_ipsec_counters,4,2 ; @number_of_ipsec_counters
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mlx5_fpga_ipsec_counters_count ## -- Begin function mlx5_fpga_ipsec_counters_count
.p2align 4, 0x90
_mlx5_fpga_ipsec_counters_count: ## @mlx5_fpga_ipsec_counters_count
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
je LBB0_2
## %bb.1:
movq -24(%rbp), %rax
cmpq $0, (%rax)
jne LBB0_3
LBB0_2:
movl $0, -4(%rbp)
jmp LBB0_4
LBB0_3:
movq _ipsec_extended_cap@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq -24(%rbp), %rax
movq (%rax), %rax
movl (%rax), %esi
movq _number_of_ipsec_counters@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _MLX5_GET
movl %eax, -4(%rbp)
LBB0_4:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ipsec_extended_cap,4,2 ## @ipsec_extended_cap
.comm _number_of_ipsec_counters,4,2 ## @number_of_ipsec_counters
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/mlx5/mlx5_fpga/extr_mlx5fpga_ipsec.c_mlx5_fpga_ipsec_counters_count.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ipoib_ib_dev_cleanup ; -- Begin function ipoib_ib_dev_cleanup
.p2align 2
_ipoib_ib_dev_cleanup: ; @ipoib_ib_dev_cleanup
.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 _ipoib_priv
str x0, [sp]
ldr x0, [sp]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _ipoib_dbg
ldr x0, [sp, #8]
bl _ipoib_flush_paths
ldr x0, [sp, #8]
bl _ipoib_mcast_stop_thread
ldr x0, [sp, #8]
bl _ipoib_mcast_dev_flush
ldr x0, [sp, #8]
bl _ipoib_stop_ah
adrp x8, _IPOIB_PKEY_ASSIGNED@GOTPAGE
ldr x8, [x8, _IPOIB_PKEY_ASSIGNED@GOTPAGEOFF]
ldr w0, [x8]
ldr x8, [sp]
add x1, x8, #16
bl _clear_bit
ldr x8, [sp]
ldr x8, [x8, #8]
ldr x8, [x8]
ldr x0, [sp, #8]
blr x8
ldr x8, [sp]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp]
ldr x0, [x8]
bl _ib_dealloc_pd
ldr x8, [sp]
; kill: def $x9 killed $xzr
str xzr, [x8]
b LBB0_2
LBB0_2:
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 "cleaning up ib_dev\n"
.comm _IPOIB_PKEY_ASSIGNED,4,2 ; @IPOIB_PKEY_ASSIGNED
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ipoib_ib_dev_cleanup ## -- Begin function ipoib_ib_dev_cleanup
.p2align 4, 0x90
_ipoib_ib_dev_cleanup: ## @ipoib_ib_dev_cleanup
.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 _ipoib_priv
movq %rax, -16(%rbp)
movq -16(%rbp), %rdi
leaq L_.str(%rip), %rsi
callq _ipoib_dbg
movq -8(%rbp), %rdi
callq _ipoib_flush_paths
movq -8(%rbp), %rdi
callq _ipoib_mcast_stop_thread
movq -8(%rbp), %rdi
callq _ipoib_mcast_dev_flush
movq -8(%rbp), %rdi
callq _ipoib_stop_ah
movq _IPOIB_PKEY_ASSIGNED@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq -16(%rbp), %rsi
addq $16, %rsi
callq _clear_bit
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq (%rax), %rax
movq -8(%rbp), %rdi
callq *%rax
movq -16(%rbp), %rax
cmpq $0, (%rax)
je LBB0_2
## %bb.1:
movq -16(%rbp), %rax
movq (%rax), %rdi
callq _ib_dealloc_pd
movq -16(%rbp), %rax
movq $0, (%rax)
LBB0_2:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "cleaning up ib_dev\n"
.comm _IPOIB_PKEY_ASSIGNED,4,2 ## @IPOIB_PKEY_ASSIGNED
.subsections_via_symbols
| AnghaBench/linux/drivers/infiniband/ulp/ipoib/extr_ipoib_ib.c_ipoib_ib_dev_cleanup.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function load_send_fn
_load_send_fn: ; @load_send_fn
.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 w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
b LBB0_5
LBB0_2:
ldr x9, [sp, #8]
mov w8, #1
str w8, [x9]
ldr x8, [sp, #8]
ldr x8, [x8, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr x8, [sp, #8]
ldr w0, [x8, #12]
ldr x8, [sp, #8]
add x1, x8, #4
bl _fmgr_info
b LBB0_5
LBB0_4:
ldr x8, [sp, #8]
ldr w0, [x8, #8]
ldr x8, [sp, #8]
add x1, x8, #4
bl _fmgr_info
b LBB0_5
LBB0_5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.no_dead_strip _load_send_fn
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function load_send_fn
_load_send_fn: ## @load_send_fn
.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
cmpl $0, (%rax)
je LBB0_2
## %bb.1:
jmp LBB0_5
LBB0_2:
movq -8(%rbp), %rax
movl $1, (%rax)
movq -8(%rbp), %rax
cmpq $0, 16(%rax)
je LBB0_4
## %bb.3:
movq -8(%rbp), %rax
movl 12(%rax), %edi
movq -8(%rbp), %rsi
addq $4, %rsi
callq _fmgr_info
jmp LBB0_5
LBB0_4:
movq -8(%rbp), %rax
movl 8(%rax), %edi
movq -8(%rbp), %rsi
addq $4, %rsi
callq _fmgr_info
LBB0_5:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _load_send_fn
.subsections_via_symbols
| AnghaBench/timescaledb/tsl/src/compression/extr_datum_serialize.c_load_send_fn.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ixl_if_stop ; -- Begin function ixl_if_stop
.p2align 2
_ixl_if_stop: ; @ixl_if_stop
.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 w0, [x29, #-4]
ldur w0, [x29, #-4]
bl _iflib_get_softc
str x0, [sp, #16]
ldr x8, [sp, #16]
add x8, x8, #16
str x8, [sp, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _INIT_DEBUGOUT
ldr x0, [sp, #8]
bl _ixl_disable_rings_intr
ldr x0, [sp, #16]
ldr x1, [sp, #8]
ldr x2, [sp, #16]
bl _ixl_disable_rings
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 "ixl_if_stop: begin\n"
.comm _ixl_enable_iwarp,8,3 ; @ixl_enable_iwarp
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ixl_if_stop ## -- Begin function ixl_if_stop
.p2align 4, 0x90
_ixl_if_stop: ## @ixl_if_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 $32, %rsp
movl %edi, -4(%rbp)
movl -4(%rbp), %edi
callq _iflib_get_softc
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
addq $16, %rax
movq %rax, -24(%rbp)
leaq L_.str(%rip), %rdi
callq _INIT_DEBUGOUT
movq -24(%rbp), %rdi
callq _ixl_disable_rings_intr
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
movq -16(%rbp), %rdx
callq _ixl_disable_rings
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ixl_if_stop: begin\n"
.comm _ixl_enable_iwarp,8,3 ## @ixl_enable_iwarp
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/ixl/extr_if_ixl.c_ixl_if_stop.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __zip_set_name ; -- Begin function _zip_set_name
.p2align 2
__zip_set_name: ; @_zip_set_name
.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]
stur w3, [x29, #-36]
ldur x8, [x29, #-24]
ldur x9, [x29, #-16]
ldr x9, [x9]
subs x8, x8, x9
cset w8, lt
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur x8, [x29, #-16]
add x0, x8, #8
adrp x8, _ZIP_ER_INVAL@GOTPAGE
ldr x8, [x8, _ZIP_ER_INVAL@GOTPAGEOFF]
ldr w1, [x8]
mov w2, #0
bl __zip_error_set
mov w8, #-1
stur w8, [x29, #-4]
b LBB0_35
LBB0_2:
ldur x0, [x29, #-16]
bl _ZIP_IS_RDONLY
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldur x8, [x29, #-16]
add x0, x8, #8
adrp x8, _ZIP_ER_RDONLY@GOTPAGE
ldr x8, [x8, _ZIP_ER_RDONLY@GOTPAGEOFF]
ldr w1, [x8]
mov w2, #0
bl __zip_error_set
mov w8, #-1
stur w8, [x29, #-4]
b LBB0_35
LBB0_4:
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_12
b LBB0_5
LBB0_5:
ldur x0, [x29, #-32]
bl _strlen
subs x8, x0, #0
cset w8, le
tbnz w8, #0, LBB0_12
b LBB0_6
LBB0_6:
ldur x8, [x29, #-32]
str x8, [sp] ; 8-byte Folded Spill
ldur x0, [x29, #-32]
bl _strlen
mov x8, x0
ldr x0, [sp] ; 8-byte Folded Reload
mov x1, x8
ldur w2, [x29, #-36]
ldur x8, [x29, #-16]
add x3, x8, #8
bl __zip_string_new
mov x8, x0
str x8, [sp, #24]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
mov w8, #-1
stur w8, [x29, #-4]
b LBB0_35
LBB0_8:
ldur w8, [x29, #-36]
adrp x9, _ZIP_FL_ENCODING_ALL@GOTPAGE
ldr x9, [x9, _ZIP_FL_ENCODING_ALL@GOTPAGEOFF]
ldr w9, [x9]
and w8, w8, w9
adrp x9, _ZIP_FL_ENC_GUESS@GOTPAGE
ldr x9, [x9, _ZIP_FL_ENC_GUESS@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_9
LBB0_9:
ldr x0, [sp, #24]
adrp x8, _ZIP_ENCODING_UNKNOWN@GOTPAGE
ldr x8, [x8, _ZIP_ENCODING_UNKNOWN@GOTPAGEOFF]
ldr w1, [x8]
bl __zip_guess_encoding
adrp x8, _ZIP_ENCODING_UTF8_GUESSED@GOTPAGE
ldr x8, [x8, _ZIP_ENCODING_UTF8_GUESSED@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x0, x8
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
adrp x8, _ZIP_ENCODING_UTF8_KNOWN@GOTPAGE
ldr x8, [x8, _ZIP_ENCODING_UTF8_KNOWN@GOTPAGEOFF]
ldr w8, [x8]
ldr x9, [sp, #24]
str w8, [x9]
b LBB0_11
LBB0_11:
b LBB0_13
LBB0_12:
; kill: def $x8 killed $xzr
str xzr, [sp, #24]
b LBB0_13
LBB0_13:
ldur x0, [x29, #-16]
ldur x1, [x29, #-32]
mov w2, #0
mov x3, #0
bl __zip_name_locate
str x0, [sp, #8]
subs x8, x0, #0
cset w8, lt
tbnz w8, #0, LBB0_16
b LBB0_14
LBB0_14:
ldr x8, [sp, #8]
ldur x9, [x29, #-24]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_16
b LBB0_15
LBB0_15:
ldr x0, [sp, #24]
bl __zip_string_free
ldur x8, [x29, #-16]
add x0, x8, #8
adrp x8, _ZIP_ER_EXISTS@GOTPAGE
ldr x8, [x8, _ZIP_ER_EXISTS@GOTPAGEOFF]
ldr w1, [x8]
mov w2, #0
bl __zip_error_set
mov w8, #-1
stur w8, [x29, #-4]
b LBB0_35
LBB0_16:
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, lt
tbnz w8, #0, LBB0_19
b LBB0_17
LBB0_17:
ldr x8, [sp, #8]
ldur x9, [x29, #-24]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_19
b LBB0_18
LBB0_18:
ldr x0, [sp, #24]
bl __zip_string_free
stur wzr, [x29, #-4]
b LBB0_35
LBB0_19:
ldur x8, [x29, #-16]
ldr x8, [x8, #16]
ldur x9, [x29, #-24]
add x8, x8, x9, lsl #4
str x8, [sp, #32]
ldr x8, [sp, #32]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_21
b LBB0_20
LBB0_20:
ldr x8, [sp, #32]
ldr x8, [x8]
ldr x0, [x8, #8]
bl __zip_string_free
ldr x8, [sp, #32]
ldr x8, [x8]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
adrp x8, _ZIP_DIRENT_FILENAME@GOTPAGE
ldr x8, [x8, _ZIP_DIRENT_FILENAME@GOTPAGEOFF]
ldr w10, [x8]
ldr x8, [sp, #32]
ldr x9, [x8]
ldr w8, [x9]
bic w8, w8, w10
str w8, [x9]
b LBB0_21
LBB0_21:
ldr x8, [sp, #32]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_23
b LBB0_22
LBB0_22:
ldr x8, [sp, #32]
ldr x8, [x8, #8]
ldr w0, [x8]
ldr x1, [sp, #24]
bl __zip_string_equal
subs w8, w0, #0
cset w8, eq
and w8, w8, #0x1
str w8, [sp, #20]
b LBB0_24
LBB0_23:
mov w8, #1
str w8, [sp, #20]
b LBB0_24
LBB0_24:
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_30
b LBB0_25
LBB0_25:
ldr x8, [sp, #32]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_29
b LBB0_26
LBB0_26:
ldr x8, [sp, #32]
ldr x0, [x8, #8]
bl __zip_dirent_clone
ldr x9, [sp, #32]
mov x8, x0
str x8, [x9]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB0_28
b LBB0_27
LBB0_27:
ldur x8, [x29, #-16]
add x0, x8, #8
adrp x8, _ZIP_ER_MEMORY@GOTPAGE
ldr x8, [x8, _ZIP_ER_MEMORY@GOTPAGEOFF]
ldr w1, [x8]
mov w2, #0
bl __zip_error_set
ldr x0, [sp, #24]
bl __zip_string_free
mov w8, #-1
stur w8, [x29, #-4]
b LBB0_35
LBB0_28:
b LBB0_29
LBB0_29:
ldr x8, [sp, #24]
ldr x9, [sp, #32]
ldr x9, [x9]
str x8, [x9, #8]
adrp x8, _ZIP_DIRENT_FILENAME@GOTPAGE
ldr x8, [x8, _ZIP_DIRENT_FILENAME@GOTPAGEOFF]
ldr w10, [x8]
ldr x8, [sp, #32]
ldr x9, [x8]
ldr w8, [x9]
orr w8, w8, w10
str w8, [x9]
b LBB0_34
LBB0_30:
ldr x0, [sp, #24]
bl __zip_string_free
ldr x8, [sp, #32]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_33
b LBB0_31
LBB0_31:
ldr x8, [sp, #32]
ldr x8, [x8]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_33
b LBB0_32
LBB0_32:
ldr x8, [sp, #32]
ldr x0, [x8]
bl __zip_dirent_free
ldr x8, [sp, #32]
; kill: def $x9 killed $xzr
str xzr, [x8]
b LBB0_33
LBB0_33:
b LBB0_34
LBB0_34:
stur wzr, [x29, #-4]
b LBB0_35
LBB0_35:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.comm _ZIP_ER_INVAL,4,2 ; @ZIP_ER_INVAL
.comm _ZIP_ER_RDONLY,4,2 ; @ZIP_ER_RDONLY
.comm _ZIP_FL_ENCODING_ALL,4,2 ; @ZIP_FL_ENCODING_ALL
.comm _ZIP_FL_ENC_GUESS,4,2 ; @ZIP_FL_ENC_GUESS
.comm _ZIP_ENCODING_UNKNOWN,4,2 ; @ZIP_ENCODING_UNKNOWN
.comm _ZIP_ENCODING_UTF8_GUESSED,8,3 ; @ZIP_ENCODING_UTF8_GUESSED
.comm _ZIP_ENCODING_UTF8_KNOWN,4,2 ; @ZIP_ENCODING_UTF8_KNOWN
.comm _ZIP_ER_EXISTS,4,2 ; @ZIP_ER_EXISTS
.comm _ZIP_DIRENT_FILENAME,4,2 ; @ZIP_DIRENT_FILENAME
.comm _ZIP_ER_MEMORY,4,2 ; @ZIP_ER_MEMORY
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __zip_set_name ## -- Begin function _zip_set_name
.p2align 4, 0x90
__zip_set_name: ## @_zip_set_name
.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)
movl %ecx, -36(%rbp)
movq -24(%rbp), %rax
movq -16(%rbp), %rcx
cmpq (%rcx), %rax
jl LBB0_2
## %bb.1:
movq -16(%rbp), %rdi
addq $8, %rdi
movq _ZIP_ER_INVAL@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %edx, %edx
callq __zip_error_set
movl $-1, -4(%rbp)
jmp LBB0_35
LBB0_2:
movq -16(%rbp), %rdi
callq _ZIP_IS_RDONLY
cmpq $0, %rax
je LBB0_4
## %bb.3:
movq -16(%rbp), %rdi
addq $8, %rdi
movq _ZIP_ER_RDONLY@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %edx, %edx
callq __zip_error_set
movl $-1, -4(%rbp)
jmp LBB0_35
LBB0_4:
cmpq $0, -32(%rbp)
je LBB0_12
## %bb.5:
movq -32(%rbp), %rdi
callq _strlen
cmpq $0, %rax
jle LBB0_12
## %bb.6:
movq -32(%rbp), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
movq -32(%rbp), %rdi
callq _strlen
movq -80(%rbp), %rdi ## 8-byte Reload
movl %eax, %esi
movl -36(%rbp), %edx
movq -16(%rbp), %rcx
addq $8, %rcx
callq __zip_string_new
movq %rax, -56(%rbp)
cmpq $0, %rax
jne LBB0_8
## %bb.7:
movl $-1, -4(%rbp)
jmp LBB0_35
LBB0_8:
movl -36(%rbp), %eax
movq _ZIP_FL_ENCODING_ALL@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
movq _ZIP_FL_ENC_GUESS@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_11
## %bb.9:
movq -56(%rbp), %rdi
movq _ZIP_ENCODING_UNKNOWN@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq __zip_guess_encoding
movq _ZIP_ENCODING_UTF8_GUESSED@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_11
## %bb.10:
movq _ZIP_ENCODING_UTF8_KNOWN@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq -56(%rbp), %rax
movl %ecx, (%rax)
LBB0_11:
jmp LBB0_13
LBB0_12:
movq $0, -56(%rbp)
LBB0_13:
movq -16(%rbp), %rdi
movq -32(%rbp), %rsi
xorl %edx, %edx
xorl %eax, %eax
movl %eax, %ecx
callq __zip_name_locate
movq %rax, -72(%rbp)
cmpq $0, %rax
jl LBB0_16
## %bb.14:
movq -72(%rbp), %rax
cmpq -24(%rbp), %rax
je LBB0_16
## %bb.15:
movq -56(%rbp), %rdi
callq __zip_string_free
movq -16(%rbp), %rdi
addq $8, %rdi
movq _ZIP_ER_EXISTS@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %edx, %edx
callq __zip_error_set
movl $-1, -4(%rbp)
jmp LBB0_35
LBB0_16:
cmpq $0, -72(%rbp)
jl LBB0_19
## %bb.17:
movq -72(%rbp), %rax
cmpq -24(%rbp), %rax
jne LBB0_19
## %bb.18:
movq -56(%rbp), %rdi
callq __zip_string_free
movl $0, -4(%rbp)
jmp LBB0_35
LBB0_19:
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq -24(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq %rax, -48(%rbp)
movq -48(%rbp), %rax
cmpq $0, (%rax)
je LBB0_21
## %bb.20:
movq -48(%rbp), %rax
movq (%rax), %rax
movq 8(%rax), %rdi
callq __zip_string_free
movq -48(%rbp), %rax
movq (%rax), %rax
movq $0, 8(%rax)
movq _ZIP_DIRENT_FILENAME@GOTPCREL(%rip), %rax
movl (%rax), %ecx
xorl $-1, %ecx
movq -48(%rbp), %rax
movq (%rax), %rax
andl (%rax), %ecx
movl %ecx, (%rax)
LBB0_21:
movq -48(%rbp), %rax
cmpq $0, 8(%rax)
je LBB0_23
## %bb.22:
movq -48(%rbp), %rax
movq 8(%rax), %rax
movl (%rax), %edi
movq -56(%rbp), %rsi
callq __zip_string_equal
cmpl $0, %eax
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
movl %eax, -60(%rbp)
jmp LBB0_24
LBB0_23:
movl $1, -60(%rbp)
LBB0_24:
cmpl $0, -60(%rbp)
je LBB0_30
## %bb.25:
movq -48(%rbp), %rax
cmpq $0, (%rax)
jne LBB0_29
## %bb.26:
movq -48(%rbp), %rax
movq 8(%rax), %rdi
callq __zip_dirent_clone
movq -48(%rbp), %rcx
movq %rax, (%rcx)
cmpq $0, %rax
jne LBB0_28
## %bb.27:
movq -16(%rbp), %rdi
addq $8, %rdi
movq _ZIP_ER_MEMORY@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %edx, %edx
callq __zip_error_set
movq -56(%rbp), %rdi
callq __zip_string_free
movl $-1, -4(%rbp)
jmp LBB0_35
LBB0_28:
jmp LBB0_29
LBB0_29:
movq -56(%rbp), %rcx
movq -48(%rbp), %rax
movq (%rax), %rax
movq %rcx, 8(%rax)
movq _ZIP_DIRENT_FILENAME@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq -48(%rbp), %rax
movq (%rax), %rax
orl (%rax), %ecx
movl %ecx, (%rax)
jmp LBB0_34
LBB0_30:
movq -56(%rbp), %rdi
callq __zip_string_free
movq -48(%rbp), %rax
cmpq $0, (%rax)
je LBB0_33
## %bb.31:
movq -48(%rbp), %rax
movq (%rax), %rax
cmpl $0, (%rax)
jne LBB0_33
## %bb.32:
movq -48(%rbp), %rax
movq (%rax), %rdi
callq __zip_dirent_free
movq -48(%rbp), %rax
movq $0, (%rax)
LBB0_33:
jmp LBB0_34
LBB0_34:
movl $0, -4(%rbp)
LBB0_35:
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ZIP_ER_INVAL,4,2 ## @ZIP_ER_INVAL
.comm _ZIP_ER_RDONLY,4,2 ## @ZIP_ER_RDONLY
.comm _ZIP_FL_ENCODING_ALL,4,2 ## @ZIP_FL_ENCODING_ALL
.comm _ZIP_FL_ENC_GUESS,4,2 ## @ZIP_FL_ENC_GUESS
.comm _ZIP_ENCODING_UNKNOWN,4,2 ## @ZIP_ENCODING_UNKNOWN
.comm _ZIP_ENCODING_UTF8_GUESSED,8,3 ## @ZIP_ENCODING_UTF8_GUESSED
.comm _ZIP_ENCODING_UTF8_KNOWN,4,2 ## @ZIP_ENCODING_UTF8_KNOWN
.comm _ZIP_ER_EXISTS,4,2 ## @ZIP_ER_EXISTS
.comm _ZIP_DIRENT_FILENAME,4,2 ## @ZIP_DIRENT_FILENAME
.comm _ZIP_ER_MEMORY,4,2 ## @ZIP_ER_MEMORY
.subsections_via_symbols
| AnghaBench/radare2/shlr/zip/zip/extr_zip_set_name.c__zip_set_name.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lochnagar_fill_func_groups
_lochnagar_fill_func_groups: ; @lochnagar_fill_func_groups
.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 wzr, [sp, #4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
ldr x9, [sp, #16]
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
ldr x8, [sp, #16]
ldr x8, [x8, #16]
ldr x9, [sp, #16]
ldr x9, [x9, #8]
ldrsw x10, [sp, #4]
lsl x10, x10, #4
ldr x9, [x9, x10]
add x9, x8, x9, lsl #4
ldr x8, [x9]
add x8, x8, #1
str x8, [x9]
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:
str wzr, [sp, #4]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
adrp x9, _LN_FTYPE_COUNT@GOTPAGE
ldr x9, [x9, _LN_FTYPE_COUNT@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [sp, #16]
ldr x8, [x8, #16]
ldrsw x9, [sp, #4]
add x8, x8, x9, lsl #4
str x8, [sp, #8]
ldr x8, [sp, #8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
b LBB0_11
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [sp, #16]
ldr w0, [x8, #24]
ldr x8, [sp, #8]
ldr x1, [x8]
adrp x8, _GFP_KERNEL@GOTPAGE
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
ldr w3, [x8]
mov w2, #4
bl _devm_kcalloc
ldr x8, [sp, #8]
str x0, [x8, #8]
ldr x8, [sp, #8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
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_17
LBB0_10: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [sp, #8]
str xzr, [x8]
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB0_5
LBB0_12:
str wzr, [sp, #4]
b LBB0_13
LBB0_13: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
ldr x9, [sp, #16]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_16
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_13 Depth=1
ldr x8, [sp, #16]
ldr x8, [x8, #16]
ldr x9, [sp, #16]
ldr x9, [x9, #8]
ldrsw x10, [sp, #4]
lsl x10, x10, #4
ldr x9, [x9, x10]
add x8, x8, x9, lsl #4
str x8, [sp, #8]
ldr x8, [sp, #16]
ldr x8, [x8, #8]
ldrsw x9, [sp, #4]
add x8, x8, x9, lsl #4
ldr w8, [x8, #8]
ldr x9, [sp, #8]
ldr x9, [x9, #8]
ldr x12, [sp, #8]
ldr x10, [x12]
add x11, x10, #1
str x11, [x12]
str w8, [x9, x10, lsl #2]
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_13 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB0_13
LBB0_16:
stur wzr, [x29, #-4]
b LBB0_17
LBB0_17:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.comm _LN_FTYPE_COUNT,4,2 ; @LN_FTYPE_COUNT
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.no_dead_strip _lochnagar_fill_func_groups
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lochnagar_fill_func_groups
_lochnagar_fill_func_groups: ## @lochnagar_fill_func_groups
.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 $0, -28(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
movq -16(%rbp), %rcx
cmpl (%rcx), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq -16(%rbp), %rcx
movq 8(%rcx), %rcx
movslq -28(%rbp), %rdx
shlq $4, %rdx
addq %rdx, %rcx
movq (%rcx), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq (%rax), %rcx
addq $1, %rcx
movq %rcx, (%rax)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_1
LBB0_4:
movl $0, -28(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
movq _LN_FTYPE_COUNT@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB0_12
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq -16(%rbp), %rax
movq 16(%rax), %rax
movslq -28(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq %rax, -24(%rbp)
movq -24(%rbp), %rax
cmpq $0, (%rax)
jne LBB0_8
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_11
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
movq -16(%rbp), %rax
movl 24(%rax), %edi
movq -24(%rbp), %rax
movq (%rax), %rsi
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl $4, %edx
callq _devm_kcalloc
movq %rax, %rcx
movq -24(%rbp), %rax
movq %rcx, 8(%rax)
movq -24(%rbp), %rax
cmpq $0, 8(%rax)
jne LBB0_10
## %bb.9:
xorl %eax, %eax
movq _ENOMEM@GOTPCREL(%rip), %rcx
subl (%rcx), %eax
movl %eax, -4(%rbp)
jmp LBB0_17
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
movq -24(%rbp), %rax
movq $0, (%rax)
LBB0_11: ## in Loop: Header=BB0_5 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_5
LBB0_12:
movl $0, -28(%rbp)
LBB0_13: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
movq -16(%rbp), %rcx
cmpl (%rcx), %eax
jge LBB0_16
## %bb.14: ## in Loop: Header=BB0_13 Depth=1
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq -16(%rbp), %rcx
movq 8(%rcx), %rcx
movslq -28(%rbp), %rdx
shlq $4, %rdx
addq %rdx, %rcx
movq (%rcx), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq %rax, -24(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rax
movslq -28(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movl 8(%rax), %edx
movq -24(%rbp), %rax
movq 8(%rax), %rax
movq -24(%rbp), %rsi
movq (%rsi), %rcx
movq %rcx, %rdi
addq $1, %rdi
movq %rdi, (%rsi)
movl %edx, (%rax,%rcx,4)
## %bb.15: ## in Loop: Header=BB0_13 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_13
LBB0_16:
movl $0, -4(%rbp)
LBB0_17:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _LN_FTYPE_COUNT,4,2 ## @LN_FTYPE_COUNT
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.no_dead_strip _lochnagar_fill_func_groups
.subsections_via_symbols
| AnghaBench/linux/drivers/pinctrl/cirrus/extr_pinctrl-lochnagar.c_lochnagar_fill_func_groups.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lpfc_rcv_prlo_unmap_node
_lpfc_rcv_prlo_unmap_node: ; @lpfc_rcv_prlo_unmap_node
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
str x2, [sp, #24]
str w3, [sp, #20]
ldr x8, [sp, #24]
str x8, [sp, #8]
ldur x0, [x29, #-8]
adrp x8, _ELS_CMD_PRLO@GOTPAGE
ldr x8, [x8, _ELS_CMD_PRLO@GOTPAGEOFF]
ldr w1, [x8]
ldr x2, [sp, #8]
ldur x3, [x29, #-16]
mov x4, #0
bl _lpfc_els_rsp_acc
ldur x8, [x29, #-16]
ldr w0, [x8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.comm _ELS_CMD_PRLO,4,2 ; @ELS_CMD_PRLO
.no_dead_strip _lpfc_rcv_prlo_unmap_node
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lpfc_rcv_prlo_unmap_node
_lpfc_rcv_prlo_unmap_node: ## @lpfc_rcv_prlo_unmap_node
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movl %ecx, -28(%rbp)
movq -24(%rbp), %rax
movq %rax, -40(%rbp)
movq -8(%rbp), %rdi
movq _ELS_CMD_PRLO@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -40(%rbp), %rdx
movq -16(%rbp), %rcx
xorl %eax, %eax
movl %eax, %r8d
callq _lpfc_els_rsp_acc
movq -16(%rbp), %rax
movl (%rax), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ELS_CMD_PRLO,4,2 ## @ELS_CMD_PRLO
.no_dead_strip _lpfc_rcv_prlo_unmap_node
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/scsi/lpfc/extr_lpfc_nportdisc.c_lpfc_rcv_prlo_unmap_node.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function i810_do_init_pageflip
_i810_do_init_pageflip: ; @i810_do_init_pageflip
.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]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _DRM_DEBUG
ldr x9, [sp]
mov w8, #1
str w8, [x9]
ldr x8, [sp]
str xzr, [x8, #8]
ldr x8, [sp]
ldr x8, [x8, #8]
ldr x9, [sp]
ldr x9, [x9, #16]
str x8, [x9]
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 "\n"
.no_dead_strip _i810_do_init_pageflip
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function i810_do_init_pageflip
_i810_do_init_pageflip: ## @i810_do_init_pageflip
.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)
leaq L_.str(%rip), %rdi
callq _DRM_DEBUG
movq -16(%rbp), %rax
movl $1, (%rax)
movq -16(%rbp), %rax
movq $0, 8(%rax)
movq -16(%rbp), %rax
movq 8(%rax), %rcx
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq %rcx, (%rax)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\n"
.no_dead_strip _i810_do_init_pageflip
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/i810/extr_i810_dma.c_i810_do_init_pageflip.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vidioc_enum_input
_vidioc_enum_input: ; @vidioc_enum_input
.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, _V4L2_INPUT_TYPE_CAMERA@GOTPAGE
ldr x8, [x8, _V4L2_INPUT_TYPE_CAMERA@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
adrp x8, _USBVISION_NORMS@GOTPAGE
ldr x8, [x8, _USBVISION_NORMS@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, _usbvision_device_data@GOTPAGE
ldr x8, [x8, _usbvision_device_data@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur x2, [x29, #-32]
ldur x0, [x29, #-16]
bl _video_drvdata
str x0, [sp, #40]
ldur x8, [x29, #-32]
ldr w8, [x8]
ldr x9, [sp, #40]
ldr w9, [x9]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x8, _EINVAL@GOTPAGE
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
ldr w9, [x8]
mov w8, #0
subs w8, w8, w9
stur w8, [x29, #-4]
b LBB0_21
LBB0_2:
ldr x8, [sp, #40]
ldr x8, [x8, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldur x8, [x29, #-32]
ldr w8, [x8]
str w8, [sp, #36]
b LBB0_5
LBB0_4:
ldur x8, [x29, #-32]
ldr w8, [x8]
add w8, w8, #1
str w8, [sp, #36]
b LBB0_5
LBB0_5:
ldr w8, [sp, #36]
subs w8, w8, #0
; kill: def $x8 killed $w8
str x8, [sp] ; 8-byte Folded Spill
subs x8, x8, #3
cset w8, hi
tbnz w8, #0, LBB0_20
; %bb.6:
ldr x11, [sp] ; 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_7:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x9, [sp, #40]
ldr x9, [x9, #8]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #4
cset w8, ne
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
ldur x8, [x29, #-32]
ldr w0, [x8, #16]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #4
bl _strscpy
b LBB0_10
LBB0_9:
ldur x8, [x29, #-32]
ldr w0, [x8, #16]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov w2, #4
bl _strscpy
ldr x8, [sp, #16] ; 8-byte Folded Reload
adrp x9, _V4L2_INPUT_TYPE_TUNER@GOTPAGE
ldr x9, [x9, _V4L2_INPUT_TYPE_TUNER@GOTPAGEOFF]
ldr x9, [x9]
ldur x10, [x29, #-32]
str x9, [x10, #24]
ldr w9, [sp, #36]
ldur x10, [x29, #-32]
str w9, [x10, #4]
ldr x8, [x8]
ldur x9, [x29, #-32]
str x8, [x9, #8]
b LBB0_10
LBB0_10:
b LBB0_20
LBB0_11:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x9, [x9]
ldur x10, [x29, #-32]
str x9, [x10, #24]
ldr x8, [x8]
ldr x9, [sp, #40]
ldr x9, [x9, #8]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #4
cset w8, ne
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12:
ldur x8, [x29, #-32]
ldr w0, [x8, #16]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
mov w2, #4
bl _strscpy
b LBB0_14
LBB0_13:
ldur x8, [x29, #-32]
ldr w0, [x8, #16]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
mov w2, #4
bl _strscpy
b LBB0_14
LBB0_14:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x8]
ldur x9, [x29, #-32]
str x8, [x9, #8]
b LBB0_20
LBB0_15:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x9, [x9]
ldur x10, [x29, #-32]
str x9, [x10, #24]
ldr x8, [x8]
ldr x9, [sp, #40]
ldr x9, [x9, #8]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #4
cset w8, ne
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16:
ldur x8, [x29, #-32]
ldr w0, [x8, #16]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
mov w2, #4
bl _strscpy
b LBB0_18
LBB0_17:
ldur x8, [x29, #-32]
ldr w0, [x8, #16]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
mov w2, #4
bl _strscpy
b LBB0_18
LBB0_18:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x8]
ldur x9, [x29, #-32]
str x8, [x9, #8]
b LBB0_20
LBB0_19:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8]
ldur x9, [x29, #-32]
str x8, [x9, #24]
ldur x8, [x29, #-32]
ldr w0, [x8, #16]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
mov w2, #4
bl _strscpy
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x8]
ldur x9, [x29, #-32]
str x8, [x9, #8]
b LBB0_20
LBB0_20:
stur wzr, [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
.p2align 2
lJTI0_0:
.long LBB0_7-Ltmp0
.long LBB0_11-Ltmp0
.long LBB0_15-Ltmp0
.long LBB0_19-Ltmp0
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.comm _usbvision_device_data,8,3 ; @usbvision_device_data
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "White Video Input"
l_.str.1: ; @.str.1
.asciz "Television"
.comm _V4L2_INPUT_TYPE_TUNER,8,3 ; @V4L2_INPUT_TYPE_TUNER
.comm _USBVISION_NORMS,8,3 ; @USBVISION_NORMS
.comm _V4L2_INPUT_TYPE_CAMERA,8,3 ; @V4L2_INPUT_TYPE_CAMERA
l_.str.2: ; @.str.2
.asciz "Green Video Input"
l_.str.3: ; @.str.3
.asciz "Composite Video Input"
l_.str.4: ; @.str.4
.asciz "Yellow Video Input"
l_.str.5: ; @.str.5
.asciz "S-Video Input"
l_.str.6: ; @.str.6
.asciz "Red Video Input"
.no_dead_strip _vidioc_enum_input
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vidioc_enum_input
_vidioc_enum_input: ## @vidioc_enum_input
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movq -16(%rbp), %rdi
callq _video_drvdata
movq %rax, -40(%rbp)
movq -32(%rbp), %rax
movl (%rax), %eax
movq -40(%rbp), %rcx
cmpl (%rcx), %eax
jl LBB0_2
## %bb.1:
xorl %eax, %eax
movq _EINVAL@GOTPCREL(%rip), %rcx
subl (%rcx), %eax
movl %eax, -4(%rbp)
jmp LBB0_20
LBB0_2:
movq -40(%rbp), %rax
cmpq $0, 16(%rax)
je LBB0_4
## %bb.3:
movq -32(%rbp), %rax
movl (%rax), %eax
movl %eax, -44(%rbp)
jmp LBB0_5
LBB0_4:
movq -32(%rbp), %rax
movl (%rax), %eax
addl $1, %eax
movl %eax, -44(%rbp)
LBB0_5:
movl -44(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -56(%rbp) ## 8-byte Spill
subq $3, %rax
ja LBB0_19
## %bb.21:
movq -56(%rbp), %rax ## 8-byte Reload
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_6:
movq _usbvision_device_data@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -40(%rbp), %rcx
movq 8(%rcx), %rcx
cmpl $4, (%rax,%rcx,4)
jne LBB0_8
## %bb.7:
movq -32(%rbp), %rax
movl 16(%rax), %edi
leaq L_.str(%rip), %rsi
movl $4, %edx
callq _strscpy
jmp LBB0_9
LBB0_8:
movq -32(%rbp), %rax
movl 16(%rax), %edi
leaq L_.str.1(%rip), %rsi
movl $4, %edx
callq _strscpy
movq _V4L2_INPUT_TYPE_TUNER@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq -32(%rbp), %rax
movq %rcx, 24(%rax)
movl -44(%rbp), %ecx
movq -32(%rbp), %rax
movl %ecx, 4(%rax)
movq _USBVISION_NORMS@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq -32(%rbp), %rax
movq %rcx, 8(%rax)
LBB0_9:
jmp LBB0_19
LBB0_10:
movq _V4L2_INPUT_TYPE_CAMERA@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq -32(%rbp), %rax
movq %rcx, 24(%rax)
movq _usbvision_device_data@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -40(%rbp), %rcx
movq 8(%rcx), %rcx
cmpl $4, (%rax,%rcx,4)
jne LBB0_12
## %bb.11:
movq -32(%rbp), %rax
movl 16(%rax), %edi
leaq L_.str.2(%rip), %rsi
movl $4, %edx
callq _strscpy
jmp LBB0_13
LBB0_12:
movq -32(%rbp), %rax
movl 16(%rax), %edi
leaq L_.str.3(%rip), %rsi
movl $4, %edx
callq _strscpy
LBB0_13:
movq _USBVISION_NORMS@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq -32(%rbp), %rax
movq %rcx, 8(%rax)
jmp LBB0_19
LBB0_14:
movq _V4L2_INPUT_TYPE_CAMERA@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq -32(%rbp), %rax
movq %rcx, 24(%rax)
movq _usbvision_device_data@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -40(%rbp), %rcx
movq 8(%rcx), %rcx
cmpl $4, (%rax,%rcx,4)
jne LBB0_16
## %bb.15:
movq -32(%rbp), %rax
movl 16(%rax), %edi
leaq L_.str.4(%rip), %rsi
movl $4, %edx
callq _strscpy
jmp LBB0_17
LBB0_16:
movq -32(%rbp), %rax
movl 16(%rax), %edi
leaq L_.str.5(%rip), %rsi
movl $4, %edx
callq _strscpy
LBB0_17:
movq _USBVISION_NORMS@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq -32(%rbp), %rax
movq %rcx, 8(%rax)
jmp LBB0_19
LBB0_18:
movq _V4L2_INPUT_TYPE_CAMERA@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq -32(%rbp), %rax
movq %rcx, 24(%rax)
movq -32(%rbp), %rax
movl 16(%rax), %edi
leaq L_.str.6(%rip), %rsi
movl $4, %edx
callq _strscpy
movq _USBVISION_NORMS@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq -32(%rbp), %rax
movq %rcx, 8(%rax)
LBB0_19:
movl $0, -4(%rbp)
LBB0_20:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
LJTI0_0:
.long L0_0_set_6
.long L0_0_set_10
.long L0_0_set_14
.long L0_0_set_18
.end_data_region
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.comm _usbvision_device_data,8,3 ## @usbvision_device_data
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "White Video Input"
L_.str.1: ## @.str.1
.asciz "Television"
.comm _V4L2_INPUT_TYPE_TUNER,8,3 ## @V4L2_INPUT_TYPE_TUNER
.comm _USBVISION_NORMS,8,3 ## @USBVISION_NORMS
.comm _V4L2_INPUT_TYPE_CAMERA,8,3 ## @V4L2_INPUT_TYPE_CAMERA
L_.str.2: ## @.str.2
.asciz "Green Video Input"
L_.str.3: ## @.str.3
.asciz "Composite Video Input"
L_.str.4: ## @.str.4
.asciz "Yellow Video Input"
L_.str.5: ## @.str.5
.asciz "S-Video Input"
L_.str.6: ## @.str.6
.asciz "Red Video Input"
.no_dead_strip _vidioc_enum_input
.subsections_via_symbols
| AnghaBench/linux/drivers/media/usb/usbvision/extr_usbvision-video.c_vidioc_enum_input.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function qmp_cdev_get_max_state
_qmp_cdev_get_max_state: ; @qmp_cdev_get_max_state
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str x1, [sp]
adrp x8, _qmp_cdev_init_state@GOTPAGE
ldr x8, [x8, _qmp_cdev_init_state@GOTPAGEOFF]
ldr x8, [x8]
ldr x9, [sp]
str x8, [x9]
mov w0, #0
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.comm _qmp_cdev_init_state,8,3 ; @qmp_cdev_init_state
.no_dead_strip _qmp_cdev_get_max_state
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function qmp_cdev_get_max_state
_qmp_cdev_get_max_state: ## @qmp_cdev_get_max_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)
movq %rsi, -16(%rbp)
movq _qmp_cdev_init_state@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq -16(%rbp), %rax
movq %rcx, (%rax)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _qmp_cdev_init_state,8,3 ## @qmp_cdev_init_state
.no_dead_strip _qmp_cdev_get_max_state
.subsections_via_symbols
| AnghaBench/linux/drivers/soc/qcom/extr_qcom_aoss.c_qmp_cdev_get_max_state.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dasd_decrease_state
_dasd_decrease_state: ; @dasd_decrease_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, _DASD_STATE_BASIC@GOTPAGE
ldr x8, [x8, _DASD_STATE_BASIC@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
stur x0, [x29, #-8]
stur wzr, [x29, #-12]
ldur x8, [x29, #-8]
ldr x8, [x8]
adrp x9, _DASD_STATE_ONLINE@GOTPAGE
ldr x9, [x9, _DASD_STATE_ONLINE@GOTPAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
adrp x9, _DASD_STATE_READY@GOTPAGE
ldr x9, [x9, _DASD_STATE_READY@GOTPAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
cset w8, gt
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
ldur x0, [x29, #-8]
bl _dasd_state_online_to_ready
stur w0, [x29, #-12]
b LBB0_3
LBB0_3:
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_4
LBB0_4:
ldur x8, [x29, #-8]
ldr x8, [x8]
adrp x9, _DASD_STATE_READY@GOTPAGE
ldr x9, [x9, _DASD_STATE_READY@GOTPAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_5
LBB0_5:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldr x9, [x9]
subs x8, x8, x9
cset w8, gt
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
ldur x0, [x29, #-8]
bl _dasd_state_ready_to_basic
stur w0, [x29, #-12]
b LBB0_7
LBB0_7:
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_8
LBB0_8:
ldur x8, [x29, #-8]
ldr x8, [x8]
adrp x9, _DASD_STATE_UNFMT@GOTPAGE
ldr x9, [x9, _DASD_STATE_UNFMT@GOTPAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_9
LBB0_9:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldr x9, [x9]
subs x8, x8, x9
cset w8, gt
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
ldur x0, [x29, #-8]
bl _dasd_state_unfmt_to_basic
stur w0, [x29, #-12]
b LBB0_11
LBB0_11:
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_15
b LBB0_12
LBB0_12:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr x9, [x9]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_15
b LBB0_13
LBB0_13:
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
adrp x9, _DASD_STATE_KNOWN@GOTPAGE
ldr x9, [x9, _DASD_STATE_KNOWN@GOTPAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
cset w8, gt
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14:
ldur x0, [x29, #-8]
bl _dasd_state_basic_to_known
stur w0, [x29, #-12]
b LBB0_15
LBB0_15:
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_19
b LBB0_16
LBB0_16:
ldur x8, [x29, #-8]
ldr x8, [x8]
adrp x9, _DASD_STATE_KNOWN@GOTPAGE
ldr x9, [x9, _DASD_STATE_KNOWN@GOTPAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_19
b LBB0_17
LBB0_17:
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
adrp x9, _DASD_STATE_NEW@GOTPAGE
ldr x9, [x9, _DASD_STATE_NEW@GOTPAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
cset w8, gt
tbnz w8, #0, LBB0_19
b LBB0_18
LBB0_18:
ldur x0, [x29, #-8]
bl _dasd_state_known_to_new
stur w0, [x29, #-12]
b LBB0_19
LBB0_19:
ldur w0, [x29, #-12]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.comm _DASD_STATE_ONLINE,8,3 ; @DASD_STATE_ONLINE
.comm _DASD_STATE_READY,8,3 ; @DASD_STATE_READY
.comm _DASD_STATE_BASIC,8,3 ; @DASD_STATE_BASIC
.comm _DASD_STATE_UNFMT,8,3 ; @DASD_STATE_UNFMT
.comm _DASD_STATE_KNOWN,8,3 ; @DASD_STATE_KNOWN
.comm _DASD_STATE_NEW,8,3 ; @DASD_STATE_NEW
.no_dead_strip _dasd_decrease_state
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dasd_decrease_state
_dasd_decrease_state: ## @dasd_decrease_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 $0, -12(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rax
movq _DASD_STATE_ONLINE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_3
## %bb.1:
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq _DASD_STATE_READY@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jg LBB0_3
## %bb.2:
movq -8(%rbp), %rdi
callq _dasd_state_online_to_ready
movl %eax, -12(%rbp)
LBB0_3:
cmpl $0, -12(%rbp)
jne LBB0_7
## %bb.4:
movq -8(%rbp), %rax
movq (%rax), %rax
movq _DASD_STATE_READY@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_7
## %bb.5:
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq _DASD_STATE_BASIC@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jg LBB0_7
## %bb.6:
movq -8(%rbp), %rdi
callq _dasd_state_ready_to_basic
movl %eax, -12(%rbp)
LBB0_7:
cmpl $0, -12(%rbp)
jne LBB0_11
## %bb.8:
movq -8(%rbp), %rax
movq (%rax), %rax
movq _DASD_STATE_UNFMT@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_11
## %bb.9:
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq _DASD_STATE_BASIC@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jg LBB0_11
## %bb.10:
movq -8(%rbp), %rdi
callq _dasd_state_unfmt_to_basic
movl %eax, -12(%rbp)
LBB0_11:
cmpl $0, -12(%rbp)
jne LBB0_15
## %bb.12:
movq -8(%rbp), %rax
movq (%rax), %rax
movq _DASD_STATE_BASIC@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_15
## %bb.13:
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq _DASD_STATE_KNOWN@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jg LBB0_15
## %bb.14:
movq -8(%rbp), %rdi
callq _dasd_state_basic_to_known
movl %eax, -12(%rbp)
LBB0_15:
cmpl $0, -12(%rbp)
jne LBB0_19
## %bb.16:
movq -8(%rbp), %rax
movq (%rax), %rax
movq _DASD_STATE_KNOWN@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_19
## %bb.17:
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq _DASD_STATE_NEW@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jg LBB0_19
## %bb.18:
movq -8(%rbp), %rdi
callq _dasd_state_known_to_new
movl %eax, -12(%rbp)
LBB0_19:
movl -12(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DASD_STATE_ONLINE,8,3 ## @DASD_STATE_ONLINE
.comm _DASD_STATE_READY,8,3 ## @DASD_STATE_READY
.comm _DASD_STATE_BASIC,8,3 ## @DASD_STATE_BASIC
.comm _DASD_STATE_UNFMT,8,3 ## @DASD_STATE_UNFMT
.comm _DASD_STATE_KNOWN,8,3 ## @DASD_STATE_KNOWN
.comm _DASD_STATE_NEW,8,3 ## @DASD_STATE_NEW
.no_dead_strip _dasd_decrease_state
.subsections_via_symbols
| AnghaBench/linux/drivers/s390/block/extr_dasd.c_dasd_decrease_state.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function zx_hdmi_hw_disable
_zx_hdmi_hw_disable: ; @zx_hdmi_hw_disable
.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 x8, _INTR1_MASK@GOTPAGE
ldr x8, [x8, _INTR1_MASK@GOTPAGEOFF]
ldr w1, [x8]
adrp x8, _INTR1_MONITOR_DETECT@GOTPAGE
ldr x8, [x8, _INTR1_MONITOR_DETECT@GOTPAGEOFF]
ldr w2, [x8]
mov w3, #0
str w3, [sp, #4] ; 4-byte Folded Spill
bl _hdmi_writeb_mask
ldr x0, [sp, #8]
adrp x8, _P2T_CTRL@GOTPAGE
ldr x8, [x8, _P2T_CTRL@GOTPAGEOFF]
ldr w1, [x8]
adrp x8, _P2T_DC_PKT_EN@GOTPAGE
ldr x8, [x8, _P2T_DC_PKT_EN@GOTPAGEOFF]
ldr w2, [x8]
ldr w3, [x8]
bl _hdmi_writeb_mask
ldr w3, [sp, #4] ; 4-byte Folded Reload
ldr x0, [sp, #8]
adrp x8, _FUNC_SEL@GOTPAGE
ldr x8, [x8, _FUNC_SEL@GOTPAGEOFF]
ldr w1, [x8]
adrp x8, _FUNC_HDMI_EN@GOTPAGE
ldr x8, [x8, _FUNC_HDMI_EN@GOTPAGEOFF]
ldr w2, [x8]
bl _hdmi_writeb_mask
ldr w3, [sp, #4] ; 4-byte Folded Reload
ldr x0, [sp, #8]
adrp x8, _CLKPWD@GOTPAGE
ldr x8, [x8, _CLKPWD@GOTPAGEOFF]
ldr w1, [x8]
adrp x8, _CLKPWD_PDIDCK@GOTPAGE
ldr x8, [x8, _CLKPWD_PDIDCK@GOTPAGEOFF]
ldr w2, [x8]
bl _hdmi_writeb_mask
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _INTR1_MASK,4,2 ; @INTR1_MASK
.comm _INTR1_MONITOR_DETECT,4,2 ; @INTR1_MONITOR_DETECT
.comm _P2T_CTRL,4,2 ; @P2T_CTRL
.comm _P2T_DC_PKT_EN,4,2 ; @P2T_DC_PKT_EN
.comm _FUNC_SEL,4,2 ; @FUNC_SEL
.comm _FUNC_HDMI_EN,4,2 ; @FUNC_HDMI_EN
.comm _CLKPWD,4,2 ; @CLKPWD
.comm _CLKPWD_PDIDCK,4,2 ; @CLKPWD_PDIDCK
.no_dead_strip _zx_hdmi_hw_disable
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function zx_hdmi_hw_disable
_zx_hdmi_hw_disable: ## @zx_hdmi_hw_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 $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
movq _INTR1_MASK@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _INTR1_MONITOR_DETECT@GOTPCREL(%rip), %rax
movl (%rax), %edx
xorl %ecx, %ecx
callq _hdmi_writeb_mask
movq -8(%rbp), %rdi
movq _P2T_CTRL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _P2T_DC_PKT_EN@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _P2T_DC_PKT_EN@GOTPCREL(%rip), %rax
movl (%rax), %ecx
callq _hdmi_writeb_mask
movq -8(%rbp), %rdi
movq _FUNC_SEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _FUNC_HDMI_EN@GOTPCREL(%rip), %rax
movl (%rax), %edx
xorl %ecx, %ecx
callq _hdmi_writeb_mask
movq -8(%rbp), %rdi
movq _CLKPWD@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _CLKPWD_PDIDCK@GOTPCREL(%rip), %rax
movl (%rax), %edx
xorl %ecx, %ecx
callq _hdmi_writeb_mask
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _INTR1_MASK,4,2 ## @INTR1_MASK
.comm _INTR1_MONITOR_DETECT,4,2 ## @INTR1_MONITOR_DETECT
.comm _P2T_CTRL,4,2 ## @P2T_CTRL
.comm _P2T_DC_PKT_EN,4,2 ## @P2T_DC_PKT_EN
.comm _FUNC_SEL,4,2 ## @FUNC_SEL
.comm _FUNC_HDMI_EN,4,2 ## @FUNC_HDMI_EN
.comm _CLKPWD,4,2 ## @CLKPWD
.comm _CLKPWD_PDIDCK,4,2 ## @CLKPWD_PDIDCK
.no_dead_strip _zx_hdmi_hw_disable
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/zte/extr_zx_hdmi.c_zx_hdmi_hw_disable.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ui_companion_driver_get_ident ; -- Begin function ui_companion_driver_get_ident
.p2align 2
_ui_companion_driver_get_ident: ; @ui_companion_driver_get_ident
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
adrp x8, _ui_companion@GOTPAGE
ldr x8, [x8, _ui_companion@GOTPAGEOFF]
ldr x8, [x8]
str x8, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
str x8, [sp, #8]
b LBB0_3
LBB0_2:
ldr x8, [sp]
ldr x8, [x8]
str x8, [sp, #8]
b LBB0_3
LBB0_3:
ldr x0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.comm _ui_companion,8,3 ; @ui_companion
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "null"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ui_companion_driver_get_ident ## -- Begin function ui_companion_driver_get_ident
.p2align 4, 0x90
_ui_companion_driver_get_ident: ## @ui_companion_driver_get_ident
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _ui_companion@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB0_3
LBB0_2:
movq -16(%rbp), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
LBB0_3:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ui_companion,8,3 ## @ui_companion
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "null"
.subsections_via_symbols
| AnghaBench/RetroArch/extr_retroarch.c_ui_companion_driver_get_ident.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
sub sp, sp, #736
mov x9, x1
adrp x8, _CURL_SOCKET_BAD@GOTPAGE
ldr x8, [x8, _CURL_SOCKET_BAD@GOTPAGEOFF]
str x8, [sp, #160] ; 8-byte Folded Spill
adrp x10, _socket_domain@GOTPAGE
ldr x10, [x10, _socket_domain@GOTPAGEOFF]
str x10, [sp, #168] ; 8-byte Folded Spill
adrp x10, _all_sockets@GOTPAGE
ldr x10, [x10, _all_sockets@GOTPAGEOFF]
str x10, [sp, #176] ; 8-byte Folded Spill
adrp x10, _num_sockets@GOTPAGE
ldr x10, [x10, _num_sockets@GOTPAGEOFF]
str x10, [sp, #184] ; 8-byte Folded Spill
adrp x10, _TRUE@GOTPAGE
ldr x10, [x10, _TRUE@GOTPAGEOFF]
str x10, [sp, #192] ; 8-byte Folded Spill
adrp x10, _got_exit_signal@GOTPAGE
ldr x10, [x10, _got_exit_signal@GOTPAGEOFF]
str x10, [sp, #200] ; 8-byte Folded Spill
adrp x10, _serverlogslocked@GOTPAGE
ldr x10, [x10, _serverlogslocked@GOTPAGEOFF]
str x10, [sp, #208] ; 8-byte Folded Spill
adrp x10, _SOCKERRNO@GOTPAGE
ldr x10, [x10, _SOCKERRNO@GOTPAGEOFF]
str x10, [sp, #216] ; 8-byte Folded Spill
adrp x10, ___stack_chk_guard@GOTPAGE
ldr x10, [x10, ___stack_chk_guard@GOTPAGEOFF]
ldr x10, [x10]
stur x10, [x29, #-24]
mov w1, #0
stur wzr, [x29, #-40]
stur w0, [x29, #-44]
stur x9, [x29, #-56]
ldr w8, [x8]
str w8, [sp, #468]
str wzr, [sp, #464]
adrp x8, _DEFAULT_PORT@GOTPAGE
ldr x8, [x8, _DEFAULT_PORT@GOTPAGEOFF]
ldrh w8, [x8]
strh w8, [sp, #458]
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
str x8, [sp, #448]
str wzr, [sp, #372]
mov w8, #1
str w8, [sp, #364]
adrp x8, l_.str.1@PAGE
add x8, x8, l_.str.1@PAGEOFF
str x8, [sp, #344]
adrp x8, l_.str.2@PAGE
add x8, x8, l_.str.2@PAGEOFF
str x8, [sp, #336]
sub x8, x29, #35
str x8, [sp, #328]
add x0, sp, #376
mov w2, #72
bl _memset
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-44]
ldr w9, [sp, #364]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_49
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-56]
ldrsw x9, [sp, #364]
ldr x1, [x8, x9, lsl #3]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _puts
stur wzr, [x29, #-40]
b LBB0_147
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-56]
ldrsw x9, [sp, #364]
ldr x1, [x8, x9, lsl #3]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #364]
add w8, w8, #1
str w8, [sp, #364]
ldur w8, [x29, #-44]
ldr w9, [sp, #364]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-56]
ldrsw x9, [sp, #364]
mov x10, x9
add w10, w10, #1
str w10, [sp, #364]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #448]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
b LBB0_47
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-56]
ldrsw x9, [sp, #364]
ldr x1, [x8, x9, lsl #3]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #364]
add w8, w8, #1
str w8, [sp, #364]
ldur w8, [x29, #-44]
ldr w9, [sp, #364]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-56]
ldrsw x9, [sp, #364]
mov x10, x9
add w10, w10, #1
str w10, [sp, #364]
ldr x8, [x8, x9, lsl #3]
adrp x9, _serverlogfile@GOTPAGE
ldr x9, [x9, _serverlogfile@GOTPAGEOFF]
str x8, [x9]
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
b LBB0_46
LBB0_12: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-56]
ldrsw x9, [sp, #364]
ldr x1, [x8, x9, lsl #3]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #192] ; 8-byte Folded Reload
ldr w9, [sp, #364]
add w9, w9, #1
str w9, [sp, #364]
ldr x8, [x8]
adrp x9, _use_gopher@GOTPAGE
ldr x9, [x9, _use_gopher@GOTPAGEOFF]
str x8, [x9]
adrp x9, _end_of_headers@GOTPAGE
ldr x9, [x9, _end_of_headers@GOTPAGEOFF]
adrp x8, l_.str.8@PAGE
add x8, x8, l_.str.8@PAGEOFF
str x8, [x9]
b LBB0_45
LBB0_14: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-56]
ldrsw x9, [sp, #364]
ldr x1, [x8, x9, lsl #3]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_16
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_1 Depth=1
ldr x9, [sp, #168] ; 8-byte Folded Reload
adrp x8, l_.str.2@PAGE
add x8, x8, l_.str.2@PAGEOFF
str x8, [sp, #336]
mov w8, #130
str w8, [x9]
sub x8, x29, #35
str x8, [sp, #328]
ldr w8, [sp, #364]
add w8, w8, #1
str w8, [sp, #364]
b LBB0_44
LBB0_16: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-56]
ldrsw x9, [sp, #364]
ldr x1, [x8, x9, lsl #3]
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #364]
add w8, w8, #1
str w8, [sp, #364]
b LBB0_43
LBB0_18: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-56]
ldrsw x9, [sp, #364]
ldr x1, [x8, x9, lsl #3]
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_22
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #364]
add w8, w8, #1
str w8, [sp, #364]
ldur w8, [x29, #-44]
ldr w9, [sp, #364]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_21
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #364]
add w8, w8, #1
str w8, [sp, #364]
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_1 Depth=1
b LBB0_42
LBB0_22: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-56]
ldrsw x9, [sp, #364]
ldr x1, [x8, x9, lsl #3]
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_30
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #364]
add w8, w8, #1
str w8, [sp, #364]
ldur w8, [x29, #-44]
ldr w9, [sp, #364]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_29
b LBB0_24
LBB0_24: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-56]
ldrsw x9, [sp, #364]
ldr x0, [x8, x9, lsl #3]
add x1, sp, #312
mov w2, #10
bl _strtoul
str x0, [sp, #304]
ldr x8, [sp, #312]
str x8, [sp, #152] ; 8-byte Folded Spill
ldur x8, [x29, #-56]
ldrsw x9, [sp, #364]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #144] ; 8-byte Folded Spill
ldur x8, [x29, #-56]
ldrsw x9, [sp, #364]
ldr x0, [x8, x9, lsl #3]
bl _strlen
ldr x9, [sp, #144] ; 8-byte Folded Reload
ldr x8, [sp, #152] ; 8-byte Folded Reload
add x9, x9, w0, sxtw
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_27
b LBB0_25
LBB0_25: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #304]
subs x8, x8, #1025
cset w8, lo
tbnz w8, #0, LBB0_27
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #304]
subs x8, x8, #16, lsl #12 ; =65536
cset w8, lo
tbnz w8, #0, LBB0_28
b LBB0_27
LBB0_27:
adrp x8, _stderr@GOTPAGE
ldr x8, [x8, _stderr@GOTPAGEOFF]
ldr w0, [x8]
ldur x8, [x29, #-56]
ldrsw x9, [sp, #364]
ldr x8, [x8, x9, lsl #3]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.13@PAGE
add x1, x1, l_.str.13@PAGEOFF
bl _fprintf
stur wzr, [x29, #-40]
b LBB0_147
LBB0_28: ; in Loop: Header=BB0_1 Depth=1
ldr x0, [sp, #304]
bl _curlx_ultous
strh w0, [sp, #458]
ldr w8, [sp, #364]
add w8, w8, #1
str w8, [sp, #364]
b LBB0_29
LBB0_29: ; in Loop: Header=BB0_1 Depth=1
b LBB0_41
LBB0_30: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-56]
ldrsw x9, [sp, #364]
ldr x1, [x8, x9, lsl #3]
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_34
b LBB0_31
LBB0_31: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #364]
add w8, w8, #1
str w8, [sp, #364]
ldur w8, [x29, #-44]
ldr w9, [sp, #364]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_33
b LBB0_32
LBB0_32: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-56]
ldrsw x9, [sp, #364]
ldr x8, [x8, x9, lsl #3]
adrp x9, _path@GOTPAGE
ldr x9, [x9, _path@GOTPAGEOFF]
str x8, [x9]
ldr w8, [sp, #364]
add w8, w8, #1
str w8, [sp, #364]
b LBB0_33
LBB0_33: ; in Loop: Header=BB0_1 Depth=1
b LBB0_40
LBB0_34: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-56]
ldrsw x9, [sp, #364]
ldr x1, [x8, x9, lsl #3]
adrp x0, l_.str.15@PAGE
add x0, x0, l_.str.15@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_38
b LBB0_35
LBB0_35: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #364]
add w8, w8, #1
str w8, [sp, #364]
ldur w8, [x29, #-44]
ldr w9, [sp, #364]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_37
b LBB0_36
LBB0_36: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #192] ; 8-byte Folded Reload
ldur x9, [x29, #-56]
ldrsw x10, [sp, #364]
ldr x9, [x9, x10, lsl #3]
str x9, [sp, #344]
ldr w9, [sp, #364]
add w9, w9, #1
str w9, [sp, #364]
ldr x8, [x8]
adrp x9, _is_proxy@GOTPAGE
ldr x9, [x9, _is_proxy@GOTPAGEOFF]
str x8, [x9]
ldr x8, [sp, #344]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
bl _logmsg
b LBB0_37
LBB0_37: ; in Loop: Header=BB0_1 Depth=1
b LBB0_39
LBB0_38:
adrp x0, l_.str.17@PAGE
add x0, x0, l_.str.17@PAGEOFF
bl _puts
stur wzr, [x29, #-40]
b LBB0_147
LBB0_39: ; in Loop: Header=BB0_1 Depth=1
b LBB0_40
LBB0_40: ; in Loop: Header=BB0_1 Depth=1
b LBB0_41
LBB0_41: ; in Loop: Header=BB0_1 Depth=1
b LBB0_42
LBB0_42: ; in Loop: Header=BB0_1 Depth=1
b LBB0_43
LBB0_43: ; in Loop: Header=BB0_1 Depth=1
b LBB0_44
LBB0_44: ; in Loop: Header=BB0_1 Depth=1
b LBB0_45
LBB0_45: ; in Loop: Header=BB0_1 Depth=1
b LBB0_46
LBB0_46: ; in Loop: Header=BB0_1 Depth=1
b LBB0_47
LBB0_47: ; in Loop: Header=BB0_1 Depth=1
b LBB0_48
LBB0_48: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_49:
ldrh w3, [sp, #458]
sub x0, x29, #35
mov w1, #11
adrp x2, l_.str.18@PAGE
add x2, x2, l_.str.18@PAGEOFF
bl _msnprintf
bl _install_signal_handlers
bl _getpid
ldr x8, [sp, #168] ; 8-byte Folded Reload
str x0, [sp, #352]
ldr w0, [x8]
adrp x8, _SOCK_STREAM@GOTPAGE
ldr x8, [x8, _SOCK_STREAM@GOTPAGEOFF]
ldr w1, [x8]
mov w2, #0
bl _socket
ldr x11, [sp, #176] ; 8-byte Folded Reload
ldr x10, [sp, #184] ; 8-byte Folded Reload
ldr x8, [sp, #160] ; 8-byte Folded Reload
str w0, [sp, #468]
ldr w9, [sp, #468]
ldr x11, [x11]
str w9, [x11]
mov w9, #1
str w9, [x10]
ldr w8, [x8]
ldr w9, [sp, #468]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_51
b LBB0_50
LBB0_50:
ldr x8, [sp, #216] ; 8-byte Folded Reload
ldr w8, [x8]
str w8, [sp, #368]
ldr w9, [sp, #368]
; implicit-def: $x8
mov x8, x9
str x8, [sp, #136] ; 8-byte Folded Spill
ldr w0, [sp, #368]
bl _strerror
ldr x8, [sp, #136] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x0
str x8, [x9, #8]
adrp x0, l_.str.19@PAGE
add x0, x0, l_.str.19@PAGEOFF
bl _logmsg
b LBB0_129
LBB0_51:
add x3, sp, #460
mov w8, #1
str w8, [sp, #460]
ldr w0, [sp, #468]
adrp x8, _SOL_SOCKET@GOTPAGE
ldr x8, [x8, _SOL_SOCKET@GOTPAGEOFF]
ldr w1, [x8]
adrp x8, _SO_REUSEADDR@GOTPAGE
ldr x8, [x8, _SO_REUSEADDR@GOTPAGEOFF]
ldr w2, [x8]
mov w4, #4
bl _setsockopt
mov x8, #0
subs x8, x8, x0
cset w8, eq
tbnz w8, #0, LBB0_53
b LBB0_52
LBB0_52:
ldr x8, [sp, #216] ; 8-byte Folded Reload
ldr w8, [x8]
str w8, [sp, #368]
ldr w9, [sp, #368]
; implicit-def: $x8
mov x8, x9
str x8, [sp, #128] ; 8-byte Folded Spill
ldr w0, [sp, #368]
bl _strerror
ldr x8, [sp, #128] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x0
str x8, [x9, #8]
adrp x0, l_.str.20@PAGE
add x0, x0, l_.str.20@PAGEOFF
bl _logmsg
b LBB0_129
LBB0_53:
ldr x8, [sp, #192] ; 8-byte Folded Reload
ldr w0, [sp, #468]
ldr x1, [x8]
bl _curlx_nonblock
mov x8, #0
subs x8, x8, x0
cset w8, eq
tbnz w8, #0, LBB0_55
b LBB0_54
LBB0_54:
ldr x8, [sp, #216] ; 8-byte Folded Reload
ldr w8, [x8]
str w8, [sp, #368]
ldr w9, [sp, #368]
; implicit-def: $x8
mov x8, x9
str x8, [sp, #120] ; 8-byte Folded Spill
ldr w0, [sp, #368]
bl _strerror
ldr x8, [sp, #120] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x0
str x8, [x9, #8]
adrp x0, l_.str.21@PAGE
add x0, x0, l_.str.21@PAGEOFF
bl _logmsg
b LBB0_129
LBB0_55:
ldr x8, [sp, #168] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #130
cset w8, ne
tbnz w8, #0, LBB0_57
b LBB0_56
LBB0_56:
add x8, sp, #472
str x8, [sp, #104] ; 8-byte Folded Spill
add x0, x8, #152
mov w1, #0
mov w2, #72
str w2, [sp, #116] ; 4-byte Folded Spill
bl _memset
mov w8, #130
str w8, [sp, #624]
adrp x8, _INADDR_ANY@GOTPAGE
ldr x8, [x8, _INADDR_ANY@GOTPAGEOFF]
ldr w8, [x8]
str w8, [sp, #688]
ldrh w0, [sp, #458]
bl _htons
ldr x1, [sp, #104] ; 8-byte Folded Reload
ldr w2, [sp, #116] ; 4-byte Folded Reload
str x0, [sp, #680]
ldr w0, [sp, #468]
bl _bind
str w0, [sp, #372]
b LBB0_57
LBB0_57:
ldr w9, [sp, #372]
mov w8, #0
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_59
b LBB0_58
LBB0_58:
ldr x8, [sp, #216] ; 8-byte Folded Reload
ldr w8, [x8]
str w8, [sp, #368]
ldr x8, [sp, #328]
str x8, [sp, #88] ; 8-byte Folded Spill
ldr w9, [sp, #368]
; implicit-def: $x8
mov x8, x9
str x8, [sp, #96] ; 8-byte Folded Spill
ldr w0, [sp, #368]
bl _strerror
ldr x10, [sp, #88] ; 8-byte Folded Reload
ldr x8, [sp, #96] ; 8-byte Folded Reload
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
; implicit-def: $x8
mov x8, x0
str x8, [x9, #16]
adrp x0, l_.str.22@PAGE
add x0, x0, l_.str.22@PAGEOFF
bl _logmsg
b LBB0_129
LBB0_59:
adrp x8, _use_gopher@GOTPAGE
ldr x8, [x8, _use_gopher@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
and w10, w8, #0x1
adrp x9, l_.str.25@PAGE
add x9, x9, l_.str.25@PAGEOFF
adrp x8, l_.str.24@PAGE
add x8, x8, l_.str.24@PAGEOFF
ands w10, w10, #0x1
csel x11, x8, x9, ne
ldr x10, [sp, #336]
ldr x8, [sp, #328]
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.23@PAGE
add x0, x0, l_.str.23@PAGEOFF
bl _logmsg
ldr w0, [sp, #468]
mov w1, #5
bl _listen
str w0, [sp, #372]
ldr w9, [sp, #372]
mov w8, #0
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_61
b LBB0_60
LBB0_60:
ldr x8, [sp, #216] ; 8-byte Folded Reload
ldr w8, [x8]
str w8, [sp, #368]
ldr w9, [sp, #368]
; implicit-def: $x8
mov x8, x9
str x8, [sp, #80] ; 8-byte Folded Spill
ldr w0, [sp, #368]
bl _strerror
ldr x8, [sp, #80] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x0
str x8, [x9, #8]
adrp x0, l_.str.26@PAGE
add x0, x0, l_.str.26@PAGEOFF
bl _logmsg
b LBB0_129
LBB0_61:
ldr x0, [sp, #448]
bl _write_pidfile
str w0, [sp, #464]
ldr w8, [sp, #464]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_63
b LBB0_62
LBB0_62:
b LBB0_129
LBB0_63:
add x0, sp, #376
bl _init_httprequest
b LBB0_64
LBB0_64: ; =>This Loop Header: Depth=1
; Child Loop BB0_65 Depth 2
; Child Loop BB0_73 Depth 2
; Child Loop BB0_81 Depth 2
; Child Loop BB0_94 Depth 2
; Child Loop BB0_100 Depth 2
; Child Loop BB0_105 Depth 3
ldr x8, [sp, #184] ; 8-byte Folded Reload
adrp x9, l___const.main.timeout@PAGE
add x9, x9, l___const.main.timeout@PAGEOFF
ldr q0, [x9]
str q0, [sp, #272]
mov w9, #-1
str w9, [sp, #268]
ldr w8, [x8]
subs w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x8, w8
str x8, [sp, #320]
b LBB0_65
LBB0_65: ; Parent Loop BB0_64 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #320]
subs x8, x8, #1
cset w8, lo
tbnz w8, #0, LBB0_70
b LBB0_66
LBB0_66: ; in Loop: Header=BB0_65 Depth=2
ldr x9, [sp, #176] ; 8-byte Folded Reload
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldr w8, [x8]
ldr x9, [x9]
ldr x10, [sp, #320]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_68
b LBB0_67
LBB0_67: ; in Loop: Header=BB0_65 Depth=2
ldr x9, [sp, #184] ; 8-byte Folded Reload
ldr x8, [sp, #176] ; 8-byte Folded Reload
ldr x10, [x8]
ldr x11, [sp, #320]
add x10, x10, x11, lsl #2
str x10, [sp, #256]
ldr x10, [x8]
ldr x11, [sp, #320]
add x10, x10, x11, lsl #2
add x10, x10, #4
str x10, [sp, #248]
ldr x8, [x8]
ldrsw x9, [x9]
add x8, x8, x9, lsl #2
str x8, [sp, #240]
ldr x0, [sp, #256]
ldr x1, [sp, #248]
ldr x8, [sp, #240]
ldr x9, [sp, #248]
subs x8, x8, x9
mov x2, x8
bl _memmove
ldr x9, [sp, #184] ; 8-byte Folded Reload
ldr w8, [x9]
subs w8, w8, #1
str w8, [x9]
b LBB0_68
LBB0_68: ; in Loop: Header=BB0_65 Depth=2
b LBB0_69
LBB0_69: ; in Loop: Header=BB0_65 Depth=2
ldr x8, [sp, #320]
subs x8, x8, #1
str x8, [sp, #320]
b LBB0_65
LBB0_70: ; in Loop: Header=BB0_64 Depth=1
ldr x8, [sp, #200] ; 8-byte Folded Reload
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_72
b LBB0_71
LBB0_71:
b LBB0_129
LBB0_72: ; in Loop: Header=BB0_64 Depth=1
add x0, sp, #300
bl _FD_ZERO
add x0, sp, #296
bl _FD_ZERO
str xzr, [sp, #320]
b LBB0_73
LBB0_73: ; Parent Loop BB0_64 Depth=1
; => This Inner Loop Header: Depth=2
ldr x9, [sp, #184] ; 8-byte Folded Reload
ldr x8, [sp, #320]
ldrsw x9, [x9]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_78
b LBB0_74
LBB0_74: ; in Loop: Header=BB0_73 Depth=2
ldr x8, [sp, #176] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x9, [sp, #320]
ldr w0, [x8, x9, lsl #2]
add x1, sp, #300
bl _FD_SET
ldr x8, [sp, #176] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x9, [sp, #320]
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #268]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_76
b LBB0_75
LBB0_75: ; in Loop: Header=BB0_73 Depth=2
ldr x8, [sp, #176] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x9, [sp, #320]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #268]
b LBB0_76
LBB0_76: ; in Loop: Header=BB0_73 Depth=2
b LBB0_77
LBB0_77: ; in Loop: Header=BB0_73 Depth=2
ldr x8, [sp, #320]
add x8, x8, #1
str x8, [sp, #320]
b LBB0_73
LBB0_78: ; in Loop: Header=BB0_64 Depth=1
ldr x8, [sp, #200] ; 8-byte Folded Reload
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_80
b LBB0_79
LBB0_79:
b LBB0_129
LBB0_80: ; in Loop: Header=BB0_64 Depth=1
b LBB0_81
LBB0_81: ; Parent Loop BB0_64 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #268]
add w0, w8, #1
add x1, sp, #300
add x2, sp, #296
mov x3, #0
add x4, sp, #272
bl _select
str w0, [sp, #372]
b LBB0_82
LBB0_82: ; in Loop: Header=BB0_81 Depth=2
ldr w8, [sp, #372]
subs w8, w8, #0
cset w8, ge
mov w9, #0
str w9, [sp, #76] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_85
b LBB0_83
LBB0_83: ; in Loop: Header=BB0_81 Depth=2
adrp x8, _errno@GOTPAGE
ldr x8, [x8, _errno@GOTPAGEOFF]
ldr x8, [x8]
adrp x9, _EINTR@GOTPAGE
ldr x9, [x9, _EINTR@GOTPAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
cset w8, ne
mov w9, #0
str w9, [sp, #76] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_85
b LBB0_84
LBB0_84: ; in Loop: Header=BB0_81 Depth=2
ldr x8, [sp, #200] ; 8-byte Folded Reload
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
str w8, [sp, #76] ; 4-byte Folded Spill
b LBB0_85
LBB0_85: ; in Loop: Header=BB0_81 Depth=2
ldr w8, [sp, #76] ; 4-byte Folded Reload
tbnz w8, #0, LBB0_81
b LBB0_86
LBB0_86: ; in Loop: Header=BB0_64 Depth=1
ldr x8, [sp, #200] ; 8-byte Folded Reload
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_88
b LBB0_87
LBB0_87:
b LBB0_129
LBB0_88: ; in Loop: Header=BB0_64 Depth=1
ldr w8, [sp, #372]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_90
b LBB0_89
LBB0_89:
ldr x8, [sp, #216] ; 8-byte Folded Reload
ldr w8, [x8]
str w8, [sp, #368]
ldr w9, [sp, #368]
; implicit-def: $x8
mov x8, x9
str x8, [sp, #64] ; 8-byte Folded Spill
ldr w0, [sp, #368]
bl _strerror
ldr x8, [sp, #64] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x0
str x8, [x9, #8]
adrp x0, l_.str.27@PAGE
add x0, x0, l_.str.27@PAGEOFF
bl _logmsg
b LBB0_129
LBB0_90: ; in Loop: Header=BB0_64 Depth=1
ldr w8, [sp, #372]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_92
b LBB0_91
LBB0_91: ; in Loop: Header=BB0_64 Depth=1
b LBB0_64
LBB0_92: ; in Loop: Header=BB0_64 Depth=1
ldr x8, [sp, #176] ; 8-byte Folded Reload
ldr x8, [x8]
ldr w0, [x8]
add x1, sp, #300
bl _FD_ISSET
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_99
b LBB0_93
LBB0_93: ; in Loop: Header=BB0_64 Depth=1
b LBB0_94
LBB0_94: ; Parent Loop BB0_64 Depth=1
; => This Inner Loop Header: Depth=2
ldr w0, [sp, #468]
bl _accept_connection
str w0, [sp, #236]
ldr w8, [sp, #468]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #236]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.28@PAGE
add x0, x0, l_.str.28@PAGEOFF
bl _logmsg
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldr w8, [x8]
ldr w9, [sp, #236]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_96
b LBB0_95
LBB0_95:
b LBB0_129
LBB0_96: ; in Loop: Header=BB0_94 Depth=2
b LBB0_97
LBB0_97: ; in Loop: Header=BB0_94 Depth=2
ldr w8, [sp, #236]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB0_94
b LBB0_98
LBB0_98: ; in Loop: Header=BB0_64 Depth=1
b LBB0_99
LBB0_99: ; in Loop: Header=BB0_64 Depth=1
mov x8, #1
str x8, [sp, #320]
b LBB0_100
LBB0_100: ; Parent Loop BB0_64 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_105 Depth 3
ldr x9, [sp, #184] ; 8-byte Folded Reload
ldr x8, [sp, #320]
ldrsw x9, [x9]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_126
b LBB0_101
LBB0_101: ; in Loop: Header=BB0_100 Depth=2
ldr x8, [sp, #176] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x9, [sp, #320]
ldr w0, [x8, x9, lsl #2]
add x1, sp, #300
bl _FD_ISSET
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_124
b LBB0_102
LBB0_102: ; in Loop: Header=BB0_100 Depth=2
ldr x8, [sp, #200] ; 8-byte Folded Reload
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_104
b LBB0_103
LBB0_103:
b LBB0_129
LBB0_104: ; in Loop: Header=BB0_100 Depth=2
b LBB0_105
LBB0_105: ; Parent Loop BB0_64 Depth=1
; Parent Loop BB0_100 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [sp, #176] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x9, [sp, #320]
ldr w0, [x8, x9, lsl #2]
ldr w2, [sp, #468]
ldr x3, [sp, #344]
add x1, sp, #376
bl _service_connection
ldr x8, [sp, #200] ; 8-byte Folded Reload
str w0, [sp, #372]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_107
b LBB0_106
LBB0_106:
b LBB0_129
LBB0_107: ; in Loop: Header=BB0_105 Depth=3
ldr w8, [sp, #372]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_119
b LBB0_108
LBB0_108: ; in Loop: Header=BB0_105 Depth=3
ldr w9, [sp, #404]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.29@PAGE
add x0, x0, l_.str.29@PAGEOFF
bl _logmsg
ldr w8, [sp, #404]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_110
b LBB0_109
LBB0_109: ; in Loop: Header=BB0_105 Depth=3
adrp x8, l_.str.30@PAGE
add x8, x8, l_.str.30@PAGEOFF
str x8, [sp, #224]
ldr x8, [sp, #224]
str x8, [sp, #56] ; 8-byte Folded Spill
ldr x0, [sp, #224]
bl _strlen
mov x1, x0
ldr x0, [sp, #56] ; 8-byte Folded Reload
bl _storerequest
b LBB0_110
LBB0_110: ; in Loop: Header=BB0_105 Depth=3
ldr w8, [sp, #400]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_112
b LBB0_111
LBB0_111: ; in Loop: Header=BB0_105 Depth=3
mov w0, #50
bl _wait_ms
b LBB0_112
LBB0_112: ; in Loop: Header=BB0_105 Depth=3
ldr x9, [sp, #160] ; 8-byte Folded Reload
ldr x8, [sp, #176] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x10, [sp, #320]
ldr w8, [x8, x10, lsl #2]
ldr w9, [x9]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_114
b LBB0_113
LBB0_113: ; in Loop: Header=BB0_105 Depth=3
ldr x8, [sp, #176] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x9, [sp, #320]
ldr w0, [x8, x9, lsl #2]
bl _sclose
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldr x9, [sp, #176] ; 8-byte Folded Reload
ldr w8, [x8]
ldr x9, [x9]
ldr x10, [sp, #320]
str w8, [x9, x10, lsl #2]
b LBB0_114
LBB0_114: ; in Loop: Header=BB0_105 Depth=3
ldr x8, [sp, #208] ; 8-byte Folded Reload
ldr x9, [x8]
subs x9, x9, #1
str x9, [x8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_116
b LBB0_115
LBB0_115: ; in Loop: Header=BB0_105 Depth=3
adrp x8, _SERVERLOGS_LOCK@GOTPAGE
ldr x8, [x8, _SERVERLOGS_LOCK@GOTPAGEOFF]
ldr w0, [x8]
bl _clear_advisor_read_lock
b LBB0_116
LBB0_116: ; in Loop: Header=BB0_105 Depth=3
ldr x8, [sp, #392]
adrp x9, _DOCNUMBER_QUIT@GOTPAGE
ldr x9, [x9, _DOCNUMBER_QUIT@GOTPAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_118
b LBB0_117
LBB0_117:
b LBB0_129
LBB0_118: ; in Loop: Header=BB0_105 Depth=3
b LBB0_119
LBB0_119: ; in Loop: Header=BB0_105 Depth=3
ldr w8, [sp, #372]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_121
b LBB0_120
LBB0_120: ; in Loop: Header=BB0_105 Depth=3
add x0, sp, #376
bl _init_httprequest
b LBB0_121
LBB0_121: ; in Loop: Header=BB0_105 Depth=3
b LBB0_122
LBB0_122: ; in Loop: Header=BB0_105 Depth=3
ldr w8, [sp, #372]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB0_105
b LBB0_123
LBB0_123: ; in Loop: Header=BB0_100 Depth=2
b LBB0_124
LBB0_124: ; in Loop: Header=BB0_100 Depth=2
b LBB0_125
LBB0_125: ; in Loop: Header=BB0_100 Depth=2
ldr x8, [sp, #320]
add x8, x8, #1
str x8, [sp, #320]
b LBB0_100
LBB0_126: ; in Loop: Header=BB0_64 Depth=1
ldr x8, [sp, #200] ; 8-byte Folded Reload
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_128
b LBB0_127
LBB0_127:
b LBB0_129
LBB0_128: ; in Loop: Header=BB0_64 Depth=1
b LBB0_64
LBB0_129:
mov x8, #1
str x8, [sp, #320]
b LBB0_130
LBB0_130: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp, #184] ; 8-byte Folded Reload
ldr x8, [sp, #320]
ldrsw x9, [x9]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_136
b LBB0_131
LBB0_131: ; in Loop: Header=BB0_130 Depth=1
ldr x8, [sp, #176] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x9, [sp, #320]
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #468]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_134
b LBB0_132
LBB0_132: ; in Loop: Header=BB0_130 Depth=1
ldr x9, [sp, #160] ; 8-byte Folded Reload
ldr x8, [sp, #176] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x10, [sp, #320]
ldr w8, [x8, x10, lsl #2]
ldr w9, [x9]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_134
b LBB0_133
LBB0_133: ; in Loop: Header=BB0_130 Depth=1
ldr x8, [sp, #176] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x9, [sp, #320]
ldr w0, [x8, x9, lsl #2]
bl _sclose
b LBB0_134
LBB0_134: ; in Loop: Header=BB0_130 Depth=1
b LBB0_135
LBB0_135: ; in Loop: Header=BB0_130 Depth=1
ldr x8, [sp, #320]
add x8, x8, #1
str x8, [sp, #320]
b LBB0_130
LBB0_136:
ldr x9, [sp, #160] ; 8-byte Folded Reload
ldr w8, [sp, #468]
ldr w9, [x9]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_138
b LBB0_137
LBB0_137:
ldr w0, [sp, #468]
bl _sclose
b LBB0_138
LBB0_138:
ldr x8, [sp, #200] ; 8-byte Folded Reload
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_140
b LBB0_139
LBB0_139:
adrp x0, l_.str.31@PAGE
add x0, x0, l_.str.31@PAGEOFF
bl _logmsg
b LBB0_140
LBB0_140:
ldr w8, [sp, #464]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_142
b LBB0_141
LBB0_141:
ldr x0, [sp, #448]
bl _unlink
b LBB0_142
LBB0_142:
ldr x8, [sp, #208] ; 8-byte Folded Reload
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_144
b LBB0_143
LBB0_143:
ldr x8, [sp, #208] ; 8-byte Folded Reload
str xzr, [x8]
adrp x8, _SERVERLOGS_LOCK@GOTPAGE
ldr x8, [x8, _SERVERLOGS_LOCK@GOTPAGEOFF]
ldr w0, [x8]
bl _clear_advisor_read_lock
b LBB0_144
LBB0_144:
bl _restore_signal_handlers
ldr x8, [sp, #200] ; 8-byte Folded Reload
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_146
b LBB0_145
LBB0_145:
ldr x12, [sp, #336]
ldr x11, [sp, #328]
ldr x10, [sp, #352]
adrp x8, _exit_signal@GOTPAGE
ldr x8, [x8, _exit_signal@GOTPAGEOFF]
str x8, [sp, #48] ; 8-byte Folded Spill
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x12, [x9]
str x11, [x9, #8]
str x10, [x9, #16]
str x8, [x9, #24]
adrp x0, l_.str.32@PAGE
add x0, x0, l_.str.32@PAGEOFF
bl _logmsg
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr w0, [x8]
bl _raise
b LBB0_146
LBB0_146:
adrp x0, l_.str.33@PAGE
add x0, x0, l_.str.33@PAGEOFF
bl _logmsg
stur wzr, [x29, #-40]
b LBB0_147
LBB0_147:
ldur w8, [x29, #-40]
str w8, [sp, #44] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_149
b LBB0_148
LBB0_148:
bl ___stack_chk_fail
LBB0_149:
ldr w0, [sp, #44] ; 4-byte Folded Reload
add sp, sp, #736
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.comm _CURL_SOCKET_BAD,4,2 ; @CURL_SOCKET_BAD
.comm _DEFAULT_PORT,2,1 ; @DEFAULT_PORT
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz ".http.pid"
l_.str.1: ; @.str.1
.asciz "127.0.0.1"
l_.str.2: ; @.str.2
.asciz "IPv4"
l_.str.3: ; @.str.3
.asciz "--version"
l_.str.4: ; @.str.4
.asciz "sws IPv4"
l_.str.5: ; @.str.5
.asciz "--pidfile"
l_.str.6: ; @.str.6
.asciz "--logfile"
.comm _serverlogfile,8,3 ; @serverlogfile
l_.str.7: ; @.str.7
.asciz "--gopher"
.comm _TRUE,8,3 ; @TRUE
.comm _use_gopher,8,3 ; @use_gopher
l_.str.8: ; @.str.8
.asciz "\r\n"
.comm _end_of_headers,8,3 ; @end_of_headers
l_.str.9: ; @.str.9
.asciz "--ipv4"
.comm _socket_domain,4,2 ; @socket_domain
l_.str.10: ; @.str.10
.asciz "--ipv6"
l_.str.11: ; @.str.11
.asciz "--unix-socket"
l_.str.12: ; @.str.12
.asciz "--port"
.comm _stderr,4,2 ; @stderr
l_.str.13: ; @.str.13
.asciz "sws: invalid --port argument (%s)\n"
l_.str.14: ; @.str.14
.asciz "--srcdir"
.comm _path,8,3 ; @path
l_.str.15: ; @.str.15
.asciz "--connect"
.comm _is_proxy,8,3 ; @is_proxy
l_.str.16: ; @.str.16
.asciz "Run as proxy, CONNECT to host %s"
l_.str.17: ; @.str.17
.asciz "Usage: sws [option]\n --version\n --logfile [file]\n --pidfile [file]\n --ipv4\n --ipv6\n --unix-socket [file]\n --port [port]\n --srcdir [path]\n --connect [ip4-addr]\n --gopher"
l_.str.18: ; @.str.18
.asciz "port %hu"
.comm _SOCK_STREAM,4,2 ; @SOCK_STREAM
.comm _all_sockets,8,3 ; @all_sockets
.comm _num_sockets,4,2 ; @num_sockets
.comm _SOCKERRNO,4,2 ; @SOCKERRNO
l_.str.19: ; @.str.19
.asciz "Error creating socket: (%d) %s"
.comm _SOL_SOCKET,4,2 ; @SOL_SOCKET
.comm _SO_REUSEADDR,4,2 ; @SO_REUSEADDR
l_.str.20: ; @.str.20
.asciz "setsockopt(SO_REUSEADDR) failed with error: (%d) %s"
l_.str.21: ; @.str.21
.asciz "curlx_nonblock failed with error: (%d) %s"
.comm _INADDR_ANY,4,2 ; @INADDR_ANY
l_.str.22: ; @.str.22
.asciz "Error binding socket on %s: (%d) %s"
l_.str.23: ; @.str.23
.asciz "Running %s %s version on %s"
l_.str.24: ; @.str.24
.asciz "GOPHER"
l_.str.25: ; @.str.25
.asciz "HTTP"
l_.str.26: ; @.str.26
.asciz "listen() failed with error: (%d) %s"
.section __TEXT,__literal16,16byte_literals
.p2align 3 ; @__const.main.timeout
l___const.main.timeout:
.quad 0 ; 0x0
.long 250000 ; 0x3d090
.space 4
.comm _got_exit_signal,8,3 ; @got_exit_signal
.comm _errno,8,3 ; @errno
.comm _EINTR,8,3 ; @EINTR
.section __TEXT,__cstring,cstring_literals
l_.str.27: ; @.str.27
.asciz "select() failed with error: (%d) %s"
l_.str.28: ; @.str.28
.asciz "accept_connection %d returned %d"
l_.str.29: ; @.str.29
.asciz "====> Client disconnect %d"
l_.str.30: ; @.str.30
.asciz "[DISCONNECT]\n"
.comm _serverlogslocked,8,3 ; @serverlogslocked
.comm _SERVERLOGS_LOCK,4,2 ; @SERVERLOGS_LOCK
.comm _DOCNUMBER_QUIT,8,3 ; @DOCNUMBER_QUIT
l_.str.31: ; @.str.31
.asciz "signalled to die"
l_.str.32: ; @.str.32
.asciz "========> %s sws (%s pid: %ld) exits with signal (%d)"
.comm _exit_signal,4,2 ; @exit_signal
l_.str.33: ; @.str.33
.asciz "========> sws quits"
.comm _EADDRINUSE,8,3 ; @EADDRINUSE
.comm _ECONNREFUSED,4,2 ; @ECONNREFUSED
.comm _S_IFSOCK,4,2 ; @S_IFSOCK
.comm _in6addr_any,4,2 ; @in6addr_any
.comm _win32_cleanup,4,2 ; @win32_cleanup
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $576, %rsp ## imm = 0x240
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -24(%rbp)
movl %edi, -28(%rbp)
movq %rsi, -40(%rbp)
movq _CURL_SOCKET_BAD@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -268(%rbp)
movl $0, -272(%rbp)
movq _DEFAULT_PORT@GOTPCREL(%rip), %rax
movw (%rax), %ax
movw %ax, -278(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -288(%rbp)
movl $0, -364(%rbp)
movl $1, -372(%rbp)
leaq L_.str.1(%rip), %rax
movq %rax, -392(%rbp)
leaq L_.str.2(%rip), %rax
movq %rax, -400(%rbp)
leaq -19(%rbp), %rax
movq %rax, -408(%rbp)
leaq -360(%rbp), %rdi
xorl %esi, %esi
movl $72, %edx
callq _memset
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -372(%rbp), %eax
jle LBB0_49
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
movslq -372(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
leaq L_.str.3(%rip), %rdi
callq _strcmp
cmpl $0, %eax
jne LBB0_4
## %bb.3:
leaq L_.str.4(%rip), %rdi
callq _puts
movl $0, -24(%rbp)
jmp LBB0_147
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
movslq -372(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
leaq L_.str.5(%rip), %rdi
callq _strcmp
cmpl $0, %eax
jne LBB0_8
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movl -372(%rbp), %eax
addl $1, %eax
movl %eax, -372(%rbp)
movl -28(%rbp), %eax
cmpl -372(%rbp), %eax
jle LBB0_7
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
movl -372(%rbp), %ecx
movl %ecx, %edx
addl $1, %edx
movl %edx, -372(%rbp)
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -288(%rbp)
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_47
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
movslq -372(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
leaq L_.str.6(%rip), %rdi
callq _strcmp
cmpl $0, %eax
jne LBB0_12
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
movl -372(%rbp), %eax
addl $1, %eax
movl %eax, -372(%rbp)
movl -28(%rbp), %eax
cmpl -372(%rbp), %eax
jle LBB0_11
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
movl -372(%rbp), %ecx
movl %ecx, %edx
addl $1, %edx
movl %edx, -372(%rbp)
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rcx
movq _serverlogfile@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_46
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
movslq -372(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
leaq L_.str.7(%rip), %rdi
callq _strcmp
cmpl $0, %eax
jne LBB0_14
## %bb.13: ## in Loop: Header=BB0_1 Depth=1
movl -372(%rbp), %eax
addl $1, %eax
movl %eax, -372(%rbp)
movq _TRUE@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq _use_gopher@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq _end_of_headers@GOTPCREL(%rip), %rax
leaq L_.str.8(%rip), %rcx
movq %rcx, (%rax)
jmp LBB0_45
LBB0_14: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
movslq -372(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
leaq L_.str.9(%rip), %rdi
callq _strcmp
cmpl $0, %eax
jne LBB0_16
## %bb.15: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.2(%rip), %rax
movq %rax, -400(%rbp)
movq _socket_domain@GOTPCREL(%rip), %rax
movl $130, (%rax)
leaq -19(%rbp), %rax
movq %rax, -408(%rbp)
movl -372(%rbp), %eax
addl $1, %eax
movl %eax, -372(%rbp)
jmp LBB0_44
LBB0_16: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
movslq -372(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
leaq L_.str.10(%rip), %rdi
callq _strcmp
cmpl $0, %eax
jne LBB0_18
## %bb.17: ## in Loop: Header=BB0_1 Depth=1
movl -372(%rbp), %eax
addl $1, %eax
movl %eax, -372(%rbp)
jmp LBB0_43
LBB0_18: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
movslq -372(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
leaq L_.str.11(%rip), %rdi
callq _strcmp
cmpl $0, %eax
jne LBB0_22
## %bb.19: ## in Loop: Header=BB0_1 Depth=1
movl -372(%rbp), %eax
addl $1, %eax
movl %eax, -372(%rbp)
movl -28(%rbp), %eax
cmpl -372(%rbp), %eax
jle LBB0_21
## %bb.20: ## in Loop: Header=BB0_1 Depth=1
movl -372(%rbp), %eax
addl $1, %eax
movl %eax, -372(%rbp)
LBB0_21: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_42
LBB0_22: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
movslq -372(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
leaq L_.str.12(%rip), %rdi
callq _strcmp
cmpl $0, %eax
jne LBB0_30
## %bb.23: ## in Loop: Header=BB0_1 Depth=1
movl -372(%rbp), %eax
addl $1, %eax
movl %eax, -372(%rbp)
movl -28(%rbp), %eax
cmpl -372(%rbp), %eax
jle LBB0_29
## %bb.24: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
movslq -372(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq -424(%rbp), %rsi
movl $10, %edx
callq _strtoul
movq %rax, -432(%rbp)
movq -424(%rbp), %rax
movq %rax, -512(%rbp) ## 8-byte Spill
movq -40(%rbp), %rax
movslq -372(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -520(%rbp) ## 8-byte Spill
movq -40(%rbp), %rax
movslq -372(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _strlen
movq -520(%rbp), %rcx ## 8-byte Reload
movl %eax, %edx
movq -512(%rbp), %rax ## 8-byte Reload
movslq %edx, %rdx
addq %rdx, %rcx
cmpq %rcx, %rax
jne LBB0_27
## %bb.25: ## in Loop: Header=BB0_1 Depth=1
cmpq $1025, -432(%rbp) ## imm = 0x401
jb LBB0_27
## %bb.26: ## in Loop: Header=BB0_1 Depth=1
cmpq $65535, -432(%rbp) ## imm = 0xFFFF
jbe LBB0_28
LBB0_27:
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq -40(%rbp), %rax
movslq -372(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
leaq L_.str.13(%rip), %rsi
movb $0, %al
callq _fprintf
movl $0, -24(%rbp)
jmp LBB0_147
LBB0_28: ## in Loop: Header=BB0_1 Depth=1
movq -432(%rbp), %rdi
callq _curlx_ultous
movw %ax, -278(%rbp)
movl -372(%rbp), %eax
addl $1, %eax
movl %eax, -372(%rbp)
LBB0_29: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_41
LBB0_30: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
movslq -372(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
leaq L_.str.14(%rip), %rdi
callq _strcmp
cmpl $0, %eax
jne LBB0_34
## %bb.31: ## in Loop: Header=BB0_1 Depth=1
movl -372(%rbp), %eax
addl $1, %eax
movl %eax, -372(%rbp)
movl -28(%rbp), %eax
cmpl -372(%rbp), %eax
jle LBB0_33
## %bb.32: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
movslq -372(%rbp), %rcx
movq (%rax,%rcx,8), %rcx
movq _path@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movl -372(%rbp), %eax
addl $1, %eax
movl %eax, -372(%rbp)
LBB0_33: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_40
LBB0_34: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
movslq -372(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
leaq L_.str.15(%rip), %rdi
callq _strcmp
cmpl $0, %eax
jne LBB0_38
## %bb.35: ## in Loop: Header=BB0_1 Depth=1
movl -372(%rbp), %eax
addl $1, %eax
movl %eax, -372(%rbp)
movl -28(%rbp), %eax
cmpl -372(%rbp), %eax
jle LBB0_37
## %bb.36: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
movslq -372(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -392(%rbp)
movl -372(%rbp), %eax
addl $1, %eax
movl %eax, -372(%rbp)
movq _TRUE@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq _is_proxy@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -392(%rbp), %rsi
leaq L_.str.16(%rip), %rdi
movb $0, %al
callq _logmsg
LBB0_37: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_39
LBB0_38:
leaq L_.str.17(%rip), %rdi
callq _puts
movl $0, -24(%rbp)
jmp LBB0_147
LBB0_39: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_40
LBB0_40: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_41
LBB0_41: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_42
LBB0_42: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_43
LBB0_43: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_44
LBB0_44: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_45
LBB0_45: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_46
LBB0_46: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_47
LBB0_47: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_48
LBB0_48: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_49:
leaq -19(%rbp), %rdi
movl $11, %esi
leaq L_.str.18(%rip), %rdx
movzwl -278(%rbp), %ecx
callq _msnprintf
movb $0, %al
callq _install_signal_handlers
movb $0, %al
callq _getpid
movq %rax, -384(%rbp)
movq _socket_domain@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _SOCK_STREAM@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %edx, %edx
callq _socket
movl %eax, -268(%rbp)
movl -268(%rbp), %ecx
movq _all_sockets@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl %ecx, (%rax)
movq _num_sockets@GOTPCREL(%rip), %rax
movl $1, (%rax)
movq _CURL_SOCKET_BAD@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl -268(%rbp), %eax
jne LBB0_51
## %bb.50:
movq _SOCKERRNO@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -368(%rbp)
movl -368(%rbp), %eax
movl %eax, -524(%rbp) ## 4-byte Spill
movl -368(%rbp), %edi
callq _strerror
movl -524(%rbp), %esi ## 4-byte Reload
movl %eax, %edx
leaq L_.str.19(%rip), %rdi
movb $0, %al
callq _logmsg
jmp LBB0_129
LBB0_51:
movl $1, -276(%rbp)
movl -268(%rbp), %edi
movq _SOL_SOCKET@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _SO_REUSEADDR@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq -276(%rbp), %rcx
movl $4, %r8d
callq _setsockopt
movq %rax, %rcx
xorl %eax, %eax
## kill: def $rax killed $eax
cmpq %rcx, %rax
je LBB0_53
## %bb.52:
movq _SOCKERRNO@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -368(%rbp)
movl -368(%rbp), %eax
movl %eax, -528(%rbp) ## 4-byte Spill
movl -368(%rbp), %edi
callq _strerror
movl -528(%rbp), %esi ## 4-byte Reload
movl %eax, %edx
leaq L_.str.20(%rip), %rdi
movb $0, %al
callq _logmsg
jmp LBB0_129
LBB0_53:
movl -268(%rbp), %edi
movq _TRUE@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _curlx_nonblock
movq %rax, %rcx
xorl %eax, %eax
## kill: def $rax killed $eax
cmpq %rcx, %rax
je LBB0_55
## %bb.54:
movq _SOCKERRNO@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -368(%rbp)
movl -368(%rbp), %eax
movl %eax, -532(%rbp) ## 4-byte Spill
movl -368(%rbp), %edi
callq _strerror
movl -532(%rbp), %esi ## 4-byte Reload
movl %eax, %edx
leaq L_.str.21(%rip), %rdi
movb $0, %al
callq _logmsg
jmp LBB0_129
LBB0_55:
movq _socket_domain@GOTPCREL(%rip), %rax
movl (%rax), %eax
subl $130, %eax
jne LBB0_57
jmp LBB0_56
LBB0_56:
leaq -264(%rbp), %rdi
addq $152, %rdi
xorl %esi, %esi
movl $72, %edx
callq _memset
movl $130, -112(%rbp)
movq _INADDR_ANY@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -48(%rbp)
movzwl -278(%rbp), %edi
callq _htons
movq %rax, -56(%rbp)
movl -268(%rbp), %edi
leaq -264(%rbp), %rsi
movl $72, %edx
callq _bind
movl %eax, -364(%rbp)
LBB0_57:
xorl %eax, %eax
cmpl -364(%rbp), %eax
je LBB0_59
## %bb.58:
movq _SOCKERRNO@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -368(%rbp)
movq -408(%rbp), %rax
movq %rax, -544(%rbp) ## 8-byte Spill
movl -368(%rbp), %eax
movl %eax, -536(%rbp) ## 4-byte Spill
movl -368(%rbp), %edi
callq _strerror
movq -544(%rbp), %rsi ## 8-byte Reload
movl -536(%rbp), %edx ## 4-byte Reload
movl %eax, %ecx
leaq L_.str.22(%rip), %rdi
movb $0, %al
callq _logmsg
jmp LBB0_129
LBB0_59:
movq _use_gopher@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leaq L_.str.25(%rip), %rsi
leaq L_.str.24(%rip), %rax
cmpq $0, %rcx
cmovneq %rax, %rsi
movq -400(%rbp), %rdx
movq -408(%rbp), %rcx
leaq L_.str.23(%rip), %rdi
movb $0, %al
callq _logmsg
movl -268(%rbp), %edi
movl $5, %esi
callq _listen
movl %eax, -364(%rbp)
xorl %eax, %eax
cmpl -364(%rbp), %eax
je LBB0_61
## %bb.60:
movq _SOCKERRNO@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -368(%rbp)
movl -368(%rbp), %eax
movl %eax, -548(%rbp) ## 4-byte Spill
movl -368(%rbp), %edi
callq _strerror
movl -548(%rbp), %esi ## 4-byte Reload
movl %eax, %edx
leaq L_.str.26(%rip), %rdi
movb $0, %al
callq _logmsg
jmp LBB0_129
LBB0_61:
movq -288(%rbp), %rdi
callq _write_pidfile
movl %eax, -272(%rbp)
cmpl $0, -272(%rbp)
jne LBB0_63
## %bb.62:
jmp LBB0_129
LBB0_63:
leaq -360(%rbp), %rdi
callq _init_httprequest
LBB0_64: ## =>This Loop Header: Depth=1
## Child Loop BB0_65 Depth 2
## Child Loop BB0_73 Depth 2
## Child Loop BB0_81 Depth 2
## Child Loop BB0_94 Depth 2
## Child Loop BB0_100 Depth 2
## Child Loop BB0_105 Depth 3
movq L___const.main.timeout(%rip), %rax
movq %rax, -456(%rbp)
movq L___const.main.timeout+8(%rip), %rax
movq %rax, -448(%rbp)
movl $-1, -460(%rbp)
movq _num_sockets@GOTPCREL(%rip), %rax
movl (%rax), %eax
subl $1, %eax
cltq
movq %rax, -416(%rbp)
LBB0_65: ## Parent Loop BB0_64 Depth=1
## => This Inner Loop Header: Depth=2
cmpq $1, -416(%rbp)
jb LBB0_70
## %bb.66: ## in Loop: Header=BB0_65 Depth=2
movq _CURL_SOCKET_BAD@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _all_sockets@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq -416(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jne LBB0_68
## %bb.67: ## in Loop: Header=BB0_65 Depth=2
movq _all_sockets@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -416(%rbp), %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -472(%rbp)
movq _all_sockets@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -416(%rbp), %rcx
shlq $2, %rcx
addq %rcx, %rax
addq $4, %rax
movq %rax, -480(%rbp)
movq _all_sockets@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _num_sockets@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -488(%rbp)
movq -472(%rbp), %rdi
movq -480(%rbp), %rsi
movq -488(%rbp), %rax
movq -480(%rbp), %rcx
subq %rcx, %rax
movl %eax, %edx
callq _memmove
movq _num_sockets@GOTPCREL(%rip), %rax
movl (%rax), %ecx
subl $1, %ecx
movq _num_sockets@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB0_68: ## in Loop: Header=BB0_65 Depth=2
jmp LBB0_69
LBB0_69: ## in Loop: Header=BB0_65 Depth=2
movq -416(%rbp), %rax
addq $-1, %rax
movq %rax, -416(%rbp)
jmp LBB0_65
LBB0_70: ## in Loop: Header=BB0_64 Depth=1
movq _got_exit_signal@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_72
## %bb.71:
jmp LBB0_129
LBB0_72: ## in Loop: Header=BB0_64 Depth=1
leaq -436(%rbp), %rdi
callq _FD_ZERO
leaq -440(%rbp), %rdi
callq _FD_ZERO
movq $0, -416(%rbp)
LBB0_73: ## Parent Loop BB0_64 Depth=1
## => This Inner Loop Header: Depth=2
movq -416(%rbp), %rax
movq _num_sockets@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
cmpq %rcx, %rax
jae LBB0_78
## %bb.74: ## in Loop: Header=BB0_73 Depth=2
movq _all_sockets@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -416(%rbp), %rcx
movl (%rax,%rcx,4), %edi
leaq -436(%rbp), %rsi
callq _FD_SET
movq _all_sockets@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -416(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -460(%rbp), %eax
jle LBB0_76
## %bb.75: ## in Loop: Header=BB0_73 Depth=2
movq _all_sockets@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -416(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -460(%rbp)
LBB0_76: ## in Loop: Header=BB0_73 Depth=2
jmp LBB0_77
LBB0_77: ## in Loop: Header=BB0_73 Depth=2
movq -416(%rbp), %rax
addq $1, %rax
movq %rax, -416(%rbp)
jmp LBB0_73
LBB0_78: ## in Loop: Header=BB0_64 Depth=1
movq _got_exit_signal@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_80
## %bb.79:
jmp LBB0_129
LBB0_80: ## in Loop: Header=BB0_64 Depth=1
jmp LBB0_81
LBB0_81: ## Parent Loop BB0_64 Depth=1
## => This Inner Loop Header: Depth=2
movl -460(%rbp), %edi
addl $1, %edi
leaq -436(%rbp), %rsi
leaq -440(%rbp), %rdx
xorl %eax, %eax
movl %eax, %ecx
leaq -456(%rbp), %r8
callq _select
movl %eax, -364(%rbp)
## %bb.82: ## in Loop: Header=BB0_81 Depth=2
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, -364(%rbp)
movb %al, -549(%rbp) ## 1-byte Spill
jge LBB0_85
## %bb.83: ## in Loop: Header=BB0_81 Depth=2
movq _errno@GOTPCREL(%rip), %rax
movq (%rax), %rcx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movq _EINTR@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
movb %al, -549(%rbp) ## 1-byte Spill
jne LBB0_85
## %bb.84: ## in Loop: Header=BB0_81 Depth=2
movq _got_exit_signal@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
setne %al
xorb $-1, %al
movb %al, -549(%rbp) ## 1-byte Spill
LBB0_85: ## in Loop: Header=BB0_81 Depth=2
movb -549(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_81
## %bb.86: ## in Loop: Header=BB0_64 Depth=1
movq _got_exit_signal@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_88
## %bb.87:
jmp LBB0_129
LBB0_88: ## in Loop: Header=BB0_64 Depth=1
cmpl $0, -364(%rbp)
jge LBB0_90
## %bb.89:
movq _SOCKERRNO@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -368(%rbp)
movl -368(%rbp), %eax
movl %eax, -556(%rbp) ## 4-byte Spill
movl -368(%rbp), %edi
callq _strerror
movl -556(%rbp), %esi ## 4-byte Reload
movl %eax, %edx
leaq L_.str.27(%rip), %rdi
movb $0, %al
callq _logmsg
jmp LBB0_129
LBB0_90: ## in Loop: Header=BB0_64 Depth=1
cmpl $0, -364(%rbp)
jne LBB0_92
## %bb.91: ## in Loop: Header=BB0_64 Depth=1
jmp LBB0_64
LBB0_92: ## in Loop: Header=BB0_64 Depth=1
movq _all_sockets@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl (%rax), %edi
leaq -436(%rbp), %rsi
callq _FD_ISSET
cmpq $0, %rax
je LBB0_99
## %bb.93: ## in Loop: Header=BB0_64 Depth=1
jmp LBB0_94
LBB0_94: ## Parent Loop BB0_64 Depth=1
## => This Inner Loop Header: Depth=2
movl -268(%rbp), %edi
callq _accept_connection
movl %eax, -492(%rbp)
movl -268(%rbp), %esi
movl -492(%rbp), %edx
leaq L_.str.28(%rip), %rdi
movb $0, %al
callq _logmsg
movq _CURL_SOCKET_BAD@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl -492(%rbp), %eax
jne LBB0_96
## %bb.95:
jmp LBB0_129
LBB0_96: ## in Loop: Header=BB0_94 Depth=2
jmp LBB0_97
LBB0_97: ## in Loop: Header=BB0_94 Depth=2
cmpl $0, -492(%rbp)
jg LBB0_94
## %bb.98: ## in Loop: Header=BB0_64 Depth=1
jmp LBB0_99
LBB0_99: ## in Loop: Header=BB0_64 Depth=1
movq $1, -416(%rbp)
LBB0_100: ## Parent Loop BB0_64 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_105 Depth 3
movq -416(%rbp), %rax
movq _num_sockets@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
cmpq %rcx, %rax
jae LBB0_126
## %bb.101: ## in Loop: Header=BB0_100 Depth=2
movq _all_sockets@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -416(%rbp), %rcx
movl (%rax,%rcx,4), %edi
leaq -436(%rbp), %rsi
callq _FD_ISSET
cmpq $0, %rax
je LBB0_124
## %bb.102: ## in Loop: Header=BB0_100 Depth=2
movq _got_exit_signal@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_104
## %bb.103:
jmp LBB0_129
LBB0_104: ## in Loop: Header=BB0_100 Depth=2
jmp LBB0_105
LBB0_105: ## Parent Loop BB0_64 Depth=1
## Parent Loop BB0_100 Depth=2
## => This Inner Loop Header: Depth=3
movq _all_sockets@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -416(%rbp), %rcx
movl (%rax,%rcx,4), %edi
movl -268(%rbp), %edx
movq -392(%rbp), %rcx
leaq -360(%rbp), %rsi
callq _service_connection
movl %eax, -364(%rbp)
movq _got_exit_signal@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_107
## %bb.106:
jmp LBB0_129
LBB0_107: ## in Loop: Header=BB0_105 Depth=3
cmpl $0, -364(%rbp)
jge LBB0_119
## %bb.108: ## in Loop: Header=BB0_105 Depth=3
movl -332(%rbp), %esi
leaq L_.str.29(%rip), %rdi
movb $0, %al
callq _logmsg
cmpl $0, -332(%rbp)
je LBB0_110
## %bb.109: ## in Loop: Header=BB0_105 Depth=3
leaq L_.str.30(%rip), %rax
movq %rax, -504(%rbp)
movq -504(%rbp), %rax
movq %rax, -568(%rbp) ## 8-byte Spill
movq -504(%rbp), %rdi
callq _strlen
movq -568(%rbp), %rdi ## 8-byte Reload
movl %eax, %esi
callq _storerequest
LBB0_110: ## in Loop: Header=BB0_105 Depth=3
cmpl $0, -336(%rbp)
jne LBB0_112
## %bb.111: ## in Loop: Header=BB0_105 Depth=3
movl $50, %edi
callq _wait_ms
LBB0_112: ## in Loop: Header=BB0_105 Depth=3
movq _all_sockets@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -416(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movq _CURL_SOCKET_BAD@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
je LBB0_114
## %bb.113: ## in Loop: Header=BB0_105 Depth=3
movq _all_sockets@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -416(%rbp), %rcx
movl (%rax,%rcx,4), %edi
callq _sclose
movq _CURL_SOCKET_BAD@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _all_sockets@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -416(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
LBB0_114: ## in Loop: Header=BB0_105 Depth=3
movq _serverlogslocked@GOTPCREL(%rip), %rax
movq (%rax), %rcx
subq $1, %rcx
movq _serverlogslocked@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq _serverlogslocked@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
jne LBB0_116
## %bb.115: ## in Loop: Header=BB0_105 Depth=3
movq _SERVERLOGS_LOCK@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _clear_advisor_read_lock
LBB0_116: ## in Loop: Header=BB0_105 Depth=3
movq -344(%rbp), %rax
movq _DOCNUMBER_QUIT@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_118
## %bb.117:
jmp LBB0_129
LBB0_118: ## in Loop: Header=BB0_105 Depth=3
jmp LBB0_119
LBB0_119: ## in Loop: Header=BB0_105 Depth=3
cmpl $0, -364(%rbp)
je LBB0_121
## %bb.120: ## in Loop: Header=BB0_105 Depth=3
leaq -360(%rbp), %rdi
callq _init_httprequest
LBB0_121: ## in Loop: Header=BB0_105 Depth=3
jmp LBB0_122
LBB0_122: ## in Loop: Header=BB0_105 Depth=3
cmpl $0, -364(%rbp)
jg LBB0_105
## %bb.123: ## in Loop: Header=BB0_100 Depth=2
jmp LBB0_124
LBB0_124: ## in Loop: Header=BB0_100 Depth=2
jmp LBB0_125
LBB0_125: ## in Loop: Header=BB0_100 Depth=2
movq -416(%rbp), %rax
addq $1, %rax
movq %rax, -416(%rbp)
jmp LBB0_100
LBB0_126: ## in Loop: Header=BB0_64 Depth=1
movq _got_exit_signal@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_128
## %bb.127:
jmp LBB0_129
LBB0_128: ## in Loop: Header=BB0_64 Depth=1
jmp LBB0_64
LBB0_129:
movq $1, -416(%rbp)
LBB0_130: ## =>This Inner Loop Header: Depth=1
movq -416(%rbp), %rax
movq _num_sockets@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
cmpq %rcx, %rax
jae LBB0_136
## %bb.131: ## in Loop: Header=BB0_130 Depth=1
movq _all_sockets@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -416(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -268(%rbp), %eax
je LBB0_134
## %bb.132: ## in Loop: Header=BB0_130 Depth=1
movq _all_sockets@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -416(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movq _CURL_SOCKET_BAD@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
je LBB0_134
## %bb.133: ## in Loop: Header=BB0_130 Depth=1
movq _all_sockets@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -416(%rbp), %rcx
movl (%rax,%rcx,4), %edi
callq _sclose
LBB0_134: ## in Loop: Header=BB0_130 Depth=1
jmp LBB0_135
LBB0_135: ## in Loop: Header=BB0_130 Depth=1
movq -416(%rbp), %rax
addq $1, %rax
movq %rax, -416(%rbp)
jmp LBB0_130
LBB0_136:
movl -268(%rbp), %eax
movq _CURL_SOCKET_BAD@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
je LBB0_138
## %bb.137:
movl -268(%rbp), %edi
callq _sclose
LBB0_138:
movq _got_exit_signal@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_140
## %bb.139:
leaq L_.str.31(%rip), %rdi
movb $0, %al
callq _logmsg
LBB0_140:
cmpl $0, -272(%rbp)
je LBB0_142
## %bb.141:
movq -288(%rbp), %rdi
callq _unlink
LBB0_142:
movq _serverlogslocked@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_144
## %bb.143:
movq _serverlogslocked@GOTPCREL(%rip), %rax
movq $0, (%rax)
movq _SERVERLOGS_LOCK@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _clear_advisor_read_lock
LBB0_144:
movb $0, %al
callq _restore_signal_handlers
movq _got_exit_signal@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_146
## %bb.145:
movq -400(%rbp), %rsi
movq -408(%rbp), %rdx
movq -384(%rbp), %rcx
movq _exit_signal@GOTPCREL(%rip), %rax
movl (%rax), %r8d
leaq L_.str.32(%rip), %rdi
movb $0, %al
callq _logmsg
movq _exit_signal@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _raise
LBB0_146:
leaq L_.str.33(%rip), %rdi
movb $0, %al
callq _logmsg
movl $0, -24(%rbp)
LBB0_147:
movl -24(%rbp), %eax
movl %eax, -572(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_149
## %bb.148:
movl -572(%rbp), %eax ## 4-byte Reload
addq $576, %rsp ## imm = 0x240
popq %rbp
retq
LBB0_149:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.comm _CURL_SOCKET_BAD,4,2 ## @CURL_SOCKET_BAD
.comm _DEFAULT_PORT,2,1 ## @DEFAULT_PORT
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz ".http.pid"
L_.str.1: ## @.str.1
.asciz "127.0.0.1"
L_.str.2: ## @.str.2
.asciz "IPv4"
L_.str.3: ## @.str.3
.asciz "--version"
L_.str.4: ## @.str.4
.asciz "sws IPv4"
L_.str.5: ## @.str.5
.asciz "--pidfile"
L_.str.6: ## @.str.6
.asciz "--logfile"
.comm _serverlogfile,8,3 ## @serverlogfile
L_.str.7: ## @.str.7
.asciz "--gopher"
.comm _TRUE,8,3 ## @TRUE
.comm _use_gopher,8,3 ## @use_gopher
L_.str.8: ## @.str.8
.asciz "\r\n"
.comm _end_of_headers,8,3 ## @end_of_headers
L_.str.9: ## @.str.9
.asciz "--ipv4"
.comm _socket_domain,4,2 ## @socket_domain
L_.str.10: ## @.str.10
.asciz "--ipv6"
L_.str.11: ## @.str.11
.asciz "--unix-socket"
L_.str.12: ## @.str.12
.asciz "--port"
.comm _stderr,4,2 ## @stderr
L_.str.13: ## @.str.13
.asciz "sws: invalid --port argument (%s)\n"
L_.str.14: ## @.str.14
.asciz "--srcdir"
.comm _path,8,3 ## @path
L_.str.15: ## @.str.15
.asciz "--connect"
.comm _is_proxy,8,3 ## @is_proxy
L_.str.16: ## @.str.16
.asciz "Run as proxy, CONNECT to host %s"
L_.str.17: ## @.str.17
.asciz "Usage: sws [option]\n --version\n --logfile [file]\n --pidfile [file]\n --ipv4\n --ipv6\n --unix-socket [file]\n --port [port]\n --srcdir [path]\n --connect [ip4-addr]\n --gopher"
L_.str.18: ## @.str.18
.asciz "port %hu"
.comm _SOCK_STREAM,4,2 ## @SOCK_STREAM
.comm _all_sockets,8,3 ## @all_sockets
.comm _num_sockets,4,2 ## @num_sockets
.comm _SOCKERRNO,4,2 ## @SOCKERRNO
L_.str.19: ## @.str.19
.asciz "Error creating socket: (%d) %s"
.comm _SOL_SOCKET,4,2 ## @SOL_SOCKET
.comm _SO_REUSEADDR,4,2 ## @SO_REUSEADDR
L_.str.20: ## @.str.20
.asciz "setsockopt(SO_REUSEADDR) failed with error: (%d) %s"
L_.str.21: ## @.str.21
.asciz "curlx_nonblock failed with error: (%d) %s"
.comm _INADDR_ANY,4,2 ## @INADDR_ANY
L_.str.22: ## @.str.22
.asciz "Error binding socket on %s: (%d) %s"
L_.str.23: ## @.str.23
.asciz "Running %s %s version on %s"
L_.str.24: ## @.str.24
.asciz "GOPHER"
L_.str.25: ## @.str.25
.asciz "HTTP"
L_.str.26: ## @.str.26
.asciz "listen() failed with error: (%d) %s"
.section __TEXT,__literal16,16byte_literals
.p2align 3 ## @__const.main.timeout
L___const.main.timeout:
.quad 0 ## 0x0
.long 250000 ## 0x3d090
.space 4
.comm _got_exit_signal,8,3 ## @got_exit_signal
.comm _errno,8,3 ## @errno
.comm _EINTR,8,3 ## @EINTR
.section __TEXT,__cstring,cstring_literals
L_.str.27: ## @.str.27
.asciz "select() failed with error: (%d) %s"
L_.str.28: ## @.str.28
.asciz "accept_connection %d returned %d"
L_.str.29: ## @.str.29
.asciz "====> Client disconnect %d"
L_.str.30: ## @.str.30
.asciz "[DISCONNECT]\n"
.comm _serverlogslocked,8,3 ## @serverlogslocked
.comm _SERVERLOGS_LOCK,4,2 ## @SERVERLOGS_LOCK
.comm _DOCNUMBER_QUIT,8,3 ## @DOCNUMBER_QUIT
L_.str.31: ## @.str.31
.asciz "signalled to die"
L_.str.32: ## @.str.32
.asciz "========> %s sws (%s pid: %ld) exits with signal (%d)"
.comm _exit_signal,4,2 ## @exit_signal
L_.str.33: ## @.str.33
.asciz "========> sws quits"
.comm _EADDRINUSE,8,3 ## @EADDRINUSE
.comm _ECONNREFUSED,4,2 ## @ECONNREFUSED
.comm _S_IFSOCK,4,2 ## @S_IFSOCK
.comm _in6addr_any,4,2 ## @in6addr_any
.comm _win32_cleanup,4,2 ## @win32_cleanup
.subsections_via_symbols
| AnghaBench/curl/tests/server/extr_sws.c_main.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rds_ib_set_protocol
_rds_ib_set_protocol: ; @rds_ib_set_protocol
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str w1, [sp, #4]
ldr w8, [sp, #4]
ldr x9, [sp, #8]
str w8, [x9]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.no_dead_strip _rds_ib_set_protocol
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rds_ib_set_protocol
_rds_ib_set_protocol: ## @rds_ib_set_protocol
.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)
movl -12(%rbp), %ecx
movq -8(%rbp), %rax
movl %ecx, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _rds_ib_set_protocol
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/net/rds/extr_ib_cm.c_rds_ib_set_protocol.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function snd_vortex_spdif_info
_snd_vortex_spdif_info: ; @snd_vortex_spdif_info
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str x1, [sp]
adrp x8, _SNDRV_CTL_ELEM_TYPE_IEC958@GOTPAGE
ldr x8, [x8, _SNDRV_CTL_ELEM_TYPE_IEC958@GOTPAGEOFF]
ldr w8, [x8]
ldr x9, [sp]
str w8, [x9, #4]
ldr x9, [sp]
mov w8, #1
str w8, [x9]
mov w0, #0
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.comm _SNDRV_CTL_ELEM_TYPE_IEC958,4,2 ; @SNDRV_CTL_ELEM_TYPE_IEC958
.no_dead_strip _snd_vortex_spdif_info
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function snd_vortex_spdif_info
_snd_vortex_spdif_info: ## @snd_vortex_spdif_info
.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 _SNDRV_CTL_ELEM_TYPE_IEC958@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq -16(%rbp), %rax
movl %ecx, 4(%rax)
movq -16(%rbp), %rax
movl $1, (%rax)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SNDRV_CTL_ELEM_TYPE_IEC958,4,2 ## @SNDRV_CTL_ELEM_TYPE_IEC958
.no_dead_strip _snd_vortex_spdif_info
.subsections_via_symbols
| AnghaBench/linux/sound/pci/au88x0/extr_au88x0_pcm.c_snd_vortex_spdif_info.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ItemParse_focusSound ; -- Begin function ItemParse_focusSound
.p2align 2
_ItemParse_focusSound: ; @ItemParse_focusSound
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str w1, [sp, #12]
ldr w0, [sp, #12]
mov x1, sp
bl _PC_String_Parse
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x8, _qfalse@GOTPAGE
ldr x8, [x8, _qfalse@GOTPAGEOFF]
ldr w8, [x8]
stur w8, [x29, #-4]
b LBB0_3
LBB0_2:
adrp x8, _DC@GOTPAGE
ldr x8, [x8, _DC@GOTPAGEOFF]
ldr x8, [x8]
ldr x8, [x8]
ldr x0, [sp]
adrp x9, _qfalse@GOTPAGE
ldr x9, [x9, _qfalse@GOTPAGEOFF]
ldr w1, [x9]
blr x8
ldr x8, [sp, #16]
str w0, [x8]
adrp x8, _qtrue@GOTPAGE
ldr x8, [x8, _qtrue@GOTPAGEOFF]
ldr w8, [x8]
stur w8, [x29, #-4]
b LBB0_3
LBB0_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.comm _qfalse,4,2 ; @qfalse
.comm _DC,8,3 ; @DC
.comm _qtrue,4,2 ; @qtrue
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ItemParse_focusSound ## -- Begin function ItemParse_focusSound
.p2align 4, 0x90
_ItemParse_focusSound: ## @ItemParse_focusSound
.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 -20(%rbp), %edi
leaq -32(%rbp), %rsi
callq _PC_String_Parse
cmpl $0, %eax
jne LBB0_2
## %bb.1:
movq _qfalse@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -4(%rbp)
jmp LBB0_3
LBB0_2:
movq _DC@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax), %rax
movq -32(%rbp), %rdi
movq _qfalse@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
callq *%rax
movl %eax, %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
movq _qtrue@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -4(%rbp)
LBB0_3:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _qfalse,4,2 ## @qfalse
.comm _DC,8,3 ## @DC
.comm _qtrue,4,2 ## @qtrue
.subsections_via_symbols
| AnghaBench/Quake-III-Arena/code/ui/extr_ui_shared.c_ItemParse_focusSound.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function final224
_final224: ; @final224
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
ldr x8, [sp, #16]
str x8, [sp, #8] ; 8-byte Folded Spill
ldur x0, [x29, #-8]
bl _EVP_MD_CTX_md_data
mov x1, x0
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _SHA224_Final
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.no_dead_strip _final224
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function final224
_final224: ## @final224
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rax
movq %rax, -24(%rbp) ## 8-byte Spill
movq -8(%rbp), %rdi
callq _EVP_MD_CTX_md_data
movq -24(%rbp), %rdi ## 8-byte Reload
movl %eax, %esi
callq _SHA224_Final
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _final224
.subsections_via_symbols
| AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_m_sha1.c_final224.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function i2c_ioctl
_i2c_ioctl: ; @i2c_ioctl
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur w2, [x29, #-28]
stur x3, [x29, #-40]
ldur w0, [x29, #-28]
bl __IOC_TYPE
adrp x8, _ETRAXI2C_IOCTYPE@GOTPAGE
ldr x8, [x8, _ETRAXI2C_IOCTYPE@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x0, x8
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x8, _EINVAL@GOTPAGE
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
ldr w9, [x8]
mov w8, #0
subs w8, w8, w9
stur w8, [x29, #-4]
b LBB0_7
LBB0_2:
ldur w0, [x29, #-28]
bl __IOC_NR
str w0, [sp, #48] ; 4-byte Folded Spill
subs w8, w0, #128
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr w8, [sp, #48] ; 4-byte Folded Reload
subs w8, w8, #129
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_6
LBB0_4:
ldur x0, [x29, #-40]
bl _I2C_ARGSLAVE
str w0, [sp, #32] ; 4-byte Folded Spill
ldur x0, [x29, #-40]
bl _I2C_ARGREG
str w0, [sp, #36] ; 4-byte Folded Spill
ldur x0, [x29, #-40]
bl _I2C_ARGVALUE
ldr w8, [sp, #32] ; 4-byte Folded Reload
ldr w10, [sp, #36] ; 4-byte Folded Reload
and w1, w8, #0xff
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
; implicit-def: $x8
mov x8, x0
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printk
bl _D
ldur x0, [x29, #-40]
bl _I2C_ARGSLAVE
str w0, [sp, #44] ; 4-byte Folded Spill
ldur x0, [x29, #-40]
bl _I2C_ARGREG
str w0, [sp, #40] ; 4-byte Folded Spill
ldur x0, [x29, #-40]
bl _I2C_ARGVALUE
ldr w1, [sp, #40] ; 4-byte Folded Reload
mov x2, x0
ldr w0, [sp, #44] ; 4-byte Folded Reload
bl _i2c_writereg
stur w0, [x29, #-4]
b LBB0_7
LBB0_5:
ldur x0, [x29, #-40]
bl _I2C_ARGSLAVE
str w0, [sp, #24] ; 4-byte Folded Spill
ldur x0, [x29, #-40]
bl _I2C_ARGREG
ldr w8, [sp, #24] ; 4-byte Folded Reload
and w1, w8, #0xff
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printk
bl _D
ldur x0, [x29, #-40]
bl _I2C_ARGSLAVE
str w0, [sp, #28] ; 4-byte Folded Spill
ldur x0, [x29, #-40]
bl _I2C_ARGREG
mov x1, x0
ldr w0, [sp, #28] ; 4-byte Folded Reload
bl _i2c_readreg
sturb w0, [x29, #-41]
ldurb w1, [x29, #-41]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printk
bl _D
ldurb w8, [x29, #-41]
stur w8, [x29, #-4]
b LBB0_7
LBB0_6:
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_7
LBB0_7:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.comm _ETRAXI2C_IOCTYPE,8,3 ; @ETRAXI2C_IOCTYPE
.comm _EINVAL,4,2 ; @EINVAL
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "i2cw %d %d %d\n"
l_.str.1: ; @.str.1
.asciz "i2cr %d %d "
l_.str.2: ; @.str.2
.asciz "= %d\n"
.no_dead_strip _i2c_ioctl
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function i2c_ioctl
_i2c_ioctl: ## @i2c_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, -16(%rbp)
movq %rsi, -24(%rbp)
movl %edx, -28(%rbp)
movq %rcx, -40(%rbp)
movl -28(%rbp), %edi
callq __IOC_TYPE
movq _ETRAXI2C_IOCTYPE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_2
## %bb.1:
xorl %eax, %eax
movq _EINVAL@GOTPCREL(%rip), %rcx
subl (%rcx), %eax
movl %eax, -4(%rbp)
jmp LBB0_6
LBB0_2:
movl -28(%rbp), %edi
callq __IOC_NR
movl %eax, %ecx
movl %ecx, -48(%rbp) ## 4-byte Spill
subl $128, %eax
je LBB0_3
jmp LBB0_7
LBB0_7:
movl -48(%rbp), %eax ## 4-byte Reload
subl $129, %eax
je LBB0_4
jmp LBB0_5
LBB0_3:
movq -40(%rbp), %rdi
callq _I2C_ARGSLAVE
## kill: def $al killed $al killed $eax
movb %al, -57(%rbp) ## 1-byte Spill
movq -40(%rbp), %rdi
callq _I2C_ARGREG
movl %eax, -64(%rbp) ## 4-byte Spill
movq -40(%rbp), %rdi
callq _I2C_ARGVALUE
movl -64(%rbp), %edx ## 4-byte Reload
movl %eax, %ecx
movb -57(%rbp), %al ## 1-byte Reload
leaq L_.str(%rip), %rdi
movzbl %al, %esi
movb $0, %al
callq _printk
movl %eax, %edi
callq _D
movq -40(%rbp), %rdi
callq _I2C_ARGSLAVE
movl %eax, -56(%rbp) ## 4-byte Spill
movq -40(%rbp), %rdi
callq _I2C_ARGREG
movl %eax, -52(%rbp) ## 4-byte Spill
movq -40(%rbp), %rdi
callq _I2C_ARGVALUE
movl -56(%rbp), %edi ## 4-byte Reload
movl -52(%rbp), %esi ## 4-byte Reload
movl %eax, %edx
callq _i2c_writereg
movl %eax, -4(%rbp)
jmp LBB0_6
LBB0_4:
movq -40(%rbp), %rdi
callq _I2C_ARGSLAVE
## kill: def $al killed $al killed $eax
movb %al, -69(%rbp) ## 1-byte Spill
movq -40(%rbp), %rdi
callq _I2C_ARGREG
movl %eax, %edx
movb -69(%rbp), %al ## 1-byte Reload
leaq L_.str.1(%rip), %rdi
movzbl %al, %esi
movb $0, %al
callq _printk
movl %eax, %edi
callq _D
movq -40(%rbp), %rdi
callq _I2C_ARGSLAVE
movl %eax, -68(%rbp) ## 4-byte Spill
movq -40(%rbp), %rdi
callq _I2C_ARGREG
movl -68(%rbp), %edi ## 4-byte Reload
movl %eax, %esi
callq _i2c_readreg
movb %al, -41(%rbp)
leaq L_.str.2(%rip), %rdi
movzbl -41(%rbp), %esi
movb $0, %al
callq _printk
movl %eax, %edi
callq _D
movzbl -41(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_6
LBB0_5:
xorl %eax, %eax
movq _EINVAL@GOTPCREL(%rip), %rcx
subl (%rcx), %eax
movl %eax, -4(%rbp)
LBB0_6:
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ETRAXI2C_IOCTYPE,8,3 ## @ETRAXI2C_IOCTYPE
.comm _EINVAL,4,2 ## @EINVAL
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "i2cw %d %d %d\n"
L_.str.1: ## @.str.1
.asciz "i2cr %d %d "
L_.str.2: ## @.str.2
.asciz "= %d\n"
.no_dead_strip _i2c_ioctl
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/arch/cris/arch-v10/drivers/extr_i2c.c_i2c_ioctl.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pidlist_allocate
_pidlist_allocate: ; @pidlist_allocate
.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 w0, [sp, #4]
ldr w0, [sp, #4]
bl _PIDLIST_TOO_LARGE
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldrsw x8, [sp, #4]
lsl x8, x8, #2
mov x0, x8
bl _vmalloc
str x0, [sp, #8]
b LBB0_3
LBB0_2:
ldrsw x8, [sp, #4]
lsl x8, x8, #2
mov x0, x8
adrp x8, _GFP_KERNEL@GOTPAGE
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
ldr w1, [x8]
bl _kmalloc
str x0, [sp, #8]
b LBB0_3
LBB0_3:
ldr x0, [sp, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.no_dead_strip _pidlist_allocate
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pidlist_allocate
_pidlist_allocate: ## @pidlist_allocate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -12(%rbp)
movl -12(%rbp), %edi
callq _PIDLIST_TOO_LARGE
cmpq $0, %rax
je LBB0_2
## %bb.1:
movslq -12(%rbp), %rax
shlq $2, %rax
movl %eax, %edi
callq _vmalloc
movq %rax, -8(%rbp)
jmp LBB0_3
LBB0_2:
movslq -12(%rbp), %rax
shlq $2, %rax
movl %eax, %edi
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _kmalloc
movq %rax, -8(%rbp)
LBB0_3:
movq -8(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.no_dead_strip _pidlist_allocate
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/kernel/extr_cgroup.c_pidlist_allocate.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function TCP_ECN_withdraw_cwr
_TCP_ECN_withdraw_cwr: ; @TCP_ECN_withdraw_cwr
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
adrp x8, _TCP_ECN_DEMAND_CWR@GOTPAGE
ldr x8, [x8, _TCP_ECN_DEMAND_CWR@GOTPAGEOFF]
ldr w10, [x8]
ldr x9, [sp, #8]
ldr w8, [x9]
bic w8, w8, w10
str w8, [x9]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.comm _TCP_ECN_DEMAND_CWR,4,2 ; @TCP_ECN_DEMAND_CWR
.no_dead_strip _TCP_ECN_withdraw_cwr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function TCP_ECN_withdraw_cwr
_TCP_ECN_withdraw_cwr: ## @TCP_ECN_withdraw_cwr
.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 _TCP_ECN_DEMAND_CWR@GOTPCREL(%rip), %rax
movl (%rax), %ecx
xorl $-1, %ecx
movq -8(%rbp), %rax
andl (%rax), %ecx
movl %ecx, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TCP_ECN_DEMAND_CWR,4,2 ## @TCP_ECN_DEMAND_CWR
.no_dead_strip _TCP_ECN_withdraw_cwr
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/net/ipv4/extr_tcp_input.c_TCP_ECN_withdraw_cwr.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function _equalCompositeTypeStmt
__equalCompositeTypeStmt: ; @_equalCompositeTypeStmt
.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 x8, _typevar@GOTPAGE
ldr x8, [x8, _typevar@GOTPAGEOFF]
ldr w0, [x8]
bl _COMPARE_NODE_FIELD
adrp x8, _coldeflist@GOTPAGE
ldr x8, [x8, _coldeflist@GOTPAGEOFF]
ldr w0, [x8]
bl _COMPARE_NODE_FIELD
mov w0, #1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _typevar,4,2 ; @typevar
.comm _coldeflist,4,2 ; @coldeflist
.no_dead_strip __equalCompositeTypeStmt
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function _equalCompositeTypeStmt
__equalCompositeTypeStmt: ## @_equalCompositeTypeStmt
.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 _typevar@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _COMPARE_NODE_FIELD
movq _coldeflist@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _COMPARE_NODE_FIELD
movl $1, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _typevar,4,2 ## @typevar
.comm _coldeflist,4,2 ## @coldeflist
.no_dead_strip __equalCompositeTypeStmt
.subsections_via_symbols
| AnghaBench/postgres/src/backend/nodes/extr_equalfuncs.c__equalCompositeTypeStmt.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _error_syntax ; -- Begin function error_syntax
.p2align 2
_error_syntax: ; @error_syntax
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub sp, sp, #80
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur w0, [x29, #-16]
adrp x8, _RC_STRING_MAX_SIZE@GOTPAGE
ldr x8, [x8, _RC_STRING_MAX_SIZE@GOTPAGEOFF]
ldr w8, [x8]
; kill: def $x8 killed $w8
mov x9, sp
stur x9, [x29, #-24]
lsl x9, x8, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-64] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-64] ; 8-byte Folded Reload
mov x9, sp
subs x0, x9, x10
stur x0, [x29, #-48] ; 8-byte Folded Spill
mov sp, x0
stur x8, [x29, #-32]
adrp x8, _CMD_ModuleHandle@GOTPAGE
ldr x8, [x8, _CMD_ModuleHandle@GOTPAGEOFF]
ldr w8, [x8]
stur w8, [x29, #-36] ; 4-byte Folded Spill
adrp x8, _STRING_ERROR_ERROR2@GOTPAGE
ldr x8, [x8, _STRING_ERROR_ERROR2@GOTPAGEOFF]
ldr w8, [x8]
stur w8, [x29, #-52] ; 4-byte Folded Spill
bl _ARRAYSIZE
ldur w1, [x29, #-52] ; 4-byte Folded Reload
ldur x2, [x29, #-48] ; 8-byte Folded Reload
mov x3, x0
ldur w0, [x29, #-36] ; 4-byte Folded Reload
bl _LoadString
ldur w8, [x29, #-16]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl __T
ldur x1, [x29, #-48] ; 8-byte Folded Reload
ldur w9, [x29, #-16]
; implicit-def: $x8
mov x8, x9
sub sp, sp, #16
mov x9, sp
str x8, [x9]
bl _ConErrPrintf
add sp, sp, #16
b LBB0_3
LBB0_2:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl __T
ldur x1, [x29, #-48] ; 8-byte Folded Reload
bl _ConErrPrintf
b LBB0_3
LBB0_3:
adrp x9, _nErrorLevel@GOTPAGE
ldr x9, [x9, _nErrorLevel@GOTPAGEOFF]
mov w8, #1
str w8, [x9]
ldur x8, [x29, #-24]
mov sp, x8
ldur w8, [x29, #-12]
stur w8, [x29, #-68] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
bl ___stack_chk_fail
LBB0_5:
ldur w0, [x29, #-68] ; 4-byte Folded Reload
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.comm _RC_STRING_MAX_SIZE,4,2 ; @RC_STRING_MAX_SIZE
.comm _CMD_ModuleHandle,4,2 ; @CMD_ModuleHandle
.comm _STRING_ERROR_ERROR2,4,2 ; @STRING_ERROR_ERROR2
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s - %s\n"
l_.str.1: ; @.str.1
.asciz "%s.\n"
.comm _nErrorLevel,4,2 ; @nErrorLevel
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _error_syntax ## -- Begin function error_syntax
.p2align 4, 0x90
_error_syntax: ## @error_syntax
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -16(%rbp)
movq _RC_STRING_MAX_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %eax
## kill: def $rax killed $eax
movq %rax, -56(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -24(%rbp)
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -56(%rbp), %rax ## 8-byte Reload
movq %rsp, %rdi
movq %rdi, -40(%rbp) ## 8-byte Spill
movq %rax, -32(%rbp)
movq _CMD_ModuleHandle@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
movq _STRING_ERROR_ERROR2@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
callq _ARRAYSIZE
movl -48(%rbp), %edi ## 4-byte Reload
movl -44(%rbp), %esi ## 4-byte Reload
movq -40(%rbp), %rdx ## 8-byte Reload
movl %eax, %ecx
callq _LoadString
cmpl $0, -16(%rbp)
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
callq __T
movq -40(%rbp), %rsi ## 8-byte Reload
movl %eax, %edi
movl -16(%rbp), %edx
movb $0, %al
callq _ConErrPrintf
jmp LBB0_3
LBB0_2:
leaq L_.str.1(%rip), %rdi
callq __T
movq -40(%rbp), %rsi ## 8-byte Reload
movl %eax, %edi
movb $0, %al
callq _ConErrPrintf
LBB0_3:
movq _nErrorLevel@GOTPCREL(%rip), %rax
movl $1, (%rax)
movq -24(%rbp), %rax
movq %rax, %rsp
movl -12(%rbp), %eax
movl %eax, -60(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_5
## %bb.4:
movl -60(%rbp), %eax ## 4-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB0_5:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.comm _RC_STRING_MAX_SIZE,4,2 ## @RC_STRING_MAX_SIZE
.comm _CMD_ModuleHandle,4,2 ## @CMD_ModuleHandle
.comm _STRING_ERROR_ERROR2,4,2 ## @STRING_ERROR_ERROR2
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s - %s\n"
L_.str.1: ## @.str.1
.asciz "%s.\n"
.comm _nErrorLevel,4,2 ## @nErrorLevel
.subsections_via_symbols
| AnghaBench/reactos/base/shell/cmd/extr_error.c_error_syntax.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pxa930_rotary_remove
_pxa930_rotary_remove: ; @pxa930_rotary_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]
ldur x0, [x29, #-8]
mov w1, #0
str w1, [sp, #12] ; 4-byte Folded Spill
bl _platform_get_irq
ldr x1, [sp, #16]
bl _free_irq
ldr x8, [sp, #16]
ldr w0, [x8, #4]
bl _input_unregister_device
ldr x8, [sp, #16]
ldr w0, [x8]
bl _iounmap
ldr x0, [sp, #16]
bl _kfree
ldr w0, [sp, #12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.no_dead_strip _pxa930_rotary_remove
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pxa930_rotary_remove
_pxa930_rotary_remove: ## @pxa930_rotary_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 -8(%rbp), %rdi
xorl %esi, %esi
callq _platform_get_irq
movl %eax, %edi
movq -16(%rbp), %rsi
callq _free_irq
movq -16(%rbp), %rax
movl 4(%rax), %edi
callq _input_unregister_device
movq -16(%rbp), %rax
movl (%rax), %edi
callq _iounmap
movq -16(%rbp), %rdi
callq _kfree
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _pxa930_rotary_remove
.subsections_via_symbols
| AnghaBench/linux/drivers/input/keyboard/extr_pxa930_rotary.c_pxa930_rotary_remove.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mvebu_comphy_get_mux
_mvebu_comphy_get_mux: ; @mvebu_comphy_get_mux
.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 w1, [sp, #8]
str w2, [sp, #4]
str w3, [sp]
ldur w1, [x29, #-4]
ldr w2, [sp, #8]
ldr w3, [sp, #4]
ldr w4, [sp]
mov w0, #0
bl _mvebu_comphy_get_mode
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.no_dead_strip _mvebu_comphy_get_mux
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mvebu_comphy_get_mux
_mvebu_comphy_get_mux: ## @mvebu_comphy_get_mux
.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)
movl %esi, -8(%rbp)
movl %edx, -12(%rbp)
movl %ecx, -16(%rbp)
movl -4(%rbp), %esi
movl -8(%rbp), %edx
movl -12(%rbp), %ecx
movl -16(%rbp), %r8d
xorl %edi, %edi
callq _mvebu_comphy_get_mode
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _mvebu_comphy_get_mux
.subsections_via_symbols
| AnghaBench/linux/drivers/phy/marvell/extr_phy-mvebu-cp110-comphy.c_mvebu_comphy_get_mux.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _saa7146_res_free ; -- Begin function saa7146_res_free
.p2align 2
_saa7146_res_free: ; @saa7146_res_free
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
str x8, [sp, #8]
ldr x8, [sp, #8]
ldr x8, [x8]
str x8, [sp]
ldur x8, [x29, #-8]
ldr w8, [x8]
ldur w9, [x29, #-12]
and w8, w8, w9
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ne
and w0, w8, #0x1
bl _BUG_ON
ldur w10, [x29, #-12]
ldur x9, [x29, #-8]
ldr w8, [x9]
bic w8, w8, w10
str w8, [x9]
ldur w10, [x29, #-12]
ldr x9, [sp]
ldr w8, [x9]
bic w8, w8, w10
str w8, [x9]
ldur w1, [x29, #-12]
ldr x8, [sp]
ldr w2, [x8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _DEB_D
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 "res: put 0x%02x, cur:0x%02x\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _saa7146_res_free ## -- Begin function saa7146_res_free
.p2align 4, 0x90
_saa7146_res_free: ## @saa7146_res_free
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -24(%rbp)
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
movq -8(%rbp), %rax
movl (%rax), %eax
andl -12(%rbp), %eax
cmpl -12(%rbp), %eax
setne %al
andb $1, %al
movzbl %al, %edi
callq _BUG_ON
movl -12(%rbp), %ecx
xorl $-1, %ecx
movq -8(%rbp), %rax
andl (%rax), %ecx
movl %ecx, (%rax)
movl -12(%rbp), %ecx
xorl $-1, %ecx
movq -32(%rbp), %rax
andl (%rax), %ecx
movl %ecx, (%rax)
movl -12(%rbp), %esi
movq -32(%rbp), %rax
movl (%rax), %edx
leaq L_.str(%rip), %rdi
callq _DEB_D
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "res: put 0x%02x, cur:0x%02x\n"
.subsections_via_symbols
| AnghaBench/linux/drivers/media/common/saa7146/extr_saa7146_fops.c_saa7146_res_free.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function slab_size
_slab_size: ; @slab_size
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr x8, [x8]
adrp x9, _page_size@GOTPAGE
ldr x9, [x9, _page_size@GOTPAGEOFF]
ldr x9, [x9]
ldr x10, [sp, #8]
ldr x10, [x10, #8]
lsl x9, x9, x10
mul x0, x8, x9
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.comm _page_size,8,3 ; @page_size
.no_dead_strip _slab_size
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function slab_size
_slab_size: ## @slab_size
.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
movq (%rax), %rax
movq _page_size@GOTPCREL(%rip), %rcx
movq (%rcx), %rdx
movq -8(%rbp), %rcx
movq 8(%rcx), %rcx
## kill: def $cl killed $rcx
shlq %cl, %rdx
movq %rdx, %rcx
imulq %rcx, %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _page_size,8,3 ## @page_size
.no_dead_strip _slab_size
.subsections_via_symbols
| AnghaBench/linux/tools/vm/extr_slabinfo.c_slab_size.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function qib_7220_sdma_hw_start_up
_qib_7220_sdma_hw_start_up: ; @qib_7220_sdma_hw_start_up
.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 _qib_sdma_7220_setlengen
ldr x0, [sp, #8]
mov w1, #0
bl _qib_sdma_update_7220_tail
ldr x8, [sp, #8]
ldr x8, [x8]
str xzr, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.no_dead_strip _qib_7220_sdma_hw_start_up
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function qib_7220_sdma_hw_start_up
_qib_7220_sdma_hw_start_up: ## @qib_7220_sdma_hw_start_up
.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 _qib_sdma_7220_setlengen
movq -8(%rbp), %rdi
xorl %esi, %esi
callq _qib_sdma_update_7220_tail
movq -8(%rbp), %rax
movq (%rax), %rax
movq $0, (%rax)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _qib_7220_sdma_hw_start_up
.subsections_via_symbols
| AnghaBench/linux/drivers/infiniband/hw/qib/extr_qib_iba7220.c_qib_7220_sdma_hw_start_up.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _is_nixlf_attached ; -- Begin function is_nixlf_attached
.p2align 2
_is_nixlf_attached: ; @is_nixlf_attached
.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]
stur w1, [x29, #-20]
ldur x0, [x29, #-16]
ldur w1, [x29, #-20]
bl _rvu_get_pfvf
str x0, [sp, #16]
ldur x0, [x29, #-16]
adrp x8, _BLKTYPE_NIX@GOTPAGE
ldr x8, [x8, _BLKTYPE_NIX@GOTPAGEOFF]
ldr w1, [x8]
ldur w2, [x29, #-20]
bl _rvu_get_blkaddr
str w0, [sp, #12]
ldr x8, [sp, #16]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
stur wzr, [x29, #-4]
b LBB0_4
LBB0_3:
mov w8, #1
stur w8, [x29, #-4]
b LBB0_4
LBB0_4:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.comm _BLKTYPE_NIX,4,2 ; @BLKTYPE_NIX
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _is_nixlf_attached ## -- Begin function is_nixlf_attached
.p2align 4, 0x90
_is_nixlf_attached: ## @is_nixlf_attached
.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)
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
callq _rvu_get_pfvf
movq %rax, -32(%rbp)
movq -16(%rbp), %rdi
movq _BLKTYPE_NIX@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl -20(%rbp), %edx
callq _rvu_get_blkaddr
movl %eax, -36(%rbp)
movq -32(%rbp), %rax
cmpl $0, (%rax)
je LBB0_2
## %bb.1:
cmpl $0, -36(%rbp)
jge LBB0_3
LBB0_2:
movl $0, -4(%rbp)
jmp LBB0_4
LBB0_3:
movl $1, -4(%rbp)
LBB0_4:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _BLKTYPE_NIX,4,2 ## @BLKTYPE_NIX
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/marvell/octeontx2/af/extr_rvu_nix.c_is_nixlf_attached.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pmf_parser_read_reg8
_pmf_parser_read_reg8: ; @pmf_parser_read_reg8
.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 x0, [sp, #16]
bl _pmf_next32
str w0, [sp, #4]
ldr w1, [sp, #4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _LOG_PARSE
adrp x8, _read_reg8@GOTPAGE
ldr x8, [x8, _read_reg8@GOTPAGEOFF]
ldr w0, [x8]
ldr x1, [sp, #16]
ldr x2, [sp, #8]
ldr w3, [sp, #4]
bl _PMF_PARSE_CALL
ldur w0, [x29, #-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 "pmf: read_reg8(offset: %08x)\n"
.comm _read_reg8,4,2 ; @read_reg8
.no_dead_strip _pmf_parser_read_reg8
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pmf_parser_read_reg8
_pmf_parser_read_reg8: ## @pmf_parser_read_reg8
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq -16(%rbp), %rdi
callq _pmf_next32
movl %eax, -28(%rbp)
movl -28(%rbp), %esi
leaq L_.str(%rip), %rdi
callq _LOG_PARSE
movq _read_reg8@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq -16(%rbp), %rsi
movq -24(%rbp), %rdx
movl -28(%rbp), %ecx
callq _PMF_PARSE_CALL
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "pmf: read_reg8(offset: %08x)\n"
.comm _read_reg8,4,2 ## @read_reg8
.no_dead_strip _pmf_parser_read_reg8
.subsections_via_symbols
| AnghaBench/linux/arch/powerpc/platforms/powermac/extr_pfunc_core.c_pmf_parser_read_reg8.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function fe_0
_fe_0: ; @fe_0
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w0, [x29, #-4]
mov w1, #0
mov w2, #40
bl _memset
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.no_dead_strip _fe_0
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function fe_0
_fe_0: ## @fe_0
.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)
movl -4(%rbp), %edi
xorl %esi, %esi
movl $40, %edx
callq _memset
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _fe_0
.subsections_via_symbols
| AnghaBench/openssl/crypto/ec/extr_curve25519.c_fe_0.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bt_mesh_atomic_or ; -- Begin function bt_mesh_atomic_or
.p2align 2
_bt_mesh_atomic_or: ; @bt_mesh_atomic_or
.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]
bl _bt_mesh_irq_lock
str w0, [sp, #16]
ldur x8, [x29, #-8]
ldr w8, [x8]
str w8, [sp, #12]
ldur w10, [x29, #-12]
ldur x9, [x29, #-8]
ldr w8, [x9]
orr w8, w8, w10
str w8, [x9]
ldr w0, [sp, #16]
bl _bt_mesh_irq_unlock
ldr w0, [sp, #12]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bt_mesh_atomic_or ## -- Begin function bt_mesh_atomic_or
.p2align 4, 0x90
_bt_mesh_atomic_or: ## @bt_mesh_atomic_or
.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)
movb $0, %al
callq _bt_mesh_irq_lock
movl %eax, -16(%rbp)
movq -8(%rbp), %rax
movl (%rax), %eax
movl %eax, -20(%rbp)
movl -12(%rbp), %ecx
movq -8(%rbp), %rax
orl (%rax), %ecx
movl %ecx, (%rax)
movl -16(%rbp), %edi
callq _bt_mesh_irq_unlock
movl -20(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| AnghaBench/esp-idf/components/bt/esp_ble_mesh/mesh_common/extr_mesh_atomic.c_bt_mesh_atomic_or.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function parse_branch_merge_options
_parse_branch_merge_options: ; @parse_branch_merge_options
.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_5
LBB0_2:
ldur x0, [x29, #-8]
add x1, sp, #16
bl _split_cmdline
str w0, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl __
str w0, [sp, #8] ; 4-byte Folded Spill
adrp x8, _branch@GOTPAGE
ldr x8, [x8, _branch@GOTPAGEOFF]
ldr w8, [x8]
str w8, [sp, #4] ; 4-byte Folded Spill
ldr w0, [sp, #12]
bl _split_cmdline_strerror
bl __
ldr w1, [sp, #4] ; 4-byte Folded Reload
mov x2, x0
ldr w0, [sp, #8] ; 4-byte Folded Reload
bl _die
b LBB0_4
LBB0_4:
ldr x0, [sp, #16]
ldr w8, [sp, #12]
add w1, w8, #2
bl _REALLOC_ARRAY
ldr x8, [sp, #16]
add x0, x8, #8
ldr x1, [sp, #16]
ldr w8, [sp, #12]
add w2, w8, #1
bl _MOVE_ARRAY
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
ldr x9, [sp, #16]
adrp x8, l_.str.1@PAGE
add x8, x8, l_.str.1@PAGEOFF
str x8, [x9]
ldr w0, [sp, #12]
ldr x1, [sp, #16]
adrp x8, _builtin_merge_options@GOTPAGE
ldr x8, [x8, _builtin_merge_options@GOTPAGEOFF]
ldr w3, [x8]
adrp x8, _builtin_merge_usage@GOTPAGE
ldr x8, [x8, _builtin_merge_usage@GOTPAGEOFF]
ldr w4, [x8]
mov x2, #0
mov w5, #0
bl _parse_options
ldr x0, [sp, #16]
bl _free
b LBB0_5
LBB0_5:
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 "Bad branch.%s.mergeoptions string: %s"
.comm _branch,4,2 ; @branch
l_.str.1: ; @.str.1
.asciz "branch.*.mergeoptions"
.comm _builtin_merge_options,4,2 ; @builtin_merge_options
.comm _builtin_merge_usage,4,2 ; @builtin_merge_usage
.no_dead_strip _parse_branch_merge_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_branch_merge_options
_parse_branch_merge_options: ## @parse_branch_merge_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 $32, %rsp
movq %rdi, -8(%rbp)
cmpq $0, -8(%rbp)
jne LBB0_2
## %bb.1:
jmp LBB0_5
LBB0_2:
movq -8(%rbp), %rdi
leaq -16(%rbp), %rsi
callq _split_cmdline
movl %eax, -20(%rbp)
cmpl $0, -20(%rbp)
jge LBB0_4
## %bb.3:
leaq L_.str(%rip), %rdi
callq __
movl %eax, -28(%rbp) ## 4-byte Spill
movq _branch@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -24(%rbp) ## 4-byte Spill
movl -20(%rbp), %edi
callq _split_cmdline_strerror
movq %rax, %rdi
callq __
movl -28(%rbp), %edi ## 4-byte Reload
movl -24(%rbp), %esi ## 4-byte Reload
movl %eax, %edx
callq _die
LBB0_4:
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
addl $2, %esi
callq _REALLOC_ARRAY
movq -16(%rbp), %rdi
addq $8, %rdi
movq -16(%rbp), %rsi
movl -20(%rbp), %edx
addl $1, %edx
callq _MOVE_ARRAY
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
movq -16(%rbp), %rax
leaq L_.str.1(%rip), %rcx
movq %rcx, (%rax)
movl -20(%rbp), %edi
movq -16(%rbp), %rsi
movq _builtin_merge_options@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _builtin_merge_usage@GOTPCREL(%rip), %rax
movl (%rax), %r8d
xorl %eax, %eax
movl %eax, %edx
xorl %r9d, %r9d
callq _parse_options
movq -16(%rbp), %rdi
callq _free
LBB0_5:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Bad branch.%s.mergeoptions string: %s"
.comm _branch,4,2 ## @branch
L_.str.1: ## @.str.1
.asciz "branch.*.mergeoptions"
.comm _builtin_merge_options,4,2 ## @builtin_merge_options
.comm _builtin_merge_usage,4,2 ## @builtin_merge_usage
.no_dead_strip _parse_branch_merge_options
.subsections_via_symbols
| AnghaBench/git/builtin/extr_merge.c_parse_branch_merge_options.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ichx_gpio_get
_ichx_gpio_get: ; @ichx_gpio_get
.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]
adrp x8, _GPIO_LVL@GOTPAGE
ldr x8, [x8, _GPIO_LVL@GOTPAGEOFF]
ldr w0, [x8]
ldr w1, [sp, #4]
bl _ichx_read_bit
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _GPIO_LVL,4,2 ; @GPIO_LVL
.no_dead_strip _ichx_gpio_get
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ichx_gpio_get
_ichx_gpio_get: ## @ichx_gpio_get
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq _GPIO_LVL@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl -12(%rbp), %esi
callq _ichx_read_bit
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GPIO_LVL,4,2 ## @GPIO_LVL
.no_dead_strip _ichx_gpio_get
.subsections_via_symbols
| AnghaBench/linux/drivers/gpio/extr_gpio-ich.c_ichx_gpio_get.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function eeprom_wait_ready
_eeprom_wait_ready: ; @eeprom_wait_ready
.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]
str wzr, [sp]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp]
adrp x9, _MAX_NUM_REGISTER_POLLS@GOTPAGE
ldr x9, [x9, _MAX_NUM_REGISTER_POLLS@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_10
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x0, [sp, #16]
adrp x8, _LBCIF_DWORD1_GROUP@GOTPAGE
ldr x8, [x8, _LBCIF_DWORD1_GROUP@GOTPAGEOFF]
ldr w1, [x8]
add x2, sp, #4
bl _pci_read_config_dword
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x8, _EIO@GOTPAGE
ldr x8, [x8, _EIO@GOTPAGEOFF]
ldr w9, [x8]
mov w8, #0
subs w8, w8, w9
stur w8, [x29, #-4]
b LBB0_11
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4]
and w8, w8, #0x3000
subs w8, w8, #3, lsl #12 ; =12288
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_5
LBB0_5:
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
ldr w8, [sp, #4]
ldr x9, [sp, #8]
str w8, [x9]
b LBB0_7
LBB0_7:
ldrb w8, [sp, #4]
stur w8, [x29, #-4]
b LBB0_11
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp]
add w8, w8, #1
str w8, [sp]
b LBB0_1
LBB0_10:
adrp x8, _ETIMEDOUT@GOTPAGE
ldr x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
ldr w9, [x8]
mov w8, #0
subs w8, w8, w9
stur w8, [x29, #-4]
b LBB0_11
LBB0_11:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.comm _MAX_NUM_REGISTER_POLLS,4,2 ; @MAX_NUM_REGISTER_POLLS
.comm _LBCIF_DWORD1_GROUP,4,2 ; @LBCIF_DWORD1_GROUP
.comm _EIO,4,2 ; @EIO
.comm _ETIMEDOUT,4,2 ; @ETIMEDOUT
.no_dead_strip _eeprom_wait_ready
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function eeprom_wait_ready
_eeprom_wait_ready: ## @eeprom_wait_ready
.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)
movl $0, -32(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -32(%rbp), %eax
movq _MAX_NUM_REGISTER_POLLS@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB0_10
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rdi
movq _LBCIF_DWORD1_GROUP@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -28(%rbp), %rdx
callq _pci_read_config_dword
cmpq $0, %rax
je LBB0_4
## %bb.3:
xorl %eax, %eax
movq _EIO@GOTPCREL(%rip), %rcx
subl (%rcx), %eax
movl %eax, -4(%rbp)
jmp LBB0_11
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
andl $12288, %eax ## imm = 0x3000
cmpl $12288, %eax ## imm = 0x3000
jne LBB0_8
## %bb.5:
cmpq $0, -24(%rbp)
je LBB0_7
## %bb.6:
movl -28(%rbp), %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
LBB0_7:
movl -28(%rbp), %eax
andl $255, %eax
movl %eax, -4(%rbp)
jmp LBB0_11
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_9
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB0_1
LBB0_10:
xorl %eax, %eax
movq _ETIMEDOUT@GOTPCREL(%rip), %rcx
subl (%rcx), %eax
movl %eax, -4(%rbp)
LBB0_11:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MAX_NUM_REGISTER_POLLS,4,2 ## @MAX_NUM_REGISTER_POLLS
.comm _LBCIF_DWORD1_GROUP,4,2 ## @LBCIF_DWORD1_GROUP
.comm _EIO,4,2 ## @EIO
.comm _ETIMEDOUT,4,2 ## @ETIMEDOUT
.no_dead_strip _eeprom_wait_ready
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/agere/extr_et131x.c_eeprom_wait_ready.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mbedtls_ssl_handshake_free ; -- Begin function mbedtls_ssl_handshake_free
.p2align 2
_mbedtls_ssl_handshake_free: ; @mbedtls_ssl_handshake_free
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
b LBB0_3
LBB0_2:
ldr x0, [sp, #8]
mov w1, #1
bl _mbedtls_zeroize
b LBB0_3
LBB0_3:
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 _mbedtls_ssl_handshake_free ## -- Begin function mbedtls_ssl_handshake_free
.p2align 4, 0x90
_mbedtls_ssl_handshake_free: ## @mbedtls_ssl_handshake_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)
cmpq $0, -8(%rbp)
jne LBB0_2
## %bb.1:
jmp LBB0_3
LBB0_2:
movq -8(%rbp), %rdi
movl $1, %esi
callq _mbedtls_zeroize
LBB0_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| AnghaBench/RetroArch/deps/mbedtls/extr_ssl_tls.c_mbedtls_ssl_handshake_free.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function index_tree_end
_index_tree_end: ; @index_tree_end
.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]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur x8, [x29, #-8]
ldr x0, [x8]
ldr x1, [sp, #16]
ldr x2, [sp, #8]
bl _index_tree_node_end
b LBB0_2
LBB0_2:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.no_dead_strip _index_tree_end
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function index_tree_end
_index_tree_end: ## @index_tree_end
.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
cmpq $0, (%rax)
je LBB0_2
## %bb.1:
movq -8(%rbp), %rax
movq (%rax), %rdi
movq -16(%rbp), %rsi
movq -24(%rbp), %rdx
callq _index_tree_node_end
LBB0_2:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _index_tree_end
.subsections_via_symbols
| AnghaBench/obs-studio/deps/lzma/liblzma/common/extr_index.c_index_tree_end.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function atc_enable_chan_irq
_atc_enable_chan_irq: ; @atc_enable_chan_irq
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str w1, [sp, #4]
ldr x0, [sp, #8]
ldr w1, [sp, #4]
mov w2, #1
bl _atc_setup_irq
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.no_dead_strip _atc_enable_chan_irq
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function atc_enable_chan_irq
_atc_enable_chan_irq: ## @atc_enable_chan_irq
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq -8(%rbp), %rdi
movl -12(%rbp), %esi
movl $1, %edx
callq _atc_setup_irq
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _atc_enable_chan_irq
.subsections_via_symbols
| AnghaBench/linux/drivers/dma/extr_at_hdmac_regs.h_atc_enable_chan_irq.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function irlap_recv_rr_frame
_irlap_recv_rr_frame: ; @irlap_recv_rr_frame
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str x2, [sp, #8]
str w3, [sp, #4]
ldr x8, [sp, #16]
ldr x8, [x8]
ldr w8, [x8, #4]
asr w8, w8, #5
ldr x9, [sp, #8]
str w8, [x9]
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur x0, [x29, #-8]
adrp x8, _RECV_RR_CMD@GOTPAGE
ldr x8, [x8, _RECV_RR_CMD@GOTPAGEOFF]
ldr w1, [x8]
ldr x2, [sp, #16]
ldr x3, [sp, #8]
bl _irlap_do_event
b LBB0_3
LBB0_2:
ldur x0, [x29, #-8]
adrp x8, _RECV_RR_RSP@GOTPAGE
ldr x8, [x8, _RECV_RR_RSP@GOTPAGEOFF]
ldr w1, [x8]
ldr x2, [sp, #16]
ldr x3, [sp, #8]
bl _irlap_do_event
b LBB0_3
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.comm _RECV_RR_CMD,4,2 ; @RECV_RR_CMD
.comm _RECV_RR_RSP,4,2 ; @RECV_RR_RSP
.no_dead_strip _irlap_recv_rr_frame
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function irlap_recv_rr_frame
_irlap_recv_rr_frame: ## @irlap_recv_rr_frame
.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)
movl %ecx, -28(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rax
movl 4(%rax), %ecx
sarl $5, %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
cmpl $0, -28(%rbp)
je LBB0_2
## %bb.1:
movq -8(%rbp), %rdi
movq _RECV_RR_CMD@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -16(%rbp), %rdx
movq -24(%rbp), %rcx
callq _irlap_do_event
jmp LBB0_3
LBB0_2:
movq -8(%rbp), %rdi
movq _RECV_RR_RSP@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -16(%rbp), %rdx
movq -24(%rbp), %rcx
callq _irlap_do_event
LBB0_3:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _RECV_RR_CMD,4,2 ## @RECV_RR_CMD
.comm _RECV_RR_RSP,4,2 ## @RECV_RR_RSP
.no_dead_strip _irlap_recv_rr_frame
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/net/irda/extr_irlap_frame.c_irlap_recv_rr_frame.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function test_atol
_test_atol: ; @test_atol
.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
bl _atol
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, eq
and w0, w8, #0x1
ldur w2, [x29, #-4]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _ok
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _atol
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
adds w8, w8, #1
cset w8, eq
and w0, w8, #0x1
ldur w2, [x29, #-4]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _ok
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _atol
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
subs w8, w8, #1
cset w8, eq
and w0, w8, #0x1
ldur w2, [x29, #-4]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _ok
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _atol
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, eq
and w0, w8, #0x1
ldur w2, [x29, #-4]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _ok
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 "0"
l_.str.1: ; @.str.1
.asciz "atol(0) = %d\n"
l_.str.2: ; @.str.2
.asciz "-1"
l_.str.3: ; @.str.3
.asciz "atol(-1) = %d\n"
l_.str.4: ; @.str.4
.asciz "1"
l_.str.5: ; @.str.5
.asciz "atol(1) = %d\n"
l_.str.6: ; @.str.6
.asciz "4294967296"
l_.str.7: ; @.str.7
.asciz "atol(4294967296) = %d\n"
.no_dead_strip _test_atol
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function test_atol
_test_atol: ## @test_atol
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str(%rip), %rdi
callq _atol
movl %eax, -4(%rbp)
cmpl $0, -4(%rbp)
sete %al
andb $1, %al
movzbl %al, %edi
movl -4(%rbp), %edx
leaq L_.str.1(%rip), %rsi
callq _ok
leaq L_.str.2(%rip), %rdi
callq _atol
movl %eax, -4(%rbp)
cmpl $-1, -4(%rbp)
sete %al
andb $1, %al
movzbl %al, %edi
movl -4(%rbp), %edx
leaq L_.str.3(%rip), %rsi
callq _ok
leaq L_.str.4(%rip), %rdi
callq _atol
movl %eax, -4(%rbp)
cmpl $1, -4(%rbp)
sete %al
andb $1, %al
movzbl %al, %edi
movl -4(%rbp), %edx
leaq L_.str.5(%rip), %rsi
callq _ok
leaq L_.str.6(%rip), %rdi
callq _atol
movl %eax, -4(%rbp)
cmpl $0, -4(%rbp)
sete %al
andb $1, %al
movzbl %al, %edi
movl -4(%rbp), %edx
leaq L_.str.7(%rip), %rsi
callq _ok
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "0"
L_.str.1: ## @.str.1
.asciz "atol(0) = %d\n"
L_.str.2: ## @.str.2
.asciz "-1"
L_.str.3: ## @.str.3
.asciz "atol(-1) = %d\n"
L_.str.4: ## @.str.4
.asciz "1"
L_.str.5: ## @.str.5
.asciz "atol(1) = %d\n"
L_.str.6: ## @.str.6
.asciz "4294967296"
L_.str.7: ## @.str.7
.asciz "atol(4294967296) = %d\n"
.no_dead_strip _test_atol
.subsections_via_symbols
| AnghaBench/reactos/modules/rostests/winetests/msvcrt/extr_string.c_test_atol.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ubifs_tnc_has_node ; -- Begin function ubifs_tnc_has_node
.p2align 2
_ubifs_tnc_has_node: ; @ubifs_tnc_has_node
.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]
str w4, [sp, #20]
str w5, [sp, #16]
ldur x0, [x29, #-8]
bl _mutex_lock
ldr w8, [sp, #16]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_1
LBB0_1:
ldur x0, [x29, #-8]
ldur x1, [x29, #-16]
ldur w2, [x29, #-20]
ldr w3, [sp, #24]
ldr w4, [sp, #20]
bl _is_idx_node_in_tnc
str w0, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
b LBB0_12
LBB0_3:
ldr w8, [sp, #12]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
str wzr, [sp, #12]
b LBB0_9
LBB0_5:
ldr w8, [sp, #12]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
mov w8, #1
str w8, [sp, #12]
b LBB0_8
LBB0_7:
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, ne
and w0, w8, #0x1
bl _BUG_ON
b LBB0_8
LBB0_8:
b LBB0_9
LBB0_9:
b LBB0_11
LBB0_10:
ldur x0, [x29, #-8]
ldur x1, [x29, #-16]
ldr w2, [sp, #24]
ldr w3, [sp, #20]
bl _is_leaf_node_in_tnc
str w0, [sp, #12]
b LBB0_11
LBB0_11:
b LBB0_12
LBB0_12:
ldur x0, [x29, #-8]
bl _mutex_unlock
ldr w0, [sp, #12]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ubifs_tnc_has_node ## -- Begin function ubifs_tnc_has_node
.p2align 4, 0x90
_ubifs_tnc_has_node: ## @ubifs_tnc_has_node
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movl %ecx, -24(%rbp)
movl %r8d, -28(%rbp)
movl %r9d, -32(%rbp)
movq -8(%rbp), %rdi
callq _mutex_lock
cmpl $0, -32(%rbp)
je LBB0_10
## %bb.1:
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
movl -20(%rbp), %edx
movl -24(%rbp), %ecx
movl -28(%rbp), %r8d
callq _is_idx_node_in_tnc
movl %eax, -36(%rbp)
cmpl $0, -36(%rbp)
jge LBB0_3
## %bb.2:
jmp LBB0_12
LBB0_3:
cmpl $1, -36(%rbp)
jne LBB0_5
## %bb.4:
movl $0, -36(%rbp)
jmp LBB0_9
LBB0_5:
cmpl $2, -36(%rbp)
jne LBB0_7
## %bb.6:
movl $1, -36(%rbp)
jmp LBB0_8
LBB0_7:
cmpl $0, -36(%rbp)
setne %al
andb $1, %al
movzbl %al, %edi
callq _BUG_ON
LBB0_8:
jmp LBB0_9
LBB0_9:
jmp LBB0_11
LBB0_10:
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
movl -24(%rbp), %edx
movl -28(%rbp), %ecx
callq _is_leaf_node_in_tnc
movl %eax, -36(%rbp)
LBB0_11:
jmp LBB0_12
LBB0_12:
movq -8(%rbp), %rdi
callq _mutex_unlock
movl -36(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/ubifs/extr_tnc.c_ubifs_tnc_has_node.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function tls_dump_gets
_tls_dump_gets: ; @tls_dump_gets
.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]
mov w0, #-1
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.no_dead_strip _tls_dump_gets
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function tls_dump_gets
_tls_dump_gets: ## @tls_dump_gets
.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 $4294967295, %eax ## imm = 0xFFFFFFFF
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _tls_dump_gets
.subsections_via_symbols
| AnghaBench/openssl/test/extr_ssltestlib.c_tls_dump_gets.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function run
_run: ; @run
.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]
bl _pthread_self
mov x8, x0
sub x0, x29, #12
stur w8, [x29, #-12]
adrp x8, _resolvloop@GOTPAGE
ldr x8, [x8, _resolvloop@GOTPAGEOFF]
ldr w2, [x8]
ldur x3, [x29, #-8]
mov x1, #0
bl _pthread_create
str w0, [sp, #16]
ldr w8, [sp, #16]
subs w8, w8, #0
cset w8, eq
and w8, w8, #0x1
str w8, [sp, #12] ; 4-byte Folded Spill
ldr w0, [sp, #16]
bl _strerror
mov x2, x0
ldr w0, [sp, #12] ; 4-byte Folded Reload
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _ATF_REQUIRE_MSG
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.comm _resolvloop,4,2 ; @resolvloop
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "pthread_create failed: %s"
.no_dead_strip _run
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function run
_run: ## @run
.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)
movb $0, %al
callq _pthread_self
movl %eax, -12(%rbp)
movq _resolvloop@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq -8(%rbp), %rcx
leaq -12(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _pthread_create
movl %eax, -16(%rbp)
cmpl $0, -16(%rbp)
sete %al
andb $1, %al
movzbl %al, %eax
movl %eax, -20(%rbp) ## 4-byte Spill
movl -16(%rbp), %edi
callq _strerror
movl -20(%rbp), %edi ## 4-byte Reload
movl %eax, %edx
leaq L_.str(%rip), %rsi
callq _ATF_REQUIRE_MSG
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _resolvloop,4,2 ## @resolvloop
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "pthread_create failed: %s"
.no_dead_strip _run
.subsections_via_symbols
| AnghaBench/freebsd/lib/libc/tests/resolv/extr_resolv_test.c_run.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function set_din_const
_set_din_const: ; @set_din_const
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str w2, [sp, #16]
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
ldr x9, [x9]
str w8, [x9]
adrp x8, _WORD1_DIN_CONST_VALUE@GOTPAGE
ldr x8, [x8, _WORD1_DIN_CONST_VALUE@GOTPAGEOFF]
ldr w0, [x8]
mov w1, #1
bl _FIELD_PREP
str w0, [sp, #8] ; 4-byte Folded Spill
adrp x8, _WORD1_DIN_DMA_MODE@GOTPAGE
ldr x8, [x8, _WORD1_DIN_DMA_MODE@GOTPAGEOFF]
ldr w0, [x8]
adrp x8, _DMA_SRAM@GOTPAGE
ldr x8, [x8, _DMA_SRAM@GOTPAGEOFF]
ldr w1, [x8]
bl _FIELD_PREP
mov x8, x0
ldr w0, [sp, #8] ; 4-byte Folded Reload
orr w8, w0, w8
str w8, [sp, #12] ; 4-byte Folded Spill
adrp x8, _WORD1_DIN_SIZE@GOTPAGE
ldr x8, [x8, _WORD1_DIN_SIZE@GOTPAGEOFF]
ldr w0, [x8]
ldr w1, [sp, #16]
bl _FIELD_PREP
ldr w8, [sp, #12] ; 4-byte Folded Reload
orr w10, w8, w0
ldur x8, [x29, #-8]
ldr x9, [x8]
ldr w8, [x9, #4]
orr w8, w8, w10
str w8, [x9, #4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.comm _WORD1_DIN_CONST_VALUE,4,2 ; @WORD1_DIN_CONST_VALUE
.comm _WORD1_DIN_DMA_MODE,4,2 ; @WORD1_DIN_DMA_MODE
.comm _DMA_SRAM,4,2 ; @DMA_SRAM
.comm _WORD1_DIN_SIZE,4,2 ; @WORD1_DIN_SIZE
.no_dead_strip _set_din_const
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function set_din_const
_set_din_const: ## @set_din_const
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movl -12(%rbp), %ecx
movq -8(%rbp), %rax
movq (%rax), %rax
movl %ecx, (%rax)
movq _WORD1_DIN_CONST_VALUE@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $1, %esi
callq _FIELD_PREP
movl %eax, -24(%rbp) ## 4-byte Spill
movq _WORD1_DIN_DMA_MODE@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _DMA_SRAM@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _FIELD_PREP
movl %eax, %ecx
movl -24(%rbp), %eax ## 4-byte Reload
orl %ecx, %eax
movl %eax, -20(%rbp) ## 4-byte Spill
movq _WORD1_DIN_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl -16(%rbp), %esi
callq _FIELD_PREP
movl -20(%rbp), %ecx ## 4-byte Reload
orl %eax, %ecx
movq -8(%rbp), %rax
movq (%rax), %rax
orl 4(%rax), %ecx
movl %ecx, 4(%rax)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _WORD1_DIN_CONST_VALUE,4,2 ## @WORD1_DIN_CONST_VALUE
.comm _WORD1_DIN_DMA_MODE,4,2 ## @WORD1_DIN_DMA_MODE
.comm _DMA_SRAM,4,2 ## @DMA_SRAM
.comm _WORD1_DIN_SIZE,4,2 ## @WORD1_DIN_SIZE
.no_dead_strip _set_din_const
.subsections_via_symbols
| AnghaBench/linux/drivers/crypto/ccree/extr_cc_hw_queue_defs.h_set_din_const.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sleeping_thread_to_gdb_regs ; -- Begin function sleeping_thread_to_gdb_regs
.p2align 2
_sleeping_thread_to_gdb_regs: ; @sleeping_thread_to_gdb_regs
.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, #-16]
ldr x8, [x8, #8]
adrp x9, _STACK_FRAME_OVERHEAD@GOTPAGE
ldr x9, [x9, _STACK_FRAME_OVERHEAD@GOTPAGEOFF]
ldr x9, [x9]
add x8, x8, x9
str x8, [sp, #24]
ldur x8, [x29, #-8]
str x8, [sp, #16]
ldur x0, [x29, #-8]
adrp x8, _NUMREGBYTES@GOTPAGE
ldr x8, [x8, _NUMREGBYTES@GOTPAGEOFF]
ldr w2, [x8]
mov w1, #0
bl _memset
str wzr, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x0, [sp, #16]
ldr x8, [sp, #24]
ldr x8, [x8, #24]
ldrsw x9, [sp, #12]
ldr w1, [x8, x9, lsl #2]
bl _PACK64
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:
ldr x8, [sp, #16]
add x8, x8, #88
str x8, [sp, #16]
mov w8, #14
str w8, [sp, #12]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #32
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldr x0, [sp, #16]
ldr x8, [sp, #24]
ldr x8, [x8, #24]
ldrsw x9, [sp, #12]
ldr w1, [x8, x9, lsl #2]
bl _PACK64
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_5
LBB0_8:
ldr x8, [sp, #16]
add x8, x8, #256
str x8, [sp, #16]
ldr x0, [sp, #16]
ldr x8, [sp, #24]
ldr w1, [x8, #20]
bl _PACK64
ldr x0, [sp, #16]
ldr x8, [sp, #24]
ldr w1, [x8, #16]
bl _PACK64
ldr x0, [sp, #16]
ldr x8, [sp, #24]
ldr w1, [x8, #12]
bl _PACK32
ldr x0, [sp, #16]
ldr x8, [sp, #24]
ldr w1, [x8, #8]
bl _PACK64
ldr x0, [sp, #16]
ldr x8, [sp, #24]
ldr w1, [x8, #4]
bl _PACK64
ldr x0, [sp, #16]
ldr x8, [sp, #24]
ldr w1, [x8]
bl _PACK32
ldr x8, [sp, #16]
ldur x9, [x29, #-8]
adrp x10, _NUMREGBYTES@GOTPAGE
ldr x10, [x10, _NUMREGBYTES@GOTPAGEOFF]
ldrsw x10, [x10]
add x9, x9, x10
subs x8, x8, x9
cset w8, hi
and w0, w8, #0x1
bl _BUG_ON
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.comm _STACK_FRAME_OVERHEAD,8,3 ; @STACK_FRAME_OVERHEAD
.comm _NUMREGBYTES,4,2 ; @NUMREGBYTES
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sleeping_thread_to_gdb_regs ## -- Begin function sleeping_thread_to_gdb_regs
.p2align 4, 0x90
_sleeping_thread_to_gdb_regs: ## @sleeping_thread_to_gdb_regs
.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 -16(%rbp), %rax
movq 8(%rax), %rax
movq _STACK_FRAME_OVERHEAD@GOTPCREL(%rip), %rcx
addq (%rcx), %rax
movq %rax, -24(%rbp)
movq -8(%rbp), %rax
movq %rax, -32(%rbp)
movq -8(%rbp), %rdi
movq _NUMREGBYTES@GOTPCREL(%rip), %rax
movl (%rax), %edx
xorl %esi, %esi
callq _memset
movl $0, -36(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $3, -36(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -32(%rbp), %rdi
movq -24(%rbp), %rax
movq 24(%rax), %rax
movslq -36(%rbp), %rcx
movl (%rax,%rcx,4), %esi
callq _PACK64
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB0_1
LBB0_4:
movq -32(%rbp), %rax
addq $88, %rax
movq %rax, -32(%rbp)
movl $14, -36(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpl $32, -36(%rbp)
jge LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq -32(%rbp), %rdi
movq -24(%rbp), %rax
movq 24(%rax), %rax
movslq -36(%rbp), %rcx
movl (%rax,%rcx,4), %esi
callq _PACK64
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB0_5
LBB0_8:
movq -32(%rbp), %rax
addq $256, %rax ## imm = 0x100
movq %rax, -32(%rbp)
movq -32(%rbp), %rdi
movq -24(%rbp), %rax
movl 20(%rax), %esi
callq _PACK64
movq -32(%rbp), %rdi
movq -24(%rbp), %rax
movl 16(%rax), %esi
callq _PACK64
movq -32(%rbp), %rdi
movq -24(%rbp), %rax
movl 12(%rax), %esi
callq _PACK32
movq -32(%rbp), %rdi
movq -24(%rbp), %rax
movl 8(%rax), %esi
callq _PACK64
movq -32(%rbp), %rdi
movq -24(%rbp), %rax
movl 4(%rax), %esi
callq _PACK64
movq -32(%rbp), %rdi
movq -24(%rbp), %rax
movl (%rax), %esi
callq _PACK32
movq -32(%rbp), %rax
movq -8(%rbp), %rcx
movq _NUMREGBYTES@GOTPCREL(%rip), %rdx
movslq (%rdx), %rdx
addq %rdx, %rcx
cmpq %rcx, %rax
seta %al
andb $1, %al
movzbl %al, %edi
callq _BUG_ON
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _STACK_FRAME_OVERHEAD,8,3 ## @STACK_FRAME_OVERHEAD
.comm _NUMREGBYTES,4,2 ## @NUMREGBYTES
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/arch/powerpc/kernel/extr_kgdb.c_sleeping_thread_to_gdb_regs.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function i801_wait_intr
_i801_wait_intr: ; @i801_wait_intr
.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 wzr, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov w0, #250
mov w1, #500
bl _usleep_range
ldr x0, [sp, #16]
bl _SMBHSTSTS
bl _inb_p
str w0, [sp, #8]
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
adrp x9, _SMBHSTSTS_HOST_BUSY@GOTPAGE
ldr x9, [x9, _SMBHSTSTS_HOST_BUSY@GOTPAGEOFF]
ldr w9, [x9]
ands w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
adrp x9, _STATUS_ERROR_FLAGS@GOTPAGE
ldr x9, [x9, _STATUS_ERROR_FLAGS@GOTPAGEOFF]
ldr w9, [x9]
adrp x10, _SMBHSTSTS_INTR@GOTPAGE
ldr x10, [x10, _SMBHSTSTS_INTR@GOTPAGEOFF]
ldr w10, [x10]
orr w9, w9, w10
ands w8, w8, w9
cset w8, ne
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
add w9, w8, #1
str w9, [sp, #12]
adrp x9, _MAX_RETRIES@GOTPAGE
ldr x9, [x9, _MAX_RETRIES@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, lt
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
tbnz w8, #0, LBB0_1
b LBB0_6
LBB0_6:
ldr w8, [sp, #12]
adrp x9, _MAX_RETRIES@GOTPAGE
ldr x9, [x9, _MAX_RETRIES@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
ldr x8, [sp, #16]
ldr x0, [x8]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _dev_dbg
adrp x8, _ETIMEDOUT@GOTPAGE
ldr x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
ldr w9, [x8]
mov w8, #0
subs w8, w8, w9
stur w8, [x29, #-4]
b LBB0_9
LBB0_8:
ldr w8, [sp, #8]
adrp x9, _STATUS_ERROR_FLAGS@GOTPAGE
ldr x9, [x9, _STATUS_ERROR_FLAGS@GOTPAGEOFF]
ldr w9, [x9]
adrp x10, _SMBHSTSTS_INTR@GOTPAGE
ldr x10, [x10, _SMBHSTSTS_INTR@GOTPAGEOFF]
ldr w10, [x10]
orr w9, w9, w10
and w8, w8, w9
stur w8, [x29, #-4]
b LBB0_9
LBB0_9:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.comm _SMBHSTSTS_HOST_BUSY,4,2 ; @SMBHSTSTS_HOST_BUSY
.comm _STATUS_ERROR_FLAGS,4,2 ; @STATUS_ERROR_FLAGS
.comm _SMBHSTSTS_INTR,4,2 ; @SMBHSTSTS_INTR
.comm _MAX_RETRIES,4,2 ; @MAX_RETRIES
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "INTR Timeout!\n"
.comm _ETIMEDOUT,4,2 ; @ETIMEDOUT
.no_dead_strip _i801_wait_intr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function i801_wait_intr
_i801_wait_intr: ## @i801_wait_intr
.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 $0, -20(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl $250, %edi
movl $500, %esi ## imm = 0x1F4
callq _usleep_range
movq -16(%rbp), %rdi
callq _SMBHSTSTS
movl %eax, %edi
callq _inb_p
movl %eax, -24(%rbp)
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
movq _SMBHSTSTS_HOST_BUSY@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
cmpl $0, %eax
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %ecx
movq _STATUS_ERROR_FLAGS@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _SMBHSTSTS_INTR@GOTPCREL(%rip), %rdx
orl (%rdx), %eax
andl %eax, %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -25(%rbp) ## 1-byte Spill
jne LBB0_5
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -20(%rbp)
movq _MAX_RETRIES@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
setl %al
movb %al, -25(%rbp) ## 1-byte Spill
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movb -25(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_1
## %bb.6:
movl -20(%rbp), %eax
movq _MAX_RETRIES@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jle LBB0_8
## %bb.7:
movq -16(%rbp), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
callq _dev_dbg
xorl %eax, %eax
movq _ETIMEDOUT@GOTPCREL(%rip), %rcx
subl (%rcx), %eax
movl %eax, -4(%rbp)
jmp LBB0_9
LBB0_8:
movl -24(%rbp), %eax
movq _STATUS_ERROR_FLAGS@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq _SMBHSTSTS_INTR@GOTPCREL(%rip), %rdx
orl (%rdx), %ecx
andl %ecx, %eax
movl %eax, -4(%rbp)
LBB0_9:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SMBHSTSTS_HOST_BUSY,4,2 ## @SMBHSTSTS_HOST_BUSY
.comm _STATUS_ERROR_FLAGS,4,2 ## @STATUS_ERROR_FLAGS
.comm _SMBHSTSTS_INTR,4,2 ## @SMBHSTSTS_INTR
.comm _MAX_RETRIES,4,2 ## @MAX_RETRIES
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "INTR Timeout!\n"
.comm _ETIMEDOUT,4,2 ## @ETIMEDOUT
.no_dead_strip _i801_wait_intr
.subsections_via_symbols
| AnghaBench/linux/drivers/i2c/busses/extr_i2c-i801.c_i801_wait_intr.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lpfc_rdp_res_oed_txpower_desc
_lpfc_rdp_res_oed_txpower_desc: ; @lpfc_rdp_res_oed_txpower_desc
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str x2, [sp, #8]
str wzr, [sp, #4]
adrp x8, _RDP_OED_DESC_TAG@GOTPAGE
ldr x8, [x8, _RDP_OED_DESC_TAG@GOTPAGEOFF]
ldr w0, [x8]
bl _cpu_to_be32
ldr x8, [sp, #16]
str x0, [x8, #48]
ldr x8, [sp, #8]
adrp x9, _SSF_TXPOWER_HIGH_ALARM@GOTPAGE
ldr x9, [x9, _SSF_TXPOWER_HIGH_ALARM@GOTPAGEOFF]
ldr x9, [x9]
ldr x8, [x8, x9, lsl #3]
ldr x9, [sp, #16]
str x8, [x9, #40]
ldr x8, [sp, #8]
adrp x9, _SSF_TXPOWER_LOW_ALARM@GOTPAGE
ldr x9, [x9, _SSF_TXPOWER_LOW_ALARM@GOTPAGEOFF]
ldr x9, [x9]
ldr x8, [x8, x9, lsl #3]
ldr x9, [sp, #16]
str x8, [x9, #32]
ldr x8, [sp, #8]
adrp x9, _SSF_TXPOWER_HIGH_WARNING@GOTPAGE
ldr x9, [x9, _SSF_TXPOWER_HIGH_WARNING@GOTPAGEOFF]
ldr x9, [x9]
ldr x8, [x8, x9, lsl #3]
ldr x9, [sp, #16]
str x8, [x9, #24]
ldr x8, [sp, #8]
adrp x9, _SSF_TXPOWER_LOW_WARNING@GOTPAGE
ldr x9, [x9, _SSF_TXPOWER_LOW_WARNING@GOTPAGEOFF]
ldr x9, [x9]
ldr x8, [x8, x9, lsl #3]
ldr x9, [sp, #16]
str x8, [x9, #16]
ldur x8, [x29, #-8]
ldr w8, [x8]
adrp x9, _LPFC_TRANSGRESSION_HIGH_TXPOWER@GOTPAGE
ldr x9, [x9, _LPFC_TRANSGRESSION_HIGH_TXPOWER@GOTPAGEOFF]
ldr w9, [x9]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x8, _RDP_OET_HIGH_ALARM@GOTPAGE
ldr x8, [x8, _RDP_OET_HIGH_ALARM@GOTPAGEOFF]
ldr w9, [x8]
ldr w8, [sp, #4]
orr w8, w8, w9
str w8, [sp, #4]
b LBB0_2
LBB0_2:
ldur x8, [x29, #-8]
ldr w8, [x8]
adrp x9, _LPFC_TRANSGRESSION_LOW_TXPOWER@GOTPAGE
ldr x9, [x9, _LPFC_TRANSGRESSION_LOW_TXPOWER@GOTPAGEOFF]
ldr w9, [x9]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x8, _RDP_OET_LOW_ALARM@GOTPAGE
ldr x8, [x8, _RDP_OET_LOW_ALARM@GOTPAGEOFF]
ldr w9, [x8]
ldr w8, [sp, #4]
orr w8, w8, w9
str w8, [sp, #4]
b LBB0_4
LBB0_4:
ldur x8, [x29, #-8]
ldr w8, [x8, #4]
adrp x9, _LPFC_TRANSGRESSION_HIGH_TXPOWER@GOTPAGE
ldr x9, [x9, _LPFC_TRANSGRESSION_HIGH_TXPOWER@GOTPAGEOFF]
ldr w9, [x9]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
adrp x8, _RDP_OET_HIGH_WARNING@GOTPAGE
ldr x8, [x8, _RDP_OET_HIGH_WARNING@GOTPAGEOFF]
ldr w9, [x8]
ldr w8, [sp, #4]
orr w8, w8, w9
str w8, [sp, #4]
b LBB0_6
LBB0_6:
ldur x8, [x29, #-8]
ldr w8, [x8, #4]
adrp x9, _LPFC_TRANSGRESSION_LOW_TXPOWER@GOTPAGE
ldr x9, [x9, _LPFC_TRANSGRESSION_LOW_TXPOWER@GOTPAGEOFF]
ldr w9, [x9]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
adrp x8, _RDP_OET_LOW_WARNING@GOTPAGE
ldr x8, [x8, _RDP_OET_LOW_WARNING@GOTPAGEOFF]
ldr w9, [x8]
ldr w8, [sp, #4]
orr w8, w8, w9
str w8, [sp, #4]
b LBB0_8
LBB0_8:
adrp x8, _RDP_OED_TXPOWER@GOTPAGE
ldr x8, [x8, _RDP_OED_TXPOWER@GOTPAGEOFF]
ldr w9, [x8]
mov w8, #15
and w8, w8, w9
adrp x9, _RDP_OED_TYPE_SHIFT@GOTPAGE
ldr x9, [x9, _RDP_OED_TYPE_SHIFT@GOTPAGEOFF]
ldr w9, [x9]
lsl w9, w8, w9
ldr w8, [sp, #4]
orr w8, w8, w9
str w8, [sp, #4]
ldr w0, [sp, #4]
bl _cpu_to_be32
ldr x8, [sp, #16]
str x0, [x8, #8]
mov w0, #40
bl _cpu_to_be32
ldr x8, [sp, #16]
str x0, [x8]
mov w0, #56
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.comm _RDP_OED_DESC_TAG,4,2 ; @RDP_OED_DESC_TAG
.comm _SSF_TXPOWER_HIGH_ALARM,8,3 ; @SSF_TXPOWER_HIGH_ALARM
.comm _SSF_TXPOWER_LOW_ALARM,8,3 ; @SSF_TXPOWER_LOW_ALARM
.comm _SSF_TXPOWER_HIGH_WARNING,8,3 ; @SSF_TXPOWER_HIGH_WARNING
.comm _SSF_TXPOWER_LOW_WARNING,8,3 ; @SSF_TXPOWER_LOW_WARNING
.comm _LPFC_TRANSGRESSION_HIGH_TXPOWER,4,2 ; @LPFC_TRANSGRESSION_HIGH_TXPOWER
.comm _RDP_OET_HIGH_ALARM,4,2 ; @RDP_OET_HIGH_ALARM
.comm _LPFC_TRANSGRESSION_LOW_TXPOWER,4,2 ; @LPFC_TRANSGRESSION_LOW_TXPOWER
.comm _RDP_OET_LOW_ALARM,4,2 ; @RDP_OET_LOW_ALARM
.comm _RDP_OET_HIGH_WARNING,4,2 ; @RDP_OET_HIGH_WARNING
.comm _RDP_OET_LOW_WARNING,4,2 ; @RDP_OET_LOW_WARNING
.comm _RDP_OED_TXPOWER,4,2 ; @RDP_OED_TXPOWER
.comm _RDP_OED_TYPE_SHIFT,4,2 ; @RDP_OED_TYPE_SHIFT
.no_dead_strip _lpfc_rdp_res_oed_txpower_desc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lpfc_rdp_res_oed_txpower_desc
_lpfc_rdp_res_oed_txpower_desc: ## @lpfc_rdp_res_oed_txpower_desc
.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)
movl $0, -28(%rbp)
movq _RDP_OED_DESC_TAG@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _cpu_to_be32
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 48(%rax)
movq -24(%rbp), %rax
movq _SSF_TXPOWER_HIGH_ALARM@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq (%rax,%rcx,8), %rcx
movq -16(%rbp), %rax
movq %rcx, 40(%rax)
movq -24(%rbp), %rax
movq _SSF_TXPOWER_LOW_ALARM@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq (%rax,%rcx,8), %rcx
movq -16(%rbp), %rax
movq %rcx, 32(%rax)
movq -24(%rbp), %rax
movq _SSF_TXPOWER_HIGH_WARNING@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq (%rax,%rcx,8), %rcx
movq -16(%rbp), %rax
movq %rcx, 24(%rax)
movq -24(%rbp), %rax
movq _SSF_TXPOWER_LOW_WARNING@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq (%rax,%rcx,8), %rcx
movq -16(%rbp), %rax
movq %rcx, 16(%rax)
movq -8(%rbp), %rax
movl (%rax), %eax
movq _LPFC_TRANSGRESSION_HIGH_TXPOWER@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
cmpl $0, %eax
je LBB0_2
## %bb.1:
movq _RDP_OET_HIGH_ALARM@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl -28(%rbp), %eax
movl %eax, -28(%rbp)
LBB0_2:
movq -8(%rbp), %rax
movl (%rax), %eax
movq _LPFC_TRANSGRESSION_LOW_TXPOWER@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
cmpl $0, %eax
je LBB0_4
## %bb.3:
movq _RDP_OET_LOW_ALARM@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl -28(%rbp), %eax
movl %eax, -28(%rbp)
LBB0_4:
movq -8(%rbp), %rax
movl 4(%rax), %eax
movq _LPFC_TRANSGRESSION_HIGH_TXPOWER@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
cmpl $0, %eax
je LBB0_6
## %bb.5:
movq _RDP_OET_HIGH_WARNING@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl -28(%rbp), %eax
movl %eax, -28(%rbp)
LBB0_6:
movq -8(%rbp), %rax
movl 4(%rax), %eax
movq _LPFC_TRANSGRESSION_LOW_TXPOWER@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
cmpl $0, %eax
je LBB0_8
## %bb.7:
movq _RDP_OET_LOW_WARNING@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl -28(%rbp), %eax
movl %eax, -28(%rbp)
LBB0_8:
movq _RDP_OED_TXPOWER@GOTPCREL(%rip), %rax
movl (%rax), %eax
andl $15, %eax
movq _RDP_OED_TYPE_SHIFT@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
## kill: def $cl killed $ecx
shll %cl, %eax
orl -28(%rbp), %eax
movl %eax, -28(%rbp)
movl -28(%rbp), %edi
callq _cpu_to_be32
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movl $40, %edi
callq _cpu_to_be32
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, (%rax)
movl $56, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _RDP_OED_DESC_TAG,4,2 ## @RDP_OED_DESC_TAG
.comm _SSF_TXPOWER_HIGH_ALARM,8,3 ## @SSF_TXPOWER_HIGH_ALARM
.comm _SSF_TXPOWER_LOW_ALARM,8,3 ## @SSF_TXPOWER_LOW_ALARM
.comm _SSF_TXPOWER_HIGH_WARNING,8,3 ## @SSF_TXPOWER_HIGH_WARNING
.comm _SSF_TXPOWER_LOW_WARNING,8,3 ## @SSF_TXPOWER_LOW_WARNING
.comm _LPFC_TRANSGRESSION_HIGH_TXPOWER,4,2 ## @LPFC_TRANSGRESSION_HIGH_TXPOWER
.comm _RDP_OET_HIGH_ALARM,4,2 ## @RDP_OET_HIGH_ALARM
.comm _LPFC_TRANSGRESSION_LOW_TXPOWER,4,2 ## @LPFC_TRANSGRESSION_LOW_TXPOWER
.comm _RDP_OET_LOW_ALARM,4,2 ## @RDP_OET_LOW_ALARM
.comm _RDP_OET_HIGH_WARNING,4,2 ## @RDP_OET_HIGH_WARNING
.comm _RDP_OET_LOW_WARNING,4,2 ## @RDP_OET_LOW_WARNING
.comm _RDP_OED_TXPOWER,4,2 ## @RDP_OED_TXPOWER
.comm _RDP_OED_TYPE_SHIFT,4,2 ## @RDP_OED_TYPE_SHIFT
.no_dead_strip _lpfc_rdp_res_oed_txpower_desc
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_els.c_lpfc_rdp_res_oed_txpower_desc.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function retstat
_retstat: ; @retstat
.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]
ldr x8, [x8, #8]
stur x8, [x29, #-16]
ldur x0, [x29, #-8]
mov w1, #1
bl _block_follow
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur x8, [x29, #-8]
ldrsb w8, [x8]
subs w8, w8, #59
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
str wzr, [sp, #16]
str wzr, [sp, #20]
b LBB0_13
LBB0_3:
ldur x0, [x29, #-8]
add x1, sp, #24
bl _explist
str w0, [sp, #16]
ldr x0, [sp, #24]
bl _hasmultret
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_4
LBB0_4:
ldur x0, [x29, #-16]
add x1, sp, #24
bl _luaK_setmultret
ldr x8, [sp, #24]
adrp x9, _VCALL@GOTPAGE
ldr x9, [x9, _VCALL@GOTPAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_5
LBB0_5:
ldr w8, [sp, #16]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
ldur x0, [x29, #-16]
add x1, sp, #24
str x1, [sp, #8] ; 8-byte Folded Spill
bl _getinstruction
adrp x8, _OP_TAILCALL@GOTPAGE
ldr x8, [x8, _OP_TAILCALL@GOTPAGEOFF]
ldr w1, [x8]
bl _SET_OPCODE
ldr x1, [sp, #8] ; 8-byte Folded Reload
ldur x0, [x29, #-16]
bl _getinstruction
bl _GETARG_A
ldur x8, [x29, #-16]
ldr w8, [x8]
subs w8, w0, w8
cset w8, eq
and w0, w8, #0x1
bl _lua_assert
b LBB0_7
LBB0_7:
ldur x8, [x29, #-16]
ldr w8, [x8]
str w8, [sp, #20]
adrp x8, _LUA_MULTRET@GOTPAGE
ldr x8, [x8, _LUA_MULTRET@GOTPAGEOFF]
ldr w8, [x8]
str w8, [sp, #16]
b LBB0_12
LBB0_8:
ldr w8, [sp, #16]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
ldur x0, [x29, #-16]
add x1, sp, #24
bl _luaK_exp2anyreg
str w0, [sp, #20]
b LBB0_11
LBB0_10:
ldur x0, [x29, #-16]
add x1, sp, #24
bl _luaK_exp2nextreg
ldur x8, [x29, #-16]
ldr w8, [x8]
str w8, [sp, #20]
ldr w8, [sp, #16]
ldur x9, [x29, #-16]
ldr w9, [x9, #4]
ldr w10, [sp, #20]
subs w9, w9, w10
subs w8, w8, w9
cset w8, eq
and w0, w8, #0x1
bl _lua_assert
b LBB0_11
LBB0_11:
b LBB0_12
LBB0_12:
b LBB0_13
LBB0_13:
ldur x0, [x29, #-16]
ldr w1, [sp, #20]
ldr w2, [sp, #16]
bl _luaK_ret
ldur x0, [x29, #-8]
mov w1, #59
bl _testnext
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.comm _VCALL,8,3 ; @VCALL
.comm _OP_TAILCALL,4,2 ; @OP_TAILCALL
.comm _LUA_MULTRET,4,2 ; @LUA_MULTRET
.no_dead_strip _retstat
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function retstat
_retstat: ## @retstat
.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)
movq -8(%rbp), %rdi
movl $1, %esi
callq _block_follow
cmpq $0, %rax
jne LBB0_2
## %bb.1:
movq -8(%rbp), %rax
movsbl (%rax), %eax
cmpl $59, %eax
jne LBB0_3
LBB0_2:
movl $0, -32(%rbp)
movl $0, -28(%rbp)
jmp LBB0_13
LBB0_3:
movq -8(%rbp), %rdi
leaq -24(%rbp), %rsi
callq _explist
movl %eax, -32(%rbp)
movq -24(%rbp), %rdi
callq _hasmultret
cmpq $0, %rax
je LBB0_8
## %bb.4:
movq -16(%rbp), %rdi
leaq -24(%rbp), %rsi
callq _luaK_setmultret
movq -24(%rbp), %rax
movq _VCALL@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_7
## %bb.5:
cmpl $1, -32(%rbp)
jne LBB0_7
## %bb.6:
movq -16(%rbp), %rdi
leaq -24(%rbp), %rsi
callq _getinstruction
movl %eax, %edi
movq _OP_TAILCALL@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _SET_OPCODE
movq -16(%rbp), %rdi
leaq -24(%rbp), %rsi
callq _getinstruction
movl %eax, %edi
callq _GETARG_A
movq -16(%rbp), %rcx
cmpl (%rcx), %eax
sete %al
andb $1, %al
movzbl %al, %edi
callq _lua_assert
LBB0_7:
movq -16(%rbp), %rax
movl (%rax), %eax
movl %eax, -28(%rbp)
movq _LUA_MULTRET@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -32(%rbp)
jmp LBB0_12
LBB0_8:
cmpl $1, -32(%rbp)
jne LBB0_10
## %bb.9:
movq -16(%rbp), %rdi
leaq -24(%rbp), %rsi
callq _luaK_exp2anyreg
movl %eax, -28(%rbp)
jmp LBB0_11
LBB0_10:
movq -16(%rbp), %rdi
leaq -24(%rbp), %rsi
callq _luaK_exp2nextreg
movq -16(%rbp), %rax
movl (%rax), %eax
movl %eax, -28(%rbp)
movl -32(%rbp), %eax
movq -16(%rbp), %rcx
movl 4(%rcx), %ecx
subl -28(%rbp), %ecx
cmpl %ecx, %eax
sete %al
andb $1, %al
movzbl %al, %edi
callq _lua_assert
LBB0_11:
jmp LBB0_12
LBB0_12:
jmp LBB0_13
LBB0_13:
movq -16(%rbp), %rdi
movl -28(%rbp), %esi
movl -32(%rbp), %edx
callq _luaK_ret
movq -8(%rbp), %rdi
movl $59, %esi
callq _testnext
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _VCALL,8,3 ## @VCALL
.comm _OP_TAILCALL,4,2 ## @OP_TAILCALL
.comm _LUA_MULTRET,4,2 ## @LUA_MULTRET
.no_dead_strip _retstat
.subsections_via_symbols
| AnghaBench/xLua/WebGLPlugins/extr_lparser.c_retstat.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function wlan_peerstate_to_snmp
_wlan_peerstate_to_snmp: ; @wlan_peerstate_to_snmp
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str wzr, [sp, #8]
ldr w8, [sp, #12]
adrp x9, _IEEE80211_NODE_AUTH@GOTPAGE
ldr x9, [x9, _IEEE80211_NODE_AUTH@GOTPAGEOFF]
ldr w9, [x9]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x8, _WlanIfacePeerFlagsType_authorizedForData@GOTPAGE
ldr x8, [x8, _WlanIfacePeerFlagsType_authorizedForData@GOTPAGEOFF]
ldr w9, [x8]
mov w8, #1
lsl w9, w8, w9
ldr w8, [sp, #8]
orr w8, w8, w9
str w8, [sp, #8]
b LBB0_2
LBB0_2:
ldr w8, [sp, #12]
adrp x9, _IEEE80211_NODE_QOS@GOTPAGE
ldr x9, [x9, _IEEE80211_NODE_QOS@GOTPAGEOFF]
ldr w9, [x9]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x8, _WlanIfacePeerFlagsType_qosEnabled@GOTPAGE
ldr x8, [x8, _WlanIfacePeerFlagsType_qosEnabled@GOTPAGEOFF]
ldr w9, [x8]
mov w8, #1
lsl w9, w8, w9
ldr w8, [sp, #8]
orr w8, w8, w9
str w8, [sp, #8]
b LBB0_4
LBB0_4:
ldr w8, [sp, #12]
adrp x9, _IEEE80211_NODE_ERP@GOTPAGE
ldr x9, [x9, _IEEE80211_NODE_ERP@GOTPAGEOFF]
ldr w9, [x9]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
adrp x8, _WlanIfacePeerFlagsType_erpEnabled@GOTPAGE
ldr x8, [x8, _WlanIfacePeerFlagsType_erpEnabled@GOTPAGEOFF]
ldr w9, [x8]
mov w8, #1
lsl w9, w8, w9
ldr w8, [sp, #8]
orr w8, w8, w9
str w8, [sp, #8]
b LBB0_6
LBB0_6:
ldr w8, [sp, #12]
adrp x9, _IEEE80211_NODE_PWR_MGT@GOTPAGE
ldr x9, [x9, _IEEE80211_NODE_PWR_MGT@GOTPAGEOFF]
ldr w9, [x9]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
adrp x8, _WlanIfacePeerFlagsType_powerSaveMode@GOTPAGE
ldr x8, [x8, _WlanIfacePeerFlagsType_powerSaveMode@GOTPAGEOFF]
ldr w9, [x8]
mov w8, #1
lsl w9, w8, w9
ldr w8, [sp, #8]
orr w8, w8, w9
str w8, [sp, #8]
b LBB0_8
LBB0_8:
ldr w8, [sp, #12]
adrp x9, _IEEE80211_NODE_AREF@GOTPAGE
ldr x9, [x9, _IEEE80211_NODE_AREF@GOTPAGEOFF]
ldr w9, [x9]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
adrp x8, _WlanIfacePeerFlagsType_authRefHeld@GOTPAGE
ldr x8, [x8, _WlanIfacePeerFlagsType_authRefHeld@GOTPAGEOFF]
ldr w9, [x8]
mov w8, #1
lsl w9, w8, w9
ldr w8, [sp, #8]
orr w8, w8, w9
str w8, [sp, #8]
b LBB0_10
LBB0_10:
ldr w8, [sp, #12]
adrp x9, _IEEE80211_NODE_HT@GOTPAGE
ldr x9, [x9, _IEEE80211_NODE_HT@GOTPAGEOFF]
ldr w9, [x9]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
adrp x8, _WlanIfacePeerFlagsType_htEnabled@GOTPAGE
ldr x8, [x8, _WlanIfacePeerFlagsType_htEnabled@GOTPAGEOFF]
ldr w9, [x8]
mov w8, #1
lsl w9, w8, w9
ldr w8, [sp, #8]
orr w8, w8, w9
str w8, [sp, #8]
b LBB0_12
LBB0_12:
ldr w8, [sp, #12]
adrp x9, _IEEE80211_NODE_HTCOMPAT@GOTPAGE
ldr x9, [x9, _IEEE80211_NODE_HTCOMPAT@GOTPAGEOFF]
ldr w9, [x9]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
adrp x8, _WlanIfacePeerFlagsType_htCompat@GOTPAGE
ldr x8, [x8, _WlanIfacePeerFlagsType_htCompat@GOTPAGEOFF]
ldr w9, [x8]
mov w8, #1
lsl w9, w8, w9
ldr w8, [sp, #8]
orr w8, w8, w9
str w8, [sp, #8]
b LBB0_14
LBB0_14:
ldr w8, [sp, #12]
adrp x9, _IEEE80211_NODE_WPS@GOTPAGE
ldr x9, [x9, _IEEE80211_NODE_WPS@GOTPAGEOFF]
ldr w9, [x9]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_16
b LBB0_15
LBB0_15:
adrp x8, _WlanIfacePeerFlagsType_wpsAssoc@GOTPAGE
ldr x8, [x8, _WlanIfacePeerFlagsType_wpsAssoc@GOTPAGEOFF]
ldr w9, [x8]
mov w8, #1
lsl w9, w8, w9
ldr w8, [sp, #8]
orr w8, w8, w9
str w8, [sp, #8]
b LBB0_16
LBB0_16:
ldr w8, [sp, #12]
adrp x9, _IEEE80211_NODE_TSN@GOTPAGE
ldr x9, [x9, _IEEE80211_NODE_TSN@GOTPAGEOFF]
ldr w9, [x9]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17:
adrp x8, _WlanIfacePeerFlagsType_tsnAssoc@GOTPAGE
ldr x8, [x8, _WlanIfacePeerFlagsType_tsnAssoc@GOTPAGEOFF]
ldr w9, [x8]
mov w8, #1
lsl w9, w8, w9
ldr w8, [sp, #8]
orr w8, w8, w9
str w8, [sp, #8]
b LBB0_18
LBB0_18:
ldr w8, [sp, #12]
adrp x9, _IEEE80211_NODE_AMPDU_RX@GOTPAGE
ldr x9, [x9, _IEEE80211_NODE_AMPDU_RX@GOTPAGEOFF]
ldr w9, [x9]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_20
b LBB0_19
LBB0_19:
adrp x8, _WlanIfacePeerFlagsType_ampduRx@GOTPAGE
ldr x8, [x8, _WlanIfacePeerFlagsType_ampduRx@GOTPAGEOFF]
ldr w9, [x8]
mov w8, #1
lsl w9, w8, w9
ldr w8, [sp, #8]
orr w8, w8, w9
str w8, [sp, #8]
b LBB0_20
LBB0_20:
ldr w8, [sp, #12]
adrp x9, _IEEE80211_NODE_AMPDU_TX@GOTPAGE
ldr x9, [x9, _IEEE80211_NODE_AMPDU_TX@GOTPAGEOFF]
ldr w9, [x9]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_22
b LBB0_21
LBB0_21:
adrp x8, _WlanIfacePeerFlagsType_ampduTx@GOTPAGE
ldr x8, [x8, _WlanIfacePeerFlagsType_ampduTx@GOTPAGEOFF]
ldr w9, [x8]
mov w8, #1
lsl w9, w8, w9
ldr w8, [sp, #8]
orr w8, w8, w9
str w8, [sp, #8]
b LBB0_22
LBB0_22:
ldr w8, [sp, #12]
adrp x9, _IEEE80211_NODE_MIMO_PS@GOTPAGE
ldr x9, [x9, _IEEE80211_NODE_MIMO_PS@GOTPAGEOFF]
ldr w9, [x9]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_24
b LBB0_23
LBB0_23:
adrp x8, _WlanIfacePeerFlagsType_mimoPowerSave@GOTPAGE
ldr x8, [x8, _WlanIfacePeerFlagsType_mimoPowerSave@GOTPAGEOFF]
ldr w9, [x8]
mov w8, #1
lsl w9, w8, w9
ldr w8, [sp, #8]
orr w8, w8, w9
str w8, [sp, #8]
b LBB0_24
LBB0_24:
ldr w8, [sp, #12]
adrp x9, _IEEE80211_NODE_MIMO_RTS@GOTPAGE
ldr x9, [x9, _IEEE80211_NODE_MIMO_RTS@GOTPAGEOFF]
ldr w9, [x9]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_26
b LBB0_25
LBB0_25:
adrp x8, _WlanIfacePeerFlagsType_sendRts@GOTPAGE
ldr x8, [x8, _WlanIfacePeerFlagsType_sendRts@GOTPAGEOFF]
ldr w9, [x8]
mov w8, #1
lsl w9, w8, w9
ldr w8, [sp, #8]
orr w8, w8, w9
str w8, [sp, #8]
b LBB0_26
LBB0_26:
ldr w8, [sp, #12]
adrp x9, _IEEE80211_NODE_RIFS@GOTPAGE
ldr x9, [x9, _IEEE80211_NODE_RIFS@GOTPAGEOFF]
ldr w9, [x9]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_28
b LBB0_27
LBB0_27:
adrp x8, _WlanIfacePeerFlagsType_rifs@GOTPAGE
ldr x8, [x8, _WlanIfacePeerFlagsType_rifs@GOTPAGEOFF]
ldr w9, [x8]
mov w8, #1
lsl w9, w8, w9
ldr w8, [sp, #8]
orr w8, w8, w9
str w8, [sp, #8]
b LBB0_28
LBB0_28:
ldr w8, [sp, #12]
adrp x9, _IEEE80211_NODE_SGI20@GOTPAGE
ldr x9, [x9, _IEEE80211_NODE_SGI20@GOTPAGEOFF]
ldr w9, [x9]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_30
b LBB0_29
LBB0_29:
adrp x8, _WlanIfacePeerFlagsType_shortGiHT20@GOTPAGE
ldr x8, [x8, _WlanIfacePeerFlagsType_shortGiHT20@GOTPAGEOFF]
ldr w9, [x8]
mov w8, #1
lsl w9, w8, w9
ldr w8, [sp, #8]
orr w8, w8, w9
str w8, [sp, #8]
b LBB0_30
LBB0_30:
ldr w8, [sp, #12]
adrp x9, _IEEE80211_NODE_SGI40@GOTPAGE
ldr x9, [x9, _IEEE80211_NODE_SGI40@GOTPAGEOFF]
ldr w9, [x9]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_32
b LBB0_31
LBB0_31:
adrp x8, _WlanIfacePeerFlagsType_shortGiHT40@GOTPAGE
ldr x8, [x8, _WlanIfacePeerFlagsType_shortGiHT40@GOTPAGEOFF]
ldr w9, [x8]
mov w8, #1
lsl w9, w8, w9
ldr w8, [sp, #8]
orr w8, w8, w9
str w8, [sp, #8]
b LBB0_32
LBB0_32:
ldr w8, [sp, #12]
adrp x9, _IEEE80211_NODE_AMSDU_RX@GOTPAGE
ldr x9, [x9, _IEEE80211_NODE_AMSDU_RX@GOTPAGEOFF]
ldr w9, [x9]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_34
b LBB0_33
LBB0_33:
adrp x8, _WlanIfacePeerFlagsType_amsduRx@GOTPAGE
ldr x8, [x8, _WlanIfacePeerFlagsType_amsduRx@GOTPAGEOFF]
ldr w9, [x8]
mov w8, #1
lsl w9, w8, w9
ldr w8, [sp, #8]
orr w8, w8, w9
str w8, [sp, #8]
b LBB0_34
LBB0_34:
ldr w8, [sp, #12]
adrp x9, _IEEE80211_NODE_AMSDU_TX@GOTPAGE
ldr x9, [x9, _IEEE80211_NODE_AMSDU_TX@GOTPAGEOFF]
ldr w9, [x9]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_36
b LBB0_35
LBB0_35:
adrp x8, _WlanIfacePeerFlagsType_amsduTx@GOTPAGE
ldr x8, [x8, _WlanIfacePeerFlagsType_amsduTx@GOTPAGEOFF]
ldr w9, [x8]
mov w8, #1
lsl w9, w8, w9
ldr w8, [sp, #8]
orr w8, w8, w9
str w8, [sp, #8]
b LBB0_36
LBB0_36:
ldr w0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.comm _IEEE80211_NODE_AUTH,4,2 ; @IEEE80211_NODE_AUTH
.comm _WlanIfacePeerFlagsType_authorizedForData,4,2 ; @WlanIfacePeerFlagsType_authorizedForData
.comm _IEEE80211_NODE_QOS,4,2 ; @IEEE80211_NODE_QOS
.comm _WlanIfacePeerFlagsType_qosEnabled,4,2 ; @WlanIfacePeerFlagsType_qosEnabled
.comm _IEEE80211_NODE_ERP,4,2 ; @IEEE80211_NODE_ERP
.comm _WlanIfacePeerFlagsType_erpEnabled,4,2 ; @WlanIfacePeerFlagsType_erpEnabled
.comm _IEEE80211_NODE_PWR_MGT,4,2 ; @IEEE80211_NODE_PWR_MGT
.comm _WlanIfacePeerFlagsType_powerSaveMode,4,2 ; @WlanIfacePeerFlagsType_powerSaveMode
.comm _IEEE80211_NODE_AREF,4,2 ; @IEEE80211_NODE_AREF
.comm _WlanIfacePeerFlagsType_authRefHeld,4,2 ; @WlanIfacePeerFlagsType_authRefHeld
.comm _IEEE80211_NODE_HT,4,2 ; @IEEE80211_NODE_HT
.comm _WlanIfacePeerFlagsType_htEnabled,4,2 ; @WlanIfacePeerFlagsType_htEnabled
.comm _IEEE80211_NODE_HTCOMPAT,4,2 ; @IEEE80211_NODE_HTCOMPAT
.comm _WlanIfacePeerFlagsType_htCompat,4,2 ; @WlanIfacePeerFlagsType_htCompat
.comm _IEEE80211_NODE_WPS,4,2 ; @IEEE80211_NODE_WPS
.comm _WlanIfacePeerFlagsType_wpsAssoc,4,2 ; @WlanIfacePeerFlagsType_wpsAssoc
.comm _IEEE80211_NODE_TSN,4,2 ; @IEEE80211_NODE_TSN
.comm _WlanIfacePeerFlagsType_tsnAssoc,4,2 ; @WlanIfacePeerFlagsType_tsnAssoc
.comm _IEEE80211_NODE_AMPDU_RX,4,2 ; @IEEE80211_NODE_AMPDU_RX
.comm _WlanIfacePeerFlagsType_ampduRx,4,2 ; @WlanIfacePeerFlagsType_ampduRx
.comm _IEEE80211_NODE_AMPDU_TX,4,2 ; @IEEE80211_NODE_AMPDU_TX
.comm _WlanIfacePeerFlagsType_ampduTx,4,2 ; @WlanIfacePeerFlagsType_ampduTx
.comm _IEEE80211_NODE_MIMO_PS,4,2 ; @IEEE80211_NODE_MIMO_PS
.comm _WlanIfacePeerFlagsType_mimoPowerSave,4,2 ; @WlanIfacePeerFlagsType_mimoPowerSave
.comm _IEEE80211_NODE_MIMO_RTS,4,2 ; @IEEE80211_NODE_MIMO_RTS
.comm _WlanIfacePeerFlagsType_sendRts,4,2 ; @WlanIfacePeerFlagsType_sendRts
.comm _IEEE80211_NODE_RIFS,4,2 ; @IEEE80211_NODE_RIFS
.comm _WlanIfacePeerFlagsType_rifs,4,2 ; @WlanIfacePeerFlagsType_rifs
.comm _IEEE80211_NODE_SGI20,4,2 ; @IEEE80211_NODE_SGI20
.comm _WlanIfacePeerFlagsType_shortGiHT20,4,2 ; @WlanIfacePeerFlagsType_shortGiHT20
.comm _IEEE80211_NODE_SGI40,4,2 ; @IEEE80211_NODE_SGI40
.comm _WlanIfacePeerFlagsType_shortGiHT40,4,2 ; @WlanIfacePeerFlagsType_shortGiHT40
.comm _IEEE80211_NODE_AMSDU_RX,4,2 ; @IEEE80211_NODE_AMSDU_RX
.comm _WlanIfacePeerFlagsType_amsduRx,4,2 ; @WlanIfacePeerFlagsType_amsduRx
.comm _IEEE80211_NODE_AMSDU_TX,4,2 ; @IEEE80211_NODE_AMSDU_TX
.comm _WlanIfacePeerFlagsType_amsduTx,4,2 ; @WlanIfacePeerFlagsType_amsduTx
.no_dead_strip _wlan_peerstate_to_snmp
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function wlan_peerstate_to_snmp
_wlan_peerstate_to_snmp: ## @wlan_peerstate_to_snmp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl $0, -8(%rbp)
movl -4(%rbp), %eax
movq _IEEE80211_NODE_AUTH@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
cmpl $0, %eax
je LBB0_2
## %bb.1:
movq _WlanIfacePeerFlagsType_authorizedForData@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
orl -8(%rbp), %eax
movl %eax, -8(%rbp)
LBB0_2:
movl -4(%rbp), %eax
movq _IEEE80211_NODE_QOS@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
cmpl $0, %eax
je LBB0_4
## %bb.3:
movq _WlanIfacePeerFlagsType_qosEnabled@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
orl -8(%rbp), %eax
movl %eax, -8(%rbp)
LBB0_4:
movl -4(%rbp), %eax
movq _IEEE80211_NODE_ERP@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
cmpl $0, %eax
je LBB0_6
## %bb.5:
movq _WlanIfacePeerFlagsType_erpEnabled@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
orl -8(%rbp), %eax
movl %eax, -8(%rbp)
LBB0_6:
movl -4(%rbp), %eax
movq _IEEE80211_NODE_PWR_MGT@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
cmpl $0, %eax
je LBB0_8
## %bb.7:
movq _WlanIfacePeerFlagsType_powerSaveMode@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
orl -8(%rbp), %eax
movl %eax, -8(%rbp)
LBB0_8:
movl -4(%rbp), %eax
movq _IEEE80211_NODE_AREF@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
cmpl $0, %eax
je LBB0_10
## %bb.9:
movq _WlanIfacePeerFlagsType_authRefHeld@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
orl -8(%rbp), %eax
movl %eax, -8(%rbp)
LBB0_10:
movl -4(%rbp), %eax
movq _IEEE80211_NODE_HT@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
cmpl $0, %eax
je LBB0_12
## %bb.11:
movq _WlanIfacePeerFlagsType_htEnabled@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
orl -8(%rbp), %eax
movl %eax, -8(%rbp)
LBB0_12:
movl -4(%rbp), %eax
movq _IEEE80211_NODE_HTCOMPAT@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
cmpl $0, %eax
je LBB0_14
## %bb.13:
movq _WlanIfacePeerFlagsType_htCompat@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
orl -8(%rbp), %eax
movl %eax, -8(%rbp)
LBB0_14:
movl -4(%rbp), %eax
movq _IEEE80211_NODE_WPS@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
cmpl $0, %eax
je LBB0_16
## %bb.15:
movq _WlanIfacePeerFlagsType_wpsAssoc@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
orl -8(%rbp), %eax
movl %eax, -8(%rbp)
LBB0_16:
movl -4(%rbp), %eax
movq _IEEE80211_NODE_TSN@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
cmpl $0, %eax
je LBB0_18
## %bb.17:
movq _WlanIfacePeerFlagsType_tsnAssoc@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
orl -8(%rbp), %eax
movl %eax, -8(%rbp)
LBB0_18:
movl -4(%rbp), %eax
movq _IEEE80211_NODE_AMPDU_RX@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
cmpl $0, %eax
je LBB0_20
## %bb.19:
movq _WlanIfacePeerFlagsType_ampduRx@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
orl -8(%rbp), %eax
movl %eax, -8(%rbp)
LBB0_20:
movl -4(%rbp), %eax
movq _IEEE80211_NODE_AMPDU_TX@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
cmpl $0, %eax
je LBB0_22
## %bb.21:
movq _WlanIfacePeerFlagsType_ampduTx@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
orl -8(%rbp), %eax
movl %eax, -8(%rbp)
LBB0_22:
movl -4(%rbp), %eax
movq _IEEE80211_NODE_MIMO_PS@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
cmpl $0, %eax
je LBB0_24
## %bb.23:
movq _WlanIfacePeerFlagsType_mimoPowerSave@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
orl -8(%rbp), %eax
movl %eax, -8(%rbp)
LBB0_24:
movl -4(%rbp), %eax
movq _IEEE80211_NODE_MIMO_RTS@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
cmpl $0, %eax
je LBB0_26
## %bb.25:
movq _WlanIfacePeerFlagsType_sendRts@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
orl -8(%rbp), %eax
movl %eax, -8(%rbp)
LBB0_26:
movl -4(%rbp), %eax
movq _IEEE80211_NODE_RIFS@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
cmpl $0, %eax
je LBB0_28
## %bb.27:
movq _WlanIfacePeerFlagsType_rifs@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
orl -8(%rbp), %eax
movl %eax, -8(%rbp)
LBB0_28:
movl -4(%rbp), %eax
movq _IEEE80211_NODE_SGI20@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
cmpl $0, %eax
je LBB0_30
## %bb.29:
movq _WlanIfacePeerFlagsType_shortGiHT20@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
orl -8(%rbp), %eax
movl %eax, -8(%rbp)
LBB0_30:
movl -4(%rbp), %eax
movq _IEEE80211_NODE_SGI40@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
cmpl $0, %eax
je LBB0_32
## %bb.31:
movq _WlanIfacePeerFlagsType_shortGiHT40@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
orl -8(%rbp), %eax
movl %eax, -8(%rbp)
LBB0_32:
movl -4(%rbp), %eax
movq _IEEE80211_NODE_AMSDU_RX@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
cmpl $0, %eax
je LBB0_34
## %bb.33:
movq _WlanIfacePeerFlagsType_amsduRx@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
orl -8(%rbp), %eax
movl %eax, -8(%rbp)
LBB0_34:
movl -4(%rbp), %eax
movq _IEEE80211_NODE_AMSDU_TX@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
cmpl $0, %eax
je LBB0_36
## %bb.35:
movq _WlanIfacePeerFlagsType_amsduTx@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
orl -8(%rbp), %eax
movl %eax, -8(%rbp)
LBB0_36:
movl -8(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IEEE80211_NODE_AUTH,4,2 ## @IEEE80211_NODE_AUTH
.comm _WlanIfacePeerFlagsType_authorizedForData,4,2 ## @WlanIfacePeerFlagsType_authorizedForData
.comm _IEEE80211_NODE_QOS,4,2 ## @IEEE80211_NODE_QOS
.comm _WlanIfacePeerFlagsType_qosEnabled,4,2 ## @WlanIfacePeerFlagsType_qosEnabled
.comm _IEEE80211_NODE_ERP,4,2 ## @IEEE80211_NODE_ERP
.comm _WlanIfacePeerFlagsType_erpEnabled,4,2 ## @WlanIfacePeerFlagsType_erpEnabled
.comm _IEEE80211_NODE_PWR_MGT,4,2 ## @IEEE80211_NODE_PWR_MGT
.comm _WlanIfacePeerFlagsType_powerSaveMode,4,2 ## @WlanIfacePeerFlagsType_powerSaveMode
.comm _IEEE80211_NODE_AREF,4,2 ## @IEEE80211_NODE_AREF
.comm _WlanIfacePeerFlagsType_authRefHeld,4,2 ## @WlanIfacePeerFlagsType_authRefHeld
.comm _IEEE80211_NODE_HT,4,2 ## @IEEE80211_NODE_HT
.comm _WlanIfacePeerFlagsType_htEnabled,4,2 ## @WlanIfacePeerFlagsType_htEnabled
.comm _IEEE80211_NODE_HTCOMPAT,4,2 ## @IEEE80211_NODE_HTCOMPAT
.comm _WlanIfacePeerFlagsType_htCompat,4,2 ## @WlanIfacePeerFlagsType_htCompat
.comm _IEEE80211_NODE_WPS,4,2 ## @IEEE80211_NODE_WPS
.comm _WlanIfacePeerFlagsType_wpsAssoc,4,2 ## @WlanIfacePeerFlagsType_wpsAssoc
.comm _IEEE80211_NODE_TSN,4,2 ## @IEEE80211_NODE_TSN
.comm _WlanIfacePeerFlagsType_tsnAssoc,4,2 ## @WlanIfacePeerFlagsType_tsnAssoc
.comm _IEEE80211_NODE_AMPDU_RX,4,2 ## @IEEE80211_NODE_AMPDU_RX
.comm _WlanIfacePeerFlagsType_ampduRx,4,2 ## @WlanIfacePeerFlagsType_ampduRx
.comm _IEEE80211_NODE_AMPDU_TX,4,2 ## @IEEE80211_NODE_AMPDU_TX
.comm _WlanIfacePeerFlagsType_ampduTx,4,2 ## @WlanIfacePeerFlagsType_ampduTx
.comm _IEEE80211_NODE_MIMO_PS,4,2 ## @IEEE80211_NODE_MIMO_PS
.comm _WlanIfacePeerFlagsType_mimoPowerSave,4,2 ## @WlanIfacePeerFlagsType_mimoPowerSave
.comm _IEEE80211_NODE_MIMO_RTS,4,2 ## @IEEE80211_NODE_MIMO_RTS
.comm _WlanIfacePeerFlagsType_sendRts,4,2 ## @WlanIfacePeerFlagsType_sendRts
.comm _IEEE80211_NODE_RIFS,4,2 ## @IEEE80211_NODE_RIFS
.comm _WlanIfacePeerFlagsType_rifs,4,2 ## @WlanIfacePeerFlagsType_rifs
.comm _IEEE80211_NODE_SGI20,4,2 ## @IEEE80211_NODE_SGI20
.comm _WlanIfacePeerFlagsType_shortGiHT20,4,2 ## @WlanIfacePeerFlagsType_shortGiHT20
.comm _IEEE80211_NODE_SGI40,4,2 ## @IEEE80211_NODE_SGI40
.comm _WlanIfacePeerFlagsType_shortGiHT40,4,2 ## @WlanIfacePeerFlagsType_shortGiHT40
.comm _IEEE80211_NODE_AMSDU_RX,4,2 ## @IEEE80211_NODE_AMSDU_RX
.comm _WlanIfacePeerFlagsType_amsduRx,4,2 ## @WlanIfacePeerFlagsType_amsduRx
.comm _IEEE80211_NODE_AMSDU_TX,4,2 ## @IEEE80211_NODE_AMSDU_TX
.comm _WlanIfacePeerFlagsType_amsduTx,4,2 ## @WlanIfacePeerFlagsType_amsduTx
.no_dead_strip _wlan_peerstate_to_snmp
.subsections_via_symbols
| AnghaBench/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/extr_wlan_sys.c_wlan_peerstate_to_snmp.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function scard_read_record
_scard_read_record: ; @scard_read_record
.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]
sturb w3, [x29, #-33]
sturb w4, [x29, #-34]
adrp x8, _SIM_CMD_READ_RECORD@GOTPAGE
ldr x8, [x8, _SIM_CMD_READ_RECORD@GOTPAGEOFF]
ldrb w8, [x8]
sub x9, x29, #39
sturb w8, [x29, #-39]
add x8, x9, #1
add x9, x9, #5
str x9, [sp] ; 8-byte Folded Spill
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp] ; 8-byte Folded Reload
strb wzr, [x9]
add x9, x9, #1
subs x8, x9, x8
cset w8, ne
str x9, [sp, #8] ; 8-byte Folded Spill
tbnz w8, #0, LBB0_1
b LBB0_2
LBB0_2:
ldur x8, [x29, #-32]
add x8, x8, #3
str x8, [sp, #32]
ldur x8, [x29, #-16]
ldr x8, [x8]
adrp x9, _SCARD_USIM@GOTPAGE
ldr x9, [x9, _SCARD_USIM@GOTPAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x8, _USIM_CLA@GOTPAGE
ldr x8, [x8, _USIM_CLA@GOTPAGEOFF]
ldrb w8, [x8]
sturb w8, [x29, #-39]
b LBB0_4
LBB0_4:
ldurb w8, [x29, #-33]
sturb w8, [x29, #-37]
ldurb w8, [x29, #-34]
sturb w8, [x29, #-36]
ldur x8, [x29, #-32]
; kill: def $w8 killed $w8 killed $x8
sturb w8, [x29, #-35]
ldr x0, [sp, #32]
bl _os_malloc
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
mov w8, #-1
stur w8, [x29, #-4]
b LBB0_14
LBB0_6:
ldur x0, [x29, #-16]
ldr x3, [sp, #24]
sub x1, x29, #39
mov w2, #5
add x4, sp, #32
bl _scard_transmit
str x0, [sp, #16]
ldr x8, [sp, #16]
adrp x9, _SCARD_S_SUCCESS@GOTPAGE
ldr x9, [x9, _SCARD_S_SUCCESS@GOTPAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
ldr x0, [sp, #24]
bl _os_free
mov w8, #-2
stur w8, [x29, #-4]
b LBB0_14
LBB0_8:
ldr x8, [sp, #32]
ldur x9, [x29, #-32]
add x9, x9, #2
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
adrp x8, _MSG_DEBUG@GOTPAGE
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
ldr w0, [x8]
ldr x9, [sp, #32]
ldur x8, [x29, #-32]
add x8, x8, #2
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
; kill: def $w9 killed $w9 killed $x9
and w2, w9, #0xff
; kill: def $w8 killed $w8 killed $x8
and w3, w8, #0xff
bl _wpa_printf
ldr x0, [sp, #24]
bl _os_free
mov w8, #-3
stur w8, [x29, #-4]
b LBB0_14
LBB0_10:
ldr x8, [sp, #24]
ldur x9, [x29, #-32]
ldrb w8, [x8, x9]
subs w8, w8, #144
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
ldr x8, [sp, #24]
ldur x9, [x29, #-32]
add x9, x9, #1
ldrb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12:
adrp x8, _MSG_DEBUG@GOTPAGE
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
ldr w0, [x8]
ldr x8, [sp, #24]
ldur x9, [x29, #-32]
ldrb w2, [x8, x9]
ldr x8, [sp, #24]
ldur x9, [x29, #-32]
add x9, x9, #1
ldrb w3, [x8, x9]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _wpa_printf
ldr x0, [sp, #24]
bl _os_free
mov w8, #-4
stur w8, [x29, #-4]
b LBB0_14
LBB0_13:
ldur x0, [x29, #-24]
ldr x1, [sp, #24]
ldur x2, [x29, #-32]
bl _os_memcpy
ldr x0, [sp, #24]
bl _os_free
stur wzr, [x29, #-4]
b LBB0_14
LBB0_14:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.comm _SIM_CMD_READ_RECORD,1,0 ; @SIM_CMD_READ_RECORD
.comm _SCARD_USIM,8,3 ; @SCARD_USIM
.comm _USIM_CLA,1,0 ; @USIM_CLA
.comm _SCARD_S_SUCCESS,8,3 ; @SCARD_S_SUCCESS
.comm _MSG_DEBUG,4,2 ; @MSG_DEBUG
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "SCARD: record read returned unexpected length %ld (expected %ld)"
l_.str.1: ; @.str.1
.asciz "SCARD: record read returned unexpected status %02x %02x (expected 90 00)"
.no_dead_strip _scard_read_record
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function scard_read_record
_scard_read_record: ## @scard_read_record
.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
movb %r8b, %al
## kill: def $cl killed $cl killed $ecx
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movb %cl, -33(%rbp)
movb %al, -34(%rbp)
leaq -39(%rbp), %rcx
movq _SIM_CMD_READ_RECORD@GOTPCREL(%rip), %rax
movb (%rax), %al
movb %al, -39(%rbp)
movq %rcx, %rax
addq $1, %rax
addq $5, %rcx
movq %rcx, -80(%rbp) ## 8-byte Spill
movq %rax, -72(%rbp) ## 8-byte Spill
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
movq -80(%rbp), %rcx ## 8-byte Reload
movb $0, (%rax)
addq $1, %rax
movq %rax, -88(%rbp) ## 8-byte Spill
cmpq %rcx, %rax
movq %rax, -72(%rbp) ## 8-byte Spill
jne LBB0_1
## %bb.2:
movq -32(%rbp), %rax
addq $3, %rax
movq %rax, -48(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rax
movq _SCARD_USIM@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_4
## %bb.3:
movq _USIM_CLA@GOTPCREL(%rip), %rax
movb (%rax), %al
movb %al, -39(%rbp)
LBB0_4:
movb -33(%rbp), %al
movb %al, -37(%rbp)
movb -34(%rbp), %al
movb %al, -36(%rbp)
movq -32(%rbp), %rax
## kill: def $al killed $al killed $rax
movb %al, -35(%rbp)
movq -48(%rbp), %rdi
callq _os_malloc
movq %rax, -56(%rbp)
cmpq $0, -56(%rbp)
jne LBB0_6
## %bb.5:
movl $-1, -4(%rbp)
jmp LBB0_14
LBB0_6:
movq -16(%rbp), %rdi
leaq -39(%rbp), %rsi
movq -56(%rbp), %rcx
movl $5, %edx
leaq -48(%rbp), %r8
callq _scard_transmit
movq %rax, -64(%rbp)
movq -64(%rbp), %rax
movq _SCARD_S_SUCCESS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_8
## %bb.7:
movq -56(%rbp), %rdi
callq _os_free
movl $-2, -4(%rbp)
jmp LBB0_14
LBB0_8:
movq -48(%rbp), %rax
movq -32(%rbp), %rcx
addq $2, %rcx
cmpq %rcx, %rax
je LBB0_10
## %bb.9:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq -48(%rbp), %rax
movb %al, %cl
movq -32(%rbp), %rax
addq $2, %rax
## kill: def $al killed $al killed $rax
leaq L_.str(%rip), %rsi
movzbl %cl, %edx
movzbl %al, %ecx
callq _wpa_printf
movq -56(%rbp), %rdi
callq _os_free
movl $-3, -4(%rbp)
jmp LBB0_14
LBB0_10:
movq -56(%rbp), %rax
movq -32(%rbp), %rcx
movzbl (%rax,%rcx), %eax
cmpl $144, %eax
jne LBB0_12
## %bb.11:
movq -56(%rbp), %rax
movq -32(%rbp), %rcx
movzbl 1(%rax,%rcx), %eax
cmpl $0, %eax
je LBB0_13
LBB0_12:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq -56(%rbp), %rax
movq -32(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -56(%rbp), %rax
movq -32(%rbp), %rcx
leaq L_.str.1(%rip), %rsi
movzbl %dl, %edx
movzbl 1(%rax,%rcx), %ecx
callq _wpa_printf
movq -56(%rbp), %rdi
callq _os_free
movl $-4, -4(%rbp)
jmp LBB0_14
LBB0_13:
movq -24(%rbp), %rdi
movq -56(%rbp), %rsi
movq -32(%rbp), %rdx
callq _os_memcpy
movq -56(%rbp), %rdi
callq _os_free
movl $0, -4(%rbp)
LBB0_14:
movl -4(%rbp), %eax
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SIM_CMD_READ_RECORD,1,0 ## @SIM_CMD_READ_RECORD
.comm _SCARD_USIM,8,3 ## @SCARD_USIM
.comm _USIM_CLA,1,0 ## @USIM_CLA
.comm _SCARD_S_SUCCESS,8,3 ## @SCARD_S_SUCCESS
.comm _MSG_DEBUG,4,2 ## @MSG_DEBUG
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "SCARD: record read returned unexpected length %ld (expected %ld)"
L_.str.1: ## @.str.1
.asciz "SCARD: record read returned unexpected status %02x %02x (expected 90 00)"
.no_dead_strip _scard_read_record
.subsections_via_symbols
| AnghaBench/freebsd/contrib/wpa/src/utils/extr_pcsc_funcs.c_scard_read_record.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function q6afe_port_set_param_v2
_q6afe_port_set_param_v2: ; @q6afe_port_set_param_v2
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _APR_HDR_SIZE@GOTPAGE
ldr x8, [x8, _APR_HDR_SIZE@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur w2, [x29, #-28]
stur w3, [x29, #-32]
stur w4, [x29, #-36]
ldur x9, [x29, #-16]
ldr x9, [x9, #8]
str x9, [sp, #64]
ldur x9, [x29, #-16]
ldr w9, [x9, #4]
str w9, [sp, #52]
ldrsw x8, [x8]
add x8, x8, #20
add x8, x8, #12
ldursw x9, [x29, #-36]
add x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #44]
ldr w0, [sp, #44]
adrp x8, _GFP_KERNEL@GOTPAGE
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
ldr w1, [x8]
bl _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_5
LBB0_2:
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #32]
str x8, [sp, #56]
ldr x8, [sp, #32]
ldrsw x10, [x9]
add x8, x8, x10
stur x8, [x29, #-48]
ldr x8, [sp, #32]
ldrsw x10, [x9]
add x8, x8, x10
add x8, x8, #20
stur x8, [x29, #-56]
ldr x8, [sp, #32]
ldrsw x9, [x9]
add x8, x8, x9
add x8, x8, #32
str x8, [sp, #24]
ldr x0, [sp, #24]
ldur x1, [x29, #-24]
ldur w2, [x29, #-36]
bl _memcpy
ldr x8, [sp, #16] ; 8-byte Folded Reload
adrp x9, _APR_MSG_TYPE_SEQ_CMD@GOTPAGE
ldr x9, [x9, _APR_MSG_TYPE_SEQ_CMD@GOTPAGEOFF]
ldr w9, [x9]
str w9, [sp, #12] ; 4-byte Folded Spill
ldr w0, [x8]
bl _APR_HDR_LEN
mov x1, x0
ldr w0, [sp, #12] ; 4-byte Folded Reload
adrp x8, _APR_PKT_VER@GOTPAGE
ldr x8, [x8, _APR_PKT_VER@GOTPAGEOFF]
ldr w2, [x8]
bl _APR_HDR_FIELD
ldr x8, [sp, #56]
str w0, [x8, #32]
ldr w8, [sp, #44]
ldr x9, [sp, #56]
str w8, [x9]
ldr x8, [sp, #56]
str xzr, [x8, #24]
ldr x8, [sp, #56]
str xzr, [x8, #16]
ldur x8, [x29, #-16]
ldr w8, [x8]
ldr x9, [sp, #56]
str w8, [x9, #8]
adrp x8, _AFE_PORT_CMD_SET_PARAM_V2@GOTPAGE
ldr x8, [x8, _AFE_PORT_CMD_SET_PARAM_V2@GOTPAGEOFF]
ldr w8, [x8]
ldr x9, [sp, #56]
str w8, [x9, #4]
ldr w8, [sp, #52]
ldur x9, [x29, #-48]
str w8, [x9, #16]
ldursw x8, [x29, #-36]
add x8, x8, #12
ldur x9, [x29, #-48]
; kill: def $w8 killed $w8 killed $x8
str w8, [x9]
ldur x8, [x29, #-48]
str wzr, [x8, #4]
ldur x8, [x29, #-48]
str wzr, [x8, #8]
ldur x8, [x29, #-48]
str wzr, [x8, #12]
ldur w8, [x29, #-32]
ldur x9, [x29, #-56]
str w8, [x9]
ldur w8, [x29, #-28]
ldur x9, [x29, #-56]
str w8, [x9, #4]
ldur w8, [x29, #-36]
ldur x9, [x29, #-56]
str w8, [x9, #8]
ldr x0, [sp, #64]
ldr x1, [sp, #56]
ldur x2, [x29, #-16]
bl _afe_apr_send_pkt
str w0, [sp, #48]
ldr w8, [sp, #48]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr x8, [sp, #64]
ldr w0, [x8]
ldr w2, [sp, #52]
ldr w3, [sp, #48]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _dev_err
b LBB0_4
LBB0_4:
ldr x0, [sp, #56]
bl _kfree
ldr w8, [sp, #48]
stur w8, [x29, #-4]
b LBB0_5
LBB0_5:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.comm _APR_HDR_SIZE,4,2 ; @APR_HDR_SIZE
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _APR_MSG_TYPE_SEQ_CMD,4,2 ; @APR_MSG_TYPE_SEQ_CMD
.comm _APR_PKT_VER,4,2 ; @APR_PKT_VER
.comm _AFE_PORT_CMD_SET_PARAM_V2,4,2 ; @AFE_PORT_CMD_SET_PARAM_V2
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "AFE enable for port 0x%x failed %d\n"
.no_dead_strip _q6afe_port_set_param_v2
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function q6afe_port_set_param_v2
_q6afe_port_set_param_v2: ## @q6afe_port_set_param_v2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $112, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl %edx, -28(%rbp)
movl %ecx, -32(%rbp)
movl %r8d, -36(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -64(%rbp)
movq -16(%rbp), %rax
movl 4(%rax), %eax
movl %eax, -76(%rbp)
movq _APR_HDR_SIZE@GOTPCREL(%rip), %rax
movslq (%rax), %rax
addq $20, %rax
addq $12, %rax
movslq -36(%rbp), %rcx
addq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -84(%rbp)
movl -84(%rbp), %edi
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _kzalloc
movq %rax, -96(%rbp)
cmpq $0, -96(%rbp)
jne LBB0_2
## %bb.1:
xorl %eax, %eax
movq _ENOMEM@GOTPCREL(%rip), %rcx
subl (%rcx), %eax
movl %eax, -4(%rbp)
jmp LBB0_5
LBB0_2:
movq -96(%rbp), %rax
movq %rax, -72(%rbp)
movq -96(%rbp), %rax
movq _APR_HDR_SIZE@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
addq %rcx, %rax
movq %rax, -48(%rbp)
movq -96(%rbp), %rax
movq _APR_HDR_SIZE@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
addq %rcx, %rax
addq $20, %rax
movq %rax, -56(%rbp)
movq -96(%rbp), %rax
movq _APR_HDR_SIZE@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
addq %rcx, %rax
addq $20, %rax
addq $12, %rax
movq %rax, -104(%rbp)
movq -104(%rbp), %rdi
movq -24(%rbp), %rsi
movl -36(%rbp), %edx
callq _memcpy
movq _APR_MSG_TYPE_SEQ_CMD@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -108(%rbp) ## 4-byte Spill
movq _APR_HDR_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _APR_HDR_LEN
movl -108(%rbp), %edi ## 4-byte Reload
movl %eax, %esi
movq _APR_PKT_VER@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _APR_HDR_FIELD
movl %eax, %ecx
movq -72(%rbp), %rax
movl %ecx, 32(%rax)
movl -84(%rbp), %ecx
movq -72(%rbp), %rax
movl %ecx, (%rax)
movq -72(%rbp), %rax
movq $0, 24(%rax)
movq -72(%rbp), %rax
movq $0, 16(%rax)
movq -16(%rbp), %rax
movl (%rax), %ecx
movq -72(%rbp), %rax
movl %ecx, 8(%rax)
movq _AFE_PORT_CMD_SET_PARAM_V2@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq -72(%rbp), %rax
movl %ecx, 4(%rax)
movl -76(%rbp), %ecx
movq -48(%rbp), %rax
movl %ecx, 16(%rax)
movslq -36(%rbp), %rax
addq $12, %rax
movl %eax, %ecx
movq -48(%rbp), %rax
movl %ecx, (%rax)
movq -48(%rbp), %rax
movl $0, 4(%rax)
movq -48(%rbp), %rax
movl $0, 8(%rax)
movq -48(%rbp), %rax
movl $0, 12(%rax)
movl -32(%rbp), %ecx
movq -56(%rbp), %rax
movl %ecx, (%rax)
movl -28(%rbp), %ecx
movq -56(%rbp), %rax
movl %ecx, 4(%rax)
movl -36(%rbp), %ecx
movq -56(%rbp), %rax
movl %ecx, 8(%rax)
movq -64(%rbp), %rdi
movq -72(%rbp), %rsi
movq -16(%rbp), %rdx
callq _afe_apr_send_pkt
movl %eax, -80(%rbp)
cmpl $0, -80(%rbp)
je LBB0_4
## %bb.3:
movq -64(%rbp), %rax
movl (%rax), %edi
movl -76(%rbp), %edx
movl -80(%rbp), %ecx
leaq L_.str(%rip), %rsi
callq _dev_err
LBB0_4:
movq -72(%rbp), %rdi
callq _kfree
movl -80(%rbp), %eax
movl %eax, -4(%rbp)
LBB0_5:
movl -4(%rbp), %eax
addq $112, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _APR_HDR_SIZE,4,2 ## @APR_HDR_SIZE
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _APR_MSG_TYPE_SEQ_CMD,4,2 ## @APR_MSG_TYPE_SEQ_CMD
.comm _APR_PKT_VER,4,2 ## @APR_PKT_VER
.comm _AFE_PORT_CMD_SET_PARAM_V2,4,2 ## @AFE_PORT_CMD_SET_PARAM_V2
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "AFE enable for port 0x%x failed %d\n"
.no_dead_strip _q6afe_port_set_param_v2
.subsections_via_symbols
| AnghaBench/linux/sound/soc/qcom/qdsp6/extr_q6afe.c_q6afe_port_set_param_v2.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _udp_send ; -- Begin function udp_send
.p2align 2
_udp_send: ; @udp_send
.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]
str x2, [sp, #32]
str x3, [sp, #24]
str x4, [sp, #16]
str x5, [sp, #8]
ldur x0, [x29, #-16]
bl _sotoinpcb
str x0, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_1
LBB0_1:
ldr x8, [sp, #32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
ldr x0, [sp, #32]
bl _m_freem
b LBB0_3
LBB0_3:
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldr x0, [sp, #16]
bl _m_freem
b LBB0_5
LBB0_5:
adrp x8, _EINVAL@GOTPAGE
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
ldr w8, [x8]
stur w8, [x29, #-4]
b LBB0_7
LBB0_6:
ldr x0, [sp]
ldr x1, [sp, #32]
ldr x2, [sp, #24]
ldr x3, [sp, #16]
ldr x4, [sp, #8]
bl _udp_output
stur w0, [x29, #-4]
b LBB0_7
LBB0_7:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _udp_send ## -- Begin function udp_send
.p2align 4, 0x90
_udp_send: ## @udp_send
.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)
movq %rdx, -32(%rbp)
movq %rcx, -40(%rbp)
movq %r8, -48(%rbp)
movq %r9, -56(%rbp)
movq -16(%rbp), %rdi
callq _sotoinpcb
movq %rax, -64(%rbp)
cmpq $0, -64(%rbp)
jne LBB0_6
## %bb.1:
cmpq $0, -32(%rbp)
je LBB0_3
## %bb.2:
movq -32(%rbp), %rdi
callq _m_freem
LBB0_3:
cmpq $0, -48(%rbp)
je LBB0_5
## %bb.4:
movq -48(%rbp), %rdi
callq _m_freem
LBB0_5:
movq _EINVAL@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -4(%rbp)
jmp LBB0_7
LBB0_6:
movq -64(%rbp), %rdi
movq -32(%rbp), %rsi
movq -40(%rbp), %rdx
movq -48(%rbp), %rcx
movq -56(%rbp), %r8
callq _udp_output
movl %eax, -4(%rbp)
LBB0_7:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.subsections_via_symbols
| AnghaBench/darwin-xnu/bsd/netinet/extr_udp_usrreq.c_udp_send.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function port_cfg_802_1p
_port_cfg_802_1p: ; @port_cfg_802_1p
.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]
adrp x8, _KS8842_PORT_CTRL_1_OFFSET@GOTPAGE
ldr x8, [x8, _KS8842_PORT_CTRL_1_OFFSET@GOTPAGEOFF]
ldr w2, [x8]
adrp x8, _PORT_802_1P_ENABLE@GOTPAGE
ldr x8, [x8, _PORT_802_1P_ENABLE@GOTPAGEOFF]
ldr w3, [x8]
ldr w4, [sp]
bl _port_cfg
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _KS8842_PORT_CTRL_1_OFFSET,4,2 ; @KS8842_PORT_CTRL_1_OFFSET
.comm _PORT_802_1P_ENABLE,4,2 ; @PORT_802_1P_ENABLE
.no_dead_strip _port_cfg_802_1p
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function port_cfg_802_1p
_port_cfg_802_1p: ## @port_cfg_802_1p
.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
movq _KS8842_PORT_CTRL_1_OFFSET@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _PORT_802_1P_ENABLE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl -16(%rbp), %r8d
callq _port_cfg
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _KS8842_PORT_CTRL_1_OFFSET,4,2 ## @KS8842_PORT_CTRL_1_OFFSET
.comm _PORT_802_1P_ENABLE,4,2 ## @PORT_802_1P_ENABLE
.no_dead_strip _port_cfg_802_1p
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/micrel/extr_ksz884x.c_port_cfg_802_1p.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mtk_hci_wmt_sync
_mtk_hci_wmt_sync: ; @mtk_hci_wmt_sync
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _BTMTKSDIO_TX_WAIT_VND_EVT@GOTPAGE
ldr x8, [x8, _BTMTKSDIO_TX_WAIT_VND_EVT@GOTPAGEOFF]
str x8, [sp, #40] ; 8-byte Folded Spill
stur x0, [x29, #-16]
stur x1, [x29, #-24]
ldur x0, [x29, #-16]
bl _hci_get_drvdata
stur x0, [x29, #-32]
adrp x8, _BTMTK_WMT_INVALID@GOTPAGE
ldr x8, [x8, _BTMTK_WMT_INVALID@GOTPAGEOFF]
ldr w8, [x8]
stur w8, [x29, #-48]
ldur x8, [x29, #-24]
ldrsw x8, [x8]
add x8, x8, #16
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-44]
ldur w8, [x29, #-44]
subs w8, w8, #255
cset w8, le
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x8, _EINVAL@GOTPAGE
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
ldr w9, [x8]
mov w8, #0
subs w8, w8, w9
stur w8, [x29, #-4]
b LBB0_27
LBB0_2:
sub x8, x29, #60
str x8, [sp, #32] ; 8-byte Folded Spill
str x8, [sp, #56]
ldr x9, [sp, #56]
mov w8, #1
str w8, [x9]
ldur x8, [x29, #-24]
ldr w8, [x8, #4]
ldr x9, [sp, #56]
str w8, [x9, #4]
ldur x8, [x29, #-24]
ldr w8, [x8]
add w0, w8, #1
bl _cpu_to_le16
ldr x8, [sp, #56]
str w0, [x8, #12]
ldur x8, [x29, #-24]
ldr w8, [x8, #20]
ldr x9, [sp, #56]
str w8, [x9, #8]
ldur w0, [x29, #-60]
ldur x8, [x29, #-24]
ldr w1, [x8, #16]
ldur x8, [x29, #-24]
ldr w2, [x8]
bl _memcpy
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w0, [x8]
ldur x8, [x29, #-32]
add x1, x8, #8
bl _set_bit
ldr x3, [sp, #32] ; 8-byte Folded Reload
ldur x0, [x29, #-16]
ldur w2, [x29, #-44]
mov w1, #64623
bl ___hci_cmd_send
str w0, [sp, #52]
ldr w8, [sp, #52]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w0, [x8]
ldur x8, [x29, #-32]
add x1, x8, #8
bl _clear_bit
ldr w8, [sp, #52]
stur w8, [x29, #-4]
b LBB0_27
LBB0_4:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldur x9, [x29, #-32]
add x0, x9, #8
ldr w1, [x8]
adrp x8, _TASK_INTERRUPTIBLE@GOTPAGE
ldr x8, [x8, _TASK_INTERRUPTIBLE@GOTPAGEOFF]
ldr w2, [x8]
adrp x8, _HCI_INIT_TIMEOUT@GOTPAGE
ldr x8, [x8, _HCI_INIT_TIMEOUT@GOTPAGEOFF]
ldr w3, [x8]
bl _wait_on_bit_timeout
str w0, [sp, #52]
ldr w8, [sp, #52]
adrp x9, _EINTR@GOTPAGE
ldr x9, [x9, _EINTR@GOTPAGEOFF]
ldr w9, [x9]
adds w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
ldur x0, [x29, #-16]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _bt_dev_err
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w0, [x8]
ldur x8, [x29, #-32]
add x1, x8, #8
bl _clear_bit
ldr w8, [sp, #52]
stur w8, [x29, #-4]
b LBB0_27
LBB0_6:
ldr w8, [sp, #52]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
ldur x0, [x29, #-16]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _bt_dev_err
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w0, [x8]
ldur x8, [x29, #-32]
add x1, x8, #8
bl _clear_bit
adrp x8, _ETIMEDOUT@GOTPAGE
ldr x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
ldr w9, [x8]
mov w8, #0
subs w8, w8, w9
stur w8, [x29, #-4]
b LBB0_27
LBB0_8:
ldur x8, [x29, #-32]
ldr x8, [x8]
ldr x8, [x8]
stur x8, [x29, #-56]
ldur x8, [x29, #-56]
ldr w8, [x8]
ldr x9, [sp, #56]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
ldur x0, [x29, #-16]
ldur x8, [x29, #-56]
ldr w8, [x8]
; implicit-def: $x10
mov x10, x8
ldr x8, [sp, #56]
ldr w9, [x8, #4]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _bt_dev_err
adrp x8, _EIO@GOTPAGE
ldr x8, [x8, _EIO@GOTPAGEOFF]
ldr w9, [x8]
mov w8, #0
subs w8, w8, w9
str w8, [sp, #52]
b LBB0_26
LBB0_10:
ldur x8, [x29, #-56]
ldr w8, [x8]
str w8, [sp, #28] ; 4-byte Folded Spill
subs w8, w8, #128
cset w8, eq
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
ldr w8, [sp, #28] ; 4-byte Folded Reload
subs w8, w8, #129
cset w8, eq
tbnz w8, #0, LBB0_16
b LBB0_23
LBB0_12:
ldur x8, [x29, #-56]
ldr w8, [x8, #4]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
adrp x8, _BTMTK_WMT_PATCH_UNDONE@GOTPAGE
ldr x8, [x8, _BTMTK_WMT_PATCH_UNDONE@GOTPAGEOFF]
ldr w8, [x8]
stur w8, [x29, #-48]
b LBB0_15
LBB0_14:
adrp x8, _BTMTK_WMT_PATCH_DONE@GOTPAGE
ldr x8, [x8, _BTMTK_WMT_PATCH_DONE@GOTPAGEOFF]
ldr w8, [x8]
stur w8, [x29, #-48]
b LBB0_15
LBB0_15:
b LBB0_23
LBB0_16:
ldur x8, [x29, #-56]
stur x8, [x29, #-40]
ldur x8, [x29, #-40]
ldr w0, [x8]
bl _be16_to_cpu
subs w8, w0, #1028
cset w8, ne
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17:
adrp x8, _BTMTK_WMT_ON_DONE@GOTPAGE
ldr x8, [x8, _BTMTK_WMT_ON_DONE@GOTPAGEOFF]
ldr w8, [x8]
stur w8, [x29, #-48]
b LBB0_22
LBB0_18:
ldur x8, [x29, #-40]
ldr w0, [x8]
bl _be16_to_cpu
subs w8, w0, #1056
cset w8, ne
tbnz w8, #0, LBB0_20
b LBB0_19
LBB0_19:
adrp x8, _BTMTK_WMT_ON_PROGRESS@GOTPAGE
ldr x8, [x8, _BTMTK_WMT_ON_PROGRESS@GOTPAGEOFF]
ldr w8, [x8]
stur w8, [x29, #-48]
b LBB0_21
LBB0_20:
adrp x8, _BTMTK_WMT_ON_UNDONE@GOTPAGE
ldr x8, [x8, _BTMTK_WMT_ON_UNDONE@GOTPAGEOFF]
ldr w8, [x8]
stur w8, [x29, #-48]
b LBB0_21
LBB0_21:
b LBB0_22
LBB0_22:
b LBB0_23
LBB0_23:
ldur x8, [x29, #-24]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_25
b LBB0_24
LBB0_24:
ldur w8, [x29, #-48]
ldur x9, [x29, #-24]
ldr x9, [x9, #8]
str w8, [x9]
b LBB0_25
LBB0_25:
b LBB0_26
LBB0_26:
ldur x8, [x29, #-32]
ldr x0, [x8]
bl _kfree_skb
ldur x8, [x29, #-32]
; kill: def $x9 killed $xzr
str xzr, [x8]
ldr w8, [sp, #52]
stur w8, [x29, #-4]
b LBB0_27
LBB0_27:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.comm _BTMTK_WMT_INVALID,4,2 ; @BTMTK_WMT_INVALID
.comm _EINVAL,4,2 ; @EINVAL
.comm _BTMTKSDIO_TX_WAIT_VND_EVT,4,2 ; @BTMTKSDIO_TX_WAIT_VND_EVT
.comm _TASK_INTERRUPTIBLE,4,2 ; @TASK_INTERRUPTIBLE
.comm _HCI_INIT_TIMEOUT,4,2 ; @HCI_INIT_TIMEOUT
.comm _EINTR,4,2 ; @EINTR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Execution of wmt command interrupted"
l_.str.1: ; @.str.1
.asciz "Execution of wmt command timed out"
.comm _ETIMEDOUT,4,2 ; @ETIMEDOUT
l_.str.2: ; @.str.2
.asciz "Wrong op received %d expected %d"
.comm _EIO,4,2 ; @EIO
.comm _BTMTK_WMT_PATCH_UNDONE,4,2 ; @BTMTK_WMT_PATCH_UNDONE
.comm _BTMTK_WMT_PATCH_DONE,4,2 ; @BTMTK_WMT_PATCH_DONE
.comm _BTMTK_WMT_ON_DONE,4,2 ; @BTMTK_WMT_ON_DONE
.comm _BTMTK_WMT_ON_PROGRESS,4,2 ; @BTMTK_WMT_ON_PROGRESS
.comm _BTMTK_WMT_ON_UNDONE,4,2 ; @BTMTK_WMT_ON_UNDONE
.no_dead_strip _mtk_hci_wmt_sync
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mtk_hci_wmt_sync
_mtk_hci_wmt_sync: ## @mtk_hci_wmt_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 $80, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq -16(%rbp), %rdi
callq _hci_get_drvdata
movq %rax, -32(%rbp)
movq _BTMTK_WMT_INVALID@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -48(%rbp)
movq -24(%rbp), %rax
movslq (%rax), %rax
addq $16, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -44(%rbp)
cmpl $255, -44(%rbp)
jle LBB0_2
## %bb.1:
xorl %eax, %eax
movq _EINVAL@GOTPCREL(%rip), %rcx
subl (%rcx), %eax
movl %eax, -4(%rbp)
jmp LBB0_26
LBB0_2:
leaq -64(%rbp), %rax
movq %rax, -72(%rbp)
movq -72(%rbp), %rax
movl $1, (%rax)
movq -24(%rbp), %rax
movl 4(%rax), %ecx
movq -72(%rbp), %rax
movl %ecx, 4(%rax)
movq -24(%rbp), %rax
movl (%rax), %edi
addl $1, %edi
callq _cpu_to_le16
movl %eax, %ecx
movq -72(%rbp), %rax
movl %ecx, 12(%rax)
movq -24(%rbp), %rax
movl 20(%rax), %ecx
movq -72(%rbp), %rax
movl %ecx, 8(%rax)
movl -64(%rbp), %edi
movq -24(%rbp), %rax
movl 16(%rax), %esi
movq -24(%rbp), %rax
movl (%rax), %edx
callq _memcpy
movq _BTMTKSDIO_TX_WAIT_VND_EVT@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq -32(%rbp), %rsi
addq $8, %rsi
callq _set_bit
movq -16(%rbp), %rdi
movl -44(%rbp), %edx
movl $64623, %esi ## imm = 0xFC6F
leaq -64(%rbp), %rcx
callq ___hci_cmd_send
movl %eax, -76(%rbp)
cmpl $0, -76(%rbp)
jge LBB0_4
## %bb.3:
movq _BTMTKSDIO_TX_WAIT_VND_EVT@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq -32(%rbp), %rsi
addq $8, %rsi
callq _clear_bit
movl -76(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_26
LBB0_4:
movq -32(%rbp), %rdi
addq $8, %rdi
movq _BTMTKSDIO_TX_WAIT_VND_EVT@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _TASK_INTERRUPTIBLE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _HCI_INIT_TIMEOUT@GOTPCREL(%rip), %rax
movl (%rax), %ecx
callq _wait_on_bit_timeout
movl %eax, -76(%rbp)
movl -76(%rbp), %eax
xorl %ecx, %ecx
movq _EINTR@GOTPCREL(%rip), %rdx
subl (%rdx), %ecx
cmpl %ecx, %eax
jne LBB0_6
## %bb.5:
movq -16(%rbp), %rdi
leaq L_.str(%rip), %rsi
movb $0, %al
callq _bt_dev_err
movq _BTMTKSDIO_TX_WAIT_VND_EVT@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq -32(%rbp), %rsi
addq $8, %rsi
callq _clear_bit
movl -76(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_26
LBB0_6:
cmpl $0, -76(%rbp)
je LBB0_8
## %bb.7:
movq -16(%rbp), %rdi
leaq L_.str.1(%rip), %rsi
movb $0, %al
callq _bt_dev_err
movq _BTMTKSDIO_TX_WAIT_VND_EVT@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq -32(%rbp), %rsi
addq $8, %rsi
callq _clear_bit
xorl %eax, %eax
movq _ETIMEDOUT@GOTPCREL(%rip), %rcx
subl (%rcx), %eax
movl %eax, -4(%rbp)
jmp LBB0_26
LBB0_8:
movq -32(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rax
movq %rax, -56(%rbp)
movq -56(%rbp), %rax
movl (%rax), %eax
movq -72(%rbp), %rcx
cmpl 4(%rcx), %eax
je LBB0_10
## %bb.9:
movq -16(%rbp), %rdi
movq -56(%rbp), %rax
movl (%rax), %edx
movq -72(%rbp), %rax
movl 4(%rax), %ecx
leaq L_.str.2(%rip), %rsi
movb $0, %al
callq _bt_dev_err
xorl %eax, %eax
movq _EIO@GOTPCREL(%rip), %rcx
subl (%rcx), %eax
movl %eax, -76(%rbp)
jmp LBB0_25
LBB0_10:
movq -56(%rbp), %rax
movl (%rax), %eax
movl %eax, -80(%rbp) ## 4-byte Spill
subl $128, %eax
je LBB0_11
jmp LBB0_27
LBB0_27:
movl -80(%rbp), %eax ## 4-byte Reload
subl $129, %eax
je LBB0_15
jmp LBB0_22
LBB0_11:
movq -56(%rbp), %rax
cmpl $2, 4(%rax)
jne LBB0_13
## %bb.12:
movq _BTMTK_WMT_PATCH_UNDONE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -48(%rbp)
jmp LBB0_14
LBB0_13:
movq _BTMTK_WMT_PATCH_DONE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -48(%rbp)
LBB0_14:
jmp LBB0_22
LBB0_15:
movq -56(%rbp), %rax
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
movl (%rax), %edi
callq _be16_to_cpu
cmpl $1028, %eax ## imm = 0x404
jne LBB0_17
## %bb.16:
movq _BTMTK_WMT_ON_DONE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -48(%rbp)
jmp LBB0_21
LBB0_17:
movq -40(%rbp), %rax
movl (%rax), %edi
callq _be16_to_cpu
cmpl $1056, %eax ## imm = 0x420
jne LBB0_19
## %bb.18:
movq _BTMTK_WMT_ON_PROGRESS@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -48(%rbp)
jmp LBB0_20
LBB0_19:
movq _BTMTK_WMT_ON_UNDONE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -48(%rbp)
LBB0_20:
jmp LBB0_21
LBB0_21:
jmp LBB0_22
LBB0_22:
movq -24(%rbp), %rax
cmpq $0, 8(%rax)
je LBB0_24
## %bb.23:
movl -48(%rbp), %ecx
movq -24(%rbp), %rax
movq 8(%rax), %rax
movl %ecx, (%rax)
LBB0_24:
jmp LBB0_25
LBB0_25:
movq -32(%rbp), %rax
movq (%rax), %rdi
callq _kfree_skb
movq -32(%rbp), %rax
movq $0, (%rax)
movl -76(%rbp), %eax
movl %eax, -4(%rbp)
LBB0_26:
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _BTMTK_WMT_INVALID,4,2 ## @BTMTK_WMT_INVALID
.comm _EINVAL,4,2 ## @EINVAL
.comm _BTMTKSDIO_TX_WAIT_VND_EVT,4,2 ## @BTMTKSDIO_TX_WAIT_VND_EVT
.comm _TASK_INTERRUPTIBLE,4,2 ## @TASK_INTERRUPTIBLE
.comm _HCI_INIT_TIMEOUT,4,2 ## @HCI_INIT_TIMEOUT
.comm _EINTR,4,2 ## @EINTR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Execution of wmt command interrupted"
L_.str.1: ## @.str.1
.asciz "Execution of wmt command timed out"
.comm _ETIMEDOUT,4,2 ## @ETIMEDOUT
L_.str.2: ## @.str.2
.asciz "Wrong op received %d expected %d"
.comm _EIO,4,2 ## @EIO
.comm _BTMTK_WMT_PATCH_UNDONE,4,2 ## @BTMTK_WMT_PATCH_UNDONE
.comm _BTMTK_WMT_PATCH_DONE,4,2 ## @BTMTK_WMT_PATCH_DONE
.comm _BTMTK_WMT_ON_DONE,4,2 ## @BTMTK_WMT_ON_DONE
.comm _BTMTK_WMT_ON_PROGRESS,4,2 ## @BTMTK_WMT_ON_PROGRESS
.comm _BTMTK_WMT_ON_UNDONE,4,2 ## @BTMTK_WMT_ON_UNDONE
.no_dead_strip _mtk_hci_wmt_sync
.subsections_via_symbols
| AnghaBench/linux/drivers/bluetooth/extr_btmtksdio.c_mtk_hci_wmt_sync.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _grep_realloc ; -- Begin function grep_realloc
.p2align 2
_grep_realloc: ; @grep_realloc
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str x1, [sp]
ldr x0, [sp, #8]
ldr x1, [sp]
bl _realloc
mov x8, x0
str x8, [sp, #8]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov w0, #2
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _err
b LBB0_2
LBB0_2:
ldr x0, [sp, #8]
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 "realloc"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _grep_realloc ## -- Begin function grep_realloc
.p2align 4, 0x90
_grep_realloc: ## @grep_realloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq _realloc
movq %rax, -8(%rbp)
cmpq $0, %rax
jne LBB0_2
## %bb.1:
movl $2, %edi
leaq L_.str(%rip), %rsi
callq _err
LBB0_2:
movq -8(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "realloc"
.subsections_via_symbols
| AnghaBench/freebsd/usr.bin/grep/extr_util.c_grep_realloc.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function wdt_enable
_wdt_enable: ; @wdt_enable
.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, _wdt_lock@GOTPAGE
ldr x0, [x0, _wdt_lock@GOTPAGEOFF]
str x0, [sp, #8] ; 8-byte Folded Spill
bl _mutex_lock
adrp x8, _IFACE_ON_COMMAND@GOTPAGE
ldr x8, [x8, _IFACE_ON_COMMAND@GOTPAGEOFF]
ldr w0, [x8]
mov w1, #1
bl _wdt_send_data
adrp x8, _REBOOT_COMMAND@GOTPAGE
ldr x8, [x8, _REBOOT_COMMAND@GOTPAGEOFF]
ldr w0, [x8]
adrp x8, _margin@GOTPAGE
ldr x8, [x8, _margin@GOTPAGEOFF]
ldr w1, [x8]
bl _wdt_send_data
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _mutex_unlock
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _wdt_lock,4,2 ; @wdt_lock
.comm _IFACE_ON_COMMAND,4,2 ; @IFACE_ON_COMMAND
.comm _REBOOT_COMMAND,4,2 ; @REBOOT_COMMAND
.comm _margin,4,2 ; @margin
.no_dead_strip _wdt_enable
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function wdt_enable
_wdt_enable: ## @wdt_enable
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _wdt_lock@GOTPCREL(%rip), %rdi
callq _mutex_lock
movq _IFACE_ON_COMMAND@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $1, %esi
callq _wdt_send_data
movq _REBOOT_COMMAND@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _margin@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _wdt_send_data
movq _wdt_lock@GOTPCREL(%rip), %rdi
callq _mutex_unlock
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _wdt_lock,4,2 ## @wdt_lock
.comm _IFACE_ON_COMMAND,4,2 ## @IFACE_ON_COMMAND
.comm _REBOOT_COMMAND,4,2 ## @REBOOT_COMMAND
.comm _margin,4,2 ## @margin
.no_dead_strip _wdt_enable
.subsections_via_symbols
| AnghaBench/linux/drivers/watchdog/extr_sbc_fitpc2_wdt.c_wdt_enable.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sqlite3_table_column_metadata ; -- Begin function sqlite3_table_column_metadata
.p2align 2
_sqlite3_table_column_metadata: ; @sqlite3_table_column_metadata
.cfi_startproc
; %bb.0:
sub sp, sp, #192
.cfi_def_cfa_offset 192
stp x29, x30, [sp, #176] ; 16-byte Folded Spill
add x29, sp, #176
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub x8, x29, #8
str x8, [sp, #16] ; 8-byte Folded Spill
ldr x9, [x29, #16]
str x0, [x8]
stur x1, [x29, #-16]
stur x2, [x29, #-24]
stur x3, [x29, #-32]
stur x4, [x29, #-40]
stur x5, [x29, #-48]
stur x6, [x29, #-56]
stur x7, [x29, #-64]
stur x9, [x29, #-72]
add x9, sp, #88
str x9, [sp, #24] ; 8-byte Folded Spill
; kill: def $x9 killed $xzr
str xzr, [sp, #88]
str xzr, [sp, #80]
str xzr, [sp, #72]
str wzr, [sp, #68]
str xzr, [sp, #56]
str xzr, [sp, #48]
str wzr, [sp, #44]
str wzr, [sp, #40]
str wzr, [sp, #36]
ldr x8, [x8]
ldr w0, [x8]
bl _sqlite3_mutex_enter
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
bl _sqlite3BtreeEnterAll
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x1, [sp, #24] ; 8-byte Folded Reload
ldr x0, [x8]
bl _sqlite3Init
stur w0, [x29, #-76]
adrp x8, _SQLITE_OK@GOTPAGE
ldr x8, [x8, _SQLITE_OK@GOTPAGEOFF]
ldr w8, [x8]
ldur w9, [x29, #-76]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
b LBB0_31
LBB0_2:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
ldur x1, [x29, #-24]
ldur x2, [x29, #-16]
bl _sqlite3FindTable
str x0, [sp, #80]
ldr x8, [sp, #80]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr x8, [sp, #80]
ldr x8, [x8, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
; kill: def $x8 killed $xzr
str xzr, [sp, #80]
b LBB0_31
LBB0_5:
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
b LBB0_23
LBB0_7:
str wzr, [sp, #68]
b LBB0_8
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #68]
ldr x9, [sp, #80]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_13
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_8 Depth=1
ldr x8, [sp, #80]
ldr x8, [x8, #16]
ldrsw x9, [sp, #68]
mov x10, #24
mul x9, x9, x10
add x8, x8, x9
str x8, [sp, #72]
ldr x8, [sp, #72]
ldr w0, [x8, #20]
ldur x1, [x29, #-32]
bl _sqlite3StrICmp
mov x8, #0
subs x8, x8, x0
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
b LBB0_13
LBB0_11: ; in Loop: Header=BB0_8 Depth=1
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [sp, #68]
add w8, w8, #1
str w8, [sp, #68]
b LBB0_8
LBB0_13:
ldr w8, [sp, #68]
ldr x9, [sp, #80]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_22
b LBB0_14
LBB0_14:
ldr x0, [sp, #80]
bl _HasRowid
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_20
b LBB0_15
LBB0_15:
ldur x0, [x29, #-32]
bl _sqlite3IsRowid
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_20
b LBB0_16
LBB0_16:
ldr x8, [sp, #80]
ldr w8, [x8, #4]
str w8, [sp, #68]
ldr w8, [sp, #68]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17:
ldr x8, [sp, #80]
ldr x8, [x8, #16]
ldrsw x9, [sp, #68]
mov x10, #24
mul x9, x9, x10
add x8, x8, x9
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB0_19
LBB0_18:
mov x8, #0
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB0_19
LBB0_19:
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x8, [sp, #72]
b LBB0_21
LBB0_20:
; kill: def $x8 killed $xzr
str xzr, [sp, #80]
b LBB0_31
LBB0_21:
b LBB0_22
LBB0_22:
b LBB0_23
LBB0_23:
ldr x8, [sp, #72]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_27
b LBB0_24
LBB0_24:
ldr x0, [sp, #72]
mov w1, #0
bl _sqlite3ColumnType
str x0, [sp, #56]
ldr x8, [sp, #72]
ldr x8, [x8]
str x8, [sp, #48]
ldr x8, [sp, #72]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
and w8, w8, #0x1
str w8, [sp, #44]
ldr x8, [sp, #72]
ldr w8, [x8, #16]
adrp x9, _COLFLAG_PRIMKEY@GOTPAGE
ldr x9, [x9, _COLFLAG_PRIMKEY@GOTPAGEOFF]
ldr w9, [x9]
ands w8, w8, w9
cset w8, ne
and w8, w8, #0x1
str w8, [sp, #40]
ldr x8, [sp, #80]
ldr w8, [x8, #4]
ldr w9, [sp, #68]
subs w8, w8, w9
cset w8, ne
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_26
b LBB0_25
LBB0_25:
ldr x8, [sp, #80]
ldr w8, [x8, #8]
adrp x9, _TF_Autoincrement@GOTPAGE
ldr x9, [x9, _TF_Autoincrement@GOTPAGEOFF]
ldr w9, [x9]
ands w8, w8, w9
cset w8, ne
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB0_26
LBB0_26:
ldr w8, [sp, #4] ; 4-byte Folded Reload
and w8, w8, #0x1
str w8, [sp, #36]
b LBB0_28
LBB0_27:
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
str x8, [sp, #56]
mov w8, #1
str w8, [sp, #40]
b LBB0_28
LBB0_28:
ldr x8, [sp, #48]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_30
b LBB0_29
LBB0_29:
adrp x8, _sqlite3StrBINARY@GOTPAGE
ldr x8, [x8, _sqlite3StrBINARY@GOTPAGEOFF]
ldr x8, [x8]
str x8, [sp, #48]
b LBB0_30
LBB0_30:
b LBB0_31
LBB0_31:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
bl _sqlite3BtreeLeaveAll
ldur x8, [x29, #-40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_33
b LBB0_32
LBB0_32:
ldr x8, [sp, #56]
ldur x9, [x29, #-40]
str x8, [x9]
b LBB0_33
LBB0_33:
ldur x8, [x29, #-48]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_35
b LBB0_34
LBB0_34:
ldr x8, [sp, #48]
ldur x9, [x29, #-48]
str x8, [x9]
b LBB0_35
LBB0_35:
ldur x8, [x29, #-56]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_37
b LBB0_36
LBB0_36:
ldr w8, [sp, #44]
ldur x9, [x29, #-56]
str w8, [x9]
b LBB0_37
LBB0_37:
ldur x8, [x29, #-64]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_39
b LBB0_38
LBB0_38:
ldr w8, [sp, #40]
ldur x9, [x29, #-64]
str w8, [x9]
b LBB0_39
LBB0_39:
ldur x8, [x29, #-72]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_41
b LBB0_40
LBB0_40:
ldr w8, [sp, #36]
ldur x9, [x29, #-72]
str w8, [x9]
b LBB0_41
LBB0_41:
adrp x8, _SQLITE_OK@GOTPAGE
ldr x8, [x8, _SQLITE_OK@GOTPAGEOFF]
ldr w8, [x8]
ldur w9, [x29, #-76]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_44
b LBB0_42
LBB0_42:
ldr x8, [sp, #80]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_44
b LBB0_43
LBB0_43:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
ldr x1, [sp, #88]
bl _sqlite3DbFree
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
ldur x2, [x29, #-24]
ldur x3, [x29, #-32]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _sqlite3MPrintf
str x0, [sp, #88]
adrp x8, _SQLITE_ERROR@GOTPAGE
ldr x8, [x8, _SQLITE_ERROR@GOTPAGEOFF]
ldr w8, [x8]
stur w8, [x29, #-76]
b LBB0_44
LBB0_44:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
ldur w1, [x29, #-76]
ldr x8, [sp, #88]
mov x9, #0
subs x8, x8, #0
cset w8, ne
and w10, w8, #0x1
adrp x8, l_.str.2@PAGE
add x8, x8, l_.str.2@PAGEOFF
ands w10, w10, #0x1
csel x2, x8, x9, ne
ldr x3, [sp, #88]
bl _sqlite3ErrorWithMsg
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
ldr x1, [sp, #88]
bl _sqlite3DbFree
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
ldur w1, [x29, #-76]
bl _sqlite3ApiExit
ldr x8, [sp, #16] ; 8-byte Folded Reload
stur w0, [x29, #-76]
ldr x8, [x8]
ldr w0, [x8]
bl _sqlite3_mutex_leave
ldur w0, [x29, #-76]
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
add sp, sp, #192
ret
.cfi_endproc
; -- End function
.comm _SQLITE_OK,4,2 ; @SQLITE_OK
.comm _COLFLAG_PRIMKEY,4,2 ; @COLFLAG_PRIMKEY
.comm _TF_Autoincrement,4,2 ; @TF_Autoincrement
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "INTEGER"
.comm _sqlite3StrBINARY,8,3 ; @sqlite3StrBINARY
l_.str.1: ; @.str.1
.asciz "no such table column: %s.%s"
.comm _SQLITE_ERROR,4,2 ; @SQLITE_ERROR
l_.str.2: ; @.str.2
.asciz "%s"
.comm _SQLITE_MISUSE_BKPT,4,2 ; @SQLITE_MISUSE_BKPT
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sqlite3_table_column_metadata ## -- Begin function sqlite3_table_column_metadata
.p2align 4, 0x90
_sqlite3_table_column_metadata: ## @sqlite3_table_column_metadata
.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 32(%rbp), %rax
movq 24(%rbp), %rax
movq 16(%rbp), %rax
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
movq %r8, -40(%rbp)
movq %r9, -48(%rbp)
movq $0, -64(%rbp)
movq $0, -72(%rbp)
movq $0, -80(%rbp)
movl $0, -84(%rbp)
movq $0, -96(%rbp)
movq $0, -104(%rbp)
movl $0, -108(%rbp)
movl $0, -112(%rbp)
movl $0, -116(%rbp)
movq -8(%rbp), %rax
movl (%rax), %edi
callq _sqlite3_mutex_enter
movq -8(%rbp), %rdi
callq _sqlite3BtreeEnterAll
movq -8(%rbp), %rdi
leaq -64(%rbp), %rsi
callq _sqlite3Init
movl %eax, -52(%rbp)
movq _SQLITE_OK@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl -52(%rbp), %eax
je LBB0_2
## %bb.1:
jmp LBB0_31
LBB0_2:
movq -8(%rbp), %rdi
movq -24(%rbp), %rsi
movq -16(%rbp), %rdx
callq _sqlite3FindTable
movq %rax, -72(%rbp)
cmpq $0, -72(%rbp)
je LBB0_4
## %bb.3:
movq -72(%rbp), %rax
cmpq $0, 24(%rax)
je LBB0_5
LBB0_4:
movq $0, -72(%rbp)
jmp LBB0_31
LBB0_5:
cmpq $0, -32(%rbp)
jne LBB0_7
## %bb.6:
jmp LBB0_23
LBB0_7:
movl $0, -84(%rbp)
LBB0_8: ## =>This Inner Loop Header: Depth=1
movl -84(%rbp), %eax
movq -72(%rbp), %rcx
cmpl (%rcx), %eax
jge LBB0_13
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movq -72(%rbp), %rax
movq 16(%rax), %rax
movslq -84(%rbp), %rcx
imulq $24, %rcx, %rcx
addq %rcx, %rax
movq %rax, -80(%rbp)
movq -80(%rbp), %rax
movl 20(%rax), %edi
movq -32(%rbp), %rsi
callq _sqlite3StrICmp
movq %rax, %rcx
xorl %eax, %eax
## kill: def $rax killed $eax
cmpq %rcx, %rax
jne LBB0_11
## %bb.10:
jmp LBB0_13
LBB0_11: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_12
LBB0_12: ## in Loop: Header=BB0_8 Depth=1
movl -84(%rbp), %eax
addl $1, %eax
movl %eax, -84(%rbp)
jmp LBB0_8
LBB0_13:
movl -84(%rbp), %eax
movq -72(%rbp), %rcx
cmpl (%rcx), %eax
jne LBB0_22
## %bb.14:
movq -72(%rbp), %rdi
callq _HasRowid
cmpq $0, %rax
je LBB0_20
## %bb.15:
movq -32(%rbp), %rdi
callq _sqlite3IsRowid
cmpq $0, %rax
je LBB0_20
## %bb.16:
movq -72(%rbp), %rax
movl 4(%rax), %eax
movl %eax, -84(%rbp)
cmpl $0, -84(%rbp)
jl LBB0_18
## %bb.17:
movq -72(%rbp), %rax
movq 16(%rax), %rax
movslq -84(%rbp), %rcx
imulq $24, %rcx, %rcx
addq %rcx, %rax
movq %rax, -128(%rbp) ## 8-byte Spill
jmp LBB0_19
LBB0_18:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -128(%rbp) ## 8-byte Spill
jmp LBB0_19
LBB0_19:
movq -128(%rbp), %rax ## 8-byte Reload
movq %rax, -80(%rbp)
jmp LBB0_21
LBB0_20:
movq $0, -72(%rbp)
jmp LBB0_31
LBB0_21:
jmp LBB0_22
LBB0_22:
jmp LBB0_23
LBB0_23:
cmpq $0, -80(%rbp)
je LBB0_27
## %bb.24:
movq -80(%rbp), %rdi
xorl %esi, %esi
callq _sqlite3ColumnType
movq %rax, -96(%rbp)
movq -80(%rbp), %rax
movq (%rax), %rax
movq %rax, -104(%rbp)
movq -80(%rbp), %rax
cmpq $0, 8(%rax)
setne %al
andb $1, %al
movzbl %al, %eax
movl %eax, -108(%rbp)
movq -80(%rbp), %rax
movl 16(%rax), %eax
movq _COLFLAG_PRIMKEY@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
cmpl $0, %eax
setne %al
andb $1, %al
movzbl %al, %eax
movl %eax, -112(%rbp)
movq -72(%rbp), %rax
movl 4(%rax), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl -84(%rbp), %ecx
movb %al, -129(%rbp) ## 1-byte Spill
jne LBB0_26
## %bb.25:
movq -72(%rbp), %rax
movl 8(%rax), %eax
movq _TF_Autoincrement@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
cmpl $0, %eax
setne %al
movb %al, -129(%rbp) ## 1-byte Spill
LBB0_26:
movb -129(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
movl %eax, -116(%rbp)
jmp LBB0_28
LBB0_27:
leaq L_.str(%rip), %rax
movq %rax, -96(%rbp)
movl $1, -112(%rbp)
LBB0_28:
cmpq $0, -104(%rbp)
jne LBB0_30
## %bb.29:
movq _sqlite3StrBINARY@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -104(%rbp)
LBB0_30:
jmp LBB0_31
LBB0_31:
movq -8(%rbp), %rdi
callq _sqlite3BtreeLeaveAll
cmpq $0, -40(%rbp)
je LBB0_33
## %bb.32:
movq -96(%rbp), %rcx
movq -40(%rbp), %rax
movq %rcx, (%rax)
LBB0_33:
cmpq $0, -48(%rbp)
je LBB0_35
## %bb.34:
movq -104(%rbp), %rcx
movq -48(%rbp), %rax
movq %rcx, (%rax)
LBB0_35:
cmpq $0, 16(%rbp)
je LBB0_37
## %bb.36:
movl -108(%rbp), %ecx
movq 16(%rbp), %rax
movl %ecx, (%rax)
LBB0_37:
cmpq $0, 24(%rbp)
je LBB0_39
## %bb.38:
movl -112(%rbp), %ecx
movq 24(%rbp), %rax
movl %ecx, (%rax)
LBB0_39:
cmpq $0, 32(%rbp)
je LBB0_41
## %bb.40:
movl -116(%rbp), %ecx
movq 32(%rbp), %rax
movl %ecx, (%rax)
LBB0_41:
movq _SQLITE_OK@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl -52(%rbp), %eax
jne LBB0_44
## %bb.42:
cmpq $0, -72(%rbp)
jne LBB0_44
## %bb.43:
movq -8(%rbp), %rdi
movq -64(%rbp), %rsi
callq _sqlite3DbFree
movq -8(%rbp), %rdi
movq -24(%rbp), %rdx
movq -32(%rbp), %rcx
leaq L_.str.1(%rip), %rsi
callq _sqlite3MPrintf
movq %rax, -64(%rbp)
movq _SQLITE_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -52(%rbp)
LBB0_44:
movq -8(%rbp), %rdi
movl -52(%rbp), %esi
movq -64(%rbp), %rcx
xorl %eax, %eax
movl %eax, %edx
leaq L_.str.2(%rip), %rax
cmpq $0, %rcx
cmovneq %rax, %rdx
movq -64(%rbp), %rcx
callq _sqlite3ErrorWithMsg
movq -8(%rbp), %rdi
movq -64(%rbp), %rsi
callq _sqlite3DbFree
movq -8(%rbp), %rdi
movl -52(%rbp), %esi
callq _sqlite3ApiExit
movl %eax, -52(%rbp)
movq -8(%rbp), %rax
movl (%rax), %edi
callq _sqlite3_mutex_leave
movl -52(%rbp), %eax
addq $144, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SQLITE_OK,4,2 ## @SQLITE_OK
.comm _COLFLAG_PRIMKEY,4,2 ## @COLFLAG_PRIMKEY
.comm _TF_Autoincrement,4,2 ## @TF_Autoincrement
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "INTEGER"
.comm _sqlite3StrBINARY,8,3 ## @sqlite3StrBINARY
L_.str.1: ## @.str.1
.asciz "no such table column: %s.%s"
.comm _SQLITE_ERROR,4,2 ## @SQLITE_ERROR
L_.str.2: ## @.str.2
.asciz "%s"
.comm _SQLITE_MISUSE_BKPT,4,2 ## @SQLITE_MISUSE_BKPT
.subsections_via_symbols
| AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_sqlite3_table_column_metadata.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function b43_wa_boards_g
_b43_wa_boards_g: ; @b43_wa_boards_g
.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, _B43_OFDMTAB_GAINX@GOTPAGE
ldr x8, [x8, _B43_OFDMTAB_GAINX@GOTPAGEOFF]
stur x8, [x29, #-32] ; 8-byte Folded Spill
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr x8, [x8, #24]
stur x8, [x29, #-16]
ldur x8, [x29, #-8]
add x8, x8, #8
stur x8, [x29, #-24]
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr x8, [x8]
adrp x9, _SSB_BOARDVENDOR_BCM@GOTPAGE
ldr x9, [x9, _SSB_BOARDVENDOR_BCM@GOTPAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr x8, [x8, #8]
adrp x9, _SSB_BOARD_BU4306@GOTPAGE
ldr x9, [x9, _SSB_BOARD_BU4306@GOTPAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr w8, [x8, #16]
subs w8, w8, #23
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_3
LBB0_3:
ldur x8, [x29, #-24]
ldr w8, [x8]
subs w8, w8, #2
cset w8, ge
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldur x0, [x29, #-8]
adrp x8, _B43_OFDMTAB_GAINX_R1@GOTPAGE
ldr x8, [x8, _B43_OFDMTAB_GAINX_R1@GOTPAGEOFF]
str x8, [sp, #32] ; 8-byte Folded Spill
ldr w1, [x8]
mov w2, #1
stur w2, [x29, #-36] ; 4-byte Folded Spill
mov w3, #2
str w3, [sp, #40] ; 4-byte Folded Spill
bl _b43_ofdmtab_write16
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr w2, [sp, #40] ; 4-byte Folded Reload
ldur w3, [x29, #-36] ; 4-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x8]
bl _b43_ofdmtab_write16
b LBB0_9
LBB0_5:
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x8]
mov w2, #1
str w2, [sp, #28] ; 4-byte Folded Spill
mov w3, #2
str w3, [sp, #24] ; 4-byte Folded Spill
bl _b43_ofdmtab_write16
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr w2, [sp, #24] ; 4-byte Folded Reload
ldr w3, [sp, #28] ; 4-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x8]
bl _b43_ofdmtab_write16
ldur x8, [x29, #-16]
ldr w8, [x8]
adrp x9, _B43_BFL_EXTLNA@GOTPAGE
ldr x9, [x9, _B43_BFL_EXTLNA@GOTPAGEOFF]
ldr w9, [x9]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6:
ldur x8, [x29, #-24]
ldr w8, [x8]
subs w8, w8, #7
cset w8, lt
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
ldur x8, [x29, #-8]
str x8, [sp, #8] ; 8-byte Folded Spill
mov w0, #17
bl _B43_PHY_EXTG
mov x1, x0
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov w2, #63487
bl _b43_phy_mask
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x8]
mov w2, #32
mov w3, #1
str w3, [sp, #16] ; 4-byte Folded Spill
bl _b43_ofdmtab_write16
ldr w3, [sp, #16] ; 4-byte Folded Reload
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x8]
mov w2, #33
bl _b43_ofdmtab_write16
ldr w3, [sp, #16] ; 4-byte Folded Reload
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x8]
mov w2, #34
bl _b43_ofdmtab_write16
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x8]
mov w2, #35
mov w3, #0
str w3, [sp, #20] ; 4-byte Folded Spill
bl _b43_ofdmtab_write16
ldr w3, [sp, #20] ; 4-byte Folded Reload
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x8]
mov x2, x3
bl _b43_ofdmtab_write16
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x8]
mov w2, #3
mov w3, #2
bl _b43_ofdmtab_write16
b LBB0_8
LBB0_8:
b LBB0_9
LBB0_9:
b LBB0_10
LBB0_10:
ldur x8, [x29, #-16]
ldr w8, [x8]
adrp x9, _B43_BFL_FEM@GOTPAGE
ldr x9, [x9, _B43_BFL_FEM@GOTPAGEOFF]
ldr w9, [x9]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
ldur x0, [x29, #-8]
adrp x8, _B43_PHY_GTABCTL@GOTPAGE
ldr x8, [x8, _B43_PHY_GTABCTL@GOTPAGEOFF]
ldr w1, [x8]
mov w2, #12576
bl _b43_phy_write
ldur x0, [x29, #-8]
adrp x8, _B43_PHY_GTABDATA@GOTPAGE
ldr x8, [x8, _B43_PHY_GTABDATA@GOTPAGEOFF]
ldr w1, [x8]
mov w2, #50304
bl _b43_phy_write
b LBB0_12
LBB0_12:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.comm _SSB_BOARDVENDOR_BCM,8,3 ; @SSB_BOARDVENDOR_BCM
.comm _SSB_BOARD_BU4306,8,3 ; @SSB_BOARD_BU4306
.comm _B43_OFDMTAB_GAINX_R1,4,2 ; @B43_OFDMTAB_GAINX_R1
.comm _B43_OFDMTAB_GAINX,4,2 ; @B43_OFDMTAB_GAINX
.comm _B43_BFL_EXTLNA,4,2 ; @B43_BFL_EXTLNA
.comm _B43_BFL_FEM,4,2 ; @B43_BFL_FEM
.comm _B43_PHY_GTABCTL,4,2 ; @B43_PHY_GTABCTL
.comm _B43_PHY_GTABDATA,4,2 ; @B43_PHY_GTABDATA
.no_dead_strip _b43_wa_boards_g
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function b43_wa_boards_g
_b43_wa_boards_g: ## @b43_wa_boards_g
.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 24(%rax), %rax
movq %rax, -16(%rbp)
movq -8(%rbp), %rax
addq $8, %rax
movq %rax, -24(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rax
movq _SSB_BOARDVENDOR_BCM@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_3
## %bb.1:
movq -8(%rbp), %rax
movq (%rax), %rax
movq 8(%rax), %rax
movq _SSB_BOARD_BU4306@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_3
## %bb.2:
movq -8(%rbp), %rax
movq (%rax), %rax
cmpl $23, 16(%rax)
je LBB0_10
LBB0_3:
movq -24(%rbp), %rax
cmpl $2, (%rax)
jge LBB0_5
## %bb.4:
movq -8(%rbp), %rdi
movq _B43_OFDMTAB_GAINX_R1@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $1, %edx
movl $2, %ecx
callq _b43_ofdmtab_write16
movq -8(%rbp), %rdi
movq _B43_OFDMTAB_GAINX_R1@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $2, %edx
movl $1, %ecx
callq _b43_ofdmtab_write16
jmp LBB0_9
LBB0_5:
movq -8(%rbp), %rdi
movq _B43_OFDMTAB_GAINX@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $1, %edx
movl $2, %ecx
callq _b43_ofdmtab_write16
movq -8(%rbp), %rdi
movq _B43_OFDMTAB_GAINX@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $2, %edx
movl $1, %ecx
callq _b43_ofdmtab_write16
movq -16(%rbp), %rax
movl (%rax), %eax
movq _B43_BFL_EXTLNA@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
cmpl $0, %eax
je LBB0_8
## %bb.6:
movq -24(%rbp), %rax
cmpl $7, (%rax)
jl LBB0_8
## %bb.7:
movq -8(%rbp), %rax
movq %rax, -32(%rbp) ## 8-byte Spill
movl $17, %edi
callq _B43_PHY_EXTG
movq -32(%rbp), %rdi ## 8-byte Reload
movl %eax, %esi
movl $63487, %edx ## imm = 0xF7FF
callq _b43_phy_mask
movq -8(%rbp), %rdi
movq _B43_OFDMTAB_GAINX@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $32, %edx
movl $1, %ecx
callq _b43_ofdmtab_write16
movq -8(%rbp), %rdi
movq _B43_OFDMTAB_GAINX@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $33, %edx
movl $1, %ecx
callq _b43_ofdmtab_write16
movq -8(%rbp), %rdi
movq _B43_OFDMTAB_GAINX@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $34, %edx
movl $1, %ecx
callq _b43_ofdmtab_write16
movq -8(%rbp), %rdi
movq _B43_OFDMTAB_GAINX@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $35, %edx
xorl %ecx, %ecx
callq _b43_ofdmtab_write16
movq -8(%rbp), %rdi
movq _B43_OFDMTAB_GAINX@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %ecx, %ecx
movl %ecx, %edx
callq _b43_ofdmtab_write16
movq -8(%rbp), %rdi
movq _B43_OFDMTAB_GAINX@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $3, %edx
movl $2, %ecx
callq _b43_ofdmtab_write16
LBB0_8:
jmp LBB0_9
LBB0_9:
jmp LBB0_10
LBB0_10:
movq -16(%rbp), %rax
movl (%rax), %eax
movq _B43_BFL_FEM@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
cmpl $0, %eax
je LBB0_12
## %bb.11:
movq -8(%rbp), %rdi
movq _B43_PHY_GTABCTL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $12576, %edx ## imm = 0x3120
callq _b43_phy_write
movq -8(%rbp), %rdi
movq _B43_PHY_GTABDATA@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $50304, %edx ## imm = 0xC480
callq _b43_phy_write
LBB0_12:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SSB_BOARDVENDOR_BCM,8,3 ## @SSB_BOARDVENDOR_BCM
.comm _SSB_BOARD_BU4306,8,3 ## @SSB_BOARD_BU4306
.comm _B43_OFDMTAB_GAINX_R1,4,2 ## @B43_OFDMTAB_GAINX_R1
.comm _B43_OFDMTAB_GAINX,4,2 ## @B43_OFDMTAB_GAINX
.comm _B43_BFL_EXTLNA,4,2 ## @B43_BFL_EXTLNA
.comm _B43_BFL_FEM,4,2 ## @B43_BFL_FEM
.comm _B43_PHY_GTABCTL,4,2 ## @B43_PHY_GTABCTL
.comm _B43_PHY_GTABDATA,4,2 ## @B43_PHY_GTABDATA
.no_dead_strip _b43_wa_boards_g
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_wa.c_b43_wa_boards_g.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function alloc_stac_spec
_alloc_stac_spec: ; @alloc_stac_spec
.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]
adrp x8, _GFP_KERNEL@GOTPAGE
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
ldr w1, [x8]
mov w0, #4
bl _kzalloc
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x8, _ENOMEM@GOTPAGE
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
ldr w9, [x8]
mov w8, #0
subs w8, w8, w9
stur w8, [x29, #-4]
b LBB0_3
LBB0_2:
ldr x0, [sp, #8]
bl _snd_hda_gen_spec_init
ldr x8, [sp, #8]
ldr x9, [sp, #16]
str x8, [x9, #8]
ldr x9, [sp, #16]
mov w8, #1
str w8, [x9]
stur wzr, [x29, #-4]
b LBB0_3
LBB0_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.no_dead_strip _alloc_stac_spec
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function alloc_stac_spec
_alloc_stac_spec: ## @alloc_stac_spec
.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 _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $4, %edi
callq _kzalloc
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB0_2
## %bb.1:
xorl %eax, %eax
movq _ENOMEM@GOTPCREL(%rip), %rcx
subl (%rcx), %eax
movl %eax, -4(%rbp)
jmp LBB0_3
LBB0_2:
movq -24(%rbp), %rdi
callq _snd_hda_gen_spec_init
movq -24(%rbp), %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movq -16(%rbp), %rax
movl $1, (%rax)
movl $0, -4(%rbp)
LBB0_3:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.no_dead_strip _alloc_stac_spec
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/sound/pci/hda/extr_patch_sigmatel.c_alloc_stac_spec.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _tls_get_ticket_from_client ; -- Begin function tls_get_ticket_from_client
.p2align 2
_tls_get_ticket_from_client: ; @tls_get_ticket_from_client
.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]
ldr x8, [sp, #32]
; kill: def $x9 killed $xzr
str xzr, [x8]
ldur x8, [x29, #-16]
str xzr, [x8, #8]
ldur x8, [x29, #-16]
ldr x8, [x8]
adrp x9, _SSL3_VERSION@GOTPAGE
ldr x9, [x9, _SSL3_VERSION@GOTPAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
cset w8, le
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur x0, [x29, #-16]
bl _tls_use_ticket
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
adrp x8, _SSL_TICKET_NONE@GOTPAGE
ldr x8, [x8, _SSL_TICKET_NONE@GOTPAGEOFF]
ldr w8, [x8]
stur w8, [x29, #-4]
b LBB0_6
LBB0_3:
ldur x8, [x29, #-24]
ldr x8, [x8, #8]
adrp x9, _TLSEXT_IDX_session_ticket@GOTPAGE
ldr x9, [x9, _TLSEXT_IDX_session_ticket@GOTPAGEOFF]
ldr x9, [x9]
add x8, x8, x9, lsl #3
str x8, [sp, #16]
ldr x8, [sp, #16]
ldr w8, [x8, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
adrp x8, _SSL_TICKET_NONE@GOTPAGE
ldr x8, [x8, _SSL_TICKET_NONE@GOTPAGEOFF]
ldr w8, [x8]
stur w8, [x29, #-4]
b LBB0_6
LBB0_5:
ldr x0, [sp, #16]
bl _PACKET_remaining
str x0, [sp, #24]
ldur x8, [x29, #-16]
str x8, [sp, #8] ; 8-byte Folded Spill
ldr x0, [sp, #16]
bl _PACKET_data
mov x1, x0
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldr x2, [sp, #24]
ldur x8, [x29, #-24]
ldr w3, [x8, #4]
ldur x8, [x29, #-24]
ldr w4, [x8]
ldr x5, [sp, #32]
bl _tls_decrypt_ticket
stur w0, [x29, #-4]
b LBB0_6
LBB0_6:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.comm _SSL3_VERSION,8,3 ; @SSL3_VERSION
.comm _SSL_TICKET_NONE,4,2 ; @SSL_TICKET_NONE
.comm _TLSEXT_IDX_session_ticket,8,3 ; @TLSEXT_IDX_session_ticket
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _tls_get_ticket_from_client ## -- Begin function tls_get_ticket_from_client
.p2align 4, 0x90
_tls_get_ticket_from_client: ## @tls_get_ticket_from_client
.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 -32(%rbp), %rax
movq $0, (%rax)
movq -16(%rbp), %rax
movq $0, 8(%rax)
movq -16(%rbp), %rax
movq (%rax), %rax
movq _SSL3_VERSION@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jle LBB0_2
## %bb.1:
movq -16(%rbp), %rdi
callq _tls_use_ticket
cmpl $0, %eax
jne LBB0_3
LBB0_2:
movq _SSL_TICKET_NONE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -4(%rbp)
jmp LBB0_6
LBB0_3:
movq -24(%rbp), %rax
movq 8(%rax), %rax
movq _TLSEXT_IDX_session_ticket@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
shlq $3, %rcx
addq %rcx, %rax
movq %rax, -48(%rbp)
movq -48(%rbp), %rax
cmpl $0, 4(%rax)
jne LBB0_5
## %bb.4:
movq _SSL_TICKET_NONE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -4(%rbp)
jmp LBB0_6
LBB0_5:
movq -48(%rbp), %rdi
callq _PACKET_remaining
movq %rax, -40(%rbp)
movq -16(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movq -48(%rbp), %rdi
callq _PACKET_data
movq -56(%rbp), %rdi ## 8-byte Reload
movl %eax, %esi
movq -40(%rbp), %rdx
movq -24(%rbp), %rax
movl 4(%rax), %ecx
movq -24(%rbp), %rax
movl (%rax), %r8d
movq -32(%rbp), %r9
callq _tls_decrypt_ticket
movl %eax, -4(%rbp)
LBB0_6:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SSL3_VERSION,8,3 ## @SSL3_VERSION
.comm _SSL_TICKET_NONE,4,2 ## @SSL_TICKET_NONE
.comm _TLSEXT_IDX_session_ticket,8,3 ## @TLSEXT_IDX_session_ticket
.subsections_via_symbols
| AnghaBench/openssl/ssl/extr_t1_lib.c_tls_get_ticket_from_client.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pcnet32_get_ringparam
_pcnet32_get_ringparam: ; @pcnet32_get_ringparam
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
ldur x0, [x29, #-8]
bl _netdev_priv
str x0, [sp, #8]
adrp x8, _TX_MAX_RING_SIZE@GOTPAGE
ldr x8, [x8, _TX_MAX_RING_SIZE@GOTPAGEOFF]
ldr w8, [x8]
ldr x9, [sp, #16]
str w8, [x9, #12]
ldr x8, [sp, #8]
ldr w8, [x8, #4]
ldr x9, [sp, #16]
str w8, [x9, #8]
adrp x8, _RX_MAX_RING_SIZE@GOTPAGE
ldr x8, [x8, _RX_MAX_RING_SIZE@GOTPAGEOFF]
ldr w8, [x8]
ldr x9, [sp, #16]
str w8, [x9, #4]
ldr x8, [sp, #8]
ldr w8, [x8]
ldr x9, [sp, #16]
str w8, [x9]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.comm _TX_MAX_RING_SIZE,4,2 ; @TX_MAX_RING_SIZE
.comm _RX_MAX_RING_SIZE,4,2 ; @RX_MAX_RING_SIZE
.no_dead_strip _pcnet32_get_ringparam
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pcnet32_get_ringparam
_pcnet32_get_ringparam: ## @pcnet32_get_ringparam
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rdi
callq _netdev_priv
movq %rax, -24(%rbp)
movq _TX_MAX_RING_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq -16(%rbp), %rax
movl %ecx, 12(%rax)
movq -24(%rbp), %rax
movl 4(%rax), %ecx
movq -16(%rbp), %rax
movl %ecx, 8(%rax)
movq _RX_MAX_RING_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq -16(%rbp), %rax
movl %ecx, 4(%rax)
movq -24(%rbp), %rax
movl (%rax), %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TX_MAX_RING_SIZE,4,2 ## @TX_MAX_RING_SIZE
.comm _RX_MAX_RING_SIZE,4,2 ## @RX_MAX_RING_SIZE
.no_dead_strip _pcnet32_get_ringparam
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/amd/extr_pcnet32.c_pcnet32_get_ringparam.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ikev2_free_keys ; -- Begin function ikev2_free_keys
.p2align 2
_ikev2_free_keys: ; @ikev2_free_keys
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr x0, [x8, #48]
bl _os_free
ldr x8, [sp, #8]
ldr x0, [x8, #40]
bl _os_free
ldr x8, [sp, #8]
ldr x0, [x8, #32]
bl _os_free
ldr x8, [sp, #8]
ldr x0, [x8, #24]
bl _os_free
ldr x8, [sp, #8]
ldr x0, [x8, #16]
bl _os_free
ldr x8, [sp, #8]
ldr x0, [x8, #8]
bl _os_free
ldr x8, [sp, #8]
ldr x0, [x8]
bl _os_free
ldr x8, [sp, #8]
; kill: def $x9 killed $xzr
str xzr, [x8]
ldr x8, [sp, #8]
str xzr, [x8, #8]
ldr x8, [sp, #8]
str xzr, [x8, #16]
ldr x8, [sp, #8]
str xzr, [x8, #24]
ldr x8, [sp, #8]
str xzr, [x8, #32]
ldr x8, [sp, #8]
str xzr, [x8, #40]
ldr x8, [sp, #8]
str xzr, [x8, #48]
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 _ikev2_free_keys ## -- Begin function ikev2_free_keys
.p2align 4, 0x90
_ikev2_free_keys: ## @ikev2_free_keys
.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 48(%rax), %rdi
callq _os_free
movq -8(%rbp), %rax
movq 40(%rax), %rdi
callq _os_free
movq -8(%rbp), %rax
movq 32(%rax), %rdi
callq _os_free
movq -8(%rbp), %rax
movq 24(%rax), %rdi
callq _os_free
movq -8(%rbp), %rax
movq 16(%rax), %rdi
callq _os_free
movq -8(%rbp), %rax
movq 8(%rax), %rdi
callq _os_free
movq -8(%rbp), %rax
movq (%rax), %rdi
callq _os_free
movq -8(%rbp), %rax
movq $0, (%rax)
movq -8(%rbp), %rax
movq $0, 8(%rax)
movq -8(%rbp), %rax
movq $0, 16(%rax)
movq -8(%rbp), %rax
movq $0, 24(%rax)
movq -8(%rbp), %rax
movq $0, 32(%rax)
movq -8(%rbp), %rax
movq $0, 40(%rax)
movq -8(%rbp), %rax
movq $0, 48(%rax)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| AnghaBench/freebsd/contrib/wpa/src/eap_common/extr_ikev2_common.c_ikev2_free_keys.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rdc321x_wdt_remove
_rdc321x_wdt_remove: ; @rdc321x_wdt_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
adrp x8, _rdc321x_wdt_device@GOTPAGE
ldr x8, [x8, _rdc321x_wdt_device@GOTPAGEOFF]
str x8, [sp] ; 8-byte Folded Spill
str x0, [sp, #8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp] ; 8-byte Folded Reload
str xzr, [x8, #8]
adrp x0, _rdc321x_wdt_device@GOTPAGE
ldr x0, [x0, _rdc321x_wdt_device@GOTPAGEOFF]
bl _wait_for_completion
b LBB0_2
LBB0_2:
adrp x0, _rdc321x_wdt_misc@GOTPAGE
ldr x0, [x0, _rdc321x_wdt_misc@GOTPAGEOFF]
bl _misc_deregister
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _rdc321x_wdt_device,16,3 ; @rdc321x_wdt_device
.comm _rdc321x_wdt_misc,4,2 ; @rdc321x_wdt_misc
.no_dead_strip _rdc321x_wdt_remove
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rdc321x_wdt_remove
_rdc321x_wdt_remove: ## @rdc321x_wdt_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 _rdc321x_wdt_device@GOTPCREL(%rip), %rax
cmpq $0, 8(%rax)
je LBB0_2
## %bb.1:
movq _rdc321x_wdt_device@GOTPCREL(%rip), %rax
movq $0, 8(%rax)
movq _rdc321x_wdt_device@GOTPCREL(%rip), %rdi
callq _wait_for_completion
LBB0_2:
movq _rdc321x_wdt_misc@GOTPCREL(%rip), %rdi
callq _misc_deregister
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _rdc321x_wdt_device,16,3 ## @rdc321x_wdt_device
.comm _rdc321x_wdt_misc,4,2 ## @rdc321x_wdt_misc
.no_dead_strip _rdc321x_wdt_remove
.subsections_via_symbols
| AnghaBench/linux/drivers/watchdog/extr_rdc321x_wdt.c_rdc321x_wdt_remove.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pqi_get_physical_disk_info
_pqi_get_physical_disk_info: ; @pqi_get_physical_disk_info
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
str x2, [sp, #24]
ldr x0, [sp, #24]
mov w1, #0
mov w2, #48
str w2, [sp, #16] ; 4-byte Folded Spill
bl _memset
ldr w3, [sp, #16] ; 4-byte Folded Reload
ldur x0, [x29, #-8]
ldur x1, [x29, #-16]
ldr x2, [sp, #24]
bl _pqi_identify_physical_device
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:
adrp x8, _PQI_PHYSICAL_DISK_DEFAULT_MAX_QUEUE_DEPTH@GOTPAGE
ldr x8, [x8, _PQI_PHYSICAL_DISK_DEFAULT_MAX_QUEUE_DEPTH@GOTPAGEOFF]
ldr w8, [x8]
ldur x9, [x29, #-16]
str w8, [x9, #24]
b LBB0_3
LBB0_2:
ldr x8, [sp, #24]
ldr w8, [x8, #44]
ldur x9, [x29, #-16]
str w8, [x9, #36]
ldr x8, [sp, #24]
ldr w8, [x8, #40]
ldur x9, [x29, #-16]
str w8, [x9, #32]
ldr x8, [sp, #24]
ldr x8, [x8, #32]
ldr w8, [x8]
ldur x9, [x29, #-16]
str w8, [x9, #28]
ldr x8, [sp, #24]
add x0, x8, #24
bl _get_unaligned_le16
ldur x8, [x29, #-16]
str w0, [x8, #24]
ldr x8, [sp, #24]
ldr w8, [x8, #20]
ldur x9, [x29, #-16]
str w8, [x9, #20]
ldr x8, [sp, #24]
ldr w8, [x8, #16]
ldur x9, [x29, #-16]
str w8, [x9, #16]
ldr x8, [sp, #24]
ldr w8, [x8, #12]
ldur x9, [x29, #-16]
str w8, [x9, #12]
ldur x8, [x29, #-16]
add x0, x8, #8
ldr x8, [sp, #24]
add x1, x8, #8
mov w2, #4
str w2, [sp, #12] ; 4-byte Folded Spill
bl _memcpy
ldr w2, [sp, #12] ; 4-byte Folded Reload
ldur x8, [x29, #-16]
add x0, x8, #4
ldr x8, [sp, #24]
add x1, x8, #4
bl _memcpy
ldr x8, [sp, #24]
ldr w8, [x8]
ldur x9, [x29, #-16]
str w8, [x9]
b LBB0_3
LBB0_3:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.comm _PQI_PHYSICAL_DISK_DEFAULT_MAX_QUEUE_DEPTH,4,2 ; @PQI_PHYSICAL_DISK_DEFAULT_MAX_QUEUE_DEPTH
.no_dead_strip _pqi_get_physical_disk_info
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pqi_get_physical_disk_info
_pqi_get_physical_disk_info: ## @pqi_get_physical_disk_info
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq -24(%rbp), %rdi
xorl %esi, %esi
movl $48, %edx
callq _memset
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
movq -24(%rbp), %rdx
movl $48, %ecx
callq _pqi_identify_physical_device
movl %eax, -28(%rbp)
cmpl $0, -28(%rbp)
je LBB0_2
## %bb.1:
movq _PQI_PHYSICAL_DISK_DEFAULT_MAX_QUEUE_DEPTH@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq -16(%rbp), %rax
movl %ecx, 24(%rax)
jmp LBB0_3
LBB0_2:
movq -24(%rbp), %rax
movl 44(%rax), %ecx
movq -16(%rbp), %rax
movl %ecx, 36(%rax)
movq -24(%rbp), %rax
movl 40(%rax), %ecx
movq -16(%rbp), %rax
movl %ecx, 32(%rax)
movq -24(%rbp), %rax
movq 32(%rax), %rax
movl (%rax), %ecx
movq -16(%rbp), %rax
movl %ecx, 28(%rax)
movq -24(%rbp), %rdi
addq $24, %rdi
callq _get_unaligned_le16
movl %eax, %ecx
movq -16(%rbp), %rax
movl %ecx, 24(%rax)
movq -24(%rbp), %rax
movl 20(%rax), %ecx
movq -16(%rbp), %rax
movl %ecx, 20(%rax)
movq -24(%rbp), %rax
movl 16(%rax), %ecx
movq -16(%rbp), %rax
movl %ecx, 16(%rax)
movq -24(%rbp), %rax
movl 12(%rax), %ecx
movq -16(%rbp), %rax
movl %ecx, 12(%rax)
movq -16(%rbp), %rdi
addq $8, %rdi
movq -24(%rbp), %rsi
addq $8, %rsi
movl $4, %edx
callq _memcpy
movq -16(%rbp), %rdi
addq $4, %rdi
movq -24(%rbp), %rsi
addq $4, %rsi
movl $4, %edx
callq _memcpy
movq -24(%rbp), %rax
movl (%rax), %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
LBB0_3:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PQI_PHYSICAL_DISK_DEFAULT_MAX_QUEUE_DEPTH,4,2 ## @PQI_PHYSICAL_DISK_DEFAULT_MAX_QUEUE_DEPTH
.no_dead_strip _pqi_get_physical_disk_info
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/smartpqi/extr_smartpqi_init.c_pqi_get_physical_disk_info.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _LWP_ThreadSleep ; -- Begin function LWP_ThreadSleep
.p2align 2
_LWP_ThreadSleep: ; @LWP_ThreadSleep
.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 w0, [x29, #-8]
; kill: def $x8 killed $xzr
str xzr, [sp]
ldur w0, [x29, #-8]
bl ___lwp_tqueue_open
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov w8, #-1
stur w8, [x29, #-4]
b LBB0_3
LBB0_2:
adrp x8, __thr_executing@GOTPAGE
ldr x8, [x8, __thr_executing@GOTPAGEOFF]
ldr x8, [x8]
str x8, [sp]
ldur w0, [x29, #-12]
bl __CPU_ISR_Disable
ldr x0, [sp, #8]
bl ___lwp_threadqueue_csenter
ldr x8, [sp]
str xzr, [x8, #32]
ldr x8, [sp]
; kill: def $x9 killed $xzr
str xzr, [x8, #24]
ldr x8, [sp]
str xzr, [x8, #16]
ldr x8, [sp, #8]
ldr x9, [sp]
str x8, [x9, #8]
ldur w8, [x29, #-8]
ldr x9, [sp]
str w8, [x9]
ldur w0, [x29, #-12]
bl __CPU_ISR_Restore
ldr x0, [sp, #8]
adrp x8, _LWP_THREADQ_NOTIMEOUT@GOTPAGE
ldr x8, [x8, _LWP_THREADQ_NOTIMEOUT@GOTPAGEOFF]
ldr w1, [x8]
bl ___lwp_threadqueue_enqueue
bl ___lwp_thread_dispatchenable
stur wzr, [x29, #-4]
b LBB0_3
LBB0_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.comm __thr_executing,8,3 ; @_thr_executing
.comm _LWP_THREADQ_NOTIMEOUT,4,2 ; @LWP_THREADQ_NOTIMEOUT
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _LWP_ThreadSleep ## -- Begin function LWP_ThreadSleep
.p2align 4, 0x90
_LWP_ThreadSleep: ## @LWP_ThreadSleep
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -8(%rbp)
movq $0, -32(%rbp)
movl -8(%rbp), %edi
callq ___lwp_tqueue_open
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB0_2
## %bb.1:
movl $-1, -4(%rbp)
jmp LBB0_3
LBB0_2:
movq __thr_executing@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
movl -12(%rbp), %edi
callq __CPU_ISR_Disable
movq -24(%rbp), %rdi
callq ___lwp_threadqueue_csenter
movq -32(%rbp), %rax
movq $0, 32(%rax)
movq -32(%rbp), %rax
movq $0, 24(%rax)
movq -32(%rbp), %rax
movq $0, 16(%rax)
movq -24(%rbp), %rcx
movq -32(%rbp), %rax
movq %rcx, 8(%rax)
movl -8(%rbp), %ecx
movq -32(%rbp), %rax
movl %ecx, (%rax)
movl -12(%rbp), %edi
callq __CPU_ISR_Restore
movq -24(%rbp), %rdi
movq _LWP_THREADQ_NOTIMEOUT@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq ___lwp_threadqueue_enqueue
movb $0, %al
callq ___lwp_thread_dispatchenable
movl $0, -4(%rbp)
LBB0_3:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm __thr_executing,8,3 ## @_thr_executing
.comm _LWP_THREADQ_NOTIMEOUT,4,2 ## @LWP_THREADQ_NOTIMEOUT
.subsections_via_symbols
| AnghaBench/RetroArch/wii/libogc/libogc/extr_lwp.c_LWP_ThreadSleep.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cbs_av1_write_obu
_cbs_av1_write_obu: ; @cbs_av1_write_obu
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur x2, [x29, #-32]
ldur x8, [x29, #-16]
ldr x8, [x8]
stur x8, [x29, #-40]
ldur x8, [x29, #-24]
ldr x8, [x8, #8]
stur x8, [x29, #-48]
ldur x9, [x29, #-48]
mov w8, #1
str w8, [x9, #72]
ldur x0, [x29, #-16]
ldur x1, [x29, #-32]
ldur x8, [x29, #-48]
add x2, x8, #72
bl _cbs_av1_write_obu_header
str w0, [sp, #52]
ldr w8, [sp, #52]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr w8, [sp, #52]
stur w8, [x29, #-4]
b LBB0_50
LBB0_2:
ldur x8, [x29, #-48]
ldr w8, [x8, #72]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldur x8, [x29, #-32]
ldr w8, [x8]
stur w8, [x29, #-52]
ldur x0, [x29, #-32]
mov w1, #0
str w1, [sp, #36] ; 4-byte Folded Spill
bl _put_bits32
ldr w1, [sp, #36] ; 4-byte Folded Reload
ldur x0, [x29, #-32]
bl _put_bits32
b LBB0_4
LBB0_4:
; kill: def $x8 killed $xzr
str xzr, [sp, #64]
ldur x0, [x29, #-32]
bl _put_bits_count
str w0, [sp, #48]
ldur x8, [x29, #-48]
ldr w8, [x8, #76]
subs w8, w8, #128
; kill: def $x8 killed $w8
str x8, [sp, #24] ; 8-byte Folded Spill
subs x8, x8, #8
cset w8, hi
tbnz w8, #0, LBB0_32
; %bb.5:
ldr x11, [sp, #24] ; 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_6:
ldur x0, [x29, #-16]
ldur x1, [x29, #-32]
ldur x8, [x29, #-48]
add x2, x8, #68
bl _cbs_av1_write_sequence_header_obu
str w0, [sp, #52]
ldr w8, [sp, #52]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
ldr w8, [sp, #52]
stur w8, [x29, #-4]
b LBB0_50
LBB0_8:
ldur x8, [x29, #-40]
add x0, x8, #16
bl _av_buffer_unref
ldur x8, [x29, #-40]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
ldur x8, [x29, #-24]
ldr w0, [x8]
bl _av_buffer_ref
ldur x8, [x29, #-40]
str w0, [x8, #16]
ldur x8, [x29, #-40]
ldr w8, [x8, #16]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
adrp x8, _ENOMEM@GOTPAGE
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
ldr w0, [x8]
bl _AVERROR
stur w0, [x29, #-4]
b LBB0_50
LBB0_10:
ldur x8, [x29, #-48]
add x8, x8, #68
ldur x9, [x29, #-40]
str x8, [x9, #8]
b LBB0_33
LBB0_11:
ldur x0, [x29, #-16]
ldur x1, [x29, #-32]
bl _cbs_av1_write_temporal_delimiter_obu
str w0, [sp, #52]
ldr w8, [sp, #52]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12:
ldr w8, [sp, #52]
stur w8, [x29, #-4]
b LBB0_50
LBB0_13:
b LBB0_33
LBB0_14:
ldur x0, [x29, #-16]
ldur x1, [x29, #-32]
ldur x8, [x29, #-48]
add x2, x8, #64
ldur x8, [x29, #-48]
ldr w8, [x8, #76]
subs w8, w8, #132
cset w8, eq
and w3, w8, #0x1
mov x4, #0
bl _cbs_av1_write_frame_header_obu
str w0, [sp, #52]
ldr w8, [sp, #52]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_16
b LBB0_15
LBB0_15:
ldr w8, [sp, #52]
stur w8, [x29, #-4]
b LBB0_50
LBB0_16:
b LBB0_33
LBB0_17:
ldur x0, [x29, #-16]
ldur x1, [x29, #-32]
ldur x8, [x29, #-48]
add x2, x8, #48
bl _cbs_av1_write_tile_group_obu
str w0, [sp, #52]
ldr w8, [sp, #52]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_19
b LBB0_18
LBB0_18:
ldr w8, [sp, #52]
stur w8, [x29, #-4]
b LBB0_50
LBB0_19:
ldur x8, [x29, #-48]
add x8, x8, #48
str x8, [sp, #64]
b LBB0_33
LBB0_20:
ldur x0, [x29, #-16]
ldur x1, [x29, #-32]
ldur x8, [x29, #-48]
add x2, x8, #32
mov x3, #0
bl _cbs_av1_write_frame_obu
str w0, [sp, #52]
ldr w8, [sp, #52]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_22
b LBB0_21
LBB0_21:
ldr w8, [sp, #52]
stur w8, [x29, #-4]
b LBB0_50
LBB0_22:
ldur x8, [x29, #-48]
add x8, x8, #32
str x8, [sp, #64]
b LBB0_33
LBB0_23:
ldur x0, [x29, #-16]
ldur x1, [x29, #-32]
ldur x8, [x29, #-48]
add x2, x8, #16
bl _cbs_av1_write_tile_list_obu
str w0, [sp, #52]
ldr w8, [sp, #52]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_25
b LBB0_24
LBB0_24:
ldr w8, [sp, #52]
stur w8, [x29, #-4]
b LBB0_50
LBB0_25:
ldur x8, [x29, #-48]
add x8, x8, #16
str x8, [sp, #64]
b LBB0_33
LBB0_26:
ldur x0, [x29, #-16]
ldur x1, [x29, #-32]
ldur x8, [x29, #-48]
add x2, x8, #12
bl _cbs_av1_write_metadata_obu
str w0, [sp, #52]
ldr w8, [sp, #52]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_28
b LBB0_27
LBB0_27:
ldr w8, [sp, #52]
stur w8, [x29, #-4]
b LBB0_50
LBB0_28:
b LBB0_33
LBB0_29:
ldur x0, [x29, #-16]
ldur x1, [x29, #-32]
ldur x8, [x29, #-48]
add x2, x8, #8
bl _cbs_av1_write_padding_obu
str w0, [sp, #52]
ldr w8, [sp, #52]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_31
b LBB0_30
LBB0_30:
ldr w8, [sp, #52]
stur w8, [x29, #-4]
b LBB0_50
LBB0_31:
b LBB0_33
LBB0_32:
adrp x8, _ENOSYS@GOTPAGE
ldr x8, [x8, _ENOSYS@GOTPAGEOFF]
ldr w0, [x8]
bl _AVERROR
stur w0, [x29, #-4]
b LBB0_50
LBB0_33:
ldur x0, [x29, #-32]
bl _put_bits_count
str w0, [sp, #44]
ldr w8, [sp, #44]
ldr w9, [sp, #48]
subs w8, w8, w9
add w8, w8, #7
mov w9, #8
sdiv w9, w8, w9
; implicit-def: $x8
mov x8, x9
sxtw x8, w8
str x8, [sp, #56]
ldr x8, [sp, #64]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_35
b LBB0_34
LBB0_34:
ldr x8, [sp, #56]
ldr x9, [sp, #64]
ldr x9, [x9]
add x8, x8, x9
ldur x9, [x29, #-48]
str x8, [x9]
b LBB0_41
LBB0_35:
ldr x8, [sp, #56]
subs x8, x8, #0
cset w8, ls
tbnz w8, #0, LBB0_39
b LBB0_36
LBB0_36:
ldur x0, [x29, #-16]
ldur x1, [x29, #-32]
ldr w9, [sp, #44]
mov w8, #8
sdiv w10, w9, w8
mul w10, w10, w8
subs w9, w9, w10
subs w2, w8, w9
bl _cbs_av1_write_trailing_bits
str w0, [sp, #52]
ldr w8, [sp, #52]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_38
b LBB0_37
LBB0_37:
ldr w8, [sp, #52]
stur w8, [x29, #-4]
b LBB0_50
LBB0_38:
ldur x0, [x29, #-32]
bl _put_bits_count
str w0, [sp, #44]
ldr w8, [sp, #44]
ldr w9, [sp, #48]
subs w8, w8, w9
add w8, w8, #7
mov w9, #8
sdiv w9, w8, w9
; implicit-def: $x8
mov x8, x9
sxtw x8, w8
str x8, [sp, #56]
ldur x9, [x29, #-48]
str x8, [x9]
b LBB0_40
LBB0_39:
ldur x8, [x29, #-48]
str xzr, [x8]
b LBB0_40
LBB0_40:
b LBB0_41
LBB0_41:
ldur x0, [x29, #-32]
bl _put_bits_count
str w0, [sp, #44]
ldr w8, [sp, #44]
mov w10, #8
str w10, [sp, #20] ; 4-byte Folded Spill
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, eq
and w0, w8, #0x1
bl _av_assert0
ldur x0, [x29, #-32]
bl _flush_put_bits
ldr w9, [sp, #20] ; 4-byte Folded Reload
ldr w8, [sp, #48]
sdiv w8, w8, w9
str w8, [sp, #48]
ldr w8, [sp, #44]
sdiv w8, w8, w9
str w8, [sp, #44]
ldur w8, [x29, #-52]
ldur x9, [x29, #-32]
str w8, [x9]
ldur x0, [x29, #-16]
ldur x1, [x29, #-32]
ldur x8, [x29, #-48]
ldr x3, [x8]
adrp x2, l_.str@PAGE
add x2, x2, l_.str@PAGEOFF
bl _cbs_av1_write_leb128
str w0, [sp, #52]
ldr w8, [sp, #52]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_43
b LBB0_42
LBB0_42:
ldr w8, [sp, #52]
stur w8, [x29, #-4]
b LBB0_50
LBB0_43:
ldur x0, [x29, #-32]
bl _put_bits_count
mov w8, #8
sdiv w8, w0, w8
str w8, [sp, #40]
ldur x0, [x29, #-32]
bl _flush_put_bits
ldr w8, [sp, #40]
ldr w9, [sp, #48]
subs w8, w8, w9
cset w8, le
and w0, w8, #0x1
bl _av_assert0
ldur x8, [x29, #-48]
ldr x9, [x8]
mov x8, #8
mul x8, x8, x9
str x8, [sp, #8] ; 8-byte Folded Spill
ldur x0, [x29, #-32]
bl _put_bits_left
ldr x8, [sp, #8] ; 8-byte Folded Reload
subs x8, x8, w0, sxtw
cset w8, ls
tbnz w8, #0, LBB0_45
b LBB0_44
LBB0_44:
adrp x8, _ENOSPC@GOTPAGE
ldr x8, [x8, _ENOSPC@GOTPAGEOFF]
ldr w0, [x8]
bl _AVERROR
stur w0, [x29, #-4]
b LBB0_50
LBB0_45:
ldur x8, [x29, #-48]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ls
tbnz w8, #0, LBB0_49
b LBB0_46
LBB0_46:
ldur x8, [x29, #-40]
ldr x8, [x8]
ldrsw x9, [sp, #40]
add x0, x8, x9
ldur x8, [x29, #-40]
ldr x8, [x8]
ldrsw x9, [sp, #48]
add x1, x8, x9
ldr x2, [sp, #56]
bl _memmove
ldur x0, [x29, #-32]
ldr x1, [sp, #56]
bl _skip_put_bytes
ldr x8, [sp, #64]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_48
b LBB0_47
LBB0_47:
ldur x8, [x29, #-40]
ldr x8, [x8]
ldrsw x9, [sp, #40]
add x8, x8, x9
ldr x9, [sp, #56]
add x0, x8, x9
ldr x8, [sp, #64]
ldr w1, [x8, #8]
ldr x8, [sp, #64]
ldr x2, [x8]
bl _memcpy
ldur x0, [x29, #-32]
ldr x8, [sp, #64]
ldr x1, [x8]
bl _skip_put_bytes
b LBB0_48
LBB0_48:
b LBB0_49
LBB0_49:
stur wzr, [x29, #-4]
b LBB0_50
LBB0_50:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
.p2align 2
lJTI0_0:
.long LBB0_23-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_11-Ltmp0
.long LBB0_6-Ltmp0
.long LBB0_14-Ltmp0
.long LBB0_29-Ltmp0
.long LBB0_26-Ltmp0
.long LBB0_14-Ltmp0
.long LBB0_20-Ltmp0
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _ENOSYS,4,2 ; @ENOSYS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "obu_size"
.comm _ENOSPC,4,2 ; @ENOSPC
.no_dead_strip _cbs_av1_write_obu
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cbs_av1_write_obu
_cbs_av1_write_obu: ## @cbs_av1_write_obu
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $112, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -48(%rbp)
movq -48(%rbp), %rax
movl $1, 72(%rax)
movq -16(%rbp), %rdi
movq -32(%rbp), %rsi
movq -48(%rbp), %rdx
addq $72, %rdx
callq _cbs_av1_write_obu_header
movl %eax, -76(%rbp)
cmpl $0, -76(%rbp)
jge LBB0_2
## %bb.1:
movl -76(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_49
LBB0_2:
movq -48(%rbp), %rax
cmpl $0, 72(%rax)
je LBB0_4
## %bb.3:
movq -32(%rbp), %rax
movl (%rax), %eax
movl %eax, -52(%rbp)
movq -32(%rbp), %rdi
xorl %esi, %esi
callq _put_bits32
movq -32(%rbp), %rdi
xorl %esi, %esi
callq _put_bits32
LBB0_4:
movq $0, -64(%rbp)
movq -32(%rbp), %rdi
callq _put_bits_count
movl %eax, -80(%rbp)
movq -48(%rbp), %rax
movl 76(%rax), %eax
addl $-128, %eax
movl %eax, %ecx
movq %rcx, -96(%rbp) ## 8-byte Spill
subl $8, %eax
ja LBB0_31
## %bb.50:
movq -96(%rbp), %rax ## 8-byte Reload
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_5:
movq -16(%rbp), %rdi
movq -32(%rbp), %rsi
movq -48(%rbp), %rdx
addq $8, %rdx
addq $60, %rdx
callq _cbs_av1_write_sequence_header_obu
movl %eax, -76(%rbp)
cmpl $0, -76(%rbp)
jge LBB0_7
## %bb.6:
movl -76(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_49
LBB0_7:
movq -40(%rbp), %rdi
addq $16, %rdi
callq _av_buffer_unref
movq -40(%rbp), %rax
movq $0, 8(%rax)
movq -24(%rbp), %rax
movl (%rax), %edi
callq _av_buffer_ref
movl %eax, %ecx
movq -40(%rbp), %rax
movl %ecx, 16(%rax)
movq -40(%rbp), %rax
cmpl $0, 16(%rax)
jne LBB0_9
## %bb.8:
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _AVERROR
movl %eax, -4(%rbp)
jmp LBB0_49
LBB0_9:
movq -48(%rbp), %rcx
addq $8, %rcx
addq $60, %rcx
movq -40(%rbp), %rax
movq %rcx, 8(%rax)
jmp LBB0_32
LBB0_10:
movq -16(%rbp), %rdi
movq -32(%rbp), %rsi
callq _cbs_av1_write_temporal_delimiter_obu
movl %eax, -76(%rbp)
cmpl $0, -76(%rbp)
jge LBB0_12
## %bb.11:
movl -76(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_49
LBB0_12:
jmp LBB0_32
LBB0_13:
movq -16(%rbp), %rdi
movq -32(%rbp), %rsi
movq -48(%rbp), %rdx
addq $8, %rdx
addq $56, %rdx
movq -48(%rbp), %rax
cmpl $132, 76(%rax)
sete %al
andb $1, %al
movzbl %al, %ecx
xorl %eax, %eax
movl %eax, %r8d
callq _cbs_av1_write_frame_header_obu
movl %eax, -76(%rbp)
cmpl $0, -76(%rbp)
jge LBB0_15
## %bb.14:
movl -76(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_49
LBB0_15:
jmp LBB0_32
LBB0_16:
movq -16(%rbp), %rdi
movq -32(%rbp), %rsi
movq -48(%rbp), %rdx
addq $8, %rdx
addq $40, %rdx
callq _cbs_av1_write_tile_group_obu
movl %eax, -76(%rbp)
cmpl $0, -76(%rbp)
jge LBB0_18
## %bb.17:
movl -76(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_49
LBB0_18:
movq -48(%rbp), %rax
addq $8, %rax
addq $40, %rax
movq %rax, -64(%rbp)
jmp LBB0_32
LBB0_19:
movq -16(%rbp), %rdi
movq -32(%rbp), %rsi
movq -48(%rbp), %rdx
addq $8, %rdx
addq $24, %rdx
xorl %eax, %eax
movl %eax, %ecx
callq _cbs_av1_write_frame_obu
movl %eax, -76(%rbp)
cmpl $0, -76(%rbp)
jge LBB0_21
## %bb.20:
movl -76(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_49
LBB0_21:
movq -48(%rbp), %rax
addq $8, %rax
addq $24, %rax
movq %rax, -64(%rbp)
jmp LBB0_32
LBB0_22:
movq -16(%rbp), %rdi
movq -32(%rbp), %rsi
movq -48(%rbp), %rdx
addq $8, %rdx
addq $8, %rdx
callq _cbs_av1_write_tile_list_obu
movl %eax, -76(%rbp)
cmpl $0, -76(%rbp)
jge LBB0_24
## %bb.23:
movl -76(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_49
LBB0_24:
movq -48(%rbp), %rax
addq $8, %rax
addq $8, %rax
movq %rax, -64(%rbp)
jmp LBB0_32
LBB0_25:
movq -16(%rbp), %rdi
movq -32(%rbp), %rsi
movq -48(%rbp), %rdx
addq $8, %rdx
addq $4, %rdx
callq _cbs_av1_write_metadata_obu
movl %eax, -76(%rbp)
cmpl $0, -76(%rbp)
jge LBB0_27
## %bb.26:
movl -76(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_49
LBB0_27:
jmp LBB0_32
LBB0_28:
movq -16(%rbp), %rdi
movq -32(%rbp), %rsi
movq -48(%rbp), %rdx
addq $8, %rdx
callq _cbs_av1_write_padding_obu
movl %eax, -76(%rbp)
cmpl $0, -76(%rbp)
jge LBB0_30
## %bb.29:
movl -76(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_49
LBB0_30:
jmp LBB0_32
LBB0_31:
movq _ENOSYS@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _AVERROR
movl %eax, -4(%rbp)
jmp LBB0_49
LBB0_32:
movq -32(%rbp), %rdi
callq _put_bits_count
movl %eax, -84(%rbp)
movl -84(%rbp), %eax
subl -80(%rbp), %eax
addl $7, %eax
movl $8, %ecx
cltd
idivl %ecx
cltq
movq %rax, -72(%rbp)
cmpq $0, -64(%rbp)
je LBB0_34
## %bb.33:
movq -72(%rbp), %rcx
movq -64(%rbp), %rax
addq (%rax), %rcx
movq -48(%rbp), %rax
movq %rcx, (%rax)
jmp LBB0_40
LBB0_34:
cmpq $0, -72(%rbp)
jbe LBB0_38
## %bb.35:
movq -16(%rbp), %rdi
movq -32(%rbp), %rsi
movl -84(%rbp), %eax
movl $8, %ecx
cltd
idivl %ecx
movl %edx, %eax
movl $8, %edx
subl %eax, %edx
callq _cbs_av1_write_trailing_bits
movl %eax, -76(%rbp)
cmpl $0, -76(%rbp)
jge LBB0_37
## %bb.36:
movl -76(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_49
LBB0_37:
movq -32(%rbp), %rdi
callq _put_bits_count
movl %eax, -84(%rbp)
movl -84(%rbp), %eax
subl -80(%rbp), %eax
addl $7, %eax
movl $8, %ecx
cltd
idivl %ecx
movslq %eax, %rcx
movq %rcx, -72(%rbp)
movq -48(%rbp), %rax
movq %rcx, (%rax)
jmp LBB0_39
LBB0_38:
movq -48(%rbp), %rax
movq $0, (%rax)
LBB0_39:
jmp LBB0_40
LBB0_40:
movq -32(%rbp), %rdi
callq _put_bits_count
movl %eax, -84(%rbp)
movl -84(%rbp), %eax
movl $8, %ecx
cltd
idivl %ecx
cmpl $0, %edx
sete %al
andb $1, %al
movzbl %al, %edi
callq _av_assert0
movq -32(%rbp), %rdi
callq _flush_put_bits
movl -80(%rbp), %eax
movl $8, %ecx
cltd
idivl %ecx
movl %eax, -80(%rbp)
movl -84(%rbp), %eax
movl $8, %ecx
cltd
idivl %ecx
movl %eax, -84(%rbp)
movl -52(%rbp), %ecx
movq -32(%rbp), %rax
movl %ecx, (%rax)
movq -16(%rbp), %rdi
movq -32(%rbp), %rsi
movq -48(%rbp), %rax
movq (%rax), %rcx
leaq L_.str(%rip), %rdx
callq _cbs_av1_write_leb128
movl %eax, -76(%rbp)
cmpl $0, -76(%rbp)
jge LBB0_42
## %bb.41:
movl -76(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_49
LBB0_42:
movq -32(%rbp), %rdi
callq _put_bits_count
movl $8, %ecx
cltd
idivl %ecx
movl %eax, -88(%rbp)
movq -32(%rbp), %rdi
callq _flush_put_bits
movl -88(%rbp), %eax
cmpl -80(%rbp), %eax
setle %al
andb $1, %al
movzbl %al, %edi
callq _av_assert0
movq -48(%rbp), %rax
movq (%rax), %rax
shlq $3, %rax
movq %rax, -104(%rbp) ## 8-byte Spill
movq -32(%rbp), %rdi
callq _put_bits_left
movl %eax, %ecx
movq -104(%rbp), %rax ## 8-byte Reload
movslq %ecx, %rcx
cmpq %rcx, %rax
jbe LBB0_44
## %bb.43:
movq _ENOSPC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _AVERROR
movl %eax, -4(%rbp)
jmp LBB0_49
LBB0_44:
movq -48(%rbp), %rax
cmpq $0, (%rax)
jbe LBB0_48
## %bb.45:
movq -40(%rbp), %rax
movq (%rax), %rdi
movslq -88(%rbp), %rax
addq %rax, %rdi
movq -40(%rbp), %rax
movq (%rax), %rsi
movslq -80(%rbp), %rax
addq %rax, %rsi
movq -72(%rbp), %rdx
callq _memmove
movq -32(%rbp), %rdi
movq -72(%rbp), %rsi
callq _skip_put_bytes
cmpq $0, -64(%rbp)
je LBB0_47
## %bb.46:
movq -40(%rbp), %rax
movq (%rax), %rdi
movslq -88(%rbp), %rax
addq %rax, %rdi
addq -72(%rbp), %rdi
movq -64(%rbp), %rax
movl 8(%rax), %esi
movq -64(%rbp), %rax
movq (%rax), %rdx
callq _memcpy
movq -32(%rbp), %rdi
movq -64(%rbp), %rax
movq (%rax), %rsi
callq _skip_put_bytes
LBB0_47:
jmp LBB0_48
LBB0_48:
movl $0, -4(%rbp)
LBB0_49:
movl -4(%rbp), %eax
addq $112, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
LJTI0_0:
.long L0_0_set_22
.long L0_0_set_16
.long L0_0_set_10
.long L0_0_set_5
.long L0_0_set_13
.long L0_0_set_28
.long L0_0_set_25
.long L0_0_set_13
.long L0_0_set_19
.end_data_region
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _ENOSYS,4,2 ## @ENOSYS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "obu_size"
.comm _ENOSPC,4,2 ## @ENOSPC
.no_dead_strip _cbs_av1_write_obu
.subsections_via_symbols
| AnghaBench/FFmpeg/libavcodec/extr_cbs_av1.c_cbs_av1_write_obu.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _propagateExpire ; -- Begin function propagateExpire
.p2align 2
_propagateExpire: ; @propagateExpire
.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, _shared@GOTPAGE
ldr x8, [x8, _shared@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, _server@GOTPAGE
ldr x8, [x8, _server@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur x0, [x29, #-32]
str x1, [sp, #40]
str w2, [sp, #36]
ldr w8, [sp, #36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x8, #8]
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB0_3
LBB0_2:
adrp x8, _shared@GOTPAGE
ldr x8, [x8, _shared@GOTPAGEOFF]
ldr x8, [x8]
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB0_3
LBB0_3:
ldr x8, [sp, #8] ; 8-byte Folded Reload
stur x8, [x29, #-24]
ldr x8, [sp, #40]
stur x8, [x29, #-16]
ldur x0, [x29, #-24]
bl _incrRefCount
ldur x0, [x29, #-16]
bl _incrRefCount
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x8, [x8]
adrp x9, _AOF_OFF@GOTPAGE
ldr x9, [x9, _AOF_OFF@GOTPAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w0, [x8, #12]
ldur x8, [x29, #-32]
ldr w1, [x8]
sub x2, x29, #24
mov w3, #2
bl _feedAppendOnlyFile
b LBB0_5
LBB0_5:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w0, [x8, #8]
ldur x8, [x29, #-32]
ldr w1, [x8]
sub x2, x29, #24
mov w3, #2
bl _replicationFeedSlaves
ldur x0, [x29, #-24]
bl _decrRefCount
ldur x0, [x29, #-16]
bl _decrRefCount
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_7
b LBB0_6
LBB0_6:
bl ___stack_chk_fail
LBB0_7:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.comm _shared,16,3 ; @shared
.comm _server,16,3 ; @server
.comm _AOF_OFF,8,3 ; @AOF_OFF
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _propagateExpire ## -- Begin function propagateExpire
.p2align 4, 0x90
_propagateExpire: ## @propagateExpire
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -40(%rbp)
movq %rsi, -48(%rbp)
movl %edx, -52(%rbp)
cmpl $0, -52(%rbp)
je LBB0_2
## %bb.1:
movq _shared@GOTPCREL(%rip), %rax
movq 8(%rax), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
jmp LBB0_3
LBB0_2:
movq _shared@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
LBB0_3:
movq -64(%rbp), %rax ## 8-byte Reload
movq %rax, -32(%rbp)
movq -48(%rbp), %rax
movq %rax, -24(%rbp)
movq -32(%rbp), %rdi
callq _incrRefCount
movq -24(%rbp), %rdi
callq _incrRefCount
movq _server@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _AOF_OFF@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_5
## %bb.4:
movq _server@GOTPCREL(%rip), %rax
movl 12(%rax), %edi
movq -40(%rbp), %rax
movl (%rax), %esi
leaq -32(%rbp), %rdx
movl $2, %ecx
callq _feedAppendOnlyFile
LBB0_5:
movq _server@GOTPCREL(%rip), %rax
movl 8(%rax), %edi
movq -40(%rbp), %rax
movl (%rax), %esi
leaq -32(%rbp), %rdx
movl $2, %ecx
callq _replicationFeedSlaves
movq -32(%rbp), %rdi
callq _decrRefCount
movq -24(%rbp), %rdi
callq _decrRefCount
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_7
## %bb.6:
addq $64, %rsp
popq %rbp
retq
LBB0_7:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.comm _shared,16,3 ## @shared
.comm _server,16,3 ## @server
.comm _AOF_OFF,8,3 ## @AOF_OFF
.subsections_via_symbols
| AnghaBench/redis/src/extr_db.c_propagateExpire.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mkrand
_mkrand: ; @mkrand
.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 w8, [x29, #-20]
add w8, w8, #31
asr w9, w8, #5
; implicit-def: $x8
mov x8, x9
sxtw x8, w8
str x8, [sp, #8]
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr x8, [x8]
ldur x0, [x29, #-8]
ldur x9, [x29, #-16]
ldr x10, [sp, #8]
lsl x2, x10, #2
add x1, x9, #4
blr x8
mov x8, #1
str x8, [sp, #16]
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
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-16]
ldr x9, [sp, #16]
add x9, x8, x9, lsl #2
ldr w8, [x9]
and w8, w8, #0x7fffffff
str w8, [x9]
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:
ldur w8, [x29, #-20]
and w8, w8, #0x1f
str w8, [sp, #4]
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
ldur x8, [x29, #-16]
ldr x9, [sp, #8]
add x9, x8, x9, lsl #2
ldr w8, [x9]
and w8, w8, #0x7fffffff
str w8, [x9]
b LBB0_7
LBB0_6:
ldr w9, [sp, #4]
mov w8, #31
subs w9, w8, w9
mov w8, #2147483647
asr w10, w8, w9
ldur x8, [x29, #-16]
ldr x9, [sp, #8]
add x9, x8, x9, lsl #2
ldr w8, [x9]
and w8, w8, w10
str w8, [x9]
b LBB0_7
LBB0_7:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.no_dead_strip _mkrand
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mkrand
_mkrand: ## @mkrand
.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 -20(%rbp), %eax
addl $31, %eax
sarl $5, %eax
cltq
movq %rax, -40(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rax
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
addq $4, %rsi
movq -40(%rbp), %rdx
shlq $2, %rdx
callq *%rax
movq $1, -32(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -32(%rbp), %rax
cmpq -40(%rbp), %rax
jae LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movq -32(%rbp), %rcx
movl (%rax,%rcx,4), %edx
andl $2147483647, %edx ## imm = 0x7FFFFFFF
movl %edx, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
jmp LBB0_1
LBB0_4:
movl -20(%rbp), %eax
andl $31, %eax
movl %eax, -44(%rbp)
cmpl $0, -44(%rbp)
jne LBB0_6
## %bb.5:
movq -16(%rbp), %rax
movq -40(%rbp), %rcx
movl (%rax,%rcx,4), %edx
andl $2147483647, %edx ## imm = 0x7FFFFFFF
movl %edx, (%rax,%rcx,4)
jmp LBB0_7
LBB0_6:
movl $31, %ecx
subl -44(%rbp), %ecx
movl $2147483647, %edx ## imm = 0x7FFFFFFF
## kill: def $cl killed $ecx
sarl %cl, %edx
movq -16(%rbp), %rax
movq -40(%rbp), %rcx
andl (%rax,%rcx,4), %edx
movl %edx, (%rax,%rcx,4)
LBB0_7:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _mkrand
.subsections_via_symbols
| AnghaBench/freebsd/contrib/bearssl/src/rsa/extr_rsa_i31_keygen_inner.c_mkrand.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function octeon_irq_local_enable_ip4
_octeon_irq_local_enable_ip4: ; @octeon_irq_local_enable_ip4
.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, _STATUSF_IP4@GOTPAGE
ldr x8, [x8, _STATUSF_IP4@GOTPAGEOFF]
ldr w0, [x8]
bl _set_c0_status
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _STATUSF_IP4,4,2 ; @STATUSF_IP4
.no_dead_strip _octeon_irq_local_enable_ip4
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function octeon_irq_local_enable_ip4
_octeon_irq_local_enable_ip4: ## @octeon_irq_local_enable_ip4
.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 _STATUSF_IP4@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _set_c0_status
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _STATUSF_IP4,4,2 ## @STATUSF_IP4
.no_dead_strip _octeon_irq_local_enable_ip4
.subsections_via_symbols
| AnghaBench/linux/arch/mips/cavium-octeon/extr_octeon-irq.c_octeon_irq_local_enable_ip4.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function wm8750_remove
_wm8750_remove: ; @wm8750_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 x8, [sp, #16]
ldr x8, [x8]
ldr x8, [x8]
str x8, [sp, #8]
ldr x8, [sp, #8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x0, [sp, #8]
adrp x8, _SND_SOC_BIAS_OFF@GOTPAGE
ldr x8, [x8, _SND_SOC_BIAS_OFF@GOTPAGEOFF]
ldr w1, [x8]
bl _wm8750_set_bias_level
b LBB0_2
LBB0_2:
ldr x8, [sp, #8]
add x0, x8, #16
bl _run_delayed_work
ldr x0, [sp, #16]
bl _snd_soc_free_pcms
ldr x0, [sp, #16]
bl _snd_soc_dapm_free
ldr x8, [sp, #8]
ldr x0, [x8]
bl _kfree
ldr x0, [sp, #8]
bl _kfree
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.comm _SND_SOC_BIAS_OFF,4,2 ; @SND_SOC_BIAS_OFF
.comm _wm8750_i2c_driver,4,2 ; @wm8750_i2c_driver
.comm _wm8750_spi_driver,4,2 ; @wm8750_spi_driver
.no_dead_strip _wm8750_remove
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function wm8750_remove
_wm8750_remove: ## @wm8750_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), %rax
movq (%rax), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
movq -24(%rbp), %rax
cmpq $0, 8(%rax)
je LBB0_2
## %bb.1:
movq -24(%rbp), %rdi
movq _SND_SOC_BIAS_OFF@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _wm8750_set_bias_level
LBB0_2:
movq -24(%rbp), %rdi
addq $16, %rdi
callq _run_delayed_work
movq -16(%rbp), %rdi
callq _snd_soc_free_pcms
movq -16(%rbp), %rdi
callq _snd_soc_dapm_free
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _kfree
movq -24(%rbp), %rdi
callq _kfree
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SND_SOC_BIAS_OFF,4,2 ## @SND_SOC_BIAS_OFF
.comm _wm8750_i2c_driver,4,2 ## @wm8750_i2c_driver
.comm _wm8750_spi_driver,4,2 ## @wm8750_spi_driver
.no_dead_strip _wm8750_remove
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/sound/soc/codecs/extr_wm8750.c_wm8750_remove.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function maintenance_print_reggroups
_maintenance_print_reggroups: ; @maintenance_print_reggroups
.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]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x8, _current_gdbarch@GOTPAGE
ldr x8, [x8, _current_gdbarch@GOTPAGEOFF]
ldr w0, [x8]
adrp x8, _gdb_stdout@GOTPAGE
ldr x8, [x8, _gdb_stdout@GOTPAGEOFF]
ldr x1, [x8]
bl _reggroups_dump
b LBB0_5
LBB0_2:
ldur x0, [x29, #-8]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _gdb_fopen
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _perror_with_name
b LBB0_4
LBB0_4:
adrp x8, _current_gdbarch@GOTPAGE
ldr x8, [x8, _current_gdbarch@GOTPAGEOFF]
ldr w0, [x8]
ldr x1, [sp, #8]
bl _reggroups_dump
ldr x0, [sp, #8]
bl _ui_file_delete
b LBB0_5
LBB0_5:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.comm _current_gdbarch,4,2 ; @current_gdbarch
.comm _gdb_stdout,8,3 ; @gdb_stdout
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "w"
l_.str.1: ; @.str.1
.asciz "maintenance print reggroups"
.no_dead_strip _maintenance_print_reggroups
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function maintenance_print_reggroups
_maintenance_print_reggroups: ## @maintenance_print_reggroups
.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)
cmpq $0, -8(%rbp)
jne LBB0_2
## %bb.1:
movq _current_gdbarch@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _gdb_stdout@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _reggroups_dump
jmp LBB0_5
LBB0_2:
movq -8(%rbp), %rdi
leaq L_.str(%rip), %rsi
callq _gdb_fopen
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB0_4
## %bb.3:
leaq L_.str.1(%rip), %rdi
callq _perror_with_name
LBB0_4:
movq _current_gdbarch@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq -24(%rbp), %rsi
callq _reggroups_dump
movq -24(%rbp), %rdi
callq _ui_file_delete
LBB0_5:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _current_gdbarch,4,2 ## @current_gdbarch
.comm _gdb_stdout,8,3 ## @gdb_stdout
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "w"
L_.str.1: ## @.str.1
.asciz "maintenance print reggroups"
.no_dead_strip _maintenance_print_reggroups
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gdb/gdb/extr_reggroups.c_maintenance_print_reggroups.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sk_send_sigurg ; -- Begin function sk_send_sigurg
.p2align 2
_sk_send_sigurg: ; @sk_send_sigurg
.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
tbnz w8, #0, LBB0_5
b LBB0_1
LBB0_1:
ldr x8, [sp, #8]
ldr x8, [x8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_2
LBB0_2:
ldr x8, [sp, #8]
ldr x8, [x8]
ldr x0, [x8]
bl _send_sigurg
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr x0, [sp, #8]
adrp x8, _SOCK_WAKE_URG@GOTPAGE
ldr x8, [x8, _SOCK_WAKE_URG@GOTPAGEOFF]
ldr w1, [x8]
adrp x8, _POLL_PRI@GOTPAGE
ldr x8, [x8, _POLL_PRI@GOTPAGEOFF]
ldr w2, [x8]
bl _sk_wake_async
b LBB0_4
LBB0_4:
b LBB0_5
LBB0_5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _SOCK_WAKE_URG,4,2 ; @SOCK_WAKE_URG
.comm _POLL_PRI,4,2 ; @POLL_PRI
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sk_send_sigurg ## -- Begin function sk_send_sigurg
.p2align 4, 0x90
_sk_send_sigurg: ## @sk_send_sigurg
.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)
je LBB0_5
## %bb.1:
movq -8(%rbp), %rax
movq (%rax), %rax
cmpq $0, (%rax)
je LBB0_5
## %bb.2:
movq -8(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rdi
callq _send_sigurg
cmpq $0, %rax
je LBB0_4
## %bb.3:
movq -8(%rbp), %rdi
movq _SOCK_WAKE_URG@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _POLL_PRI@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _sk_wake_async
LBB0_4:
jmp LBB0_5
LBB0_5:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SOCK_WAKE_URG,4,2 ## @SOCK_WAKE_URG
.comm _POLL_PRI,4,2 ## @POLL_PRI
.subsections_via_symbols
| AnghaBench/linux/net/core/extr_sock.c_sk_send_sigurg.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function atomic_compare_exchange_strong
_atomic_compare_exchange_strong: ; @atomic_compare_exchange_strong
.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]
bl _avpriv_atomic_lock
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr x9, [sp, #16]
ldr x9, [x9]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov w8, #1
str w8, [sp, #4]
ldr x8, [sp, #8]
ldur x9, [x29, #-8]
str x8, [x9]
b LBB0_3
LBB0_2:
str wzr, [sp, #4]
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr x9, [sp, #16]
str x8, [x9]
b LBB0_3
LBB0_3:
bl _avpriv_atomic_unlock
ldr w0, [sp, #4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.no_dead_strip _atomic_compare_exchange_strong
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function atomic_compare_exchange_strong
_atomic_compare_exchange_strong: ## @atomic_compare_exchange_strong
.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)
movb $0, %al
callq _avpriv_atomic_lock
movq -8(%rbp), %rax
movq (%rax), %rax
movq -16(%rbp), %rcx
cmpq (%rcx), %rax
jne LBB0_2
## %bb.1:
movl $1, -28(%rbp)
movq -24(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
jmp LBB0_3
LBB0_2:
movl $0, -28(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rcx
movq -16(%rbp), %rax
movq %rcx, (%rax)
LBB0_3:
movb $0, %al
callq _avpriv_atomic_unlock
movl -28(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _atomic_compare_exchange_strong
.subsections_via_symbols
| AnghaBench/FFmpeg/compat/atomics/pthread/extr_stdatomic.h_atomic_compare_exchange_strong.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function HUFv06_decodeSymbolX2
_HUFv06_decodeSymbolX2: ; @HUFv06_decodeSymbolX2
.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 x0, [x29, #-8]
ldur w1, [x29, #-20]
bl _BITv06_lookBitsFast
str x0, [sp, #16]
ldur x8, [x29, #-16]
ldr x9, [sp, #16]
add x8, x8, x9, lsl #3
ldr w8, [x8, #4]
str w8, [sp, #12]
ldur x0, [x29, #-8]
ldur x8, [x29, #-16]
ldr x9, [sp, #16]
lsl x9, x9, #3
ldr w1, [x8, x9]
bl _BITv06_skipBits
ldr w0, [sp, #12]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.no_dead_strip _HUFv06_decodeSymbolX2
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function HUFv06_decodeSymbolX2
_HUFv06_decodeSymbolX2: ## @HUFv06_decodeSymbolX2
.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), %rdi
movl -20(%rbp), %esi
callq _BITv06_lookBitsFast
movq %rax, -32(%rbp)
movq -16(%rbp), %rax
movq -32(%rbp), %rcx
movl 4(%rax,%rcx,8), %eax
movl %eax, -36(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rax
movq -32(%rbp), %rcx
movl (%rax,%rcx,8), %esi
callq _BITv06_skipBits
movl -36(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _HUFv06_decodeSymbolX2
.subsections_via_symbols
| AnghaBench/borg/src/borg/algorithms/zstd/lib/legacy/extr_zstd_v06.c_HUFv06_decodeSymbolX2.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _memstick_register_driver ; -- Begin function memstick_register_driver
.p2align 2
_memstick_register_driver: ; @memstick_register_driver
.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 x9, [sp, #8]
adrp x8, _memstick_bus_type@GOTPAGE
ldr x8, [x8, _memstick_bus_type@GOTPAGEOFF]
str x8, [x9]
ldr x0, [sp, #8]
bl _driver_register
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _memstick_bus_type,4,2 ; @memstick_bus_type
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _memstick_register_driver ## -- Begin function memstick_register_driver
.p2align 4, 0x90
_memstick_register_driver: ## @memstick_register_driver
.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 _memstick_bus_type@GOTPCREL(%rip), %rcx
movq %rcx, (%rax)
movq -8(%rbp), %rdi
callq _driver_register
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _memstick_bus_type,4,2 ## @memstick_bus_type
.subsections_via_symbols
| AnghaBench/linux/drivers/memstick/core/extr_memstick.c_memstick_register_driver.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function bcm_enet_mdio_write_phylib
_bcm_enet_mdio_write_phylib: ; @bcm_enet_mdio_write_phylib
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str w2, [sp, #16]
str w3, [sp, #12]
ldur x8, [x29, #-8]
ldr w0, [x8]
ldur w1, [x29, #-12]
ldr w2, [sp, #16]
ldr w3, [sp, #12]
bl _bcm_enet_mdio_write
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.no_dead_strip _bcm_enet_mdio_write_phylib
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bcm_enet_mdio_write_phylib
_bcm_enet_mdio_write_phylib: ## @bcm_enet_mdio_write_phylib
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movl %ecx, -20(%rbp)
movq -8(%rbp), %rax
movl (%rax), %edi
movl -12(%rbp), %esi
movl -16(%rbp), %edx
movl -20(%rbp), %ecx
callq _bcm_enet_mdio_write
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _bcm_enet_mdio_write_phylib
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/extr_bcm63xx_enet.c_bcm_enet_mdio_write_phylib.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _UI_DrawTextBox ; -- Begin function UI_DrawTextBox
.p2align 2
_UI_DrawTextBox: ; @UI_DrawTextBox
.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 x10, _BIGCHAR_WIDTH@GOTPAGE
ldr x10, [x10, _BIGCHAR_WIDTH@GOTPAGEOFF]
str x10, [sp, #16] ; 8-byte Folded Spill
adrp x9, _BIGCHAR_HEIGHT@GOTPAGE
ldr x9, [x9, _BIGCHAR_HEIGHT@GOTPAGEOFF]
str x9, [sp, #24] ; 8-byte Folded Spill
stur w0, [x29, #-4]
stur w1, [x29, #-8]
stur w2, [x29, #-12]
stur w3, [x29, #-16]
ldur w8, [x29, #-4]
ldr w11, [x10]
mov w12, #2
str w12, [sp, #12] ; 4-byte Folded Spill
sdiv w11, w11, w12
add w0, w8, w11
ldur w8, [x29, #-8]
ldr w11, [x9]
sdiv w11, w11, w12
add w1, w8, w11
ldur w8, [x29, #-12]
add w8, w8, #1
ldr w10, [x10]
mul w2, w8, w10
ldur w8, [x29, #-16]
add w8, w8, #1
ldr w9, [x9]
mul w3, w8, w9
adrp x8, _colorBlack@GOTPAGE
ldr x8, [x8, _colorBlack@GOTPAGEOFF]
ldr w4, [x8]
bl _UI_FillRect
ldr w12, [sp, #12] ; 4-byte Folded Reload
ldr x10, [sp, #16] ; 8-byte Folded Reload
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldur w8, [x29, #-4]
ldr w11, [x10]
sdiv w11, w11, w12
add w0, w8, w11
ldur w8, [x29, #-8]
ldr w11, [x9]
sdiv w11, w11, w12
add w1, w8, w11
ldur w8, [x29, #-12]
add w8, w8, #1
ldr w10, [x10]
mul w2, w8, w10
ldur w8, [x29, #-16]
add w8, w8, #1
ldr w9, [x9]
mul w3, w8, w9
adrp x8, _colorWhite@GOTPAGE
ldr x8, [x8, _colorWhite@GOTPAGEOFF]
ldr w4, [x8]
bl _UI_DrawRect
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.comm _BIGCHAR_WIDTH,4,2 ; @BIGCHAR_WIDTH
.comm _BIGCHAR_HEIGHT,4,2 ; @BIGCHAR_HEIGHT
.comm _colorBlack,4,2 ; @colorBlack
.comm _colorWhite,4,2 ; @colorWhite
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _UI_DrawTextBox ## -- Begin function UI_DrawTextBox
.p2align 4, 0x90
_UI_DrawTextBox: ## @UI_DrawTextBox
.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)
movl %esi, -8(%rbp)
movl %edx, -12(%rbp)
movl %ecx, -16(%rbp)
movl -4(%rbp), %edi
movq _BIGCHAR_WIDTH@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl $2, %ecx
cltd
idivl %ecx
addl %eax, %edi
movl -8(%rbp), %esi
movq _BIGCHAR_HEIGHT@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl $2, %ecx
cltd
idivl %ecx
addl %eax, %esi
movl -12(%rbp), %edx
addl $1, %edx
movq _BIGCHAR_WIDTH@GOTPCREL(%rip), %rax
imull (%rax), %edx
movl -16(%rbp), %ecx
addl $1, %ecx
movq _BIGCHAR_HEIGHT@GOTPCREL(%rip), %rax
imull (%rax), %ecx
movq _colorBlack@GOTPCREL(%rip), %rax
movl (%rax), %r8d
callq _UI_FillRect
movl -4(%rbp), %edi
movq _BIGCHAR_WIDTH@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl $2, %ecx
cltd
idivl %ecx
addl %eax, %edi
movl -8(%rbp), %esi
movq _BIGCHAR_HEIGHT@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl $2, %ecx
cltd
idivl %ecx
addl %eax, %esi
movl -12(%rbp), %edx
addl $1, %edx
movq _BIGCHAR_WIDTH@GOTPCREL(%rip), %rax
imull (%rax), %edx
movl -16(%rbp), %ecx
addl $1, %ecx
movq _BIGCHAR_HEIGHT@GOTPCREL(%rip), %rax
imull (%rax), %ecx
movq _colorWhite@GOTPCREL(%rip), %rax
movl (%rax), %r8d
callq _UI_DrawRect
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _BIGCHAR_WIDTH,4,2 ## @BIGCHAR_WIDTH
.comm _BIGCHAR_HEIGHT,4,2 ## @BIGCHAR_HEIGHT
.comm _colorBlack,4,2 ## @colorBlack
.comm _colorWhite,4,2 ## @colorWhite
.subsections_via_symbols
| AnghaBench/Quake-III-Arena/code/ui/extr_ui_atoms.c_UI_DrawTextBox.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function serializable_exists
_serializable_exists: ; @serializable_exists
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str x1, [sp]
mov w0, #0
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.no_dead_strip _serializable_exists
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function serializable_exists
_serializable_exists: ## @serializable_exists
.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)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _serializable_exists
.subsections_via_symbols
| AnghaBench/reactos/sdk/tools/widl/extr_header.c_serializable_exists.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _BN_BLINDING_set_current_thread ; -- Begin function BN_BLINDING_set_current_thread
.p2align 2
_BN_BLINDING_set_current_thread: ; @BN_BLINDING_set_current_thread
.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 _CRYPTO_THREAD_get_current_id
ldr x8, [sp, #8]
str w0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _BN_BLINDING_set_current_thread ## -- Begin function BN_BLINDING_set_current_thread
.p2align 4, 0x90
_BN_BLINDING_set_current_thread: ## @BN_BLINDING_set_current_thread
.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 _CRYPTO_THREAD_get_current_id
movl %eax, %ecx
movq -8(%rbp), %rax
movl %ecx, (%rax)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| AnghaBench/freebsd/crypto/openssl/crypto/bn/extr_bn_blind.c_BN_BLINDING_set_current_thread.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _m68k_op_move_32_pd_ai ; -- Begin function m68k_op_move_32_pd_ai
.p2align 2
_m68k_op_move_32_pd_ai: ; @m68k_op_move_32_pd_ai
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _OPER_AY_AI_32
stur w0, [x29, #-4]
bl _EA_AX_PD_32
str w0, [sp, #8]
ldr w0, [sp, #8]
ldur w1, [x29, #-4]
bl _m68ki_write_32
ldur w0, [x29, #-4]
bl _NFLAG_32
adrp x8, _FLAG_N@GOTPAGE
ldr x8, [x8, _FLAG_N@GOTPAGEOFF]
str w0, [x8]
ldur w8, [x29, #-4]
adrp x9, _FLAG_Z@GOTPAGE
ldr x9, [x9, _FLAG_Z@GOTPAGEOFF]
str w8, [x9]
adrp x8, _VFLAG_CLEAR@GOTPAGE
ldr x8, [x8, _VFLAG_CLEAR@GOTPAGEOFF]
ldr w8, [x8]
adrp x9, _FLAG_V@GOTPAGE
ldr x9, [x9, _FLAG_V@GOTPAGEOFF]
str w8, [x9]
adrp x8, _CFLAG_CLEAR@GOTPAGE
ldr x8, [x8, _CFLAG_CLEAR@GOTPAGEOFF]
ldr w8, [x8]
adrp x9, _FLAG_C@GOTPAGE
ldr x9, [x9, _FLAG_C@GOTPAGEOFF]
str w8, [x9]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _FLAG_N,4,2 ; @FLAG_N
.comm _FLAG_Z,4,2 ; @FLAG_Z
.comm _VFLAG_CLEAR,4,2 ; @VFLAG_CLEAR
.comm _FLAG_V,4,2 ; @FLAG_V
.comm _CFLAG_CLEAR,4,2 ; @CFLAG_CLEAR
.comm _FLAG_C,4,2 ; @FLAG_C
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _m68k_op_move_32_pd_ai ## -- Begin function m68k_op_move_32_pd_ai
.p2align 4, 0x90
_m68k_op_move_32_pd_ai: ## @m68k_op_move_32_pd_ai
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movb $0, %al
callq _OPER_AY_AI_32
movl %eax, -4(%rbp)
movb $0, %al
callq _EA_AX_PD_32
movl %eax, -8(%rbp)
movl -8(%rbp), %edi
movl -4(%rbp), %esi
callq _m68ki_write_32
movl -4(%rbp), %edi
callq _NFLAG_32
movl %eax, %ecx
movq _FLAG_N@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl -4(%rbp), %ecx
movq _FLAG_Z@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _VFLAG_CLEAR@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _FLAG_V@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _CFLAG_CLEAR@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _FLAG_C@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FLAG_N,4,2 ## @FLAG_N
.comm _FLAG_Z,4,2 ## @FLAG_Z
.comm _VFLAG_CLEAR,4,2 ## @VFLAG_CLEAR
.comm _FLAG_V,4,2 ## @FLAG_V
.comm _CFLAG_CLEAR,4,2 ## @CFLAG_CLEAR
.comm _FLAG_C,4,2 ## @FLAG_C
.subsections_via_symbols
| AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopdm.c_m68k_op_move_32_pd_ai.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function print_usage
_print_usage: ; @print_usage
.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]
mov x0, #0
str x0, [sp, #16] ; 8-byte Folded Spill
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _LOG_INFO
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldur x8, [x29, #-8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _LOG_INFO
ldr x0, [sp, #16] ; 8-byte Folded Reload
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _LOG_INFO
ldr x0, [sp, #16] ; 8-byte Folded Reload
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _LOG_INFO
ldr x0, [sp, #16] ; 8-byte Folded Reload
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _LOG_INFO
ldr x0, [sp, #16] ; 8-byte Folded Reload
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _LOG_INFO
ldr x0, [sp, #16] ; 8-byte Folded Reload
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _LOG_INFO
ldr x0, [sp, #16] ; 8-byte Folded Reload
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _LOG_INFO
ldr x0, [sp, #16] ; 8-byte Folded Reload
adrp x1, l_.str.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
bl _LOG_INFO
ldr x0, [sp, #16] ; 8-byte Folded Reload
adrp x1, l_.str.9@PAGE
add x1, x1, l_.str.9@PAGEOFF
bl _LOG_INFO
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 "Usage:"
l_.str.1: ; @.str.1
.asciz " %s [opts] <uri>"
l_.str.2: ; @.str.2
.asciz "Reads RTP packets from <uri>, decodes to standard output."
l_.str.3: ; @.str.3
.asciz "Press the escape key to terminate the program."
l_.str.4: ; @.str.4
.asciz "Options:"
l_.str.5: ; @.str.5
.asciz " -h Print this information"
l_.str.6: ; @.str.6
.asciz " -s x Save packets to URI x"
l_.str.7: ; @.str.7
.asciz " -v Dump standard packet header"
l_.str.8: ; @.str.8
.asciz " -vv Dump entire header"
l_.str.9: ; @.str.9
.asciz " -vvv Dump entire header and data"
.no_dead_strip _print_usage
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function print_usage
_print_usage: ## @print_usage
.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)
xorl %eax, %eax
movl %eax, %edi
leaq L_.str(%rip), %rsi
movb $0, %al
callq _LOG_INFO
movq -8(%rbp), %rdx
xorl %eax, %eax
movl %eax, %edi
leaq L_.str.1(%rip), %rsi
movb $0, %al
callq _LOG_INFO
xorl %eax, %eax
movl %eax, %edi
leaq L_.str.2(%rip), %rsi
movb $0, %al
callq _LOG_INFO
xorl %eax, %eax
movl %eax, %edi
leaq L_.str.3(%rip), %rsi
movb $0, %al
callq _LOG_INFO
xorl %eax, %eax
movl %eax, %edi
leaq L_.str.4(%rip), %rsi
movb $0, %al
callq _LOG_INFO
xorl %eax, %eax
movl %eax, %edi
leaq L_.str.5(%rip), %rsi
movb $0, %al
callq _LOG_INFO
xorl %eax, %eax
movl %eax, %edi
leaq L_.str.6(%rip), %rsi
movb $0, %al
callq _LOG_INFO
xorl %eax, %eax
movl %eax, %edi
leaq L_.str.7(%rip), %rsi
movb $0, %al
callq _LOG_INFO
xorl %eax, %eax
movl %eax, %edi
leaq L_.str.8(%rip), %rsi
movb $0, %al
callq _LOG_INFO
xorl %eax, %eax
movl %eax, %edi
leaq L_.str.9(%rip), %rsi
movb $0, %al
callq _LOG_INFO
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Usage:"
L_.str.1: ## @.str.1
.asciz " %s [opts] <uri>"
L_.str.2: ## @.str.2
.asciz "Reads RTP packets from <uri>, decodes to standard output."
L_.str.3: ## @.str.3
.asciz "Press the escape key to terminate the program."
L_.str.4: ## @.str.4
.asciz "Options:"
L_.str.5: ## @.str.5
.asciz " -h Print this information"
L_.str.6: ## @.str.6
.asciz " -s x Save packets to URI x"
L_.str.7: ## @.str.7
.asciz " -v Dump standard packet header"
L_.str.8: ## @.str.8
.asciz " -vv Dump entire header"
L_.str.9: ## @.str.9
.asciz " -vvv Dump entire header and data"
.no_dead_strip _print_usage
.subsections_via_symbols
| AnghaBench/RetroArch/gfx/include/userland/containers/test/extr_rtp_decoder.c_print_usage.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function efx_ef10_tx_remove
_efx_ef10_tx_remove: ; @efx_ef10_tx_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 x8, [sp, #8]
ldr w0, [x8, #4]
ldr x1, [sp, #8]
bl _efx_nic_free_buffer
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.no_dead_strip _efx_ef10_tx_remove
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function efx_ef10_tx_remove
_efx_ef10_tx_remove: ## @efx_ef10_tx_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), %rax
movl 4(%rax), %edi
movq -8(%rbp), %rsi
callq _efx_nic_free_buffer
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _efx_ef10_tx_remove
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/sfc/extr_ef10.c_efx_ef10_tx_remove.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vcn_v2_5_process_interrupt
_vcn_v2_5_process_interrupt: ; @vcn_v2_5_process_interrupt
.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]
ldr x8, [sp, #32]
ldr w8, [x8]
str w8, [sp, #20] ; 4-byte Folded Spill
subs w8, w8, #132
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldr w8, [sp, #20] ; 4-byte Folded Reload
subs w8, w8, #133
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2:
str xzr, [sp, #24]
b LBB0_5
LBB0_3:
mov x8, #1
str x8, [sp, #24]
b LBB0_5
LBB0_4:
ldr x8, [sp, #32]
ldr w1, [x8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _DRM_ERROR
stur wzr, [x29, #-4]
b LBB0_13
LBB0_5:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _DRM_DEBUG
ldr x8, [sp, #32]
ldr w8, [x8, #4]
subs w8, w8, #128
; kill: def $x8 killed $w8
str x8, [sp, #8] ; 8-byte Folded Spill
subs x8, x8, #3
cset w8, hi
tbnz w8, #0, LBB0_11
; %bb.6:
ldr x11, [sp, #8] ; 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_7:
ldur x8, [x29, #-16]
ldr x8, [x8]
ldr x9, [sp, #24]
mov x10, #24
mul x9, x9, x10
add x8, x8, x9
add x0, x8, #16
bl _amdgpu_fence_process
b LBB0_12
LBB0_8:
ldur x8, [x29, #-16]
ldr x8, [x8]
ldr x9, [sp, #24]
mov x10, #24
mul x9, x9, x10
add x8, x8, x9
ldr x0, [x8, #8]
bl _amdgpu_fence_process
b LBB0_12
LBB0_9:
ldur x8, [x29, #-16]
ldr x8, [x8]
ldr x9, [sp, #24]
mov x10, #24
mul x9, x9, x10
add x8, x8, x9
ldr x8, [x8, #8]
add x0, x8, #4
bl _amdgpu_fence_process
b LBB0_12
LBB0_10:
ldur x8, [x29, #-16]
ldr x8, [x8]
ldr x9, [sp, #24]
mov x10, #24
mul x9, x9, x10
add x0, x8, x9
bl _amdgpu_fence_process
b LBB0_12
LBB0_11:
ldr x8, [sp, #32]
ldr w1, [x8, #4]
ldr x8, [sp, #32]
ldr x8, [x8, #8]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _DRM_ERROR
b LBB0_12
LBB0_12:
stur wzr, [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
.p2align 2
lJTI0_0:
.long LBB0_7-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_8-Ltmp0
.long LBB0_10-Ltmp0
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Unhandled client id: %d\n"
l_.str.1: ; @.str.1
.asciz "IH: VCN TRAP\n"
l_.str.2: ; @.str.2
.asciz "Unhandled interrupt: %d %d\n"
.no_dead_strip _vcn_v2_5_process_interrupt
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vcn_v2_5_process_interrupt
_vcn_v2_5_process_interrupt: ## @vcn_v2_5_process_interrupt
.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 -32(%rbp), %rax
movl (%rax), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
subl $132, %eax
je LBB0_2
jmp LBB0_12
LBB0_12:
movl -44(%rbp), %eax ## 4-byte Reload
subl $133, %eax
jne LBB0_3
jmp LBB0_1
LBB0_1:
movq $0, -40(%rbp)
jmp LBB0_4
LBB0_2:
movq $1, -40(%rbp)
jmp LBB0_4
LBB0_3:
movq -32(%rbp), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _DRM_ERROR
movl $0, -4(%rbp)
jmp LBB0_11
LBB0_4:
leaq L_.str.1(%rip), %rdi
callq _DRM_DEBUG
movq -32(%rbp), %rax
movl 4(%rax), %eax
addl $-128, %eax
movl %eax, %ecx
movq %rcx, -56(%rbp) ## 8-byte Spill
subl $3, %eax
ja LBB0_9
## %bb.13:
movq -56(%rbp), %rax ## 8-byte Reload
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_5:
movq -16(%rbp), %rax
movq (%rax), %rdi
imulq $24, -40(%rbp), %rax
addq %rax, %rdi
addq $16, %rdi
callq _amdgpu_fence_process
jmp LBB0_10
LBB0_6:
movq -16(%rbp), %rax
movq (%rax), %rax
imulq $24, -40(%rbp), %rcx
addq %rcx, %rax
movq 8(%rax), %rdi
callq _amdgpu_fence_process
jmp LBB0_10
LBB0_7:
movq -16(%rbp), %rax
movq (%rax), %rax
imulq $24, -40(%rbp), %rcx
addq %rcx, %rax
movq 8(%rax), %rdi
addq $4, %rdi
callq _amdgpu_fence_process
jmp LBB0_10
LBB0_8:
movq -16(%rbp), %rax
movq (%rax), %rdi
imulq $24, -40(%rbp), %rax
addq %rax, %rdi
callq _amdgpu_fence_process
jmp LBB0_10
LBB0_9:
movq -32(%rbp), %rax
movl 4(%rax), %esi
movq -32(%rbp), %rax
movq 8(%rax), %rax
movl (%rax), %edx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _DRM_ERROR
LBB0_10:
movl $0, -4(%rbp)
LBB0_11:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
.long L0_0_set_5
.long L0_0_set_7
.long L0_0_set_6
.long L0_0_set_8
.end_data_region
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Unhandled client id: %d\n"
L_.str.1: ## @.str.1
.asciz "IH: VCN TRAP\n"
L_.str.2: ## @.str.2
.asciz "Unhandled interrupt: %d %d\n"
.no_dead_strip _vcn_v2_5_process_interrupt
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_vcn_v2_5.c_vcn_v2_5_process_interrupt.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fmd_nvl_create_fault ; -- Begin function fmd_nvl_create_fault
.p2align 2
_fmd_nvl_create_fault: ; @fmd_nvl_create_fault
.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]
stur w2, [x29, #-20]
stur x3, [x29, #-32]
str x4, [sp, #40]
str x5, [sp, #32]
mov w2, #0
str wzr, [sp, #20]
adrp x8, _NV_UNIQUE_NAME@GOTPAGE
ldr x8, [x8, _NV_UNIQUE_NAME@GOTPAGEOFF]
ldr w1, [x8]
add x0, sp, #24
bl _nvlist_alloc
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _zed_log_die
b LBB0_2
LBB0_2:
ldr x0, [sp, #24]
adrp x8, _FM_VERSION@GOTPAGE
ldr x8, [x8, _FM_VERSION@GOTPAGEOFF]
ldr w1, [x8]
adrp x8, _FM_FAULT_VERSION@GOTPAGE
ldr x8, [x8, _FM_FAULT_VERSION@GOTPAGEOFF]
ldr w2, [x8]
bl _nvlist_add_uint8
ldr w8, [sp, #20]
orr w8, w8, w0
str w8, [sp, #20]
ldr x0, [sp, #24]
adrp x8, _FM_CLASS@GOTPAGE
ldr x8, [x8, _FM_CLASS@GOTPAGEOFF]
ldr w1, [x8]
ldur x2, [x29, #-16]
bl _nvlist_add_string
ldr w8, [sp, #20]
orr w8, w8, w0
str w8, [sp, #20]
ldr x0, [sp, #24]
adrp x8, _FM_FAULT_CERTAINTY@GOTPAGE
ldr x8, [x8, _FM_FAULT_CERTAINTY@GOTPAGEOFF]
ldr w1, [x8]
ldur w2, [x29, #-20]
bl _nvlist_add_uint8
ldr w8, [sp, #20]
orr w8, w8, w0
str w8, [sp, #20]
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr x0, [sp, #24]
adrp x8, _FM_FAULT_ASRU@GOTPAGE
ldr x8, [x8, _FM_FAULT_ASRU@GOTPAGEOFF]
ldr w1, [x8]
ldur x2, [x29, #-32]
bl _nvlist_add_nvlist
ldr w8, [sp, #20]
orr w8, w8, w0
str w8, [sp, #20]
b LBB0_4
LBB0_4:
ldr x8, [sp, #40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
ldr x0, [sp, #24]
adrp x8, _FM_FAULT_FRU@GOTPAGE
ldr x8, [x8, _FM_FAULT_FRU@GOTPAGEOFF]
ldr w1, [x8]
ldr x2, [sp, #40]
bl _nvlist_add_nvlist
ldr w8, [sp, #20]
orr w8, w8, w0
str w8, [sp, #20]
b LBB0_6
LBB0_6:
ldr x8, [sp, #32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
ldr x0, [sp, #24]
adrp x8, _FM_FAULT_RESOURCE@GOTPAGE
ldr x8, [x8, _FM_FAULT_RESOURCE@GOTPAGEOFF]
ldr w1, [x8]
ldr x2, [sp, #32]
bl _nvlist_add_nvlist
ldr w8, [sp, #20]
orr w8, w8, w0
str w8, [sp, #20]
b LBB0_8
LBB0_8:
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
ldr w0, [sp, #20]
bl _strerror
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _zed_log_die
b LBB0_10
LBB0_10:
ldr x0, [sp, #24]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.comm _NV_UNIQUE_NAME,4,2 ; @NV_UNIQUE_NAME
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "failed to xalloc fault nvlist"
.comm _FM_VERSION,4,2 ; @FM_VERSION
.comm _FM_FAULT_VERSION,4,2 ; @FM_FAULT_VERSION
.comm _FM_CLASS,4,2 ; @FM_CLASS
.comm _FM_FAULT_CERTAINTY,4,2 ; @FM_FAULT_CERTAINTY
.comm _FM_FAULT_ASRU,4,2 ; @FM_FAULT_ASRU
.comm _FM_FAULT_FRU,4,2 ; @FM_FAULT_FRU
.comm _FM_FAULT_RESOURCE,4,2 ; @FM_FAULT_RESOURCE
l_.str.1: ; @.str.1
.asciz "failed to populate nvlist: %s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fmd_nvl_create_fault ## -- Begin function fmd_nvl_create_fault
.p2align 4, 0x90
_fmd_nvl_create_fault: ## @fmd_nvl_create_fault
.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)
movq %rcx, -32(%rbp)
movq %r8, -40(%rbp)
movq %r9, -48(%rbp)
movl $0, -60(%rbp)
movq _NV_UNIQUE_NAME@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -56(%rbp), %rdi
xorl %edx, %edx
callq _nvlist_alloc
cmpq $0, %rax
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _zed_log_die
LBB0_2:
movq -56(%rbp), %rdi
movq _FM_VERSION@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _FM_FAULT_VERSION@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _nvlist_add_uint8
orl -60(%rbp), %eax
movl %eax, -60(%rbp)
movq -56(%rbp), %rdi
movq _FM_CLASS@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -16(%rbp), %rdx
callq _nvlist_add_string
orl -60(%rbp), %eax
movl %eax, -60(%rbp)
movq -56(%rbp), %rdi
movq _FM_FAULT_CERTAINTY@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl -20(%rbp), %edx
callq _nvlist_add_uint8
orl -60(%rbp), %eax
movl %eax, -60(%rbp)
cmpq $0, -32(%rbp)
je LBB0_4
## %bb.3:
movq -56(%rbp), %rdi
movq _FM_FAULT_ASRU@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -32(%rbp), %rdx
callq _nvlist_add_nvlist
orl -60(%rbp), %eax
movl %eax, -60(%rbp)
LBB0_4:
cmpq $0, -40(%rbp)
je LBB0_6
## %bb.5:
movq -56(%rbp), %rdi
movq _FM_FAULT_FRU@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -40(%rbp), %rdx
callq _nvlist_add_nvlist
orl -60(%rbp), %eax
movl %eax, -60(%rbp)
LBB0_6:
cmpq $0, -48(%rbp)
je LBB0_8
## %bb.7:
movq -56(%rbp), %rdi
movq _FM_FAULT_RESOURCE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -48(%rbp), %rdx
callq _nvlist_add_nvlist
orl -60(%rbp), %eax
movl %eax, -60(%rbp)
LBB0_8:
cmpl $0, -60(%rbp)
je LBB0_10
## %bb.9:
movl -60(%rbp), %edi
callq _strerror
movl %eax, %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _zed_log_die
LBB0_10:
movq -56(%rbp), %rax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NV_UNIQUE_NAME,4,2 ## @NV_UNIQUE_NAME
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "failed to xalloc fault nvlist"
.comm _FM_VERSION,4,2 ## @FM_VERSION
.comm _FM_FAULT_VERSION,4,2 ## @FM_FAULT_VERSION
.comm _FM_CLASS,4,2 ## @FM_CLASS
.comm _FM_FAULT_CERTAINTY,4,2 ## @FM_FAULT_CERTAINTY
.comm _FM_FAULT_ASRU,4,2 ## @FM_FAULT_ASRU
.comm _FM_FAULT_FRU,4,2 ## @FM_FAULT_FRU
.comm _FM_FAULT_RESOURCE,4,2 ## @FM_FAULT_RESOURCE
L_.str.1: ## @.str.1
.asciz "failed to populate nvlist: %s\n"
.subsections_via_symbols
| AnghaBench/zfs/cmd/zed/agents/extr_fmd_api.c_fmd_nvl_create_fault.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___step_cb ; -- Begin function __step_cb
.p2align 2
___step_cb: ; @__step_cb
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
str x8, [sp]
ldr x0, [sp]
bl ___panel_single_step_in
ldr x0, [sp]
bl ___update_disassembly_or_open
mov w0, #0
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 ___step_cb ## -- Begin function __step_cb
.p2align 4, 0x90
___step_cb: ## @__step_cb
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rdi
callq ___panel_single_step_in
movq -16(%rbp), %rdi
callq ___update_disassembly_or_open
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| AnghaBench/radare2/libr/core/extr_panels.c___step_cb.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vfs_knl_assert_locked
_vfs_knl_assert_locked: ; @vfs_knl_assert_locked
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.no_dead_strip _vfs_knl_assert_locked
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vfs_knl_assert_locked
_vfs_knl_assert_locked: ## @vfs_knl_assert_locked
.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)
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _vfs_knl_assert_locked
.subsections_via_symbols
| AnghaBench/freebsd/sys/kern/extr_vfs_subr.c_vfs_knl_assert_locked.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function device_want_to_sleep
_device_want_to_sleep: ; @device_want_to_sleep
.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, #8]
ldur x1, [x29, #-8]
ldr x8, [sp, #8]
ldr w2, [x8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _BT_DBG
ldr x8, [sp, #8]
ldr x1, [sp, #16]
add x0, x8, #4
bl _spin_lock_irqsave
ldr x9, [sp, #8]
ldr w8, [x9, #16]
add w8, w8, #1
str w8, [x9, #16]
ldr x8, [sp, #8]
ldr w8, [x8]
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_3
b LBB0_4
LBB0_2:
ldr x9, [sp, #8]
mov w8, #129
str w8, [x9]
ldr x8, [sp, #8]
ldr w0, [x8, #12]
ldr x8, [sp, #8]
add x1, x8, #8
bl _queue_work
b LBB0_5
LBB0_3:
b LBB0_5
LBB0_4:
ldr x8, [sp, #8]
ldr w1, [x8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _BT_ERR
b LBB0_5
LBB0_5:
ldr x8, [sp, #8]
add x0, x8, #4
ldr x1, [sp, #16]
bl _spin_unlock_irqrestore
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 "hu %p want to sleep in %d state"
l_.str.1: ; @.str.1
.asciz "Received HCI_IBS_SLEEP_IND in rx state %d"
.no_dead_strip _device_want_to_sleep
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function device_want_to_sleep
_device_want_to_sleep: ## @device_want_to_sleep
.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, -24(%rbp)
movq -8(%rbp), %rsi
movq -24(%rbp), %rax
movl (%rax), %edx
leaq L_.str(%rip), %rdi
callq _BT_DBG
movq -24(%rbp), %rdi
addq $4, %rdi
movq -16(%rbp), %rsi
callq _spin_lock_irqsave
movq -24(%rbp), %rax
movl 16(%rax), %ecx
incl %ecx
movl %ecx, 16(%rax)
movq -24(%rbp), %rax
movl (%rax), %eax
movl %eax, -28(%rbp) ## 4-byte Spill
subl $128, %eax
je LBB0_1
jmp LBB0_5
LBB0_5:
movl -28(%rbp), %eax ## 4-byte Reload
subl $129, %eax
je LBB0_2
jmp LBB0_3
LBB0_1:
movq -24(%rbp), %rax
movl $129, (%rax)
movq -24(%rbp), %rax
movl 12(%rax), %edi
movq -24(%rbp), %rsi
addq $8, %rsi
callq _queue_work
jmp LBB0_4
LBB0_2:
jmp LBB0_4
LBB0_3:
movq -24(%rbp), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rdi
callq _BT_ERR
LBB0_4:
movq -24(%rbp), %rdi
addq $4, %rdi
movq -16(%rbp), %rsi
callq _spin_unlock_irqrestore
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "hu %p want to sleep in %d state"
L_.str.1: ## @.str.1
.asciz "Received HCI_IBS_SLEEP_IND in rx state %d"
.no_dead_strip _device_want_to_sleep
.subsections_via_symbols
| AnghaBench/linux/drivers/bluetooth/extr_hci_qca.c_device_want_to_sleep.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function bxe_nvram_write1
_bxe_nvram_write1: ; @bxe_nvram_write1
.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]
stur w3, [x29, #-36]
ldur x8, [x29, #-24]
ldursw x9, [x29, #-36]
add x8, x8, x9
ldur x9, [x29, #-16]
ldr x9, [x9]
subs x8, x8, x9
cset w8, le
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur x0, [x29, #-16]
ldur x2, [x29, #-24]
ldur w3, [x29, #-36]
ldur x8, [x29, #-16]
ldr x4, [x8]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _BLOGE
mov w8, #-1
stur w8, [x29, #-4]
b LBB0_7
LBB0_2:
ldur x0, [x29, #-16]
bl _bxe_acquire_nvram_lock
str w0, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr w8, [sp, #12]
stur w8, [x29, #-4]
b LBB0_7
LBB0_4:
ldur x0, [x29, #-16]
bl _bxe_enable_nvram_access
adrp x8, _MCPR_NVM_COMMAND_FIRST@GOTPAGE
ldr x8, [x8, _MCPR_NVM_COMMAND_FIRST@GOTPAGEOFF]
ldr x8, [x8]
adrp x9, _MCPR_NVM_COMMAND_LAST@GOTPAGE
ldr x9, [x9, _MCPR_NVM_COMMAND_LAST@GOTPAGEOFF]
ldr x9, [x9]
orr x8, x8, x9
str x8, [sp, #32]
ldur x8, [x29, #-24]
and x8, x8, #0xfffffffffffffffc
str x8, [sp, #24]
ldur x0, [x29, #-16]
ldr x1, [sp, #24]
ldr x3, [sp, #32]
add x2, sp, #16
bl _bxe_nvram_read_dword
str w0, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
ldur x0, [x29, #-24]
bl _BYTE_OFFSET
mov x9, x0
mov w8, #255
lsl w8, w8, w9
mvn w9, w8
; implicit-def: $x8
mov x8, x9
sxtw x9, w8
ldr x8, [sp, #16]
and x8, x8, x9
str x8, [sp, #16]
ldur x8, [x29, #-32]
ldr x8, [x8]
str x8, [sp] ; 8-byte Folded Spill
ldur x0, [x29, #-24]
bl _BYTE_OFFSET
ldr x8, [sp] ; 8-byte Folded Reload
lsl x9, x8, x0
ldr x8, [sp, #16]
orr x8, x8, x9
str x8, [sp, #16]
ldr x0, [sp, #16]
bl _be32toh
str x0, [sp, #16]
ldur x0, [x29, #-16]
ldr x1, [sp, #24]
ldr x2, [sp, #16]
ldr x3, [sp, #32]
bl _bxe_nvram_write_dword
str w0, [sp, #12]
b LBB0_6
LBB0_6:
ldur x0, [x29, #-16]
bl _bxe_disable_nvram_access
ldur x0, [x29, #-16]
bl _bxe_release_nvram_lock
ldr w8, [sp, #12]
stur w8, [x29, #-4]
b LBB0_7
LBB0_7:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Invalid parameter, offset 0x%x + buf_size 0x%x > flash_size 0x%x\n"
.comm _MCPR_NVM_COMMAND_FIRST,8,3 ; @MCPR_NVM_COMMAND_FIRST
.comm _MCPR_NVM_COMMAND_LAST,8,3 ; @MCPR_NVM_COMMAND_LAST
.no_dead_strip _bxe_nvram_write1
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bxe_nvram_write1
_bxe_nvram_write1: ## @bxe_nvram_write1
.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)
movl %ecx, -36(%rbp)
movq -24(%rbp), %rax
movslq -36(%rbp), %rcx
addq %rcx, %rax
movq -16(%rbp), %rcx
cmpq (%rcx), %rax
jle LBB0_2
## %bb.1:
movq -16(%rbp), %rdi
movq -24(%rbp), %rdx
movl -36(%rbp), %ecx
movq -16(%rbp), %rax
movq (%rax), %r8
leaq L_.str(%rip), %rsi
callq _BLOGE
movl $-1, -4(%rbp)
jmp LBB0_7
LBB0_2:
movq -16(%rbp), %rdi
callq _bxe_acquire_nvram_lock
movl %eax, -68(%rbp)
cmpl $0, -68(%rbp)
je LBB0_4
## %bb.3:
movl -68(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_7
LBB0_4:
movq -16(%rbp), %rdi
callq _bxe_enable_nvram_access
movq _MCPR_NVM_COMMAND_FIRST@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _MCPR_NVM_COMMAND_LAST@GOTPCREL(%rip), %rcx
orq (%rcx), %rax
movq %rax, -48(%rbp)
movq -24(%rbp), %rax
andq $-4, %rax
movq %rax, -56(%rbp)
movq -16(%rbp), %rdi
movq -56(%rbp), %rsi
movq -48(%rbp), %rcx
leaq -64(%rbp), %rdx
callq _bxe_nvram_read_dword
movl %eax, -68(%rbp)
cmpl $0, -68(%rbp)
jne LBB0_6
## %bb.5:
movq -24(%rbp), %rdi
callq _BYTE_OFFSET
movl %eax, %ecx
movl $255, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
xorl $-1, %eax
cltq
andq -64(%rbp), %rax
movq %rax, -64(%rbp)
movq -32(%rbp), %rax
movq (%rax), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
movq -24(%rbp), %rdi
callq _BYTE_OFFSET
movq %rax, %rcx
movq -80(%rbp), %rax ## 8-byte Reload
## kill: def $cl killed $rcx
shlq %cl, %rax
orq -64(%rbp), %rax
movq %rax, -64(%rbp)
movq -64(%rbp), %rdi
callq _be32toh
movq %rax, -64(%rbp)
movq -16(%rbp), %rdi
movq -56(%rbp), %rsi
movq -64(%rbp), %rdx
movq -48(%rbp), %rcx
callq _bxe_nvram_write_dword
movl %eax, -68(%rbp)
LBB0_6:
movq -16(%rbp), %rdi
callq _bxe_disable_nvram_access
movq -16(%rbp), %rdi
callq _bxe_release_nvram_lock
movl -68(%rbp), %eax
movl %eax, -4(%rbp)
LBB0_7:
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Invalid parameter, offset 0x%x + buf_size 0x%x > flash_size 0x%x\n"
.comm _MCPR_NVM_COMMAND_FIRST,8,3 ## @MCPR_NVM_COMMAND_FIRST
.comm _MCPR_NVM_COMMAND_LAST,8,3 ## @MCPR_NVM_COMMAND_LAST
.no_dead_strip _bxe_nvram_write1
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/bxe/extr_bxe.c_bxe_nvram_write1.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _comedi_timeout ; -- Begin function comedi_timeout
.p2align 2
_comedi_timeout: ; @comedi_timeout
.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]
str x4, [sp, #32]
adrp x8, _jiffies@GOTPAGE
ldr x8, [x8, _jiffies@GOTPAGEOFF]
ldr x8, [x8]
str x8, [sp, #8] ; 8-byte Folded Spill
adrp x8, _COMEDI_TIMEOUT_MS@GOTPAGE
ldr x8, [x8, _COMEDI_TIMEOUT_MS@GOTPAGEOFF]
ldr w0, [x8]
bl _msecs_to_jiffies
ldr x8, [sp, #8] ; 8-byte Folded Reload
add x8, x8, x0
str x8, [sp, #24]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
adrp x8, _jiffies@GOTPAGE
ldr x8, [x8, _jiffies@GOTPAGEOFF]
ldr x0, [x8]
ldr x1, [sp, #24]
bl _time_before
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #40]
ldur x0, [x29, #-16]
ldur x1, [x29, #-24]
ldur x2, [x29, #-32]
ldr x3, [sp, #32]
blr x8
str w0, [sp, #20]
ldr w8, [sp, #20]
adrp x9, _EBUSY@GOTPAGE
ldr x9, [x9, _EBUSY@GOTPAGEOFF]
ldr w9, [x9]
adds w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr w8, [sp, #20]
stur w8, [x29, #-4]
b LBB0_6
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
bl _cpu_relax
b LBB0_1
LBB0_5:
adrp x8, _ETIMEDOUT@GOTPAGE
ldr x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
ldr w9, [x8]
mov w8, #0
subs w8, w8, w9
stur w8, [x29, #-4]
b LBB0_6
LBB0_6:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.comm _jiffies,8,3 ; @jiffies
.comm _COMEDI_TIMEOUT_MS,4,2 ; @COMEDI_TIMEOUT_MS
.comm _EBUSY,4,2 ; @EBUSY
.comm _ETIMEDOUT,4,2 ; @ETIMEDOUT
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _comedi_timeout ## -- Begin function comedi_timeout
.p2align 4, 0x90
_comedi_timeout: ## @comedi_timeout
.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 %r8, -48(%rbp)
movq _jiffies@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movq _COMEDI_TIMEOUT_MS@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _msecs_to_jiffies
movq %rax, %rcx
movq -72(%rbp), %rax ## 8-byte Reload
addq %rcx, %rax
movq %rax, -56(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq _jiffies@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -56(%rbp), %rsi
callq _time_before
cmpq $0, %rax
je LBB0_5
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
movq -32(%rbp), %rdx
movq -48(%rbp), %rcx
callq *%rax
movl %eax, -60(%rbp)
movl -60(%rbp), %eax
xorl %ecx, %ecx
movq _EBUSY@GOTPCREL(%rip), %rdx
subl (%rdx), %ecx
cmpl %ecx, %eax
je LBB0_4
## %bb.3:
movl -60(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_6
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movb $0, %al
callq _cpu_relax
jmp LBB0_1
LBB0_5:
xorl %eax, %eax
movq _ETIMEDOUT@GOTPCREL(%rip), %rcx
subl (%rcx), %eax
movl %eax, -4(%rbp)
LBB0_6:
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _jiffies,8,3 ## @jiffies
.comm _COMEDI_TIMEOUT_MS,4,2 ## @COMEDI_TIMEOUT_MS
.comm _EBUSY,4,2 ## @EBUSY
.comm _ETIMEDOUT,4,2 ## @ETIMEDOUT
.subsections_via_symbols
| AnghaBench/linux/drivers/staging/comedi/extr_drivers.c_comedi_timeout.c |
Subsets and Splits