x86 stringlengths 122 9.39M | arm stringlengths 122 9.33M | file stringlengths 19 200 | source stringclasses 2
values |
|---|---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mls_sysvmsq_check_msgrcv
_mls_sysvmsq_check_msgrcv: ## @mls_sysvmsq_check_msgrcv
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq _mls_enabled@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB0_1
## %bb.2:
movq %rdx, %rbx
movq (%rdi), %rdi
callq _SLOT
movq %rax, %r14
movq %rbx, %rdi
callq _SLOT
movq %r14, %rdi
movq %rax, %rsi
callq _mls_dominate_effective
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
jne LBB0_4
## %bb.3:
movq _EACCES@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_4
LBB0_1:
xorl %eax, %eax
LBB0_4:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _mls_enabled,4,2 ## @mls_enabled
.comm _EACCES,4,2 ## @EACCES
.no_dead_strip _mls_sysvmsq_check_msgrcv
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mls_sysvmsq_check_msgrcv
_mls_sysvmsq_check_msgrcv: ; @mls_sysvmsq_check_msgrcv
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x8, _mls_enabled@GOTPAGE
Lloh1:
ldr x8, [x8, _mls_enabled@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cbz w8, LBB0_2
; %bb.1:
mov x19, x2
ldr x0, [x0]
bl _SLOT
mov x20, x0
mov x0, x19
bl _SLOT
mov x1, x0
mov x0, x20
bl _mls_dominate_effective
Lloh3:
adrp x8, _EACCES@GOTPAGE
Lloh4:
ldr x8, [x8, _EACCES@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
cmp w0, #0
csel w0, w8, wzr, eq
b LBB0_3
LBB0_2:
mov w0, #0
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _mls_enabled,4,2 ; @mls_enabled
.comm _EACCES,4,2 ; @EACCES
.no_dead_strip _mls_sysvmsq_check_msgrcv
.subsections_via_symbols
| AnghaBench/freebsd/sys/security/mac_mls/extr_mac_mls.c_mls_sysvmsq_check_msgrcv.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cfv_create_genpool
_cfv_create_genpool: ## @cfv_create_genpool
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r13
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %r15d, %r15d
xorl %r14d, %r14d
subl (%rax), %r14d
movl 20(%rdi), %edi
callq _virtqueue_get_vring_size
movq _ETH_DATA_LEN@GOTPCREL(%rip), %rcx
movl 4(%r13), %edx
addl (%rcx), %edx
addl 8(%r13), %edx
imull %eax, %edx
leal (%rdx,%rdx,4), %eax
leal (%rdx,%rax,2), %eax
cltq
imulq $1717986919, %rax, %rbx ## imm = 0x66666667
movq %rbx, %rax
shrq $63, %rax
sarq $34, %rbx
addl %eax, %ebx
movl %ebx, (%r13)
xorl %eax, %eax
callq _num_possible_cpus
incl %eax
movq 32(%r13), %rcx
imull (%rcx), %eax
cmpl %eax, %ebx
jle LBB0_6
## %bb.1:
movl (%r13), %ebx
xorl %eax, %eax
callq _num_possible_cpus
movq 32(%r13), %rdi
imull (%rdi), %eax
cmpl %eax, %ebx
jle LBB0_5
## %bb.2:
leaq 48(%r13), %r15
movq _GFP_ATOMIC@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq 56(%r13), %rax
movq (%rax), %rax
movl (%rax), %edi
movl (%r13), %esi
movl (%r12), %ecx
movq %r15, %rdx
callq _dma_alloc_coherent
movq %rax, 40(%r13)
testq %rax, %rax
jne LBB0_7
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl (%r13), %eax
leal (%rax,%rax,2), %ebx
sarl $2, %ebx
movl %ebx, (%r13)
xorl %eax, %eax
callq _num_possible_cpus
movq 32(%r13), %rdi
imull (%rdi), %eax
cmpl %eax, %ebx
jg LBB0_3
LBB0_5:
leaq L_.str(%rip), %rsi
callq _netdev_info
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %r14d, %r14d
subl (%rax), %r14d
jmp LBB0_12
LBB0_6:
movq _EINVAL@GOTPCREL(%rip), %rax
subl (%rax), %r15d
movl %r15d, %r14d
LBB0_12:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_7:
movq 32(%r13), %rdi
movl (%r13), %edx
leaq L_.str.1(%rip), %rsi
callq _netdev_dbg
movl $7, %edi
movl $-1, %esi
callq _gen_pool_create
movl %eax, 28(%r13)
testl %eax, %eax
je LBB0_11
## %bb.8:
movl %eax, %r15d
movq 40(%r13), %r14
movq %r14, %rdi
callq _virt_to_phys
movl (%r13), %ecx
movl %r15d, %edi
movq %r14, %rsi
movl %eax, %edx
movl $-1, %r8d
callq _gen_pool_add_virt
movl %eax, %r14d
testl %eax, %eax
je LBB0_9
LBB0_11:
movq %r13, %rdi
callq _cfv_destroy_genpool
jmp LBB0_12
LBB0_9:
xorl %r14d, %r14d
xorl %eax, %eax
callq _num_possible_cpus
movq 32(%r13), %rcx
imull (%rcx), %eax
movl %eax, 12(%r13)
movl 28(%r13), %edi
movl %eax, %esi
callq _gen_pool_alloc
movl %eax, 24(%r13)
testl %eax, %eax
je LBB0_10
## %bb.13:
movl 20(%r13), %edi
callq _virtqueue_get_vring_size
movl %eax, 16(%r13)
jmp LBB0_12
LBB0_10:
xorl %r14d, %r14d
movq _ENOMEM@GOTPCREL(%rip), %rax
subl (%rax), %r14d
jmp LBB0_11
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _ETH_DATA_LEN,4,2 ## @ETH_DATA_LEN
.comm _EINVAL,4,2 ## @EINVAL
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Not enough device memory\n"
.comm _GFP_ATOMIC,4,2 ## @GFP_ATOMIC
L_.str.1: ## @.str.1
.asciz "Allocated %zd bytes from dma-memory\n"
.no_dead_strip _cfv_create_genpool
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cfv_create_genpool
_cfv_create_genpool: ; @cfv_create_genpool
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
Lloh0:
adrp x22, _ENOMEM@GOTPAGE
Lloh1:
ldr x22, [x22, _ENOMEM@GOTPAGEOFF]
ldr w20, [x22]
ldr w0, [x0, #20]
bl _virtqueue_get_vring_size
Lloh2:
adrp x8, _ETH_DATA_LEN@GOTPAGE
Lloh3:
ldr x8, [x8, _ETH_DATA_LEN@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
ldp w9, w10, [x19, #4]
add w8, w9, w8
add w8, w8, w10
mul w8, w0, w8
mov w9, #11
mul w8, w8, w9
mov w9, #26215
movk w9, #26214, lsl #16
smull x8, w8, w9
lsr x9, x8, #32
lsr x8, x8, #63
add w21, w8, w9, asr #2
str w21, [x19]
bl _num_possible_cpus
ldr x8, [x19, #32]
ldr w8, [x8]
madd w8, w8, w0, w8
cmp w21, w8
b.le LBB0_6
; %bb.1:
ldr w21, [x19]
bl _num_possible_cpus
mov x8, x0
ldr x0, [x19, #32]
ldr w9, [x0]
mul w8, w9, w8
cmp w21, w8
b.le LBB0_5
; %bb.2:
neg w20, w20
add x21, x19, #48
Lloh5:
adrp x23, _GFP_ATOMIC@GOTPAGE
Lloh6:
ldr x23, [x23, _GFP_ATOMIC@GOTPAGEOFF]
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #56]
ldr x8, [x8]
ldr w0, [x8]
ldr w1, [x19]
ldr w3, [x23]
mov x2, x21
bl _dma_alloc_coherent
str x0, [x19, #40]
cbnz x0, LBB0_9
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x19]
add w8, w8, w8, lsl #1
asr w24, w8, #2
str w24, [x19]
bl _num_possible_cpus
mov x8, x0
ldr x0, [x19, #32]
ldr w9, [x0]
mul w8, w9, w8
cmp w24, w8
b.gt LBB0_3
LBB0_5:
Lloh7:
adrp x1, l_.str@PAGE
Lloh8:
add x1, x1, l_.str@PAGEOFF
bl _netdev_info
ldr w8, [x22]
b LBB0_7
LBB0_6:
Lloh9:
adrp x8, _EINVAL@GOTPAGE
Lloh10:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
LBB0_7:
neg w20, w8
LBB0_8:
mov x0, x20
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_9:
ldr x0, [x19, #32]
ldr w2, [x19]
Lloh12:
adrp x1, l_.str.1@PAGE
Lloh13:
add x1, x1, l_.str.1@PAGEOFF
bl _netdev_dbg
mov w0, #7
mov w1, #-1
bl _gen_pool_create
str w0, [x19, #28]
cbz w0, LBB0_11
; %bb.10:
mov x21, x0
ldr x20, [x19, #40]
mov x0, x20
bl _virt_to_phys
mov x2, x0
ldr w3, [x19]
mov x0, x21
mov x1, x20
; kill: def $w2 killed $w2 killed $x2
mov w4, #-1
bl _gen_pool_add_virt
mov x20, x0
cbz w0, LBB0_12
LBB0_11:
mov x0, x19
bl _cfv_destroy_genpool
b LBB0_8
LBB0_12:
bl _num_possible_cpus
ldr x8, [x19, #32]
ldr w8, [x8]
mul w1, w8, w0
str w1, [x19, #12]
ldr w0, [x19, #28]
bl _gen_pool_alloc
str w0, [x19, #24]
cbz w0, LBB0_14
; %bb.13:
ldr w0, [x19, #20]
bl _virtqueue_get_vring_size
mov w20, #0
str w0, [x19, #16]
b LBB0_8
LBB0_14:
ldr w8, [x22]
neg w20, w8
b LBB0_11
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _ETH_DATA_LEN,4,2 ; @ETH_DATA_LEN
.comm _EINVAL,4,2 ; @EINVAL
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Not enough device memory\n"
.comm _GFP_ATOMIC,4,2 ; @GFP_ATOMIC
l_.str.1: ; @.str.1
.asciz "Allocated %zd bytes from dma-memory\n"
.no_dead_strip _cfv_create_genpool
.subsections_via_symbols
| AnghaBench/linux/drivers/net/caif/extr_caif_virtio.c_cfv_create_genpool.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function amd_gpio_irq_eoi
_amd_gpio_irq_eoi: ## @amd_gpio_irq_eoi
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
callq _irq_data_get_irq_chip_data
movq %rax, %rdi
callq _gpiochip_get_data
movq %rax, %rbx
movq %rax, %rdi
callq _raw_spin_lock_irqsave
movq _WAKE_INT_MASTER_REG@GOTPCREL(%rip), %r14
movq (%r14), %rdi
addq 8(%rbx), %rdi
callq _readl
movq _EOI_MASK@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq (%r14), %rsi
addq 8(%rbx), %rsi
movl %eax, %edi
callq _writel
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _raw_spin_unlock_irqrestore ## TAILCALL
.cfi_endproc
## -- End function
.comm _WAKE_INT_MASTER_REG,8,3 ## @WAKE_INT_MASTER_REG
.comm _EOI_MASK,4,2 ## @EOI_MASK
.no_dead_strip _amd_gpio_irq_eoi
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function amd_gpio_irq_eoi
_amd_gpio_irq_eoi: ; @amd_gpio_irq_eoi
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
bl _irq_data_get_irq_chip_data
bl _gpiochip_get_data
mov x19, x0
bl _raw_spin_lock_irqsave
ldr x8, [x19, #8]
Lloh0:
adrp x20, _WAKE_INT_MASTER_REG@GOTPAGE
Lloh1:
ldr x20, [x20, _WAKE_INT_MASTER_REG@GOTPAGEOFF]
ldr x9, [x20]
add x0, x9, x8
bl _readl
Lloh2:
adrp x8, _EOI_MASK@GOTPAGE
Lloh3:
ldr x8, [x8, _EOI_MASK@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
orr w0, w8, w0
ldr x8, [x19, #8]
ldr x9, [x20]
add x1, x9, x8
bl _writel
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _raw_spin_unlock_irqrestore
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _WAKE_INT_MASTER_REG,8,3 ; @WAKE_INT_MASTER_REG
.comm _EOI_MASK,4,2 ; @EOI_MASK
.no_dead_strip _amd_gpio_irq_eoi
.subsections_via_symbols
| AnghaBench/linux/drivers/pinctrl/extr_pinctrl-amd.c_amd_gpio_irq_eoi.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -4(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
callq ___sincos_stret
mulsd %xmm1, %xmm1
mulsd %xmm0, %xmm0
addsd %xmm1, %xmm0
ucomisd LCPI0_0(%rip), %xmm0
leaq L_str(%rip), %rax
leaq L_str.4(%rip), %rdi
cmovneq %rax, %rdi
cmovpq %rax, %rdi
callq _puts
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter the value of angle in degrees = "
L_.str.1: ## @.str.1
.asciz "%f"
L_str: ## @str
.asciz "---->FALSE"
L_str.4: ## @str.4
.asciz "---->TRUE"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
sub x8, x29, #4
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur s0, [x29, #-4]
fcvt d0, s0
bl ___sincos_stret
fmul d1, d1, d1
Lloh4:
adrp x8, l_str@PAGE
Lloh5:
add x8, x8, l_str@PAGEOFF
fmadd d0, d0, d0, d1
Lloh6:
adrp x9, l_str.4@PAGE
Lloh7:
add x9, x9, l_str.4@PAGEOFF
fmov d1, #1.00000000
fcmp d0, d1
csel x0, x9, x8, eq
bl _puts
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter the value of angle in degrees = "
l_.str.1: ; @.str.1
.asciz "%f"
l_str: ; @str
.asciz "---->FALSE"
l_str.4: ; @str.4
.asciz "---->TRUE"
.subsections_via_symbols
| the_stack_data/161079383.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ppsize ## -- Begin function ppsize
.p2align 4, 0x90
_ppsize: ## @ppsize
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rsi, %rdx
movq %rdi, %rbx
cmpq $10000, %rsi ## imm = 0x2710
jb LBB0_1
## %bb.2:
movq %rdx, %rax
shrq $10, %rax
btl $9, %edx
movq %rax, %rdx
adcq $0, %rdx
movl $1, %eax
cmpq $10000, %rdx ## imm = 0x2710
jb LBB0_7
## %bb.3:
movq %rdx, %rax
shrq $10, %rax
btl $9, %edx
movq %rax, %rdx
adcq $0, %rdx
movl $2, %eax
cmpq $10000, %rdx ## imm = 0x2710
jb LBB0_7
## %bb.4:
movq %rdx, %rax
shrq $10, %rax
btl $9, %edx
movq %rax, %rdx
adcq $0, %rdx
movl $3, %eax
cmpq $10000, %rdx ## imm = 0x2710
jb LBB0_7
## %bb.5:
movq %rdx, %rax
shrq $10, %rax
btl $9, %edx
movq %rax, %rdx
adcq $0, %rdx
movl $4, %eax
cmpq $10000, %rdx ## imm = 0x2710
jb LBB0_7
## %bb.6:
movq %rdx, %rcx
shrq $10, %rcx
btl $9, %edx
adcq $0, %rcx
movl $5, %eax
movq %rcx, %rdx
jmp LBB0_7
LBB0_1:
xorl %eax, %eax
LBB0_7:
leaq _ppsize.units(%rip), %rcx
movsbl (%rax,%rcx), %ecx
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
## kill: def $edx killed $edx killed $rdx
callq _sprintf
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
_ppsize.units: ## @ppsize.units
.ascii "KMGTPE"
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%u %cB"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ppsize ; -- Begin function ppsize
.p2align 2
_ppsize: ; @ppsize
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x2, x1
mov x19, x0
lsr x8, x1, #4
cmp x8, #625
b.lo LBB0_6
; %bb.1:
ubfx x8, x2, #9, #1
add x2, x8, x2, lsr #10
lsr x8, x2, #4
cmp x8, #625
b.lo LBB0_7
; %bb.2:
ubfx x8, x2, #9, #1
add x2, x8, x2, lsr #10
lsr x8, x2, #4
cmp x8, #625
b.lo LBB0_8
; %bb.3:
ubfx x8, x2, #9, #1
add x2, x8, x2, lsr #10
lsr x8, x2, #4
cmp x8, #625
b.lo LBB0_9
; %bb.4:
ubfx x8, x2, #9, #1
add x2, x8, x2, lsr #10
lsr x8, x2, #4
cmp x8, #625
b.lo LBB0_10
; %bb.5:
ubfx x8, x2, #9, #1
add x2, x8, x2, lsr #10
mov w8, #5
b LBB0_11
LBB0_6:
mov x8, #0
b LBB0_11
LBB0_7:
mov w8, #1
b LBB0_11
LBB0_8:
mov w8, #2
b LBB0_11
LBB0_9:
mov w8, #3
b LBB0_11
LBB0_10:
mov w8, #4
LBB0_11:
Lloh0:
adrp x9, _ppsize.units@PAGE
Lloh1:
add x9, x9, _ppsize.units@PAGEOFF
ldrsb w3, [x9, x8]
Lloh2:
adrp x1, l_.str@PAGE
Lloh3:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
; kill: def $w2 killed $w2 killed $x2
bl _sprintf
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__const
_ppsize.units: ; @ppsize.units
.ascii "KMGTPE"
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%u %cB"
.subsections_via_symbols
| AnghaBench/linux/drivers/block/drbd/extr_drbd_nl.c_ppsize.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function owl_gpio_irq_set_type
_owl_gpio_irq_set_type: ## @owl_gpio_irq_set_type
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %rbx
callq _irq_data_get_irq_chip_data
movq %rax, %rdi
callq _gpiochip_get_data
movq %rax, %r15
movq _IRQ_TYPE_LEVEL_LOW@GOTPCREL(%rip), %rax
movq _IRQ_TYPE_LEVEL_HIGH@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
testl %r14d, %ecx
jne LBB0_1
## %bb.2:
movq _handle_edge_irq@GOTPCREL(%rip), %rax
jmp LBB0_3
LBB0_1:
movq _handle_level_irq@GOTPCREL(%rip), %rax
LBB0_3:
movl (%rax), %esi
movq %rbx, %rdi
callq _irq_set_handler_locked
movl (%rbx), %esi
movq %r15, %rdi
movl %r14d, %edx
callq _irq_set_type
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IRQ_TYPE_LEVEL_LOW,4,2 ## @IRQ_TYPE_LEVEL_LOW
.comm _IRQ_TYPE_LEVEL_HIGH,4,2 ## @IRQ_TYPE_LEVEL_HIGH
.comm _handle_level_irq,4,2 ## @handle_level_irq
.comm _handle_edge_irq,4,2 ## @handle_edge_irq
.no_dead_strip _owl_gpio_irq_set_type
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function owl_gpio_irq_set_type
_owl_gpio_irq_set_type: ; @owl_gpio_irq_set_type
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
bl _irq_data_get_irq_chip_data
bl _gpiochip_get_data
mov x21, x0
Lloh0:
adrp x8, _IRQ_TYPE_LEVEL_LOW@GOTPAGE
Lloh1:
ldr x8, [x8, _IRQ_TYPE_LEVEL_LOW@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _IRQ_TYPE_LEVEL_HIGH@GOTPAGE
Lloh4:
ldr x9, [x9, _IRQ_TYPE_LEVEL_HIGH@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
Lloh6:
adrp x10, _handle_edge_irq@GOTPAGE
Lloh7:
ldr x10, [x10, _handle_edge_irq@GOTPAGEOFF]
orr w8, w9, w8
Lloh8:
adrp x9, _handle_level_irq@GOTPAGE
Lloh9:
ldr x9, [x9, _handle_level_irq@GOTPAGEOFF]
tst w8, w19
csel x8, x10, x9, eq
ldr w1, [x8]
mov x0, x20
bl _irq_set_handler_locked
ldr w1, [x20]
mov x0, x21
mov x2, x19
bl _irq_set_type
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _IRQ_TYPE_LEVEL_LOW,4,2 ; @IRQ_TYPE_LEVEL_LOW
.comm _IRQ_TYPE_LEVEL_HIGH,4,2 ; @IRQ_TYPE_LEVEL_HIGH
.comm _handle_level_irq,4,2 ; @handle_level_irq
.comm _handle_edge_irq,4,2 ; @handle_edge_irq
.no_dead_strip _owl_gpio_irq_set_type
.subsections_via_symbols
| AnghaBench/linux/drivers/pinctrl/actions/extr_pinctrl-owl.c_owl_gpio_irq_set_type.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _synctex_node_child ## -- Begin function synctex_node_child
.p2align 4, 0x90
_synctex_node_child: ## @synctex_node_child
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
jmp _SYNCTEX_CHILD ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _synctex_node_child ; -- Begin function synctex_node_child
.p2align 2
_synctex_node_child: ; @synctex_node_child
.cfi_startproc
; %bb.0:
b _SYNCTEX_CHILD
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/sumatrapdf/ext/synctex/extr_synctex_parser.c_synctex_node_child.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _m68k_op_ori_16_aw ## -- Begin function m68k_op_ori_16_aw
.p2align 4, 0x90
_m68k_op_ori_16_aw: ## @m68k_op_ori_16_aw
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
xorl %eax, %eax
callq _OPER_I_16
movl %eax, %ebx
xorl %eax, %eax
callq _EA_AW_16
movl %eax, %r14d
movl %eax, %edi
callq _m68ki_read_16
orl %eax, %ebx
movl %ebx, %edi
callq _MASK_OUT_ABOVE_16
movl %eax, %ebx
movl %r14d, %edi
movl %eax, %esi
callq _m68ki_write_16
movl %ebx, %edi
callq _NFLAG_16
movq _FLAG_N@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq _FLAG_Z@GOTPCREL(%rip), %rax
movl %ebx, (%rax)
movq _CFLAG_CLEAR@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _FLAG_C@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq _VFLAG_CLEAR@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _FLAG_V@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FLAG_N,4,2 ## @FLAG_N
.comm _FLAG_Z,4,2 ## @FLAG_Z
.comm _CFLAG_CLEAR,4,2 ## @CFLAG_CLEAR
.comm _FLAG_C,4,2 ## @FLAG_C
.comm _VFLAG_CLEAR,4,2 ## @VFLAG_CLEAR
.comm _FLAG_V,4,2 ## @FLAG_V
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _m68k_op_ori_16_aw ; -- Begin function m68k_op_ori_16_aw
.p2align 2
_m68k_op_ori_16_aw: ; @m68k_op_ori_16_aw
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
bl _OPER_I_16
mov x19, x0
bl _EA_AW_16
mov x20, x0
bl _m68ki_read_16
orr w0, w0, w19
bl _MASK_OUT_ABOVE_16
mov x19, x0
mov x0, x20
mov x1, x19
bl _m68ki_write_16
mov x0, x19
bl _NFLAG_16
Lloh0:
adrp x8, _FLAG_N@GOTPAGE
Lloh1:
ldr x8, [x8, _FLAG_N@GOTPAGEOFF]
Lloh2:
str w0, [x8]
Lloh3:
adrp x8, _FLAG_Z@GOTPAGE
Lloh4:
ldr x8, [x8, _FLAG_Z@GOTPAGEOFF]
Lloh5:
str w19, [x8]
Lloh6:
adrp x8, _CFLAG_CLEAR@GOTPAGE
Lloh7:
ldr x8, [x8, _CFLAG_CLEAR@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
Lloh9:
adrp x9, _FLAG_C@GOTPAGE
Lloh10:
ldr x9, [x9, _FLAG_C@GOTPAGEOFF]
Lloh11:
str w8, [x9]
Lloh12:
adrp x8, _VFLAG_CLEAR@GOTPAGE
Lloh13:
ldr x8, [x8, _VFLAG_CLEAR@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
Lloh15:
adrp x9, _FLAG_V@GOTPAGE
Lloh16:
ldr x9, [x9, _FLAG_V@GOTPAGEOFF]
Lloh17:
str w8, [x9]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotStr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotStr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _FLAG_N,4,2 ; @FLAG_N
.comm _FLAG_Z,4,2 ; @FLAG_Z
.comm _CFLAG_CLEAR,4,2 ; @CFLAG_CLEAR
.comm _FLAG_C,4,2 ; @FLAG_C
.comm _VFLAG_CLEAR,4,2 ; @VFLAG_CLEAR
.comm _FLAG_V,4,2 ; @FLAG_V
.subsections_via_symbols
| AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopnz.c_m68k_op_ori_16_aw.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function typeofFunc
_typeofFunc: ## @typeofFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdx, %rbx
movq %rdi, %r14
movl %esi, %edi
callq _UNUSED_PARAMETER
movq (%rbx), %rdi
callq _sqlite3_value_type
addl $-128, %eax
cmpl $3, %eax
ja LBB0_1
## %bb.2:
cltq
leaq l_reltable.typeofFunc(%rip), %rcx
movslq (%rcx,%rax,4), %rsi
addq %rcx, %rsi
jmp LBB0_3
LBB0_1:
leaq L_.str.4(%rip), %rsi
LBB0_3:
movq _SQLITE_STATIC@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r14, %rdi
movl $-1, %edx
popq %rbx
popq %r14
popq %rbp
jmp _sqlite3_result_text ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "integer"
L_.str.1: ## @.str.1
.asciz "text"
L_.str.2: ## @.str.2
.asciz "real"
L_.str.3: ## @.str.3
.asciz "blob"
L_.str.4: ## @.str.4
.asciz "null"
.comm _SQLITE_STATIC,4,2 ## @SQLITE_STATIC
.no_dead_strip _typeofFunc
.section __TEXT,__const
.p2align 2 ## @reltable.typeofFunc
l_reltable.typeofFunc:
.long L_.str.1-l_reltable.typeofFunc
.long L_.str-l_reltable.typeofFunc
.long L_.str.2-l_reltable.typeofFunc
.long L_.str.3-l_reltable.typeofFunc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function typeofFunc
_typeofFunc: ; @typeofFunc
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x2
mov x19, x0
mov x0, x1
bl _UNUSED_PARAMETER
ldr x0, [x20]
bl _sqlite3_value_type
sub w8, w0, #128
cmp w8, #3
b.hi LBB0_2
; %bb.1:
Lloh0:
adrp x9, l_switch.table.typeofFunc@PAGE
Lloh1:
add x9, x9, l_switch.table.typeofFunc@PAGEOFF
ldr x1, [x9, w8, sxtw #3]
b LBB0_3
LBB0_2:
Lloh2:
adrp x1, l_.str.4@PAGE
Lloh3:
add x1, x1, l_.str.4@PAGEOFF
LBB0_3:
Lloh4:
adrp x8, _SQLITE_STATIC@GOTPAGE
Lloh5:
ldr x8, [x8, _SQLITE_STATIC@GOTPAGEOFF]
Lloh6:
ldr w3, [x8]
mov x0, x19
mov w2, #-1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _sqlite3_result_text
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "integer"
l_.str.1: ; @.str.1
.asciz "text"
l_.str.2: ; @.str.2
.asciz "real"
l_.str.3: ; @.str.3
.asciz "blob"
l_.str.4: ; @.str.4
.asciz "null"
.comm _SQLITE_STATIC,4,2 ; @SQLITE_STATIC
.no_dead_strip _typeofFunc
.section __DATA,__const
.p2align 3 ; @switch.table.typeofFunc
l_switch.table.typeofFunc:
.quad l_.str.1
.quad l_.str
.quad l_.str.2
.quad l_.str.3
.subsections_via_symbols
| AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_typeofFunc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nlm_advlock ## -- Begin function nlm_advlock
.p2align 4, 0x90
_nlm_advlock: ## @nlm_advlock
.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 16(%rdi), %eax
movl 12(%rdi), %esi
movl 8(%rdi), %edx
movl (%rdi), %r8d
movl 4(%rdi), %ecx
movq _FALSE@GOTPCREL(%rip), %rdi
movl (%rdi), %r9d
movq _TRUE@GOTPCREL(%rip), %rdi
movl (%rdi), %edi
movl %edi, (%rsp)
movl %eax, %edi
callq _nlm_advlock_internal
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FALSE,4,2 ## @FALSE
.comm _TRUE,4,2 ## @TRUE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nlm_advlock ; -- Begin function nlm_advlock
.p2align 2
_nlm_advlock: ; @nlm_advlock
.cfi_startproc
; %bb.0:
ldp w1, w8, [x0, #12]
ldp w3, w2, [x0, #4]
Lloh0:
adrp x9, _FALSE@GOTPAGE
Lloh1:
ldr x9, [x9, _FALSE@GOTPAGEOFF]
ldr w4, [x0]
Lloh2:
ldr w5, [x9]
Lloh3:
adrp x9, _TRUE@GOTPAGE
Lloh4:
ldr x9, [x9, _TRUE@GOTPAGEOFF]
Lloh5:
ldr w6, [x9]
mov x0, x8
b _nlm_advlock_internal
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _FALSE,4,2 ; @FALSE
.comm _TRUE,4,2 ; @TRUE
.subsections_via_symbols
| AnghaBench/freebsd/sys/nlm/extr_nlm_advlock.c_nlm_advlock.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function filter
_filter: ## @filter
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $440, %rsp ## imm = 0x1B8
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r9d, -52(%rbp) ## 4-byte Spill
movl %r8d, -56(%rbp) ## 4-byte Spill
movl %ecx, %r13d
movq %rdx, -80(%rbp) ## 8-byte Spill
movq %rsi, -184(%rbp) ## 8-byte Spill
movq %rdi, %r15
movl 24(%rbp), %r14d
movl 16(%rbp), %eax
movq %rax, -120(%rbp) ## 8-byte Spill
movl %ecx, %edi
movl $16, %esi
callq _FFALIGN
movl %eax, %esi
shrl $31, %esi
addl %eax, %esi
sarl %esi
movl %r14d, %ecx
imull %r14d, %ecx
movl $2097152, %eax ## imm = 0x200000
xorl %edx, %edx
divl %ecx
movl %eax, -204(%rbp) ## 4-byte Spill
movq (%r15), %r12
leaq 64(%r12), %rdi
movl %esi, -200(%rbp) ## 4-byte Spill
movslq %esi, %rbx
movq %r15, -72(%rbp) ## 8-byte Spill
movl 8(%r15), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
leal 64(,%rbx,4), %edx
movq %rdi, -176(%rbp) ## 8-byte Spill
xorl %esi, %esi
callq _memset
movq -120(%rbp), %r8 ## 8-byte Reload
movl -56(%rbp), %edi ## 4-byte Reload
movl %r14d, %r10d
testl %r14d, %r14d
movq %r13, -192(%rbp) ## 8-byte Spill
movq %r14, -88(%rbp) ## 8-byte Spill
movq %r12, -112(%rbp) ## 8-byte Spill
movq %r10, -128(%rbp) ## 8-byte Spill
jle LBB0_1
## %bb.9:
leal (%r8,%r8), %eax
movl %eax, -96(%rbp) ## 4-byte Spill
movl %r13d, %eax
shrl $31, %eax
addl %r13d, %eax
sarl %eax
movl %eax, -44(%rbp) ## 4-byte Spill
movq %rbx, -168(%rbp) ## 8-byte Spill
leaq (,%rbx,4), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movq %r10, %r13
leaq 128(%r12), %rdx
xorl %ebx, %ebx
movq -72(%rbp), %r15 ## 8-byte Reload
movq -176(%rbp), %r12 ## 8-byte Reload
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
leaq (%rdx,%rax), %r14
movslq %ebx, %rbx
movq -80(%rbp), %rax ## 8-byte Reload
leaq (%rax,%rbx,4), %rcx
movq %r12, %rdi
movq %r14, %rsi
## kill: def $r8d killed $r8d killed $r8
movl -44(%rbp), %r9d ## 4-byte Reload
callq *24(%r15)
movq -120(%rbp), %r8 ## 8-byte Reload
addl -96(%rbp), %ebx ## 4-byte Folded Reload
movq %r14, %rdx
decq %r13
jne LBB0_10
## %bb.11:
movq -88(%rbp), %r14 ## 8-byte Reload
movl %r14d, %eax
movq %rax, -64(%rbp) ## 8-byte Spill
movl -56(%rbp), %edi ## 4-byte Reload
movq -192(%rbp), %r13 ## 8-byte Reload
movq -112(%rbp), %r12 ## 8-byte Reload
movq -128(%rbp), %r10 ## 8-byte Reload
movl -44(%rbp), %r11d ## 4-byte Reload
movq -168(%rbp), %rbx ## 8-byte Reload
jmp LBB0_2
LBB0_1:
movl %r13d, %r11d
shrl $31, %r11d
addl %r13d, %r11d
sarl %r11d
xorl %eax, %eax
movq %rax, -64(%rbp) ## 8-byte Spill
LBB0_2:
leaq (%r12,%rbx,4), %rax
addq $128, %rax
movq %rax, -472(%rbp) ## 8-byte Spill
movl %edi, %eax
subl %r14d, %eax
movl %eax, -168(%rbp) ## 4-byte Spill
leal (%r14,%r13), %eax
leal (%r14,%r13), %ecx
incl %ecx
shrl $31, %ecx
leal (%rcx,%rax), %edx
incl %edx
sarl %edx
movl %r14d, %eax
shrl $31, %eax
addl %r14d, %eax
sarl %eax
movl %eax, %ecx
negl %ecx
movslq %ecx, %r9
xorl %r13d, %r13d
testl %r14d, %r14d
movl $0, %r15d
cmovgl %r14d, %r15d
testl %r9d, %r9d
movl $-1, %ecx
cmovnsl %r9d, %ecx
leal 1(%rcx), %esi
movq %rsi, -160(%rbp) ## 8-byte Spill
movl %edx, -196(%rbp) ## 4-byte Spill
movslq %edx, %rdx
addl %eax, %ecx
cmpl %r14d, %r11d
movl %r14d, %eax
cmovgl %r11d, %eax
testl %eax, %eax
cmovlel %r13d, %eax
movq %rdx, -152(%rbp) ## 8-byte Spill
movq %rdx, %r13
subq %rax, %r13
## kill: def $r10d killed $r10d killed $r10 def $r10
andl $-8, %r10d
movq %r10, -408(%rbp) ## 8-byte Spill
leaq -8(%r10), %rax
movq %rax, -400(%rbp) ## 8-byte Spill
shrq $3, %rax
incq %rax
movl %r11d, -44(%rbp) ## 4-byte Spill
movl %r11d, %r10d
movq %r10, %rdx
subq %r15, %rdx
movq %rdx, -432(%rbp) ## 8-byte Spill
movq %r15, %rdx
notq %rdx
movq %rdx, -424(%rbp) ## 8-byte Spill
leaq -8(%r13), %rdx
movq %rdx, -376(%rbp) ## 8-byte Spill
shrq $3, %rdx
incq %rdx
movq %rcx, -440(%rbp) ## 8-byte Spill
incq %rcx
movq %rcx, -368(%rbp) ## 8-byte Spill
andq $-8, %rcx
leaq -8(%rcx), %rsi
movq %rsi, -352(%rbp) ## 8-byte Spill
shrq $3, %rsi
incq %rsi
movl %eax, %r11d
andl $3, %r11d
andq $-4, %rax
movq %rax, -304(%rbp) ## 8-byte Spill
movslq %r14d, %rbx
movq %r15, %rax
subq %rbx, %rax
movq %rax, -344(%rbp) ## 8-byte Spill
movq %r10, -104(%rbp) ## 8-byte Spill
negq %r10
movq %r10, -416(%rbp) ## 8-byte Spill
movq %r13, -256(%rbp) ## 8-byte Spill
andq $-8, %r13
movq %r13, -232(%rbp) ## 8-byte Spill
movl %edx, %r10d
andl $3, %r10d
andq $-4, %rdx
movq %rdx, -288(%rbp) ## 8-byte Spill
movl %esi, %edx
andl $3, %edx
andq $-4, %rsi
movq %rsi, -280(%rbp) ## 8-byte Spill
movq %r11, -392(%rbp) ## 8-byte Spill
shlq $5, %r11
movq %r11, -384(%rbp) ## 8-byte Spill
movl $17, %eax
subq %rbx, %rax
leaq (%r12,%rax,4), %rax
movq %rax, -144(%rbp) ## 8-byte Spill
movl $44, %eax
subq %rbx, %rax
leaq (%r12,%rax,4), %rax
movq %rax, -272(%rbp) ## 8-byte Spill
movq %r10, -336(%rbp) ## 8-byte Spill
shlq $5, %r10
movq %r10, -224(%rbp) ## 8-byte Spill
movl $16, %eax
subq %rbx, %rax
negq %rbx
movq %rbx, -296(%rbp) ## 8-byte Spill
leaq (%r12,%rax,4), %rax
movq %rax, -464(%rbp) ## 8-byte Spill
movq %rdx, -328(%rbp) ## 8-byte Spill
shlq $5, %rdx
movq %rdx, -216(%rbp) ## 8-byte Spill
movslq %r8d, %rax
shlq $2, %rax
movq %rax, -456(%rbp) ## 8-byte Spill
movslq -52(%rbp), %rax ## 4-byte Folded Reload
shlq $2, %rax
movq %rax, -448(%rbp) ## 8-byte Spill
movq -176(%rbp), %rax ## 8-byte Reload
leaq (%rax,%r9,4), %rax
movq %rax, -96(%rbp) ## 8-byte Spill
movq %r15, %rax
movq %r15, -240(%rbp) ## 8-byte Spill
leaq 1(%r15), %rax
movq %rax, -320(%rbp) ## 8-byte Spill
movq %rcx, -360(%rbp) ## 8-byte Spill
leaq (%rcx,%r9), %rax
movq %rax, -312(%rbp) ## 8-byte Spill
leaq 80(%r12), %rax
movq %rax, -136(%rbp) ## 8-byte Spill
movq %r9, -248(%rbp) ## 8-byte Spill
leaq 176(%r12,%r9,4), %rax
movq %rax, -264(%rbp) ## 8-byte Spill
movq -72(%rbp), %r15 ## 8-byte Reload
movl -48(%rbp), %r14d ## 4-byte Reload
movq -64(%rbp), %rdx ## 8-byte Reload
.p2align 4, 0x90
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_17 Depth 2
## Child Loop BB0_20 Depth 2
## Child Loop BB0_23 Depth 2
## Child Loop BB0_43 Depth 2
## Child Loop BB0_32 Depth 2
## Child Loop BB0_35 Depth 2
## Child Loop BB0_38 Depth 2
## Child Loop BB0_46 Depth 2
## Child Loop BB0_49 Depth 2
## Child Loop BB0_51 Depth 2
## Child Loop BB0_56 Depth 2
cmpl -168(%rbp), %edx ## 4-byte Folded Reload
movq %r15, %r10
movq -88(%rbp), %rbx ## 8-byte Reload
movl -204(%rbp), %r12d ## 4-byte Reload
movq -176(%rbp), %r13 ## 8-byte Reload
movl %r14d, %r8d
movl -44(%rbp), %r9d ## 4-byte Reload
jge LBB0_52
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq %rdx, %r15
leal (%rdx,%rbx), %ecx
movl %ecx, %eax
shrl $31, %eax
addl %ecx, %eax
sarl %eax
cltd
idivl %ebx
movl %edx, %eax
movl -200(%rbp), %edi ## 4-byte Reload
imull %edi, %eax
cltq
testl %edx, %edx
cmovel %ebx, %edx
movq -472(%rbp), %rbx ## 8-byte Reload
leaq (%rbx,%rax,4), %rsi
decl %edx
imull %edi, %edx
movslq %edx, %rax
leaq (%rbx,%rax,4), %rdx
movq -88(%rbp), %rbx ## 8-byte Reload
movq -120(%rbp), %r8 ## 8-byte Reload
imull %r8d, %ecx
movslq %ecx, %rax
movq -80(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax,4), %rcx
movq %r13, %rdi
## kill: def $r8d killed $r8d killed $r8
callq *24(%r10)
testl %ebx, %ebx
jle LBB0_5
## %bb.12: ## in Loop: Header=BB0_3 Depth=1
cmpl $8, %ebx
jae LBB0_14
## %bb.13: ## in Loop: Header=BB0_3 Depth=1
xorl %ecx, %ecx
xorl %eax, %eax
movq -72(%rbp), %r10 ## 8-byte Reload
movq -112(%rbp), %rsi ## 8-byte Reload
movl -48(%rbp), %r8d ## 4-byte Reload
movq %r15, %r9
movq -160(%rbp), %r15 ## 8-byte Reload
movq -152(%rbp), %r14 ## 8-byte Reload
movq -104(%rbp), %r11 ## 8-byte Reload
movq -144(%rbp), %rdi ## 8-byte Reload
jmp LBB0_22
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
xorl %edx, %edx
xorl %eax, %eax
movq -72(%rbp), %r10 ## 8-byte Reload
movq -112(%rbp), %rsi ## 8-byte Reload
movl -48(%rbp), %r8d ## 4-byte Reload
movq %r15, %r9
movq -160(%rbp), %r15 ## 8-byte Reload
movq -152(%rbp), %r14 ## 8-byte Reload
movq -104(%rbp), %r11 ## 8-byte Reload
movq -144(%rbp), %rdi ## 8-byte Reload
jmp LBB0_6
LBB0_14: ## in Loop: Header=BB0_3 Depth=1
cmpq $24, -400(%rbp) ## 8-byte Folded Reload
movq -72(%rbp), %r10 ## 8-byte Reload
movq -112(%rbp), %rsi ## 8-byte Reload
movl -48(%rbp), %r8d ## 4-byte Reload
movq %r15, %r9
movq -152(%rbp), %r14 ## 8-byte Reload
movq -384(%rbp), %rdx ## 8-byte Reload
pxor %xmm0, %xmm0
jae LBB0_16
## %bb.15: ## in Loop: Header=BB0_3 Depth=1
xorl %eax, %eax
pxor %xmm1, %xmm1
movq -104(%rbp), %r11 ## 8-byte Reload
jmp LBB0_18
LBB0_16: ## in Loop: Header=BB0_3 Depth=1
movq -304(%rbp), %rcx ## 8-byte Reload
xorl %eax, %eax
pxor %xmm1, %xmm1
movq -104(%rbp), %r11 ## 8-byte Reload
.p2align 4, 0x90
LBB0_17: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movdqu 64(%rsi,%rax,4), %xmm2
paddd %xmm0, %xmm2
movdqu 80(%rsi,%rax,4), %xmm0
paddd %xmm1, %xmm0
movdqu 96(%rsi,%rax,4), %xmm1
movdqu 112(%rsi,%rax,4), %xmm3
movdqu 128(%rsi,%rax,4), %xmm4
paddd %xmm1, %xmm4
paddd %xmm2, %xmm4
movdqu 144(%rsi,%rax,4), %xmm2
paddd %xmm3, %xmm2
paddd %xmm0, %xmm2
movdqu 160(%rsi,%rax,4), %xmm0
paddd %xmm4, %xmm0
movdqu 176(%rsi,%rax,4), %xmm1
paddd %xmm2, %xmm1
addq $32, %rax
addq $-4, %rcx
jne LBB0_17
LBB0_18: ## in Loop: Header=BB0_3 Depth=1
cmpq $0, -392(%rbp) ## 8-byte Folded Reload
je LBB0_21
## %bb.19: ## in Loop: Header=BB0_3 Depth=1
movq -136(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax,4), %rax
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_20: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movdqu -16(%rax,%rcx), %xmm2
paddd %xmm2, %xmm0
movdqu (%rax,%rcx), %xmm2
paddd %xmm2, %xmm1
addq $32, %rcx
cmpq %rcx, %rdx
jne LBB0_20
LBB0_21: ## in Loop: Header=BB0_3 Depth=1
paddd %xmm1, %xmm0
pshufd $238, %xmm0, %xmm1 ## xmm1 = xmm0[2,3,2,3]
paddd %xmm0, %xmm1
pshufd $85, %xmm1, %xmm0 ## xmm0 = xmm1[1,1,1,1]
paddd %xmm1, %xmm0
movd %xmm0, %eax
movq -408(%rbp), %r15 ## 8-byte Reload
movq %r15, %rcx
movl %ebx, %edx
cmpq -128(%rbp), %r15 ## 8-byte Folded Reload
movq -144(%rbp), %rdi ## 8-byte Reload
movq -160(%rbp), %r15 ## 8-byte Reload
je LBB0_6
LBB0_22: ## in Loop: Header=BB0_3 Depth=1
movq -128(%rbp), %rdx ## 8-byte Reload
.p2align 4, 0x90
LBB0_23: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
addl (%r13,%rcx,4), %eax
incq %rcx
cmpq %rcx, %rdx
jne LBB0_23
## %bb.24: ## in Loop: Header=BB0_3 Depth=1
movl %ebx, %edx
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
cmpl -44(%rbp), %edx ## 4-byte Folded Reload
jge LBB0_27
## %bb.7: ## in Loop: Header=BB0_3 Depth=1
testb $1, -432(%rbp) ## 1-byte Folded Reload
jne LBB0_25
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
movq -240(%rbp), %rcx ## 8-byte Reload
jmp LBB0_26
LBB0_25: ## in Loop: Header=BB0_3 Depth=1
movq -240(%rbp), %rcx ## 8-byte Reload
movl (%r13,%rcx,4), %ecx
movq -344(%rbp), %rdx ## 8-byte Reload
subl (%r13,%rdx,4), %ecx
addl %ecx, %eax
movl %eax, %ecx
imull %r12d, %ecx
sarl $16, %ecx
movl %ecx, (%r13,%rdx,4)
movq -320(%rbp), %rcx ## 8-byte Reload
LBB0_26: ## in Loop: Header=BB0_3 Depth=1
movl -44(%rbp), %edx ## 4-byte Reload
movq -416(%rbp), %rbx ## 8-byte Reload
cmpq %rbx, -424(%rbp) ## 8-byte Folded Reload
je LBB0_27
.p2align 4, 0x90
LBB0_43: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movl 64(%rsi,%rcx,4), %edx
subl -4(%rdi,%rcx,4), %edx
addl %eax, %edx
movl %edx, %eax
imull %r12d, %eax
sarl $16, %eax
movl %eax, -4(%rdi,%rcx,4)
movl 68(%rsi,%rcx,4), %eax
subl (%rdi,%rcx,4), %eax
addl %edx, %eax
movl %eax, %edx
imull %r12d, %edx
sarl $16, %edx
movl %edx, (%rdi,%rcx,4)
addq $2, %rcx
cmpq %rcx, %r11
jne LBB0_43
## %bb.44: ## in Loop: Header=BB0_3 Depth=1
movl -44(%rbp), %edx ## 4-byte Reload
LBB0_27: ## in Loop: Header=BB0_3 Depth=1
cmpl -196(%rbp), %edx ## 4-byte Folded Reload
movq -464(%rbp), %rbx ## 8-byte Reload
jge LBB0_39
## %bb.28: ## in Loop: Header=BB0_3 Depth=1
imull %r12d, %eax
sarl $16, %eax
movslq %edx, %rcx
cmpq $8, -256(%rbp) ## 8-byte Folded Reload
jb LBB0_38
## %bb.29: ## in Loop: Header=BB0_3 Depth=1
movd %eax, %xmm0
pshufd $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0]
cmpq $24, -376(%rbp) ## 8-byte Folded Reload
jae LBB0_31
## %bb.30: ## in Loop: Header=BB0_3 Depth=1
xorl %edx, %edx
movq -224(%rbp), %r11 ## 8-byte Reload
jmp LBB0_33
LBB0_31: ## in Loop: Header=BB0_3 Depth=1
movq -272(%rbp), %rdx ## 8-byte Reload
leaq (%rdx,%rcx,4), %rsi
movq -288(%rbp), %rdi ## 8-byte Reload
xorl %edx, %edx
movq -224(%rbp), %r11 ## 8-byte Reload
.p2align 4, 0x90
LBB0_32: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movdqu %xmm0, -112(%rsi,%rdx,4)
movdqu %xmm0, -96(%rsi,%rdx,4)
movdqu %xmm0, -80(%rsi,%rdx,4)
movdqu %xmm0, -64(%rsi,%rdx,4)
movdqu %xmm0, -48(%rsi,%rdx,4)
movdqu %xmm0, -32(%rsi,%rdx,4)
movdqu %xmm0, -16(%rsi,%rdx,4)
movdqu %xmm0, (%rsi,%rdx,4)
addq $32, %rdx
addq $-4, %rdi
jne LBB0_32
LBB0_33: ## in Loop: Header=BB0_3 Depth=1
cmpq $0, -336(%rbp) ## 8-byte Folded Reload
je LBB0_36
## %bb.34: ## in Loop: Header=BB0_3 Depth=1
addq -296(%rbp), %rdx ## 8-byte Folded Reload
addq %rcx, %rdx
movq -136(%rbp), %rsi ## 8-byte Reload
leaq (%rsi,%rdx,4), %rdx
xorl %esi, %esi
.p2align 4, 0x90
LBB0_35: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movdqu %xmm0, -16(%rdx,%rsi)
movdqu %xmm0, (%rdx,%rsi)
addq $32, %rsi
cmpq %rsi, %r11
jne LBB0_35
LBB0_36: ## in Loop: Header=BB0_3 Depth=1
movq -232(%rbp), %rdx ## 8-byte Reload
cmpq %rdx, -256(%rbp) ## 8-byte Folded Reload
je LBB0_39
## %bb.37: ## in Loop: Header=BB0_3 Depth=1
addq -232(%rbp), %rcx ## 8-byte Folded Reload
.p2align 4, 0x90
LBB0_38: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movl %eax, (%rbx,%rcx,4)
incq %rcx
cmpq %rcx, %r14
jne LBB0_38
LBB0_39: ## in Loop: Header=BB0_3 Depth=1
movq -88(%rbp), %rbx ## 8-byte Reload
cmpl $2, %ebx
movq %r9, %rdx
jl LBB0_52
## %bb.40: ## in Loop: Header=BB0_3 Depth=1
movl (%r13), %eax
movq -248(%rbp), %rcx ## 8-byte Reload
cmpl $7, -440(%rbp) ## 4-byte Folded Reload
jb LBB0_51
## %bb.41: ## in Loop: Header=BB0_3 Depth=1
movd %eax, %xmm0
pshufd $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0]
cmpq $24, -352(%rbp) ## 8-byte Folded Reload
jae LBB0_45
## %bb.42: ## in Loop: Header=BB0_3 Depth=1
xorl %ecx, %ecx
movq -216(%rbp), %rsi ## 8-byte Reload
jmp LBB0_47
LBB0_45: ## in Loop: Header=BB0_3 Depth=1
movq -280(%rbp), %rdx ## 8-byte Reload
xorl %ecx, %ecx
movq -216(%rbp), %rsi ## 8-byte Reload
movq -264(%rbp), %rdi ## 8-byte Reload
.p2align 4, 0x90
LBB0_46: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movdqu %xmm0, -112(%rdi,%rcx,4)
movdqu %xmm0, -96(%rdi,%rcx,4)
movdqu %xmm0, -80(%rdi,%rcx,4)
movdqu %xmm0, -64(%rdi,%rcx,4)
movdqu %xmm0, -48(%rdi,%rcx,4)
movdqu %xmm0, -32(%rdi,%rcx,4)
movdqu %xmm0, -16(%rdi,%rcx,4)
movdqu %xmm0, (%rdi,%rcx,4)
addq $32, %rcx
addq $-4, %rdx
jne LBB0_46
LBB0_47: ## in Loop: Header=BB0_3 Depth=1
cmpq $0, -328(%rbp) ## 8-byte Folded Reload
je LBB0_50
## %bb.48: ## in Loop: Header=BB0_3 Depth=1
addq -248(%rbp), %rcx ## 8-byte Folded Reload
movq -136(%rbp), %rdx ## 8-byte Reload
leaq (%rdx,%rcx,4), %rcx
xorl %edx, %edx
.p2align 4, 0x90
LBB0_49: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movdqu %xmm0, -16(%rcx,%rdx)
movdqu %xmm0, (%rcx,%rdx)
addq $32, %rdx
cmpq %rdx, %rsi
jne LBB0_49
LBB0_50: ## in Loop: Header=BB0_3 Depth=1
movq -312(%rbp), %rcx ## 8-byte Reload
movq -360(%rbp), %rdx ## 8-byte Reload
cmpq %rdx, -368(%rbp) ## 8-byte Folded Reload
movq %r9, %rdx
je LBB0_52
.p2align 4, 0x90
LBB0_51: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movl %eax, (%r13,%rcx,4)
incq %rcx
cmpl %ecx, %r15d
jne LBB0_51
.p2align 4, 0x90
LBB0_52: ## in Loop: Header=BB0_3 Depth=1
cmpl %ebx, %edx
movl $0, %eax
cmovel %eax, %edx
jne LBB0_53
## %bb.54: ## in Loop: Header=BB0_3 Depth=1
testl %ebx, %ebx
movq -184(%rbp), %r12 ## 8-byte Reload
movl -52(%rbp), %esi ## 4-byte Reload
movq _dither@GOTPCREL(%rip), %rcx
movq -80(%rbp), %rbx ## 8-byte Reload
jle LBB0_58
## %bb.55: ## in Loop: Header=BB0_3 Depth=1
xorl %r14d, %r14d
movq -456(%rbp), %r13 ## 8-byte Reload
movq -448(%rbp), %r15 ## 8-byte Reload
.p2align 4, 0x90
LBB0_56: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movq (%rcx), %rax
movl %r14d, %ecx
andl $7, %ecx
movl (%rax,%rcx,4), %r9d
movq %r12, %rdi
movq %rbx, %rsi
movq -96(%rbp), %rdx ## 8-byte Reload
movq -192(%rbp), %rcx ## 8-byte Reload
## kill: def $ecx killed $ecx killed $rcx
movl -48(%rbp), %r8d ## 4-byte Reload
movq -72(%rbp), %rax ## 8-byte Reload
callq *16(%rax)
movq _dither@GOTPCREL(%rip), %rcx
movl -48(%rbp), %r8d ## 4-byte Reload
movq -72(%rbp), %r10 ## 8-byte Reload
incq %r14
addq %r13, %rbx
addq %r15, %r12
cmpq %r14, -128(%rbp) ## 8-byte Folded Reload
jne LBB0_56
## %bb.57: ## in Loop: Header=BB0_3 Depth=1
movq -88(%rbp), %r9 ## 8-byte Reload
movl %r9d, %edx
movl -52(%rbp), %esi ## 4-byte Reload
movq -80(%rbp), %rbx ## 8-byte Reload
movq -184(%rbp), %r12 ## 8-byte Reload
jmp LBB0_58
.p2align 4, 0x90
LBB0_53: ## in Loop: Header=BB0_3 Depth=1
movq -184(%rbp), %r12 ## 8-byte Reload
movl -52(%rbp), %esi ## 4-byte Reload
movq _dither@GOTPCREL(%rip), %rcx
movq -80(%rbp), %rbx ## 8-byte Reload
LBB0_58: ## in Loop: Header=BB0_3 Depth=1
movq %rdx, -64(%rbp) ## 8-byte Spill
movl %edx, %eax
imull %esi, %eax
cltq
leaq (%r12,%rax,4), %rdi
movl %edx, %eax
movq -120(%rbp), %r13 ## 8-byte Reload
imull %r13d, %eax
cltq
leaq (%rbx,%rax,4), %rsi
movq (%rcx), %rax
movl %edx, %ecx
andl $7, %ecx
movl (%rax,%rcx,4), %r9d
movq -96(%rbp), %rdx ## 8-byte Reload
movq -192(%rbp), %rbx ## 8-byte Reload
movl %ebx, %ecx
movl %r8d, %r14d
movq %r10, %r15
callq *16(%r10)
movq -64(%rbp), %rax ## 8-byte Reload
incl %eax
cmpl -56(%rbp), %eax ## 4-byte Folded Reload
jge LBB0_60
## %bb.59: ## in Loop: Header=BB0_3 Depth=1
movl %eax, %ecx
imull -52(%rbp), %ecx ## 4-byte Folded Reload
movslq %ecx, %rcx
leaq (%r12,%rcx,4), %rdi
movl %eax, %ecx
imull %r13d, %ecx
movslq %ecx, %rcx
movq -80(%rbp), %rdx ## 8-byte Reload
leaq (%rdx,%rcx,4), %rsi
movq _dither@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
andl $7, %eax
movl (%rcx,%rax,4), %r9d
movq -96(%rbp), %rdx ## 8-byte Reload
movl %ebx, %ecx
movl %r14d, %r8d
callq *16(%r15)
movq -64(%rbp), %rdx ## 8-byte Reload
movl -56(%rbp), %edi ## 4-byte Reload
addl $2, %edx
cmpl %edi, %edx
jl LBB0_3
LBB0_60:
xorl %eax, %eax
addq $440, %rsp ## imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _emms_c ## TAILCALL
.cfi_endproc
## -- End function
.comm _dither,8,3 ## @dither
.no_dead_strip _filter
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function filter
_filter: ; @filter
.cfi_startproc
; %bb.0:
sub sp, sp, #400
.cfi_def_cfa_offset 400
stp x28, x27, [sp, #304] ; 16-byte Folded Spill
stp x26, x25, [sp, #320] ; 16-byte Folded Spill
stp x24, x23, [sp, #336] ; 16-byte Folded Spill
stp x22, x21, [sp, #352] ; 16-byte Folded Spill
stp x20, x19, [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 w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x7
mov x27, x6
mov x24, x5
mov x20, x4
mov x22, x3
mov x23, x2
mov x25, x1
mov x21, x0
mov x0, x3
mov w1, #16
bl _FFALIGN
cmp w0, #0
cinc w8, w0, lt
asr w9, w8, #1
mul w10, w19, w19
stur w10, [x29, #-104] ; 4-byte Folded Spill
ldr x28, [x21]
add x0, x28, #64
sbfx x26, x8, #1, #31
add x8, x28, w9, sxtw #2
stur x8, [x29, #-152] ; 8-byte Folded Spill
stur x21, [x29, #-96] ; 8-byte Folded Spill
ldr w8, [x21, #8]
stur w8, [x29, #-124] ; 4-byte Folded Spill
lsl w8, w9, #2
add w2, w8, #64
stur x0, [x29, #-176] ; 8-byte Folded Spill
mov w1, #0
bl _memset
cmp w19, #0
str x27, [sp, #192] ; 8-byte Folded Spill
stur x24, [x29, #-136] ; 8-byte Folded Spill
stur w20, [x29, #-140] ; 4-byte Folded Spill
stur w22, [x29, #-108] ; 4-byte Folded Spill
str x23, [sp, #184] ; 8-byte Folded Spill
str x26, [sp, #168] ; 8-byte Folded Spill
stur x19, [x29, #-120] ; 8-byte Folded Spill
str x25, [sp, #176] ; 8-byte Folded Spill
str x28, [sp, #112] ; 8-byte Folded Spill
b.le LBB0_4
; %bb.1:
mov w21, #0
lsl w24, w27, #1
cmp w22, #0
cinc w8, w22, lt
asr w25, w8, #1
mov w20, w19
lsl x19, x26, #2
add x2, x28, #128
ldur x26, [x29, #-176] ; 8-byte Folded Reload
ldur x28, [x29, #-96] ; 8-byte Folded Reload
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x28, #24]
add x22, x2, x19
add x3, x23, w21, sxtw #2
mov x0, x26
mov x1, x22
mov x4, x27
mov x5, x25
blr x8
add w21, w21, w24
mov x2, x22
subs x20, x20, #1
b.ne LBB0_2
; %bb.3:
ldr x21, [sp, #176] ; 8-byte Folded Reload
ldur x17, [x29, #-120] ; 8-byte Folded Reload
mov x24, x17
ldur x3, [x29, #-136] ; 8-byte Folded Reload
ldur w20, [x29, #-140] ; 4-byte Folded Reload
ldur w22, [x29, #-108] ; 4-byte Folded Reload
b LBB0_5
LBB0_4:
mov x3, x24
mov x21, x25
mov w24, #0
cmp w22, #0
cinc w8, w22, lt
asr w25, w8, #1
mov x17, x19
ldur x26, [x29, #-176] ; 8-byte Folded Reload
LBB0_5:
mov x8, #0
mov w0, w17
mov w9, w25
ldur x10, [x29, #-152] ; 8-byte Folded Reload
add x10, x10, #128
str x10, [sp, #160] ; 8-byte Folded Spill
sub w10, w20, w17
stur w10, [x29, #-156] ; 4-byte Folded Spill
ldur w10, [x29, #-104] ; 4-byte Folded Reload
mov w11, #2097152
udiv w10, w11, w10
str w10, [sp, #156] ; 4-byte Folded Spill
add w10, w22, w17
add w11, w10, #1
add w12, w10, #2
cmp w11, #0
csinc w10, w12, w10, lt
cmp w17, #0
csel w11, w17, wzr, gt
cinc w12, w17, lt
asr w12, w12, #1
neg w13, w12
sxtw x1, w13
sbfiz x14, x13, #2, #32
add x15, x26, x14
stur x15, [x29, #-104] ; 8-byte Folded Spill
sxtw x15, w17
cmp w13, #0
mov w13, #-1
csneg w13, w13, w12, lt
sbfx x2, x10, #1, #31
add w10, w13, w12
str x10, [sp, #72] ; 8-byte Folded Spill
add x12, x10, #1
cmp w25, w17
stur w25, [x29, #-152] ; 4-byte Folded Spill
csel w10, w25, w17, gt
cmp w10, #0
csel w10, w10, wzr, gt
stur x2, [x29, #-184] ; 8-byte Folded Spill
sub x10, x2, x10
stur x0, [x29, #-168] ; 8-byte Folded Spill
and x0, x0, #0xfffffff0
stp x0, x10, [sp, #88] ; 16-byte Folded Spill
and x10, x10, #0xfffffffffffffff0
str x10, [sp, #64] ; 8-byte Folded Spill
and x10, x12, #0x1fffffff0
str x1, [sp, #80] ; 8-byte Folded Spill
str x10, [sp, #56] ; 8-byte Folded Spill
add x10, x10, x1
stp x10, x12, [sp, #16] ; 16-byte Folded Spill
ldr x0, [sp, #112] ; 8-byte Folded Reload
add x10, x0, #112
str x10, [sp, #32] ; 8-byte Folded Spill
add x10, x0, #64
str x10, [sp, #104] ; 8-byte Folded Spill
add x10, x0, w11, uxtw #2
add x10, x10, #64
sub x9, x9, x11
stp x9, x10, [sp, #136] ; 16-byte Folded Spill
mov w9, #28
sub x9, x9, x15
mov w10, #16
sub x10, x10, x15
add x11, x14, x0
add x11, x11, #112
str x11, [sp, #8] ; 8-byte Folded Spill
add w11, w13, #1
str w11, [sp, #52] ; 4-byte Folded Spill
ldp x26, x22, [sp, #184] ; 16-byte Folded Reload
sbfiz x13, x22, #2, #32
mov x19, x3
sbfiz x12, x3, #2, #32
stp x12, x13, [sp, #120] ; 16-byte Folded Spill
add x9, x0, x9, lsl #2
str x9, [sp] ; 8-byte Folded Spill
add x9, x0, x10, lsl #2
str x9, [sp, #40] ; 8-byte Folded Spill
Lloh0:
adrp x27, _dither@GOTPAGE
Lloh1:
ldr x27, [x27, _dither@GOTPAGEOFF]
sub x8, x8, w17, sxtw #2
str x8, [sp, #112] ; 8-byte Folded Spill
ldur x20, [x29, #-96] ; 8-byte Folded Reload
LBB0_6: ; =>This Loop Header: Depth=1
; Child Loop BB0_12 Depth 2
; Child Loop BB0_15 Depth 2
; Child Loop BB0_18 Depth 2
; Child Loop BB0_23 Depth 2
; Child Loop BB0_26 Depth 2
; Child Loop BB0_30 Depth 2
; Child Loop BB0_33 Depth 2
; Child Loop BB0_37 Depth 2
ldur w8, [x29, #-156] ; 4-byte Folded Reload
cmp w24, w8
mov x28, x26
mov x26, x21
mov x13, x20
ldur x19, [x29, #-120] ; 8-byte Folded Reload
mov x20, x22
ldur x21, [x29, #-104] ; 8-byte Folded Reload
b.ge LBB0_34
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
add w8, w24, w19
cmp w8, #0
cinc w9, w8, lt
asr w9, w9, #1
sdiv w10, w9, w19
msub w9, w10, w19, w9
ldp x12, x11, [sp, #160] ; 16-byte Folded Reload
mul w10, w9, w11
add x1, x12, w10, sxtw #2
cmp w9, #0
csel w9, w19, w9, eq
sub w9, w9, #1
mul w9, w9, w11
add x2, x12, w9, sxtw #2
ldr x9, [x13, #24]
mul w8, w8, w20
add x3, x28, w8, sxtw #2
ldur x0, [x29, #-176] ; 8-byte Folded Reload
mov x4, x20
ldur w5, [x29, #-152] ; 4-byte Folded Reload
blr x9
cmp w19, #1
b.lt LBB0_10
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
cmp w19, #16
ldur w13, [x29, #-152] ; 4-byte Folded Reload
ldr w14, [sp, #156] ; 4-byte Folded Reload
ldr x15, [sp, #112] ; 8-byte Folded Reload
b.hs LBB0_11
; %bb.9: ; in Loop: Header=BB0_6 Depth=1
mov x10, #0
mov w8, #0
b LBB0_14
LBB0_10: ; in Loop: Header=BB0_6 Depth=1
mov w9, #0
mov w8, #0
ldur w13, [x29, #-152] ; 4-byte Folded Reload
ldr w14, [sp, #156] ; 4-byte Folded Reload
ldr x15, [sp, #112] ; 8-byte Folded Reload
b LBB0_17
LBB0_11: ; in Loop: Header=BB0_6 Depth=1
movi.2d v0, #0000000000000000
ldr x8, [sp, #88] ; 8-byte Folded Reload
ldr x9, [sp, #32] ; 8-byte Folded Reload
movi.2d v1, #0000000000000000
movi.2d v2, #0000000000000000
movi.2d v3, #0000000000000000
LBB0_12: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
ldp q4, q5, [x9, #-48]
ldp q6, q7, [x9, #-16]
add.4s v0, v4, v0
add.4s v1, v5, v1
add.4s v2, v6, v2
add.4s v3, v7, v3
add x9, x9, #64
subs x8, x8, #16
b.ne LBB0_12
; %bb.13: ; in Loop: Header=BB0_6 Depth=1
add.4s v0, v1, v0
add.4s v0, v2, v0
add.4s v0, v3, v0
addv.4s s0, v0
fmov w8, s0
ldr x12, [sp, #88] ; 8-byte Folded Reload
mov x10, x12
mov x9, x19
ldur x11, [x29, #-168] ; 8-byte Folded Reload
cmp x12, x11
b.eq LBB0_17
LBB0_14: ; in Loop: Header=BB0_6 Depth=1
ldr x9, [sp, #104] ; 8-byte Folded Reload
add x9, x9, x10, lsl #2
ldur x11, [x29, #-168] ; 8-byte Folded Reload
sub x10, x11, x10
LBB0_15: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
ldr w11, [x9], #4
add w8, w11, w8
subs x10, x10, #1
b.ne LBB0_15
; %bb.16: ; in Loop: Header=BB0_6 Depth=1
mov x9, x19
LBB0_17: ; in Loop: Header=BB0_6 Depth=1
ldp x10, x11, [sp, #136] ; 16-byte Folded Reload
cmp w9, w13
b.ge LBB0_20
LBB0_18: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
ldr w9, [x11]
ldr w12, [x11, x15]
sub w9, w9, w12
add w8, w9, w8
mul w9, w8, w14
asr w9, w9, #16
str w9, [x11, x15]
add x11, x11, #4
subs x10, x10, #1
b.ne LBB0_18
; %bb.19: ; in Loop: Header=BB0_6 Depth=1
mov x9, x13
LBB0_20: ; in Loop: Header=BB0_6 Depth=1
ldur x10, [x29, #-184] ; 8-byte Folded Reload
cmp w9, w10
ldur x13, [x29, #-96] ; 8-byte Folded Reload
b.ge LBB0_27
; %bb.21: ; in Loop: Header=BB0_6 Depth=1
mul w8, w8, w14
asr w8, w8, #16
sxtw x10, w9
mov x9, x10
ldr x11, [sp, #96] ; 8-byte Folded Reload
cmp x11, #16
b.lo LBB0_25
; %bb.22: ; in Loop: Header=BB0_6 Depth=1
ldr x11, [sp, #64] ; 8-byte Folded Reload
add x9, x11, x10
dup.4s v0, w8
ldr x12, [sp] ; 8-byte Folded Reload
add x10, x12, x10, lsl #2
LBB0_23: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
stp q0, q0, [x10, #-48]
stp q0, q0, [x10, #-16]
add x10, x10, #64
subs x11, x11, #16
b.ne LBB0_23
; %bb.24: ; in Loop: Header=BB0_6 Depth=1
ldr x10, [sp, #96] ; 8-byte Folded Reload
ldr x11, [sp, #64] ; 8-byte Folded Reload
cmp x10, x11
b.eq LBB0_27
LBB0_25: ; in Loop: Header=BB0_6 Depth=1
ldr x10, [sp, #40] ; 8-byte Folded Reload
add x10, x10, x9, lsl #2
ldur x11, [x29, #-184] ; 8-byte Folded Reload
sub x9, x11, x9
LBB0_26: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
str w8, [x10], #4
subs x9, x9, #1
b.ne LBB0_26
LBB0_27: ; in Loop: Header=BB0_6 Depth=1
cmp w19, #2
b.lt LBB0_34
; %bb.28: ; in Loop: Header=BB0_6 Depth=1
ldur x8, [x29, #-176] ; 8-byte Folded Reload
ldr w8, [x8]
ldp x9, x10, [sp, #72] ; 16-byte Folded Reload
cmp w9, #15
b.lo LBB0_32
; %bb.29: ; in Loop: Header=BB0_6 Depth=1
dup.4s v0, w8
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x10, [sp, #56] ; 8-byte Folded Reload
LBB0_30: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
stp q0, q0, [x9, #-48]
stp q0, q0, [x9, #-16]
add x9, x9, #64
subs x10, x10, #16
b.ne LBB0_30
; %bb.31: ; in Loop: Header=BB0_6 Depth=1
ldp x10, x9, [sp, #16] ; 16-byte Folded Reload
ldr x11, [sp, #56] ; 8-byte Folded Reload
cmp x9, x11
b.eq LBB0_34
LBB0_32: ; in Loop: Header=BB0_6 Depth=1
ldr x9, [sp, #104] ; 8-byte Folded Reload
add x9, x9, x10, lsl #2
ldr w11, [sp, #52] ; 4-byte Folded Reload
sub w10, w11, w10
LBB0_33: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
str w8, [x9], #4
subs w10, w10, #1
b.ne LBB0_33
LBB0_34: ; in Loop: Header=BB0_6 Depth=1
cmp w24, w19
csel w24, w24, wzr, ne
b.ne LBB0_39
; %bb.35: ; in Loop: Header=BB0_6 Depth=1
cmp w19, #1
b.lt LBB0_39
; %bb.36: ; in Loop: Header=BB0_6 Depth=1
mov x23, #0
mov x25, x26
mov x24, x28
ldur w28, [x29, #-108] ; 4-byte Folded Reload
ldur w20, [x29, #-124] ; 4-byte Folded Reload
ldur x19, [x29, #-168] ; 8-byte Folded Reload
mov x22, x27
ldp x27, x26, [sp, #120] ; 16-byte Folded Reload
LBB0_37: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x13, #16]
ldr x9, [x22]
and x10, x23, #0x7
ldr w5, [x9, x10, lsl #2]
mov x0, x25
mov x1, x24
mov x2, x21
mov x3, x28
mov x4, x20
blr x8
ldur x13, [x29, #-96] ; 8-byte Folded Reload
add x23, x23, #1
add x24, x24, x26
add x25, x25, x27
cmp x19, x23
b.ne LBB0_37
; %bb.38: ; in Loop: Header=BB0_6 Depth=1
ldur x19, [x29, #-120] ; 8-byte Folded Reload
mov x24, x19
ldp x28, x20, [sp, #184] ; 16-byte Folded Reload
mov x27, x22
ldr x26, [sp, #176] ; 8-byte Folded Reload
LBB0_39: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [x13, #16]
ldur x25, [x29, #-136] ; 8-byte Folded Reload
mul w9, w24, w25
add x0, x26, w9, sxtw #2
mul w9, w24, w20
add x1, x28, w9, sxtw #2
ldr x9, [x27]
and w10, w24, #0x7
ldr w5, [x9, w10, uxtw #2]
mov x2, x21
mov x22, x20
mov x20, x13
mov x21, x26
mov x26, x28
ldur w28, [x29, #-108] ; 4-byte Folded Reload
mov x3, x28
ldur w19, [x29, #-124] ; 4-byte Folded Reload
mov x4, x19
blr x8
add w8, w24, #1
ldur w23, [x29, #-140] ; 4-byte Folded Reload
cmp w8, w23
b.ge LBB0_41
; %bb.40: ; in Loop: Header=BB0_6 Depth=1
ldr x9, [x20, #16]
mul w10, w8, w25
add x0, x21, w10, sxtw #2
mul w10, w8, w22
add x1, x26, w10, sxtw #2
ldr x10, [x27]
and w8, w8, #0x7
ldr w5, [x10, w8, uxtw #2]
ldur x2, [x29, #-104] ; 8-byte Folded Reload
mov x3, x28
mov x4, x19
blr x9
add w24, w24, #2
cmp w24, w23
b.lt LBB0_6
LBB0_41:
ldp x29, x30, [sp, #384] ; 16-byte Folded Reload
ldp x20, x19, [sp, #368] ; 16-byte Folded Reload
ldp x22, x21, [sp, #352] ; 16-byte Folded Reload
ldp x24, x23, [sp, #336] ; 16-byte Folded Reload
ldp x26, x25, [sp, #320] ; 16-byte Folded Reload
ldp x28, x27, [sp, #304] ; 16-byte Folded Reload
add sp, sp, #400
b _emms_c
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _dither,8,3 ; @dither
.no_dead_strip _filter
.subsections_via_symbols
| AnghaBench/FFmpeg/libavfilter/extr_vf_gradfun.c_filter.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function do_sdp_sendmsg_zcopy
_do_sdp_sendmsg_zcopy: ## @do_sdp_sendmsg_zcopy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, -64(%rbp) ## 8-byte Spill
movq %rdx, %r13
movq %rsi, %r15
movq %rdi, %r14
callq _sdp_sk
movq %rax, -48(%rbp) ## 8-byte Spill
movl (%r13), %edx
movl 4(%r13), %esi
leaq 8(%r15), %rcx
leaq 4(%r15), %r12
movq %r14, %rdi
movq %rcx, -72(%rbp) ## 8-byte Spill
movq %r12, %r8
callq _sdp_alloc_fmr
testl %eax, %eax
je LBB0_2
## %bb.1:
movl %eax, %ebx
leaq L_.str(%rip), %rsi
movq %r14, %rdi
movl %eax, %edx
xorl %eax, %eax
callq _sdp_warn
movl %ebx, %r15d
jmp LBB0_21
LBB0_2:
movq %r15, -56(%rbp) ## 8-byte Spill
movq -48(%rbp), %rdi ## 8-byte Reload
callq _tx_slots_free
testq %rax, %rax
je LBB0_3
LBB0_5:
movq %r14, %rdi
movq -56(%rbp), %rsi ## 8-byte Reload
callq _sdp_post_srcavail
testl %eax, %eax
movq %r12, %rbx
je LBB0_7
## %bb.6:
movl %eax, %r15d
leaq L_.str.2(%rip), %rsi
movq %r14, %rdi
callq _sdp_dbg
movq %r13, %r12
jmp LBB0_19
LBB0_3:
movq %r14, %rdi
movq -64(%rbp), %rsi ## 8-byte Reload
callq _wait_for_sndbuf
testl %eax, %eax
je LBB0_5
## %bb.4:
movl %eax, %r15d
leaq L_.str.1(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _sdp_warn
movq %r12, %rbx
jmp LBB0_20
LBB0_7:
movq -48(%rbp), %rdi ## 8-byte Reload
movq -64(%rbp), %rsi ## 8-byte Reload
xorl %edx, %edx
callq _sdp_wait_rdmardcompl
movl %eax, %r15d
movl %eax, %edi
callq _unlikely
testq %rax, %rax
je LBB0_15
## %bb.8:
movq -56(%rbp), %rax ## 8-byte Reload
movl (%rax), %eax
movq _TX_SA_SENDSM@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_10
## %bb.9:
leaq L_.str.3(%rip), %rsi
jmp LBB0_16
LBB0_15:
leaq L_.str.8(%rip), %rsi
LBB0_16:
movq %r14, %rdi
callq _sdp_dbg_data
LBB0_17:
movq %r13, %r12
LBB0_18:
movq -48(%rbp), %r13 ## 8-byte Reload
movq %r13, %rdi
callq _spin_lock_irqsave
movq $0, 8(%r13)
movq %r13, %rdi
callq _spin_unlock_irqrestore
LBB0_19:
movq -56(%rbp), %rax ## 8-byte Reload
movl 12(%rax), %edx
movq %r14, %rdi
movq %r12, %rsi
callq _sdp_update_iov_used
LBB0_20:
movq %r14, %rdi
movq -72(%rbp), %rsi ## 8-byte Reload
movq %rbx, %rdx
callq _sdp_free_fmr
LBB0_21:
movl %r15d, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_10:
movq _TX_SA_ERROR@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_12
## %bb.11:
leaq L_.str.4(%rip), %rsi
movq %r14, %rdi
callq _sdp_dbg_data
movq %r14, %rdi
callq _sdp_reset
movq _zcopy_tx_error@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _SDPSTATS_COUNTER_INC
jmp LBB0_17
LBB0_12:
movq -48(%rbp), %rax ## 8-byte Reload
cmpq $0, 24(%rax)
movq %r13, %r12
je LBB0_14
## %bb.13:
movq %r14, %rdi
callq _sdp_post_srcavail_cancel
movq _HZ@GOTPCREL(%rip), %rax
movslq (%rax), %rax
addq %rax, %rax
movq -64(%rbp), %r13 ## 8-byte Reload
movq %rax, (%r13)
leaq L_.str.5(%rip), %rsi
movq %r14, %rdi
callq _sdp_dbg_data
movq -48(%rbp), %rdi ## 8-byte Reload
movq %r13, %rsi
movl $1, %edx
callq _sdp_wait_rdmardcompl
leaq L_.str.6(%rip), %rsi
movq %r14, %rdi
callq _sdp_dbg_data
movq -48(%rbp), %rdi ## 8-byte Reload
addq $16, %rdi
callq _cancel_delayed_work
jmp LBB0_18
LBB0_14:
leaq L_.str.7(%rip), %rsi
movq %r14, %rdi
callq _sdp_dbg_data
jmp LBB0_18
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Error allocating fmr: %d\n"
L_.str.1: ## @.str.1
.asciz "Couldn't get send buffer\n"
L_.str.2: ## @.str.2
.asciz "Error posting SrcAvail\n"
.comm _TX_SA_SENDSM,4,2 ## @TX_SA_SENDSM
L_.str.3: ## @.str.3
.asciz "Got SendSM. use SEND verb.\n"
.comm _TX_SA_ERROR,4,2 ## @TX_SA_ERROR
L_.str.4: ## @.str.4
.asciz "SrcAvail error completion\n"
.comm _zcopy_tx_error,4,2 ## @zcopy_tx_error
.comm _HZ,4,2 ## @HZ
L_.str.5: ## @.str.5
.asciz "Waiting for SendSM\n"
L_.str.6: ## @.str.6
.asciz "finished waiting\n"
L_.str.7: ## @.str.7
.asciz "QP was destroyed while waiting\n"
L_.str.8: ## @.str.8
.asciz "got RdmaRdCompl\n"
.no_dead_strip _do_sdp_sendmsg_zcopy
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function do_sdp_sendmsg_zcopy
_do_sdp_sendmsg_zcopy: ; @do_sdp_sendmsg_zcopy
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x26, x3
mov x22, x2
mov x23, x1
mov x19, x0
bl _sdp_sk
mov x25, x0
ldp w2, w1, [x22]
add x20, x23, #8
add x21, x23, #4
mov x0, x19
mov x3, x20
mov x4, x21
bl _sdp_alloc_fmr
cbz w0, LBB0_2
; %bb.1:
mov x24, x0
str x24, [sp]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _sdp_warn
b LBB0_15
LBB0_2:
mov x0, x25
bl _tx_slots_free
cbz x0, LBB0_5
LBB0_3:
mov x0, x19
mov x1, x23
bl _sdp_post_srcavail
cbz w0, LBB0_7
; %bb.4:
mov x24, x0
Lloh2:
adrp x1, l_.str.2@PAGE
Lloh3:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
bl _sdp_dbg
b LBB0_13
LBB0_5:
mov x0, x19
mov x1, x26
bl _wait_for_sndbuf
cbz w0, LBB0_3
; %bb.6:
mov x24, x0
Lloh4:
adrp x1, l_.str.1@PAGE
Lloh5:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _sdp_warn
b LBB0_14
LBB0_7:
mov x0, x25
mov x1, x26
mov w2, #0
bl _sdp_wait_rdmardcompl
mov x24, x0
bl _unlikely
cbz x0, LBB0_10
; %bb.8:
ldr w8, [x23]
Lloh6:
adrp x9, _TX_SA_SENDSM@GOTPAGE
Lloh7:
ldr x9, [x9, _TX_SA_SENDSM@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_16
; %bb.9:
Lloh9:
adrp x1, l_.str.3@PAGE
Lloh10:
add x1, x1, l_.str.3@PAGEOFF
b LBB0_11
LBB0_10:
Lloh11:
adrp x1, l_.str.8@PAGE
Lloh12:
add x1, x1, l_.str.8@PAGEOFF
LBB0_11:
mov x0, x19
bl _sdp_dbg_data
LBB0_12:
mov x0, x25
bl _spin_lock_irqsave
str xzr, [x25, #8]
mov x0, x25
bl _spin_unlock_irqrestore
LBB0_13:
ldr w2, [x23, #12]
mov x0, x19
mov x1, x22
bl _sdp_update_iov_used
LBB0_14:
mov x0, x19
mov x1, x20
mov x2, x21
bl _sdp_free_fmr
LBB0_15:
mov x0, x24
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_16:
Lloh13:
adrp x9, _TX_SA_ERROR@GOTPAGE
Lloh14:
ldr x9, [x9, _TX_SA_ERROR@GOTPAGEOFF]
Lloh15:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_18
; %bb.17:
Lloh16:
adrp x1, l_.str.4@PAGE
Lloh17:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x19
bl _sdp_dbg_data
mov x0, x19
bl _sdp_reset
Lloh18:
adrp x8, _zcopy_tx_error@GOTPAGE
Lloh19:
ldr x8, [x8, _zcopy_tx_error@GOTPAGEOFF]
Lloh20:
ldr w0, [x8]
bl _SDPSTATS_COUNTER_INC
b LBB0_12
LBB0_18:
ldr x8, [x25, #24]
cbz x8, LBB0_20
; %bb.19:
mov x0, x19
bl _sdp_post_srcavail_cancel
Lloh21:
adrp x8, _HZ@GOTPAGE
Lloh22:
ldr x8, [x8, _HZ@GOTPAGEOFF]
Lloh23:
ldrsw x8, [x8]
lsl x8, x8, #1
str x8, [x26]
Lloh24:
adrp x1, l_.str.5@PAGE
Lloh25:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x19
bl _sdp_dbg_data
mov x0, x25
mov x1, x26
mov w2, #1
bl _sdp_wait_rdmardcompl
Lloh26:
adrp x1, l_.str.6@PAGE
Lloh27:
add x1, x1, l_.str.6@PAGEOFF
mov x0, x19
bl _sdp_dbg_data
add x0, x25, #16
bl _cancel_delayed_work
b LBB0_12
LBB0_20:
Lloh28:
adrp x1, l_.str.7@PAGE
Lloh29:
add x1, x1, l_.str.7@PAGEOFF
b LBB0_11
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpAdd Lloh28, Lloh29
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Error allocating fmr: %d\n"
l_.str.1: ; @.str.1
.asciz "Couldn't get send buffer\n"
l_.str.2: ; @.str.2
.asciz "Error posting SrcAvail\n"
.comm _TX_SA_SENDSM,4,2 ; @TX_SA_SENDSM
l_.str.3: ; @.str.3
.asciz "Got SendSM. use SEND verb.\n"
.comm _TX_SA_ERROR,4,2 ; @TX_SA_ERROR
l_.str.4: ; @.str.4
.asciz "SrcAvail error completion\n"
.comm _zcopy_tx_error,4,2 ; @zcopy_tx_error
.comm _HZ,4,2 ; @HZ
l_.str.5: ; @.str.5
.asciz "Waiting for SendSM\n"
l_.str.6: ; @.str.6
.asciz "finished waiting\n"
l_.str.7: ; @.str.7
.asciz "QP was destroyed while waiting\n"
l_.str.8: ; @.str.8
.asciz "got RdmaRdCompl\n"
.no_dead_strip _do_sdp_sendmsg_zcopy
.subsections_via_symbols
| AnghaBench/freebsd/sys/ofed/drivers/infiniband/ulp/sdp/extr_sdp_zcopy.c_do_sdp_sendmsg_zcopy.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function qed_ll2_establish_connection_ooo
_qed_ll2_establish_connection_ooo: ## @qed_ll2_establish_connection_ooo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq (%rsi), %rax
movq _QED_LL2_TYPE_OOO@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_1
## %bb.2:
movq %rsi, %r14
movq %rdi, %rbx
movl (%rdi), %esi
callq _qed_ooo_release_all_isles
movq %rbx, %rdi
movq %r14, %rsi
popq %rbx
popq %r14
popq %rbp
jmp _qed_ooo_submit_rx_buffers ## TAILCALL
LBB0_1:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _QED_LL2_TYPE_OOO,8,3 ## @QED_LL2_TYPE_OOO
.no_dead_strip _qed_ll2_establish_connection_ooo
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function qed_ll2_establish_connection_ooo
_qed_ll2_establish_connection_ooo: ; @qed_ll2_establish_connection_ooo
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldr x8, [x1]
Lloh0:
adrp x9, _QED_LL2_TYPE_OOO@GOTPAGE
Lloh1:
ldr x9, [x9, _QED_LL2_TYPE_OOO@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_2
; %bb.1:
mov x19, x1
mov x20, x0
ldr w1, [x0]
bl _qed_ooo_release_all_isles
mov x0, x20
mov x1, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _qed_ooo_submit_rx_buffers
LBB0_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _QED_LL2_TYPE_OOO,8,3 ; @QED_LL2_TYPE_OOO
.no_dead_strip _qed_ll2_establish_connection_ooo
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_ll2.c_qed_ll2_establish_connection_ooo.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ## -- Begin function foo
.p2align 4, 0x90
_foo: ## @foo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorps %xmm0, %xmm0
movq _a@GOTPCREL(%rip), %rdx
movups %xmm0, (%rdx)
movq (%rdx), %rax
movq _b@GOTPCREL(%rip), %rsi
bswapq %rax
movq (%rsi), %rcx
bswapq %rcx
cmpq %rcx, %rax
jne LBB0_2
## %bb.1:
movq 8(%rdx), %rax
movq 8(%rsi), %rcx
bswapq %rax
bswapq %rcx
xorl %edx, %edx
cmpq %rcx, %rax
je LBB0_3
LBB0_2:
xorl %edx, %edx
cmpq %rcx, %rax
setae %dl
addl %edx, %edx
decl %edx
LBB0_3:
movq _x@GOTPCREL(%rip), %rax
movl %edx, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _a,16,2 ## @a
.comm _b,16,2 ## @b
.comm _x,4,2 ## @x
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.cfi_startproc
; %bb.0:
Lloh0:
adrp x10, _a@GOTPAGE
Lloh1:
ldr x10, [x10, _a@GOTPAGEOFF]
stp xzr, xzr, [x10]
mov x8, xzr
Lloh2:
adrp x11, _b@GOTPAGE
Lloh3:
ldr x11, [x11, _b@GOTPAGEOFF]
ldr x9, [x11]
rev x8, x8
rev x9, x9
cmp x8, x9
b.ne LBB0_3
; %bb.1:
ldr x8, [x10, #8]
ldr x9, [x11, #8]
rev x8, x8
rev x9, x9
cmp x8, x9
b.ne LBB0_3
; %bb.2:
mov w8, #0
b LBB0_4
LBB0_3:
cmp x8, x9
mov w8, #-1
cneg w8, w8, hs
LBB0_4:
Lloh4:
adrp x9, _x@GOTPAGE
Lloh5:
ldr x9, [x9, _x@GOTPAGEOFF]
Lloh6:
str w8, [x9]
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotStr Lloh4, Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _a,16,2 ; @a
.comm _b,16,2 ; @b
.comm _x,4,2 ; @x
.subsections_via_symbols
| the_stack_data/225142371.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mkfmt ## -- Begin function mkfmt
.p2align 4, 0x90
_mkfmt: ## @mkfmt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r13
movq %rdx, %rbx
movl %esi, %r12d
movl %edi, %r15d
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl $200, %edi
callq _malloc
movq %rax, %r14
testq %rax, %rax
jne LBB0_2
## %bb.1:
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
movl $1, %edi
callq _error
LBB0_2:
movzwl %r13w, %ecx
shrl $16, %r13d
leaq 2(%rbx), %rax
movl %ecx, -68(%rbp) ## 4-byte Spill
cmpl %r13d, %ecx
movq %rax, %rcx
cmovbq %rbx, %rcx
cmovaeq %rbx, %rax
movq %rcx, -64(%rbp)
movq %rax, -56(%rbp)
movq %r14, %rdi
movl $3, %esi
movl %r15d, %edx
callq _memset
movq %r15, -80(%rbp) ## 8-byte Spill
movslq %r15d, %r15
leaq (%r14,%r15), %rdi
leaq L_.str.1(%rip), %rbx
movq %rbx, %rsi
movl $4, %edx
callq _memcpy
leaq (%r14,%r15), %rdi
addq $4, %rdi
leaq -64(%rbp), %rsi
movl $4, %edx
callq _memcpy
leaq (%r14,%r15), %rdi
addq $8, %rdi
movq %rbx, %rsi
movl $4, %edx
callq _memcpy
leaq (%r14,%r15), %rdi
addq $12, %rdi
leaq -56(%rbp), %rsi
movl $4, %edx
callq _memcpy
leaq (%r14,%r15), %rbx
addq $16, %rbx
testl %r12d, %r12d
movq %r12, -88(%rbp) ## 8-byte Spill
jle LBB0_5
## %bb.3:
leaq L_.str.2(%rip), %r15
## kill: def $r12d killed $r12d killed $r12
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
movq %r15, %rsi
movl $4, %edx
callq _memcpy
addq $4, %rbx
decl %r12d
jne LBB0_4
LBB0_5:
movl -68(%rbp), %eax ## 4-byte Reload
cmpl %r13d, %eax
movl %r13d, %ecx
cmoval %eax, %ecx
cmovbl %eax, %r13d
movq -88(%rbp), %rax ## 8-byte Reload
movq -80(%rbp), %rdx ## 8-byte Reload
leal (%rdx,%rax,8), %eax
negl %eax
leal (%rax,%r13), %edx
addl $-46, %edx
subl %r13d, %ecx
leaq L_.str.3(%rip), %rsi
movq %rbx, %rdi
callq _sprintf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_7
## %bb.6:
movq %r14, %rax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_7:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _errno,4,2 ## @errno
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "failed to malloc"
L_.str.1: ## @.str.1
.asciz "\001\001\001\001"
L_.str.2: ## @.str.2
.asciz "%.8x"
L_.str.3: ## @.str.3
.asciz "%%.%dx%%hn%%.%dx%%hn"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mkfmt ; -- Begin function mkfmt
.p2align 2
_mkfmt: ; @mkfmt
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x23, x3
mov x22, x2
mov x20, x1
mov x21, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #24]
mov w0, #200
bl _malloc
mov x19, x0
cbnz x0, LBB0_2
; %bb.1:
Lloh3:
adrp x8, _errno@GOTPAGE
Lloh4:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
Lloh6:
adrp x2, l_.str@PAGE
Lloh7:
add x2, x2, l_.str@PAGEOFF
mov w0, #1
bl _error
LBB0_2:
and w25, w23, #0xffff
ubfx x26, x23, #16, #16
add x8, x22, #2
cmp w25, w26
csel x9, x22, x8, lo
csel x8, x8, x22, lo
add x10, sp, #8
add x22, x10, #8
stp x9, x8, [sp, #8]
mov x0, x19
mov w1, #3
mov x2, x21
bl _memset
add x23, x19, w21, sxtw
Lloh8:
adrp x24, l_.str.1@PAGE
Lloh9:
add x24, x24, l_.str.1@PAGEOFF
mov x0, x23
mov x1, x24
mov w2, #4
bl _memcpy
add x0, x23, #4
add x1, sp, #8
mov w2, #4
bl _memcpy
add x0, x23, #8
mov x1, x24
mov w2, #4
bl _memcpy
add x0, x23, #12
mov x1, x22
mov w2, #4
bl _memcpy
add x22, x23, #16
cmp w20, #1
b.lt LBB0_5
; %bb.3:
Lloh10:
adrp x23, l_.str.2@PAGE
Lloh11:
add x23, x23, l_.str.2@PAGEOFF
mov x24, x20
LBB0_4: ; =>This Inner Loop Header: Depth=1
mov x0, x22
mov x1, x23
mov w2, #4
bl _memcpy
add x22, x22, #4
subs w24, w24, #1
b.ne LBB0_4
LBB0_5:
cmp w25, w26
csel w8, w25, w26, hi
csel w9, w25, w26, lo
add w10, w21, w20, lsl #3
sub w10, w9, w10
sub w2, w10, #46
sub w3, w8, w9
Lloh12:
adrp x1, l_.str.3@PAGE
Lloh13:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x22
bl _sprintf
ldr x8, [sp, #24]
Lloh14:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh15:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_7
; %bb.6:
mov x0, x19
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_7:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _errno,4,2 ; @errno
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "failed to malloc"
l_.str.1: ; @.str.1
.asciz "\001\001\001\001"
l_.str.2: ; @.str.2
.asciz "%.8x"
l_.str.3: ; @.str.3
.asciz "%%.%dx%%hn%%.%dx%%hn"
.subsections_via_symbols
| AnghaBench/exploitdb/exploits/unix/local/extr_20154.c_mkfmt.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _abc ## -- Begin function abc
.p2align 4, 0x90
_abc: ## @abc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $2, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _abc ; -- Begin function abc
.p2align 2
_abc: ; @abc
.cfi_startproc
; %bb.0:
mov w0, #2
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/11063.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ucma_event_handler
_ucma_event_handler: ## @ucma_event_handler
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r12
movq %rdi, %r15
movq 16(%rdi), %r14
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $40, %edi
callq _kzalloc
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %rbx
movq (%r14), %rdi
callq _mutex_lock
movq %r15, 32(%rbx)
movq %r14, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq _ucma_set_event_context
movq (%r12), %rax
movq %rax, 8(%rbx)
movl 16(%r12), %eax
movl %eax, 24(%rbx)
movq (%r15), %rax
movq _IB_QPT_UD@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_4
## %bb.3:
movl 8(%r15), %edi
movq %rbx, %rsi
addq $20, %rsi
leaq 12(%r12), %rdx
callq _ucma_copy_ud_event
jmp LBB0_5
LBB0_1:
movq (%r12), %rax
movq _RDMA_CM_EVENT_CONNECT_REQUEST@GOTPCREL(%rip), %rcx
xorl %r12d, %r12d
cmpq (%rcx), %rax
sete %r12b
jmp LBB0_17
LBB0_4:
movq %rbx, %rdi
addq $16, %rdi
leaq 8(%r12), %rsi
callq _ucma_copy_conn_event
LBB0_5:
movq (%r12), %rax
movq _RDMA_CM_EVENT_CONNECT_REQUEST@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_8
## %bb.6:
movl 20(%r14), %eax
testl %eax, %eax
je LBB0_7
## %bb.13:
decl %eax
movl %eax, 20(%r14)
jmp LBB0_14
LBB0_8:
cmpl $0, 16(%r14)
je LBB0_10
## %bb.9:
cmpq %r15, 8(%r14)
je LBB0_14
LBB0_10:
movq _RDMA_CM_EVENT_DEVICE_REMOVAL@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_12
## %bb.11:
movq %r15, %rdi
callq _ucma_removal_event_handler
LBB0_12:
movq %rbx, %rdi
callq _kfree
xorl %r12d, %r12d
jmp LBB0_16
LBB0_14:
movq (%r14), %rsi
addq $8, %rsi
movq %rbx, %rdi
callq _list_add_tail
movq (%r14), %rdi
addq $4, %rdi
callq _wake_up_interruptible
movq (%r12), %rax
movq _RDMA_CM_EVENT_DEVICE_REMOVAL@GOTPCREL(%rip), %rcx
xorl %r12d, %r12d
cmpq (%rcx), %rax
jne LBB0_16
## %bb.15:
movq %r15, %rdi
callq _ucma_removal_event_handler
jmp LBB0_16
LBB0_7:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %r12d, %r12d
subl (%rax), %r12d
movq %rbx, %rdi
callq _kfree
LBB0_16:
movq (%r14), %rdi
callq _mutex_unlock
LBB0_17:
movl %r12d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _RDMA_CM_EVENT_CONNECT_REQUEST,8,3 ## @RDMA_CM_EVENT_CONNECT_REQUEST
.comm _IB_QPT_UD,8,3 ## @IB_QPT_UD
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _RDMA_CM_EVENT_DEVICE_REMOVAL,8,3 ## @RDMA_CM_EVENT_DEVICE_REMOVAL
.no_dead_strip _ucma_event_handler
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ucma_event_handler
_ucma_event_handler: ; @ucma_event_handler
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x1
mov x20, x0
ldr x19, [x0, #16]
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov w0, #40
bl _kzalloc
cbz x0, LBB0_3
; %bb.1:
mov x22, x0
ldr x0, [x19]
bl _mutex_lock
str x20, [x22, #32]
mov x0, x19
mov x1, x21
mov x2, x22
bl _ucma_set_event_context
ldr x8, [x21]
str x8, [x22, #8]
ldr w8, [x21, #16]
str w8, [x22, #24]
ldr x8, [x20]
Lloh3:
adrp x9, _IB_QPT_UD@GOTPAGE
Lloh4:
ldr x9, [x9, _IB_QPT_UD@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_4
; %bb.2:
ldr w0, [x20, #8]
add x1, x22, #20
add x2, x21, #12
bl _ucma_copy_ud_event
b LBB0_5
LBB0_3:
ldr x8, [x21]
Lloh6:
adrp x9, _RDMA_CM_EVENT_CONNECT_REQUEST@GOTPAGE
Lloh7:
ldr x9, [x9, _RDMA_CM_EVENT_CONNECT_REQUEST@GOTPAGEOFF]
Lloh8:
ldr x9, [x9]
cmp x8, x9
cset w20, eq
b LBB0_18
LBB0_4:
add x0, x22, #16
add x1, x21, #8
bl _ucma_copy_conn_event
LBB0_5:
ldr x8, [x21]
Lloh9:
adrp x9, _RDMA_CM_EVENT_CONNECT_REQUEST@GOTPAGE
Lloh10:
ldr x9, [x9, _RDMA_CM_EVENT_CONNECT_REQUEST@GOTPAGEOFF]
Lloh11:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_8
; %bb.6:
ldr w8, [x19, #20]
cbz w8, LBB0_16
; %bb.7:
sub w8, w8, #1
str w8, [x19, #20]
b LBB0_13
LBB0_8:
ldr w9, [x19, #16]
cbz w9, LBB0_10
; %bb.9:
ldr x9, [x19, #8]
cmp x9, x20
b.eq LBB0_13
LBB0_10:
Lloh12:
adrp x9, _RDMA_CM_EVENT_DEVICE_REMOVAL@GOTPAGE
Lloh13:
ldr x9, [x9, _RDMA_CM_EVENT_DEVICE_REMOVAL@GOTPAGEOFF]
Lloh14:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_12
; %bb.11:
mov x0, x20
bl _ucma_removal_event_handler
LBB0_12:
mov x0, x22
bl _kfree
b LBB0_15
LBB0_13:
ldr x8, [x19]
add x1, x8, #8
mov x0, x22
bl _list_add_tail
ldr x8, [x19]
add x0, x8, #4
bl _wake_up_interruptible
ldr x8, [x21]
Lloh15:
adrp x9, _RDMA_CM_EVENT_DEVICE_REMOVAL@GOTPAGE
Lloh16:
ldr x9, [x9, _RDMA_CM_EVENT_DEVICE_REMOVAL@GOTPAGEOFF]
Lloh17:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_15
; %bb.14:
mov x0, x20
bl _ucma_removal_event_handler
LBB0_15:
mov w20, #0
b LBB0_17
LBB0_16:
Lloh18:
adrp x8, _ENOMEM@GOTPAGE
Lloh19:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh20:
ldr w8, [x8]
neg w20, w8
mov x0, x22
bl _kfree
LBB0_17:
ldr x0, [x19]
bl _mutex_unlock
LBB0_18:
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _RDMA_CM_EVENT_CONNECT_REQUEST,8,3 ; @RDMA_CM_EVENT_CONNECT_REQUEST
.comm _IB_QPT_UD,8,3 ; @IB_QPT_UD
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _RDMA_CM_EVENT_DEVICE_REMOVAL,8,3 ; @RDMA_CM_EVENT_DEVICE_REMOVAL
.no_dead_strip _ucma_event_handler
.subsections_via_symbols
| AnghaBench/linux/drivers/infiniband/core/extr_ucma.c_ucma_event_handler.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function repaper_probe
LCPI0_0:
.long 480 ## 0x1e0
.long 24 ## 0x18
.long 1 ## 0x1
.long 0 ## 0x0
LCPI0_1:
.long 630 ## 0x276
.long 44 ## 0x2c
.long 1 ## 0x1
.long 1 ## 0x1
LCPI0_2:
.long 480 ## 0x1e0
.long 24 ## 0x18
.long 1 ## 0x1
.long 1 ## 0x1
LCPI0_3:
.long 480 ## 0x1e0
.long 16 ## 0x10
.long 0 ## 0x0
.long 0 ## 0x0
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_repaper_probe: ## @repaper_probe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
leaq 4(%rdi), %r13
movq _repaper_of_match@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %r13, %rsi
callq _of_match_device
testq %rax, %rax
jne LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _spi_get_device_id
LBB0_2:
movl (%rax), %r15d
cmpl $0, (%r13)
je LBB0_3
LBB0_5:
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $160, %edi
callq _kzalloc
testq %rax, %rax
je LBB0_6
## %bb.8:
movq %rax, %r12
movq %rbx, -48(%rbp) ## 8-byte Spill
movq %r15, -64(%rbp) ## 8-byte Spill
leaq 136(%rax), %r15
movq _repaper_driver@GOTPCREL(%rip), %rdx
movq %r13, %rdi
movq %r15, %rsi
callq _devm_drm_dev_init
testl %eax, %eax
je LBB0_10
## %bb.9:
movl %eax, %r14d
movq %r12, %rdi
callq _kfree
jmp LBB0_41
LBB0_3:
movl $32, %edi
callq _DMA_BIT_MASK
movq %r13, %rdi
movl %eax, %esi
callq _dma_coerce_mask_and_coherent
testl %eax, %eax
je LBB0_5
## %bb.4:
movl %eax, %r14d
leaq L_.str(%rip), %rsi
movq %r13, %rdi
movl %eax, %edx
callq _dev_warn
jmp LBB0_41
LBB0_10:
movq %r15, %rdi
callq _drm_mode_config_init
movq _repaper_mode_config_funcs@GOTPCREL(%rip), %rax
movq %rax, 152(%r12)
movq -48(%rbp), %rax ## 8-byte Reload
movq %rax, 128(%r12)
movq _GPIOD_OUT_LOW@GOTPCREL(%rip), %rbx
movl (%rbx), %edx
leaq L_.str.1(%rip), %rsi
movq %r13, %rdi
callq _devm_gpiod_get
movq %rax, 120(%r12)
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_14
## %bb.11:
movq 120(%r12), %rdi
callq _PTR_ERR
movl %eax, %r14d
movq _EPROBE_DEFER@GOTPCREL(%rip), %rax
movl %r14d, %ecx
addl (%rax), %ecx
je LBB0_41
## %bb.12:
leaq L_.str.2(%rip), %rsi
jmp LBB0_13
LBB0_14:
movl (%rbx), %edx
leaq L_.str.3(%rip), %rsi
movq %r13, %rdi
callq _devm_gpiod_get
movq %rax, 112(%r12)
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_17
## %bb.15:
movq 112(%r12), %rdi
callq _PTR_ERR
movl %eax, %r14d
movq _EPROBE_DEFER@GOTPCREL(%rip), %rax
movl %r14d, %ecx
addl (%rax), %ecx
je LBB0_41
## %bb.16:
leaq L_.str.4(%rip), %rsi
jmp LBB0_13
LBB0_17:
movl (%rbx), %edx
leaq L_.str.5(%rip), %rsi
movq %r13, %rdi
callq _devm_gpiod_get
movq %rax, 104(%r12)
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_20
## %bb.18:
movq 104(%r12), %rdi
callq _PTR_ERR
movl %eax, %r14d
movq _EPROBE_DEFER@GOTPCREL(%rip), %rax
movl %r14d, %ecx
addl (%rax), %ecx
je LBB0_41
## %bb.19:
leaq L_.str.6(%rip), %rsi
jmp LBB0_13
LBB0_20:
movq _GPIOD_IN@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str.7(%rip), %rsi
movq %r13, %rdi
callq _devm_gpiod_get
movq %rax, 96(%r12)
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_23
## %bb.21:
movq 96(%r12), %rdi
callq _PTR_ERR
movl %eax, %r14d
movq _EPROBE_DEFER@GOTPCREL(%rip), %rax
movl %r14d, %ecx
addl (%rax), %ecx
je LBB0_41
## %bb.22:
leaq L_.str.8(%rip), %rsi
LBB0_13:
movq %r13, %rdi
xorl %eax, %eax
callq _DRM_DEV_ERROR
jmp LBB0_41
LBB0_23:
leaq L_.str.9(%rip), %rsi
leaq -56(%rbp), %rdx
movq %r13, %rdi
callq _device_property_read_string
testl %eax, %eax
je LBB0_24
LBB0_26:
movq -64(%rbp), %rsi ## 8-byte Reload
addl $-128, %esi
cmpl $3, %esi
ja LBB0_33
## %bb.27:
movdqa LCPI0_0(%rip), %xmm0 ## xmm0 = [480,24,1,0]
movq _repaper_e1144cs021_mode@GOTPCREL(%rip), %r14
movq _REPAPER_BORDER_BYTE_ZERO@GOTPCREL(%rip), %rax
movq _repaper_e1144cs021_cs@GOTPCREL(%rip), %rcx
leaq LJTI0_0(%rip), %rdx
movslq (%rdx,%rsi,4), %rsi
addq %rdx, %rsi
jmpq *%rsi
LBB0_29:
movl (%rbx), %edx
leaq L_.str.11(%rip), %rsi
movq %r13, %rdi
callq _devm_gpiod_get
movq %rax, 80(%r12)
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_30
## %bb.31:
movq 80(%r12), %rdi
callq _PTR_ERR
movl %eax, %r14d
movq _EPROBE_DEFER@GOTPCREL(%rip), %rax
movl %r14d, %ecx
addl (%rax), %ecx
je LBB0_41
## %bb.32:
leaq L_.str.12(%rip), %rsi
jmp LBB0_13
LBB0_24:
movq -56(%rbp), %rdi
callq _thermal_zone_get_zone_by_name
movq %rax, 88(%r12)
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_26
## %bb.25:
movq -56(%rbp), %rdx
leaq L_.str.10(%rip), %rsi
movq %r13, %rdi
xorl %eax, %eax
callq _DRM_DEV_ERROR
movq 88(%r12), %rdi
callq _PTR_ERR
movl %eax, %r14d
jmp LBB0_41
LBB0_33:
movq _ENODEV@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_28:
movdqa LCPI0_2(%rip), %xmm0 ## xmm0 = [480,24,1,1]
movq _repaper_e2200cs021_mode@GOTPCREL(%rip), %r14
movq _REPAPER_BORDER_BYTE_NONE@GOTPCREL(%rip), %rax
movq _repaper_e2200cs021_cs@GOTPCREL(%rip), %rcx
jmp LBB0_35
LBB0_34:
movdqa LCPI0_3(%rip), %xmm0 ## xmm0 = [480,16,0,0]
movq _repaper_e1190cs021_mode@GOTPCREL(%rip), %r14
movq _REPAPER_BORDER_BYTE_SET@GOTPCREL(%rip), %rax
movq _repaper_e1190cs021_cs@GOTPCREL(%rip), %rcx
jmp LBB0_35
LBB0_30:
movdqa LCPI0_1(%rip), %xmm0 ## xmm0 = [630,44,1,1]
movq _repaper_e2271cs021_mode@GOTPCREL(%rip), %r14
movq _REPAPER_BORDER_BYTE_NONE@GOTPCREL(%rip), %rax
movq _repaper_e2271cs021_cs@GOTPCREL(%rip), %rcx
LBB0_35:
movl (%rcx), %ecx
movl %ecx, 72(%r12)
movdqu %xmm0, (%r12)
movq (%rax), %rax
movq %rax, 64(%r12)
movq %r14, 56(%r12)
movl (%r14), %eax
movl %eax, 16(%r12)
movl 4(%r14), %ecx
movl %ecx, 20(%r12)
movd %xmm0, 24(%r12)
leal 3(%rax), %ecx
testl %eax, %eax
cmovnsl %eax, %ecx
sarl $2, %ecx
pextrd $1, %xmm0, %eax
leal (%rcx,%rax), %esi
addl $2, %esi
movq _GFP_KERNEL@GOTPCREL(%rip), %rbx
movl (%rbx), %edx
movq %r13, %rdi
callq _devm_kzalloc
movq %rax, 48(%r12)
testq %rax, %rax
je LBB0_6
## %bb.36:
movl 20(%r12), %eax
imull 16(%r12), %eax
leal 7(%rax), %esi
testl %eax, %eax
cmovnsl %eax, %esi
sarl $3, %esi
movl (%rbx), %edx
movq %r13, %rdi
callq _devm_kzalloc
movq %rax, 40(%r12)
testq %rax, %rax
je LBB0_6
## %bb.37:
movq (%r14), %xmm0 ## xmm0 = mem[0],zero
pshufd $80, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,1,1]
movdqu %xmm0, 136(%r12)
leaq 28(%r12), %r13
movq _repaper_connector_hfuncs@GOTPCREL(%rip), %rsi
movq %r13, %rdi
callq _drm_connector_helper_add
movq _DRM_MODE_CONNECTOR_SPI@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _repaper_connector_funcs@GOTPCREL(%rip), %rdx
movq %r15, %rdi
movq %r13, %rsi
callq _drm_connector_init
movl %eax, %r14d
testl %eax, %eax
jne LBB0_41
## %bb.38:
addq $32, %r12
movq _repaper_formats@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl %ebx, %edi
callq _ARRAY_SIZE
movq %r13, (%rsp)
movq _repaper_pipe_funcs@GOTPCREL(%rip), %rdx
movq %r15, %rdi
movq %r12, %rsi
movl %ebx, %ecx
movl %eax, %r8d
xorl %r9d, %r9d
callq _drm_simple_display_pipe_init
movl %eax, %r14d
testl %eax, %eax
jne LBB0_41
## %bb.39:
movq %r15, %rdi
callq _drm_mode_config_reset
movq %r15, %rdi
xorl %esi, %esi
callq _drm_dev_register
movl %eax, %r14d
testl %eax, %eax
jne LBB0_41
## %bb.40:
movq -48(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
movq %r15, %rsi
callq _spi_set_drvdata
movslq (%rbx), %rax
imulq $1125899907, %rax, %rsi ## imm = 0x431BDE83
movq %rsi, %rax
shrq $63, %rax
sarq $50, %rsi
addl %eax, %esi
leaq L_.str.13(%rip), %rdi
## kill: def $esi killed $esi killed $rsi
callq _DRM_DEBUG_DRIVER
movq %r15, %rdi
xorl %esi, %esi
callq _drm_fbdev_generic_setup
xorl %r14d, %r14d
jmp LBB0_41
LBB0_6:
movq _ENOMEM@GOTPCREL(%rip), %rax
LBB0_7:
xorl %r14d, %r14d
subl (%rax), %r14d
LBB0_41:
movl %r14d, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_35, LBB0_35-LJTI0_0
LJTI0_0:
.long L0_0_set_29
.long L0_0_set_28
.long L0_0_set_34
.long L0_0_set_35
.end_data_region
## -- End function
.comm _repaper_of_match,4,2 ## @repaper_of_match
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Failed to set dma mask %d\n"
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _repaper_driver,4,2 ## @repaper_driver
.comm _repaper_mode_config_funcs,4,2 ## @repaper_mode_config_funcs
L_.str.1: ## @.str.1
.asciz "panel-on"
.comm _GPIOD_OUT_LOW,4,2 ## @GPIOD_OUT_LOW
.comm _EPROBE_DEFER,4,2 ## @EPROBE_DEFER
L_.str.2: ## @.str.2
.asciz "Failed to get gpio 'panel-on'\n"
L_.str.3: ## @.str.3
.asciz "discharge"
L_.str.4: ## @.str.4
.asciz "Failed to get gpio 'discharge'\n"
L_.str.5: ## @.str.5
.asciz "reset"
L_.str.6: ## @.str.6
.asciz "Failed to get gpio 'reset'\n"
L_.str.7: ## @.str.7
.asciz "busy"
.comm _GPIOD_IN,4,2 ## @GPIOD_IN
L_.str.8: ## @.str.8
.asciz "Failed to get gpio 'busy'\n"
L_.str.9: ## @.str.9
.asciz "pervasive,thermal-zone"
L_.str.10: ## @.str.10
.asciz "Failed to get thermal zone: %s\n"
.comm _repaper_e1144cs021_mode,8,2 ## @repaper_e1144cs021_mode
.comm _repaper_e1144cs021_cs,4,2 ## @repaper_e1144cs021_cs
.comm _REPAPER_BORDER_BYTE_ZERO,8,3 ## @REPAPER_BORDER_BYTE_ZERO
.comm _repaper_e1190cs021_mode,8,2 ## @repaper_e1190cs021_mode
.comm _repaper_e1190cs021_cs,4,2 ## @repaper_e1190cs021_cs
.comm _REPAPER_BORDER_BYTE_SET,8,3 ## @REPAPER_BORDER_BYTE_SET
.comm _repaper_e2200cs021_mode,8,2 ## @repaper_e2200cs021_mode
.comm _repaper_e2200cs021_cs,4,2 ## @repaper_e2200cs021_cs
.comm _REPAPER_BORDER_BYTE_NONE,8,3 ## @REPAPER_BORDER_BYTE_NONE
L_.str.11: ## @.str.11
.asciz "border"
L_.str.12: ## @.str.12
.asciz "Failed to get gpio 'border'\n"
.comm _repaper_e2271cs021_mode,8,2 ## @repaper_e2271cs021_mode
.comm _repaper_e2271cs021_cs,4,2 ## @repaper_e2271cs021_cs
.comm _ENODEV,4,2 ## @ENODEV
.comm _repaper_connector_hfuncs,4,2 ## @repaper_connector_hfuncs
.comm _repaper_connector_funcs,4,2 ## @repaper_connector_funcs
.comm _DRM_MODE_CONNECTOR_SPI,4,2 ## @DRM_MODE_CONNECTOR_SPI
.comm _repaper_pipe_funcs,4,2 ## @repaper_pipe_funcs
.comm _repaper_formats,4,2 ## @repaper_formats
L_.str.13: ## @.str.13
.asciz "SPI speed: %uMHz\n"
.no_dead_strip _repaper_probe
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function repaper_probe
lCPI0_0:
.long 24 ; 0x18
.long 1 ; 0x1
lCPI0_1:
.long 44 ; 0x2c
.long 1 ; 0x1
lCPI0_2:
.long 16 ; 0x10
.long 0 ; 0x0
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_repaper_probe: ; @repaper_probe
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x0
add x20, x0, #4
Lloh0:
adrp x8, _repaper_of_match@GOTPAGE
Lloh1:
ldr x8, [x8, _repaper_of_match@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
mov x1, x20
bl _of_match_device
cbnz x0, LBB0_2
; %bb.1:
mov x0, x19
bl _spi_get_device_id
LBB0_2:
ldr w25, [x0]
ldr w8, [x20]
cbz w8, LBB0_6
LBB0_3:
Lloh3:
adrp x24, _GFP_KERNEL@GOTPAGE
Lloh4:
ldr x24, [x24, _GFP_KERNEL@GOTPAGEOFF]
ldr w1, [x24]
mov w0, #160
bl _kzalloc
cbz x0, LBB0_39
; %bb.4:
mov x22, x0
add x21, x0, #136
Lloh5:
adrp x2, _repaper_driver@GOTPAGE
Lloh6:
ldr x2, [x2, _repaper_driver@GOTPAGEOFF]
mov x0, x20
mov x1, x21
bl _devm_drm_dev_init
cbz w0, LBB0_8
; %bb.5:
mov x23, x0
mov x0, x22
bl _kfree
b LBB0_41
LBB0_6:
mov w0, #32
bl _DMA_BIT_MASK
mov x1, x0
mov x0, x20
bl _dma_coerce_mask_and_coherent
cbz w0, LBB0_3
; %bb.7:
mov x23, x0
Lloh7:
adrp x1, l_.str@PAGE
Lloh8:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
mov x2, x23
bl _dev_warn
b LBB0_41
LBB0_8:
mov x0, x21
bl _drm_mode_config_init
Lloh9:
adrp x8, _repaper_mode_config_funcs@GOTPAGE
Lloh10:
ldr x8, [x8, _repaper_mode_config_funcs@GOTPAGEOFF]
str x8, [x22, #152]
str x19, [x22, #128]
Lloh11:
adrp x26, _GPIOD_OUT_LOW@GOTPAGE
Lloh12:
ldr x26, [x26, _GPIOD_OUT_LOW@GOTPAGEOFF]
ldr w2, [x26]
Lloh13:
adrp x1, l_.str.1@PAGE
Lloh14:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x20
bl _devm_gpiod_get
str x0, [x22, #120]
bl _IS_ERR
cbz x0, LBB0_11
; %bb.9:
ldr x0, [x22, #120]
bl _PTR_ERR
mov x23, x0
Lloh15:
adrp x8, _EPROBE_DEFER@GOTPAGE
Lloh16:
ldr x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
cmn w0, w8
b.eq LBB0_41
; %bb.10:
Lloh18:
adrp x1, l_.str.2@PAGE
Lloh19:
add x1, x1, l_.str.2@PAGEOFF
b LBB0_20
LBB0_11:
ldr w2, [x26]
Lloh20:
adrp x1, l_.str.3@PAGE
Lloh21:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x20
bl _devm_gpiod_get
str x0, [x22, #112]
bl _IS_ERR
cbz x0, LBB0_14
; %bb.12:
ldr x0, [x22, #112]
bl _PTR_ERR
mov x23, x0
Lloh22:
adrp x8, _EPROBE_DEFER@GOTPAGE
Lloh23:
ldr x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh24:
ldr w8, [x8]
cmn w0, w8
b.eq LBB0_41
; %bb.13:
Lloh25:
adrp x1, l_.str.4@PAGE
Lloh26:
add x1, x1, l_.str.4@PAGEOFF
b LBB0_20
LBB0_14:
ldr w2, [x26]
Lloh27:
adrp x1, l_.str.5@PAGE
Lloh28:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x20
bl _devm_gpiod_get
str x0, [x22, #104]
bl _IS_ERR
cbz x0, LBB0_17
; %bb.15:
ldr x0, [x22, #104]
bl _PTR_ERR
mov x23, x0
Lloh29:
adrp x8, _EPROBE_DEFER@GOTPAGE
Lloh30:
ldr x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh31:
ldr w8, [x8]
cmn w0, w8
b.eq LBB0_41
; %bb.16:
Lloh32:
adrp x1, l_.str.6@PAGE
Lloh33:
add x1, x1, l_.str.6@PAGEOFF
b LBB0_20
LBB0_17:
Lloh34:
adrp x8, _GPIOD_IN@GOTPAGE
Lloh35:
ldr x8, [x8, _GPIOD_IN@GOTPAGEOFF]
Lloh36:
ldr w2, [x8]
Lloh37:
adrp x1, l_.str.7@PAGE
Lloh38:
add x1, x1, l_.str.7@PAGEOFF
mov x0, x20
bl _devm_gpiod_get
str x0, [x22, #96]
bl _IS_ERR
cbz x0, LBB0_21
; %bb.18:
ldr x0, [x22, #96]
bl _PTR_ERR
mov x23, x0
Lloh39:
adrp x8, _EPROBE_DEFER@GOTPAGE
Lloh40:
ldr x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh41:
ldr w8, [x8]
cmn w0, w8
b.eq LBB0_41
; %bb.19:
Lloh42:
adrp x1, l_.str.8@PAGE
Lloh43:
add x1, x1, l_.str.8@PAGEOFF
LBB0_20:
mov x0, x20
bl _DRM_DEV_ERROR
b LBB0_41
LBB0_21:
Lloh44:
adrp x1, l_.str.9@PAGE
Lloh45:
add x1, x1, l_.str.9@PAGEOFF
add x2, sp, #8
mov x0, x20
bl _device_property_read_string
cbz w0, LBB0_27
LBB0_22:
sub w12, w25, #128
cmp w12, #3
b.hi LBB0_29
; %bb.23:
mov w8, #0
Lloh46:
adrp x9, lCPI0_0@PAGE
Lloh47:
ldr d0, [x9, lCPI0_0@PAGEOFF]
Lloh48:
adrp x23, _repaper_e1144cs021_mode@GOTPAGE
Lloh49:
ldr x23, [x23, _repaper_e1144cs021_mode@GOTPAGEOFF]
Lloh50:
adrp x9, _REPAPER_BORDER_BYTE_ZERO@GOTPAGE
Lloh51:
ldr x9, [x9, _REPAPER_BORDER_BYTE_ZERO@GOTPAGEOFF]
mov w10, #480
Lloh52:
adrp x11, _repaper_e1144cs021_cs@GOTPAGE
Lloh53:
ldr x11, [x11, _repaper_e1144cs021_cs@GOTPAGEOFF]
Lloh54:
adrp x13, lJTI0_0@PAGE
Lloh55:
add x13, x13, lJTI0_0@PAGEOFF
adr x14, LBB0_24
ldrb w15, [x13, x12]
add x14, x14, x15, lsl #2
br x14
LBB0_24:
ldr w2, [x26]
Lloh56:
adrp x1, l_.str.11@PAGE
Lloh57:
add x1, x1, l_.str.11@PAGEOFF
mov x0, x20
bl _devm_gpiod_get
str x0, [x22, #80]
bl _IS_ERR
cbz x0, LBB0_32
; %bb.25:
ldr x0, [x22, #80]
bl _PTR_ERR
mov x23, x0
Lloh58:
adrp x8, _EPROBE_DEFER@GOTPAGE
Lloh59:
ldr x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh60:
ldr w8, [x8]
cmn w0, w8
b.eq LBB0_41
; %bb.26:
Lloh61:
adrp x1, l_.str.12@PAGE
Lloh62:
add x1, x1, l_.str.12@PAGEOFF
b LBB0_20
LBB0_27:
ldr x0, [sp, #8]
bl _thermal_zone_get_zone_by_name
str x0, [x22, #88]
bl _IS_ERR
cbz x0, LBB0_22
; %bb.28:
ldr x8, [sp, #8]
str x8, [sp]
Lloh63:
adrp x1, l_.str.10@PAGE
Lloh64:
add x1, x1, l_.str.10@PAGEOFF
mov x0, x20
bl _DRM_DEV_ERROR
ldr x0, [x22, #88]
bl _PTR_ERR
mov x23, x0
b LBB0_41
LBB0_29:
Lloh65:
adrp x8, _ENODEV@GOTPAGE
Lloh66:
ldr x8, [x8, _ENODEV@GOTPAGEOFF]
b LBB0_40
LBB0_30:
Lloh67:
adrp x23, _repaper_e2200cs021_mode@GOTPAGE
Lloh68:
ldr x23, [x23, _repaper_e2200cs021_mode@GOTPAGEOFF]
Lloh69:
adrp x9, _REPAPER_BORDER_BYTE_NONE@GOTPAGE
Lloh70:
ldr x9, [x9, _REPAPER_BORDER_BYTE_NONE@GOTPAGEOFF]
mov w8, #1
mov w10, #480
Lloh71:
adrp x11, _repaper_e2200cs021_cs@GOTPAGE
Lloh72:
ldr x11, [x11, _repaper_e2200cs021_cs@GOTPAGEOFF]
b LBB0_33
LBB0_31:
mov w8, #0
Lloh73:
adrp x23, _repaper_e1190cs021_mode@GOTPAGE
Lloh74:
ldr x23, [x23, _repaper_e1190cs021_mode@GOTPAGEOFF]
Lloh75:
adrp x9, lCPI0_2@PAGE
Lloh76:
ldr d0, [x9, lCPI0_2@PAGEOFF]
Lloh77:
adrp x9, _REPAPER_BORDER_BYTE_SET@GOTPAGE
Lloh78:
ldr x9, [x9, _REPAPER_BORDER_BYTE_SET@GOTPAGEOFF]
mov w10, #480
Lloh79:
adrp x11, _repaper_e1190cs021_cs@GOTPAGE
Lloh80:
ldr x11, [x11, _repaper_e1190cs021_cs@GOTPAGEOFF]
b LBB0_33
LBB0_32:
Lloh81:
adrp x8, lCPI0_1@PAGE
Lloh82:
ldr d0, [x8, lCPI0_1@PAGEOFF]
Lloh83:
adrp x23, _repaper_e2271cs021_mode@GOTPAGE
Lloh84:
ldr x23, [x23, _repaper_e2271cs021_mode@GOTPAGEOFF]
Lloh85:
adrp x9, _REPAPER_BORDER_BYTE_NONE@GOTPAGE
Lloh86:
ldr x9, [x9, _REPAPER_BORDER_BYTE_NONE@GOTPAGEOFF]
mov w8, #1
mov w10, #630
Lloh87:
adrp x11, _repaper_e2271cs021_cs@GOTPAGE
Lloh88:
ldr x11, [x11, _repaper_e2271cs021_cs@GOTPAGEOFF]
LBB0_33:
ldr w11, [x11]
str w11, [x22, #72]
str w10, [x22]
stur d0, [x22, #4]
str w8, [x22, #12]
ldr x8, [x9]
stp x23, x8, [x22, #56]
ldr d1, [x23]
str d1, [x22, #16]
str w10, [x22, #24]
fmov w8, s1
add w9, w8, #3
cmp w8, #0
csel w8, w9, w8, lt
fmov w9, s0
add w8, w9, w8, asr #2
add w1, w8, #2
ldr w2, [x24]
mov x0, x20
bl _devm_kzalloc
str x0, [x22, #48]
cbz x0, LBB0_39
; %bb.34:
ldp w8, w9, [x22, #16]
mul w8, w9, w8
add w9, w8, #7
cmp w8, #0
csel w8, w9, w8, lt
asr w1, w8, #3
ldr w2, [x24]
mov x0, x20
bl _devm_kzalloc
str x0, [x22, #40]
cbz x0, LBB0_39
; %bb.35:
ldr d0, [x23]
fmov d1, d0
st2.2s { v0, v1 }, [x21]
add x20, x22, #28
Lloh89:
adrp x1, _repaper_connector_hfuncs@GOTPAGE
Lloh90:
ldr x1, [x1, _repaper_connector_hfuncs@GOTPAGEOFF]
mov x0, x20
bl _drm_connector_helper_add
Lloh91:
adrp x8, _DRM_MODE_CONNECTOR_SPI@GOTPAGE
Lloh92:
ldr x8, [x8, _DRM_MODE_CONNECTOR_SPI@GOTPAGEOFF]
Lloh93:
ldr w3, [x8]
Lloh94:
adrp x2, _repaper_connector_funcs@GOTPAGE
Lloh95:
ldr x2, [x2, _repaper_connector_funcs@GOTPAGEOFF]
mov x0, x21
mov x1, x20
bl _drm_connector_init
mov x23, x0
cbnz w0, LBB0_41
; %bb.36:
add x22, x22, #32
Lloh96:
adrp x8, _repaper_formats@GOTPAGE
Lloh97:
ldr x8, [x8, _repaper_formats@GOTPAGEOFF]
Lloh98:
ldr w23, [x8]
mov x0, x23
bl _ARRAY_SIZE
mov x4, x0
Lloh99:
adrp x2, _repaper_pipe_funcs@GOTPAGE
Lloh100:
ldr x2, [x2, _repaper_pipe_funcs@GOTPAGEOFF]
mov x0, x21
mov x1, x22
mov x3, x23
mov x5, #0
mov x6, x20
bl _drm_simple_display_pipe_init
mov x23, x0
cbnz w0, LBB0_41
; %bb.37:
mov x0, x21
bl _drm_mode_config_reset
mov x0, x21
mov w1, #0
bl _drm_dev_register
mov x23, x0
cbnz w0, LBB0_41
; %bb.38:
mov x0, x19
mov x1, x21
bl _spi_set_drvdata
ldrsw x8, [x19]
mov w9, #56963
movk w9, #17179, lsl #16
mul x8, x8, x9
lsr x9, x8, #63
asr x8, x8, #50
add w1, w8, w9
Lloh101:
adrp x0, l_.str.13@PAGE
Lloh102:
add x0, x0, l_.str.13@PAGEOFF
bl _DRM_DEBUG_DRIVER
mov x0, x21
mov w1, #0
bl _drm_fbdev_generic_setup
b LBB0_41
LBB0_39:
Lloh103:
adrp x8, _ENOMEM@GOTPAGE
Lloh104:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_40:
ldr w8, [x8]
neg w23, w8
LBB0_41:
mov x0, x23
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh54, Lloh55
.loh AdrpLdrGot Lloh52, Lloh53
.loh AdrpLdrGot Lloh50, Lloh51
.loh AdrpLdrGot Lloh48, Lloh49
.loh AdrpAdrp Lloh46, Lloh50
.loh AdrpLdr Lloh46, Lloh47
.loh AdrpAdd Lloh56, Lloh57
.loh AdrpLdrGotLdr Lloh58, Lloh59, Lloh60
.loh AdrpAdd Lloh61, Lloh62
.loh AdrpAdd Lloh63, Lloh64
.loh AdrpLdrGot Lloh65, Lloh66
.loh AdrpLdrGot Lloh71, Lloh72
.loh AdrpLdrGot Lloh69, Lloh70
.loh AdrpLdrGot Lloh67, Lloh68
.loh AdrpLdrGot Lloh79, Lloh80
.loh AdrpLdrGot Lloh77, Lloh78
.loh AdrpAdrp Lloh75, Lloh77
.loh AdrpLdr Lloh75, Lloh76
.loh AdrpLdrGot Lloh73, Lloh74
.loh AdrpLdrGot Lloh87, Lloh88
.loh AdrpLdrGot Lloh85, Lloh86
.loh AdrpLdrGot Lloh83, Lloh84
.loh AdrpLdr Lloh81, Lloh82
.loh AdrpLdrGot Lloh94, Lloh95
.loh AdrpLdrGotLdr Lloh91, Lloh92, Lloh93
.loh AdrpLdrGot Lloh89, Lloh90
.loh AdrpLdrGot Lloh99, Lloh100
.loh AdrpLdrGotLdr Lloh96, Lloh97, Lloh98
.loh AdrpAdd Lloh101, Lloh102
.loh AdrpLdrGot Lloh103, Lloh104
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_24-LBB0_24)>>2
.byte (LBB0_30-LBB0_24)>>2
.byte (LBB0_31-LBB0_24)>>2
.byte (LBB0_33-LBB0_24)>>2
; -- End function
.comm _repaper_of_match,4,2 ; @repaper_of_match
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Failed to set dma mask %d\n"
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _repaper_driver,4,2 ; @repaper_driver
.comm _repaper_mode_config_funcs,4,2 ; @repaper_mode_config_funcs
l_.str.1: ; @.str.1
.asciz "panel-on"
.comm _GPIOD_OUT_LOW,4,2 ; @GPIOD_OUT_LOW
.comm _EPROBE_DEFER,4,2 ; @EPROBE_DEFER
l_.str.2: ; @.str.2
.asciz "Failed to get gpio 'panel-on'\n"
l_.str.3: ; @.str.3
.asciz "discharge"
l_.str.4: ; @.str.4
.asciz "Failed to get gpio 'discharge'\n"
l_.str.5: ; @.str.5
.asciz "reset"
l_.str.6: ; @.str.6
.asciz "Failed to get gpio 'reset'\n"
l_.str.7: ; @.str.7
.asciz "busy"
.comm _GPIOD_IN,4,2 ; @GPIOD_IN
l_.str.8: ; @.str.8
.asciz "Failed to get gpio 'busy'\n"
l_.str.9: ; @.str.9
.asciz "pervasive,thermal-zone"
l_.str.10: ; @.str.10
.asciz "Failed to get thermal zone: %s\n"
.comm _repaper_e1144cs021_mode,8,2 ; @repaper_e1144cs021_mode
.comm _repaper_e1144cs021_cs,4,2 ; @repaper_e1144cs021_cs
.comm _REPAPER_BORDER_BYTE_ZERO,8,3 ; @REPAPER_BORDER_BYTE_ZERO
.comm _repaper_e1190cs021_mode,8,2 ; @repaper_e1190cs021_mode
.comm _repaper_e1190cs021_cs,4,2 ; @repaper_e1190cs021_cs
.comm _REPAPER_BORDER_BYTE_SET,8,3 ; @REPAPER_BORDER_BYTE_SET
.comm _repaper_e2200cs021_mode,8,2 ; @repaper_e2200cs021_mode
.comm _repaper_e2200cs021_cs,4,2 ; @repaper_e2200cs021_cs
.comm _REPAPER_BORDER_BYTE_NONE,8,3 ; @REPAPER_BORDER_BYTE_NONE
l_.str.11: ; @.str.11
.asciz "border"
l_.str.12: ; @.str.12
.asciz "Failed to get gpio 'border'\n"
.comm _repaper_e2271cs021_mode,8,2 ; @repaper_e2271cs021_mode
.comm _repaper_e2271cs021_cs,4,2 ; @repaper_e2271cs021_cs
.comm _ENODEV,4,2 ; @ENODEV
.comm _repaper_connector_hfuncs,4,2 ; @repaper_connector_hfuncs
.comm _repaper_connector_funcs,4,2 ; @repaper_connector_funcs
.comm _DRM_MODE_CONNECTOR_SPI,4,2 ; @DRM_MODE_CONNECTOR_SPI
.comm _repaper_pipe_funcs,4,2 ; @repaper_pipe_funcs
.comm _repaper_formats,4,2 ; @repaper_formats
l_.str.13: ; @.str.13
.asciz "SPI speed: %uMHz\n"
.no_dead_strip _repaper_probe
.subsections_via_symbols
| the_stack_data/876141.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function gcov_is_error
_gcov_is_error: ## @gcov_is_error
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _gcov_var@GOTPCREL(%rip), %rcx
cmpq $0, 8(%rcx)
movl $1, %eax
je LBB0_2
## %bb.1:
movl (%rcx), %eax
LBB0_2:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _gcov_var,16,3 ## @gcov_var
.no_dead_strip _gcov_is_error
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function gcov_is_error
_gcov_is_error: ; @gcov_is_error
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _gcov_var@GOTPAGE
Lloh1:
ldr x8, [x8, _gcov_var@GOTPAGEOFF]
ldr x9, [x8, #8]
ldr w8, [x8]
cmp x9, #0
csinc w0, w8, wzr, ne
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _gcov_var,16,3 ; @gcov_var
.no_dead_strip _gcov_is_error
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gcc/extr_gcov-io.h_gcov_is_error.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cf_outw_16
_cf_outw_16: ## @cf_outw_16
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _base_addr@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl %edi, %ecx
shrl $31, %ecx
addl %edi, %ecx
sarl %ecx
movslq %ecx, %rcx
movl %esi, (%rax,%rcx,4)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _base_addr,8,3 ## @base_addr
.no_dead_strip _cf_outw_16
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cf_outw_16
_cf_outw_16: ; @cf_outw_16
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _base_addr@GOTPAGE
Lloh1:
ldr x8, [x8, _base_addr@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp w0, #0
cinc w9, w0, lt
asr w9, w9, #1
str w1, [x8, w9, sxtw #2]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _base_addr,8,3 ; @base_addr
.no_dead_strip _cf_outw_16
.subsections_via_symbols
| AnghaBench/freebsd/sys/mips/cavium/extr_octeon_ebt3000_cf.c_cf_outw_16.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mal_poll_disable ## -- Begin function mal_poll_disable
.p2align 4, 0x90
_mal_poll_disable: ## @mal_poll_disable
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movq _MAL_COMMAC_POLL_DISABLED@GOTPCREL(%rip), %r15
movl (%r15), %edi
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
callq _test_and_set_bit
testq %rax, %rax
je LBB0_3
## %bb.1: ## in Loop: Header=BB0_2 Depth=1
movl $1, %edi
callq _msleep
movl (%r15), %edi
movq %rbx, %rsi
jmp LBB0_2
LBB0_3:
movq %r14, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _napi_synchronize ## TAILCALL
.cfi_endproc
## -- End function
.comm _MAL_COMMAC_POLL_DISABLED,4,2 ## @MAL_COMMAC_POLL_DISABLED
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mal_poll_disable ; -- Begin function mal_poll_disable
.p2align 2
_mal_poll_disable: ; @mal_poll_disable
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
Lloh0:
adrp x21, _MAL_COMMAC_POLL_DISABLED@GOTPAGE
Lloh1:
ldr x21, [x21, _MAL_COMMAC_POLL_DISABLED@GOTPAGEOFF]
ldr w0, [x21]
bl _test_and_set_bit
cbz x0, LBB0_2
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov w0, #1
bl _msleep
ldr w0, [x21]
mov x1, x20
bl _test_and_set_bit
cbnz x0, LBB0_1
LBB0_2:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _napi_synchronize
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _MAL_COMMAC_POLL_DISABLED,4,2 ; @MAL_COMMAC_POLL_DISABLED
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/ibm/emac/extr_mal.c_mal_poll_disable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function setup_user_args
_setup_user_args: ## @setup_user_args
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movl $24, %edi
callq _xmalloc
movq %rax, %r14
movq %rax, %rdi
xorl %esi, %esi
movl $24, %edx
callq _memset
movq _user_args@GOTPCREL(%rip), %r15
movq (%r15), %rax
movq %rax, 16(%r14)
movq %r14, (%r15)
movq _arg_cleanup@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _make_cleanup
movq %rax, %r14
testq %rbx, %rbx
je LBB0_33
## %bb.1:
movb (%rbx), %al
testb %al, %al
je LBB0_33
## %bb.2:
xorl %r9d, %r9d
movq _MAXUSERARGS@GOTPCREL(%rip), %r8
jmp LBB0_3
.p2align 4, 0x90
LBB0_32: ## in Loop: Header=BB0_3 Depth=1
movq (%r15), %rax
movq 8(%rax), %rcx
movl %edx, 8(%rcx,%r10)
incl (%rax)
incq %r9
movb (%rbx,%rdx), %al
addq %rdx, %rbx
testb %al, %al
je LBB0_33
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
## Child Loop BB0_9 Depth 2
movl (%r8), %esi
cmpq %rsi, %r9
jae LBB0_34
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq %rbx, %rcx
jmp LBB0_5
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_5 Depth=2
movzbl 1(%rbx), %eax
incq %rbx
incq %rcx
LBB0_5: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
cmpb $32, %al
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=2
cmpb $9, %al
je LBB0_7
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
movq (%r15), %rax
movq 8(%rax), %rax
movq %r9, %r10
shlq $4, %r10
movq %rbx, (%rax,%r10)
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r11d, %r11d
xorl %esi, %esi
jmp LBB0_9
LBB0_23: ## in Loop: Header=BB0_9 Depth=2
xorl %ecx, %ecx
cmpb $39, %al
setne %cl
LBB0_30: ## in Loop: Header=BB0_9 Depth=2
xorl %edi, %edi
LBB0_31: ## in Loop: Header=BB0_9 Depth=2
incq %rdx
movl %edi, %esi
LBB0_9: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%rbx,%rdx), %eax
cmpb $32, %al
je LBB0_17
## %bb.10: ## in Loop: Header=BB0_9 Depth=2
testb %al, %al
je LBB0_32
## %bb.11: ## in Loop: Header=BB0_9 Depth=2
cmpb $9, %al
jne LBB0_14
## %bb.12: ## in Loop: Header=BB0_9 Depth=2
testl %ecx, %ecx
jne LBB0_14
## %bb.13: ## in Loop: Header=BB0_9 Depth=2
movl %esi, %edi
orl %r11d, %edi
je LBB0_32
LBB0_14: ## in Loop: Header=BB0_9 Depth=2
xorl %edi, %edi
testl %esi, %esi
jne LBB0_31
## %bb.15: ## in Loop: Header=BB0_9 Depth=2
movl $1, %edi
cmpb $92, %al
je LBB0_31
## %bb.16: ## in Loop: Header=BB0_9 Depth=2
testl %ecx, %ecx
jne LBB0_23
jmp LBB0_20
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_9 Depth=2
testl %ecx, %ecx
je LBB0_18
## %bb.22: ## in Loop: Header=BB0_9 Depth=2
xorl %edi, %edi
testl %esi, %esi
jne LBB0_31
jmp LBB0_23
LBB0_18: ## in Loop: Header=BB0_9 Depth=2
movl %esi, %ecx
orl %r11d, %ecx
je LBB0_32
## %bb.19: ## in Loop: Header=BB0_9 Depth=2
xorl %ecx, %ecx
testl %esi, %esi
jne LBB0_30
LBB0_20: ## in Loop: Header=BB0_9 Depth=2
testl %r11d, %r11d
je LBB0_24
## %bb.21: ## in Loop: Header=BB0_9 Depth=2
xorl %r11d, %r11d
cmpb $34, %al
setne %r11b
xorl %ecx, %ecx
jmp LBB0_30
LBB0_24: ## in Loop: Header=BB0_9 Depth=2
cmpb $39, %al
je LBB0_25
## %bb.26: ## in Loop: Header=BB0_9 Depth=2
cmpb $34, %al
jne LBB0_29
## %bb.27: ## in Loop: Header=BB0_9 Depth=2
movl $1, %r11d
xorl %ecx, %ecx
jmp LBB0_30
LBB0_25: ## in Loop: Header=BB0_9 Depth=2
xorl %r11d, %r11d
movl $1, %ecx
jmp LBB0_30
LBB0_29: ## in Loop: Header=BB0_9 Depth=2
xorl %ecx, %ecx
xorl %r11d, %r11d
jmp LBB0_30
LBB0_34:
leaq L_.str(%rip), %rdi
## kill: def $esi killed $esi killed $rsi
callq _error
LBB0_33:
movq %r14, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _user_args,8,3 ## @user_args
.comm _arg_cleanup,4,2 ## @arg_cleanup
.comm _MAXUSERARGS,4,2 ## @MAXUSERARGS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "user defined function may only have %d arguments.\n"
.no_dead_strip _setup_user_args
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function setup_user_args
_setup_user_args: ; @setup_user_args
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
mov w0, #24
bl _xmalloc
mov x20, x0
mov w1, #0
mov w2, #24
bl _memset
Lloh0:
adrp x21, _user_args@GOTPAGE
Lloh1:
ldr x21, [x21, _user_args@GOTPAGEOFF]
ldr x8, [x21]
str x8, [x20, #16]
str x20, [x21]
Lloh2:
adrp x8, _arg_cleanup@GOTPAGE
Lloh3:
ldr x8, [x8, _arg_cleanup@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
mov w1, #0
bl _make_cleanup
mov x20, x0
cbz x19, LBB0_27
; %bb.1:
ldrb w11, [x19]
cbz w11, LBB0_27
; %bb.2:
mov x8, #0
Lloh5:
adrp x9, _MAXUSERARGS@GOTPAGE
Lloh6:
ldr x9, [x9, _MAXUSERARGS@GOTPAGEOFF]
mov w10, #1
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
ldr x12, [x21]
ldr x13, [x12, #8]
add x13, x13, x8, lsl #4
str w11, [x13, #8]
add x8, x8, #1
ldr w13, [x12]
add w13, w13, #1
str w13, [x12]
add x19, x19, x11
ldrb w11, [x19]
cbz w11, LBB0_27
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
; Child Loop BB0_12 Depth 2
ldr w1, [x9]
cmp x8, x1
b.hs LBB0_26
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov x12, x19
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_7 Depth=2
ldrb w11, [x19, #1]!
add x12, x12, #1
LBB0_7: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
cmp w11, #32
b.eq LBB0_6
; %bb.8: ; in Loop: Header=BB0_7 Depth=2
cmp w11, #9
b.eq LBB0_6
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
mov x11, #0
mov w13, #0
mov w12, #0
mov w14, #0
ldr x15, [x21]
ldr x15, [x15, #8]
lsl x16, x8, #4
str x19, [x15, x16]
b LBB0_12
LBB0_10: ; in Loop: Header=BB0_12 Depth=2
cbz w13, LBB0_25
LBB0_11: ; in Loop: Header=BB0_12 Depth=2
mov w14, #0
cmp w15, #39
cset w13, ne
add x11, x11, #1
LBB0_12: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w15, [x19, x11]
cmp w15, #32
b.eq LBB0_17
; %bb.13: ; in Loop: Header=BB0_12 Depth=2
cbz w15, LBB0_3
; %bb.14: ; in Loop: Header=BB0_12 Depth=2
orr w16, w14, w12
cmp w15, #9
ccmp w13, #0, #0, eq
ccmp w16, #0, #0, eq
b.eq LBB0_3
; %bb.15: ; in Loop: Header=BB0_12 Depth=2
cbz w14, LBB0_23
; %bb.16: ; in Loop: Header=BB0_12 Depth=2
mov w14, #0
add x11, x11, #1
b LBB0_12
LBB0_17: ; in Loop: Header=BB0_12 Depth=2
cbz w13, LBB0_20
; %bb.18: ; in Loop: Header=BB0_12 Depth=2
cbz w14, LBB0_11
; %bb.19: ; in Loop: Header=BB0_12 Depth=2
mov w14, #0
add x11, x11, #1
b LBB0_12
LBB0_20: ; in Loop: Header=BB0_12 Depth=2
orr w13, w14, w12
cbz w13, LBB0_3
; %bb.21: ; in Loop: Header=BB0_12 Depth=2
cbz w14, LBB0_25
; %bb.22: ; in Loop: Header=BB0_12 Depth=2
mov w13, #0
mov w14, #0
add x11, x11, #1
b LBB0_12
LBB0_23: ; in Loop: Header=BB0_12 Depth=2
cmp w15, #92
b.ne LBB0_10
; %bb.24: ; in Loop: Header=BB0_12 Depth=2
mov w14, #1
add x11, x11, #1
b LBB0_12
LBB0_25: ; in Loop: Header=BB0_12 Depth=2
cmp w15, #34
csel w13, wzr, wzr, ne
csel w14, wzr, w10, ne
cmp w15, #39
csel w16, w10, w13, eq
csel w14, wzr, w14, eq
csel w17, wzr, w13, eq
cmp w15, #34
cset w15, ne
cmp w12, #0
csel w13, w16, wzr, eq
csel w12, w14, w15, eq
csel w14, w17, wzr, eq
add x11, x11, #1
b LBB0_12
LBB0_26:
Lloh7:
adrp x0, l_.str@PAGE
Lloh8:
add x0, x0, l_.str@PAGEOFF
; kill: def $w1 killed $w1 killed $x1
bl _error
LBB0_27:
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _user_args,8,3 ; @user_args
.comm _arg_cleanup,4,2 ; @arg_cleanup
.comm _MAXUSERARGS,4,2 ; @MAXUSERARGS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "user defined function may only have %d arguments.\n"
.no_dead_strip _setup_user_args
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gdb/gdb/cli/extr_cli-script.c_setup_user_args.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function do_cmp
_do_cmp: ## @do_cmp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _inst@GOTPCREL(%rip), %rax
movq 8(%rax), %rcx
movl (%rcx), %ecx
shll $16, %ecx
orl %ecx, (%rax)
movl $1, %edi
popq %rbp
jmp _encode_arm_shifter_operand ## TAILCALL
.cfi_endproc
## -- End function
.comm _inst,16,3 ## @inst
.no_dead_strip _do_cmp
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function do_cmp
_do_cmp: ; @do_cmp
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _inst@GOTPAGE
Lloh1:
ldr x8, [x8, _inst@GOTPAGEOFF]
ldr x9, [x8, #8]
ldr w9, [x9]
ldr w10, [x8]
orr w9, w10, w9, lsl #16
str w9, [x8]
mov w0, #1
b _encode_arm_shifter_operand
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _inst,16,3 ; @inst
.no_dead_strip _do_cmp
.subsections_via_symbols
| AnghaBench/freebsd/contrib/binutils/gas/config/extr_tc-arm.c_do_cmp.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sa_spill_rele ## -- Begin function sa_spill_rele
.p2align 4, 0x90
_sa_spill_rele: ## @sa_spill_rele
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
callq _mutex_enter
cmpq $0, 16(%rbx)
je LBB0_2
## %bb.1:
movl 24(%rbx), %edi
movq 8(%rbx), %rsi
callq _sa_idx_tab_rele
movq 16(%rbx), %rdi
xorl %esi, %esi
callq _dmu_buf_rele
xorps %xmm0, %xmm0
movups %xmm0, 8(%rbx)
LBB0_2:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _mutex_exit ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sa_spill_rele ; -- Begin function sa_spill_rele
.p2align 2
_sa_spill_rele: ; @sa_spill_rele
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _mutex_enter
ldr x8, [x19, #16]
cbz x8, LBB0_2
; %bb.1:
ldr w0, [x19, #24]
ldr x1, [x19, #8]
bl _sa_idx_tab_rele
ldr x0, [x19, #16]
mov x1, #0
bl _dmu_buf_rele
stp xzr, xzr, [x19, #8]
LBB0_2:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _mutex_exit
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/zfs/module/zfs/extr_sa.c_sa_spill_rele.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function main
LCPI0_0:
.long 0x42c80000 ## float 100
.section __TEXT,__literal8,8byte_literals
.p2align 3
LCPI0_1:
.quad 0x4024000005000000 ## double 10.000000149011612
LCPI0_2:
.quad 0x3ff0cccccd000000 ## double 1.0500000007450581
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $32, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movl $1, %ebx
leaq L_.str(%rip), %r14
movaps %xmm1, %xmm0
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
cvtss2sd %xmm0, %xmm0
addsd LCPI0_1(%rip), %xmm0
xorps %xmm2, %xmm2
cvtsd2ss %xmm0, %xmm2
movss %xmm2, -24(%rbp) ## 4-byte Spill
xorps %xmm0, %xmm0
cvtss2sd %xmm1, %xmm0
mulsd LCPI0_2(%rip), %xmm0
xorps %xmm1, %xmm1
cvtsd2ss %xmm0, %xmm1
movss %xmm1, -20(%rbp) ## 4-byte Spill
xorps %xmm0, %xmm0
cvtss2sd %xmm2, %xmm0
cvtss2sd %xmm1, %xmm1
movq %r14, %rdi
movsd %xmm0, -40(%rbp) ## 8-byte Spill
movsd %xmm1, -32(%rbp) ## 8-byte Spill
movb $2, %al
callq _printf
movss -24(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
movss -20(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
incl %ebx
ucomiss %xmm1, %xmm0
jae LBB0_1
## %bb.2:
leaq L_.str.1(%rip), %rdi
movl %ebx, %esi
movsd -40(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -32(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movb $2, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Current simple: %f, compound: %f\n"
L_.str.1: ## @.str.1
.asciz "Year: %d, Simple interest: %f, Compound interest: %f.\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp d11, d10, [sp, #32] ; 16-byte Folded Spill
stp d9, d8, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset b8, -56
.cfi_offset b9, -64
.cfi_offset b10, -72
.cfi_offset b11, -80
mov w20, #1
mov w8, #1120403456
fmov s8, w8
mov x21, #83886080
movk x21, #16420, lsl #48
mov x22, #3439329280
movk x22, #52428, lsl #32
movk x22, #16368, lsl #48
Lloh0:
adrp x19, l_.str@PAGE
Lloh1:
add x19, x19, l_.str@PAGEOFF
fmov s9, s8
LBB0_1: ; =>This Inner Loop Header: Depth=1
fcvt d0, s9
fmov d1, x21
fadd d0, d0, d1
fcvt s9, d0
fcvt d0, s8
fmov d1, x22
fmul d0, d0, d1
fcvt s8, d0
fcvt d10, s9
fcvt d11, s8
stp d10, d11, [sp]
mov x0, x19
bl _printf
add w20, w20, #1
fcmp s8, s9
b.ls LBB0_1
; %bb.2:
stp d10, d11, [sp, #8]
str x20, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp d9, d8, [sp, #48] ; 16-byte Folded Reload
ldp d11, d10, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Current simple: %f, compound: %f\n"
l_.str.1: ; @.str.1
.asciz "Year: %d, Simple interest: %f, Compound interest: %f.\n"
.subsections_via_symbols
| the_stack_data/6388828.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cmd_write_inc
_cmd_write_inc: ## @cmd_write_inc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %edx, %eax
movl %esi, %ecx
movq %rdi, %rbx
leal -1(%rcx), %edx
cmpl $7, %edx
ja LBB0_2
## %bb.1:
leaq LJTI0_0(%rip), %rsi
movslq (%rsi,%rdx,4), %rdx
addq %rsi, %rdx
jmpq *%rdx
LBB0_3:
movq (%rbx), %rdx
addl %eax, (%rdx)
LBB0_4:
movl 8(%rbx), %esi
movq %rbx, %rdi
## kill: def $ecx killed $ecx killed $rcx
callq _r_core_write_at
testl %eax, %eax
je LBB0_6
## %bb.5:
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_6:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _cmd_write_fail ## TAILCALL
LBB0_2:
movq (%rbx), %rdx
jmp LBB0_4
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
.long L0_0_set_3
.long L0_0_set_3
.long L0_0_set_2
.long L0_0_set_3
.long L0_0_set_2
.long L0_0_set_2
.long L0_0_set_2
.long L0_0_set_3
.end_data_region
## -- End function
.no_dead_strip _cmd_write_inc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cmd_write_inc
_cmd_write_inc: ; @cmd_write_inc
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x3, x1
mov x19, x0
sub w9, w1, #1
cmp w9, #7
b.hi LBB0_6
; %bb.1:
mov x8, x2
Lloh0:
adrp x10, lJTI0_0@PAGE
Lloh1:
add x10, x10, lJTI0_0@PAGEOFF
adr x11, LBB0_2
ldrb w12, [x10, x9]
add x11, x11, x12, lsl #2
br x11
LBB0_2:
ldr x2, [x19]
ldr w9, [x2]
add w8, w9, w8
str w8, [x2]
LBB0_3:
ldr w1, [x19, #8]
mov x0, x19
bl _r_core_write_at
cbz w0, LBB0_5
; %bb.4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_5:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _cmd_write_fail
LBB0_6:
ldr x2, [x19]
b LBB0_3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_6-LBB0_2)>>2
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_6-LBB0_2)>>2
.byte (LBB0_6-LBB0_2)>>2
.byte (LBB0_6-LBB0_2)>>2
.byte (LBB0_2-LBB0_2)>>2
; -- End function
.no_dead_strip _cmd_write_inc
.subsections_via_symbols
| AnghaBench/radare2/libr/core/extr_cmd_write.c_cmd_write_inc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mantis_uart_exit ## -- Begin function mantis_uart_exit
.p2align 4, 0x90
_mantis_uart_exit: ## @mantis_uart_exit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movq _MANTIS_INT_IRQ1@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _mantis_mask_ints
movq _MANTIS_UART_CTL@GOTPCREL(%rip), %r14
movl (%r14), %edi
callq _mmread
andl $65519, %eax ## imm = 0xFFEF
movl (%r14), %esi
movl %eax, %edi
callq _mmwrite
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _flush_work ## TAILCALL
.cfi_endproc
## -- End function
.comm _MANTIS_INT_IRQ1,4,2 ## @MANTIS_INT_IRQ1
.comm _MANTIS_UART_CTL,4,2 ## @MANTIS_UART_CTL
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mantis_uart_exit ; -- Begin function mantis_uart_exit
.p2align 2
_mantis_uart_exit: ; @mantis_uart_exit
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x8, _MANTIS_INT_IRQ1@GOTPAGE
Lloh1:
ldr x8, [x8, _MANTIS_INT_IRQ1@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _mantis_mask_ints
Lloh3:
adrp x20, _MANTIS_UART_CTL@GOTPAGE
Lloh4:
ldr x20, [x20, _MANTIS_UART_CTL@GOTPAGEOFF]
ldr w0, [x20]
bl _mmread
mov w8, #65519
and w0, w0, w8
ldr w1, [x20]
bl _mmwrite
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _flush_work
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MANTIS_INT_IRQ1,4,2 ; @MANTIS_INT_IRQ1
.comm _MANTIS_UART_CTL,4,2 ; @MANTIS_UART_CTL
.subsections_via_symbols
| AnghaBench/linux/drivers/media/pci/mantis/extr_mantis_uart.c_mantis_uart_exit.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __ilog ## -- Begin function _ilog
.p2align 4, 0x90
__ilog: ## @_ilog
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
testl %edi, %edi
je LBB0_3
## %bb.1:
movl %edi, %ecx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
incl %eax
shrl %ecx
cmpl $1, %edi
movl %ecx, %edi
ja LBB0_2
LBB0_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __ilog ; -- Begin function _ilog
.p2align 2
__ilog: ; @_ilog
.cfi_startproc
; %bb.0:
cbz w0, LBB0_3
; %bb.1:
mov x8, x0
mov w0, #0
LBB0_2: ; =>This Inner Loop Header: Depth=1
add w0, w0, #1
lsr w9, w8, #1
cmp w8, #1
mov x8, x9
b.hi LBB0_2
LBB0_3:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Cinder/src/oggvorbis/vorbis/extr_sharedbook.c__ilog.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cvmx_helper_interface_mode_to_string ## -- Begin function cvmx_helper_interface_mode_to_string
.p2align 4, 0x90
_cvmx_helper_interface_mode_to_string: ## @cvmx_helper_interface_mode_to_string
.cfi_startproc
## %bb.0:
addl $-128, %edi
cmpl $9, %edi
ja LBB0_1
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq %edi, %rax
leaq l_reltable.cvmx_helper_interface_mode_to_string(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
popq %rbp
retq
LBB0_1:
leaq L_.str.10(%rip), %rax
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "DISABLED"
L_.str.1: ## @.str.1
.asciz "RGMII"
L_.str.2: ## @.str.2
.asciz "GMII"
L_.str.3: ## @.str.3
.asciz "SPI"
L_.str.4: ## @.str.4
.asciz "PCIE"
L_.str.5: ## @.str.5
.asciz "XAUI"
L_.str.6: ## @.str.6
.asciz "SGMII"
L_.str.7: ## @.str.7
.asciz "PICMG"
L_.str.8: ## @.str.8
.asciz "NPI"
L_.str.9: ## @.str.9
.asciz "LOOP"
L_.str.10: ## @.str.10
.asciz "UNKNOWN"
.section __TEXT,__const
.p2align 2 ## @reltable.cvmx_helper_interface_mode_to_string
l_reltable.cvmx_helper_interface_mode_to_string:
.long L_.str.5-l_reltable.cvmx_helper_interface_mode_to_string
.long L_.str.3-l_reltable.cvmx_helper_interface_mode_to_string
.long L_.str.6-l_reltable.cvmx_helper_interface_mode_to_string
.long L_.str.1-l_reltable.cvmx_helper_interface_mode_to_string
.long L_.str.7-l_reltable.cvmx_helper_interface_mode_to_string
.long L_.str.4-l_reltable.cvmx_helper_interface_mode_to_string
.long L_.str.8-l_reltable.cvmx_helper_interface_mode_to_string
.long L_.str.9-l_reltable.cvmx_helper_interface_mode_to_string
.long L_.str.2-l_reltable.cvmx_helper_interface_mode_to_string
.long L_.str-l_reltable.cvmx_helper_interface_mode_to_string
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cvmx_helper_interface_mode_to_string ; -- Begin function cvmx_helper_interface_mode_to_string
.p2align 2
_cvmx_helper_interface_mode_to_string: ; @cvmx_helper_interface_mode_to_string
.cfi_startproc
; %bb.0:
sub w8, w0, #128
cmp w8, #9
b.hi LBB0_2
; %bb.1:
Lloh0:
adrp x9, l_switch.table.cvmx_helper_interface_mode_to_string@PAGE
Lloh1:
add x9, x9, l_switch.table.cvmx_helper_interface_mode_to_string@PAGEOFF
ldr x0, [x9, w8, sxtw #3]
ret
LBB0_2:
Lloh2:
adrp x0, l_.str.10@PAGE
Lloh3:
add x0, x0, l_.str.10@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "DISABLED"
l_.str.1: ; @.str.1
.asciz "RGMII"
l_.str.2: ; @.str.2
.asciz "GMII"
l_.str.3: ; @.str.3
.asciz "SPI"
l_.str.4: ; @.str.4
.asciz "PCIE"
l_.str.5: ; @.str.5
.asciz "XAUI"
l_.str.6: ; @.str.6
.asciz "SGMII"
l_.str.7: ; @.str.7
.asciz "PICMG"
l_.str.8: ; @.str.8
.asciz "NPI"
l_.str.9: ; @.str.9
.asciz "LOOP"
l_.str.10: ; @.str.10
.asciz "UNKNOWN"
.section __DATA,__const
.p2align 3 ; @switch.table.cvmx_helper_interface_mode_to_string
l_switch.table.cvmx_helper_interface_mode_to_string:
.quad l_.str.5
.quad l_.str.3
.quad l_.str.6
.quad l_.str.1
.quad l_.str.7
.quad l_.str.4
.quad l_.str.8
.quad l_.str.9
.quad l_.str.2
.quad l_.str
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/staging/octeon/extr_cvmx-helper-util.c_cvmx_helper_interface_mode_to_string.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _container_is_fullscreen_or_child ## -- Begin function container_is_fullscreen_or_child
.p2align 4, 0x90
_container_is_fullscreen_or_child: ## @container_is_fullscreen_or_child
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, 8(%rdi)
jne LBB0_2
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq (%rdi), %rdi
testq %rdi, %rdi
jne LBB0_1
## %bb.4:
xorl %eax, %eax
popq %rbp
retq
LBB0_2:
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _container_is_fullscreen_or_child ; -- Begin function container_is_fullscreen_or_child
.p2align 2
_container_is_fullscreen_or_child: ; @container_is_fullscreen_or_child
.cfi_startproc
; %bb.0:
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [x0, #8]
cbnz x8, LBB0_4
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
ldr x0, [x0]
cbnz x0, LBB0_1
; %bb.3:
ret
LBB0_4:
mov w0, #1
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/sway/sway/tree/extr_container.c_container_is_fullscreen_or_child.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _matrix_scan_kb ## -- Begin function matrix_scan_kb
.weak_definition _matrix_scan_kb
.p2align 4, 0x90
_matrix_scan_kb: ## @matrix_scan_kb
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
jmp _matrix_scan_user ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _matrix_scan_kb ; -- Begin function matrix_scan_kb
.weak_definition _matrix_scan_kb
.p2align 2
_matrix_scan_kb: ; @matrix_scan_kb
.cfi_startproc
; %bb.0:
b _matrix_scan_user
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/qmk_firmware/keyboards/dc01/numpad/extr_matrix.c_matrix_scan_kb.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function snd_rme32_capture_getrate
_snd_rme32_capture_getrate: ## @snd_rme32_capture_getrate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl $0, (%rsi)
movq _RME32_RCR_LOCK@GOTPCREL(%rip), %rax
movl (%rax), %eax
xorl %ecx, %ecx
andl (%rdi), %eax
setne %cl
movl %ecx, (%rsi)
movl (%rdi), %edx
movq _RME32_RCR_ERF@GOTPCREL(%rip), %rcx
movl $-1, %eax
testl %edx, (%rcx)
jne LBB0_2
## %bb.1:
movq _RME32_RCR_BITPOS_F0@GOTPCREL(%rip), %rax
movl (%rax), %eax
xorl %esi, %esi
btq %rax, %rdx
setb %sil
movq _RME32_RCR_BITPOS_F1@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq %rdx, %rax
shrq %cl, %rax
movq _RME32_RCR_BITPOS_F2@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
shrq %cl, %rdx
andl $1, %eax
leaq (%rsi,%rax,2), %rax
andl $1, %edx
leaq (%rax,%rdx,4), %rbx
callq _RME32_PRO_WITH_8414
testq %rax, %rax
leaq l_switch.table.snd_rme32_capture_getrate.1(%rip), %rax
leaq l_switch.table.snd_rme32_capture_getrate(%rip), %rcx
cmoveq %rax, %rcx
movl (%rcx,%rbx,4), %eax
LBB0_2:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _RME32_RCR_LOCK,4,2 ## @RME32_RCR_LOCK
.comm _RME32_RCR_ERF,4,2 ## @RME32_RCR_ERF
.comm _RME32_RCR_BITPOS_F0,4,2 ## @RME32_RCR_BITPOS_F0
.comm _RME32_RCR_BITPOS_F1,4,2 ## @RME32_RCR_BITPOS_F1
.comm _RME32_RCR_BITPOS_F2,4,2 ## @RME32_RCR_BITPOS_F2
.no_dead_strip _snd_rme32_capture_getrate
.section __TEXT,__const
.p2align 2 ## @switch.table.snd_rme32_capture_getrate
l_switch.table.snd_rme32_capture_getrate:
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 96000 ## 0x17700
.long 88200 ## 0x15888
.long 48000 ## 0xbb80
.long 44100 ## 0xac44
.long 32000 ## 0x7d00
.p2align 2 ## @switch.table.snd_rme32_capture_getrate.1
l_switch.table.snd_rme32_capture_getrate.1:
.long 4294967295 ## 0xffffffff
.long 48000 ## 0xbb80
.long 44100 ## 0xac44
.long 32000 ## 0x7d00
.long 48000 ## 0xbb80
.long 44100 ## 0xac44
.long 44056 ## 0xac18
.long 32000 ## 0x7d00
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function snd_rme32_capture_getrate
_snd_rme32_capture_getrate: ; @snd_rme32_capture_getrate
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
str wzr, [x1]
ldr w8, [x0]
Lloh0:
adrp x9, _RME32_RCR_LOCK@GOTPAGE
Lloh1:
ldr x9, [x9, _RME32_RCR_LOCK@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
cset w8, ne
str w8, [x1]
ldr w8, [x0]
Lloh3:
adrp x9, _RME32_RCR_ERF@GOTPAGE
Lloh4:
ldr x9, [x9, _RME32_RCR_ERF@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_2
; %bb.1:
mov w0, #-1
b LBB0_3
LBB0_2:
Lloh6:
adrp x9, _RME32_RCR_BITPOS_F0@GOTPAGE
Lloh7:
ldr x9, [x9, _RME32_RCR_BITPOS_F0@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
lsr x9, x8, x9
Lloh9:
adrp x10, _RME32_RCR_BITPOS_F1@GOTPAGE
Lloh10:
ldr x10, [x10, _RME32_RCR_BITPOS_F1@GOTPAGEOFF]
Lloh11:
ldr w10, [x10]
lsr x10, x8, x10
lsl w10, w10, #1
and x10, x10, #0x2
Lloh12:
adrp x11, _RME32_RCR_BITPOS_F2@GOTPAGE
Lloh13:
ldr x11, [x11, _RME32_RCR_BITPOS_F2@GOTPAGEOFF]
bfxil x10, x9, #0, #1
Lloh14:
ldr w9, [x11]
lsr x8, x8, x9
lsl w8, w8, #2
and x8, x8, #0x4
orr x19, x10, x8
bl _RME32_PRO_WITH_8414
Lloh15:
adrp x8, l_switch.table.snd_rme32_capture_getrate@PAGE
Lloh16:
add x8, x8, l_switch.table.snd_rme32_capture_getrate@PAGEOFF
Lloh17:
adrp x9, l_switch.table.snd_rme32_capture_getrate.1@PAGE
Lloh18:
add x9, x9, l_switch.table.snd_rme32_capture_getrate.1@PAGEOFF
cmp x0, #0
csel x8, x9, x8, eq
ldr w0, [x8, x19, lsl #2]
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _RME32_RCR_LOCK,4,2 ; @RME32_RCR_LOCK
.comm _RME32_RCR_ERF,4,2 ; @RME32_RCR_ERF
.comm _RME32_RCR_BITPOS_F0,4,2 ; @RME32_RCR_BITPOS_F0
.comm _RME32_RCR_BITPOS_F1,4,2 ; @RME32_RCR_BITPOS_F1
.comm _RME32_RCR_BITPOS_F2,4,2 ; @RME32_RCR_BITPOS_F2
.no_dead_strip _snd_rme32_capture_getrate
.section __TEXT,__const
.p2align 2 ; @switch.table.snd_rme32_capture_getrate
l_switch.table.snd_rme32_capture_getrate:
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 96000 ; 0x17700
.long 88200 ; 0x15888
.long 48000 ; 0xbb80
.long 44100 ; 0xac44
.long 32000 ; 0x7d00
.p2align 2 ; @switch.table.snd_rme32_capture_getrate.1
l_switch.table.snd_rme32_capture_getrate.1:
.long 4294967295 ; 0xffffffff
.long 48000 ; 0xbb80
.long 44100 ; 0xac44
.long 32000 ; 0x7d00
.long 48000 ; 0xbb80
.long 44100 ; 0xac44
.long 44056 ; 0xac18
.long 32000 ; 0x7d00
.subsections_via_symbols
| AnghaBench/linux/sound/pci/extr_rme32.c_snd_rme32_capture_getrate.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function main
LCPI0_0:
.long 1127219200 ## 0x43300000
.long 1160773632 ## 0x45300000
.long 0 ## 0x0
.long 0 ## 0x0
LCPI0_1:
.quad 0x4330000000000000 ## double 4503599627370496
.quad 0x4530000000000000 ## double 1.9342813113834067E+25
.section __TEXT,__literal8,8byte_literals
.p2align 3
LCPI0_2:
.quad 0x412e848000000000 ## double 1.0E+6
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str(%rip), %rdi
xorl %r15d, %r15d
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -32(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl $1, %ebx
leaq L_.str.3(%rip), %r14
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl $10, %edi
callq _putchar
movq -32(%rbp), %rax
leaq (%r15,%rax,4), %r15
movq %r15, %xmm1
punpckldq LCPI0_0(%rip), %xmm1 ## xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd LCPI0_1(%rip), %xmm1
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0 ## xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
divsd LCPI0_2(%rip), %xmm0
movq %r14, %rdi
movl %ebx, %esi
movb $1, %al
callq _printf
incl %ebx
testl %eax, %eax
jne LBB0_1
## %bb.2:
leaq L_str(%rip), %rdi
callq _puts
shrq $28, %r15
movabsq $17179869183, %rsi ## imm = 0x3FFFFFFFF
andq %r15, %rsi
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Taille souhaitee ? "
L_.str.1: ## @.str.1
.asciz "%u"
L_.str.3: ## @.str.3
.asciz "Allocation bloc numero : %d, %.0f [megabytes]"
L_.str.5: ## @.str.5
.asciz "Memore allouee : %d [Gigabytes]\n"
L_str: ## @str
.asciz "Memoire insuffisante - arret de l'execution !!!"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
add x8, sp, #24
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
mov x20, #0
mov w21, #1
mov x22, #145685290680320
movk x22, #16686, lsl #48
Lloh4:
adrp x19, l_.str.3@PAGE
Lloh5:
add x19, x19, l_.str.3@PAGEOFF
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov w0, #10
bl _putchar
ldr x8, [sp, #24]
add x20, x20, x8, lsl #2
ucvtf d0, x20
fmov d1, x22
fdiv d0, d0, d1
str x21, [sp]
str d0, [sp, #8]
mov x0, x19
bl _printf
add w21, w21, #1
cbnz w0, LBB0_1
; %bb.2:
Lloh6:
adrp x0, l_str@PAGE
Lloh7:
add x0, x0, l_str@PAGEOFF
bl _puts
ubfx x8, x20, #28, #34
str x8, [sp]
Lloh8:
adrp x0, l_.str.5@PAGE
Lloh9:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Taille souhaitee ? "
l_.str.1: ; @.str.1
.asciz "%u"
l_.str.3: ; @.str.3
.asciz "Allocation bloc numero : %d, %.0f [megabytes]"
l_.str.5: ; @.str.5
.asciz "Memore allouee : %d [Gigabytes]\n"
l_str: ; @str
.asciz "Memoire insuffisante - arret de l'execution !!!"
.subsections_via_symbols
| the_stack_data/1246517.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _plat_status_msg_busy_next ## -- Begin function plat_status_msg_busy_next
.p2align 4, 0x90
_plat_status_msg_busy_next: ## @plat_status_msg_busy_next
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
xorl %eax, %eax
callq _plat_status_msg_clear
leaq L_.str(%rip), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq _pemu_finalize_frame
xorl %eax, %eax
callq _plat_video_flip
movq %r14, %rdi
callq _emu_status_msg
movq _reset_timing@GOTPCREL(%rip), %rax
movl $1, (%rax)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.space 1
.comm _reset_timing,4,2 ## @reset_timing
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _plat_status_msg_busy_next ; -- Begin function plat_status_msg_busy_next
.p2align 2
_plat_status_msg_busy_next: ; @plat_status_msg_busy_next
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _plat_status_msg_clear
Lloh0:
adrp x20, l_.str@PAGE
Lloh1:
add x20, x20, l_.str@PAGEOFF
mov x0, x20
mov x1, x19
bl _pemu_finalize_frame
bl _plat_video_flip
mov x0, x20
bl _emu_status_msg
Lloh2:
adrp x8, _reset_timing@GOTPAGE
Lloh3:
ldr x8, [x8, _reset_timing@GOTPAGEOFF]
mov w9, #1
Lloh4:
str w9, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotStr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.space 1
.comm _reset_timing,4,2 ; @reset_timing
.subsections_via_symbols
| AnghaBench/Provenance/Cores/PicoDrive/platform/pandora/extr_plat.c_plat_status_msg_busy_next.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _find_metadata_ ## -- Begin function find_metadata_
.p2align 4, 0x90
_find_metadata_: ## @find_metadata_
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
movq 8(%rdi), %rax
movl 24(%rax), %edi
callq _FLAC__bitreader_is_consumed_byte_aligned
movl %eax, %edi
callq _FLAC__ASSERT
xorl %ebx, %ebx
movl $1, %r12d
leaq -44(%rbp), %r14
movq _FLAC__STREAM_SYNC_STRING@GOTPCREL(%rip), %r13
jmp LBB0_5
LBB0_1: ## in Loop: Header=BB0_5 Depth=1
movl 16(%rax), %ecx
movl %ecx, -44(%rbp)
movl $0, (%rax)
LBB0_2: ## in Loop: Header=BB0_5 Depth=1
movl -44(%rbp), %eax
movq (%r13), %rcx
xorl %ebx, %ebx
cmpl (%rcx), %eax
jne LBB0_40
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_5 Depth=1
incl %ebx
movl $1, %r12d
LBB0_4: ## in Loop: Header=BB0_5 Depth=1
cmpl $4, %ebx
jae LBB0_33
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq 8(%r15), %rax
cmpl $0, (%rax)
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl 16(%rax), %ecx
movl %ecx, -44(%rbp)
movl $0, (%rax)
jmp LBB0_8
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_5 Depth=1
movl 24(%rax), %edi
movq %r14, %rsi
movl $8, %edx
callq _FLAC__bitreader_read_raw_uint32
testl %eax, %eax
je LBB0_39
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
movl -44(%rbp), %ecx
movq (%r13), %rax
movl %ebx, %edx
cmpl (%rax,%rdx,4), %ecx
je LBB0_3
## %bb.9: ## in Loop: Header=BB0_5 Depth=1
movq _ID3V2_TAG_@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
cmpl (%rdx), %ecx
jne LBB0_25
## %bb.10: ## in Loop: Header=BB0_5 Depth=1
movq 8(%r15), %rcx
cmpl $0, (%rcx)
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_5 Depth=1
movl 16(%rcx), %edx
movl %edx, -44(%rbp)
movl $0, (%rcx)
jmp LBB0_14
LBB0_12: ## in Loop: Header=BB0_5 Depth=1
movl 24(%rcx), %edi
movq %r14, %rsi
movl $8, %edx
callq _FLAC__bitreader_read_raw_uint32
testl %eax, %eax
je LBB0_39
## %bb.13: ## in Loop: Header=BB0_5 Depth=1
movq (%r13), %rax
LBB0_14: ## in Loop: Header=BB0_5 Depth=1
movl -44(%rbp), %ecx
xorl %ebx, %ebx
cmpl (%rax), %ecx
je LBB0_3
## %bb.15: ## in Loop: Header=BB0_5 Depth=1
movq _ID3V2_TAG_@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
cmpl 4(%rdx), %ecx
jne LBB0_25
## %bb.16: ## in Loop: Header=BB0_5 Depth=1
movq 8(%r15), %rcx
cmpl $0, (%rcx)
je LBB0_18
## %bb.17: ## in Loop: Header=BB0_5 Depth=1
movl 16(%rcx), %edx
movl %edx, -44(%rbp)
movl $0, (%rcx)
jmp LBB0_20
LBB0_18: ## in Loop: Header=BB0_5 Depth=1
movl 24(%rcx), %edi
movq %r14, %rsi
movl $8, %edx
callq _FLAC__bitreader_read_raw_uint32
testl %eax, %eax
je LBB0_39
## %bb.19: ## in Loop: Header=BB0_5 Depth=1
movq (%r13), %rax
LBB0_20: ## in Loop: Header=BB0_5 Depth=1
movl -44(%rbp), %ecx
cmpl (%rax), %ecx
je LBB0_3
## %bb.21: ## in Loop: Header=BB0_5 Depth=1
movq _ID3V2_TAG_@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpl 8(%rax), %ecx
jne LBB0_25
## %bb.22: ## in Loop: Header=BB0_5 Depth=1
movq %r15, %rdi
callq _skip_id3v2_tag_
xorl %ebx, %ebx
testl %eax, %eax
je LBB0_40
## %bb.23: ## in Loop: Header=BB0_5 Depth=1
movq 8(%r15), %rax
cmpl $0, (%rax)
jne LBB0_1
## %bb.24: ## in Loop: Header=BB0_5 Depth=1
movl 24(%rax), %edi
movq %r14, %rsi
movl $8, %edx
callq _FLAC__bitreader_read_raw_uint32
testl %eax, %eax
jne LBB0_2
jmp LBB0_40
.p2align 4, 0x90
LBB0_25: ## in Loop: Header=BB0_5 Depth=1
cmpl $255, %ecx
jne LBB0_30
## %bb.26: ## in Loop: Header=BB0_5 Depth=1
movq 8(%r15), %rax
movq 8(%rax), %rax
movq $255, (%rax)
movq 8(%r15), %rax
movl 24(%rax), %edi
movq %r14, %rsi
movl $8, %edx
callq _FLAC__bitreader_read_raw_uint32
testl %eax, %eax
je LBB0_39
## %bb.27: ## in Loop: Header=BB0_5 Depth=1
movl -44(%rbp), %eax
cmpq $255, %rax
jne LBB0_29
## %bb.28: ## in Loop: Header=BB0_5 Depth=1
movq 8(%r15), %rax
movq $255, 16(%rax)
movl $1, (%rax)
jmp LBB0_30
LBB0_29: ## in Loop: Header=BB0_5 Depth=1
movl %eax, %ecx
andl $-2, %ecx
cmpl $248, %ecx
je LBB0_38
LBB0_30: ## in Loop: Header=BB0_5 Depth=1
xorl %ebx, %ebx
testl %r12d, %r12d
jne LBB0_32
## %bb.31: ## in Loop: Header=BB0_5 Depth=1
xorl %r12d, %r12d
jmp LBB0_4
LBB0_32: ## in Loop: Header=BB0_5 Depth=1
movq _FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
callq _send_error_to_client_
xorl %r12d, %r12d
jmp LBB0_4
LBB0_33:
movq _FLAC__STREAM_DECODER_READ_METADATA@GOTPCREL(%rip), %rax
LBB0_34:
movl (%rax), %eax
movq (%r15), %rcx
movl %eax, (%rcx)
movl $1, %ebx
jmp LBB0_40
LBB0_39:
xorl %ebx, %ebx
LBB0_40:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_38:
movq 8(%r15), %rcx
movq 8(%rcx), %rcx
movq %rax, 8(%rcx)
movq _FLAC__STREAM_DECODER_READ_FRAME@GOTPCREL(%rip), %rax
jmp LBB0_34
.cfi_endproc
## -- End function
.comm _FLAC__STREAM_SYNC_STRING,8,3 ## @FLAC__STREAM_SYNC_STRING
.comm _ID3V2_TAG_,8,3 ## @ID3V2_TAG_
.comm _FLAC__STREAM_DECODER_READ_FRAME,4,2 ## @FLAC__STREAM_DECODER_READ_FRAME
.comm _FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC,4,2 ## @FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC
.comm _FLAC__STREAM_DECODER_READ_METADATA,4,2 ## @FLAC__STREAM_DECODER_READ_METADATA
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _find_metadata_ ; -- Begin function find_metadata_
.p2align 2
_find_metadata_: ; @find_metadata_
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
ldr x8, [x0, #8]
ldr w0, [x8, #24]
bl _FLAC__bitreader_is_consumed_byte_aligned
bl _FLAC__ASSERT
mov w27, #0
mov w21, #1
Lloh0:
adrp x22, _FLAC__STREAM_SYNC_STRING@GOTPAGE
Lloh1:
ldr x22, [x22, _FLAC__STREAM_SYNC_STRING@GOTPAGEOFF]
Lloh2:
adrp x20, _FLAC__STREAM_DECODER_READ_METADATA@GOTPAGE
Lloh3:
ldr x20, [x20, _FLAC__STREAM_DECODER_READ_METADATA@GOTPAGEOFF]
Lloh4:
adrp x23, _ID3V2_TAG_@GOTPAGE
Lloh5:
ldr x23, [x23, _ID3V2_TAG_@GOTPAGEOFF]
mov w24, #255
Lloh6:
adrp x25, _FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC@GOTPAGE
Lloh7:
ldr x25, [x25, _FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC@GOTPAGEOFF]
mov w26, #1
b LBB0_4
LBB0_1: ; in Loop: Header=BB0_4 Depth=1
mov w27, #0
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
add w27, w27, #1
mov w26, #1
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
cmp w27, #4
b.hs LBB0_35
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #8]
ldr w9, [x8]
cbz w9, LBB0_6
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr x9, [x8, #16]
str w9, [sp, #12]
str wzr, [x8]
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [x8, #24]
add x1, sp, #12
mov w2, #8
bl _FLAC__bitreader_read_raw_uint32
cbz w0, LBB0_36
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
ldr w9, [sp, #12]
ldr x8, [x22]
ldr w10, [x8, w27, uxtw #2]
cmp w9, w10
b.eq LBB0_2
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
ldr x10, [x23]
ldr w10, [x10]
cmp w9, w10
b.ne LBB0_24
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
ldr x9, [x19, #8]
ldr w10, [x9]
cbz w10, LBB0_11
; %bb.10: ; in Loop: Header=BB0_4 Depth=1
ldr x10, [x9, #16]
str w10, [sp, #12]
str wzr, [x9]
b LBB0_13
LBB0_11: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [x9, #24]
add x1, sp, #12
mov w2, #8
bl _FLAC__bitreader_read_raw_uint32
cbz w0, LBB0_36
; %bb.12: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x22]
LBB0_13: ; in Loop: Header=BB0_4 Depth=1
ldr w9, [sp, #12]
ldr w10, [x8]
cmp w9, w10
b.eq LBB0_1
; %bb.14: ; in Loop: Header=BB0_4 Depth=1
ldr x10, [x23]
ldr w10, [x10, #4]
cmp w9, w10
b.ne LBB0_24
; %bb.15: ; in Loop: Header=BB0_4 Depth=1
ldr x9, [x19, #8]
ldr w10, [x9]
cbz w10, LBB0_17
; %bb.16: ; in Loop: Header=BB0_4 Depth=1
ldr x10, [x9, #16]
str w10, [sp, #12]
str wzr, [x9]
b LBB0_19
LBB0_17: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [x9, #24]
add x1, sp, #12
mov w2, #8
bl _FLAC__bitreader_read_raw_uint32
cbz w0, LBB0_36
; %bb.18: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x22]
LBB0_19: ; in Loop: Header=BB0_4 Depth=1
ldr w9, [sp, #12]
ldr w8, [x8]
cmp w9, w8
b.eq LBB0_1
; %bb.20: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x23]
ldr w8, [x8, #8]
cmp w9, w8
b.ne LBB0_24
; %bb.21: ; in Loop: Header=BB0_4 Depth=1
mov x0, x19
bl _skip_id3v2_tag_
cbz w0, LBB0_36
; %bb.22: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x19, #8]
ldr w9, [x8]
cbz w9, LBB0_32
; %bb.23: ; in Loop: Header=BB0_4 Depth=1
ldr x9, [x8, #16]
str w9, [sp, #12]
str wzr, [x8]
b LBB0_33
LBB0_24: ; in Loop: Header=BB0_4 Depth=1
cmp w9, #255
b.ne LBB0_29
; %bb.25: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x19, #8]
ldr x8, [x8, #8]
str x24, [x8]
ldr x8, [x19, #8]
ldr w0, [x8, #24]
add x1, sp, #12
mov w2, #8
bl _FLAC__bitreader_read_raw_uint32
cbz w0, LBB0_36
; %bb.26: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [sp, #12]
cmp w8, #255
b.ne LBB0_28
; %bb.27: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x19, #8]
str x24, [x8, #16]
str w21, [x8]
b LBB0_29
LBB0_28: ; in Loop: Header=BB0_4 Depth=1
and w9, w8, #0xfffffffe
cmp w9, #248
b.eq LBB0_34
LBB0_29: ; in Loop: Header=BB0_4 Depth=1
cbnz w26, LBB0_31
; %bb.30: ; in Loop: Header=BB0_4 Depth=1
mov w27, #0
b LBB0_3
LBB0_31: ; in Loop: Header=BB0_4 Depth=1
ldr w1, [x25]
mov x0, x19
bl _send_error_to_client_
mov w27, #0
mov w26, #0
b LBB0_3
LBB0_32: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [x8, #24]
add x1, sp, #12
mov w2, #8
bl _FLAC__bitreader_read_raw_uint32
cbz w0, LBB0_36
LBB0_33: ; in Loop: Header=BB0_4 Depth=1
mov w27, #0
mov w0, #0
ldr w8, [sp, #12]
ldr x9, [x22]
ldr w9, [x9]
cmp w8, w9
b.eq LBB0_2
b LBB0_36
LBB0_34:
ldr x9, [x19, #8]
ldr x9, [x9, #8]
str x8, [x9, #8]
Lloh8:
adrp x20, _FLAC__STREAM_DECODER_READ_FRAME@GOTPAGE
Lloh9:
ldr x20, [x20, _FLAC__STREAM_DECODER_READ_FRAME@GOTPAGEOFF]
LBB0_35:
ldr w8, [x20]
ldr x9, [x19]
str w8, [x9]
mov w0, #1
LBB0_36:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _FLAC__STREAM_SYNC_STRING,8,3 ; @FLAC__STREAM_SYNC_STRING
.comm _ID3V2_TAG_,8,3 ; @ID3V2_TAG_
.comm _FLAC__STREAM_DECODER_READ_FRAME,4,2 ; @FLAC__STREAM_DECODER_READ_FRAME
.comm _FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC,4,2 ; @FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC
.comm _FLAC__STREAM_DECODER_READ_METADATA,4,2 ; @FLAC__STREAM_DECODER_READ_METADATA
.subsections_via_symbols
| AnghaBench/RetroArch/deps/libFLAC/extr_stream_decoder.c_find_metadata_.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _expireIfNeeded ## -- Begin function expireIfNeeded
.p2align 4, 0x90
_expireIfNeeded: ## @expireIfNeeded
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
callq _keyIsExpired
testl %eax, %eax
je LBB0_1
## %bb.3:
movq _server@GOTPCREL(%rip), %r15
movl $1, %eax
cmpq $0, 16(%r15)
jne LBB0_2
## %bb.4:
incl 8(%r15)
movq (%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq _propagateExpire
movq _NOTIFY_EXPIRED@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl (%rbx), %ecx
leaq L_.str(%rip), %rsi
movq %r14, %rdx
callq _notifyKeyspaceEvent
cmpq $0, (%r15)
je LBB0_5
## %bb.6:
movq %rbx, %rdi
movq %r14, %rsi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _dbAsyncDelete ## TAILCALL
LBB0_1:
xorl %eax, %eax
LBB0_2:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
movq %rbx, %rdi
movq %r14, %rsi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _dbSyncDelete ## TAILCALL
.cfi_endproc
## -- End function
.comm _server,24,3 ## @server
.comm _NOTIFY_EXPIRED,4,2 ## @NOTIFY_EXPIRED
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "expired"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _expireIfNeeded ; -- Begin function expireIfNeeded
.p2align 2
_expireIfNeeded: ; @expireIfNeeded
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
bl _keyIsExpired
cbz w0, LBB0_3
; %bb.1:
Lloh0:
adrp x21, _server@GOTPAGE
Lloh1:
ldr x21, [x21, _server@GOTPAGEOFF]
ldr x8, [x21, #16]
cbz x8, LBB0_4
; %bb.2:
mov w0, #1
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_4:
ldr w8, [x21, #8]
add w8, w8, #1
str w8, [x21, #8]
ldr x2, [x21]
mov x0, x20
mov x1, x19
bl _propagateExpire
Lloh2:
adrp x8, _NOTIFY_EXPIRED@GOTPAGE
Lloh3:
ldr x8, [x8, _NOTIFY_EXPIRED@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
ldr w3, [x20]
Lloh5:
adrp x1, l_.str@PAGE
Lloh6:
add x1, x1, l_.str@PAGEOFF
mov x2, x19
bl _notifyKeyspaceEvent
ldr x8, [x21]
cbz x8, LBB0_6
; %bb.5:
mov x0, x20
mov x1, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _dbAsyncDelete
LBB0_6:
mov x0, x20
mov x1, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _dbSyncDelete
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _server,24,3 ; @server
.comm _NOTIFY_EXPIRED,4,2 ; @NOTIFY_EXPIRED
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "expired"
.subsections_via_symbols
| AnghaBench/redis/src/extr_db.c_expireIfNeeded.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vidioc_s_ctrl
_vidioc_s_ctrl: ## @vidioc_s_ctrl
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdx, %rbx
callq _video_drvdata
movl (%rbx), %ecx
cmpl $128, %ecx
je LBB0_4
## %bb.1:
cmpl $129, %ecx
jne LBB0_5
## %bb.2:
cmpl $0, 4(%rbx)
je LBB0_6
## %bb.3:
movq %rax, %rdi
callq _rt_mute
jmp LBB0_8
LBB0_4:
movl 4(%rbx), %esi
jmp LBB0_7
LBB0_5:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_9
LBB0_6:
movl (%rax), %esi
LBB0_7:
movq %rax, %rdi
callq _rt_setvol
LBB0_8:
xorl %eax, %eax
LBB0_9:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _vidioc_s_ctrl
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vidioc_s_ctrl
_vidioc_s_ctrl: ; @vidioc_s_ctrl
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x2
bl _video_drvdata
ldr w8, [x19]
cmp w8, #128
b.eq LBB0_4
; %bb.1:
cmp w8, #129
b.ne LBB0_5
; %bb.2:
ldr w8, [x19, #4]
cbz w8, LBB0_6
; %bb.3:
bl _rt_mute
b LBB0_8
LBB0_4:
ldr w1, [x19, #4]
b LBB0_7
LBB0_5:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
b LBB0_9
LBB0_6:
ldr w1, [x0]
LBB0_7:
bl _rt_setvol
LBB0_8:
mov w0, #0
LBB0_9:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _vidioc_s_ctrl
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/media/radio/extr_radio-aimslab.c_vidioc_s_ctrl.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function null_PCAP_SET_TIMEOUT
_null_PCAP_SET_TIMEOUT: ## @null_PCAP_SET_TIMEOUT
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _null_PCAP_SET_TIMEOUT
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function null_PCAP_SET_TIMEOUT
_null_PCAP_SET_TIMEOUT: ; @null_PCAP_SET_TIMEOUT
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.no_dead_strip _null_PCAP_SET_TIMEOUT
.subsections_via_symbols
| AnghaBench/masscan/src/extr_stub-pcap.c_null_PCAP_SET_TIMEOUT.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| the_stack_data/263146.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _find_via_cuda ## -- Begin function find_via_cuda
.p2align 4, 0x90
_find_via_cuda: ## @find_via_cuda
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rsi
xorl %edi, %edi
callq _of_find_node_by_name
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %rax, %rdi
callq _of_node_put
leaq L_.str.1(%rip), %rdi
callq _printk
leaq L_.str.2(%rip), %rdi
callq _printk
LBB0_2:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "via-cuda"
L_.str.1: ## @.str.1
.asciz "WARNING ! Your machine is CUDA-based but your kernel\n"
L_.str.2: ## @.str.2
.asciz " wasn't compiled with CONFIG_ADB_CUDA option !\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _find_via_cuda ; -- Begin function find_via_cuda
.p2align 2
_find_via_cuda: ; @find_via_cuda
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, #0
bl _of_find_node_by_name
cbz x0, LBB0_2
; %bb.1:
bl _of_node_put
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printk
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printk
LBB0_2:
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "via-cuda"
l_.str.1: ; @.str.1
.asciz "WARNING ! Your machine is CUDA-based but your kernel\n"
l_.str.2: ; @.str.2
.asciz " wasn't compiled with CONFIG_ADB_CUDA option !\n"
.subsections_via_symbols
| AnghaBench/linux/arch/powerpc/platforms/powermac/extr_setup.c_find_via_cuda.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _s@GOTPCREL(%rip), %rcx
movq _p@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movl $10, (%rcx)
movups L_.str(%rip), %xmm0
movups %xmm0, 4(%rcx)
movl $3044197, 19(%rcx) ## imm = 0x2E7365
addq $4, %rcx
leaq L_.str.1(%rip), %rdi
movl $10, %esi
movl $10, %edx
xorl %eax, %eax
callq _printf
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _s,84,2 ## @s
.comm _p,8,3 ## @p
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "I like structures."
L_.str.1: ## @.str.1
.asciz "%d %d %s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x8, _p@GOTPAGE
Lloh1:
ldr x8, [x8, _p@GOTPAGEOFF]
Lloh2:
adrp x9, _s@GOTPAGE
Lloh3:
ldr x9, [x9, _s@GOTPAGEOFF]
Lloh4:
str x9, [x8]
mov w8, #10
str w8, [x9]
mov w10, #29541
movk w10, #46, lsl #16
stur w10, [x9, #19]
Lloh5:
adrp x10, l_.str@PAGE
Lloh6:
add x10, x10, l_.str@PAGEOFF
Lloh7:
ldr q0, [x10]
stur q0, [x9, #4]
add x9, x9, #4
stp x8, x9, [sp, #8]
str x8, [sp]
Lloh8:
adrp x0, l_.str.1@PAGE
Lloh9:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAddLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh4
.cfi_endproc
; -- End function
.comm _s,84,2 ; @s
.comm _p,8,3 ; @p
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "I like structures."
l_.str.1: ; @.str.1
.asciz "%d %d %s\n"
.subsections_via_symbols
| the_stack_data/6387207.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function kdump_csum_valid
_kdump_csum_valid: ## @kdump_csum_valid
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _S390_lowcore,4,2 ## @S390_lowcore
.comm _do_start_kdump,4,2 ## @do_start_kdump
.no_dead_strip _kdump_csum_valid
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function kdump_csum_valid
_kdump_csum_valid: ; @kdump_csum_valid
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.comm _S390_lowcore,4,2 ; @S390_lowcore
.comm _do_start_kdump,4,2 ; @do_start_kdump
.no_dead_strip _kdump_csum_valid
.subsections_via_symbols
| AnghaBench/linux/arch/s390/kernel/extr_machine_kexec.c_kdump_csum_valid.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _wps_build_os_version ## -- Begin function wps_build_os_version
.p2align 4, 0x90
_wps_build_os_version: ## @wps_build_os_version
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %rbx
movq %rdi, %r14
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _wpa_printf
movq _ATTR_OS_VERSION@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _wpabuf_put_be16
movq %rbx, %rdi
movl $4, %esi
callq _wpabuf_put_be16
movl $-2147483648, %esi ## imm = 0x80000000
orl (%r14), %esi
movq %rbx, %rdi
callq _wpabuf_put_be32
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MSG_DEBUG,4,2 ## @MSG_DEBUG
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "WPS: * OS Version"
.comm _ATTR_OS_VERSION,4,2 ## @ATTR_OS_VERSION
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _wps_build_os_version ; -- Begin function wps_build_os_version
.p2align 2
_wps_build_os_version: ; @wps_build_os_version
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
Lloh0:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh1:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
bl _wpa_printf
Lloh5:
adrp x8, _ATTR_OS_VERSION@GOTPAGE
Lloh6:
ldr x8, [x8, _ATTR_OS_VERSION@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
mov x0, x19
bl _wpabuf_put_be16
mov x0, x19
mov w1, #4
bl _wpabuf_put_be16
ldr w8, [x20]
orr w1, w8, #0x80000000
mov x0, x19
bl _wpabuf_put_be32
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MSG_DEBUG,4,2 ; @MSG_DEBUG
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "WPS: * OS Version"
.comm _ATTR_OS_VERSION,4,2 ; @ATTR_OS_VERSION
.subsections_via_symbols
| AnghaBench/esp-idf/components/wpa_supplicant/src/wps/extr_wps_dev_attr.c_wps_build_os_version.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function srq_sig_enabled
_srq_sig_enabled: ## @srq_sig_enabled
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
callq _getenv
xorl %ecx, %ecx
testq %rax, %rax
setne %cl
movl %ecx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "MLX5_SRQ_SIGNATURE"
.no_dead_strip _srq_sig_enabled
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function srq_sig_enabled
_srq_sig_enabled: ; @srq_sig_enabled
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _getenv
cmp x0, #0
cset w0, ne
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "MLX5_SRQ_SIGNATURE"
.no_dead_strip _srq_sig_enabled
.subsections_via_symbols
| AnghaBench/freebsd/contrib/ofed/libmlx5/extr_verbs.c_srq_sig_enabled.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dai_get_ctrl_blk
_dai_get_ctrl_blk: ## @dai_get_ctrl_blk
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq $0, (%rdi)
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $4, %edi
callq _kzalloc
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, (%rbx)
xorl %eax, %eax
jmp LBB0_3
LBB0_1:
movq _ENOMEM@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_3:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.no_dead_strip _dai_get_ctrl_blk
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dai_get_ctrl_blk
_dai_get_ctrl_blk: ; @dai_get_ctrl_blk
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
str xzr, [x0]
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov w0, #4
bl _kzalloc
cbz x0, LBB0_2
; %bb.1:
mov x8, x0
mov w0, #0
str x8, [x19]
b LBB0_3
LBB0_2:
Lloh3:
adrp x8, _ENOMEM@GOTPAGE
Lloh4:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
neg w0, w8
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.no_dead_strip _dai_get_ctrl_blk
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/sound/pci/ctxfi/extr_cthw20k1.c_dai_get_ctrl_blk.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _uart_recv ## -- Begin function uart_recv
.p2align 4, 0x90
_uart_recv: ## @uart_recv
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq _AUX_MU_LSR_REG@GOTPCREL(%rip), %rbx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl (%rbx), %edi
callq _get32
testb $1, %al
je LBB0_1
## %bb.2:
movq _AUX_MU_IO_REG@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _get32
movsbl %al, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AUX_MU_LSR_REG,4,2 ## @AUX_MU_LSR_REG
.comm _AUX_MU_IO_REG,4,2 ## @AUX_MU_IO_REG
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _uart_recv ; -- Begin function uart_recv
.p2align 2
_uart_recv: ; @uart_recv
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x19, _AUX_MU_LSR_REG@GOTPAGE
Lloh1:
ldr x19, [x19, _AUX_MU_LSR_REG@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w0, [x19]
bl _get32
tbz w0, #0, LBB0_1
; %bb.2:
Lloh2:
adrp x8, _AUX_MU_IO_REG@GOTPAGE
Lloh3:
ldr x8, [x8, _AUX_MU_IO_REG@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
bl _get32
sxtb w0, w0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _AUX_MU_LSR_REG,4,2 ; @AUX_MU_LSR_REG
.comm _AUX_MU_IO_REG,4,2 ; @AUX_MU_IO_REG
.subsections_via_symbols
| AnghaBench/raspberry-pi-os/exercises/lesson02/1/evopen/src/extr_mini_uart.c_uart_recv.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function tpmtis_detach
_tpmtis_detach: ## @tpmtis_detach
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %edi, %r14d
callq _device_get_softc
movq %rax, %rbx
movq %rax, %rdi
callq _tpm20_release
movq 32(%rbx), %rdx
testq %rdx, %rdx
je LBB0_2
## %bb.1:
movq 16(%rbx), %rsi
movl %r14d, %edi
callq _bus_teardown_intr
LBB0_2:
movq 16(%rbx), %rcx
testq %rcx, %rcx
je LBB0_4
## %bb.3:
movq _SYS_RES_IRQ@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl 24(%rbx), %edx
movl %r14d, %edi
callq _bus_release_resource
LBB0_4:
movq (%rbx), %rcx
testq %rcx, %rcx
je LBB0_6
## %bb.5:
movq _SYS_RES_MEMORY@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl 8(%rbx), %edx
movl %r14d, %edi
callq _bus_release_resource
LBB0_6:
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SYS_RES_IRQ,4,2 ## @SYS_RES_IRQ
.comm _SYS_RES_MEMORY,4,2 ## @SYS_RES_MEMORY
.no_dead_strip _tpmtis_detach
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function tpmtis_detach
_tpmtis_detach: ; @tpmtis_detach
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _device_get_softc
mov x20, x0
bl _tpm20_release
ldr x2, [x20, #32]
cbz x2, LBB0_2
; %bb.1:
ldr x1, [x20, #16]
mov x0, x19
bl _bus_teardown_intr
LBB0_2:
ldr x3, [x20, #16]
cbz x3, LBB0_4
; %bb.3:
Lloh0:
adrp x8, _SYS_RES_IRQ@GOTPAGE
Lloh1:
ldr x8, [x8, _SYS_RES_IRQ@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
ldr w2, [x20, #24]
mov x0, x19
bl _bus_release_resource
LBB0_4:
ldr x3, [x20]
cbz x3, LBB0_6
; %bb.5:
Lloh3:
adrp x8, _SYS_RES_MEMORY@GOTPAGE
Lloh4:
ldr x8, [x8, _SYS_RES_MEMORY@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
ldr w2, [x20, #8]
mov x0, x19
bl _bus_release_resource
LBB0_6:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _SYS_RES_IRQ,4,2 ; @SYS_RES_IRQ
.comm _SYS_RES_MEMORY,4,2 ; @SYS_RES_MEMORY
.no_dead_strip _tpmtis_detach
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/tpm/extr_tpm_tis.c_tpmtis_detach.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lpphy_calibrate_rc
_lpphy_calibrate_rc: ## @lpphy_calibrate_rc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
cmpl $2, 8(%rdi)
jl LBB0_1
## %bb.6:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _lpphy_rev2plus_rc_calib ## TAILCALL
LBB0_1:
movq 16(%rbx), %rax
cmpl $0, (%rax)
je LBB0_2
## %bb.4:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _lpphy_set_rc_cap ## TAILCALL
LBB0_2:
movl (%rbx), %edi
callq _b43_current_band
movq _IEEE80211_BAND_2GHZ@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_5
## %bb.3:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _lpphy_rev0_1_rc_calib ## TAILCALL
LBB0_5:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IEEE80211_BAND_2GHZ,8,3 ## @IEEE80211_BAND_2GHZ
.no_dead_strip _lpphy_calibrate_rc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lpphy_calibrate_rc
_lpphy_calibrate_rc: ; @lpphy_calibrate_rc
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w8, [x0, #8]
cmp w8, #2
b.lt LBB0_2
; %bb.1:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _lpphy_rev2plus_rc_calib
LBB0_2:
ldr x8, [x19, #16]
ldr w8, [x8]
cbz w8, LBB0_4
; %bb.3:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _lpphy_set_rc_cap
LBB0_4:
ldr w0, [x19]
bl _b43_current_band
Lloh0:
adrp x8, _IEEE80211_BAND_2GHZ@GOTPAGE
Lloh1:
ldr x8, [x8, _IEEE80211_BAND_2GHZ@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_6
; %bb.5:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _lpphy_rev0_1_rc_calib
LBB0_6:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _IEEE80211_BAND_2GHZ,8,3 ; @IEEE80211_BAND_2GHZ
.no_dead_strip _lpphy_calibrate_rc
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_phy_lp.c_lpphy_calibrate_rc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _efa_create_ah ## -- Begin function efa_create_ah
.p2align 4, 0x90
_efa_create_ah: ## @efa_create_ah
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r12
movl %edx, %ebx
movq %rsi, %r13
movq %rdi, %r14
movl 4(%rdi), %edi
callq _to_edev
movq %rax, %r15
movq $0, -64(%rbp)
movl $0, -48(%rbp)
movq %r14, %rdi
callq _to_eah
movq %rax, -72(%rbp) ## 8-byte Spill
movq _RDMA_CREATE_AH_SLEEPABLE@GOTPCREL(%rip), %rax
testl %ebx, (%rax)
je LBB0_7
## %bb.1:
movq 8(%r12), %rdx
testq %rdx, %rdx
je LBB0_3
## %bb.2:
xorl %ebx, %ebx
movq %r12, %rdi
xorl %esi, %esi
callq _ib_is_udata_cleared
testl %eax, %eax
je LBB0_8
LBB0_3:
movl (%r13), %esi
xorl %edi, %edi
movl $4, %edx
callq _memcpy
movl (%r14), %edi
callq _to_epd
movl (%rax), %eax
movl %eax, -64(%rbp)
leaq 8(%r15), %rdi
leaq -64(%rbp), %rsi
leaq -56(%rbp), %rdx
callq _efa_com_create_ah
movl %eax, %ebx
testl %eax, %eax
jne LBB0_10
## %bb.4:
movq -72(%rbp), %r14 ## 8-byte Reload
movl 4(%r14), %edi
movl (%r13), %esi
movl $4, %edx
callq _memcpy
movl -56(%rbp), %edx
movl %edx, (%r14)
movl %edx, -48(%rbp)
movq (%r12), %rsi
testq %rsi, %rsi
je LBB0_13
## %bb.5:
movl $4, %edi
callq _min
leaq -48(%rbp), %rsi
movq %r12, %rdi
movl %eax, %edx
callq _ib_copy_to_udata
testl %eax, %eax
je LBB0_12
## %bb.6:
movl %eax, %ebx
movq %r15, %rdi
addq $4, %rdi
leaq L_.str.2(%rip), %rsi
xorl %eax, %eax
callq _ibdev_dbg
movq %r15, %rdi
movq %r14, %rsi
callq _efa_ah_destroy
jmp LBB0_10
LBB0_7:
movq %r15, %rdi
addq $4, %rdi
leaq L_.str(%rip), %rsi
xorl %ebx, %ebx
xorl %eax, %eax
callq _ibdev_dbg
movq _EOPNOTSUPP@GOTPCREL(%rip), %rax
jmp LBB0_9
LBB0_8:
movq %r15, %rdi
addq $4, %rdi
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _ibdev_dbg
movq _EINVAL@GOTPCREL(%rip), %rax
LBB0_9:
subl (%rax), %ebx
LBB0_10:
movq %r15, %rdi
callq _atomic64_inc
LBB0_11:
movl %ebx, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_12:
movl (%r14), %edx
LBB0_13:
addq $4, %r15
leaq L_.str.3(%rip), %rsi
xorl %ebx, %ebx
movq %r15, %rdi
xorl %eax, %eax
callq _ibdev_dbg
jmp LBB0_11
.cfi_endproc
## -- End function
.comm _RDMA_CREATE_AH_SLEEPABLE,4,2 ## @RDMA_CREATE_AH_SLEEPABLE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Create address handle is not supported in atomic context\n"
.comm _EOPNOTSUPP,4,2 ## @EOPNOTSUPP
L_.str.1: ## @.str.1
.asciz "Incompatible ABI params\n"
.comm _EINVAL,4,2 ## @EINVAL
L_.str.2: ## @.str.2
.asciz "Failed to copy udata for create_ah response\n"
L_.str.3: ## @.str.3
.asciz "Created ah[%d]\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _efa_create_ah ; -- Begin function efa_create_ah
.p2align 2
_efa_create_ah: ; @efa_create_ah
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x3
mov x24, x2
mov x22, x1
mov x23, x0
ldr w0, [x0, #4]
bl _to_edev
mov x19, x0
str xzr, [sp, #24]
str wzr, [sp, #16]
mov x0, x23
bl _to_eah
Lloh0:
adrp x8, _RDMA_CREATE_AH_SLEEPABLE@GOTPAGE
Lloh1:
ldr x8, [x8, _RDMA_CREATE_AH_SLEEPABLE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
tst w8, w24
b.eq LBB0_7
; %bb.1:
mov x21, x0
ldr x2, [x20, #8]
cbz x2, LBB0_3
; %bb.2:
mov x0, x20
mov w1, #0
bl _ib_is_udata_cleared
cbz w0, LBB0_8
LBB0_3:
ldr w1, [x22]
mov w0, #0
mov w2, #4
bl _memcpy
ldr w0, [x23]
bl _to_epd
ldr w8, [x0]
str w8, [sp, #24]
add x0, x19, #8
add x1, sp, #24
add x2, sp, #8
bl _efa_com_create_ah
mov x23, x0
cbnz w0, LBB0_10
; %bb.4:
ldr w0, [x21, #4]
ldr w1, [x22]
mov w2, #4
bl _memcpy
ldr w8, [sp, #8]
str w8, [x21]
str w8, [sp, #16]
ldr x1, [x20]
cbz x1, LBB0_13
; %bb.5:
mov w0, #4
bl _min
mov x2, x0
add x1, sp, #16
mov x0, x20
bl _ib_copy_to_udata
cbz w0, LBB0_12
; %bb.6:
mov x23, x0
add x0, x19, #4
Lloh3:
adrp x1, l_.str.2@PAGE
Lloh4:
add x1, x1, l_.str.2@PAGEOFF
bl _ibdev_dbg
mov x0, x19
mov x1, x21
bl _efa_ah_destroy
b LBB0_10
LBB0_7:
add x0, x19, #4
Lloh5:
adrp x1, l_.str@PAGE
Lloh6:
add x1, x1, l_.str@PAGEOFF
bl _ibdev_dbg
Lloh7:
adrp x8, _EOPNOTSUPP@GOTPAGE
Lloh8:
ldr x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
b LBB0_9
LBB0_8:
add x0, x19, #4
Lloh9:
adrp x1, l_.str.1@PAGE
Lloh10:
add x1, x1, l_.str.1@PAGEOFF
bl _ibdev_dbg
Lloh11:
adrp x8, _EINVAL@GOTPAGE
Lloh12:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_9:
ldr w8, [x8]
neg w23, w8
LBB0_10:
mov x0, x19
bl _atomic64_inc
LBB0_11:
mov x0, x23
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_12:
ldr w8, [x21]
LBB0_13:
add x0, x19, #4
str x8, [sp]
Lloh13:
adrp x1, l_.str.3@PAGE
Lloh14:
add x1, x1, l_.str.3@PAGEOFF
bl _ibdev_dbg
mov w23, #0
b LBB0_11
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _RDMA_CREATE_AH_SLEEPABLE,4,2 ; @RDMA_CREATE_AH_SLEEPABLE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Create address handle is not supported in atomic context\n"
.comm _EOPNOTSUPP,4,2 ; @EOPNOTSUPP
l_.str.1: ; @.str.1
.asciz "Incompatible ABI params\n"
.comm _EINVAL,4,2 ; @EINVAL
l_.str.2: ; @.str.2
.asciz "Failed to copy udata for create_ah response\n"
l_.str.3: ; @.str.3
.asciz "Created ah[%d]\n"
.subsections_via_symbols
| AnghaBench/linux/drivers/infiniband/hw/efa/extr_efa_verbs.c_efa_create_ah.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nforce2_access_virt0
_nforce2_access_virt0: ## @nforce2_access_virt0
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %eax
andl $252, %eax
cmpl $80, %eax
je LBB0_3
## %bb.1:
movl %esi, %ebx
cmpl $24, %esi
je LBB0_3
## %bb.2:
cmpl $48, %eax
je LBB0_3
## %bb.5:
movl %r8d, %r15d
movl %ecx, %r12d
movl %edx, %r14d
movq %rdi, %r13
movq _nforce2_lock@GOTPCREL(%rip), %rdi
movl %r9d, -44(%rbp) ## 4-byte Spill
callq _mutex_lock
movq _nforce2_smbus@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax), %rax
movq 16(%rbp), %rcx
movq %rcx, (%rsp)
movzwl %r14w, %edx
movsbl %r12b, %ecx
movq %r13, %rdi
movl %ebx, %esi
movl %r15d, %r8d
movl -44(%rbp), %r9d ## 4-byte Reload
callq *(%rax)
movl %eax, %ebx
movq _nforce2_lock@GOTPCREL(%rip), %rdi
callq _mutex_unlock
movl %ebx, %eax
jmp LBB0_4
LBB0_3:
movq _ENXIO@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_4:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENXIO,4,2 ## @ENXIO
.comm _nforce2_lock,4,2 ## @nforce2_lock
.comm _nforce2_smbus,8,3 ## @nforce2_smbus
.no_dead_strip _nforce2_access_virt0
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nforce2_access_virt0
_nforce2_access_virt0: ; @nforce2_access_virt0
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
and w8, w1, #0xfc
cmp w8, #80
ccmp w1, #24, #4, ne
b.ne LBB0_2
LBB0_1:
Lloh0:
adrp x8, _ENXIO@GOTPAGE
Lloh1:
ldr x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
b LBB0_4
LBB0_2:
cmp w8, #48
b.eq LBB0_1
; %bb.3:
mov x19, x6
mov x20, x5
mov x21, x4
mov x22, x3
mov x23, x2
mov x24, x1
mov x25, x0
Lloh3:
adrp x26, _nforce2_lock@GOTPAGE
Lloh4:
ldr x26, [x26, _nforce2_lock@GOTPAGEOFF]
mov x0, x26
bl _mutex_lock
Lloh5:
adrp x8, _nforce2_smbus@GOTPAGE
Lloh6:
ldr x8, [x8, _nforce2_smbus@GOTPAGEOFF]
Lloh7:
ldr x8, [x8]
ldr x8, [x8]
ldr x8, [x8]
mov x0, x25
mov x1, x24
mov x2, x23
mov x3, x22
mov x4, x21
mov x5, x20
mov x6, x19
blr x8
mov x19, x0
mov x0, x26
bl _mutex_unlock
mov x0, x19
LBB0_4:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _ENXIO,4,2 ; @ENXIO
.comm _nforce2_lock,4,2 ; @nforce2_lock
.comm _nforce2_smbus,8,3 ; @nforce2_smbus
.no_dead_strip _nforce2_access_virt0
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/i2c/busses/extr_i2c-nforce2-s4985.c_nforce2_access_virt0.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _WriteGLView_r ## -- Begin function WriteGLView_r
.p2align 4, 0x90
_WriteGLView_r: ## @WriteGLView_r
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %r15
movq (%rdi), %rax
movq _PLANENUM_LEAF@GOTPCREL(%rip), %rbx
cmpq (%rbx), %rax
je LBB0_3
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq 16(%r15), %rax
movq (%rax), %rdi
movq %r14, %rsi
callq _WriteGLView_r
movq 16(%r15), %rax
movq 8(%rax), %r15
movq (%r15), %rax
cmpq (%rbx), %rax
jne LBB0_1
LBB0_3:
movq 8(%r15), %rbx
testq %rbx, %rbx
jne LBB0_5
jmp LBB0_9
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_5 Depth=1
movq %rbx, %rdi
movq %r14, %rsi
callq _OutputPortal
movq (%rbx), %rax
movq (%rax), %rbx
testq %rbx, %rbx
je LBB0_9
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq 8(%rbx), %rax
cmpq %r15, (%rax)
je LBB0_6
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movq (%rbx), %rax
addq $8, %rax
movq (%rax), %rbx
testq %rbx, %rbx
jne LBB0_5
LBB0_9:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PLANENUM_LEAF,8,3 ## @PLANENUM_LEAF
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _WriteGLView_r ; -- Begin function WriteGLView_r
.p2align 2
_WriteGLView_r: ; @WriteGLView_r
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
ldr x8, [x0]
Lloh0:
adrp x21, _PLANENUM_LEAF@GOTPAGE
Lloh1:
ldr x21, [x21, _PLANENUM_LEAF@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x9, [x21]
cmp x8, x9
b.eq LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [x20, #16]
ldr x0, [x8]
mov x1, x19
bl _WriteGLView_r
ldr x8, [x20, #16]
ldr x20, [x8, #8]
ldr x8, [x20]
b LBB0_1
LBB0_3:
ldr x21, [x20, #8]
cbnz x21, LBB0_5
b LBB0_7
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x21]
add x8, x8, #8
ldr x21, [x8]
cbz x21, LBB0_7
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [x21, #8]
ldr x8, [x8]
cmp x8, x20
b.ne LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
mov x0, x21
mov x1, x19
bl _OutputPortal
ldr x8, [x21]
ldr x21, [x8]
cbnz x21, LBB0_5
LBB0_7:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _PLANENUM_LEAF,8,3 ; @PLANENUM_LEAF
.subsections_via_symbols
| AnghaBench/lab/engine/code/bspc/extr_glfile.c_WriteGLView_r.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _getpid
leaq L_.str(%rip), %rdi
movl %eax, %esi
xorl %eax, %eax
callq _printf
callq _getppid
leaq L_.str.1(%rip), %rdi
movl %eax, %esi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Pid of C_P is %d\n"
L_.str.1: ## @.str.1
.asciz "Parent Pid of C_P is %d\n\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _getpid
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
bl _getppid
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Pid of C_P is %d\n"
l_.str.1: ; @.str.1
.asciz "Parent Pid of C_P is %d\n\n"
.subsections_via_symbols
| the_stack_data/21721.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_putstr ## -- Begin function ft_putstr
.p2align 4, 0x90
_ft_putstr: ## @ft_putstr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
cmpb $0, (%rdi)
je LBB0_3
## %bb.1:
movq %rdi, %rbx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl $1, %edx
movl $1, %edi
movq %rbx, %rsi
callq _write
cmpb $0, 1(%rbx)
leaq 1(%rbx), %rbx
jne LBB0_2
LBB0_3:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_putstr ; -- Begin function ft_putstr
.p2align 2
_ft_putstr: ; @ft_putstr
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldrb w8, [x0]
cbz w8, LBB0_3
; %bb.1:
mov x19, x0
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov w0, #1
mov x1, x19
mov w2, #1
bl _write
ldrb w8, [x19, #1]!
cbnz w8, LBB0_2
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/248581278.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lpfc_rcv_prlo_adisc_issue
_lpfc_rcv_prlo_adisc_issue: ## @lpfc_rcv_prlo_adisc_issue
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rsi, %rbx
movq _ELS_CMD_PRLO@GOTPCREL(%rip), %rax
movl (%rax), %ecx
callq _lpfc_rcv_logo
movl (%rbx), %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ELS_CMD_PRLO,4,2 ## @ELS_CMD_PRLO
.no_dead_strip _lpfc_rcv_prlo_adisc_issue
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lpfc_rcv_prlo_adisc_issue
_lpfc_rcv_prlo_adisc_issue: ; @lpfc_rcv_prlo_adisc_issue
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
Lloh0:
adrp x8, _ELS_CMD_PRLO@GOTPAGE
Lloh1:
ldr x8, [x8, _ELS_CMD_PRLO@GOTPAGEOFF]
Lloh2:
ldr w3, [x8]
bl _lpfc_rcv_logo
ldr w0, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ELS_CMD_PRLO,4,2 ; @ELS_CMD_PRLO
.no_dead_strip _lpfc_rcv_prlo_adisc_issue
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_nportdisc.c_lpfc_rcv_prlo_adisc_issue.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function st_lsm6dsx_write_raw
_st_lsm6dsx_write_raw: ## @st_lsm6dsx_write_raw
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r8, %r15
movl %ecx, -44(%rbp) ## 4-byte Spill
movl %edx, %r13d
movq %rdi, %r12
callq _iio_priv
movq %rax, %r14
movq %r12, %rdi
callq _iio_device_claim_direct_mode
movl %eax, %ebx
testl %eax, %eax
jne LBB0_8
## %bb.1:
movl -44(%rbp), %esi ## 4-byte Reload
cmpq $129, %r15
je LBB0_4
## %bb.2:
cmpq $128, %r15
jne LBB0_6
## %bb.3:
movq %r14, %rdi
callq _st_lsm6dsx_set_full_scale
movl %eax, %ebx
jmp LBB0_7
LBB0_4:
leaq -48(%rbp), %rdx
movq %r14, %rdi
movl %r13d, %esi
callq _st_lsm6dsx_check_odr
movl %eax, %ebx
testl %eax, %eax
jne LBB0_7
## %bb.5:
movl %r13d, (%r14)
jmp LBB0_7
LBB0_6:
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
LBB0_7:
movq %r12, %rdi
callq _iio_device_release_direct_mode
LBB0_8:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _st_lsm6dsx_write_raw
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function st_lsm6dsx_write_raw
_st_lsm6dsx_write_raw: ; @st_lsm6dsx_write_raw
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x24, x4
mov x23, x3
mov x21, x2
mov x19, x0
bl _iio_priv
mov x20, x0
mov x0, x19
bl _iio_device_claim_direct_mode
mov x22, x0
cbnz w0, LBB0_8
; %bb.1:
cmp x24, #129
b.eq LBB0_4
; %bb.2:
cmp x24, #128
b.ne LBB0_6
; %bb.3:
mov x0, x20
mov x1, x23
bl _st_lsm6dsx_set_full_scale
mov x22, x0
b LBB0_7
LBB0_4:
add x2, sp, #12
mov x0, x20
mov x1, x21
bl _st_lsm6dsx_check_odr
mov x22, x0
cbnz w0, LBB0_7
; %bb.5:
str w21, [x20]
b LBB0_7
LBB0_6:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w22, w8
LBB0_7:
mov x0, x19
bl _iio_device_release_direct_mode
LBB0_8:
mov x0, x22
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _st_lsm6dsx_write_raw
.subsections_via_symbols
| AnghaBench/linux/drivers/iio/imu/st_lsm6dsx/extr_st_lsm6dsx_core.c_st_lsm6dsx_write_raw.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mmal_graph_create ## -- Begin function mmal_graph_create
.p2align 4, 0x90
_mmal_graph_create: ## @mmal_graph_create
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %ebx
movq %rdi, %r15
leaq L_.str(%rip), %rdi
movq %r15, %rsi
movl %ebx, %edx
callq _LOG_TRACE
testq %r15, %r15
je LBB0_1
## %bb.2:
leal 16(%rbx), %esi
leaq L_.str.1(%rip), %rdx
movl $1, %edi
callq _vcos_calloc
testq %rax, %rax
je LBB0_3
## %bb.4:
movq %rax, %r14
addq $8, %rax
movq %rax, (%r15)
testl %ebx, %ebx
je LBB0_6
## %bb.5:
movq %r14, %rax
addq $16, %rax
movq %rax, 8(%r14)
LBB0_6:
leaq L_.str.2(%rip), %rsi
movq %r14, %rdi
xorl %edx, %edx
callq _vcos_semaphore_create
movq _VCOS_SUCCESS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_8
## %bb.7:
movq _MMAL_SUCCESS@GOTPCREL(%rip), %rax
jmp LBB0_9
LBB0_1:
movq _MMAL_EINVAL@GOTPCREL(%rip), %rax
jmp LBB0_9
LBB0_3:
movq _MMAL_ENOMEM@GOTPCREL(%rip), %rax
jmp LBB0_9
LBB0_8:
leaq L_.str.3(%rip), %rdi
movq %r15, %rsi
callq _LOG_ERROR
movq %r14, %rdi
callq _vcos_free
movq _MMAL_ENOSPC@GOTPCREL(%rip), %rax
LBB0_9:
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "graph %p, userdata_size %u"
.comm _MMAL_EINVAL,4,2 ## @MMAL_EINVAL
L_.str.1: ## @.str.1
.asciz "mmal connection graph"
.comm _MMAL_ENOMEM,4,2 ## @MMAL_ENOMEM
L_.str.2: ## @.str.2
.asciz "mmal graph sema"
.comm _VCOS_SUCCESS,8,3 ## @VCOS_SUCCESS
L_.str.3: ## @.str.3
.asciz "failed to create semaphore %p"
.comm _MMAL_ENOSPC,4,2 ## @MMAL_ENOSPC
.comm _MMAL_SUCCESS,4,2 ## @MMAL_SUCCESS
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mmal_graph_create ; -- Begin function mmal_graph_create
.p2align 2
_mmal_graph_create: ; @mmal_graph_create
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x1
mov x19, x0
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov x1, x19
mov x2, x21
bl _LOG_TRACE
cbz x19, LBB0_6
; %bb.1:
add w1, w21, #16
Lloh2:
adrp x2, l_.str.1@PAGE
Lloh3:
add x2, x2, l_.str.1@PAGEOFF
mov w0, #1
bl _vcos_calloc
cbz x0, LBB0_7
; %bb.2:
mov x20, x0
add x8, x0, #8
str x8, [x19]
cbz w21, LBB0_4
; %bb.3:
add x8, x20, #16
str x8, [x20, #8]
LBB0_4:
Lloh4:
adrp x1, l_.str.2@PAGE
Lloh5:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x20
mov w2, #0
bl _vcos_semaphore_create
Lloh6:
adrp x8, _VCOS_SUCCESS@GOTPAGE
Lloh7:
ldr x8, [x8, _VCOS_SUCCESS@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_8
; %bb.5:
Lloh9:
adrp x8, _MMAL_SUCCESS@GOTPAGE
Lloh10:
ldr x8, [x8, _MMAL_SUCCESS@GOTPAGEOFF]
b LBB0_9
LBB0_6:
Lloh11:
adrp x8, _MMAL_EINVAL@GOTPAGE
Lloh12:
ldr x8, [x8, _MMAL_EINVAL@GOTPAGEOFF]
b LBB0_9
LBB0_7:
Lloh13:
adrp x8, _MMAL_ENOMEM@GOTPAGE
Lloh14:
ldr x8, [x8, _MMAL_ENOMEM@GOTPAGEOFF]
b LBB0_9
LBB0_8:
Lloh15:
adrp x0, l_.str.3@PAGE
Lloh16:
add x0, x0, l_.str.3@PAGEOFF
mov x1, x19
bl _LOG_ERROR
mov x0, x20
bl _vcos_free
Lloh17:
adrp x8, _MMAL_ENOSPC@GOTPAGE
Lloh18:
ldr x8, [x8, _MMAL_ENOSPC@GOTPAGEOFF]
LBB0_9:
ldr w0, [x8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "graph %p, userdata_size %u"
.comm _MMAL_EINVAL,4,2 ; @MMAL_EINVAL
l_.str.1: ; @.str.1
.asciz "mmal connection graph"
.comm _MMAL_ENOMEM,4,2 ; @MMAL_ENOMEM
l_.str.2: ; @.str.2
.asciz "mmal graph sema"
.comm _VCOS_SUCCESS,8,3 ; @VCOS_SUCCESS
l_.str.3: ; @.str.3
.asciz "failed to create semaphore %p"
.comm _MMAL_ENOSPC,4,2 ; @MMAL_ENOSPC
.comm _MMAL_SUCCESS,4,2 ; @MMAL_SUCCESS
.subsections_via_symbols
| AnghaBench/RetroArch/gfx/include/userland/interface/mmal/util/extr_mmal_graph.c_mmal_graph_create.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _amdgpu_vce_ring_parse_cs_vm ## -- Begin function amdgpu_vce_ring_parse_cs_vm
.p2align 4, 0x90
_amdgpu_vce_ring_parse_cs_vm: ## @amdgpu_vce_ring_parse_cs_vm
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, -64(%rbp) ## 8-byte Spill
movq 8(%rdi), %rax
movq (%rax), %rax
leaq (%rax,%rsi,4), %rcx
movq %rcx, -80(%rbp) ## 8-byte Spill
movq $0, -56(%rbp)
xorl %ebx, %ebx
movq %rsi, -88(%rbp) ## 8-byte Spill
cmpl $0, (%rax,%rsi,4)
jle LBB0_1
## %bb.2:
movl $-1, %edx
xorl %eax, %eax
movq %rax, -72(%rbp) ## 8-byte Spill
xorl %r15d, %r15d
movq -64(%rbp), %r13 ## 8-byte Reload
movq -88(%rbp), %r12 ## 8-byte Reload
jmp LBB0_3
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_3 Depth=1
movl $1, %eax
movq %r15, %rdx
movl %edx, %ecx
shll %cl, %eax
cltq
movq -48(%rbp), %r15 ## 8-byte Reload
orq %rax, %r15
LBB0_16: ## in Loop: Header=BB0_3 Depth=1
cmpl $-1, %edx
je LBB0_17
LBB0_18: ## in Loop: Header=BB0_3 Depth=1
shrq $2, %r14
addl %r14d, %ebx
movq -80(%rbp), %rax ## 8-byte Reload
cmpl (%rax), %ebx
jge LBB0_19
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r15, -48(%rbp) ## 8-byte Spill
movq %rdx, %r15
movq %r13, %rdi
movq %r12, %rsi
movl %ebx, %edx
callq _amdgpu_get_ib_value
movq %rax, %r14
leal 1(%rbx), %edx
movq %r13, %rdi
movq %r12, %rsi
callq _amdgpu_get_ib_value
cmpq $8, %r14
jb LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl %r14d, %ecx
andl $3, %ecx
testq %rcx, %rcx
jne LBB0_5
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
cmpq $33554433, %rax ## imm = 0x2000001
je LBB0_15
## %bb.7: ## in Loop: Header=BB0_3 Depth=1
cmpq $16777217, %rax ## imm = 0x1000001
je LBB0_10
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
cmpq $1, %rax
jne LBB0_9
## %bb.25: ## in Loop: Header=BB0_3 Depth=1
leal 2(%rbx), %edx
movq -64(%rbp), %r15 ## 8-byte Reload
movq %r15, %rdi
movq -88(%rbp), %rsi ## 8-byte Reload
callq _amdgpu_get_ib_value
movq %r15, %rdi
movq %rax, %rsi
leaq -56(%rbp), %rdx
callq _amdgpu_vce_validate_handle
movl %eax, %edx
testl %eax, %eax
movq -48(%rbp), %r15 ## 8-byte Reload
jns LBB0_18
jmp LBB0_26
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
movl $1, %eax
movq %r15, %rdx
movl %edx, %ecx
shll %cl, %eax
cltq
movq -72(%rbp), %rcx ## 8-byte Reload
orq %rax, %rcx
movq -48(%rbp), %r15 ## 8-byte Reload
testq %rax, %r15
movq %rcx, -72(%rbp) ## 8-byte Spill
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_3 Depth=1
movl %eax, %ecx
notl %ecx
movslq %ecx, %rcx
andq %rcx, %r15
orq %rax, -56(%rbp)
jmp LBB0_16
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
movq %r15, %rdx
movq -48(%rbp), %r15 ## 8-byte Reload
jmp LBB0_16
LBB0_12: ## in Loop: Header=BB0_3 Depth=1
testq %rax, -56(%rbp)
jne LBB0_16
## %bb.13:
leaq L_.str.1(%rip), %rdi
jmp LBB0_14
LBB0_1:
xorl %r15d, %r15d
xorl %eax, %eax
jmp LBB0_20
LBB0_5:
leaq L_.str(%rip), %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _DRM_ERROR
movq _EINVAL@GOTPCREL(%rip), %rax
movq -48(%rbp), %r15 ## 8-byte Reload
jmp LBB0_22
LBB0_19:
movq -56(%rbp), %rbx
movq -72(%rbp), %rax ## 8-byte Reload
LBB0_20:
notq %rax
testq %rax, %rbx
je LBB0_24
## %bb.21:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _DRM_ERROR
movq _ENOENT@GOTPCREL(%rip), %rax
jmp LBB0_22
LBB0_17:
leaq L_.str.2(%rip), %rdi
LBB0_14:
xorl %eax, %eax
callq _DRM_ERROR
movq _EINVAL@GOTPCREL(%rip), %rax
LBB0_22:
movl (%rax), %edx
testl %edx, %edx
je LBB0_24
## %bb.23:
negl %edx
LBB0_26:
movq %rdx, -48(%rbp) ## 8-byte Spill
movq -56(%rbp), %r15
jmp LBB0_27
LBB0_24:
movq -64(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
xorl %eax, %eax
movq %rax, -48(%rbp) ## 8-byte Spill
movq -80(%rbp), %rsi ## 8-byte Reload
xorl %edx, %edx
callq _amdgpu_ib_free
LBB0_27:
movq _AMDGPU_MAX_VCE_HANDLES@GOTPCREL(%rip), %r14
movl (%r14), %eax
testl %eax, %eax
jle LBB0_32
## %bb.28:
xorl %r13d, %r13d
xorl %ebx, %ebx
jmp LBB0_29
.p2align 4, 0x90
LBB0_31: ## in Loop: Header=BB0_29 Depth=1
incq %rbx
movslq %eax, %rcx
addq $4, %r13
cmpq %rcx, %rbx
jge LBB0_32
LBB0_29: ## =>This Inner Loop Header: Depth=1
movl $1, %edx
movl %ebx, %ecx
shll %cl, %edx
movslq %edx, %rcx
testq %rcx, %r15
je LBB0_31
## %bb.30: ## in Loop: Header=BB0_29 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
movq (%rax), %rdi
addq %r13, %rdi
xorl %esi, %esi
callq _atomic_set
movl (%r14), %eax
jmp LBB0_31
LBB0_32:
movq -48(%rbp), %rax ## 8-byte Reload
## kill: def $eax killed $eax killed $rax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "invalid VCE command length (%d)!\n"
.comm _EINVAL,4,2 ## @EINVAL
L_.str.1: ## @.str.1
.asciz "Handle already in use!\n"
L_.str.2: ## @.str.2
.asciz "no session command at start of IB\n"
L_.str.3: ## @.str.3
.asciz "New session without create command!\n"
.comm _ENOENT,4,2 ## @ENOENT
.comm _AMDGPU_MAX_VCE_HANDLES,4,2 ## @AMDGPU_MAX_VCE_HANDLES
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _amdgpu_vce_ring_parse_cs_vm ; -- Begin function amdgpu_vce_ring_parse_cs_vm
.p2align 2
_amdgpu_vce_ring_parse_cs_vm: ; @amdgpu_vce_ring_parse_cs_vm
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
ldr x8, [x0, #8]
ldr x8, [x8]
add x20, x8, x1, lsl #2
str xzr, [sp, #8]
ldr w8, [x20]
cmp w8, #1
b.lt LBB0_15
; %bb.1:
mov x22, x1
mov w23, #0
mov x26, #0
mov x25, #0
mov w21, #-1
mov w27, #1
movk w27, #512, lsl #16
mov w28, #1
movk w28, #256, lsl #16
b LBB0_5
LBB0_2: ; in Loop: Header=BB0_5 Depth=1
mov w8, #1
lsl w8, w8, w21
sxtw x8, w8
orr x25, x25, x8
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
cmn w21, #1
b.eq LBB0_20
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
lsr x8, x24, #2
ldr w9, [x20]
add w23, w23, w8
cmp w23, w9
b.ge LBB0_17
LBB0_5: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov x1, x22
mov x2, x23
bl _amdgpu_get_ib_value
mov x24, x0
add w2, w23, #1
mov x0, x19
mov x1, x22
bl _amdgpu_get_ib_value
cmp x24, #8
b.lo LBB0_16
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
and x8, x24, #0x3
cbnz x8, LBB0_16
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
cmp x0, x27
b.eq LBB0_2
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
cmp x0, x28
b.eq LBB0_11
; %bb.9: ; in Loop: Header=BB0_5 Depth=1
cmp x0, #1
b.ne LBB0_3
; %bb.10: ; in Loop: Header=BB0_5 Depth=1
add w2, w23, #2
mov x0, x19
mov x1, x22
bl _amdgpu_get_ib_value
mov x1, x0
add x2, sp, #8
mov x0, x19
bl _amdgpu_vce_validate_handle
mov x21, x0
tbz w0, #31, LBB0_4
b LBB0_23
LBB0_11: ; in Loop: Header=BB0_5 Depth=1
mov w8, #1
lsl w8, w8, w21
sxtw x8, w8
orr x26, x26, x8
tst x25, x8
b.eq LBB0_13
; %bb.12: ; in Loop: Header=BB0_5 Depth=1
mvn w9, w8
sxtw x9, w9
and x25, x25, x9
ldr x9, [sp, #8]
orr x8, x9, x8
str x8, [sp, #8]
b LBB0_3
LBB0_13: ; in Loop: Header=BB0_5 Depth=1
ldr x9, [sp, #8]
tst x9, x8
b.ne LBB0_3
; %bb.14:
Lloh0:
adrp x0, l_.str.1@PAGE
Lloh1:
add x0, x0, l_.str.1@PAGEOFF
b LBB0_21
LBB0_15:
mov x8, #0
mov x25, #0
mov x26, #0
bics xzr, x8, x26
b.ne LBB0_18
b LBB0_19
LBB0_16:
str x24, [sp]
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
b LBB0_21
LBB0_17:
ldr x8, [sp, #8]
bics xzr, x8, x26
b.eq LBB0_19
LBB0_18:
Lloh4:
adrp x0, l_.str.3@PAGE
Lloh5:
add x0, x0, l_.str.3@PAGEOFF
bl _DRM_ERROR
Lloh6:
adrp x8, _ENOENT@GOTPAGE
Lloh7:
ldr x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
cbnz w8, LBB0_22
LBB0_19:
ldr x0, [x19]
mov x1, x20
mov x2, #0
bl _amdgpu_ib_free
mov w21, #0
b LBB0_24
LBB0_20:
Lloh9:
adrp x0, l_.str.2@PAGE
Lloh10:
add x0, x0, l_.str.2@PAGEOFF
LBB0_21:
bl _DRM_ERROR
Lloh11:
adrp x8, _EINVAL@GOTPAGE
Lloh12:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
ldr w8, [x8]
cbz w8, LBB0_19
LBB0_22:
neg w21, w8
LBB0_23:
ldr x25, [sp, #8]
LBB0_24:
Lloh14:
adrp x20, _AMDGPU_MAX_VCE_HANDLES@GOTPAGE
Lloh15:
ldr x20, [x20, _AMDGPU_MAX_VCE_HANDLES@GOTPAGEOFF]
ldr w8, [x20]
cmp w8, #1
b.lt LBB0_29
; %bb.25:
mov x22, #0
mov x23, #0
mov w24, #1
b LBB0_27
LBB0_26: ; in Loop: Header=BB0_27 Depth=1
add x23, x23, #1
add x22, x22, #4
cmp x23, w8, sxtw
b.ge LBB0_29
LBB0_27: ; =>This Inner Loop Header: Depth=1
lsl w9, w24, w23
sxtw x9, w9
tst x25, x9
b.eq LBB0_26
; %bb.28: ; in Loop: Header=BB0_27 Depth=1
ldr x8, [x19]
ldr x8, [x8]
add x0, x8, x22
mov w1, #0
bl _atomic_set
ldr w8, [x20]
b LBB0_26
LBB0_29:
mov x0, x21
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGot Lloh14, Lloh15
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "invalid VCE command length (%d)!\n"
.comm _EINVAL,4,2 ; @EINVAL
l_.str.1: ; @.str.1
.asciz "Handle already in use!\n"
l_.str.2: ; @.str.2
.asciz "no session command at start of IB\n"
l_.str.3: ; @.str.3
.asciz "New session without create command!\n"
.comm _ENOENT,4,2 ; @ENOENT
.comm _AMDGPU_MAX_VCE_HANDLES,4,2 ; @AMDGPU_MAX_VCE_HANDLES
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_vce.c_amdgpu_vce_ring_parse_cs_vm.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dvb_pll_get_frequency
_dvb_pll_get_frequency: ## @dvb_pll_get_frequency
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rax
movl (%rax), %eax
movl %eax, (%rsi)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _dvb_pll_get_frequency
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dvb_pll_get_frequency
_dvb_pll_get_frequency: ; @dvb_pll_get_frequency
.cfi_startproc
; %bb.0:
ldr x8, [x0]
ldr w8, [x8]
str w8, [x1]
mov w0, #0
ret
.cfi_endproc
; -- End function
.no_dead_strip _dvb_pll_get_frequency
.subsections_via_symbols
| AnghaBench/linux/drivers/media/dvb-frontends/extr_dvb-pll.c_dvb_pll_get_frequency.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hfi1_mmu_rb_insert ## -- Begin function hfi1_mmu_rb_insert
.p2align 4, 0x90
_hfi1_mmu_rb_insert: ## @hfi1_mmu_rb_insert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movl 4(%rsi), %esi
movl 8(%rbx), %edi
callq _trace_hfi1_mmu_rb_insert
movq %r14, %rdi
callq _spin_lock_irqsave
movl 4(%rbx), %edx
movl 8(%rbx), %esi
movq %r14, %rdi
callq ___mmu_rb_search
testq %rax, %rax
je LBB0_2
## %bb.1:
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %r15d, %r15d
subl (%rax), %r15d
jmp LBB0_5
LBB0_2:
leaq 4(%r14), %r12
movq %rbx, %rdi
movq %r12, %rsi
callq ___mmu_int_rb_insert
leaq 24(%r14), %rsi
movq %rbx, %rdi
callq _list_add
movq 16(%r14), %rax
movl 8(%r14), %edi
movq %rbx, %rsi
callq *(%rax)
testl %eax, %eax
je LBB0_3
## %bb.4:
movl %eax, %r15d
movq %rbx, %rdi
movq %r12, %rsi
callq ___mmu_int_rb_remove
movq %rbx, %rdi
callq _list_del
jmp LBB0_5
LBB0_3:
xorl %r15d, %r15d
LBB0_5:
movq %r14, %rdi
callq _spin_unlock_irqrestore
movl %r15d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.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 _hfi1_mmu_rb_insert ; -- Begin function hfi1_mmu_rb_insert
.p2align 2
_hfi1_mmu_rb_insert: ; @hfi1_mmu_rb_insert
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
ldp w1, w0, [x1, #4]
bl _trace_hfi1_mmu_rb_insert
mov x0, x19
bl _spin_lock_irqsave
ldp w2, w1, [x20, #4]
mov x0, x19
bl ___mmu_rb_search
cbz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w22, w8
b LBB0_4
LBB0_2:
add x21, x19, #4
mov x0, x20
mov x1, x21
bl ___mmu_int_rb_insert
add x1, x19, #24
mov x0, x20
bl _list_add
ldr x8, [x19, #16]
ldr x8, [x8]
ldr w0, [x19, #8]
mov x1, x20
blr x8
mov x22, x0
cbz w0, LBB0_4
; %bb.3:
mov x0, x20
mov x1, x21
bl ___mmu_int_rb_remove
mov x0, x20
bl _list_del
LBB0_4:
mov x0, x19
bl _spin_unlock_irqrestore
mov x0, x22
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.subsections_via_symbols
| AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_mmu_rb.c_hfi1_mmu_rb_insert.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $320, %rsp ## imm = 0x140
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movl %edi, %ebx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
leaq L_.str(%rip), %rdi
callq _puts
cmpl $1, %ebx
jg LBB0_3
## %bb.1:
leaq L_.str.1(%rip), %rdi
LBB0_2:
xorl %eax, %eax
callq _printf
movl $1, %r15d
jmp LBB0_10
LBB0_3:
movq 8(%r14), %rdi
callq _atoi
movl %eax, %ebx
movl $1, %r15d
movl $2, %edi
movl $1, %esi
xorl %edx, %edx
callq _socket
movl %eax, %r14d
movb $2, -319(%rbp)
movl $0, -316(%rbp)
rolw $8, %bx
movw %bx, -318(%rbp)
movl $1, -340(%rbp)
leaq -340(%rbp), %rcx
movl %eax, %edi
movl $65535, %esi ## imm = 0xFFFF
movl $4, %edx
movl $4, %r8d
callq _setsockopt
leaq -320(%rbp), %rsi
movl %r14d, %edi
movl $16, %edx
callq _bind
testl %eax, %eax
js LBB0_4
## %bb.5:
movl %r14d, %edi
movl $5, %esi
callq _listen
movl $16, -344(%rbp)
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq -336(%rbp), %rsi
leaq -344(%rbp), %rdx
movl %r14d, %edi
callq _accept
testl %eax, %eax
js LBB0_12
## %bb.6:
movl %eax, %r12d
xorps %xmm0, %xmm0
movaps %xmm0, -64(%rbp)
movaps %xmm0, -80(%rbp)
movaps %xmm0, -96(%rbp)
movaps %xmm0, -112(%rbp)
movaps %xmm0, -128(%rbp)
movaps %xmm0, -144(%rbp)
movaps %xmm0, -160(%rbp)
movaps %xmm0, -176(%rbp)
movaps %xmm0, -192(%rbp)
movaps %xmm0, -208(%rbp)
movaps %xmm0, -224(%rbp)
movaps %xmm0, -240(%rbp)
movaps %xmm0, -256(%rbp)
movaps %xmm0, -272(%rbp)
movaps %xmm0, -288(%rbp)
movaps %xmm0, -304(%rbp)
leaq -304(%rbp), %rsi
movl $256, %edx ## imm = 0x100
movl %eax, %edi
callq _read
testl %eax, %eax
jle LBB0_9
## %bb.7:
leaq L_.str.5(%rip), %r15
leaq -304(%rbp), %rbx
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
xorps %xmm0, %xmm0
movaps %xmm0, -304(%rbp)
movaps %xmm0, -288(%rbp)
movaps %xmm0, -272(%rbp)
movaps %xmm0, -256(%rbp)
movaps %xmm0, -240(%rbp)
movaps %xmm0, -224(%rbp)
movaps %xmm0, -208(%rbp)
movaps %xmm0, -192(%rbp)
movaps %xmm0, -176(%rbp)
movaps %xmm0, -160(%rbp)
movaps %xmm0, -144(%rbp)
movaps %xmm0, -128(%rbp)
movaps %xmm0, -112(%rbp)
movaps %xmm0, -96(%rbp)
movaps %xmm0, -80(%rbp)
movaps %xmm0, -64(%rbp)
movl $256, %edx ## imm = 0x100
movl %r12d, %edi
movq %rbx, %rsi
callq _read
testl %eax, %eax
jg LBB0_8
LBB0_9:
movl %r12d, %edi
callq _close
movl %r14d, %edi
callq _close
xorl %r15d, %r15d
jmp LBB0_10
LBB0_4:
callq ___error
movl (%rax), %edi
callq _strerror
leaq L_.str.2(%rip), %rdi
movq %rax, %rsi
xorl %eax, %eax
callq _printf
LBB0_10:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -40(%rbp), %rax
jne LBB0_13
## %bb.11:
movl %r15d, %eax
addq $320, %rsp ## imm = 0x140
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_12:
leaq L_.str.4(%rip), %rdi
jmp LBB0_2
LBB0_13:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "!!!Hello World!!!"
L_.str.1: ## @.str.1
.asciz "please"
L_.str.2: ## @.str.2
.asciz "error %s\n"
L_.str.3: ## @.str.3
.asciz "now accepting connections"
L_.str.4: ## @.str.4
.asciz "error accepting..."
L_.str.5: ## @.str.5
.asciz "client sends am message : %s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #384
.cfi_def_cfa_offset 384
stp x24, x23, [sp, #320] ; 16-byte Folded Spill
stp x22, x21, [sp, #336] ; 16-byte Folded Spill
stp x20, x19, [sp, #352] ; 16-byte Folded Spill
stp x29, x30, [sp, #368] ; 16-byte Folded Spill
add x29, sp, #368
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x1
mov x20, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _puts
cmp w20, #1
b.gt LBB0_2
; %bb.1:
Lloh5:
adrp x0, l_.str.1@PAGE
Lloh6:
add x0, x0, l_.str.1@PAGEOFF
b LBB0_10
LBB0_2:
ldr x0, [x19, #8]
bl _atoi
mov x20, x0
mov w21, #2
mov w22, #1
mov w0, #2
mov w1, #1
mov w2, #0
bl _socket
mov x19, x0
strb w21, [sp, #33]
str wzr, [sp, #36]
rev w8, w20
lsr w8, w8, #16
strh w8, [sp, #34]
str w22, [sp, #8]
add x3, sp, #8
mov w1, #65535
mov w2, #4
mov w4, #4
bl _setsockopt
mov w20, #16
add x1, sp, #32
mov x0, x19
mov w2, #16
bl _bind
tbnz w0, #31, LBB0_8
; %bb.3:
mov x0, x19
mov w1, #5
bl _listen
str w20, [sp, #12]
Lloh7:
adrp x0, l_.str.3@PAGE
Lloh8:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
add x1, sp, #16
add x2, sp, #12
mov x0, x19
bl _accept
tbnz w0, #31, LBB0_9
; %bb.4:
mov x20, x0
add x22, sp, #48
movi.2d v0, #0000000000000000
stp q0, q0, [x22, #224]
stp q0, q0, [x22, #192]
stp q0, q0, [x22, #160]
stp q0, q0, [x22, #128]
stp q0, q0, [x22, #96]
stp q0, q0, [sp, #112]
stp q0, q0, [sp, #80]
stp q0, q0, [sp, #48]
add x23, sp, #48
add x1, sp, #48
mov w2, #256
bl _read
cmp w0, #1
b.lt LBB0_7
; %bb.5:
Lloh9:
adrp x21, l_.str.5@PAGE
Lloh10:
add x21, x21, l_.str.5@PAGEOFF
LBB0_6: ; =>This Inner Loop Header: Depth=1
str x23, [sp]
mov x0, x21
bl _printf
movi.2d v0, #0000000000000000
stp q0, q0, [sp, #48]
stp q0, q0, [sp, #80]
stp q0, q0, [sp, #112]
stp q0, q0, [x22, #96]
stp q0, q0, [x22, #128]
stp q0, q0, [x22, #160]
stp q0, q0, [x22, #192]
stp q0, q0, [x22, #224]
add x1, sp, #48
mov x0, x20
mov w2, #256
bl _read
cmp w0, #0
b.gt LBB0_6
LBB0_7:
mov x0, x20
bl _close
mov x0, x19
bl _close
mov w0, #0
b LBB0_11
LBB0_8:
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp]
Lloh11:
adrp x0, l_.str.2@PAGE
Lloh12:
add x0, x0, l_.str.2@PAGEOFF
b LBB0_10
LBB0_9:
Lloh13:
adrp x0, l_.str.4@PAGE
Lloh14:
add x0, x0, l_.str.4@PAGEOFF
LBB0_10:
bl _printf
mov w0, #1
LBB0_11:
ldur x8, [x29, #-56]
Lloh15:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh16:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_13
; %bb.12:
ldp x29, x30, [sp, #368] ; 16-byte Folded Reload
ldp x20, x19, [sp, #352] ; 16-byte Folded Reload
ldp x22, x21, [sp, #336] ; 16-byte Folded Reload
ldp x24, x23, [sp, #320] ; 16-byte Folded Reload
add sp, sp, #384
ret
LBB0_13:
bl ___stack_chk_fail
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "!!!Hello World!!!"
l_.str.1: ; @.str.1
.asciz "please"
l_.str.2: ; @.str.2
.asciz "error %s\n"
l_.str.3: ; @.str.3
.asciz "now accepting connections"
l_.str.4: ; @.str.4
.asciz "error accepting..."
l_.str.5: ; @.str.5
.asciz "client sends am message : %s\n"
.subsections_via_symbols
| the_stack_data/77739.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function harvest
_harvest: ## @harvest
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %rbx
movq %rdi, %r14
callq _disable_interrupts
movq %r14, %rdi
movq %rbx, %rsi
callq _inhibit_user_access
movq %r14, %rdi
movq %rbx, %rsi
callq _terminate_spu_app
movq %r14, %rdi
movq %rbx, %rsi
callq _set_switch_pending
movq %rbx, %rdi
callq _stop_spu_isolate
movq %r14, %rdi
movq %rbx, %rsi
callq _remove_other_spu_access
movq %r14, %rdi
movq %rbx, %rsi
callq _suspend_mfc_and_halt_decr
movq %r14, %rdi
movq %rbx, %rsi
callq _wait_suspend_mfc_complete
movq %r14, %rdi
movq %rbx, %rsi
callq _suspend_spe
testl %eax, %eax
jne LBB0_2
## %bb.1:
movq %r14, %rdi
movq %rbx, %rsi
callq _clear_spu_status
LBB0_2:
movq %r14, %rdi
movq %rbx, %rsi
callq _do_mfc_mssync
movq %r14, %rdi
movq %rbx, %rsi
callq _issue_mfc_tlbie
movq %r14, %rdi
movq %rbx, %rsi
callq _handle_pending_interrupts
movq %r14, %rdi
movq %rbx, %rsi
callq _purge_mfc_queue
movq %r14, %rdi
movq %rbx, %rsi
callq _wait_purge_complete
movq %r14, %rdi
movq %rbx, %rsi
callq _reset_spu_privcntl
movq %r14, %rdi
movq %rbx, %rsi
callq _reset_spu_lslr
movq %r14, %rdi
movq %rbx, %rsi
callq _setup_mfc_sr1
movq %rbx, %rdi
callq _spu_invalidate_slbs
movq %r14, %rdi
movq %rbx, %rsi
callq _reset_ch_part1
movq %r14, %rdi
movq %rbx, %rsi
callq _reset_ch_part2
movq %r14, %rdi
movq %rbx, %rsi
callq _enable_interrupts
movq %r14, %rdi
movq %rbx, %rsi
callq _set_switch_active
movq %r14, %rdi
movq %rbx, %rsi
callq _set_mfc_tclass_id
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %rbp
jmp _resume_mfc_queue ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _harvest
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function harvest
_harvest: ; @harvest
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
bl _disable_interrupts
mov x0, x20
mov x1, x19
bl _inhibit_user_access
mov x0, x20
mov x1, x19
bl _terminate_spu_app
mov x0, x20
mov x1, x19
bl _set_switch_pending
mov x0, x19
bl _stop_spu_isolate
mov x0, x20
mov x1, x19
bl _remove_other_spu_access
mov x0, x20
mov x1, x19
bl _suspend_mfc_and_halt_decr
mov x0, x20
mov x1, x19
bl _wait_suspend_mfc_complete
mov x0, x20
mov x1, x19
bl _suspend_spe
cbnz w0, LBB0_2
; %bb.1:
mov x0, x20
mov x1, x19
bl _clear_spu_status
LBB0_2:
mov x0, x20
mov x1, x19
bl _do_mfc_mssync
mov x0, x20
mov x1, x19
bl _issue_mfc_tlbie
mov x0, x20
mov x1, x19
bl _handle_pending_interrupts
mov x0, x20
mov x1, x19
bl _purge_mfc_queue
mov x0, x20
mov x1, x19
bl _wait_purge_complete
mov x0, x20
mov x1, x19
bl _reset_spu_privcntl
mov x0, x20
mov x1, x19
bl _reset_spu_lslr
mov x0, x20
mov x1, x19
bl _setup_mfc_sr1
mov x0, x19
bl _spu_invalidate_slbs
mov x0, x20
mov x1, x19
bl _reset_ch_part1
mov x0, x20
mov x1, x19
bl _reset_ch_part2
mov x0, x20
mov x1, x19
bl _enable_interrupts
mov x0, x20
mov x1, x19
bl _set_switch_active
mov x0, x20
mov x1, x19
bl _set_mfc_tclass_id
mov x0, x20
mov x1, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _resume_mfc_queue
.cfi_endproc
; -- End function
.no_dead_strip _harvest
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/arch/powerpc/platforms/cell/spufs/extr_switch.c_harvest.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ngx_http_mirror_body_handler
_ngx_http_mirror_body_handler: ## @ngx_http_mirror_body_handler
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movq _ngx_http_mirror_module@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _ngx_http_get_module_ctx
movq %rax, %r14
movq %rbx, %rdi
callq _ngx_http_mirror_handler_internal
movl %eax, (%r14)
movl $1, (%rbx)
movq _ngx_http_core_run_phases@GOTPCREL(%rip), %rax
movq %rax, 8(%rbx)
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _ngx_http_core_run_phases ## TAILCALL
.cfi_endproc
## -- End function
.comm _ngx_http_mirror_module,4,2 ## @ngx_http_mirror_module
.no_dead_strip _ngx_http_mirror_body_handler
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ngx_http_mirror_body_handler
_ngx_http_mirror_body_handler: ; @ngx_http_mirror_body_handler
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x8, _ngx_http_mirror_module@GOTPAGE
Lloh1:
ldr x8, [x8, _ngx_http_mirror_module@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _ngx_http_get_module_ctx
mov x20, x0
mov x0, x19
bl _ngx_http_mirror_handler_internal
str w0, [x20]
mov w8, #1
str w8, [x19]
Lloh3:
adrp x8, _ngx_http_core_run_phases@GOTPAGE
Lloh4:
ldr x8, [x8, _ngx_http_core_run_phases@GOTPAGEOFF]
str x8, [x19, #8]
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _ngx_http_core_run_phases
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ngx_http_mirror_module,4,2 ; @ngx_http_mirror_module
.no_dead_strip _ngx_http_mirror_body_handler
.subsections_via_symbols
| AnghaBench/tengine/src/http/modules/extr_ngx_http_mirror_module.c_ngx_http_mirror_body_handler.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mgslpc_release
_mgslpc_release: ## @mgslpc_release
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq _debug_level@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _DEBUG_LEVEL_INFO@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jl LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
movq %rbx, %rsi
callq _printk
LBB0_2:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _pcmcia_disable_device ## TAILCALL
.cfi_endproc
## -- End function
.comm _debug_level,8,3 ## @debug_level
.comm _DEBUG_LEVEL_INFO,8,3 ## @DEBUG_LEVEL_INFO
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "mgslpc_release(0x%p)\n"
.no_dead_strip _mgslpc_release
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mgslpc_release
_mgslpc_release: ; @mgslpc_release
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x8, _debug_level@GOTPAGE
Lloh1:
ldr x8, [x8, _debug_level@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x9, _DEBUG_LEVEL_INFO@GOTPAGE
Lloh4:
ldr x9, [x9, _DEBUG_LEVEL_INFO@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x8, x9
b.lt LBB0_2
; %bb.1:
Lloh6:
adrp x0, l_.str@PAGE
Lloh7:
add x0, x0, l_.str@PAGEOFF
mov x1, x19
bl _printk
LBB0_2:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _pcmcia_disable_device
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _debug_level,8,3 ; @debug_level
.comm _DEBUG_LEVEL_INFO,8,3 ; @DEBUG_LEVEL_INFO
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "mgslpc_release(0x%p)\n"
.no_dead_strip _mgslpc_release
.subsections_via_symbols
| AnghaBench/linux/drivers/char/pcmcia/extr_synclink_cs.c_mgslpc_release.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function smu_v12_0_powergate_vcn
_smu_v12_0_powergate_vcn: ## @smu_v12_0_powergate_vcn
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rax
movq _AMD_IS_APU@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, (%rax)
je LBB0_5
## %bb.1:
testl %esi, %esi
jne LBB0_2
## %bb.3:
movq _SMU_MSG_PowerUpVcn@GOTPCREL(%rip), %rax
jmp LBB0_4
LBB0_5:
xorl %eax, %eax
popq %rbp
retq
LBB0_2:
movq _SMU_MSG_PowerDownVcn@GOTPCREL(%rip), %rax
LBB0_4:
movl (%rax), %esi
popq %rbp
jmp _smu_send_smc_msg ## TAILCALL
.cfi_endproc
## -- End function
.comm _AMD_IS_APU,4,2 ## @AMD_IS_APU
.comm _SMU_MSG_PowerDownVcn,4,2 ## @SMU_MSG_PowerDownVcn
.comm _SMU_MSG_PowerUpVcn,4,2 ## @SMU_MSG_PowerUpVcn
.no_dead_strip _smu_v12_0_powergate_vcn
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function smu_v12_0_powergate_vcn
_smu_v12_0_powergate_vcn: ; @smu_v12_0_powergate_vcn
.cfi_startproc
; %bb.0:
ldr x8, [x0]
ldr w8, [x8]
Lloh0:
adrp x9, _AMD_IS_APU@GOTPAGE
Lloh1:
ldr x9, [x9, _AMD_IS_APU@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_2
; %bb.1:
Lloh3:
adrp x8, _SMU_MSG_PowerUpVcn@GOTPAGE
Lloh4:
ldr x8, [x8, _SMU_MSG_PowerUpVcn@GOTPAGEOFF]
Lloh5:
adrp x9, _SMU_MSG_PowerDownVcn@GOTPAGE
Lloh6:
ldr x9, [x9, _SMU_MSG_PowerDownVcn@GOTPAGEOFF]
cmp w1, #0
csel x8, x8, x9, eq
ldr w1, [x8]
b _smu_send_smc_msg
LBB0_2:
mov w0, #0
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _AMD_IS_APU,4,2 ; @AMD_IS_APU
.comm _SMU_MSG_PowerDownVcn,4,2 ; @SMU_MSG_PowerDownVcn
.comm _SMU_MSG_PowerUpVcn,4,2 ; @SMU_MSG_PowerUpVcn
.no_dead_strip _smu_v12_0_powergate_vcn
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/amd/powerplay/extr_smu_v12_0.c_smu_v12_0_powergate_vcn.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function recv_callback
_recv_callback: ## @recv_callback
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %r8, %r14
movq (%r8), %rax
movq (%rax), %rax
movq (%rax), %rcx
testq %rcx, %rcx
je LBB0_1
## %bb.2:
movq %rdx, %rbx
cmpq %rdx, %rcx
cmovbq %rcx, %rbx
movl 8(%rax), %eax
movq %rsi, %rdi
movl %eax, %esi
movq %rbx, %rdx
callq _memcpy
movq (%r14), %rdi
movq %rbx, %rsi
callq _h2o_buffer_consume
jmp LBB0_3
LBB0_1:
movl 8(%r14), %edi
movq _WSLAY_ERR_WOULDBLOCK@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _wslay_event_set_error
movl $-1, %ebx
LBB0_3:
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _WSLAY_ERR_WOULDBLOCK,4,2 ## @WSLAY_ERR_WOULDBLOCK
.no_dead_strip _recv_callback
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function recv_callback
_recv_callback: ; @recv_callback
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x4
ldr x8, [x4]
ldr x8, [x8]
ldr x9, [x8]
cbz x9, LBB0_2
; %bb.1:
cmp x9, x2
csel x19, x9, x2, lo
ldr w8, [x8, #8]
mov x0, x1
mov x1, x8
mov x2, x19
bl _memcpy
ldr x0, [x20]
mov x1, x19
bl _h2o_buffer_consume
b LBB0_3
LBB0_2:
ldr w0, [x20, #8]
Lloh0:
adrp x8, _WSLAY_ERR_WOULDBLOCK@GOTPAGE
Lloh1:
ldr x8, [x8, _WSLAY_ERR_WOULDBLOCK@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _wslay_event_set_error
mov w19, #-1
LBB0_3:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _WSLAY_ERR_WOULDBLOCK,4,2 ; @WSLAY_ERR_WOULDBLOCK
.no_dead_strip _recv_callback
.subsections_via_symbols
| AnghaBench/h2o/lib/extr_websocket.c_recv_callback.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function anybit_typmodin
_anybit_typmodin: ## @anybit_typmodin
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
leaq -44(%rbp), %rsi
callq _ArrayGetIntegerTypmods
movq %rax, %r12
cmpl $1, -44(%rbp)
je LBB0_2
## %bb.1:
movq _ERROR@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movq _ERRCODE_INVALID_PARAMETER_VALUE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _errcode
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _errmsg
movl %r15d, %edi
movl %eax, %esi
callq _ereport
LBB0_2:
movl (%r12), %eax
testl %eax, %eax
jg LBB0_4
## %bb.3:
movq _ERROR@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movq _ERRCODE_INVALID_PARAMETER_VALUE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _errcode
leaq L_.str.1(%rip), %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _errmsg
movl %r15d, %edi
movl %eax, %esi
callq _ereport
movl (%r12), %eax
LBB0_4:
movq _MaxAttrSize@GOTPCREL(%rip), %r13
movq _BITS_PER_BYTE@GOTPCREL(%rip), %rbx
movl (%rbx), %ecx
imull (%r13), %ecx
cmpl %ecx, %eax
jle LBB0_6
## %bb.5:
movq _ERROR@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movq _ERRCODE_INVALID_PARAMETER_VALUE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _errcode
movl (%rbx), %edx
imull (%r13), %edx
leaq L_.str.2(%rip), %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _errmsg
movl %r15d, %edi
movl %eax, %esi
callq _ereport
movl (%r12), %eax
LBB0_6:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ERROR,4,2 ## @ERROR
.comm _ERRCODE_INVALID_PARAMETER_VALUE,4,2 ## @ERRCODE_INVALID_PARAMETER_VALUE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "invalid type modifier"
L_.str.1: ## @.str.1
.asciz "length for type %s must be at least 1"
.comm _MaxAttrSize,4,2 ## @MaxAttrSize
.comm _BITS_PER_BYTE,4,2 ## @BITS_PER_BYTE
L_.str.2: ## @.str.2
.asciz "length for type %s cannot exceed %d"
.no_dead_strip _anybit_typmodin
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function anybit_typmodin
_anybit_typmodin: ; @anybit_typmodin
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x1
add x1, sp, #28
bl _ArrayGetIntegerTypmods
mov x19, x0
ldr w8, [sp, #28]
cmp w8, #1
b.eq LBB0_2
; %bb.1:
Lloh0:
adrp x8, _ERROR@GOTPAGE
Lloh1:
ldr x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
ldr w21, [x8]
Lloh3:
adrp x8, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGE
Lloh4:
ldr x8, [x8, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
bl _errcode
Lloh6:
adrp x0, l_.str@PAGE
Lloh7:
add x0, x0, l_.str@PAGEOFF
bl _errmsg
mov x1, x0
mov x0, x21
bl _ereport
LBB0_2:
ldr w0, [x19]
cmp w0, #0
b.gt LBB0_4
; %bb.3:
Lloh8:
adrp x8, _ERROR@GOTPAGE
Lloh9:
ldr x8, [x8, _ERROR@GOTPAGEOFF]
Lloh10:
ldr w21, [x8]
Lloh11:
adrp x8, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGE
Lloh12:
ldr x8, [x8, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGEOFF]
Lloh13:
ldr w0, [x8]
bl _errcode
str x20, [sp]
Lloh14:
adrp x0, l_.str.1@PAGE
Lloh15:
add x0, x0, l_.str.1@PAGEOFF
bl _errmsg
mov x1, x0
mov x0, x21
bl _ereport
ldr w0, [x19]
LBB0_4:
Lloh16:
adrp x22, _MaxAttrSize@GOTPAGE
Lloh17:
ldr x22, [x22, _MaxAttrSize@GOTPAGEOFF]
ldr w8, [x22]
Lloh18:
adrp x23, _BITS_PER_BYTE@GOTPAGE
Lloh19:
ldr x23, [x23, _BITS_PER_BYTE@GOTPAGEOFF]
ldr w9, [x23]
mul w8, w9, w8
cmp w0, w8
b.le LBB0_6
; %bb.5:
Lloh20:
adrp x8, _ERROR@GOTPAGE
Lloh21:
ldr x8, [x8, _ERROR@GOTPAGEOFF]
Lloh22:
ldr w21, [x8]
Lloh23:
adrp x8, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGE
Lloh24:
ldr x8, [x8, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGEOFF]
Lloh25:
ldr w0, [x8]
bl _errcode
ldr w8, [x22]
ldr w9, [x23]
mul w8, w9, w8
stp x20, x8, [sp]
Lloh26:
adrp x0, l_.str.2@PAGE
Lloh27:
add x0, x0, l_.str.2@PAGEOFF
bl _errmsg
mov x1, x0
mov x0, x21
bl _ereport
ldr w0, [x19]
LBB0_6:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.cfi_endproc
; -- End function
.comm _ERROR,4,2 ; @ERROR
.comm _ERRCODE_INVALID_PARAMETER_VALUE,4,2 ; @ERRCODE_INVALID_PARAMETER_VALUE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "invalid type modifier"
l_.str.1: ; @.str.1
.asciz "length for type %s must be at least 1"
.comm _MaxAttrSize,4,2 ; @MaxAttrSize
.comm _BITS_PER_BYTE,4,2 ; @BITS_PER_BYTE
l_.str.2: ; @.str.2
.asciz "length for type %s cannot exceed %d"
.no_dead_strip _anybit_typmodin
.subsections_via_symbols
| AnghaBench/postgres/src/backend/utils/adt/extr_varbit.c_anybit_typmodin.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vdec_op_g_volatile_ctrl
_vdec_op_g_volatile_ctrl: ## @vdec_op_g_volatile_ctrl
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
callq _ctrl_to_inst
movq %rax, %rbx
movl (%r14), %eax
addl $-128, %eax
cmpl $6, %eax
ja LBB0_12
## %bb.1:
movq _HFI_PROPERTY_PARAM_PROFILE_LEVEL_CURRENT@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_2:
leaq -32(%rbp), %rdx
movq %rbx, %rdi
callq _hfi_session_get_property
testl %eax, %eax
je LBB0_4
## %bb.3:
movl 16(%rbx), %eax
jmp LBB0_5
LBB0_6:
leaq -32(%rbp), %rdx
movq %rbx, %rdi
callq _hfi_session_get_property
testl %eax, %eax
je LBB0_8
## %bb.7:
movl 12(%rbx), %eax
jmp LBB0_5
LBB0_4:
movl -28(%rbp), %eax
movl %eax, 16(%rbx)
jmp LBB0_5
LBB0_12:
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
jmp LBB0_13
LBB0_9:
movl 8(%rbx), %eax
jmp LBB0_5
LBB0_10:
movq (%rbx), %rax
movq (%rax), %rax
movl (%rax), %r15d
movq _HFI_BUFFER_OUTPUT@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -40(%rbp), %rdx
movq %rbx, %rdi
callq _venus_helper_get_bufreq
xorl %ebx, %ebx
testl %eax, %eax
jne LBB0_13
## %bb.11:
leaq -40(%rbp), %rdi
movl %r15d, %esi
callq _HFI_BUFREQ_COUNT_MIN
movl %eax, 4(%r14)
jmp LBB0_13
LBB0_8:
movl -32(%rbp), %eax
movl %eax, 12(%rbx)
LBB0_5:
movl %eax, 4(%r14)
xorl %ebx, %ebx
LBB0_13:
movl %ebx, %eax
addq $24, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
.long L0_0_set_2
.long L0_0_set_2
.long L0_0_set_6
.long L0_0_set_2
.long L0_0_set_6
.long L0_0_set_9
.long L0_0_set_10
.end_data_region
## -- End function
.comm _HFI_PROPERTY_PARAM_PROFILE_LEVEL_CURRENT,4,2 ## @HFI_PROPERTY_PARAM_PROFILE_LEVEL_CURRENT
.comm _HFI_BUFFER_OUTPUT,4,2 ## @HFI_BUFFER_OUTPUT
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _vdec_op_g_volatile_ctrl
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vdec_op_g_volatile_ctrl
_vdec_op_g_volatile_ctrl: ; @vdec_op_g_volatile_ctrl
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
bl _ctrl_to_inst
ldr w8, [x19]
sub w8, w8, #128
cmp w8, #6
b.hi LBB0_7
; %bb.1:
mov x20, x0
Lloh0:
adrp x9, _HFI_PROPERTY_PARAM_PROFILE_LEVEL_CURRENT@GOTPAGE
Lloh1:
ldr x9, [x9, _HFI_PROPERTY_PARAM_PROFILE_LEVEL_CURRENT@GOTPAGEOFF]
Lloh2:
ldr w1, [x9]
Lloh3:
adrp x9, lJTI0_0@PAGE
Lloh4:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_2
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_2:
mov x2, sp
mov x0, x20
bl _hfi_session_get_property
cbz w0, LBB0_6
; %bb.3:
ldr w8, [x20, #16]
b LBB0_13
LBB0_4:
mov x2, sp
mov x0, x20
bl _hfi_session_get_property
cbz w0, LBB0_11
; %bb.5:
ldr w8, [x20, #12]
b LBB0_13
LBB0_6:
ldr w8, [sp, #4]
str w8, [x20, #16]
b LBB0_13
LBB0_7:
Lloh5:
adrp x8, _EINVAL@GOTPAGE
Lloh6:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
neg w0, w8
b LBB0_15
LBB0_8:
mov w0, #0
ldr w8, [x20, #8]
b LBB0_14
LBB0_9:
ldr x8, [x20]
ldr x8, [x8]
ldr w21, [x8]
Lloh8:
adrp x8, _HFI_BUFFER_OUTPUT@GOTPAGE
Lloh9:
ldr x8, [x8, _HFI_BUFFER_OUTPUT@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
add x2, sp, #8
mov x0, x20
bl _venus_helper_get_bufreq
cbz w0, LBB0_12
; %bb.10:
mov w0, #0
b LBB0_15
LBB0_11:
ldr w8, [sp]
str w8, [x20, #12]
b LBB0_13
LBB0_12:
add x0, sp, #8
mov x1, x21
bl _HFI_BUFREQ_COUNT_MIN
mov x8, x0
LBB0_13:
mov w0, #0
LBB0_14:
str w8, [x19, #4]
LBB0_15:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_8-LBB0_2)>>2
.byte (LBB0_9-LBB0_2)>>2
; -- End function
.comm _HFI_PROPERTY_PARAM_PROFILE_LEVEL_CURRENT,4,2 ; @HFI_PROPERTY_PARAM_PROFILE_LEVEL_CURRENT
.comm _HFI_BUFFER_OUTPUT,4,2 ; @HFI_BUFFER_OUTPUT
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _vdec_op_g_volatile_ctrl
.subsections_via_symbols
| AnghaBench/linux/drivers/media/platform/qcom/venus/extr_vdec_ctrls.c_vdec_op_g_volatile_ctrl.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function setOpaqueRegion
_setOpaqueRegion: ## @setOpaqueRegion
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
movq __glfw@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _wl_compositor_create_region
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %rbx
movl 4(%r14), %r8d
movl 8(%r14), %ecx
movq %rax, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq _wl_region_add
movl (%r14), %edi
movq %rbx, %rsi
callq _wl_surface_set_opaque_region
movl (%r14), %edi
callq _wl_surface_commit
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _wl_region_destroy ## TAILCALL
LBB0_1:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm __glfw,4,2 ## @_glfw
.no_dead_strip _setOpaqueRegion
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function setOpaqueRegion
_setOpaqueRegion: ; @setOpaqueRegion
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x8, __glfw@GOTPAGE
Lloh1:
ldr x8, [x8, __glfw@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _wl_compositor_create_region
cbz x0, LBB0_2
; %bb.1:
mov x20, x0
ldp w4, w3, [x19, #4]
mov w1, #0
mov w2, #0
bl _wl_region_add
ldr w0, [x19]
mov x1, x20
bl _wl_surface_set_opaque_region
ldr w0, [x19]
bl _wl_surface_commit
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _wl_region_destroy
LBB0_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm __glfw,4,2 ; @_glfw
.no_dead_strip _setOpaqueRegion
.subsections_via_symbols
| AnghaBench/Cinder/src/glfw/src/extr_wl_window.c_setOpaqueRegion.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _is_in_cmdlist ## -- Begin function is_in_cmdlist
.p2align 4, 0x90
_is_in_cmdlist: ## @is_in_cmdlist
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
cmpl $0, (%rdi)
je LBB0_5
## %bb.1:
movq %rsi, %r14
movq %rdi, %r15
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 8(%r15), %rax
movq (%rax,%rbx,8), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _strcmp
testl %eax, %eax
je LBB0_6
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
incq %rbx
movl (%r15), %eax
cmpq %rax, %rbx
jb LBB0_2
LBB0_5:
xorl %eax, %eax
jmp LBB0_7
LBB0_6:
movl $1, %eax
LBB0_7:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _is_in_cmdlist ; -- Begin function is_in_cmdlist
.p2align 2
_is_in_cmdlist: ; @is_in_cmdlist
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
ldr w8, [x0]
cbz w8, LBB0_4
; %bb.1:
mov x19, x1
mov x20, x0
mov x21, #0
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20, #8]
ldr x8, [x8, x21, lsl #3]
ldr w1, [x8]
mov x0, x19
bl _strcmp
cbz w0, LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add x21, x21, #1
ldr w8, [x20]
cmp x21, x8
b.lo LBB0_2
LBB0_4:
mov w0, #0
b LBB0_6
LBB0_5:
mov w0, #1
LBB0_6:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/tools/lib/subcmd/extr_help.c_is_in_cmdlist.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function fts5MultiIterTerm
_fts5MultiIterTerm: ## @fts5MultiIterTerm
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rax
movq 8(%rdi), %rcx
movq 8(%rax), %rax
shlq $4, %rax
movl (%rcx,%rax), %edx
movl %edx, (%rsi)
movq 8(%rcx,%rax), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _fts5MultiIterTerm
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function fts5MultiIterTerm
_fts5MultiIterTerm: ; @fts5MultiIterTerm
.cfi_startproc
; %bb.0:
ldp x9, x8, [x0]
ldr x9, [x9, #8]
add x8, x8, x9, lsl #4
ldr w9, [x8]
str w9, [x1]
ldr x0, [x8, #8]
ret
.cfi_endproc
; -- End function
.no_dead_strip _fts5MultiIterTerm
.subsections_via_symbols
| AnghaBench/sqlcipher/ext/fts5/extr_fts5_index.c_fts5MultiIterTerm.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function write_coeff_ram
_write_coeff_ram: ## @write_coeff_ram
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r12d
movl %edx, %r15d
movq %rsi, -56(%rbp) ## 8-byte Spill
movq %rdi, %r14
callq _snd_soc_component_get_drvdata
movl %r12d, -44(%rbp) ## 4-byte Spill
testl %r12d, %r12d
je LBB0_17
## %bb.1:
movq %rax, %rbx
xorl %eax, %eax
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
movl %eax, -48(%rbp) ## 4-byte Spill
movq _DACCRSTAT_MAX_TRYS@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl $0, %r13d
testl %eax, %eax
jle LBB0_10
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_4: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movq _R_DACCRSTAT@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _snd_soc_component_read32
testl %eax, %eax
js LBB0_5
## %bb.7: ## in Loop: Header=BB0_4 Depth=2
je LBB0_8
## %bb.9: ## in Loop: Header=BB0_4 Depth=2
incl %r13d
movq _DACCRSTAT_MAX_TRYS@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl %eax, %r13d
jl LBB0_4
jmp LBB0_10
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
movq _DACCRSTAT_MAX_TRYS@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_10: ## in Loop: Header=BB0_2 Depth=1
cmpl %eax, %r13d
je LBB0_11
## %bb.12: ## in Loop: Header=BB0_2 Depth=1
movl (%rbx), %edi
movq _R_DACCRADDR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %r15d, %edx
callq _regmap_write
testl %eax, %eax
js LBB0_13
## %bb.14: ## in Loop: Header=BB0_2 Depth=1
movl (%rbx), %edi
movq _R_DACCRWRL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _COEFF_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl %ecx, %eax
imull %r15d, %eax
movq -56(%rbp), %rdx ## 8-byte Reload
leaq (%rdx,%rax,4), %rdx
callq _regmap_bulk_write
testl %eax, %eax
js LBB0_15
## %bb.16: ## in Loop: Header=BB0_2 Depth=1
movl -48(%rbp), %eax ## 4-byte Reload
incl %eax
incl %r15d
cmpl -44(%rbp), %eax ## 4-byte Folded Reload
jne LBB0_2
LBB0_17:
xorl %r12d, %r12d
jmp LBB0_18
LBB0_5:
movl %eax, %r12d
movl (%r14), %edi
leaq L_.str(%rip), %rsi
LBB0_6:
movl %r12d, %edx
callq _dev_err
LBB0_18:
movl %r12d, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_11:
movq _EIO@GOTPCREL(%rip), %rax
xorl %r12d, %r12d
subl (%rax), %r12d
movl (%r14), %edi
leaq L_.str.1(%rip), %rsi
jmp LBB0_6
LBB0_13:
movl %eax, %r12d
movl (%r14), %edi
leaq L_.str.2(%rip), %rsi
jmp LBB0_6
LBB0_15:
movl %eax, %r12d
movl (%r14), %edi
leaq L_.str.3(%rip), %rsi
jmp LBB0_6
.cfi_endproc
## -- End function
.comm _DACCRSTAT_MAX_TRYS,4,2 ## @DACCRSTAT_MAX_TRYS
.comm _R_DACCRSTAT,4,2 ## @R_DACCRSTAT
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Failed to read stat (%d)\n"
.comm _EIO,4,2 ## @EIO
L_.str.1: ## @.str.1
.asciz "dac coefficient write error (%d)\n"
.comm _R_DACCRADDR,4,2 ## @R_DACCRADDR
L_.str.2: ## @.str.2
.asciz "Failed to write dac ram address (%d)\n"
.comm _R_DACCRWRL,4,2 ## @R_DACCRWRL
.comm _COEFF_SIZE,4,2 ## @COEFF_SIZE
L_.str.3: ## @.str.3
.asciz "Failed to write dac ram (%d)\n"
.no_dead_strip _write_coeff_ram
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function write_coeff_ram
_write_coeff_ram: ; @write_coeff_ram
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x20, x3
mov x21, x2
mov x22, x1
mov x19, x0
bl _snd_soc_component_get_drvdata
cbz w20, LBB0_13
; %bb.1:
mov x23, x0
mov w25, #0
Lloh0:
adrp x26, _DACCRSTAT_MAX_TRYS@GOTPAGE
Lloh1:
ldr x26, [x26, _DACCRSTAT_MAX_TRYS@GOTPAGEOFF]
Lloh2:
adrp x27, _R_DACCRSTAT@GOTPAGE
Lloh3:
ldr x27, [x27, _R_DACCRSTAT@GOTPAGEOFF]
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
ldr w8, [x26]
cmp w8, #1
b.lt LBB0_7
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov w28, #0
LBB0_4: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
ldr w1, [x27]
mov x0, x19
bl _snd_soc_component_read32
mov x24, x0
tbnz w0, #31, LBB0_14
; %bb.5: ; in Loop: Header=BB0_4 Depth=2
cbz w24, LBB0_9
; %bb.6: ; in Loop: Header=BB0_4 Depth=2
add w28, w28, #1
ldr w8, [x26]
cmp w28, w8
b.lt LBB0_4
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_2 Depth=1
mov w28, #0
LBB0_8: ; in Loop: Header=BB0_2 Depth=1
cmp w28, w8
b.ne LBB0_10
b LBB0_17
LBB0_9: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [x26]
cmp w28, w8
b.eq LBB0_17
LBB0_10: ; in Loop: Header=BB0_2 Depth=1
ldr w0, [x23]
Lloh4:
adrp x8, _R_DACCRADDR@GOTPAGE
Lloh5:
ldr x8, [x8, _R_DACCRADDR@GOTPAGEOFF]
Lloh6:
ldr w1, [x8]
mov x2, x21
bl _regmap_write
tbnz w0, #31, LBB0_18
; %bb.11: ; in Loop: Header=BB0_2 Depth=1
ldr w0, [x23]
Lloh7:
adrp x8, _R_DACCRWRL@GOTPAGE
Lloh8:
ldr x8, [x8, _R_DACCRWRL@GOTPAGEOFF]
Lloh9:
ldr w1, [x8]
Lloh10:
adrp x8, _COEFF_SIZE@GOTPAGE
Lloh11:
ldr x8, [x8, _COEFF_SIZE@GOTPAGEOFF]
Lloh12:
ldr w3, [x8]
mul w8, w3, w21
add x2, x22, w8, uxtw #2
bl _regmap_bulk_write
tbnz w0, #31, LBB0_19
; %bb.12: ; in Loop: Header=BB0_2 Depth=1
add w25, w25, #1
add w21, w21, #1
cmp w25, w20
b.ne LBB0_2
LBB0_13:
mov w24, #0
b LBB0_16
LBB0_14:
ldr w0, [x19]
Lloh13:
adrp x1, l_.str@PAGE
Lloh14:
add x1, x1, l_.str@PAGEOFF
LBB0_15:
mov x2, x24
bl _dev_err
LBB0_16:
mov x0, x24
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_17:
Lloh15:
adrp x8, _EIO@GOTPAGE
Lloh16:
ldr x8, [x8, _EIO@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
neg w24, w8
ldr w0, [x19]
Lloh18:
adrp x1, l_.str.1@PAGE
Lloh19:
add x1, x1, l_.str.1@PAGEOFF
b LBB0_15
LBB0_18:
mov x24, x0
ldr w0, [x19]
Lloh20:
adrp x1, l_.str.2@PAGE
Lloh21:
add x1, x1, l_.str.2@PAGEOFF
b LBB0_15
LBB0_19:
mov x24, x0
ldr w0, [x19]
Lloh22:
adrp x1, l_.str.3@PAGE
Lloh23:
add x1, x1, l_.str.3@PAGEOFF
b LBB0_15
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh22, Lloh23
.cfi_endproc
; -- End function
.comm _DACCRSTAT_MAX_TRYS,4,2 ; @DACCRSTAT_MAX_TRYS
.comm _R_DACCRSTAT,4,2 ; @R_DACCRSTAT
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Failed to read stat (%d)\n"
.comm _EIO,4,2 ; @EIO
l_.str.1: ; @.str.1
.asciz "dac coefficient write error (%d)\n"
.comm _R_DACCRADDR,4,2 ; @R_DACCRADDR
l_.str.2: ; @.str.2
.asciz "Failed to write dac ram address (%d)\n"
.comm _R_DACCRWRL,4,2 ; @R_DACCRWRL
.comm _COEFF_SIZE,4,2 ; @COEFF_SIZE
l_.str.3: ; @.str.3
.asciz "Failed to write dac ram (%d)\n"
.no_dead_strip _write_coeff_ram
.subsections_via_symbols
| AnghaBench/linux/sound/soc/codecs/extr_tscs42xx.c_write_coeff_ram.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function spl_recursive_it_get_current_data
_spl_recursive_it_get_current_data: ## @spl_recursive_it_get_current_data
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addq $8, %rdi
callq _Z_SPLRECURSIVE_IT_P
movq (%rax), %rcx
movq 8(%rax), %rax
movq (%rax,%rcx,8), %rdi
movq (%rdi), %rax
popq %rbp
jmpq *(%rax) ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _spl_recursive_it_get_current_data
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function spl_recursive_it_get_current_data
_spl_recursive_it_get_current_data: ; @spl_recursive_it_get_current_data
.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
add x0, x0, #8
bl _Z_SPLRECURSIVE_IT_P
ldp x9, x8, [x0]
ldr x0, [x8, x9, lsl #3]
ldr x8, [x0]
ldr x1, [x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
br x1
.cfi_endproc
; -- End function
.no_dead_strip _spl_recursive_it_get_current_data
.subsections_via_symbols
| AnghaBench/php-src/ext/spl/extr_spl_iterators.c_spl_recursive_it_get_current_data.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sumo_gfx_powergating_initialize
_sumo_gfx_powergating_initialize: ## @sumo_gfx_powergating_initialize
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
callq _radeon_get_xclk
movl %eax, %r14d
movq (%r15), %rax
movq _CHIP_PALM@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
movl $4, %eax
movl $16, %r12d
cmovel %eax, %r12d
movl $247, %ecx
movl $113, %edx
cmovel %ecx, %edx
movl %edx, -52(%rbp) ## 4-byte Spill
movl $10, %edx
movl $50, %ecx
cmovnel %ecx, %edx
movl %edx, -56(%rbp) ## 4-byte Spill
cmovel %eax, %ecx
movl %ecx, -60(%rbp) ## 4-byte Spill
movq _CG_SCRATCH2@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $28707351, %esi ## imm = 0x1B60A17
callq _WREG32
movq _SUMO_GFXPOWERGATINGT_DFLT@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq -48(%rbp), %rcx
leaq -44(%rbp), %r8
movl %r14d, %esi
movl $16, %edx
callq _r600_calculate_u_and_p
movq _CG_PWR_GATING_CNTL@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl -48(%rbp), %edi
callq _PGP
movl %eax, %r13d
movl -44(%rbp), %edi
callq _PGU
orl %eax, %r13d
movq _PGP_MASK@GOTPCREL(%rip), %rax
movq _PGU_MASK@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
orl (%rax), %edx
notl %edx
movl %ebx, %edi
movl %r13d, %esi
callq _WREG32_P
movq _SUMO_VOLTAGEDROPT_DFLT@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl %r14d, %esi
movl $16, %edx
leaq -48(%rbp), %rcx
leaq -44(%rbp), %r8
callq _r600_calculate_u_and_p
movq _CG_CG_VOLTAGE_CNTL@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movl -48(%rbp), %edi
callq _PGP
movl %eax, %ebx
movl -44(%rbp), %edi
callq _PGU
orl %eax, %ebx
movq _PGU_MASK@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _PGP_MASK@GOTPCREL(%rip), %rax
orl (%rax), %edx
notl %edx
movl %r14d, %edi
movl %ebx, %esi
callq _WREG32_P
movq (%r15), %rax
movq _CHIP_PALM@GOTPCREL(%rip), %r13
cmpq (%r13), %rax
movq _RCU_PWR_GATING_SEQ0@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $269496848, %eax ## imm = 0x10103210
movl $1985229328, %esi ## imm = 0x76543210
cmovel %eax, %esi
movl $269488144, %eax ## imm = 0x10101010
movl $-19088744, %ebx ## imm = 0xFEDCBA98
cmovel %eax, %ebx
callq _WREG32_RCU
movq _RCU_PWR_GATING_SEQ1@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl %ebx, %esi
callq _WREG32_RCU
movq _RCU_PWR_GATING_CNTL@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _RREG32_RCU
movq _RSVD_MASK@GOTPCREL(%rip), %rcx
movq _PCV_MASK@GOTPCREL(%rip), %rdx
movl (%rdx), %ebx
orl (%rcx), %ebx
movq _PGS_MASK@GOTPCREL(%rip), %rcx
orl (%rcx), %ebx
notl %ebx
andl %eax, %ebx
movl %r12d, -64(%rbp) ## 4-byte Spill
movl %r12d, %edi
callq _PCV
movl %eax, %r14d
movl $1, %edi
callq _PGS
movl %eax, %r12d
orl %r14d, %r12d
orl %ebx, %r12d
movq _PWR_GATING_EN@GOTPCREL(%rip), %rax
orl (%rax), %r12d
movq %r15, -72(%rbp) ## 8-byte Spill
movq (%r15), %rax
cmpq (%r13), %rax
jne LBB0_2
## %bb.1:
movq _PCP_MASK@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
andl %eax, %r12d
movl $119, %edi
callq _PCP
orl %eax, %r12d
LBB0_2:
movq _RCU_PWR_GATING_CNTL@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl %r12d, %esi
callq _WREG32_RCU
movq _RCU_PWR_GATING_CNTL_2@GOTPCREL(%rip), %r15
movl (%r15), %edi
callq _RREG32_RCU
movq _MPPU_MASK@GOTPCREL(%rip), %rcx
movq _MPPD_MASK@GOTPCREL(%rip), %rdx
movl (%rdx), %ebx
orl (%rcx), %ebx
notl %ebx
andl %eax, %ebx
movl -52(%rbp), %edi ## 4-byte Reload
callq _MPPU
movl %eax, %r14d
movl $50, %edi
callq _MPPD
orl %eax, %r14d
orl %ebx, %r14d
movl (%r15), %edi
movl %r14d, %esi
callq _WREG32_RCU
movq _RCU_PWR_GATING_CNTL_3@GOTPCREL(%rip), %r12
movl (%r12), %edi
callq _RREG32_RCU
movq _DPPU_MASK@GOTPCREL(%rip), %rcx
movq _DPPD_MASK@GOTPCREL(%rip), %rdx
movl (%rdx), %ebx
orl (%rcx), %ebx
notl %ebx
andl %eax, %ebx
movl -56(%rbp), %r15d ## 4-byte Reload
movl %r15d, %edi
callq _DPPU
movl %eax, %r14d
movl $50, %edi
callq _DPPD
orl %eax, %r14d
orl %ebx, %r14d
movl (%r12), %edi
movl %r14d, %esi
callq _WREG32_RCU
movq _RCU_PWR_GATING_CNTL_4@GOTPCREL(%rip), %r14
movl (%r14), %edi
callq _RREG32_RCU
movq _RT_MASK@GOTPCREL(%rip), %rcx
movq _IT_MASK@GOTPCREL(%rip), %rdx
movl (%rdx), %r12d
orl (%rcx), %r12d
notl %r12d
andl %eax, %r12d
movl %r15d, %edi
callq _RT
movl %eax, %ebx
movl -60(%rbp), %edi ## 4-byte Reload
callq _IT
orl %eax, %ebx
orl %r12d, %ebx
movl (%r14), %edi
movl %ebx, %esi
callq _WREG32_RCU
movq -72(%rbp), %r15 ## 8-byte Reload
movq (%r15), %rax
cmpq (%r13), %rax
jne LBB0_4
## %bb.3:
movq _RCU_PWR_GATING_CNTL_5@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $2562, %esi ## imm = 0xA02
callq _WREG32_RCU
LBB0_4:
movq %r15, %rdi
callq _sumo_smu_pg_init
movq _RCU_PWR_GATING_CNTL@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _RREG32_RCU
movq _PCV_MASK@GOTPCREL(%rip), %rcx
movl (%rcx), %ebx
movq _RSVD_MASK@GOTPCREL(%rip), %rcx
orl (%rcx), %ebx
movq _PGS_MASK@GOTPCREL(%rip), %rcx
orl (%rcx), %ebx
notl %ebx
andl %eax, %ebx
movl -64(%rbp), %edi ## 4-byte Reload
callq _PCV
movl %eax, %r14d
movl $4, %edi
callq _PGS
movl %eax, %r12d
orl %r14d, %r12d
orl %ebx, %r12d
movq _PWR_GATING_EN@GOTPCREL(%rip), %rax
orl (%rax), %r12d
movq (%r15), %rax
cmpq (%r13), %rax
jne LBB0_6
## %bb.5:
movq _PCP_MASK@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
andl %eax, %r12d
movl $119, %edi
callq _PCP
orl %eax, %r12d
LBB0_6:
movq _RCU_PWR_GATING_CNTL@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl %r12d, %esi
callq _WREG32_RCU
movq -72(%rbp), %r12 ## 8-byte Reload
movq (%r12), %rax
cmpq (%r13), %rax
jne LBB0_8
## %bb.7:
movq _RCU_PWR_GATING_CNTL_2@GOTPCREL(%rip), %r15
movl (%r15), %edi
callq _RREG32_RCU
movq _MPPD_MASK@GOTPCREL(%rip), %rcx
movl (%rcx), %ebx
movq _MPPU_MASK@GOTPCREL(%rip), %rcx
orl (%rcx), %ebx
notl %ebx
andl %eax, %ebx
movl $113, %edi
callq _MPPU
movl %eax, %r14d
movl $50, %edi
callq _MPPD
orl %eax, %r14d
orl %ebx, %r14d
movl (%r15), %edi
movl %r14d, %esi
callq _WREG32_RCU
movq _RCU_PWR_GATING_CNTL_3@GOTPCREL(%rip), %r15
movl (%r15), %edi
callq _RREG32_RCU
movq _DPPD_MASK@GOTPCREL(%rip), %rcx
movl (%rcx), %ebx
movq _DPPU_MASK@GOTPCREL(%rip), %rcx
orl (%rcx), %ebx
notl %ebx
andl %eax, %ebx
movl $16, %edi
callq _DPPU
movl %eax, %r14d
movl $50, %edi
callq _DPPD
orl %eax, %r14d
orl %ebx, %r14d
movl (%r15), %edi
movl %r14d, %esi
callq _WREG32_RCU
LBB0_8:
movq %r12, %rdi
callq _sumo_smu_pg_init
movq _RCU_PWR_GATING_CNTL@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _RREG32_RCU
movq _PCV_MASK@GOTPCREL(%rip), %rcx
movl (%rcx), %ebx
movq _RSVD_MASK@GOTPCREL(%rip), %rcx
orl (%rcx), %ebx
movq _PGS_MASK@GOTPCREL(%rip), %rcx
orl (%rcx), %ebx
notl %ebx
andl %eax, %ebx
movl $5, %edi
callq _PGS
movl %eax, %r14d
movq _PWR_GATING_EN@GOTPCREL(%rip), %rax
orl (%rax), %r14d
orl %ebx, %r14d
movq (%r12), %rax
cmpq (%r13), %rax
jne LBB0_10
## %bb.9:
movl $4, %edi
callq _PCV
orl %r14d, %eax
movq _PCP_MASK@GOTPCREL(%rip), %rcx
movl (%rcx), %ebx
notl %ebx
andl %eax, %ebx
movl $119, %edi
callq _PCP
orl %ebx, %eax
jmp LBB0_11
LBB0_10:
movl $11, %edi
callq _PCV
orl %r14d, %eax
LBB0_11:
movq _RCU_PWR_GATING_CNTL@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
movl %eax, %esi
callq _WREG32_RCU
movq (%r12), %rax
cmpq (%r13), %rax
jne LBB0_13
## %bb.12:
movq _RCU_PWR_GATING_CNTL_2@GOTPCREL(%rip), %r15
movl (%r15), %edi
callq _RREG32_RCU
movq _MPPD_MASK@GOTPCREL(%rip), %rcx
movl (%rcx), %ebx
movq _MPPU_MASK@GOTPCREL(%rip), %rcx
orl (%rcx), %ebx
notl %ebx
andl %eax, %ebx
movl $113, %edi
callq _MPPU
movl %eax, %r14d
movl $50, %edi
callq _MPPD
orl %eax, %r14d
orl %ebx, %r14d
movl (%r15), %edi
movl %r14d, %esi
callq _WREG32_RCU
movq _RCU_PWR_GATING_CNTL_3@GOTPCREL(%rip), %r15
movl (%r15), %edi
callq _RREG32_RCU
movq _DPPD_MASK@GOTPCREL(%rip), %rcx
movl (%rcx), %ebx
movq _DPPU_MASK@GOTPCREL(%rip), %rcx
orl (%rcx), %ebx
notl %ebx
andl %eax, %ebx
movl $22, %edi
callq _DPPU
movl %eax, %r14d
movl $50, %edi
callq _DPPD
orl %eax, %r14d
orl %ebx, %r14d
movl (%r15), %edi
movl %r14d, %esi
callq _WREG32_RCU
LBB0_13:
movq %r12, %rdi
callq _sumo_smu_pg_init
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CHIP_PALM,8,3 ## @CHIP_PALM
.comm _CG_SCRATCH2,4,2 ## @CG_SCRATCH2
.comm _SUMO_GFXPOWERGATINGT_DFLT,4,2 ## @SUMO_GFXPOWERGATINGT_DFLT
.comm _CG_PWR_GATING_CNTL,4,2 ## @CG_PWR_GATING_CNTL
.comm _PGP_MASK,4,2 ## @PGP_MASK
.comm _PGU_MASK,4,2 ## @PGU_MASK
.comm _SUMO_VOLTAGEDROPT_DFLT,4,2 ## @SUMO_VOLTAGEDROPT_DFLT
.comm _CG_CG_VOLTAGE_CNTL,4,2 ## @CG_CG_VOLTAGE_CNTL
.comm _RCU_PWR_GATING_SEQ0,4,2 ## @RCU_PWR_GATING_SEQ0
.comm _RCU_PWR_GATING_SEQ1,4,2 ## @RCU_PWR_GATING_SEQ1
.comm _RCU_PWR_GATING_CNTL,4,2 ## @RCU_PWR_GATING_CNTL
.comm _RSVD_MASK,4,2 ## @RSVD_MASK
.comm _PCV_MASK,4,2 ## @PCV_MASK
.comm _PGS_MASK,4,2 ## @PGS_MASK
.comm _PWR_GATING_EN,4,2 ## @PWR_GATING_EN
.comm _PCP_MASK,4,2 ## @PCP_MASK
.comm _RCU_PWR_GATING_CNTL_2,4,2 ## @RCU_PWR_GATING_CNTL_2
.comm _MPPU_MASK,4,2 ## @MPPU_MASK
.comm _MPPD_MASK,4,2 ## @MPPD_MASK
.comm _RCU_PWR_GATING_CNTL_3,4,2 ## @RCU_PWR_GATING_CNTL_3
.comm _DPPU_MASK,4,2 ## @DPPU_MASK
.comm _DPPD_MASK,4,2 ## @DPPD_MASK
.comm _RCU_PWR_GATING_CNTL_4,4,2 ## @RCU_PWR_GATING_CNTL_4
.comm _RT_MASK,4,2 ## @RT_MASK
.comm _IT_MASK,4,2 ## @IT_MASK
.comm _RCU_PWR_GATING_CNTL_5,4,2 ## @RCU_PWR_GATING_CNTL_5
.no_dead_strip _sumo_gfx_powergating_initialize
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sumo_gfx_powergating_initialize
_sumo_gfx_powergating_initialize: ; @sumo_gfx_powergating_initialize
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
bl _radeon_get_xclk
mov x24, x0
ldr x8, [x19]
Lloh0:
adrp x27, _CHIP_PALM@GOTPAGE
Lloh1:
ldr x27, [x27, _CHIP_PALM@GOTPAGEOFF]
ldr x9, [x27]
cmp x8, x9
mov w8, #16
mov w9, #4
csel w20, w9, w8, eq
mov w8, #113
mov w10, #247
csel w23, w10, w8, eq
mov w8, #50
mov w10, #10
csel w22, w10, w8, eq
csel w21, w9, w8, eq
Lloh2:
adrp x8, _CG_SCRATCH2@GOTPAGE
Lloh3:
ldr x8, [x8, _CG_SCRATCH2@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
mov w1, #2583
movk w1, #438, lsl #16
bl _WREG32
Lloh5:
adrp x8, _SUMO_GFXPOWERGATINGT_DFLT@GOTPAGE
Lloh6:
ldr x8, [x8, _SUMO_GFXPOWERGATINGT_DFLT@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
add x3, sp, #12
add x4, sp, #8
mov x1, x24
mov w2, #16
bl _r600_calculate_u_and_p
Lloh8:
adrp x8, _CG_PWR_GATING_CNTL@GOTPAGE
Lloh9:
ldr x8, [x8, _CG_PWR_GATING_CNTL@GOTPAGEOFF]
Lloh10:
ldr w25, [x8]
ldr w0, [sp, #12]
bl _PGP
mov x26, x0
ldr w0, [sp, #8]
bl _PGU
orr w1, w0, w26
Lloh11:
adrp x26, _PGP_MASK@GOTPAGE
Lloh12:
ldr x26, [x26, _PGP_MASK@GOTPAGEOFF]
ldr w8, [x26]
Lloh13:
adrp x28, _PGU_MASK@GOTPAGE
Lloh14:
ldr x28, [x28, _PGU_MASK@GOTPAGEOFF]
ldr w9, [x28]
orr w8, w9, w8
mvn w2, w8
mov x0, x25
bl _WREG32_P
Lloh15:
adrp x8, _SUMO_VOLTAGEDROPT_DFLT@GOTPAGE
Lloh16:
ldr x8, [x8, _SUMO_VOLTAGEDROPT_DFLT@GOTPAGEOFF]
Lloh17:
ldr w0, [x8]
add x3, sp, #12
add x4, sp, #8
mov x1, x24
mov w2, #16
bl _r600_calculate_u_and_p
Lloh18:
adrp x8, _CG_CG_VOLTAGE_CNTL@GOTPAGE
Lloh19:
ldr x8, [x8, _CG_CG_VOLTAGE_CNTL@GOTPAGEOFF]
Lloh20:
ldr w24, [x8]
ldr w0, [sp, #12]
bl _PGP
mov x25, x0
ldr w0, [sp, #8]
bl _PGU
orr w1, w0, w25
ldr w8, [x26]
ldr w9, [x28]
orr w8, w9, w8
mvn w2, w8
mov x0, x24
bl _WREG32_P
ldr x8, [x19]
ldr x9, [x27]
Lloh21:
adrp x10, _RCU_PWR_GATING_SEQ0@GOTPAGE
Lloh22:
ldr x10, [x10, _RCU_PWR_GATING_SEQ0@GOTPAGEOFF]
Lloh23:
ldr w0, [x10]
cmp x8, x9
mov w8, #12816
movk w8, #30292, lsl #16
mov w9, #12816
movk w9, #4112, lsl #16
csel w1, w9, w8, eq
mov w8, #47768
movk w8, #65244, lsl #16
mov w9, #269488144
csel w24, w9, w8, eq
bl _WREG32_RCU
Lloh24:
adrp x8, _RCU_PWR_GATING_SEQ1@GOTPAGE
Lloh25:
ldr x8, [x8, _RCU_PWR_GATING_SEQ1@GOTPAGEOFF]
Lloh26:
ldr w0, [x8]
mov x1, x24
bl _WREG32_RCU
Lloh27:
adrp x25, _RCU_PWR_GATING_CNTL@GOTPAGE
Lloh28:
ldr x25, [x25, _RCU_PWR_GATING_CNTL@GOTPAGEOFF]
ldr w0, [x25]
bl _RREG32_RCU
Lloh29:
adrp x8, _RSVD_MASK@GOTPAGE
Lloh30:
ldr x8, [x8, _RSVD_MASK@GOTPAGEOFF]
Lloh31:
ldr w8, [x8]
Lloh32:
adrp x9, _PCV_MASK@GOTPAGE
Lloh33:
ldr x9, [x9, _PCV_MASK@GOTPAGEOFF]
Lloh34:
ldr w9, [x9]
orr w8, w9, w8
Lloh35:
adrp x9, _PGS_MASK@GOTPAGE
Lloh36:
ldr x9, [x9, _PGS_MASK@GOTPAGEOFF]
Lloh37:
ldr w9, [x9]
orr w8, w8, w9
bic w26, w0, w8
mov x0, x20
bl _PCV
mov x24, x0
mov w0, #1
bl _PGS
orr w8, w0, w24
Lloh38:
adrp x9, _PWR_GATING_EN@GOTPAGE
Lloh39:
ldr x9, [x9, _PWR_GATING_EN@GOTPAGEOFF]
Lloh40:
ldr w9, [x9]
orr w8, w8, w26
orr w1, w8, w9
ldr x8, [x19]
ldr x9, [x27]
Lloh41:
adrp x10, _PCP_MASK@GOTPAGE
Lloh42:
ldr x10, [x10, _PCP_MASK@GOTPAGEOFF]
cmp x8, x9
b.ne LBB0_2
; %bb.1:
ldr w8, [x10]
bic w24, w1, w8
mov w0, #119
bl _PCP
orr w1, w24, w0
LBB0_2:
ldr w0, [x25]
bl _WREG32_RCU
Lloh43:
adrp x24, _RCU_PWR_GATING_CNTL_2@GOTPAGE
Lloh44:
ldr x24, [x24, _RCU_PWR_GATING_CNTL_2@GOTPAGEOFF]
ldr w0, [x24]
bl _RREG32_RCU
Lloh45:
adrp x8, _MPPU_MASK@GOTPAGE
Lloh46:
ldr x8, [x8, _MPPU_MASK@GOTPAGEOFF]
Lloh47:
ldr w8, [x8]
Lloh48:
adrp x9, _MPPD_MASK@GOTPAGE
Lloh49:
ldr x9, [x9, _MPPD_MASK@GOTPAGEOFF]
Lloh50:
ldr w9, [x9]
orr w8, w9, w8
bic w26, w0, w8
mov x0, x23
bl _MPPU
mov x23, x0
mov w0, #50
bl _MPPD
orr w8, w0, w23
orr w1, w8, w26
ldr w0, [x24]
bl _WREG32_RCU
Lloh51:
adrp x26, _RCU_PWR_GATING_CNTL_3@GOTPAGE
Lloh52:
ldr x26, [x26, _RCU_PWR_GATING_CNTL_3@GOTPAGEOFF]
ldr w0, [x26]
bl _RREG32_RCU
Lloh53:
adrp x8, _DPPU_MASK@GOTPAGE
Lloh54:
ldr x8, [x8, _DPPU_MASK@GOTPAGEOFF]
Lloh55:
ldr w8, [x8]
Lloh56:
adrp x9, _DPPD_MASK@GOTPAGE
Lloh57:
ldr x9, [x9, _DPPD_MASK@GOTPAGEOFF]
Lloh58:
ldr w9, [x9]
orr w8, w9, w8
bic w28, w0, w8
mov x0, x22
bl _DPPU
mov x23, x0
mov w0, #50
bl _DPPD
orr w8, w0, w23
orr w1, w8, w28
ldr w0, [x26]
bl _WREG32_RCU
Lloh59:
adrp x23, _RCU_PWR_GATING_CNTL_4@GOTPAGE
Lloh60:
ldr x23, [x23, _RCU_PWR_GATING_CNTL_4@GOTPAGEOFF]
ldr w0, [x23]
bl _RREG32_RCU
Lloh61:
adrp x8, _RT_MASK@GOTPAGE
Lloh62:
ldr x8, [x8, _RT_MASK@GOTPAGEOFF]
Lloh63:
ldr w8, [x8]
Lloh64:
adrp x9, _IT_MASK@GOTPAGE
Lloh65:
ldr x9, [x9, _IT_MASK@GOTPAGEOFF]
Lloh66:
ldr w9, [x9]
orr w8, w9, w8
bic w28, w0, w8
mov x0, x22
bl _RT
mov x22, x0
mov x0, x21
bl _IT
orr w8, w0, w22
orr w1, w8, w28
ldr w0, [x23]
bl _WREG32_RCU
ldr x8, [x19]
ldr x9, [x27]
cmp x8, x9
b.ne LBB0_4
; %bb.3:
Lloh67:
adrp x8, _RCU_PWR_GATING_CNTL_5@GOTPAGE
Lloh68:
ldr x8, [x8, _RCU_PWR_GATING_CNTL_5@GOTPAGEOFF]
Lloh69:
ldr w0, [x8]
mov w1, #2562
bl _WREG32_RCU
LBB0_4:
mov x0, x19
bl _sumo_smu_pg_init
ldr w0, [x25]
bl _RREG32_RCU
Lloh70:
adrp x22, _RSVD_MASK@GOTPAGE
Lloh71:
ldr x22, [x22, _RSVD_MASK@GOTPAGEOFF]
ldr w8, [x22]
Lloh72:
adrp x23, _PCV_MASK@GOTPAGE
Lloh73:
ldr x23, [x23, _PCV_MASK@GOTPAGEOFF]
ldr w9, [x23]
orr w8, w9, w8
Lloh74:
adrp x9, _PGS_MASK@GOTPAGE
Lloh75:
ldr x9, [x9, _PGS_MASK@GOTPAGEOFF]
Lloh76:
ldr w9, [x9]
orr w8, w8, w9
bic w21, w0, w8
mov x0, x20
bl _PCV
mov x20, x0
mov w0, #4
bl _PGS
orr w8, w0, w20
Lloh77:
adrp x9, _PWR_GATING_EN@GOTPAGE
Lloh78:
ldr x9, [x9, _PWR_GATING_EN@GOTPAGEOFF]
Lloh79:
ldr w9, [x9]
orr w8, w8, w21
orr w1, w8, w9
ldr x8, [x19]
ldr x9, [x27]
cmp x8, x9
Lloh80:
adrp x28, _PCP_MASK@GOTPAGE
Lloh81:
ldr x28, [x28, _PCP_MASK@GOTPAGEOFF]
b.ne LBB0_6
; %bb.5:
ldr w8, [x28]
bic w20, w1, w8
mov w0, #119
bl _PCP
orr w1, w20, w0
LBB0_6:
ldr w0, [x25]
bl _WREG32_RCU
ldr x8, [x19]
ldr x9, [x27]
cmp x8, x9
b.ne LBB0_8
; %bb.7:
ldr w0, [x24]
bl _RREG32_RCU
Lloh82:
adrp x8, _MPPU_MASK@GOTPAGE
Lloh83:
ldr x8, [x8, _MPPU_MASK@GOTPAGEOFF]
Lloh84:
ldr w8, [x8]
Lloh85:
adrp x9, _MPPD_MASK@GOTPAGE
Lloh86:
ldr x9, [x9, _MPPD_MASK@GOTPAGEOFF]
Lloh87:
ldr w9, [x9]
orr w8, w9, w8
bic w21, w0, w8
mov w0, #113
bl _MPPU
mov x20, x0
mov w0, #50
bl _MPPD
orr w8, w0, w20
orr w1, w8, w21
ldr w0, [x24]
bl _WREG32_RCU
ldr w0, [x26]
bl _RREG32_RCU
Lloh88:
adrp x8, _DPPU_MASK@GOTPAGE
Lloh89:
ldr x8, [x8, _DPPU_MASK@GOTPAGEOFF]
Lloh90:
ldr w8, [x8]
Lloh91:
adrp x9, _DPPD_MASK@GOTPAGE
Lloh92:
ldr x9, [x9, _DPPD_MASK@GOTPAGEOFF]
Lloh93:
ldr w9, [x9]
orr w8, w9, w8
bic w21, w0, w8
mov w0, #16
bl _DPPU
mov x20, x0
mov w0, #50
bl _DPPD
orr w8, w0, w20
orr w1, w8, w21
ldr w0, [x26]
bl _WREG32_RCU
LBB0_8:
mov x0, x19
bl _sumo_smu_pg_init
ldr w0, [x25]
bl _RREG32_RCU
ldr w8, [x22]
ldr w9, [x23]
orr w8, w9, w8
Lloh94:
adrp x9, _PGS_MASK@GOTPAGE
Lloh95:
ldr x9, [x9, _PGS_MASK@GOTPAGEOFF]
Lloh96:
ldr w9, [x9]
orr w8, w8, w9
bic w20, w0, w8
mov w0, #5
bl _PGS
Lloh97:
adrp x8, _PWR_GATING_EN@GOTPAGE
Lloh98:
ldr x8, [x8, _PWR_GATING_EN@GOTPAGEOFF]
Lloh99:
ldr w8, [x8]
orr w8, w8, w0
orr w20, w8, w20
ldr x8, [x19]
ldr x9, [x27]
cmp x8, x9
b.ne LBB0_10
; %bb.9:
mov w0, #4
bl _PCV
orr w8, w0, w20
ldr w9, [x28]
bic w20, w8, w9
mov w0, #119
bl _PCP
orr w1, w20, w0
b LBB0_11
LBB0_10:
mov w0, #11
bl _PCV
orr w1, w0, w20
LBB0_11:
ldr w0, [x25]
bl _WREG32_RCU
ldr x8, [x19]
ldr x9, [x27]
cmp x8, x9
b.ne LBB0_13
; %bb.12:
ldr w0, [x24]
bl _RREG32_RCU
Lloh100:
adrp x8, _MPPU_MASK@GOTPAGE
Lloh101:
ldr x8, [x8, _MPPU_MASK@GOTPAGEOFF]
Lloh102:
ldr w8, [x8]
Lloh103:
adrp x9, _MPPD_MASK@GOTPAGE
Lloh104:
ldr x9, [x9, _MPPD_MASK@GOTPAGEOFF]
Lloh105:
ldr w9, [x9]
orr w8, w9, w8
bic w21, w0, w8
mov w0, #113
bl _MPPU
mov x20, x0
mov w0, #50
bl _MPPD
orr w8, w0, w20
orr w1, w8, w21
ldr w0, [x24]
bl _WREG32_RCU
ldr w0, [x26]
bl _RREG32_RCU
Lloh106:
adrp x8, _DPPU_MASK@GOTPAGE
Lloh107:
ldr x8, [x8, _DPPU_MASK@GOTPAGEOFF]
Lloh108:
ldr w8, [x8]
Lloh109:
adrp x9, _DPPD_MASK@GOTPAGE
Lloh110:
ldr x9, [x9, _DPPD_MASK@GOTPAGEOFF]
Lloh111:
ldr w9, [x9]
orr w8, w9, w8
bic w21, w0, w8
mov w0, #22
bl _DPPU
mov x20, x0
mov w0, #50
bl _DPPD
orr w8, w0, w20
orr w1, w8, w21
ldr w0, [x26]
bl _WREG32_RCU
LBB0_13:
mov x0, x19
bl _sumo_smu_pg_init
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdrGot Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGot Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh64, Lloh65, Lloh66
.loh AdrpLdrGotLdr Lloh61, Lloh62, Lloh63
.loh AdrpLdrGot Lloh59, Lloh60
.loh AdrpLdrGotLdr Lloh56, Lloh57, Lloh58
.loh AdrpLdrGotLdr Lloh53, Lloh54, Lloh55
.loh AdrpLdrGot Lloh51, Lloh52
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpLdrGot Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh67, Lloh68, Lloh69
.loh AdrpLdrGot Lloh80, Lloh81
.loh AdrpLdrGotLdr Lloh77, Lloh78, Lloh79
.loh AdrpLdrGotLdr Lloh74, Lloh75, Lloh76
.loh AdrpLdrGot Lloh72, Lloh73
.loh AdrpLdrGot Lloh70, Lloh71
.loh AdrpLdrGotLdr Lloh91, Lloh92, Lloh93
.loh AdrpLdrGotLdr Lloh88, Lloh89, Lloh90
.loh AdrpLdrGotLdr Lloh85, Lloh86, Lloh87
.loh AdrpLdrGotLdr Lloh82, Lloh83, Lloh84
.loh AdrpLdrGotLdr Lloh97, Lloh98, Lloh99
.loh AdrpLdrGotLdr Lloh94, Lloh95, Lloh96
.loh AdrpLdrGotLdr Lloh109, Lloh110, Lloh111
.loh AdrpLdrGotLdr Lloh106, Lloh107, Lloh108
.loh AdrpLdrGotLdr Lloh103, Lloh104, Lloh105
.loh AdrpLdrGotLdr Lloh100, Lloh101, Lloh102
.cfi_endproc
; -- End function
.comm _CHIP_PALM,8,3 ; @CHIP_PALM
.comm _CG_SCRATCH2,4,2 ; @CG_SCRATCH2
.comm _SUMO_GFXPOWERGATINGT_DFLT,4,2 ; @SUMO_GFXPOWERGATINGT_DFLT
.comm _CG_PWR_GATING_CNTL,4,2 ; @CG_PWR_GATING_CNTL
.comm _PGP_MASK,4,2 ; @PGP_MASK
.comm _PGU_MASK,4,2 ; @PGU_MASK
.comm _SUMO_VOLTAGEDROPT_DFLT,4,2 ; @SUMO_VOLTAGEDROPT_DFLT
.comm _CG_CG_VOLTAGE_CNTL,4,2 ; @CG_CG_VOLTAGE_CNTL
.comm _RCU_PWR_GATING_SEQ0,4,2 ; @RCU_PWR_GATING_SEQ0
.comm _RCU_PWR_GATING_SEQ1,4,2 ; @RCU_PWR_GATING_SEQ1
.comm _RCU_PWR_GATING_CNTL,4,2 ; @RCU_PWR_GATING_CNTL
.comm _RSVD_MASK,4,2 ; @RSVD_MASK
.comm _PCV_MASK,4,2 ; @PCV_MASK
.comm _PGS_MASK,4,2 ; @PGS_MASK
.comm _PWR_GATING_EN,4,2 ; @PWR_GATING_EN
.comm _PCP_MASK,4,2 ; @PCP_MASK
.comm _RCU_PWR_GATING_CNTL_2,4,2 ; @RCU_PWR_GATING_CNTL_2
.comm _MPPU_MASK,4,2 ; @MPPU_MASK
.comm _MPPD_MASK,4,2 ; @MPPD_MASK
.comm _RCU_PWR_GATING_CNTL_3,4,2 ; @RCU_PWR_GATING_CNTL_3
.comm _DPPU_MASK,4,2 ; @DPPU_MASK
.comm _DPPD_MASK,4,2 ; @DPPD_MASK
.comm _RCU_PWR_GATING_CNTL_4,4,2 ; @RCU_PWR_GATING_CNTL_4
.comm _RT_MASK,4,2 ; @RT_MASK
.comm _IT_MASK,4,2 ; @IT_MASK
.comm _RCU_PWR_GATING_CNTL_5,4,2 ; @RCU_PWR_GATING_CNTL_5
.no_dead_strip _sumo_gfx_powergating_initialize
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/radeon/extr_sumo_dpm.c_sumo_gfx_powergating_initialize.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vnodeProcessMsgFromMgmt ## -- Begin function vnodeProcessMsgFromMgmt
.p2align 4, 0x90
_vnodeProcessMsgFromMgmt: ## @vnodeProcessMsgFromMgmt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _TSDB_MSG_TYPE_CREATE@GOTPCREL(%rip), %rax
cmpl %edx, (%rax)
jne LBB0_1
## %bb.10:
movq %rcx, %rdx
popq %rbp
jmp _vnodeProcessCreateMeterRequest ## TAILCALL
LBB0_1:
movq _TSDB_MSG_TYPE_VPEERS@GOTPCREL(%rip), %rax
cmpl %edx, (%rax)
jne LBB0_2
## %bb.11:
movq %rcx, %rdx
popq %rbp
jmp _vnodeProcessVPeersMsg ## TAILCALL
LBB0_2:
movq _TSDB_MSG_TYPE_VPEER_CFG_RSP@GOTPCREL(%rip), %rax
cmpl %edx, (%rax)
jne LBB0_3
## %bb.12:
movq %rcx, %rdx
popq %rbp
jmp _vnodeProcessVPeerCfgRsp ## TAILCALL
LBB0_3:
movq _TSDB_MSG_TYPE_METER_CFG_RSP@GOTPCREL(%rip), %rax
cmpl %edx, (%rax)
jne LBB0_4
## %bb.13:
movq %rcx, %rdx
popq %rbp
jmp _vnodeProcessMeterCfgRsp ## TAILCALL
LBB0_4:
movq _TSDB_MSG_TYPE_REMOVE@GOTPCREL(%rip), %rax
cmpl %edx, (%rax)
jne LBB0_5
## %bb.14:
movq %rcx, %rdx
popq %rbp
jmp _vnodeProcessRemoveMeterRequest ## TAILCALL
LBB0_5:
movq _TSDB_MSG_TYPE_FREE_VNODE@GOTPCREL(%rip), %rax
cmpl %edx, (%rax)
jne LBB0_6
## %bb.15:
movq %rcx, %rdx
popq %rbp
jmp _vnodeProcessFreeVnodeRequest ## TAILCALL
LBB0_6:
movq _TSDB_MSG_TYPE_CFG_PNODE@GOTPCREL(%rip), %rax
cmpl %edx, (%rax)
jne LBB0_7
## %bb.16:
movq %rcx, %rdx
popq %rbp
jmp _vnodeProcessCfgDnodeRequest ## TAILCALL
LBB0_7:
movq _TSDB_MSG_TYPE_ALTER_STREAM@GOTPCREL(%rip), %rax
cmpl %edx, (%rax)
jne LBB0_8
## %bb.17:
movq %rcx, %rdx
popq %rbp
jmp _vnodeProcessAlterStreamRequest ## TAILCALL
LBB0_8:
movq _TSDB_MSG_TYPE_GRANT_RSP@GOTPCREL(%rip), %rax
cmpl %edx, (%rax)
jne LBB0_18
## %bb.9:
popq %rbp
retq
LBB0_18:
movq _taosMsg@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq %edx, %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str(%rip), %rdi
popq %rbp
jmp _dError ## TAILCALL
.cfi_endproc
## -- End function
.comm _TSDB_MSG_TYPE_CREATE,4,2 ## @TSDB_MSG_TYPE_CREATE
.comm _TSDB_MSG_TYPE_VPEERS,4,2 ## @TSDB_MSG_TYPE_VPEERS
.comm _TSDB_MSG_TYPE_VPEER_CFG_RSP,4,2 ## @TSDB_MSG_TYPE_VPEER_CFG_RSP
.comm _TSDB_MSG_TYPE_METER_CFG_RSP,4,2 ## @TSDB_MSG_TYPE_METER_CFG_RSP
.comm _TSDB_MSG_TYPE_REMOVE,4,2 ## @TSDB_MSG_TYPE_REMOVE
.comm _TSDB_MSG_TYPE_FREE_VNODE,4,2 ## @TSDB_MSG_TYPE_FREE_VNODE
.comm _TSDB_MSG_TYPE_CFG_PNODE,4,2 ## @TSDB_MSG_TYPE_CFG_PNODE
.comm _TSDB_MSG_TYPE_ALTER_STREAM,4,2 ## @TSDB_MSG_TYPE_ALTER_STREAM
.comm _TSDB_MSG_TYPE_GRANT_RSP,4,2 ## @TSDB_MSG_TYPE_GRANT_RSP
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s is not processed"
.comm _taosMsg,8,3 ## @taosMsg
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vnodeProcessMsgFromMgmt ; -- Begin function vnodeProcessMsgFromMgmt
.p2align 2
_vnodeProcessMsgFromMgmt: ; @vnodeProcessMsgFromMgmt
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _TSDB_MSG_TYPE_CREATE@GOTPAGE
Lloh1:
ldr x8, [x8, _TSDB_MSG_TYPE_CREATE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w8, w2
b.ne LBB0_2
; %bb.1:
mov x2, x3
b _vnodeProcessCreateMeterRequest
LBB0_2:
Lloh3:
adrp x8, _TSDB_MSG_TYPE_VPEERS@GOTPAGE
Lloh4:
ldr x8, [x8, _TSDB_MSG_TYPE_VPEERS@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
cmp w8, w2
b.ne LBB0_4
; %bb.3:
mov x2, x3
b _vnodeProcessVPeersMsg
LBB0_4:
Lloh6:
adrp x8, _TSDB_MSG_TYPE_VPEER_CFG_RSP@GOTPAGE
Lloh7:
ldr x8, [x8, _TSDB_MSG_TYPE_VPEER_CFG_RSP@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
cmp w8, w2
b.ne LBB0_6
; %bb.5:
mov x2, x3
b _vnodeProcessVPeerCfgRsp
LBB0_6:
Lloh9:
adrp x8, _TSDB_MSG_TYPE_METER_CFG_RSP@GOTPAGE
Lloh10:
ldr x8, [x8, _TSDB_MSG_TYPE_METER_CFG_RSP@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
cmp w8, w2
b.ne LBB0_8
; %bb.7:
mov x2, x3
b _vnodeProcessMeterCfgRsp
LBB0_8:
Lloh12:
adrp x8, _TSDB_MSG_TYPE_REMOVE@GOTPAGE
Lloh13:
ldr x8, [x8, _TSDB_MSG_TYPE_REMOVE@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
cmp w8, w2
b.ne LBB0_10
; %bb.9:
mov x2, x3
b _vnodeProcessRemoveMeterRequest
LBB0_10:
Lloh15:
adrp x8, _TSDB_MSG_TYPE_FREE_VNODE@GOTPAGE
Lloh16:
ldr x8, [x8, _TSDB_MSG_TYPE_FREE_VNODE@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
cmp w8, w2
b.ne LBB0_12
; %bb.11:
mov x2, x3
b _vnodeProcessFreeVnodeRequest
LBB0_12:
Lloh18:
adrp x8, _TSDB_MSG_TYPE_CFG_PNODE@GOTPAGE
Lloh19:
ldr x8, [x8, _TSDB_MSG_TYPE_CFG_PNODE@GOTPAGEOFF]
Lloh20:
ldr w8, [x8]
cmp w8, w2
b.ne LBB0_14
; %bb.13:
mov x2, x3
b _vnodeProcessCfgDnodeRequest
LBB0_14:
Lloh21:
adrp x8, _TSDB_MSG_TYPE_ALTER_STREAM@GOTPAGE
Lloh22:
ldr x8, [x8, _TSDB_MSG_TYPE_ALTER_STREAM@GOTPAGEOFF]
Lloh23:
ldr w8, [x8]
cmp w8, w2
b.ne LBB0_16
; %bb.15:
mov x2, x3
b _vnodeProcessAlterStreamRequest
LBB0_16:
Lloh24:
adrp x8, _TSDB_MSG_TYPE_GRANT_RSP@GOTPAGE
Lloh25:
ldr x8, [x8, _TSDB_MSG_TYPE_GRANT_RSP@GOTPAGEOFF]
Lloh26:
ldr w8, [x8]
cmp w8, w2
b.ne LBB0_18
; %bb.17:
ret
LBB0_18:
Lloh27:
adrp x8, _taosMsg@GOTPAGE
Lloh28:
ldr x8, [x8, _taosMsg@GOTPAGEOFF]
Lloh29:
ldr x8, [x8]
ldr w1, [x8, w2, sxtw #2]
Lloh30:
adrp x0, l_.str@PAGE
Lloh31:
add x0, x0, l_.str@PAGEOFF
b _dError
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.cfi_endproc
; -- End function
.comm _TSDB_MSG_TYPE_CREATE,4,2 ; @TSDB_MSG_TYPE_CREATE
.comm _TSDB_MSG_TYPE_VPEERS,4,2 ; @TSDB_MSG_TYPE_VPEERS
.comm _TSDB_MSG_TYPE_VPEER_CFG_RSP,4,2 ; @TSDB_MSG_TYPE_VPEER_CFG_RSP
.comm _TSDB_MSG_TYPE_METER_CFG_RSP,4,2 ; @TSDB_MSG_TYPE_METER_CFG_RSP
.comm _TSDB_MSG_TYPE_REMOVE,4,2 ; @TSDB_MSG_TYPE_REMOVE
.comm _TSDB_MSG_TYPE_FREE_VNODE,4,2 ; @TSDB_MSG_TYPE_FREE_VNODE
.comm _TSDB_MSG_TYPE_CFG_PNODE,4,2 ; @TSDB_MSG_TYPE_CFG_PNODE
.comm _TSDB_MSG_TYPE_ALTER_STREAM,4,2 ; @TSDB_MSG_TYPE_ALTER_STREAM
.comm _TSDB_MSG_TYPE_GRANT_RSP,4,2 ; @TSDB_MSG_TYPE_GRANT_RSP
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s is not processed"
.comm _taosMsg,8,3 ; @taosMsg
.subsections_via_symbols
| AnghaBench/TDengine/src/system/detail/src/extr_dnodeMgmt.c_vnodeProcessMsgFromMgmt.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function esp_eh_host_reset_handler
_esp_eh_host_reset_handler: ## @esp_eh_host_reset_handler
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq (%rdi), %rax
movl (%rax), %edi
callq _shost_priv
movq %rax, %rbx
movq (%rax), %rax
movl (%rax), %edi
callq _spin_lock_irqsave
movq %rbx, %rdi
callq _esp_bootup_reset
movq %rbx, %rdi
callq _esp_reset_cleanup
movq (%rbx), %rax
movl (%rax), %edi
callq _spin_unlock_irqrestore
movq _esp_bus_reset_settle@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _ssleep
movq _SUCCESS@GOTPCREL(%rip), %rax
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _esp_bus_reset_settle,4,2 ## @esp_bus_reset_settle
.comm _SUCCESS,4,2 ## @SUCCESS
.no_dead_strip _esp_eh_host_reset_handler
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function esp_eh_host_reset_handler
_esp_eh_host_reset_handler: ; @esp_eh_host_reset_handler
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldr x8, [x0]
ldr w0, [x8]
bl _shost_priv
mov x19, x0
ldr x8, [x0]
ldr w0, [x8]
bl _spin_lock_irqsave
mov x0, x19
bl _esp_bootup_reset
mov x0, x19
bl _esp_reset_cleanup
ldr x8, [x19]
ldr w0, [x8]
bl _spin_unlock_irqrestore
Lloh0:
adrp x8, _esp_bus_reset_settle@GOTPAGE
Lloh1:
ldr x8, [x8, _esp_bus_reset_settle@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _ssleep
Lloh3:
adrp x8, _SUCCESS@GOTPAGE
Lloh4:
ldr x8, [x8, _SUCCESS@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _esp_bus_reset_settle,4,2 ; @esp_bus_reset_settle
.comm _SUCCESS,4,2 ; @SUCCESS
.no_dead_strip _esp_eh_host_reset_handler
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/extr_esp_scsi.c_esp_eh_host_reset_handler.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _YabSockInit ## -- Begin function YabSockInit
.p2align 4, 0x90
_YabSockInit: ## @YabSockInit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _YabSockInit ; -- Begin function YabSockInit
.p2align 2
_YabSockInit: ; @YabSockInit
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_sock-linux.c_YabSockInit.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function atkbdc_isa_release_resource
_atkbdc_isa_release_resource: ## @atkbdc_isa_release_resource
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r8, %r14
movl %ecx, %r15d
movl %edx, %r13d
movl %esi, %r12d
movl %edi, %ebx
callq _device_get_softc
movq _SYS_RES_IRQ@GOTPCREL(%rip), %rcx
cmpl %r13d, (%rcx)
jne LBB0_4
## %bb.1:
movq _KBDC_RID_KBD@GOTPCREL(%rip), %rcx
cmpl %r15d, (%rcx)
jne LBB0_4
## %bb.2:
movq (%rax), %rax
cmpq %r14, (%rax)
je LBB0_3
LBB0_4:
movl %ebx, %edi
movl %r12d, %esi
movl %r13d, %edx
movl %r15d, %ecx
movq %r14, %r8
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _bus_generic_rl_release_resource ## TAILCALL
LBB0_3:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SYS_RES_IRQ,4,2 ## @SYS_RES_IRQ
.comm _KBDC_RID_KBD,4,2 ## @KBDC_RID_KBD
.no_dead_strip _atkbdc_isa_release_resource
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function atkbdc_isa_release_resource
_atkbdc_isa_release_resource: ; @atkbdc_isa_release_resource
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x4
mov x20, x3
mov x21, x2
mov x22, x1
mov x23, x0
bl _device_get_softc
Lloh0:
adrp x8, _SYS_RES_IRQ@GOTPAGE
Lloh1:
ldr x8, [x8, _SYS_RES_IRQ@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _KBDC_RID_KBD@GOTPAGE
Lloh4:
ldr x9, [x9, _KBDC_RID_KBD@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
cmp w8, w21
ccmp w9, w20, #0, eq
b.ne LBB0_2
; %bb.1:
ldr x8, [x0]
ldr x8, [x8]
cmp x8, x19
b.eq LBB0_3
LBB0_2:
mov x0, x23
mov x1, x22
mov x2, x21
mov x3, x20
mov x4, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _bus_generic_rl_release_resource
LBB0_3:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SYS_RES_IRQ,4,2 ; @SYS_RES_IRQ
.comm _KBDC_RID_KBD,4,2 ; @KBDC_RID_KBD
.no_dead_strip _atkbdc_isa_release_resource
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/atkbdc/extr_atkbdc_isa.c_atkbdc_isa_release_resource.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function btree_xlog_vacuum
_btree_xlog_vacuum: ## @btree_xlog_vacuum
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movl (%rdi), %r14d
movq _RBM_NORMAL@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq -28(%rbp), %r8
xorl %esi, %esi
movl $1, %ecx
callq _XLogReadBufferForRedoExtended
movq _BLK_NEEDS_REDO@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_4
## %bb.1:
leaq -40(%rbp), %rdx
movq %rbx, %rdi
xorl %esi, %esi
callq _XLogRecGetBlockData
movq %rax, %r15
movl -28(%rbp), %edi
callq _BufferGetPage
movq %rax, %rbx
movq -40(%rbp), %rdx
testq %rdx, %rdx
jle LBB0_3
## %bb.2:
shrq $2, %rdx
movq %rbx, %rdi
movq %r15, %rsi
## kill: def $edx killed $edx killed $rdx
callq _PageIndexMultiDelete
LBB0_3:
movq %rbx, %rdi
callq _PageGetSpecialPointer
movq _BTP_HAS_GARBAGE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
notl %ecx
andl %ecx, (%rax)
movq %rbx, %rdi
movl %r14d, %esi
callq _PageSetLSN
movl -28(%rbp), %edi
callq _MarkBufferDirty
LBB0_4:
movl -28(%rbp), %edi
callq _BufferIsValid
testq %rax, %rax
je LBB0_6
## %bb.5:
movl -28(%rbp), %edi
callq _UnlockReleaseBuffer
LBB0_6:
addq $24, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _RBM_NORMAL,4,2 ## @RBM_NORMAL
.comm _BLK_NEEDS_REDO,8,3 ## @BLK_NEEDS_REDO
.comm _BTP_HAS_GARBAGE,4,2 ## @BTP_HAS_GARBAGE
.comm _MAIN_FORKNUM,4,2 ## @MAIN_FORKNUM
.comm _RBM_NORMAL_NO_LOG,4,2 ## @RBM_NORMAL_NO_LOG
.no_dead_strip _btree_xlog_vacuum
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function btree_xlog_vacuum
_btree_xlog_vacuum: ; @btree_xlog_vacuum
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x0
ldr w19, [x0]
Lloh0:
adrp x8, _RBM_NORMAL@GOTPAGE
Lloh1:
ldr x8, [x8, _RBM_NORMAL@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
add x4, sp, #12
mov w1, #0
mov w3, #1
bl _XLogReadBufferForRedoExtended
Lloh3:
adrp x8, _BLK_NEEDS_REDO@GOTPAGE
Lloh4:
ldr x8, [x8, _BLK_NEEDS_REDO@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_4
; %bb.1:
mov x2, sp
mov x0, x20
mov w1, #0
bl _XLogRecGetBlockData
mov x21, x0
ldr w0, [sp, #12]
bl _BufferGetPage
mov x20, x0
ldr x8, [sp]
cmp x8, #1
b.lt LBB0_3
; %bb.2:
lsr x2, x8, #2
mov x0, x20
mov x1, x21
; kill: def $w2 killed $w2 killed $x2
bl _PageIndexMultiDelete
LBB0_3:
mov x0, x20
bl _PageGetSpecialPointer
Lloh6:
adrp x8, _BTP_HAS_GARBAGE@GOTPAGE
Lloh7:
ldr x8, [x8, _BTP_HAS_GARBAGE@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
ldr w9, [x0]
bic w8, w9, w8
str w8, [x0]
mov x0, x20
mov x1, x19
bl _PageSetLSN
ldr w0, [sp, #12]
bl _MarkBufferDirty
LBB0_4:
ldr w0, [sp, #12]
bl _BufferIsValid
cbz x0, LBB0_6
; %bb.5:
ldr w0, [sp, #12]
bl _UnlockReleaseBuffer
LBB0_6:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _RBM_NORMAL,4,2 ; @RBM_NORMAL
.comm _BLK_NEEDS_REDO,8,3 ; @BLK_NEEDS_REDO
.comm _BTP_HAS_GARBAGE,4,2 ; @BTP_HAS_GARBAGE
.comm _MAIN_FORKNUM,4,2 ; @MAIN_FORKNUM
.comm _RBM_NORMAL_NO_LOG,4,2 ; @RBM_NORMAL_NO_LOG
.no_dead_strip _btree_xlog_vacuum
.subsections_via_symbols
| AnghaBench/postgres/src/backend/access/nbtree/extr_nbtxlog.c_btree_xlog_vacuum.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nop_completion
_nop_completion: ## @nop_completion
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _nop_completion
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nop_completion
_nop_completion: ; @nop_completion
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip _nop_completion
.subsections_via_symbols
| AnghaBench/linux/drivers/usb/gadget/udc/extr_m66592-udc.c_nop_completion.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _FreeDnsCache ## -- Begin function FreeDnsCache
.p2align 4, 0x90
_FreeDnsCache: ## @FreeDnsCache
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
xorl %eax, %eax
callq _LockDnsCache
movq _DnsCache@GOTPCREL(%rip), %r15
movq (%r15), %rdi
callq _LIST_NUM
testq %rax, %rax
jle LBB0_3
## %bb.1:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%r15), %rdi
movq %rbx, %rsi
callq _LIST_DATA
movq %rax, %r14
movq (%rax), %rdi
callq _Free
movq %r14, %rdi
callq _Free
incq %rbx
movq (%r15), %rdi
callq _LIST_NUM
cmpq %rax, %rbx
jl LBB0_2
LBB0_3:
xorl %eax, %eax
callq _UnlockDnsCache
movq (%r15), %rdi
callq _ReleaseList
movq $0, (%r15)
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DnsCache,8,3 ## @DnsCache
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _FreeDnsCache ; -- Begin function FreeDnsCache
.p2align 2
_FreeDnsCache: ; @FreeDnsCache
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
bl _LockDnsCache
Lloh0:
adrp x21, _DnsCache@GOTPAGE
Lloh1:
ldr x21, [x21, _DnsCache@GOTPAGEOFF]
ldr x0, [x21]
bl _LIST_NUM
cmp x0, #1
b.lt LBB0_3
; %bb.1:
mov x19, #0
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x0, [x21]
mov x1, x19
bl _LIST_DATA
mov x20, x0
ldr x0, [x0]
bl _Free
mov x0, x20
bl _Free
add x19, x19, #1
ldr x0, [x21]
bl _LIST_NUM
cmp x19, x0
b.lt LBB0_2
LBB0_3:
bl _UnlockDnsCache
ldr x0, [x21]
bl _ReleaseList
str xzr, [x21]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _DnsCache,8,3 ; @DnsCache
.subsections_via_symbols
| AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Network.c_FreeDnsCache.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function bill
LCPI0_0:
.quad 0x4020000000000000 ## double 8
LCPI0_1:
.quad 0x401b333333333333 ## double 6.7999999999999998
LCPI0_2:
.quad 0x4016000000000000 ## double 5.5
LCPI0_3:
.quad 0x4010cccccccccccd ## double 4.2000000000000002
.section __TEXT,__literal4,4byte_literals
.p2align 2
LCPI0_4:
.long 0x44480000 ## float 800
LCPI0_5:
.long 0x43480000 ## float 200
LCPI0_6:
.long 0x41900000 ## float 18
LCPI0_7:
.long 0x42c80000 ## float 100
.section __TEXT,__text,regular,pure_instructions
.globl _bill
.p2align 4, 0x90
_bill: ## @bill
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $199, %edi
jg LBB0_2
## %bb.1:
cvtsi2sd %edi, %xmm0
mulsd LCPI0_3(%rip), %xmm0
jmp LBB0_7
LBB0_2:
cmpl $399, %edi ## imm = 0x18F
ja LBB0_4
## %bb.3:
cvtsi2sd %edi, %xmm0
mulsd LCPI0_2(%rip), %xmm0
jmp LBB0_7
LBB0_4:
cvtsi2sd %edi, %xmm0
cmpl $599, %edi ## imm = 0x257
ja LBB0_6
## %bb.5:
mulsd LCPI0_1(%rip), %xmm0
jmp LBB0_7
LBB0_6:
mulsd LCPI0_0(%rip), %xmm0
LBB0_7:
cvtsd2ss %xmm0, %xmm0
ucomiss LCPI0_4(%rip), %xmm0
jbe LBB0_9
## %bb.8:
movss LCPI0_6(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm0, %xmm1
divss LCPI0_7(%rip), %xmm1
addss %xmm1, %xmm0
popq %rbp
retq
LBB0_9:
movss LCPI0_5(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm0, %xmm1
jbe LBB0_11
## %bb.10:
movaps %xmm1, %xmm0
LBB0_11:
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI1_0:
.quad 0x4020000000000000 ## double 8
LCPI1_1:
.quad 0x401b333333333333 ## double 6.7999999999999998
LCPI1_2:
.quad 0x4016000000000000 ## double 5.5
LCPI1_3:
.quad 0x4010cccccccccccd ## double 4.2000000000000002
.section __TEXT,__literal4,4byte_literals
.p2align 2
LCPI1_4:
.long 0x44480000 ## float 800
LCPI1_5:
.long 0x43480000 ## float 200
LCPI1_6:
.long 0x41900000 ## float 18
LCPI1_7:
.long 0x42c80000 ## float 100
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_str(%rip), %rdi
callq _puts
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.2(%rip), %rbx
leaq -16(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq -12(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
movl -12(%rbp), %eax
cmpl $199, %eax
jg LBB1_2
## %bb.1:
cvtsi2sd %eax, %xmm0
mulsd LCPI1_3(%rip), %xmm0
jmp LBB1_7
LBB1_2:
cmpl $399, %eax ## imm = 0x18F
ja LBB1_4
## %bb.3:
cvtsi2sd %eax, %xmm0
mulsd LCPI1_2(%rip), %xmm0
jmp LBB1_7
LBB1_4:
cvtsi2sd %eax, %xmm0
cmpl $599, %eax ## imm = 0x257
ja LBB1_6
## %bb.5:
mulsd LCPI1_1(%rip), %xmm0
jmp LBB1_7
LBB1_6:
mulsd LCPI1_0(%rip), %xmm0
LBB1_7:
cvtsd2ss %xmm0, %xmm0
movl -16(%rbp), %esi
ucomiss LCPI1_4(%rip), %xmm0
jbe LBB1_9
## %bb.8:
movss LCPI1_6(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm0, %xmm1
divss LCPI1_7(%rip), %xmm1
addss %xmm1, %xmm0
jmp LBB1_11
LBB1_9:
movss LCPI1_5(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm0, %xmm1
jbe LBB1_11
## %bb.10:
movaps %xmm1, %xmm0
LBB1_11:
cvtss2sd %xmm0, %xmm0
leaq L_.str.4(%rip), %rdi
movb $1, %al
callq _printf
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "Enter your Coustomer Id : "
L_.str.2: ## @.str.2
.asciz "%d"
L_.str.3: ## @.str.3
.asciz "How much unit of Electricity you consume this month : "
L_.str.4: ## @.str.4
.asciz " Total Electricity bill of %d is Rs. %.2f"
L_str: ## @str
.asciz "***************************Welcome Abhi's E-bill Calculator*************************"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bill ; -- Begin function bill
.p2align 2
_bill: ; @bill
.cfi_startproc
; %bb.0:
scvtf d0, w0
cmp w0, #599
fmov d1, #8.00000000
fmul d1, d0, d1
mov x8, #3689348814741910323
movk x8, #16411, lsl #48
fmov d2, x8
fmul d2, d0, d2
fcsel d1, d1, d2, hi
fmov d2, #5.50000000
fmul d2, d0, d2
cmp w0, #399
fcsel d1, d1, d2, hi
mov x8, #-3689348814741910324
movk x8, #52429
movk x8, #16400, lsl #48
fmov d2, x8
fmul d0, d0, d2
cmp w0, #199
fcsel d0, d1, d0, gt
fcvt s0, d0
mov w8, #1145569280
fmov s1, w8
fcmp s0, s1
b.le LBB0_2
; %bb.1:
fmov s1, #18.00000000
fmul s1, s0, s1
mov w8, #1120403456
fmov s2, w8
fdiv s1, s1, s2
fadd s0, s1, s0
ret
LBB0_2:
mov w8, #1128792064
fmov s1, w8
fcmp s0, s1
b.pl LBB0_4
; %bb.3:
mov w8, #1128792064
fmov s0, w8
LBB0_4:
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
sub x8, x29, #20
str x8, [sp]
Lloh4:
adrp x19, l_.str.2@PAGE
Lloh5:
add x19, x19, l_.str.2@PAGEOFF
mov x0, x19
bl _scanf
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
add x8, sp, #24
str x8, [sp]
mov x0, x19
bl _scanf
ldur w8, [x29, #-20]
ldr w9, [sp, #24]
scvtf d0, w9
cmp w9, #599
fmov d1, #8.00000000
fmul d1, d0, d1
mov x10, #3689348814741910323
movk x10, #16411, lsl #48
fmov d2, x10
fmul d2, d0, d2
fcsel d1, d1, d2, hi
fmov d2, #5.50000000
fmul d2, d0, d2
cmp w9, #399
fcsel d1, d1, d2, hi
mov x10, #-3689348814741910324
movk x10, #52429
movk x10, #16400, lsl #48
fmov d2, x10
fmul d0, d0, d2
cmp w9, #199
fcsel d0, d1, d0, gt
fcvt s0, d0
mov w9, #1145569280
fmov s1, w9
fcmp s0, s1
b.le LBB1_2
; %bb.1:
fmov s1, #18.00000000
fmul s1, s0, s1
mov w9, #1120403456
fmov s2, w9
fdiv s1, s1, s2
fadd s0, s1, s0
b LBB1_4
LBB1_2:
mov w9, #1128792064
fmov s1, w9
fcmp s0, s1
b.pl LBB1_4
; %bb.3:
mov w9, #1128792064
fmov s0, w9
LBB1_4:
fcvt d0, s0
str d0, [sp, #8]
str x8, [sp]
Lloh8:
adrp x0, l_.str.4@PAGE
Lloh9:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "Enter your Coustomer Id : "
l_.str.2: ; @.str.2
.asciz "%d"
l_.str.3: ; @.str.3
.asciz "How much unit of Electricity you consume this month : "
l_.str.4: ; @.str.4
.asciz " Total Electricity bill of %d is Rs. %.2f"
l_str: ; @str
.asciz "***************************Welcome Abhi's E-bill Calculator*************************"
.subsections_via_symbols
| the_stack_data/125024.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mk_int_int_mask
_mk_int_int_mask: ## @mk_int_int_mask
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, %eax
shrl $31, %eax
addl %edi, %eax
shrl %eax
movb $7, %cl
subb %al, %cl
movl $1, %eax
shll %cl, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _mk_int_int_mask
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mk_int_int_mask
_mk_int_int_mask: ; @mk_int_int_mask
.cfi_startproc
; %bb.0:
cmp w0, #0
cinc w8, w0, lt
mov w9, #7
sub w8, w9, w8, asr #1
mov w9, #1
lsl w0, w9, w8
ret
.cfi_endproc
; -- End function
.no_dead_strip _mk_int_int_mask
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/arch/powerpc/sysdev/extr_mpc8xx_pic.h_mk_int_int_mask.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dump_cqe
_dump_cqe: ## @dump_cqe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, -64(%rbp) ## 8-byte Spill
movl (%rsi), %edi
callq _be32_to_cpu
movl %eax, -52(%rbp) ## 4-byte Spill
movl 4(%rbx), %edi
callq _be32_to_cpu
movl %eax, -48(%rbp) ## 4-byte Spill
movl 8(%rbx), %edi
callq _be32_to_cpu
movl %eax, -44(%rbp) ## 4-byte Spill
movl 12(%rbx), %edi
callq _be32_to_cpu
movl %eax, %r15d
movl 16(%rbx), %edi
callq _be32_to_cpu
movl %eax, %r14d
movl 20(%rbx), %edi
callq _be32_to_cpu
movl %eax, %r12d
movl 24(%rbx), %edi
callq _be32_to_cpu
movl %eax, %r13d
movl 28(%rbx), %edi
callq _be32_to_cpu
## kill: def $eax killed $eax def $rax
leaq L_.str(%rip), %rsi
movq -64(%rbp), %rdi ## 8-byte Reload
movl -52(%rbp), %edx ## 4-byte Reload
movl -48(%rbp), %ecx ## 4-byte Reload
movl -44(%rbp), %r8d ## 4-byte Reload
movl %r15d, %r9d
pushq %rax
pushq %r13
pushq %r12
pushq %r14
callq _mthca_dbg
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "CQE contents %08x %08x %08x %08x %08x %08x %08x %08x\n"
.no_dead_strip _dump_cqe
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dump_cqe
_dump_cqe: ; @dump_cqe
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x1
mov x20, x0
ldr w0, [x1]
bl _be32_to_cpu
mov x21, x0
ldr w0, [x19, #4]
bl _be32_to_cpu
mov x22, x0
ldr w0, [x19, #8]
bl _be32_to_cpu
mov x23, x0
ldr w0, [x19, #12]
bl _be32_to_cpu
mov x24, x0
ldr w0, [x19, #16]
bl _be32_to_cpu
mov x25, x0
ldr w0, [x19, #20]
bl _be32_to_cpu
mov x26, x0
ldr w0, [x19, #24]
bl _be32_to_cpu
mov x27, x0
ldr w0, [x19, #28]
bl _be32_to_cpu
stp w27, w0, [sp]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
mov x2, x21
mov x3, x22
mov x4, x23
mov x5, x24
mov x6, x25
mov x7, x26
bl _mthca_dbg
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "CQE contents %08x %08x %08x %08x %08x %08x %08x %08x\n"
.no_dead_strip _dump_cqe
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/infiniband/hw/mthca/extr_mthca_cq.c_dump_cqe.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function snd_atiixp_remove
_snd_atiixp_remove: ## @snd_atiixp_remove
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _pci_get_drvdata
movl %eax, %edi
popq %rbp
jmp _snd_card_free ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _snd_atiixp_remove
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function snd_atiixp_remove
_snd_atiixp_remove: ; @snd_atiixp_remove
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _pci_get_drvdata
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _snd_card_free
.cfi_endproc
; -- End function
.no_dead_strip _snd_atiixp_remove
.subsections_via_symbols
| AnghaBench/linux/sound/pci/extr_atiixp.c_snd_atiixp_remove.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nvdimm_spa_mmap_single
_nvdimm_spa_mmap_single: ## @nvdimm_spa_mmap_single
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq (%rdi), %rbx
movq 8(%rbx), %rdi
testq %rdi, %rdi
je LBB0_5
## %bb.1:
testq %rdx, %rdx
js LBB0_6
## %bb.2:
movq %rcx, %r14
movq (%rsi), %rax
movq (%rbx), %rcx
cmpq %rcx, %rax
jge LBB0_6
## %bb.3:
addq %rdx, %rax
cmpq %rcx, %rax
jg LBB0_6
## %bb.4:
callq _vm_object_reference
movq 8(%rbx), %rax
movq %rax, (%r14)
xorl %eax, %eax
jmp LBB0_8
LBB0_5:
movq _ENXIO@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_6:
movq _EINVAL@GOTPCREL(%rip), %rax
LBB0_7:
movl (%rax), %eax
LBB0_8:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENXIO,4,2 ## @ENXIO
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _nvdimm_spa_mmap_single
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nvdimm_spa_mmap_single
_nvdimm_spa_mmap_single: ; @nvdimm_spa_mmap_single
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldr x20, [x0]
ldr x0, [x20, #8]
cbz x0, LBB0_4
; %bb.1:
tbnz x2, #63, LBB0_5
; %bb.2:
ldr x8, [x1]
ldr x9, [x20]
add x10, x8, x2
cmp x8, x9
ccmp x10, x9, #0, lt
b.gt LBB0_5
; %bb.3:
mov x19, x3
bl _vm_object_reference
mov w0, #0
ldr x8, [x20, #8]
str x8, [x19]
b LBB0_7
LBB0_4:
Lloh0:
adrp x8, _ENXIO@GOTPAGE
Lloh1:
ldr x8, [x8, _ENXIO@GOTPAGEOFF]
b LBB0_6
LBB0_5:
Lloh2:
adrp x8, _EINVAL@GOTPAGE
Lloh3:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_6:
ldr w0, [x8]
LBB0_7:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _ENXIO,4,2 ; @ENXIO
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _nvdimm_spa_mmap_single
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/nvdimm/extr_nvdimm_spa.c_nvdimm_spa_mmap_single.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function buffer_is_zero
_buffer_is_zero: ## @buffer_is_zero
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
cmpb $0, (%rdi)
je LBB0_1
## %bb.2:
popq %rbp
retq
LBB0_1:
movq %rsi, %rdx
leaq 1(%rdi), %rsi
decq %rdx
callq _memcmp
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _buffer_is_zero
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function buffer_is_zero
_buffer_is_zero: ; @buffer_is_zero
.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
ldrb w8, [x0]
cbz w8, LBB0_2
; %bb.1:
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_2:
add x8, x0, #1
sub x2, x1, #1
mov x1, x8
bl _memcmp
cmp w0, #0
cset w0, eq
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _buffer_is_zero
.subsections_via_symbols
| AnghaBench/freebsd/contrib/ofed/libibverbs/extr_cmd.c_buffer_is_zero.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function test_pack_IBindHostVtbl
_test_pack_IBindHostVtbl: ## @test_pack_IBindHostVtbl
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _test_pack_IBindHostVtbl
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function test_pack_IBindHostVtbl
_test_pack_IBindHostVtbl: ; @test_pack_IBindHostVtbl
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip _test_pack_IBindHostVtbl
.subsections_via_symbols
| AnghaBench/reactos/modules/rostests/winetests/urlmon/extr_generated.c_test_pack_IBindHostVtbl.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str(%rip), %rdi
xorl %ebx, %ebx
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -64(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movq -64(%rbp), %rsi
testq %rsi, %rsi
je LBB0_7
## %bb.1:
xorl %r15d, %r15d
movabsq $7378697629483820647, %r14 ## imm = 0x6666666666666667
xorl %r13d, %r13d
movq %rsi, -48(%rbp) ## 8-byte Spill
movq %rsi, %rbx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rax
imulq %r14
movq %rdx, %r12
movq %rdx, %rax
shrq $63, %rax
sarq $2, %r12
addq %rax, %r12
leaq (%r12,%r12), %rax
leaq (%rax,%rax,4), %rax
movq %rbx, %rcx
subq %rax, %rcx
xorps %xmm0, %xmm0
cvtsi2sd %rcx, %xmm0
movsd %xmm0, -56(%rbp) ## 8-byte Spill
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movl %r15d, %edi
callq _ldexp
xorps %xmm1, %xmm1
cvtsi2sd %r13d, %xmm1
mulsd -56(%rbp), %xmm0 ## 8-byte Folded Reload
addsd %xmm1, %xmm0
cvttsd2si %xmm0, %r13d
incl %r15d
addq $9, %rbx
cmpq $19, %rbx
movq %r12, %rbx
jae LBB0_2
## %bb.3:
xorl %ebx, %ebx
testl %r13d, %r13d
je LBB0_4
## %bb.5:
movl $1, %eax
movq -48(%rbp), %rsi ## 8-byte Reload
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
leal 7(%r13), %ecx
testl %r13d, %r13d
movl %r13d, %edx
cmovsl %ecx, %edx
movl %edx, %edi
andl $-8, %edi
subl %edi, %r13d
imull %eax, %r13d
addl %r13d, %ebx
sarl $3, %edx
addl %eax, %eax
leal (%rax,%rax,4), %eax
movl %edx, %r13d
cmpl $14, %ecx
ja LBB0_6
jmp LBB0_7
LBB0_4:
movq -48(%rbp), %rsi ## 8-byte Reload
LBB0_7:
leaq L_.str.2(%rip), %rdi
movl %ebx, %edx
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function convert
LCPI1_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _convert
.p2align 4, 0x90
_convert: ## @convert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
testq %rdi, %rdi
je LBB1_1
## %bb.6:
movq %rdi, %r12
xorl %r14d, %r14d
movabsq $7378697629483820647, %r13 ## imm = 0x6666666666666667
xorl %ebx, %ebx
.p2align 4, 0x90
LBB1_7: ## =>This Inner Loop Header: Depth=1
movq %r12, %rax
imulq %r13
movq %rdx, %r15
movq %rdx, %rax
shrq $63, %rax
sarq $2, %r15
addq %rax, %r15
leaq (%r15,%r15), %rax
leaq (%rax,%rax,4), %rax
movq %r12, %rcx
subq %rax, %rcx
xorps %xmm0, %xmm0
cvtsi2sd %rcx, %xmm0
movsd %xmm0, -48(%rbp) ## 8-byte Spill
movsd LCPI1_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movl %r14d, %edi
callq _ldexp
xorps %xmm1, %xmm1
cvtsi2sd %ebx, %xmm1
mulsd -48(%rbp), %xmm0 ## 8-byte Folded Reload
addsd %xmm1, %xmm0
cvttsd2si %xmm0, %ebx
incl %r14d
addq $9, %r12
cmpq $19, %r12
movq %r15, %r12
jae LBB1_7
## %bb.2:
xorl %eax, %eax
testl %ebx, %ebx
je LBB1_5
## %bb.3:
movl $1, %ecx
.p2align 4, 0x90
LBB1_4: ## =>This Inner Loop Header: Depth=1
leal 7(%rbx), %edx
testl %ebx, %ebx
movl %ebx, %esi
cmovsl %edx, %esi
movl %esi, %edi
andl $-8, %edi
subl %edi, %ebx
imull %ecx, %ebx
addl %ebx, %eax
sarl $3, %esi
addl %ecx, %ecx
leal (%rcx,%rcx,4), %ecx
movl %esi, %ebx
cmpl $14, %edx
ja LBB1_4
jmp LBB1_5
LBB1_1:
xorl %eax, %eax
LBB1_5:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter a binary number: "
L_.str.1: ## @.str.1
.asciz "%lld"
L_.str.2: ## @.str.2
.asciz "%lld in binary = %d in octal"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp d9, d8, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset b8, -88
.cfi_offset b9, -96
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
add x8, sp, #24
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr x20, [sp, #24]
cbz x20, LBB0_6
; %bb.1:
mov w19, #0
mov w21, #0
mov x22, #7378697629483820646
movk x22, #26215
mov w23, #10
mov x24, x20
LBB0_2: ; =>This Inner Loop Header: Depth=1
smulh x8, x24, x22
asr x9, x8, #2
add x25, x9, x8, lsr #63
msub x8, x25, x23, x24
scvtf d8, x8
fmov d0, #1.00000000
mov x0, x19
bl _ldexp
scvtf d1, w21
fmadd d0, d8, d0, d1
fcvtzs w21, d0
add w19, w19, #1
add x8, x24, #9
mov x24, x25
cmp x8, #19
b.hs LBB0_2
; %bb.3:
mov w8, #0
cbz w21, LBB0_7
; %bb.4:
mov w9, #1
LBB0_5: ; =>This Inner Loop Header: Depth=1
add w10, w21, #7
cmp w21, #0
csel w11, w10, w21, lt
and w12, w11, #0xfffffff8
sub w12, w21, w12
asr w21, w11, #3
madd w8, w12, w9, w8
add w9, w9, w9, lsl #2
lsl w9, w9, #1
cmp w10, #14
b.hi LBB0_5
b LBB0_7
LBB0_6:
mov w8, #0
LBB0_7:
stp x20, x8, [sp]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp d9, d8, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.globl _convert ; -- Begin function convert
.p2align 2
_convert: ; @convert
.cfi_startproc
; %bb.0:
stp d9, d8, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset b8, -72
.cfi_offset b9, -80
cbz x0, LBB1_6
; %bb.1:
mov x20, x0
mov w19, #0
mov w21, #0
mov x22, #7378697629483820646
movk x22, #26215
mov w23, #10
LBB1_2: ; =>This Inner Loop Header: Depth=1
smulh x8, x20, x22
asr x9, x8, #2
add x24, x9, x8, lsr #63
msub x8, x24, x23, x20
scvtf d8, x8
fmov d0, #1.00000000
mov x0, x19
bl _ldexp
scvtf d1, w21
fmadd d0, d8, d0, d1
fcvtzs w21, d0
add w19, w19, #1
add x8, x20, #9
mov x20, x24
cmp x8, #19
b.hs LBB1_2
; %bb.3:
mov w0, #0
cbz w21, LBB1_6
; %bb.4:
mov w8, #1
LBB1_5: ; =>This Inner Loop Header: Depth=1
add w9, w21, #7
cmp w21, #0
csel w10, w9, w21, lt
and w11, w10, #0xfffffff8
sub w11, w21, w11
asr w21, w10, #3
madd w0, w11, w8, w0
add w8, w8, w8, lsl #2
lsl w8, w8, #1
cmp w9, #14
b.hi LBB1_5
LBB1_6:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp d9, d8, [sp], #80 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter a binary number: "
l_.str.1: ; @.str.1
.asciz "%lld"
l_.str.2: ; @.str.2
.asciz "%lld in binary = %d in octal"
.subsections_via_symbols
| the_stack_data/15762366.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function dump_fontinfo
LCPI0_0:
.quad 0x3ef0000000000000 ## double 1.52587890625E-5
.section __TEXT,__text,regular,pure_instructions
.globl _dump_fontinfo
.p2align 4, 0x90
_dump_fontinfo: ## @dump_fontinfo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
cmpq $0, 56(%rdi)
leaq L_.str.2(%rip), %rax
leaq L_.str.1(%rip), %rsi
cmoveq %rax, %rsi
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
cvtsi2sdl 40(%r15), %xmm0
movsd LCPI0_0(%rip), %xmm4 ## xmm4 = mem[0],zero
cvtsi2sdl 44(%r15), %xmm1
mulsd %xmm4, %xmm0
mulsd %xmm4, %xmm1
cvtsi2sdl 48(%r15), %xmm2
mulsd %xmm4, %xmm2
cvtsi2sdl 52(%r15), %xmm3
mulsd %xmm4, %xmm3
leaq L_.str.3(%rip), %rdi
movb $4, %al
callq _printf
xorps %xmm0, %xmm0
cvtsi2sdl (%r15), %xmm0
mulsd LCPI0_0(%rip), %xmm0
leaq L_.str.4(%rip), %rdi
movb $1, %al
callq _printf
xorps %xmm0, %xmm0
cvtsi2sdl 4(%r15), %xmm0
mulsd LCPI0_0(%rip), %xmm0
leaq L_.str.5(%rip), %rdi
movb $1, %al
callq _printf
movl 8(%r15), %esi
testl %esi, %esi
je LBB0_2
## %bb.1:
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _printf
jmp LBB0_3
LBB0_2:
leaq L_str(%rip), %rdi
callq _puts
LBB0_3:
cmpl $0, 8(%r15)
movsd LCPI0_0(%rip), %xmm4 ## xmm4 = mem[0],zero
jle LBB0_6
## %bb.4:
xorl %ebx, %ebx
leaq L_.str.8(%rip), %r14
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq 16(%r15), %rax
movl (%rbx,%rax), %esi
xorps %xmm0, %xmm0
cvtsi2sdl 4(%rbx,%rax), %xmm0
xorps %xmm1, %xmm1
cvtsi2sdl 8(%rbx,%rax), %xmm1
mulsd %xmm4, %xmm0
mulsd %xmm4, %xmm1
xorps %xmm2, %xmm2
cvtsi2sdl 12(%rbx,%rax), %xmm2
mulsd %xmm4, %xmm2
xorps %xmm3, %xmm3
cvtsi2sdl 16(%rbx,%rax), %xmm3
mulsd %xmm4, %xmm3
movq %r14, %rdi
movb $4, %al
callq _printf
movsd LCPI0_0(%rip), %xmm4 ## xmm4 = mem[0],zero
incq %rbx
movslq 8(%r15), %rax
cmpq %rax, %rbx
jl LBB0_5
LBB0_6:
movl $10, %edi
callq _putchar
movl 24(%r15), %esi
testl %esi, %esi
je LBB0_8
## %bb.7:
leaq L_.str.10(%rip), %rdi
xorl %eax, %eax
callq _printf
cmpl $0, 24(%r15)
jg LBB0_10
jmp LBB0_12
LBB0_8:
leaq L_str.13(%rip), %rdi
callq _puts
cmpl $0, 24(%r15)
jle LBB0_12
LBB0_10:
leaq L_.str.12(%rip), %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_11: ## =>This Inner Loop Header: Depth=1
movq 32(%r15), %rax
movl (%rbx,%rax), %esi
movl 4(%rbx,%rax), %edx
movl 8(%rbx,%rax), %ecx
movl 12(%rbx,%rax), %r8d
movq %r14, %rdi
xorl %eax, %eax
callq _printf
incq %rbx
movslq 24(%r15), %rax
cmpq %rax, %rbx
jl LBB0_11
LBB0_12:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "This AFM is for %sCID font.\n\n"
L_.str.1: ## @.str.1
.space 1
L_.str.2: ## @.str.2
.asciz "non-"
L_.str.3: ## @.str.3
.asciz "FontBBox: %.2f %.2f %.2f %.2f\n"
L_.str.4: ## @.str.4
.asciz "Ascender: %.2f\n"
L_.str.5: ## @.str.5
.asciz "Descender: %.2f\n\n"
L_.str.6: ## @.str.6
.asciz "There are %d sets of track kernings:\n"
L_.str.8: ## @.str.8
.asciz "\t%2d: %5.2f %5.2f %5.2f %5.2f\n"
L_.str.10: ## @.str.10
.asciz "There are %d kerning pairs:\n"
L_.str.12: ## @.str.12
.asciz "\t%3d + %3d => (%4d, %4d)\n"
L_str: ## @str
.asciz "There is no track kerning."
L_str.13: ## @str.13
.asciz "There is no kerning pair."
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dump_fontinfo ; -- Begin function dump_fontinfo
.p2align 2
_dump_fontinfo: ; @dump_fontinfo
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp d9, d8, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset b8, -56
.cfi_offset b9, -64
mov x19, x0
ldr x8, [x0, #56]
Lloh0:
adrp x9, l_.str.1@PAGE
Lloh1:
add x9, x9, l_.str.1@PAGEOFF
Lloh2:
adrp x10, l_.str.2@PAGE
Lloh3:
add x10, x10, l_.str.2@PAGEOFF
cmp x8, #0
csel x8, x10, x9, eq
str x8, [sp]
Lloh4:
adrp x0, l_.str@PAGE
Lloh5:
add x0, x0, l_.str@PAGEOFF
bl _printf
ldp s0, s1, [x19, #40]
sshll.2d v0, v0, #0
scvtf d0, d0
mov x8, #4535124824762089472
fmov d8, x8
fmul d0, d0, d8
sshll.2d v1, v1, #0
scvtf d1, d1
fmul d1, d1, d8
ldp s2, s3, [x19, #48]
sshll.2d v2, v2, #0
scvtf d2, d2
fmul d2, d2, d8
sshll.2d v3, v3, #0
scvtf d3, d3
fmul d3, d3, d8
stp d2, d3, [sp, #16]
stp d0, d1, [sp]
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr s0, [x19]
sshll.2d v0, v0, #0
scvtf d0, d0
fmul d0, d0, d8
str d0, [sp]
Lloh8:
adrp x0, l_.str.4@PAGE
Lloh9:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr s0, [x19, #4]
sshll.2d v0, v0, #0
scvtf d0, d0
fmul d0, d0, d8
str d0, [sp]
Lloh10:
adrp x0, l_.str.5@PAGE
Lloh11:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldr w8, [x19, #8]
cbz w8, LBB0_2
; %bb.1:
str x8, [sp]
Lloh12:
adrp x0, l_.str.6@PAGE
Lloh13:
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB0_3
LBB0_2:
Lloh14:
adrp x0, l_str@PAGE
Lloh15:
add x0, x0, l_str@PAGEOFF
bl _puts
LBB0_3:
ldr w8, [x19, #8]
cmp w8, #1
b.lt LBB0_6
; %bb.4:
mov x21, #0
mov x22, #4535124824762089472
Lloh16:
adrp x20, l_.str.8@PAGE
Lloh17:
add x20, x20, l_.str.8@PAGEOFF
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #16]
add x8, x21, x8
ldp s0, s1, [x8, #4]
sshll.2d v0, v0, #0
scvtf d0, d0
fmov d2, x22
fmul d0, d0, d2
sshll.2d v1, v1, #0
scvtf d1, d1
fmul d1, d1, d2
ldp s3, s4, [x8, #12]
sshll.2d v3, v3, #0
scvtf d3, d3
fmul d3, d3, d2
sshll.2d v4, v4, #0
scvtf d4, d4
fmul d2, d4, d2
ldr w8, [x8]
str x8, [sp]
stp d3, d2, [sp, #24]
stp d0, d1, [sp, #8]
mov x0, x20
bl _printf
add x21, x21, #1
ldrsw x8, [x19, #8]
cmp x21, x8
b.lt LBB0_5
LBB0_6:
mov w0, #10
bl _putchar
ldr w8, [x19, #24]
cbz w8, LBB0_8
; %bb.7:
str x8, [sp]
Lloh18:
adrp x0, l_.str.10@PAGE
Lloh19:
add x0, x0, l_.str.10@PAGEOFF
bl _printf
b LBB0_9
LBB0_8:
Lloh20:
adrp x0, l_str.13@PAGE
Lloh21:
add x0, x0, l_str.13@PAGEOFF
bl _puts
LBB0_9:
ldr w8, [x19, #24]
cmp w8, #1
b.lt LBB0_12
; %bb.10:
mov x21, #0
Lloh22:
adrp x20, l_.str.12@PAGE
Lloh23:
add x20, x20, l_.str.12@PAGEOFF
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #32]
add x8, x21, x8
ldp w9, w10, [x8]
ldp w11, w8, [x8, #8]
stp x11, x8, [sp, #16]
stp x9, x10, [sp]
mov x0, x20
bl _printf
add x21, x21, #1
ldrsw x8, [x19, #24]
cmp x21, x8
b.lt LBB0_11
LBB0_12:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp d9, d8, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh22, Lloh23
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "This AFM is for %sCID font.\n\n"
l_.str.1: ; @.str.1
.space 1
l_.str.2: ; @.str.2
.asciz "non-"
l_.str.3: ; @.str.3
.asciz "FontBBox: %.2f %.2f %.2f %.2f\n"
l_.str.4: ; @.str.4
.asciz "Ascender: %.2f\n"
l_.str.5: ; @.str.5
.asciz "Descender: %.2f\n\n"
l_.str.6: ; @.str.6
.asciz "There are %d sets of track kernings:\n"
l_.str.8: ; @.str.8
.asciz "\t%2d: %5.2f %5.2f %5.2f %5.2f\n"
l_.str.10: ; @.str.10
.asciz "There are %d kerning pairs:\n"
l_.str.12: ; @.str.12
.asciz "\t%3d + %3d => (%4d, %4d)\n"
l_str: ; @str
.asciz "There is no track kerning."
l_str.13: ; @str.13
.asciz "There is no kerning pair."
.subsections_via_symbols
| AnghaBench/reactos/sdk/lib/3rdparty/freetype/src/tools/extr_test_afm.c_dump_fontinfo.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _swap_bits ## -- Begin function swap_bits
.p2align 4, 0x90
_swap_bits: ## @swap_bits
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
rolb $4, %dil
movzbl %dil, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _swap_bits ; -- Begin function swap_bits
.p2align 2
_swap_bits: ; @swap_bits
.cfi_startproc
; %bb.0:
lsr w8, w0, #4
bfi w8, w0, #4, #8
and w0, w8, #0xff
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/212642361.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_str(%rip), %rdi
callq _puts
leaq L_.str.1(%rip), %rbx
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $1, %esi
movl $1, %edx
movl $1, %ecx
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $2, %esi
movl $4, %edx
movl $8, %ecx
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $3, %esi
movl $9, %edx
movl $27, %ecx
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $4, %esi
movl $16, %edx
movl $64, %ecx
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $5, %esi
movl $25, %edx
movl $125, %ecx
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $6, %esi
movl $36, %edx
movl $216, %ecx
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $7, %esi
movl $49, %edx
movl $343, %ecx ## imm = 0x157
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $8, %esi
movl $64, %edx
movl $512, %ecx ## imm = 0x200
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $9, %esi
movl $81, %edx
movl $729, %ecx ## imm = 0x2D9
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $10, %esi
movl $100, %edx
movl $1000, %ecx ## imm = 0x3E8
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%d\t%d\t%d\n"
L_str: ## @str
.asciz "number\tsquare\tcube"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
stp xzr, xzr, [sp]
str xzr, [sp, #16]
Lloh2:
adrp x19, l_.str.1@PAGE
Lloh3:
add x19, x19, l_.str.1@PAGEOFF
mov x0, x19
bl _printf
mov w8, #1
stp x8, x8, [sp, #8]
str x8, [sp]
mov x0, x19
bl _printf
mov w20, #8
mov w22, #4
mov w8, #2
stp x22, x20, [sp, #8]
str x8, [sp]
mov x0, x19
bl _printf
mov w9, #27
mov w21, #9
mov w8, #3
stp x21, x9, [sp, #8]
str x8, [sp]
mov x0, x19
bl _printf
mov w23, #64
mov w8, #16
stp x8, x23, [sp, #8]
str x22, [sp]
mov x0, x19
bl _printf
mov w10, #125
mov w8, #25
mov w9, #5
stp x8, x10, [sp, #8]
str x9, [sp]
mov x0, x19
bl _printf
mov w10, #216
mov w8, #36
mov w9, #6
stp x8, x10, [sp, #8]
str x9, [sp]
mov x0, x19
bl _printf
mov w10, #343
mov w8, #49
mov w9, #7
stp x8, x10, [sp, #8]
str x9, [sp]
mov x0, x19
bl _printf
mov w8, #512
stp x23, x8, [sp, #8]
str x20, [sp]
mov x0, x19
bl _printf
mov w9, #729
mov w8, #81
stp x8, x9, [sp, #8]
str x21, [sp]
mov x0, x19
bl _printf
mov w10, #1000
mov w8, #100
mov w9, #10
stp x8, x10, [sp, #8]
str x9, [sp]
mov x0, x19
bl _printf
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%d\t%d\t%d\n"
l_str: ; @str
.asciz "number\tsquare\tcube"
.subsections_via_symbols
| the_stack_data/195210.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _of_find_i2c_device_by_node ## -- Begin function of_find_i2c_device_by_node
.p2align 4, 0x90
_of_find_i2c_device_by_node: ## @of_find_i2c_device_by_node
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rsi
movq _i2c_bus_type@GOTPCREL(%rip), %rdi
callq _bus_find_device_by_of_node
testq %rax, %rax
je LBB0_3
## %bb.1:
movq %rax, %rbx
movq %rax, %rdi
callq _i2c_verify_client
testq %rax, %rax
jne LBB0_4
## %bb.2:
movq %rbx, %rdi
callq _put_device
LBB0_3:
xorl %eax, %eax
LBB0_4:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _i2c_bus_type,4,2 ## @i2c_bus_type
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _of_find_i2c_device_by_node ; -- Begin function of_find_i2c_device_by_node
.p2align 2
_of_find_i2c_device_by_node: ; @of_find_i2c_device_by_node
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x1, x0
Lloh0:
adrp x0, _i2c_bus_type@GOTPAGE
Lloh1:
ldr x0, [x0, _i2c_bus_type@GOTPAGEOFF]
bl _bus_find_device_by_of_node
cbz x0, LBB0_3
; %bb.1:
mov x19, x0
bl _i2c_verify_client
cbnz x0, LBB0_3
; %bb.2:
mov x0, x19
bl _put_device
mov x0, #0
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _i2c_bus_type,4,2 ; @i2c_bus_type
.subsections_via_symbols
| AnghaBench/linux/drivers/i2c/extr_i2c-core-of.c_of_find_i2c_device_by_node.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _build_exploite_code ## -- Begin function build_exploite_code
.p2align 4, 0x90
_build_exploite_code: ## @build_exploite_code
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r13
movq %rsi, %r15
movq %rdi, %r12
callq _strlen
movl %eax, %r14d
movq %r15, %rdi
callq _strlen
## kill: def $eax killed $eax def $rax
addl %eax, %r14d
addl $51, %r14d
movl %r14d, %edi
callq _malloc
movq %rax, (%r13)
movabsq $6876549539720162402, %rcx ## imm = 0x5F6E695F73656C62
movq %rcx, 13(%rax)
movaps l___const.build_exploite_code.my1(%rip), %xmm0
movups %xmm0, (%rax)
movq (%r13), %rbx
addq $21, %rbx
movq %r12, %rdi
callq _strlen
## kill: def $eax killed $eax def $rax
movq %rbx, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq _memmove
movq %r12, %rdi
callq _strlen
movq (%r13), %rcx
movslq %eax, %rbx
movabsq $73181299216498691, %rax ## imm = 0x103FE0100004003
movq %rax, 21(%rbx,%rcx)
movabsq $-143270763126915071, %rax ## imm = 0xFE030000011F0001
movq %rax, 28(%rbx,%rcx)
movq %r15, %rdi
callq _strlen
addb $6, %al
movq (%r13), %rcx
movb %al, 36(%rbx,%rcx)
movq (%r13), %rax
movw $0, 37(%rbx,%rax)
movb $4, 39(%rbx,%rax)
movq %r15, %rdi
callq _strlen
addb $5, %al
movq (%r13), %rcx
movb %al, 40(%rbx,%rcx)
movq (%r13), %rax
movb $92, 41(%rbx,%rax)
movq (%r13), %rax
movb $39, 42(%rbx,%rax)
movq (%r13), %rax
movb $59, 43(%rbx,%rax)
movq (%r13), %rax
leaq (%rbx,%rax), %r12
addq $44, %r12
movq %r15, %rdi
callq _strlen
## kill: def $eax killed $eax def $rax
movq %r12, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq _memmove
movq %r15, %rdi
callq _strlen
## kill: def $eax killed $eax def $rax
addl %ebx, %eax
addl $44, %eax
movq (%r13), %rcx
cltq
movb $47, (%rcx,%rax)
movq (%r13), %rcx
movb $42, 1(%rax,%rcx)
movq (%r13), %rcx
movl $83886081, 2(%rax,%rcx) ## imm = 0x5000001
movb $-2, 6(%rax,%rcx)
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.build_exploite_code.my1
l___const.build_exploite_code.my1:
.ascii "\001\000\000\001\001\033\000\000\002\000\017Tables_in_"
l___const.build_exploite_code.my2: ## @__const.build_exploite_code.my2
.ascii "\003@\000\000\001\376\003\001\000\037\001\000\000\003\376"
l___const.build_exploite_code.my3: ## @__const.build_exploite_code.my3
.ascii "\000\000\004"
l___const.build_exploite_code.my4: ## @__const.build_exploite_code.my4
.ascii "\001\000\000\005\376"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _build_exploite_code ; -- Begin function build_exploite_code
.p2align 2
_build_exploite_code: ; @build_exploite_code
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x2
mov x21, x1
mov x22, x0
bl _strlen
mov x20, x0
mov x0, x21
bl _strlen
add w8, w20, w0
add w20, w8, #51
mov x0, x20
bl _malloc
str x0, [x19]
Lloh0:
adrp x8, l___const.build_exploite_code.my1@PAGE
Lloh1:
add x8, x8, l___const.build_exploite_code.my1@PAGEOFF
ldur x9, [x8, #13]
ldr q0, [x8]
str q0, [x0]
stur x9, [x0, #13]
ldr x8, [x19]
add x23, x8, #21
mov x0, x22
bl _strlen
mov x2, x0
mov x0, x23
mov x1, x22
bl _memmove
mov x0, x22
bl _strlen
; kill: def $w0 killed $w0 def $x0
sxtw x22, w0
ldr x8, [x19]
add x8, x22, x8
Lloh2:
adrp x9, l___const.build_exploite_code.my2@PAGE
Lloh3:
add x9, x9, l___const.build_exploite_code.my2@PAGEOFF
ldur x10, [x9, #7]
ldr x9, [x9]
stur x9, [x8, #21]
stur x10, [x8, #28]
mov x0, x21
bl _strlen
ldr x8, [x19]
add x8, x22, x8
add w9, w0, #6
strb w9, [x8, #36]
ldr x8, [x19]
add x8, x22, x8
sturh wzr, [x8, #37]
mov w9, #4
strb w9, [x8, #39]
mov x0, x21
bl _strlen
ldr x8, [x19]
add x8, x22, x8
add w9, w0, #5
strb w9, [x8, #40]
ldr x8, [x19]
add x8, x22, x8
mov w9, #92
strb w9, [x8, #41]
ldr x8, [x19]
add x8, x22, x8
mov w9, #39
strb w9, [x8, #42]
ldr x8, [x19]
add x8, x22, x8
add x23, x22, #44
mov w9, #59
strb w9, [x8, #43]
ldr x8, [x19]
add x22, x8, x23
mov x0, x21
bl _strlen
mov x2, x0
mov x0, x22
mov x1, x21
bl _memmove
mov x0, x21
bl _strlen
; kill: def $w0 killed $w0 def $x0
sxtw x8, w0
add x8, x8, w23, sxtw
ldr x9, [x19]
mov w10, #47
strb w10, [x9, x8]
ldr x9, [x19]
add x9, x8, x9
mov w10, #42
strb w10, [x9, #1]
ldr x9, [x19]
add x8, x8, x9
mov w9, #1
movk w9, #1280, lsl #16
stur w9, [x8, #2]
mov w9, #254
strb w9, [x8, #6]
mov x0, x20
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__const
l___const.build_exploite_code.my1: ; @__const.build_exploite_code.my1
.ascii "\001\000\000\001\001\033\000\000\002\000\017Tables_in_"
l___const.build_exploite_code.my2: ; @__const.build_exploite_code.my2
.ascii "\003@\000\000\001\376\003\001\000\037\001\000\000\003\376"
l___const.build_exploite_code.my3: ; @__const.build_exploite_code.my3
.ascii "\000\000\004"
l___const.build_exploite_code.my4: ; @__const.build_exploite_code.my4
.ascii "\001\000\000\005\376"
.subsections_via_symbols
| AnghaBench/exploitdb/exploits/php/webapps/extr_309.c_build_exploite_code.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _zfStaTimer100ms ## -- Begin function zfStaTimer100ms
.p2align 4, 0x90
_zfStaTimer100ms: ## @zfStaTimer100ms
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
callq _zmw_get_wlan_dev
movq _wd@GOTPCREL(%rip), %rax
movq (%rax), %rax
imull $-858993459, (%rax), %eax ## imm = 0xCCCCCCCD
addl $429496728, %eax ## imm = 0x19999998
rorl %eax
cmpl $429496728, %eax ## imm = 0x19999998
jbe LBB0_2
## %bb.1:
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_2:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _zfPushVtxq ## TAILCALL
.cfi_endproc
## -- End function
.comm _wd,8,3 ## @wd
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _zfStaTimer100ms ; -- Begin function zfStaTimer100ms
.p2align 2
_zfStaTimer100ms: ; @zfStaTimer100ms
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _zmw_get_wlan_dev
Lloh0:
adrp x8, _wd@GOTPAGE
Lloh1:
ldr x8, [x8, _wd@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldr w8, [x8]
mov w9, #52429
movk w9, #52428, lsl #16
mov w10, #39320
movk w10, #6553, lsl #16
madd w8, w8, w9, w10
ror w8, w8, #1
cmp w8, w10
b.ls LBB0_2
; %bb.1:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_2:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _zfPushVtxq
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _wd,8,3 ; @wd
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/staging/otus/80211core/extr_cmmsta.c_zfStaTimer100ms.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _m68k_op_cmpi_16_d ## -- Begin function m68k_op_cmpi_16_d
.p2align 4, 0x90
_m68k_op_cmpi_16_d: ## @m68k_op_cmpi_16_d
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
xorl %eax, %eax
callq _OPER_I_16
movq %rax, %r14
movq _DY@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _MASK_OUT_ABOVE_16
movq %rax, %r15
movq %rax, %rbx
subq %r14, %rbx
movq %rbx, %rdi
callq _NFLAG_16
movq _FLAG_N@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq %rbx, %rdi
callq _MASK_OUT_ABOVE_16
movq _FLAG_Z@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq _VFLAG_SUB_16
movq _FLAG_V@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq %rbx, %rdi
callq _CFLAG_16
movq _FLAG_C@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DY,8,3 ## @DY
.comm _FLAG_N,4,2 ## @FLAG_N
.comm _FLAG_Z,8,3 ## @FLAG_Z
.comm _FLAG_V,4,2 ## @FLAG_V
.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_cmpi_16_d ; -- Begin function m68k_op_cmpi_16_d
.p2align 2
_m68k_op_cmpi_16_d: ; @m68k_op_cmpi_16_d
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
bl _OPER_I_16
mov x19, x0
Lloh0:
adrp x8, _DY@GOTPAGE
Lloh1:
ldr x8, [x8, _DY@GOTPAGEOFF]
Lloh2:
ldr x0, [x8]
bl _MASK_OUT_ABOVE_16
mov x20, x0
sub x21, x0, x19
mov x0, x21
bl _NFLAG_16
Lloh3:
adrp x8, _FLAG_N@GOTPAGE
Lloh4:
ldr x8, [x8, _FLAG_N@GOTPAGEOFF]
Lloh5:
str w0, [x8]
mov x0, x21
bl _MASK_OUT_ABOVE_16
Lloh6:
adrp x8, _FLAG_Z@GOTPAGE
Lloh7:
ldr x8, [x8, _FLAG_Z@GOTPAGEOFF]
Lloh8:
str x0, [x8]
mov x0, x19
mov x1, x20
mov x2, x21
bl _VFLAG_SUB_16
Lloh9:
adrp x8, _FLAG_V@GOTPAGE
Lloh10:
ldr x8, [x8, _FLAG_V@GOTPAGEOFF]
Lloh11:
str w0, [x8]
mov x0, x21
bl _CFLAG_16
Lloh12:
adrp x8, _FLAG_C@GOTPAGE
Lloh13:
ldr x8, [x8, _FLAG_C@GOTPAGEOFF]
Lloh14:
str w0, [x8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotStr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotStr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotStr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _DY,8,3 ; @DY
.comm _FLAG_N,4,2 ; @FLAG_N
.comm _FLAG_Z,8,3 ; @FLAG_Z
.comm _FLAG_V,4,2 ; @FLAG_V
.comm _FLAG_C,4,2 ; @FLAG_C
.subsections_via_symbols
| AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_cmpi_16_d.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___libc_current_sigrtmin ## -- Begin function __libc_current_sigrtmin
.p2align 4, 0x90
___libc_current_sigrtmin: ## @__libc_current_sigrtmin
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
jmp ___libc_current_sigrtmin_private ## TAILCALL
.cfi_endproc
## -- End function
.globl ___libc_current_sigrtmax ## -- Begin function __libc_current_sigrtmax
.p2align 4, 0x90
___libc_current_sigrtmax: ## @__libc_current_sigrtmax
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
jmp ___libc_current_sigrtmax_private ## TAILCALL
.cfi_endproc
## -- End function
.globl ___libc_allocate_rtsig ## -- Begin function __libc_allocate_rtsig
.p2align 4, 0x90
___libc_allocate_rtsig: ## @__libc_allocate_rtsig
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
jmp ___libc_allocate_rtsig_private ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___libc_current_sigrtmin ; -- Begin function __libc_current_sigrtmin
.p2align 2
___libc_current_sigrtmin: ; @__libc_current_sigrtmin
.cfi_startproc
; %bb.0:
b ___libc_current_sigrtmin_private
.cfi_endproc
; -- End function
.globl ___libc_current_sigrtmax ; -- Begin function __libc_current_sigrtmax
.p2align 2
___libc_current_sigrtmax: ; @__libc_current_sigrtmax
.cfi_startproc
; %bb.0:
b ___libc_current_sigrtmax_private
.cfi_endproc
; -- End function
.globl ___libc_allocate_rtsig ; -- Begin function __libc_allocate_rtsig
.p2align 2
___libc_allocate_rtsig: ; @__libc_allocate_rtsig
.cfi_startproc
; %bb.0:
b ___libc_allocate_rtsig_private
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/218893204.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl $0, -28(%rbp)
leaq L_.str(%rip), %rdi
xorl %ebx, %ebx
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -28(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -28(%rbp), %r8d
testl %r8d, %r8d
jle LBB0_4
## %bb.1:
xorl %ebx, %ebx
movl $3435973837, %ecx ## imm = 0xCCCCCCCD
movl %r8d, %edx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl %edx, %eax
movl %edx, %edx
imulq %rcx, %rdx
shrq $35, %rdx
leal (%rdx,%rdx), %edi
leal (%rdi,%rdi,4), %edi
movl %eax, %esi
subl %edi, %esi
movl %esi, %edi
imull %esi, %edi
imull %esi, %edi
addl %edi, %ebx
cmpl $9, %eax
ja LBB0_2
## %bb.3:
movl %edx, -28(%rbp)
LBB0_4:
cmpl %r8d, %ebx
leaq L_.str.2(%rip), %r15
leaq L_.str.3(%rip), %r14
movq %r14, %rdi
cmoveq %r15, %rdi
xorl %eax, %eax
callq _printf
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -28(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -28(%rbp), %r8d
testl %r8d, %r8d
jle LBB0_8
## %bb.5:
movl $3435973837, %ecx ## imm = 0xCCCCCCCD
movl %r8d, %edx
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movl %edx, %eax
movl %edx, %edx
imulq %rcx, %rdx
shrq $35, %rdx
leal (%rdx,%rdx), %edi
leal (%rdi,%rdi,4), %edi
movl %eax, %esi
subl %edi, %esi
movl %esi, %edi
imull %esi, %edi
imull %esi, %edi
addl %edi, %ebx
cmpl $9, %eax
ja LBB0_6
## %bb.7:
movl %edx, -28(%rbp)
LBB0_8:
cmpl %r8d, %ebx
cmoveq %r15, %r14
movq %r14, %rdi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\nEnter the number: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "The number is an armstrong number."
L_.str.3: ## @.str.3
.asciz "The number is not an armstrong number."
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
str wzr, [sp, #12]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
add x20, sp, #12
str x20, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr w8, [sp, #12]
cmp w8, #1
b.lt LBB0_4
; %bb.1:
mov w19, #0
mov w9, #52429
movk w9, #52428, lsl #16
mov w10, #10
mov x11, x8
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x12, x11
umull x11, w11, w9
lsr x11, x11, #35
msub w13, w11, w10, w12
mul w14, w13, w13
madd w19, w14, w13, w19
cmp w12, #9
b.hi LBB0_2
; %bb.3:
str w11, [sp, #12]
b LBB0_5
LBB0_4:
mov w19, #0
LBB0_5:
Lloh4:
adrp x21, l_.str.3@PAGE
Lloh5:
add x21, x21, l_.str.3@PAGEOFF
Lloh6:
adrp x22, l_.str.2@PAGE
Lloh7:
add x22, x22, l_.str.2@PAGEOFF
cmp w19, w8
csel x0, x22, x21, eq
bl _printf
Lloh8:
adrp x0, l_.str@PAGE
Lloh9:
add x0, x0, l_.str@PAGEOFF
bl _printf
str x20, [sp]
Lloh10:
adrp x0, l_.str.1@PAGE
Lloh11:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr w8, [sp, #12]
cmp w8, #1
b.lt LBB0_9
; %bb.6:
mov w9, #52429
movk w9, #52428, lsl #16
mov w10, #10
mov x11, x8
LBB0_7: ; =>This Inner Loop Header: Depth=1
mov x12, x11
umull x11, w11, w9
lsr x11, x11, #35
msub w13, w11, w10, w12
mul w14, w13, w13
madd w19, w14, w13, w19
cmp w12, #9
b.hi LBB0_7
; %bb.8:
str w11, [sp, #12]
LBB0_9:
cmp w19, w8
csel x0, x22, x21, eq
bl _printf
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\nEnter the number: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "The number is an armstrong number."
l_.str.3: ; @.str.3
.asciz "The number is not an armstrong number."
.subsections_via_symbols
| the_stack_data/118256.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function aica_rtc_gettimeofday
_aica_rtc_gettimeofday: ## @aica_rtc_gettimeofday
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq _AICA_RTC_SECS_H@GOTPCREL(%rip), %r15
movq _AICA_RTC_SECS_L@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl (%r15), %edi
callq _ctrl_inl
movl %eax, %r13d
shll $16, %r13d
movl (%r12), %edi
callq _ctrl_inl
movzwl %ax, %ebx
orl %r13d, %ebx
movl (%r15), %edi
callq _ctrl_inl
movl %eax, %r13d
shll $16, %r13d
movl (%r12), %edi
callq _ctrl_inl
movzwl %ax, %eax
orl %r13d, %eax
cmpl %eax, %ebx
jne LBB0_1
## %bb.2:
movslq %ebx, %rax
movq _TWENTY_YEARS@GOTPCREL(%rip), %rcx
subq (%rcx), %rax
movq %rax, 8(%r14)
movq $0, (%r14)
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AICA_RTC_SECS_H,4,2 ## @AICA_RTC_SECS_H
.comm _AICA_RTC_SECS_L,4,2 ## @AICA_RTC_SECS_L
.comm _TWENTY_YEARS,8,3 ## @TWENTY_YEARS
.no_dead_strip _aica_rtc_gettimeofday
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function aica_rtc_gettimeofday
_aica_rtc_gettimeofday: ; @aica_rtc_gettimeofday
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
Lloh0:
adrp x22, _AICA_RTC_SECS_H@GOTPAGE
Lloh1:
ldr x22, [x22, _AICA_RTC_SECS_H@GOTPAGEOFF]
Lloh2:
adrp x23, _AICA_RTC_SECS_L@GOTPAGE
Lloh3:
ldr x23, [x23, _AICA_RTC_SECS_L@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w0, [x22]
bl _ctrl_inl
mov x21, x0
ldr w0, [x23]
bl _ctrl_inl
mov x20, x0
bfi w20, w21, #16, #16
ldr w0, [x22]
bl _ctrl_inl
mov x21, x0
ldr w0, [x23]
bl _ctrl_inl
bfi w0, w21, #16, #16
cmp w20, w0
b.ne LBB0_1
; %bb.2:
sxtw x8, w20
Lloh4:
adrp x9, _TWENTY_YEARS@GOTPAGE
Lloh5:
ldr x9, [x9, _TWENTY_YEARS@GOTPAGEOFF]
Lloh6:
ldr x9, [x9]
sub x8, x8, x9
stp xzr, x8, [x19]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _AICA_RTC_SECS_H,4,2 ; @AICA_RTC_SECS_H
.comm _AICA_RTC_SECS_L,4,2 ; @AICA_RTC_SECS_L
.comm _TWENTY_YEARS,8,3 ; @TWENTY_YEARS
.no_dead_strip _aica_rtc_gettimeofday
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/arch/sh/boards/mach-dreamcast/extr_rtc.c_aica_rtc_gettimeofday.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function HAS_PINNED_R
_HAS_PINNED_R: ## @HAS_PINNED_R
.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), %rdi
testq %rdi, %rdi
je LBB0_1
## %bb.2:
callq _CHAIN_PINNED_R
movq %rax, %rcx
xorl %eax, %eax
testq %rcx, %rcx
setne %al
popq %rbp
retq
LBB0_1:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _HAS_PINNED_R
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function HAS_PINNED_R
_HAS_PINNED_R: ; @HAS_PINNED_R
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
ldr x0, [x0]
cbz x0, LBB0_2
; %bb.1:
bl _CHAIN_PINNED_R
cmp x0, #0
cset w0, ne
LBB0_2:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _HAS_PINNED_R
.subsections_via_symbols
| AnghaBench/freebsd/contrib/libevent/extr_buffer.c_HAS_PINNED_R.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function get_modqp_statetrans
_get_modqp_statetrans: ## @get_modqp_statetrans
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $esi killed $esi def $rsi
## kill: def $edi killed $edi def $rdi
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
addl $-129, %esi
cmpl $5, %esi
ja LBB0_19
## %bb.1:
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rsi,4), %rdx
addq %rcx, %rdx
jmpq *%rdx
LBB0_15:
cmpl $130, %edi
jne LBB0_19
## %bb.16:
movq _IB_QPST_RTS2SQD@GOTPCREL(%rip), %rax
jmp LBB0_18
LBB0_3:
cmpl $133, %edi
je LBB0_6
## %bb.4:
cmpl $132, %edi
jne LBB0_19
## %bb.5:
movq _IB_QPST_RESET2INIT@GOTPCREL(%rip), %rax
jmp LBB0_18
LBB0_9:
addl $-128, %edi
cmpl $3, %edi
ja LBB0_19
## %bb.10:
leaq LJTI0_1(%rip), %rax
movslq (%rax,%rdi,4), %rcx
addq %rax, %rcx
jmpq *%rcx
LBB0_14:
movq _IB_QPST_SQE2RTS@GOTPCREL(%rip), %rax
jmp LBB0_18
LBB0_7:
cmpl $133, %edi
jne LBB0_19
## %bb.8:
movq _IB_QPST_INIT2RTR@GOTPCREL(%rip), %rax
jmp LBB0_18
LBB0_2:
movq _IB_QPST_ANY2RESET@GOTPCREL(%rip), %rax
jmp LBB0_18
LBB0_17:
movq _IB_QPST_ANY2ERR@GOTPCREL(%rip), %rax
jmp LBB0_18
LBB0_6:
movq _IB_QPST_INIT2INIT@GOTPCREL(%rip), %rax
jmp LBB0_18
LBB0_13:
movq _IB_QPST_SQD2RTS@GOTPCREL(%rip), %rax
jmp LBB0_18
LBB0_12:
movq _IB_QPST_RTS2RTS@GOTPCREL(%rip), %rax
jmp LBB0_18
LBB0_11:
movq _IB_QPST_RTR2RTS@GOTPCREL(%rip), %rax
LBB0_18:
movl (%rax), %eax
LBB0_19:
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
.long L0_0_set_15
.long L0_0_set_9
.long L0_0_set_7
.long L0_0_set_2
.long L0_0_set_3
.long L0_0_set_17
.set L0_1_set_14, LBB0_14-LJTI0_1
.set L0_1_set_13, LBB0_13-LJTI0_1
.set L0_1_set_12, LBB0_12-LJTI0_1
.set L0_1_set_11, LBB0_11-LJTI0_1
LJTI0_1:
.long L0_1_set_14
.long L0_1_set_13
.long L0_1_set_12
.long L0_1_set_11
.end_data_region
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.comm _IB_QPST_ANY2RESET,4,2 ## @IB_QPST_ANY2RESET
.comm _IB_QPST_RESET2INIT,4,2 ## @IB_QPST_RESET2INIT
.comm _IB_QPST_INIT2INIT,4,2 ## @IB_QPST_INIT2INIT
.comm _IB_QPST_INIT2RTR,4,2 ## @IB_QPST_INIT2RTR
.comm _IB_QPST_RTR2RTS,4,2 ## @IB_QPST_RTR2RTS
.comm _IB_QPST_RTS2RTS,4,2 ## @IB_QPST_RTS2RTS
.comm _IB_QPST_SQD2RTS,4,2 ## @IB_QPST_SQD2RTS
.comm _IB_QPST_SQE2RTS,4,2 ## @IB_QPST_SQE2RTS
.comm _IB_QPST_RTS2SQD,4,2 ## @IB_QPST_RTS2SQD
.comm _IB_QPST_ANY2ERR,4,2 ## @IB_QPST_ANY2ERR
.no_dead_strip _get_modqp_statetrans
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function get_modqp_statetrans
_get_modqp_statetrans: ; @get_modqp_statetrans
.cfi_startproc
; %bb.0:
mov x8, x0
Lloh0:
adrp x9, _EINVAL@GOTPAGE
Lloh1:
ldr x9, [x9, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
neg w0, w9
sub w9, w1, #129
cmp w9, #5
b.hi LBB0_17
; %bb.1:
Lloh3:
adrp x10, lJTI0_0@PAGE
Lloh4:
add x10, x10, lJTI0_0@PAGEOFF
adr x11, LBB0_2
ldrb w12, [x10, x9]
add x11, x11, x12, lsl #2
br x11
LBB0_2:
Lloh5:
adrp x9, _IB_QPST_RTS2SQD@GOTPAGE
Lloh6:
ldr x9, [x9, _IB_QPST_RTS2SQD@GOTPAGEOFF]
Lloh7:
ldr w9, [x9]
cmp w8, #130
csel w0, w9, w0, eq
ret
LBB0_3:
cmp w8, #133
b.eq LBB0_12
; %bb.4:
cmp w8, #132
b.ne LBB0_17
; %bb.5:
Lloh8:
adrp x8, _IB_QPST_RESET2INIT@GOTPAGE
Lloh9:
ldr x8, [x8, _IB_QPST_RESET2INIT@GOTPAGEOFF]
b LBB0_16
LBB0_6:
sub w8, w8, #128
cmp w8, #3
b.hi LBB0_17
; %bb.7:
Lloh10:
adrp x9, lJTI0_1@PAGE
Lloh11:
add x9, x9, lJTI0_1@PAGEOFF
adr x10, LBB0_8
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_8:
Lloh12:
adrp x8, _IB_QPST_SQE2RTS@GOTPAGE
Lloh13:
ldr x8, [x8, _IB_QPST_SQE2RTS@GOTPAGEOFF]
b LBB0_16
LBB0_9:
Lloh14:
adrp x9, _IB_QPST_INIT2RTR@GOTPAGE
Lloh15:
ldr x9, [x9, _IB_QPST_INIT2RTR@GOTPAGEOFF]
Lloh16:
ldr w9, [x9]
cmp w8, #133
csel w0, w9, w0, eq
ret
LBB0_10:
Lloh17:
adrp x8, _IB_QPST_ANY2RESET@GOTPAGE
Lloh18:
ldr x8, [x8, _IB_QPST_ANY2RESET@GOTPAGEOFF]
b LBB0_16
LBB0_11:
Lloh19:
adrp x8, _IB_QPST_ANY2ERR@GOTPAGE
Lloh20:
ldr x8, [x8, _IB_QPST_ANY2ERR@GOTPAGEOFF]
b LBB0_16
LBB0_12:
Lloh21:
adrp x8, _IB_QPST_INIT2INIT@GOTPAGE
Lloh22:
ldr x8, [x8, _IB_QPST_INIT2INIT@GOTPAGEOFF]
b LBB0_16
LBB0_13:
Lloh23:
adrp x8, _IB_QPST_SQD2RTS@GOTPAGE
Lloh24:
ldr x8, [x8, _IB_QPST_SQD2RTS@GOTPAGEOFF]
b LBB0_16
LBB0_14:
Lloh25:
adrp x8, _IB_QPST_RTS2RTS@GOTPAGE
Lloh26:
ldr x8, [x8, _IB_QPST_RTS2RTS@GOTPAGEOFF]
b LBB0_16
LBB0_15:
Lloh27:
adrp x8, _IB_QPST_RTR2RTS@GOTPAGE
Lloh28:
ldr x8, [x8, _IB_QPST_RTR2RTS@GOTPAGEOFF]
LBB0_16:
ldr w0, [x8]
LBB0_17:
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpLdrGot Lloh25, Lloh26
.loh AdrpLdrGot Lloh27, Lloh28
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_6-LBB0_2)>>2
.byte (LBB0_9-LBB0_2)>>2
.byte (LBB0_10-LBB0_2)>>2
.byte (LBB0_3-LBB0_2)>>2
.byte (LBB0_11-LBB0_2)>>2
lJTI0_1:
.byte (LBB0_8-LBB0_8)>>2
.byte (LBB0_13-LBB0_8)>>2
.byte (LBB0_14-LBB0_8)>>2
.byte (LBB0_15-LBB0_8)>>2
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.comm _IB_QPST_ANY2RESET,4,2 ; @IB_QPST_ANY2RESET
.comm _IB_QPST_RESET2INIT,4,2 ; @IB_QPST_RESET2INIT
.comm _IB_QPST_INIT2INIT,4,2 ; @IB_QPST_INIT2INIT
.comm _IB_QPST_INIT2RTR,4,2 ; @IB_QPST_INIT2RTR
.comm _IB_QPST_RTR2RTS,4,2 ; @IB_QPST_RTR2RTS
.comm _IB_QPST_RTS2RTS,4,2 ; @IB_QPST_RTS2RTS
.comm _IB_QPST_SQD2RTS,4,2 ; @IB_QPST_SQD2RTS
.comm _IB_QPST_SQE2RTS,4,2 ; @IB_QPST_SQE2RTS
.comm _IB_QPST_RTS2SQD,4,2 ; @IB_QPST_RTS2SQD
.comm _IB_QPST_ANY2ERR,4,2 ; @IB_QPST_ANY2ERR
.no_dead_strip _get_modqp_statetrans
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ehca/extr_ehca_qp.c_get_modqp_statetrans.c | anghabench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.