x86 stringlengths 122 5.97M | arm stringlengths 122 5.84M | file stringlengths 18 195 | source stringclasses 3
values |
|---|---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _alloc ## -- Begin function alloc
.p2align 4, 0x90
_alloc: ## @alloc
.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
movslq 8(%rdi), %rdi
callq _malloc
movq %rbx, (%rax)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _Vehicle_start ## -- Begin function Vehicle_start
.p2align 4, 0x90
_Vehicle_start: ## @Vehicle_start
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _Vehicle_getColor ## -- Begin function Vehicle_getColor
.p2align 4, 0x90
_Vehicle_getColor: ## @Vehicle_getColor
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $9, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _Car_start ## -- Begin function Car_start
.p2align 4, 0x90
_Car_start: ## @Car_start
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _Car_setDoors ## -- Begin function Car_setDoors
.p2align 4, 0x90
_Car_setDoors: ## @Car_setDoors
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _Truck_start ## -- Begin function Truck_start
.p2align 4, 0x90
_Truck_start: ## @Truck_start
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _Truck_setPayload ## -- Begin function Truck_setPayload
.p2align 4, 0x90
_Truck_setPayload: ## @Truck_setPayload
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
leaq _Truck_metadata(%rip), %r14
movslq _Truck_metadata+8(%rip), %rdi
callq _malloc
movq %rax, %rbx
movq %r14, (%rax)
movq _Truck_metadata+16(%rip), %rax
movq %rbx, %rdi
callq *(%rax)
movq (%rbx), %rax
movq 16(%rax), %rax
movq %rbx, %rdi
movl $32, %esi
callq *16(%rax)
movq (%rbx), %rax
movq 16(%rax), %rax
movq %rbx, %rdi
callq *(%rax)
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _Vehicle_vtable ## @Vehicle_vtable
.p2align 4
_Vehicle_vtable:
.quad _Vehicle_start
.quad _Vehicle_getColor
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Vehicle"
.section __DATA,__data
.globl _Vehicle_metadata ## @Vehicle_metadata
.p2align 3
_Vehicle_metadata:
.quad L_.str
.long 8 ## 0x8
.space 4
.quad _Vehicle_vtable
.globl _Car_vtable ## @Car_vtable
.p2align 4
_Car_vtable:
.quad _Car_start
.quad _Vehicle_getColor
.quad _Car_setDoors
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "Car"
.section __DATA,__data
.globl _Car_metadata ## @Car_metadata
.p2align 3
_Car_metadata:
.quad L_.str.1
.long 8 ## 0x8
.space 4
.quad _Car_vtable
.globl _Truck_vtable ## @Truck_vtable
.p2align 4
_Truck_vtable:
.quad _Truck_start
.quad _Vehicle_getColor
.quad _Truck_setPayload
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "Truck"
.section __DATA,__data
.globl _Truck_metadata ## @Truck_metadata
.p2align 3
_Truck_metadata:
.quad L_.str.2
.long 8 ## 0x8
.space 4
.quad _Truck_vtable
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _alloc ; -- Begin function alloc
.p2align 2
_alloc: ; @alloc
.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
ldrsw x0, [x0, #8]
bl _malloc
str x19, [x0]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _Vehicle_start ; -- Begin function Vehicle_start
.p2align 2
_Vehicle_start: ; @Vehicle_start
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _Vehicle_getColor ; -- Begin function Vehicle_getColor
.p2align 2
_Vehicle_getColor: ; @Vehicle_getColor
.cfi_startproc
; %bb.0:
mov w0, #9
ret
.cfi_endproc
; -- End function
.globl _Car_start ; -- Begin function Car_start
.p2align 2
_Car_start: ; @Car_start
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _Car_setDoors ; -- Begin function Car_setDoors
.p2align 2
_Car_setDoors: ; @Car_setDoors
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _Truck_start ; -- Begin function Truck_start
.p2align 2
_Truck_start: ; @Truck_start
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _Truck_setPayload ; -- Begin function Truck_setPayload
.p2align 2
_Truck_setPayload: ; @Truck_setPayload
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.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 x20, _Truck_metadata@PAGE
Lloh1:
add x20, x20, _Truck_metadata@PAGEOFF
ldrsw x0, [x20, #8]
bl _malloc
mov x19, x0
str x20, [x0]
ldr x8, [x20, #16]
ldr x8, [x8]
blr x8
ldr x8, [x19]
ldr x8, [x8, #16]
ldr x8, [x8, #16]
mov x0, x19
mov w1, #32
blr x8
ldr x8, [x19]
ldr x8, [x8, #16]
ldr x8, [x8]
mov x0, x19
blr x8
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _Vehicle_vtable ; @Vehicle_vtable
.p2align 3
_Vehicle_vtable:
.quad _Vehicle_start
.quad _Vehicle_getColor
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Vehicle"
.section __DATA,__data
.globl _Vehicle_metadata ; @Vehicle_metadata
.p2align 3
_Vehicle_metadata:
.quad l_.str
.long 8 ; 0x8
.space 4
.quad _Vehicle_vtable
.globl _Car_vtable ; @Car_vtable
.p2align 3
_Car_vtable:
.quad _Car_start
.quad _Vehicle_getColor
.quad _Car_setDoors
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "Car"
.section __DATA,__data
.globl _Car_metadata ; @Car_metadata
.p2align 3
_Car_metadata:
.quad l_.str.1
.long 8 ; 0x8
.space 4
.quad _Car_vtable
.globl _Truck_vtable ; @Truck_vtable
.p2align 3
_Truck_vtable:
.quad _Truck_start
.quad _Vehicle_getColor
.quad _Truck_setPayload
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "Truck"
.section __DATA,__data
.globl _Truck_metadata ; @Truck_metadata
.p2align 3
_Truck_metadata:
.quad l_.str.2
.long 8 ; 0x8
.space 4
.quad _Truck_vtable
.subsections_via_symbols
| the_stack_data/48576263.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function xm_outhash
_xm_outhash: ## @xm_outhash
.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 %rcx, %rbx
movl %edx, %r15d
movl %esi, %r14d
movq %rdi, %r12
movl 8(%rcx), %ecx
shll $8, %ecx
orl (%rbx), %ecx
callq _xm_write16
leal 2(%r15), %edx
movl 24(%rbx), %ecx
shll $8, %ecx
orl 16(%rbx), %ecx
movq %r12, %rdi
movl %r14d, %esi
callq _xm_write16
leal 4(%r15), %edx
movl 40(%rbx), %ecx
shll $8, %ecx
orl 32(%rbx), %ecx
movq %r12, %rdi
movl %r14d, %esi
callq _xm_write16
addl $6, %r15d
movl 56(%rbx), %ecx
shll $8, %ecx
orl 48(%rbx), %ecx
movq %r12, %rdi
movl %r14d, %esi
movl %r15d, %edx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _xm_write16 ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _xm_outhash
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function xm_outhash
_xm_outhash: ; @xm_outhash
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x3
mov x20, x2
mov x21, x1
mov x22, x0
ldr w8, [x3]
ldr w9, [x3, #8]
orr w3, w8, w9, lsl #8
bl _xm_write16
add w2, w20, #2
ldr w8, [x19, #16]
ldr w9, [x19, #24]
orr w3, w8, w9, lsl #8
mov x0, x22
mov x1, x21
bl _xm_write16
add w2, w20, #4
ldr w8, [x19, #32]
ldr w9, [x19, #40]
orr w3, w8, w9, lsl #8
mov x0, x22
mov x1, x21
bl _xm_write16
add w2, w20, #6
ldr w8, [x19, #48]
ldr w9, [x19, #56]
orr w3, w8, w9, lsl #8
mov x0, x22
mov x1, x21
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _xm_write16
.cfi_endproc
; -- End function
.no_dead_strip _xm_outhash
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/marvell/extr_skge.h_xm_outhash.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f ## -- Begin function f
.p2align 4, 0x90
_f: ## @f
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
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 _f ; -- Begin function f
.p2align 2
_f: ; @f
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/89558.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function flits_to_desc
_flits_to_desc: ## @flits_to_desc
.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, %ebx
movq _flit_desc_map@GOTPCREL(%rip), %r14
movq (%r14), %rdi
callq _ARRAY_SIZE
xorl %edi, %edi
cmpl %ebx, %eax
setbe %dil
callq _BUG_ON
movq (%r14), %rax
movl %ebx, %ecx
movl (%rax,%rcx,4), %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _flit_desc_map,8,3 ## @flit_desc_map
.no_dead_strip _flits_to_desc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function flits_to_desc
_flits_to_desc: ; @flits_to_desc
.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 x20, _flit_desc_map@GOTPAGE
Lloh1:
ldr x20, [x20, _flit_desc_map@GOTPAGEOFF]
ldr x0, [x20]
bl _ARRAY_SIZE
cmp w0, w19
cset w0, ls
bl _BUG_ON
ldr x8, [x20]
ldr w0, [x8, w19, uxtw #2]
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 _flit_desc_map,8,3 ; @flit_desc_map
.no_dead_strip _flits_to_desc
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_sge.c_flits_to_desc.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
LCPI0_1:
.quad 0x4000000000000000 ## double 2
.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
movl -4(%rbp), %r8d
cmpl $3, %r8d
jl LBB0_7
## %bb.1:
cvtsi2sd %r8d, %xmm0
sqrtsd %xmm0, %xmm0
addsd LCPI0_0(%rip), %xmm0
leaq L_.str.2(%rip), %rdi
ucomisd LCPI0_1(%rip), %xmm0
jbe LBB0_9
## %bb.2:
movl $3, %ecx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
leal -1(%rcx), %esi
movl %r8d, %eax
cltd
idivl %esi
testl %edx, %edx
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
xorps %xmm1, %xmm1
cvtsi2sd %ecx, %xmm1
incl %ecx
ucomisd %xmm1, %xmm0
ja LBB0_3
LBB0_5:
testl %edx, %edx
jne LBB0_9
jmp LBB0_6
LBB0_7:
cmpl $2, %r8d
jne LBB0_6
## %bb.8:
leaq L_.str.2(%rip), %rdi
jmp LBB0_9
LBB0_6:
leaq L_.str.3(%rip), %rdi
LBB0_9:
movl %r8d, %esi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function is_prime
LCPI1_0:
.quad 0x3ff0000000000000 ## double 1
LCPI1_1:
.quad 0x4000000000000000 ## double 2
.section __TEXT,__text,regular,pure_instructions
.globl _is_prime
.p2align 4, 0x90
_is_prime: ## @is_prime
.cfi_startproc
## %bb.0:
cmpl $3, %edi
jl LBB1_5
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cvtsi2sd %edi, %xmm0
sqrtsd %xmm0, %xmm0
addsd LCPI1_0(%rip), %xmm0
movb $1, %al
ucomisd LCPI1_1(%rip), %xmm0
popq %rbp
jbe LBB1_6
## %bb.2:
movl $2, %ecx
.p2align 4, 0x90
LBB1_3: ## =>This Inner Loop Header: Depth=1
movl %edi, %eax
cltd
idivl %ecx
testl %edx, %edx
setne %al
je LBB1_6
## %bb.4: ## in Loop: Header=BB1_3 Depth=1
incl %ecx
xorps %xmm1, %xmm1
cvtsi2sd %ecx, %xmm1
ucomisd %xmm1, %xmm0
ja LBB1_3
LBB1_6:
movzbl %al, %eax
retq
LBB1_5:
cmpl $2, %edi
sete %al
movzbl %al, %eax
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Ingresa un numero entero: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "\nEl numero %d es primo\n"
L_.str.3: ## @.str.3
.asciz "\nEl numero %d no es primo\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
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 w8, [x29, #-4]
cmp w8, #3
b.lt LBB0_6
; %bb.1:
scvtf d0, w8
fsqrt d0, d0
fmov d1, #1.00000000
fadd d0, d0, d1
fmov d1, #2.00000000
fcmp d0, d1
b.le LBB0_5
; %bb.2:
mov w9, #3
LBB0_3: ; =>This Inner Loop Header: Depth=1
sub w10, w9, #1
sdiv w11, w8, w10
msub w10, w11, w10, w8
scvtf d1, w9
add w9, w9, #1
cmp w10, #0
fccmp d0, d1, #4, ne
b.gt LBB0_3
; %bb.4:
cbz w10, LBB0_7
LBB0_5:
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
b LBB0_8
LBB0_6:
cmp w8, #2
b.eq LBB0_5
LBB0_7:
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
LBB0_8:
str x8, [sp]
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.globl _is_prime ; -- Begin function is_prime
.p2align 2
_is_prime: ; @is_prime
.cfi_startproc
; %bb.0:
cmp w0, #3
b.lt LBB1_5
; %bb.1:
scvtf d0, w0
fsqrt d0, d0
fmov d1, #1.00000000
fadd d0, d0, d1
fmov d1, #2.00000000
fcmp d0, d1
b.le LBB1_6
; %bb.2:
mov w9, #2
LBB1_3: ; =>This Inner Loop Header: Depth=1
sdiv w8, w0, w9
msub w10, w8, w9, w0
cmp w10, #0
cset w8, ne
add w9, w9, #1
scvtf d1, w9
cmp w10, #0
fccmp d0, d1, #4, ne
b.gt LBB1_3
; %bb.4:
mov x0, x8
ret
LBB1_5:
cmp w0, #2
cset w8, eq
mov x0, x8
ret
LBB1_6:
mov w0, #1
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Ingresa un numero entero: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "\nEl numero %d es primo\n"
l_.str.3: ; @.str.3
.asciz "\nEl numero %d no es primo\n"
.subsections_via_symbols
| the_stack_data/117328707.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function get_host_pd2
_get_host_pd2: ## @get_host_pd2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _DESC_TYPE_USB@GOTPCREL(%rip), %rcx
movl (%rdi), %eax
orl (%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DESC_TYPE_USB,4,2 ## @DESC_TYPE_USB
.no_dead_strip _get_host_pd2
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function get_host_pd2
_get_host_pd2: ; @get_host_pd2
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _DESC_TYPE_USB@GOTPAGE
Lloh1:
ldr x8, [x8, _DESC_TYPE_USB@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
ldr w9, [x0]
orr w0, w9, w8
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _DESC_TYPE_USB,4,2 ; @DESC_TYPE_USB
.no_dead_strip _get_host_pd2
.subsections_via_symbols
| AnghaBench/linux/drivers/dma/ti/extr_cppi41.c_get_host_pd2.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function clear_chunk
_clear_chunk: ## @clear_chunk
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, %edx
xorl %esi, %esi
callq _memset
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _clear_chunk
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function clear_chunk
_clear_chunk: ; @clear_chunk
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x2, x1
mov w1, #0
bl _memset
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _clear_chunk
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/arch/um/kernel/skas/extr_uaccess.c_clear_chunk.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _memcpy_early ## -- Begin function memcpy_early
.p2align 4, 0x90
_memcpy_early: ## @memcpy_early
.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 _MEMCPY_EARLY_FUNC ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _memcpy_early ; -- Begin function memcpy_early
.p2align 2
_memcpy_early: ; @memcpy_early
.cfi_startproc
; %bb.0:
b _MEMCPY_EARLY_FUNC
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/sys/kern/extr_subr_early.c_memcpy_early.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str(%rip), %rdi
leaq -44(%rbp), %rsi
leaq -48(%rbp), %rdx
xorl %eax, %eax
callq _scanf
cmpl $-1, %eax
je LBB0_17
## %bb.1:
leaq L_.str(%rip), %r14
leaq -44(%rbp), %r15
leaq -48(%rbp), %r12
jmp LBB0_2
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_2 Depth=1
movl $10, %edi
callq _putchar
movl $10, %edi
callq _putchar
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
xorl %eax, %eax
callq _scanf
cmpl $-1, %eax
je LBB0_17
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
## Child Loop BB0_7 Depth 2
## Child Loop BB0_9 Depth 3
## Child Loop BB0_15 Depth 2
movl -44(%rbp), %eax
cmpl $-1, %eax
jl LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_4: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
testl %ebx, %ebx
setne %cl
incl %eax
cmpl %eax, %ebx
setne %al
andb %cl, %al
movzbl %al, %eax
leal (%rax,%rax), %edi
addl $43, %edi
callq _putchar
leal 1(%rbx), %ecx
movl -44(%rbp), %eax
cmpl %eax, %ebx
movl %ecx, %ebx
jle LBB0_4
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movl $10, %edi
callq _putchar
cmpl $0, -48(%rbp)
jle LBB0_13
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
xorl %r13d, %r13d
jmp LBB0_7
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_7 Depth=2
movl $10, %edi
callq _putchar
incl %r13d
cmpl -48(%rbp), %r13d
jge LBB0_13
LBB0_7: ## Parent Loop BB0_2 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_9 Depth 3
movl -44(%rbp), %eax
cmpl $-1, %eax
jl LBB0_12
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
xorl %ebx, %ebx
jmp LBB0_9
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_9 Depth=3
testl %ebx, %ebx
cmovel %ecx, %edi
callq _putchar
leal 1(%rbx), %ecx
movl -44(%rbp), %eax
cmpl %eax, %ebx
movl %ecx, %ebx
jg LBB0_12
LBB0_9: ## Parent Loop BB0_2 Depth=1
## Parent Loop BB0_7 Depth=2
## => This Inner Loop Header: Depth=3
incl %eax
movl $124, %ecx
movl $124, %edi
cmpl %eax, %ebx
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_9 Depth=3
movl $32, %edi
jmp LBB0_11
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_2 Depth=1
movl -44(%rbp), %eax
cmpl $-1, %eax
jl LBB0_16
## %bb.14: ## in Loop: Header=BB0_2 Depth=1
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_15: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
testl %ebx, %ebx
setne %cl
incl %eax
cmpl %eax, %ebx
setne %al
andb %cl, %al
movzbl %al, %eax
leal (%rax,%rax), %edi
addl $43, %edi
callq _putchar
leal 1(%rbx), %ecx
movl -44(%rbp), %eax
cmpl %eax, %ebx
movl %ecx, %ebx
jle LBB0_15
jmp LBB0_16
LBB0_17:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d %d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
add x20, sp, #24
add x21, sp, #28
stp x21, x20, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
cmn w0, #1
b.eq LBB0_15
; %bb.1:
mov w22, #45
mov w23, #43
mov w24, #32
mov w25, #124
Lloh2:
adrp x19, l_.str@PAGE
Lloh3:
add x19, x19, l_.str@PAGEOFF
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
mov w0, #10
bl _putchar
mov w0, #10
bl _putchar
stp x21, x20, [sp]
mov x0, x19
bl _scanf
cmn w0, #1
b.eq LBB0_15
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
; Child Loop BB0_9 Depth 2
; Child Loop BB0_11 Depth 3
; Child Loop BB0_14 Depth 2
ldr w8, [sp, #28]
cmn w8, #1
b.lt LBB0_6
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov w26, #0
LBB0_5: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
add w8, w8, #1
cmp w26, w8
ccmp w26, #0, #4, ne
csel w0, w23, w22, eq
bl _putchar
add w9, w26, #1
ldr w8, [sp, #28]
cmp w26, w8
mov x26, x9
b.le LBB0_5
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
mov w0, #10
bl _putchar
ldr w8, [sp, #24]
cmp w8, #1
b.lt LBB0_12
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
mov w26, #0
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_9 Depth=2
mov w0, #10
bl _putchar
add w26, w26, #1
ldr w8, [sp, #24]
cmp w26, w8
b.ge LBB0_12
LBB0_9: ; Parent Loop BB0_3 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_11 Depth 3
ldr w8, [sp, #28]
cmn w8, #1
b.lt LBB0_8
; %bb.10: ; in Loop: Header=BB0_9 Depth=2
mov w27, #0
LBB0_11: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_9 Depth=2
; => This Inner Loop Header: Depth=3
add w8, w8, #1
cmp w27, w8
ccmp w27, #0, #4, ne
csel w0, w25, w24, eq
bl _putchar
add w9, w27, #1
ldr w8, [sp, #28]
cmp w27, w8
mov x27, x9
b.le LBB0_11
b LBB0_8
LBB0_12: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #28]
cmn w8, #1
b.lt LBB0_2
; %bb.13: ; in Loop: Header=BB0_3 Depth=1
mov w26, #0
LBB0_14: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
add w8, w8, #1
cmp w26, w8
ccmp w26, #0, #4, ne
csel w0, w23, w22, eq
bl _putchar
add w9, w26, #1
ldr w8, [sp, #28]
cmp w26, w8
mov x26, x9
b.le LBB0_14
b LBB0_2
LBB0_15:
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 x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d %d"
.subsections_via_symbols
| the_stack_data/129609.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
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/106674.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ExecTargetListLength ## -- Begin function ExecTargetListLength
.p2align 4, 0x90
_ExecTargetListLength: ## @ExecTargetListLength
.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 _list_length ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ExecTargetListLength ; -- Begin function ExecTargetListLength
.p2align 2
_ExecTargetListLength: ; @ExecTargetListLength
.cfi_startproc
; %bb.0:
b _list_length
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/postgres/src/backend/executor/extr_execUtils.c_ExecTargetListLength.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function add_round_key
_add_round_key: ## @add_round_key
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movzbl 3(%rsi), %eax
xorl %eax, (%rdi)
movzwl 2(%rsi), %eax
xorl %eax, 4(%rdi)
movl (%rsi), %eax
shrl $8, %eax
xorl %eax, 8(%rdi)
movl (%rsi), %eax
xorl %eax, 12(%rdi)
movzbl 7(%rsi), %eax
xorl %eax, 16(%rdi)
movzwl 6(%rsi), %eax
xorl %eax, 20(%rdi)
movl 4(%rsi), %eax
shrl $8, %eax
xorl %eax, 24(%rdi)
movl 4(%rsi), %eax
xorl %eax, 28(%rdi)
movzbl 11(%rsi), %eax
xorl %eax, 32(%rdi)
movzwl 10(%rsi), %eax
xorl %eax, 36(%rdi)
movl 8(%rsi), %eax
shrl $8, %eax
xorl %eax, 40(%rdi)
movl 8(%rsi), %eax
xorl %eax, 44(%rdi)
movzbl 15(%rsi), %eax
xorl %eax, 48(%rdi)
movzwl 14(%rsi), %eax
xorl %eax, 52(%rdi)
movl 12(%rsi), %eax
shrl $8, %eax
xorl %eax, 56(%rdi)
movl 12(%rsi), %eax
xorl %eax, 60(%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _add_round_key
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function add_round_key
_add_round_key: ; @add_round_key
.cfi_startproc
; %bb.0:
ldrb w8, [x1, #3]
ldp w9, w10, [x0]
eor w8, w9, w8
str w8, [x0]
ldrh w8, [x1, #2]
eor w8, w10, w8
str w8, [x0, #4]
ldr w8, [x1]
ldp w9, w10, [x0, #8]
eor w8, w9, w8, lsr #8
str w8, [x0, #8]
ldr w8, [x1]
eor w8, w10, w8
str w8, [x0, #12]
ldrb w8, [x1, #7]
ldp w9, w10, [x0, #16]
eor w8, w9, w8
str w8, [x0, #16]
ldrh w8, [x1, #6]
eor w8, w10, w8
str w8, [x0, #20]
ldr w8, [x1, #4]
ldp w9, w10, [x0, #24]
eor w8, w9, w8, lsr #8
str w8, [x0, #24]
ldr w8, [x1, #4]
eor w8, w10, w8
str w8, [x0, #28]
ldrb w8, [x1, #11]
ldp w9, w10, [x0, #32]
eor w8, w9, w8
str w8, [x0, #32]
ldrh w8, [x1, #10]
eor w8, w10, w8
str w8, [x0, #36]
ldr w8, [x1, #8]
ldp w9, w10, [x0, #40]
eor w8, w9, w8, lsr #8
str w8, [x0, #40]
ldr w8, [x1, #8]
eor w8, w10, w8
str w8, [x0, #44]
ldrb w8, [x1, #15]
ldp w9, w10, [x0, #48]
eor w8, w9, w8
str w8, [x0, #48]
ldrh w8, [x1, #14]
eor w8, w10, w8
str w8, [x0, #52]
ldr w8, [x1, #12]
ldp w9, w10, [x0, #56]
eor w8, w9, w8, lsr #8
str w8, [x0, #56]
ldr w8, [x1, #12]
eor w8, w10, w8
str w8, [x0, #60]
ret
.cfi_endproc
; -- End function
.no_dead_strip _add_round_key
.subsections_via_symbols
| AnghaBench/esp-idf/components/bt/esp_ble_mesh/mesh_common/extr_mesh_aes_encrypt.c_add_round_key.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test1 ## -- Begin function test1
.p2align 4, 0x90
_test1: ## @test1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movzwl _u16r(%rip), %eax
leal -1(%rax), %ecx
movw %cx, _u16r(%rip)
leaq _mem(%rip), %rcx
movb 8(%rax,%rcx), %al
movzbl _u8w(%rip), %edx
leal -1(%rdx), %esi
movb %sil, _u8w(%rip)
movb %al, (%rdx,%rcx)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _dotest ## -- Begin function dotest
.p2align 4, 0x90
_dotest: ## @dotest
.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 _target(%rip), %rax
movq %rax, _mem(%rip)
leaq _mem(%rip), %rax
movq _source(%rip), %rcx
movq %rcx, _mem+8(%rip)
movzwl _u16r(%rip), %ecx
leal -1(%rcx), %edx
movw %dx, _u16r(%rip)
movb 8(%rcx,%rax), %cl
movzbl _u8w(%rip), %edx
leal -1(%rdx), %esi
movb %sil, _u8w(%rip)
movb %cl, (%rdx,%rax)
movq _mem(%rip), %rax
movq %rax, _target(%rip)
movq _mem+8(%rip), %rax
movq %rax, _source(%rip)
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
movb $0, _i(%rip)
leaq _source(%rip), %r14
leaq L_.str.1(%rip), %rbx
xorl %eax, %eax
.p2align 4, 0x90
LBB1_1: ## =>This Inner Loop Header: Depth=1
movzbl %al, %eax
movzbl (%rax,%r14), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movzbl _i(%rip), %eax
incb %al
movb %al, _i(%rip)
cmpb $8, %al
jb LBB1_1
## %bb.2:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
movb $0, _i(%rip)
leaq _target(%rip), %r14
leaq L_.str.1(%rip), %rbx
xorl %eax, %eax
.p2align 4, 0x90
LBB1_3: ## =>This Inner Loop Header: Depth=1
movzbl %al, %eax
movzbl (%rax,%r14), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movzbl _i(%rip), %eax
incb %al
movb %al, _i(%rip)
cmpb $8, %al
jb LBB1_3
## %bb.4:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _printf
movzbl _u8w(%rip), %esi
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _printf
movzwl _u16r(%rip), %esi
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp _printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _dotest
callq _dotest
movq _target(%rip), %rax
cmpq _expect(%rip), %rax
je LBB2_2
## %bb.1:
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _printf
movb $1, _err(%rip)
LBB2_2:
cmpb $1, _u8w(%rip)
je LBB2_4
## %bb.3:
movb $1, _err(%rip)
LBB2_4:
cmpw $3, _u16r(%rip)
jne LBB2_6
## %bb.5:
movzbl _err(%rip), %esi
jmp LBB2_7
LBB2_6:
movb $1, _err(%rip)
movl $1, %esi
LBB2_7:
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
callq _printf
movzbl _err(%rip), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_mem,16,4 ## @mem
.section __DATA,__data
.p2align 1 ## @u16r
_u16r:
.short 5 ## 0x5
_u8w: ## @u8w
.byte 3 ## 0x3
.p2align 3 ## @target
_target:
.ascii "\000\001\002\003\004\005\006\007"
.p2align 3 ## @source
_source:
.ascii "\b\t\n\013\f\r\016\017"
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "source:"
.zerofill __DATA,__bss,_i,1,0 ## @i
L_.str.1: ## @.str.1
.asciz "%0x "
L_.str.2: ## @.str.2
.asciz "\n\rtarget:"
L_.str.3: ## @.str.3
.asciz "\n\r"
L_.str.4: ## @.str.4
.asciz "u8w: %d\n\r"
L_.str.5: ## @.str.5
.asciz "u16r: %d\n\r"
.section __DATA,__data
_expect: ## @expect
.ascii "\000\001\f\r\004\005\006\007"
.section __TEXT,__cstring,cstring_literals
L_.str.6: ## @.str.6
.asciz "buffer data error\n\r"
.zerofill __DATA,__bss,_err,1,0 ## @err
L_.str.7: ## @.str.7
.asciz "return: %d\n\r"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test1 ; -- Begin function test1
.p2align 2
_test1: ; @test1
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _u16r@PAGE
ldrh w9, [x8, _u16r@PAGEOFF]
sub w10, w9, #1
strh w10, [x8, _u16r@PAGEOFF]
Lloh1:
adrp x8, _mem@PAGE
Lloh2:
add x8, x8, _mem@PAGEOFF
add x9, x8, x9
ldrb w9, [x9, #8]
adrp x10, _u8w@PAGE
ldrb w11, [x10, _u8w@PAGEOFF]
sub w12, w11, #1
strb w12, [x10, _u8w@PAGEOFF]
strb w9, [x8, x11]
ret
.loh AdrpAdd Lloh1, Lloh2
.loh AdrpAdrp Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _dotest ; -- Begin function dotest
.p2align 2
_dotest: ; @dotest
.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
adrp x8, _target@PAGE
ldr x9, [x8, _target@PAGEOFF]
Lloh3:
adrp x10, _mem@PAGE
Lloh4:
add x10, x10, _mem@PAGEOFF
str x9, [x10]
adrp x9, _source@PAGE
ldr x11, [x9, _source@PAGEOFF]
mov x12, x10
str x11, [x12, #8]!
adrp x20, _u16r@PAGE
ldrh w11, [x20, _u16r@PAGEOFF]
sub w13, w11, #1
strh w13, [x20, _u16r@PAGEOFF]
ldrb w11, [x12, x11]
adrp x21, _u8w@PAGE
ldrb w13, [x21, _u8w@PAGEOFF]
sub w14, w13, #1
strb w14, [x21, _u8w@PAGEOFF]
strb w11, [x10, x13]
ldr x10, [x10]
str x10, [x8, _target@PAGEOFF]
ldr x8, [x12]
str x8, [x9, _source@PAGEOFF]
Lloh5:
adrp x0, l_.str@PAGE
Lloh6:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w8, #0
adrp x22, _i@PAGE
strb wzr, [x22, _i@PAGEOFF]
Lloh7:
adrp x23, _source@PAGE
Lloh8:
add x23, x23, _source@PAGEOFF
Lloh9:
adrp x19, l_.str.1@PAGE
Lloh10:
add x19, x19, l_.str.1@PAGEOFF
LBB1_1: ; =>This Inner Loop Header: Depth=1
and x8, x8, #0xff
ldrb w8, [x23, x8]
str x8, [sp]
mov x0, x19
bl _printf
ldrb w8, [x22, _i@PAGEOFF]
add w8, w8, #1
and w9, w8, #0xff
strb w8, [x22, _i@PAGEOFF]
cmp w9, #8
b.lo LBB1_1
; %bb.2:
Lloh11:
adrp x0, l_.str.2@PAGE
Lloh12:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w8, #0
strb wzr, [x22, _i@PAGEOFF]
Lloh13:
adrp x23, _target@PAGE
Lloh14:
add x23, x23, _target@PAGEOFF
Lloh15:
adrp x19, l_.str.1@PAGE
Lloh16:
add x19, x19, l_.str.1@PAGEOFF
LBB1_3: ; =>This Inner Loop Header: Depth=1
and x8, x8, #0xff
ldrb w8, [x23, x8]
str x8, [sp]
mov x0, x19
bl _printf
ldrb w8, [x22, _i@PAGEOFF]
add w8, w8, #1
and w9, w8, #0xff
strb w8, [x22, _i@PAGEOFF]
cmp w9, #8
b.lo LBB1_3
; %bb.4:
Lloh17:
adrp x0, l_.str.3@PAGE
Lloh18:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldrb w8, [x21, _u8w@PAGEOFF]
str x8, [sp]
Lloh19:
adrp x0, l_.str.4@PAGE
Lloh20:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldrh w8, [x20, _u16r@PAGEOFF]
str x8, [sp]
Lloh21:
adrp x0, l_.str.5@PAGE
Lloh22:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp 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
bl _dotest
bl _dotest
Lloh23:
adrp x8, _target@PAGE
Lloh24:
ldr x8, [x8, _target@PAGEOFF]
Lloh25:
adrp x9, _expect@PAGE
Lloh26:
add x9, x9, _expect@PAGEOFF
Lloh27:
ldr x9, [x9]
adrp x19, _err@PAGE
cmp x8, x9
b.eq LBB2_2
; %bb.1:
Lloh28:
adrp x0, l_.str.6@PAGE
Lloh29:
add x0, x0, l_.str.6@PAGEOFF
bl _printf
mov w8, #1
strb w8, [x19, _err@PAGEOFF]
LBB2_2:
adrp x8, _u8w@PAGE
ldrb w8, [x8, _u8w@PAGEOFF]
cmp w8, #1
b.eq LBB2_4
; %bb.3:
mov w8, #1
strb w8, [x19, _err@PAGEOFF]
LBB2_4:
adrp x8, _u16r@PAGE
ldrh w8, [x8, _u16r@PAGEOFF]
cmp w8, #3
b.ne LBB2_6
; %bb.5:
ldrb w8, [x19, _err@PAGEOFF]
b LBB2_7
LBB2_6:
mov w8, #1
strb w8, [x19, _err@PAGEOFF]
LBB2_7:
str x8, [sp]
Lloh30:
adrp x0, l_.str.7@PAGE
Lloh31:
add x0, x0, l_.str.7@PAGEOFF
bl _printf
ldrb w0, [x19, _err@PAGEOFF]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAddLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdr Lloh23, Lloh24
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh30, Lloh31
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_mem,16,3 ; @mem
.section __DATA,__data
.p2align 1 ; @u16r
_u16r:
.short 5 ; 0x5
_u8w: ; @u8w
.byte 3 ; 0x3
.p2align 3 ; @target
_target:
.ascii "\000\001\002\003\004\005\006\007"
.p2align 3 ; @source
_source:
.ascii "\b\t\n\013\f\r\016\017"
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "source:"
.zerofill __DATA,__bss,_i,1,0 ; @i
l_.str.1: ; @.str.1
.asciz "%0x "
l_.str.2: ; @.str.2
.asciz "\n\rtarget:"
l_.str.3: ; @.str.3
.asciz "\n\r"
l_.str.4: ; @.str.4
.asciz "u8w: %d\n\r"
l_.str.5: ; @.str.5
.asciz "u16r: %d\n\r"
.section __DATA,__data
_expect: ; @expect
.ascii "\000\001\f\r\004\005\006\007"
.section __TEXT,__cstring,cstring_literals
l_.str.6: ; @.str.6
.asciz "buffer data error\n\r"
.zerofill __DATA,__bss,_err,1,0 ; @err
l_.str.7: ; @.str.7
.asciz "return: %d\n\r"
.subsections_via_symbols
| the_stack_data/76700125.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function niu_get_msglevel
_niu_get_msglevel: ## @niu_get_msglevel
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _netdev_priv
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _niu_get_msglevel
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function niu_get_msglevel
_niu_get_msglevel: ; @niu_get_msglevel
.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 _netdev_priv
ldr w0, [x0]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _niu_get_msglevel
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/extr_niu.c_niu_get_msglevel.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 %rbx
pushq %rax
.cfi_offset %rbx, -24
cmpl $2, %edi
jne LBB0_4
## %bb.1:
movq 8(%rsi), %rdi
xorl %esi, %esi
movl $10, %edx
callq _strtoul
movabsq $6250735879548544538, %rcx ## imm = 0x56BF132A2547A61A
imulq %rax, %rcx
movabsq $3884030631952384792, %rbx ## imm = 0x35E6D94802420318
addq %rcx, %rbx
movabsq $6488003331680296674, %rax ## imm = 0x5A0A04A7BE5ADEE2
cmpq %rax, %rbx
jne LBB0_3
## %bb.2:
leaq L_str(%rip), %rdi
callq _puts
LBB0_3:
leaq L_.str.2(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_4:
leaq L_.str(%rip), %rdi
movl $1, %esi
xorl %eax, %eax
callq _printf
movl $-1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _megaInit ## -- Begin function megaInit
.p2align 4, 0x90
_megaInit: ## @megaInit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _RandomFunc ## -- Begin function RandomFunc
.p2align 4, 0x90
_RandomFunc: ## @RandomFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movabsq $6250735879548544538, %rax ## imm = 0x56BF132A2547A61A
imulq (%rdi), %rax
movabsq $3884030631952384792, %rcx ## imm = 0x35E6D94802420318
addq %rax, %rcx
movq %rcx, (%rsi)
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Call this program with %i arguments\n"
L_.str.2: ## @.str.2
.asciz "%lu\n"
L_str: ## @str
.asciz "You win!"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
cmp w0, #2
b.ne LBB0_4
; %bb.1:
ldr x0, [x1, #8]
mov x1, #0
mov w2, #10
bl _strtoul
mov x8, #42522
movk x8, #9543, lsl #16
movk x8, #4906, lsl #32
movk x8, #22207, lsl #48
mov x9, #792
movk x9, #578, lsl #16
movk x9, #55624, lsl #32
movk x9, #13798, lsl #48
madd x19, x0, x8, x9
mov x8, #57058
movk x8, #48730, lsl #16
movk x8, #1191, lsl #32
movk x8, #23050, lsl #48
cmp x19, x8
b.ne LBB0_3
; %bb.2:
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
LBB0_3:
str x19, [sp]
Lloh2:
adrp x0, l_.str.2@PAGE
Lloh3:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
LBB0_4:
mov w8, #1
str x8, [sp]
Lloh4:
adrp x0, l_.str@PAGE
Lloh5:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #-1
bl _exit
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.globl _megaInit ; -- Begin function megaInit
.p2align 2
_megaInit: ; @megaInit
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _RandomFunc ; -- Begin function RandomFunc
.p2align 2
_RandomFunc: ; @RandomFunc
.cfi_startproc
; %bb.0:
ldr x8, [x0]
mov x9, #42522
movk x9, #9543, lsl #16
movk x9, #4906, lsl #32
movk x9, #22207, lsl #48
mov x10, #792
movk x10, #578, lsl #16
movk x10, #55624, lsl #32
movk x10, #13798, lsl #48
madd x8, x8, x9, x10
str x8, [x1]
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Call this program with %i arguments\n"
l_.str.2: ; @.str.2
.asciz "%lu\n"
l_str: ; @str
.asciz "You win!"
.subsections_via_symbols
| the_stack_data/485769.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _adfs_map_lookup ## -- Begin function adfs_map_lookup
.p2align 4, 0x90
_adfs_map_lookup: ## @adfs_map_lookup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
movl %esi, %r12d
movq %rdi, %r15
callq _ADFS_SB
movq %rax, %r13
movq _ADFS_ROOT_FRAG@GOTPCREL(%rip), %rax
cmpl %r12d, (%rax)
jne LBB0_2
## %bb.1:
movl (%r13), %r8d
movl %r8d, %r14d
sarl %r14d
cmpl %r8d, %r14d
jb LBB0_4
LBB0_7:
leaq L_.str.1(%rip), %rsi
xorl %ebx, %ebx
movq %r15, %rdi
movl %r12d, %edx
movl %r14d, %ecx
xorl %eax, %eax
callq _adfs_error
jmp LBB0_8
LBB0_2:
movl %r12d, %eax
xorl %edx, %edx
divl 4(%r13)
movl %eax, %r14d
movl (%r13), %r8d
cmpl %r8d, %r14d
jae LBB0_7
LBB0_4:
movq %r15, -56(%rbp) ## 8-byte Spill
xorl %esi, %esi
subl 8(%r13), %esi
movl %ebx, -44(%rbp) ## 4-byte Spill
movl %ebx, %edi
callq _signed_asl
movl %eax, %r15d
movq _adfs_map_lock@GOTPCREL(%rip), %rbx
movq %rbx, %rdi
callq _read_lock
movq %r13, %rdi
movl %r14d, %esi
movl %r12d, %edx
movl %r15d, -48(%rbp) ## 4-byte Spill
movl %r15d, %ecx
callq _scan_map
movl %eax, %r14d
movq %rbx, %rdi
callq _read_unlock
testl %r14d, %r14d
jle LBB0_6
## %bb.5:
movl 8(%r13), %esi
movl -48(%rbp), %edi ## 4-byte Reload
callq _signed_asl
movl -44(%rbp), %r15d ## 4-byte Reload
subl %eax, %r15d
movl 8(%r13), %esi
movl %r14d, %edi
callq _signed_asl
movl %eax, %ebx
addl %r15d, %ebx
jmp LBB0_8
LBB0_6:
leaq L_.str(%rip), %rsi
movq -56(%rbp), %rdi ## 8-byte Reload
movl %r12d, %edx
movl -44(%rbp), %ecx ## 4-byte Reload
xorl %eax, %eax
callq _adfs_error
xorl %ebx, %ebx
LBB0_8:
movl %ebx, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ADFS_ROOT_FRAG,4,2 ## @ADFS_ROOT_FRAG
.comm _adfs_map_lock,4,2 ## @adfs_map_lock
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "fragment 0x%04x at offset %d not found in map"
L_.str.1: ## @.str.1
.asciz "invalid fragment 0x%04x (zone = %d, max = %d)"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _adfs_map_lookup ; -- Begin function adfs_map_lookup
.p2align 2
_adfs_map_lookup: ; @adfs_map_lookup
.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, x2
mov x20, x1
mov x21, x0
bl _ADFS_SB
mov x22, x0
Lloh0:
adrp x8, _ADFS_ROOT_FRAG@GOTPAGE
Lloh1:
ldr x8, [x8, _ADFS_ROOT_FRAG@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w8, w20
b.ne LBB0_3
; %bb.1:
ldr w8, [x22]
asr w23, w8, #1
cmp w23, w8
b.lo LBB0_4
LBB0_2:
str x8, [sp]
Lloh3:
adrp x1, l_.str.1@PAGE
Lloh4:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x21
mov x2, x20
mov x3, x23
b LBB0_7
LBB0_3:
ldp w8, w9, [x22]
udiv w23, w20, w9
cmp w23, w8
b.hs LBB0_2
LBB0_4:
ldr w8, [x22, #8]
neg w1, w8
mov x0, x19
bl _signed_asl
mov x24, x0
Lloh5:
adrp x25, _adfs_map_lock@GOTPAGE
Lloh6:
ldr x25, [x25, _adfs_map_lock@GOTPAGEOFF]
mov x0, x25
bl _read_lock
mov x0, x22
mov x1, x23
mov x2, x20
mov x3, x24
bl _scan_map
mov x23, x0
mov x0, x25
bl _read_unlock
cmp w23, #1
b.lt LBB0_6
; %bb.5:
ldr w1, [x22, #8]
mov x0, x24
bl _signed_asl
sub w19, w19, w0
ldr w1, [x22, #8]
mov x0, x23
bl _signed_asl
add w0, w19, w0
b LBB0_8
LBB0_6:
Lloh7:
adrp x1, l_.str@PAGE
Lloh8:
add x1, x1, l_.str@PAGEOFF
mov x0, x21
mov x2, x20
mov x3, x19
LBB0_7:
bl _adfs_error
mov w0, #0
LBB0_8:
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 AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _ADFS_ROOT_FRAG,4,2 ; @ADFS_ROOT_FRAG
.comm _adfs_map_lock,4,2 ; @adfs_map_lock
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "fragment 0x%04x at offset %d not found in map"
l_.str.1: ; @.str.1
.asciz "invalid fragment 0x%04x (zone = %d, max = %d)"
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/adfs/extr_map.c_adfs_map_lookup.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _S_PaintChannelFromADPCM ## -- Begin function S_PaintChannelFromADPCM
.p2align 4, 0x90
_S_PaintChannelFromADPCM: ## @S_PaintChannelFromADPCM
.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
movl %ecx, %r14d
## kill: def $edx killed $edx def $rdx
movq %rsi, %r9
movslq %r8d, %r13
cmpq $0, 16(%rdi)
je LBB0_2
## %bb.1:
imull 8(%rdi), %r14d
LBB0_2:
movq _snd_vol@GOTPCREL(%rip), %rcx
movq _paintbuffer@GOTPCREL(%rip), %rax
shlq $3, %r13
movq (%r9), %r15
movq _SND_CHUNK_SIZE@GOTPCREL(%rip), %rsi
movl (%rsi), %esi
shll $2, %esi
xorl %ebx, %ebx
cmpl %esi, %r14d
jl LBB0_5
## %bb.3:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq (%r15), %r15
subl %esi, %r14d
decl %ebx
cmpl %esi, %r14d
jge LBB0_4
LBB0_5:
movsd (%rdi), %xmm0 ## xmm0 = mem[0],zero
movaps %xmm0, -80(%rbp) ## 16-byte Spill
movd (%rcx), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movdqa %xmm0, -64(%rbp) ## 16-byte Spill
addq (%rax), %r13
movq _sfxScratchIndex@GOTPCREL(%rip), %rax
movq _sfxScratchPointer@GOTPCREL(%rip), %rcx
cmpl (%rax), %ebx
jne LBB0_7
## %bb.6:
cmpq %r9, (%rcx)
je LBB0_8
LBB0_7:
movq _sfxScratchBuffer@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq %r15, %rdi
movq %rdx, %r12
movq %r9, -48(%rbp) ## 8-byte Spill
callq _S_AdpcmGetSamples
movq %r12, %rdx
movq _sfxScratchIndex@GOTPCREL(%rip), %rax
movl %ebx, (%rax)
movq -48(%rbp), %rax ## 8-byte Reload
movq _sfxScratchPointer@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
LBB0_8:
testl %edx, %edx
js LBB0_13
## %bb.9:
movq _sfxScratchBuffer@GOTPCREL(%rip), %rax
movq (%rax), %r12
incl %edx
xorl %ebx, %ebx
jmp LBB0_10
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_10 Depth=1
incq %rbx
cmpq %rbx, %rdx
je LBB0_13
LBB0_10: ## =>This Inner Loop Header: Depth=1
movslq %r14d, %rax
incl %r14d
movswl (%r12,%rax,2), %eax
movd %eax, %xmm0
pmulld -64(%rbp), %xmm0 ## 16-byte Folded Reload
pshufd $80, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,1,1]
pmulld -80(%rbp), %xmm0 ## 16-byte Folded Reload
psrad $8, %xmm0
movq (%r13,%rbx,8), %xmm1 ## xmm1 = mem[0],zero
paddd %xmm0, %xmm1
movq %xmm1, (%r13,%rbx,8)
movq _SND_CHUNK_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %eax
shll $2, %eax
cmpl %eax, %r14d
jne LBB0_12
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
movq (%r15), %r15
movq _sfxScratchBuffer@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq %r15, %rdi
movq %rdx, %r14
callq _S_AdpcmGetSamples
movq %r14, %rdx
movq _sfxScratchIndex@GOTPCREL(%rip), %rax
incl (%rax)
xorl %r14d, %r14d
jmp LBB0_12
LBB0_13:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _snd_vol,4,2 ## @snd_vol
.comm _paintbuffer,8,3 ## @paintbuffer
.comm _SND_CHUNK_SIZE,4,2 ## @SND_CHUNK_SIZE
.comm _sfxScratchIndex,4,2 ## @sfxScratchIndex
.comm _sfxScratchPointer,8,3 ## @sfxScratchPointer
.comm _sfxScratchBuffer,8,3 ## @sfxScratchBuffer
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _S_PaintChannelFromADPCM ; -- Begin function S_PaintChannelFromADPCM
.p2align 2
_S_PaintChannelFromADPCM: ; @S_PaintChannelFromADPCM
.cfi_startproc
; %bb.0:
stp d9, d8, [sp, #-112]! ; 16-byte Folded Spill
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
.cfi_offset b8, -104
.cfi_offset b9, -112
mov x20, x3
mov x23, x1
ldr x19, [x1]
ldr x8, [x0, #16]
cbz x8, LBB0_2
; %bb.1:
ldr w8, [x0, #8]
mul w20, w8, w20
LBB0_2:
Lloh0:
adrp x9, _paintbuffer@GOTPAGE
Lloh1:
ldr x9, [x9, _paintbuffer@GOTPAGEOFF]
Lloh2:
adrp x8, _snd_vol@GOTPAGE
Lloh3:
ldr x8, [x8, _snd_vol@GOTPAGEOFF]
Lloh4:
adrp x24, _SND_CHUNK_SIZE@GOTPAGE
Lloh5:
ldr x24, [x24, _SND_CHUNK_SIZE@GOTPAGEOFF]
ldr w10, [x24]
lsl w10, w10, #2
cmp w20, w10
b.ge LBB0_4
; %bb.3:
mov w27, #0 ; =0x0
b LBB0_6
LBB0_4:
mov w27, #0 ; =0x0
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x19, [x19]
sub w27, w27, #1
sub w20, w20, w10
cmp w20, w10
b.ge LBB0_5
LBB0_6:
ldr x28, [x9]
ldr s8, [x8]
ldr d9, [x0]
Lloh6:
adrp x25, _sfxScratchIndex@GOTPAGE
Lloh7:
ldr x25, [x25, _sfxScratchIndex@GOTPAGEOFF]
Lloh8:
adrp x9, _sfxScratchPointer@GOTPAGE
Lloh9:
ldr x9, [x9, _sfxScratchPointer@GOTPAGEOFF]
ldr w8, [x25]
Lloh10:
ldr x9, [x9]
cmp w27, w8
ccmp x9, x23, #0, eq
Lloh11:
adrp x26, _sfxScratchBuffer@GOTPAGE
Lloh12:
ldr x26, [x26, _sfxScratchBuffer@GOTPAGEOFF]
b.eq LBB0_8
; %bb.7:
ldr x1, [x26]
mov x0, x19
mov x21, x4
mov x22, x2
bl _S_AdpcmGetSamples
mov x2, x22
mov x4, x21
str w27, [x25]
Lloh13:
adrp x8, _sfxScratchPointer@GOTPAGE
Lloh14:
ldr x8, [x8, _sfxScratchPointer@GOTPAGEOFF]
Lloh15:
str x23, [x8]
LBB0_8:
tbnz w2, #31, LBB0_13
; %bb.9:
add x22, x28, w4, sxtw #3
ldr x23, [x26]
add w21, w2, #1
b LBB0_11
LBB0_10: ; in Loop: Header=BB0_11 Depth=1
add x22, x22, #8
mov x20, x8
subs x21, x21, #1
b.eq LBB0_13
LBB0_11: ; =>This Inner Loop Header: Depth=1
add w8, w20, #1
ldrsh w9, [x23, w20, sxtw #1]
fmov s0, w9
mul.2s v0, v0, v8
mul.2s v0, v9, v0[0]
ldr d1, [x22]
ssra.2s v1, v0, #8
str d1, [x22]
ldr w9, [x24]
cmp w8, w9, lsl #2
b.ne LBB0_10
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
ldr x19, [x19]
ldr x1, [x26]
mov x0, x19
bl _S_AdpcmGetSamples
mov w8, #0 ; =0x0
ldr w9, [x25]
add w9, w9, #1
str w9, [x25]
b LBB0_10
LBB0_13:
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
ldp d9, d8, [sp], #112 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotStr Lloh13, Lloh14, Lloh15
.cfi_endproc
; -- End function
.comm _snd_vol,4,2 ; @snd_vol
.comm _paintbuffer,8,3 ; @paintbuffer
.comm _SND_CHUNK_SIZE,4,2 ; @SND_CHUNK_SIZE
.comm _sfxScratchIndex,4,2 ; @sfxScratchIndex
.comm _sfxScratchPointer,8,3 ; @sfxScratchPointer
.comm _sfxScratchBuffer,8,3 ; @sfxScratchBuffer
.subsections_via_symbols
| assembly_file_81430.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sqlite3_column_decltype ## -- Begin function sqlite3_column_decltype
.p2align 4, 0x90
_sqlite3_column_decltype: ## @sqlite3_column_decltype
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _COLNAME_DECLTYPE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
xorl %edx, %edx
popq %rbp
jmp _columnName ## TAILCALL
.cfi_endproc
## -- End function
.comm _COLNAME_DECLTYPE,4,2 ## @COLNAME_DECLTYPE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sqlite3_column_decltype ; -- Begin function sqlite3_column_decltype
.p2align 2
_sqlite3_column_decltype: ; @sqlite3_column_decltype
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _COLNAME_DECLTYPE@GOTPAGE
Lloh1:
ldr x8, [x8, _COLNAME_DECLTYPE@GOTPAGEOFF]
Lloh2:
ldr w3, [x8]
mov w2, #0
b _columnName
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _COLNAME_DECLTYPE,4,2 ; @COLNAME_DECLTYPE
.subsections_via_symbols
| AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_sqlite3_column_decltype.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ath5k_hw_rf2425_channel
_ath5k_hw_rf2425_channel: ## @ath5k_hw_rf2425_channel
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movl (%rsi), %edi
cmpl $4799, %edi ## imm = 0x12BF
jg LBB0_2
## %bb.1:
addl $-2272, %edi ## imm = 0xF720
## kill: def $edi killed $edi killed $rdi
movl $8, %esi
callq _ath5k_hw_bitswap
movl %eax, %r15d
xorl %ebx, %ebx
jmp LBB0_14
LBB0_2:
movl %edi, %ecx
movl $3435973837, %edx ## imm = 0xCCCCCCCD
movq %rcx, %rax
imulq %rdx, %rax
shrq $34, %rax
leal (%rax,%rax,4), %esi
movl %edi, %eax
subl %esi, %eax
cmpl $5435, %edi ## imm = 0x153B
ja LBB0_4
## %bb.3:
cmpl $2, %eax
jne LBB0_4
## %bb.12:
leal (%rdi,%rdi,4), %eax
addl %eax, %eax
addl $17516, %eax ## imm = 0x446C
cwtl
imull $5243, %eax, %eax ## imm = 0x147B
movl %eax, %ecx
sarl $17, %ecx
shrl $31, %eax
addl %ecx, %eax
incl %eax
movzwl %ax, %edi
movl $8, %esi
callq _ath5k_hw_bitswap
movl %eax, %r15d
xorl %edi, %edi
jmp LBB0_13
LBB0_4:
cmpl $5119, %edi ## imm = 0x13FF
ja LBB0_7
## %bb.5:
imulq %rdx, %rcx
shrq $36, %rcx
shll $2, %ecx
leal (%rcx,%rcx,4), %ecx
movl %edi, %edx
subl %ecx, %edx
jne LBB0_7
## %bb.6:
addl $-4800, %edi ## imm = 0xED40
movzwl %di, %eax
imull $52429, %eax, %eax ## imm = 0xCCCD
shrl $18, %eax
andl $-4, %eax
jmp LBB0_11
LBB0_7:
imull $-858993459, %edi, %ecx ## imm = 0xCCCCCCCD
rorl %ecx
cmpl $429496729, %ecx ## imm = 0x19999999
jbe LBB0_8
## %bb.9:
testl %eax, %eax
je LBB0_10
## %bb.16:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_15
LBB0_8:
addl $-4800, %edi ## imm = 0xED40
movl $3435973837, %eax ## imm = 0xCCCCCCCD
imulq %rdi, %rax
shrq $34, %rax
andl $-2, %eax
jmp LBB0_11
LBB0_10:
addl $-4800, %edi ## imm = 0xED40
movl $3435973837, %eax ## imm = 0xCCCCCCCD
imulq %rdi, %rax
shrq $34, %rax
LBB0_11:
movl %eax, %edi
movl $8, %esi
callq _ath5k_hw_bitswap
movl %eax, %r15d
movl $1, %edi
LBB0_13:
movl $2, %esi
callq _ath5k_hw_bitswap
movl %eax, %ebx
LBB0_14:
shll $4, %r15d
shll $2, %ebx
orl %r15d, %ebx
orl $4097, %ebx ## imm = 0x1001
movzbl %bl, %esi
movq _AR5K_RF_BUFFER@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r14, %rdi
callq _ath5k_hw_reg_write
shrl $8, %ebx
andl $127, %ebx
movq _AR5K_RF_BUFFER_CONTROL_5@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r14, %rdi
movl %ebx, %esi
callq _ath5k_hw_reg_write
xorl %eax, %eax
LBB0_15:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.comm _AR5K_RF_BUFFER,4,2 ## @AR5K_RF_BUFFER
.comm _AR5K_RF_BUFFER_CONTROL_5,4,2 ## @AR5K_RF_BUFFER_CONTROL_5
.no_dead_strip _ath5k_hw_rf2425_channel
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ath5k_hw_rf2425_channel
_ath5k_hw_rf2425_channel: ; @ath5k_hw_rf2425_channel
.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, [x1]
mov w9, #4799
cmp w8, w9
b.gt LBB0_2
; %bb.1:
sub w0, w8, #2272
mov w1, #8
bl _ath5k_hw_bitswap
mov x20, x0
mov w0, #0
b LBB0_14
LBB0_2:
mov w9, #52429
movk w9, #52428, lsl #16
umull x10, w8, w9
lsr x9, x10, #34
add w9, w9, w9, lsl #2
sub w9, w8, w9
lsr w11, w8, #2
cmp w11, #1358
ccmp w9, #2, #0, ls
b.eq LBB0_6
; %bb.3:
lsr w11, w8, #10
cmp w11, #4
b.hi LBB0_7
; %bb.4:
lsr x10, x10, #36
mov w11, #20
msub w10, w10, w11, w8
cbnz w10, LBB0_7
; %bb.5:
mov w9, #-4800
add w8, w8, w9
and w8, w8, #0xffff
mov w9, #52429
mul w8, w8, w9
lsr w8, w8, #18
and w0, w8, #0x3ffc
b LBB0_12
LBB0_6:
mov w9, #10
mov w10, #17516
madd w8, w8, w9, w10
sxth w8, w8
mov w9, #5243
mul w8, w8, w9
asr w9, w8, #17
add w8, w9, w8, lsr #31
add w8, w8, #1
and w0, w8, #0xffff
mov w1, #8
bl _ath5k_hw_bitswap
mov x20, x0
mov w0, #0
b LBB0_13
LBB0_7:
mov w10, #52429
movk w10, #52428, lsl #16
mul w11, w8, w10
ror w11, w11, #1
mov w12, #39321
movk w12, #6553, lsl #16
cmp w11, w12
b.ls LBB0_10
; %bb.8:
cbz w9, LBB0_11
; %bb.9:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
b LBB0_15
LBB0_10:
mov w9, #-4800
add w8, w8, w9
umull x8, w8, w10
lsr x8, x8, #34
and w0, w8, #0x3ffffffe
b LBB0_12
LBB0_11:
mov w9, #-4800
add w8, w8, w9
mov w9, #52429
movk w9, #52428, lsl #16
umull x8, w8, w9
lsr x0, x8, #34
LBB0_12:
; kill: def $w0 killed $w0 killed $x0
mov w1, #8
bl _ath5k_hw_bitswap
mov x20, x0
mov w0, #1
LBB0_13:
mov w1, #2
bl _ath5k_hw_bitswap
LBB0_14:
lsl w8, w20, #4
orr w8, w8, w0, lsl #2
mov w9, #4097
orr w20, w8, w9
and w1, w20, #0xff
Lloh3:
adrp x8, _AR5K_RF_BUFFER@GOTPAGE
Lloh4:
ldr x8, [x8, _AR5K_RF_BUFFER@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
mov x0, x19
bl _ath5k_hw_reg_write
ubfx w1, w20, #8, #7
Lloh6:
adrp x8, _AR5K_RF_BUFFER_CONTROL_5@GOTPAGE
Lloh7:
ldr x8, [x8, _AR5K_RF_BUFFER_CONTROL_5@GOTPAGEOFF]
Lloh8:
ldr w2, [x8]
mov x0, x19
bl _ath5k_hw_reg_write
mov w0, #0
LBB0_15:
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 Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.comm _AR5K_RF_BUFFER,4,2 ; @AR5K_RF_BUFFER
.comm _AR5K_RF_BUFFER_CONTROL_5,4,2 ; @AR5K_RF_BUFFER_CONTROL_5
.no_dead_strip _ath5k_hw_rf2425_channel
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath5k/extr_phy.c_ath5k_hw_rf2425_channel.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ssi_dmamap_cb
_ssi_dmamap_cb: ## @ssi_dmamap_cb
.cfi_startproc
## %bb.0:
testl %ecx, %ecx
je LBB0_1
## %bb.2:
retq
LBB0_1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rsi), %eax
movl %eax, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _ssi_dmamap_cb
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ssi_dmamap_cb
_ssi_dmamap_cb: ; @ssi_dmamap_cb
.cfi_startproc
; %bb.0:
cbz w3, LBB0_2
; %bb.1:
ret
LBB0_2:
ldr w8, [x1]
str w8, [x0]
ret
.cfi_endproc
; -- End function
.no_dead_strip _ssi_dmamap_cb
.subsections_via_symbols
| AnghaBench/freebsd/sys/arm/freescale/imx/extr_imx6_ssi.c_ssi_dmamap_cb.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function gdb_cmd_memwrite
_gdb_cmd_memwrite: ## @gdb_cmd_memwrite
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %edi, %edi
callq _write_mem_msg
movq _remcom_out_buffer@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
testl %eax, %eax
je LBB0_2
## %bb.1:
movl %eax, %esi
popq %rbp
jmp _error_packet ## TAILCALL
LBB0_2:
leaq L_.str(%rip), %rsi
popq %rbp
jmp _strcpy ## TAILCALL
.cfi_endproc
## -- End function
.comm _remcom_out_buffer,4,2 ## @remcom_out_buffer
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "OK"
.no_dead_strip _gdb_cmd_memwrite
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function gdb_cmd_memwrite
_gdb_cmd_memwrite: ; @gdb_cmd_memwrite
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #0
bl _write_mem_msg
mov x1, x0
Lloh0:
adrp x8, _remcom_out_buffer@GOTPAGE
Lloh1:
ldr x8, [x8, _remcom_out_buffer@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
cbz w1, LBB0_2
; %bb.1:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _error_packet
LBB0_2:
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _strcpy
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _remcom_out_buffer,4,2 ; @remcom_out_buffer
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "OK"
.no_dead_strip _gdb_cmd_memwrite
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/kernel/extr_kgdb.c_gdb_cmd_memwrite.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _pvc_write_string ## -- Begin function pvc_write_string
.p2align 4, 0x90
_pvc_write_string: ## @pvc_write_string
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq _PVC_NLINES@GOTPCREL(%rip), %rcx
movl %edx, %r8d
shll $6, %r8d
xorl %eax, %eax
cmpl $2, (%rcx)
cmovgel %r8d, %eax
movq %rdi, %rbx
testl %edx, %edx
cmovgl %r8d, %eax
addl %esi, %eax
orl $128, %eax
movq _MODE_INST@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movl %eax, %edi
callq _pvc_write
movzbl (%rbx), %eax
testb %al, %al
je LBB0_5
## %bb.1:
movq _PVC_LINELEN@GOTPCREL(%rip), %r14
cmpl $0, (%r14)
jle LBB0_5
## %bb.2:
movl $1, %r12d
movq _MODE_DATA@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movzbl %al, %edi
movl (%r15), %esi
callq _pvc_write
movzbl (%rbx,%r12), %eax
testb %al, %al
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
leaq 1(%r12), %rcx
cmpl (%r14), %r12d
movq %rcx, %r12
jl LBB0_3
LBB0_5:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PVC_NLINES,4,2 ## @PVC_NLINES
.comm _MODE_INST,4,2 ## @MODE_INST
.comm _PVC_LINELEN,4,2 ## @PVC_LINELEN
.comm _MODE_DATA,4,2 ## @MODE_DATA
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _pvc_write_string ; -- Begin function pvc_write_string
.p2align 2
_pvc_write_string: ; @pvc_write_string
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x8, _PVC_NLINES@GOTPAGE
Lloh1:
ldr x8, [x8, _PVC_NLINES@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w8, #1
ccmp w2, #0, #0, le
lsl w8, w2, #6
csel w8, w8, wzr, gt
add w8, w8, w1
Lloh3:
adrp x9, _MODE_INST@GOTPAGE
Lloh4:
ldr x9, [x9, _MODE_INST@GOTPAGEOFF]
Lloh5:
ldr w1, [x9]
orr w0, w8, #0x80
bl _pvc_write
ldrb w0, [x19]
Lloh6:
adrp x20, _PVC_LINELEN@GOTPAGE
Lloh7:
ldr x20, [x20, _PVC_LINELEN@GOTPAGEOFF]
ldr w8, [x20]
cmp w0, #0
ccmp w8, #1, #8, ne
b.lt LBB0_3
; %bb.1:
mov w21, #1 ; =0x1
Lloh8:
adrp x22, _MODE_DATA@GOTPAGE
Lloh9:
ldr x22, [x22, _MODE_DATA@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w1, [x22]
bl _pvc_write
ldrb w0, [x19, x21]
ldr w8, [x20]
cmp w0, #0
ccmp w21, w8, #0, ne
add x21, x21, #1
b.lt LBB0_2
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _PVC_NLINES,4,2 ; @PVC_NLINES
.comm _MODE_INST,4,2 ; @MODE_INST
.comm _PVC_LINELEN,4,2 ; @PVC_LINELEN
.comm _MODE_DATA,4,2 ; @MODE_DATA
.subsections_via_symbols
| assembly_file_26657.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function add_symbol
_add_symbol: ## @add_symbol
.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, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq _nsyms@GOTPCREL(%rip), %r12
movl (%r12), %ecx
movq _maxsyms@GOTPCREL(%rip), %rsi
movl (%rsi), %edx
movq _symbol_table@GOTPCREL(%rip), %r13
movq (%r13), %rax
cmpl %edx, %ecx
jl LBB0_3
## %bb.1:
leal 10000(%rdx), %ecx
movl %ecx, (%rsi)
leal 80000(,%rdx,8), %ecx
leal (%rcx,%rcx,2), %esi
movq %rax, %rdi
callq _realloc
movq %rax, (%r13)
testq %rax, %rax
je LBB0_4
## %bb.2:
movl (%r12), %ecx
LBB0_3:
leal -1(%rcx), %edx
movl %edx, (%r12)
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq %r15, (%rax,%rcx,8)
movq %r14, 8(%rax,%rcx,8)
movq %rbx, 16(%rax,%rcx,8)
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _fprintf
movl $3, %edi
callq _exit
.cfi_endproc
## -- End function
.comm _nsyms,4,2 ## @nsyms
.comm _maxsyms,4,2 ## @maxsyms
.comm _symbol_table,8,3 ## @symbol_table
.comm _stderr,4,2 ## @stderr
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "can't allocate symbol table\n"
.no_dead_strip _add_symbol
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function add_symbol
_add_symbol: ; @add_symbol
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
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 x20, x1
mov x21, x0
Lloh0:
adrp x22, _nsyms@GOTPAGE
Lloh1:
ldr x22, [x22, _nsyms@GOTPAGEOFF]
Lloh2:
adrp x9, _maxsyms@GOTPAGE
Lloh3:
ldr x9, [x9, _maxsyms@GOTPAGEOFF]
ldr w8, [x22]
ldr w10, [x9]
Lloh4:
adrp x23, _symbol_table@GOTPAGE
Lloh5:
ldr x23, [x23, _symbol_table@GOTPAGEOFF]
ldr x0, [x23]
cmp w8, w10
b.lt LBB0_3
; %bb.1:
mov w8, #10000 ; =0x2710
add w8, w10, w8
str w8, [x9]
add w8, w8, w8, lsl #1
lsl w1, w8, #3
bl _realloc
str x0, [x23]
cbz x0, LBB0_4
; %bb.2:
ldr w8, [x22]
LBB0_3:
sub w9, w8, #1
str w9, [x22]
mov w9, #24 ; =0x18
smaddl x8, w8, w9, x0
stp x21, x20, [x8]
str x19, [x8, #16]
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_4:
Lloh6:
adrp x8, _stderr@GOTPAGE
Lloh7:
ldr x8, [x8, _stderr@GOTPAGEOFF]
Lloh8:
ldr w0, [x8]
Lloh9:
adrp x1, l_.str@PAGE
Lloh10:
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w0, #3 ; =0x3
bl _exit
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _nsyms,4,2 ; @nsyms
.comm _maxsyms,4,2 ; @maxsyms
.comm _symbol_table,8,3 ; @symbol_table
.comm _stderr,4,2 ; @stderr
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "can't allocate symbol table\n"
.no_dead_strip _add_symbol
.subsections_via_symbols
| assembly_file_15220.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function telem_ioss_trc_verb_open
_telem_ioss_trc_verb_open: ## @telem_ioss_trc_verb_open
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rsi, %rax
movq _telem_ioss_trc_verb_show@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movl (%rdi), %edx
movq %rax, %rdi
popq %rbp
jmp _single_open ## TAILCALL
.cfi_endproc
## -- End function
.comm _telem_ioss_trc_verb_show,4,2 ## @telem_ioss_trc_verb_show
.no_dead_strip _telem_ioss_trc_verb_open
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function telem_ioss_trc_verb_open
_telem_ioss_trc_verb_open: ; @telem_ioss_trc_verb_open
.cfi_startproc
; %bb.0:
mov x8, x1
Lloh0:
adrp x9, _telem_ioss_trc_verb_show@GOTPAGE
Lloh1:
ldr x9, [x9, _telem_ioss_trc_verb_show@GOTPAGEOFF]
Lloh2:
ldr w1, [x9]
ldr w2, [x0]
mov x0, x8
b _single_open
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _telem_ioss_trc_verb_show,4,2 ; @telem_ioss_trc_verb_show
.no_dead_strip _telem_ioss_trc_verb_open
.subsections_via_symbols
| AnghaBench/linux/drivers/platform/x86/extr_intel_telemetry_debugfs.c_telem_ioss_trc_verb_open.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function toggle_outline
_toggle_outline: ## @toggle_outline
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _outline@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_3
## %bb.1:
movq _showoutline@GOTPCREL(%rip), %rax
xorl %ecx, %ecx
cmpl $0, (%rax)
sete %cl
movl %ecx, (%rax)
movq _canvas_w@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq _page_tex@GOTPCREL(%rip), %rax
cmpq (%rax), %rcx
jne LBB0_3
## %bb.2:
movq _canvas_h@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq 8(%rax), %rcx
jne LBB0_3
## %bb.4:
xorl %eax, %eax
popq %rbp
jmp _shrinkwrap ## TAILCALL
LBB0_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _outline,8,3 ## @outline
.comm _showoutline,4,2 ## @showoutline
.comm _canvas_w,8,3 ## @canvas_w
.comm _page_tex,16,3 ## @page_tex
.comm _canvas_h,8,3 ## @canvas_h
.no_dead_strip _toggle_outline
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function toggle_outline
_toggle_outline: ; @toggle_outline
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _outline@GOTPAGE
Lloh1:
ldr x8, [x8, _outline@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cbz x8, LBB0_4
; %bb.1:
Lloh3:
adrp x8, _showoutline@GOTPAGE
Lloh4:
ldr x8, [x8, _showoutline@GOTPAGEOFF]
ldr w9, [x8]
cmp w9, #0
cset w9, eq
Lloh5:
adrp x10, _canvas_w@GOTPAGE
Lloh6:
ldr x10, [x10, _canvas_w@GOTPAGEOFF]
str w9, [x8]
Lloh7:
ldr x9, [x10]
Lloh8:
adrp x8, _page_tex@GOTPAGE
Lloh9:
ldr x8, [x8, _page_tex@GOTPAGEOFF]
ldr x10, [x8]
cmp x9, x10
b.ne LBB0_4
; %bb.2:
Lloh10:
adrp x9, _canvas_h@GOTPAGE
Lloh11:
ldr x9, [x9, _canvas_h@GOTPAGEOFF]
Lloh12:
ldr x9, [x9]
ldr x8, [x8, #8]
cmp x9, x8
b.ne LBB0_4
; %bb.3:
b _shrinkwrap
LBB0_4:
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.cfi_endproc
; -- End function
.comm _outline,8,3 ; @outline
.comm _showoutline,4,2 ; @showoutline
.comm _canvas_w,8,3 ; @canvas_w
.comm _page_tex,16,3 ; @page_tex
.comm _canvas_h,8,3 ; @canvas_h
.no_dead_strip _toggle_outline
.subsections_via_symbols
| AnghaBench/sumatrapdf/mupdf/platform/gl/extr_gl-main.c_toggle_outline.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fuse_ctl_add_conn ## -- Begin function fuse_ctl_add_conn
.p2align 4, 0x90
_fuse_ctl_add_conn: ## @fuse_ctl_add_conn
.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 ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _fuse_control_sb@GOTPCREL(%rip), %rax
movq (%rax), %rax
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rdi, %r15
movq (%rax), %rbx
movl (%rbx), %edi
callq _inc_nlink
movl (%r15), %edx
leaq L_.str(%rip), %rsi
leaq -80(%rbp), %r14
movq %r14, %rdi
callq _sprintf
movq _S_IFDIR@GOTPCREL(%rip), %rax
movl $320, %ecx ## imm = 0x140
orl (%rax), %ecx
movq _simple_dir_operations@GOTPCREL(%rip), %rax
movq %rax, (%rsp)
movq _simple_dir_inode_operations@GOTPCREL(%rip), %r9
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
movl $2, %r8d
callq _fuse_ctl_add_dentry
testq %rax, %rax
je LBB0_7
## %bb.3:
movq %rax, %r14
movq _S_IFREG@GOTPCREL(%rip), %r13
movl $256, %ecx ## imm = 0x100
orl (%r13), %ecx
movq _fuse_ctl_waiting_ops@GOTPCREL(%rip), %rax
movq %rax, (%rsp)
leaq L_.str.1(%rip), %rdx
movq %r14, %rdi
movq %r15, %rsi
movl $1, %r8d
xorl %r9d, %r9d
callq _fuse_ctl_add_dentry
testq %rax, %rax
je LBB0_7
## %bb.4:
movl $128, %ecx
orl (%r13), %ecx
movq _fuse_ctl_abort_ops@GOTPCREL(%rip), %rax
movq %rax, (%rsp)
leaq L_.str.2(%rip), %rdx
movq %r14, %rdi
movq %r15, %rsi
movl $1, %r8d
xorl %r9d, %r9d
callq _fuse_ctl_add_dentry
testq %rax, %rax
je LBB0_7
## %bb.5:
movl $384, %r12d ## imm = 0x180
movl (%r13), %ecx
orl %r12d, %ecx
movq _fuse_conn_max_background_ops@GOTPCREL(%rip), %rax
movq %rax, (%rsp)
leaq L_.str.3(%rip), %rdx
xorl %ebx, %ebx
movq %r14, %rdi
movq %r15, %rsi
movl $1, %r8d
xorl %r9d, %r9d
callq _fuse_ctl_add_dentry
testq %rax, %rax
je LBB0_7
## %bb.6:
orl (%r13), %r12d
movq _fuse_conn_congestion_threshold_ops@GOTPCREL(%rip), %rax
movq %rax, (%rsp)
leaq L_.str.4(%rip), %rdx
movq %r14, %rdi
movq %r15, %rsi
movl %r12d, %ecx
movl $1, %r8d
xorl %r9d, %r9d
callq _fuse_ctl_add_dentry
testq %rax, %rax
jne LBB0_8
LBB0_7:
movq %r15, %rdi
callq _fuse_ctl_remove_conn
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
jmp LBB0_8
LBB0_1:
xorl %ebx, %ebx
LBB0_8:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_10
## %bb.9:
movl %ebx, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_10:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _fuse_control_sb,8,3 ## @fuse_control_sb
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%u"
.comm _S_IFDIR,4,2 ## @S_IFDIR
.comm _simple_dir_inode_operations,4,2 ## @simple_dir_inode_operations
.comm _simple_dir_operations,4,2 ## @simple_dir_operations
L_.str.1: ## @.str.1
.asciz "waiting"
.comm _S_IFREG,4,2 ## @S_IFREG
.comm _fuse_ctl_waiting_ops,4,2 ## @fuse_ctl_waiting_ops
L_.str.2: ## @.str.2
.asciz "abort"
.comm _fuse_ctl_abort_ops,4,2 ## @fuse_ctl_abort_ops
L_.str.3: ## @.str.3
.asciz "max_background"
.comm _fuse_conn_max_background_ops,4,2 ## @fuse_conn_max_background_ops
L_.str.4: ## @.str.4
.asciz "congestion_threshold"
.comm _fuse_conn_congestion_threshold_ops,4,2 ## @fuse_conn_congestion_threshold_ops
.comm _ENOMEM,4,2 ## @ENOMEM
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fuse_ctl_add_conn ; -- Begin function fuse_ctl_add_conn
.p2align 2
_fuse_ctl_add_conn: ; @fuse_ctl_add_conn
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
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
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #40]
Lloh3:
adrp x8, _fuse_control_sb@GOTPAGE
Lloh4:
ldr x8, [x8, _fuse_control_sb@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
cbz x8, LBB0_6
; %bb.1:
mov x19, x0
ldr x20, [x8]
ldr w0, [x20]
bl _inc_nlink
ldr w2, [x19]
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
add x0, sp, #8
bl _sprintf
Lloh8:
adrp x8, _S_IFDIR@GOTPAGE
Lloh9:
ldr x8, [x8, _S_IFDIR@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
mov w9, #320
orr w3, w8, w9
Lloh11:
adrp x5, _simple_dir_inode_operations@GOTPAGE
Lloh12:
ldr x5, [x5, _simple_dir_inode_operations@GOTPAGEOFF]
Lloh13:
adrp x6, _simple_dir_operations@GOTPAGE
Lloh14:
ldr x6, [x6, _simple_dir_operations@GOTPAGEOFF]
add x2, sp, #8
mov x0, x20
mov x1, x19
mov w4, #2
bl _fuse_ctl_add_dentry
cbz x0, LBB0_7
; %bb.2:
mov x20, x0
Lloh15:
adrp x21, _S_IFREG@GOTPAGE
Lloh16:
ldr x21, [x21, _S_IFREG@GOTPAGEOFF]
ldr w8, [x21]
orr w3, w8, #0x100
Lloh17:
adrp x2, l_.str.1@PAGE
Lloh18:
add x2, x2, l_.str.1@PAGEOFF
Lloh19:
adrp x6, _fuse_ctl_waiting_ops@GOTPAGE
Lloh20:
ldr x6, [x6, _fuse_ctl_waiting_ops@GOTPAGEOFF]
mov x1, x19
mov w4, #1
mov x5, #0
bl _fuse_ctl_add_dentry
cbz x0, LBB0_7
; %bb.3:
ldr w8, [x21]
orr w3, w8, #0x80
Lloh21:
adrp x2, l_.str.2@PAGE
Lloh22:
add x2, x2, l_.str.2@PAGEOFF
Lloh23:
adrp x6, _fuse_ctl_abort_ops@GOTPAGE
Lloh24:
ldr x6, [x6, _fuse_ctl_abort_ops@GOTPAGEOFF]
mov x0, x20
mov x1, x19
mov w4, #1
mov x5, #0
bl _fuse_ctl_add_dentry
cbz x0, LBB0_7
; %bb.4:
ldr w8, [x21]
orr w3, w8, #0x180
Lloh25:
adrp x2, l_.str.3@PAGE
Lloh26:
add x2, x2, l_.str.3@PAGEOFF
Lloh27:
adrp x6, _fuse_conn_max_background_ops@GOTPAGE
Lloh28:
ldr x6, [x6, _fuse_conn_max_background_ops@GOTPAGEOFF]
mov x0, x20
mov x1, x19
mov w4, #1
mov x5, #0
bl _fuse_ctl_add_dentry
cbz x0, LBB0_7
; %bb.5:
ldr w8, [x21]
orr w3, w8, #0x180
Lloh29:
adrp x2, l_.str.4@PAGE
Lloh30:
add x2, x2, l_.str.4@PAGEOFF
Lloh31:
adrp x6, _fuse_conn_congestion_threshold_ops@GOTPAGE
Lloh32:
ldr x6, [x6, _fuse_conn_congestion_threshold_ops@GOTPAGEOFF]
mov x0, x20
mov x1, x19
mov w4, #1
mov x5, #0
bl _fuse_ctl_add_dentry
cbz x0, LBB0_7
LBB0_6:
mov w0, #0
b LBB0_8
LBB0_7:
mov x0, x19
bl _fuse_ctl_remove_conn
Lloh33:
adrp x8, _ENOMEM@GOTPAGE
Lloh34:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh35:
ldr w8, [x8]
neg w0, w8
LBB0_8:
ldr x8, [sp, #40]
Lloh36:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh37:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh38:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_10
; %bb.9:
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
add sp, sp, #96
ret
LBB0_10:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpLdrGot Lloh27, Lloh28
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGot Lloh31, Lloh32
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.cfi_endproc
; -- End function
.comm _fuse_control_sb,8,3 ; @fuse_control_sb
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%u"
.comm _S_IFDIR,4,2 ; @S_IFDIR
.comm _simple_dir_inode_operations,4,2 ; @simple_dir_inode_operations
.comm _simple_dir_operations,4,2 ; @simple_dir_operations
l_.str.1: ; @.str.1
.asciz "waiting"
.comm _S_IFREG,4,2 ; @S_IFREG
.comm _fuse_ctl_waiting_ops,4,2 ; @fuse_ctl_waiting_ops
l_.str.2: ; @.str.2
.asciz "abort"
.comm _fuse_ctl_abort_ops,4,2 ; @fuse_ctl_abort_ops
l_.str.3: ; @.str.3
.asciz "max_background"
.comm _fuse_conn_max_background_ops,4,2 ; @fuse_conn_max_background_ops
l_.str.4: ; @.str.4
.asciz "congestion_threshold"
.comm _fuse_conn_congestion_threshold_ops,4,2 ; @fuse_conn_congestion_threshold_ops
.comm _ENOMEM,4,2 ; @ENOMEM
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/fuse/extr_control.c_fuse_ctl_add_conn.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function do_load_xattr_datum
_do_load_xattr_datum: ## @do_load_xattr_datum
.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, %r15
movq %rdi, %r14
movl 52(%rsi), %edi
callq _ref_flags
movq _REF_PRISTINE@GOTPCREL(%rip), %rcx
xorl %edi, %edi
cmpq (%rcx), %rax
setne %dil
callq _BUG_ON
leaq 44(%r15), %rbx
movq %rbx, %rdi
callq _list_empty
xorl %edi, %edi
testl %eax, %eax
sete %dil
callq _BUG_ON
movslq (%r15), %rax
movslq 4(%r15), %rcx
leaq (%rax,%rcx), %r13
incq %r13
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r13, %rdi
callq _kmalloc
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %r12
movq %rbx, -48(%rbp) ## 8-byte Spill
movl 52(%r15), %edi
callq _ref_offset
## kill: def $eax killed $eax def $rax
leal 4(%rax), %esi
leaq -64(%rbp), %rcx
movq %r14, -56(%rbp) ## 8-byte Spill
movq %r14, %rdi
movq %r13, %rdx
movq %r12, %r8
callq _jffs2_flash_read
movl %eax, %r14d
movq -64(%rbp), %rcx
testl %eax, %eax
sete %al
jne LBB0_4
## %bb.3:
cmpq %r13, %rcx
jne LBB0_4
## %bb.5:
movslq (%r15), %rax
movb $0, (%r12,%rax)
xorl %edi, %edi
movq %r12, %rsi
movq %r13, %rdx
callq _crc32
cmpq 8(%r15), %rax
jne LBB0_6
## %bb.7:
movq _JFFS2_XFLAGS_HOT@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 48(%r15)
movq %r12, 16(%r15)
movslq (%r15), %rax
leaq (%r12,%rax), %rdx
incq %rdx
movq %rdx, 24(%r15)
movq -56(%rbp), %r14 ## 8-byte Reload
addq %r13, (%r14)
movl 4(%r15), %ecx
movl 36(%r15), %edi
movq %r12, %rsi
callq _xattr_datum_hashkey
movl %eax, 32(%r15)
movq _XATTRINDEX_HASHSIZE@GOTPCREL(%rip), %rbx
cltd
idivl (%rbx)
movslq %edx, %rsi
shlq $2, %rsi
addq 8(%r14), %rsi
movq -48(%rbp), %rdi ## 8-byte Reload
callq _list_add
movq %r14, %rdi
callq _reclaim_xattr_datum
movq 16(%r15), %rcx
testq %rcx, %rcx
je LBB0_8
LBB0_13:
movl 36(%r15), %edx
movl 40(%r15), %esi
leaq L_.str.2(%rip), %rdi
callq _dbg_xattr
xorl %ebx, %ebx
jmp LBB0_14
LBB0_8:
movslq (%r15), %rax
movslq 4(%r15), %rcx
leaq (%rax,%rcx), %r13
incq %r13
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r13, %rdi
callq _kmalloc
testq %rax, %rax
je LBB0_1
## %bb.9:
movq %rax, %r12
movl 52(%r15), %edi
callq _ref_offset
## kill: def $eax killed $eax def $rax
leal 4(%rax), %esi
leaq -64(%rbp), %rcx
movq %r14, %rdi
movq %r13, %rdx
movq %r12, %r8
callq _jffs2_flash_read
movl %eax, %r14d
movq -64(%rbp), %rcx
testl %eax, %eax
sete %al
jne LBB0_4
## %bb.10:
cmpq %r13, %rcx
jne LBB0_4
## %bb.11:
movslq (%r15), %rax
movb $0, (%r12,%rax)
xorl %edi, %edi
movq %r12, %rsi
movq %r13, %rdx
callq _crc32
cmpq 8(%r15), %rax
jne LBB0_6
## %bb.12:
movq _JFFS2_XFLAGS_HOT@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 48(%r15)
movq %r12, 16(%r15)
movslq (%r15), %rax
leaq (%r12,%rax), %rdx
incq %rdx
movq %rdx, 24(%r15)
movq -56(%rbp), %r14 ## 8-byte Reload
addq %r13, (%r14)
movl 4(%r15), %ecx
movl 36(%r15), %edi
movq %r12, %rsi
callq _xattr_datum_hashkey
movl %eax, 32(%r15)
cltd
idivl (%rbx)
movslq %edx, %rsi
shlq $2, %rsi
addq 8(%r14), %rsi
movq -48(%rbp), %rdi ## 8-byte Reload
callq _list_add
movq 16(%r15), %rcx
jmp LBB0_13
LBB0_1:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
jmp LBB0_14
LBB0_4:
movq %rcx, -48(%rbp) ## 8-byte Spill
movb %al, -56(%rbp) ## 1-byte Spill
movl 52(%r15), %edi
callq _ref_offset
leaq L_.str(%rip), %rdi
xorl %ebx, %ebx
movl %r14d, %esi
movq %r13, %rdx
movq -48(%rbp), %rcx ## 8-byte Reload
movl %eax, %r8d
xorl %eax, %eax
callq _JFFS2_WARNING
movq %r12, %rdi
callq _kfree
movq _EIO@GOTPCREL(%rip), %rax
subl (%rax), %ebx
cmpb $0, -56(%rbp) ## 1-byte Folded Reload
cmovel %r14d, %ebx
jmp LBB0_14
LBB0_6:
movq %rax, %r14
movl 52(%r15), %edi
callq _ref_offset
movq 8(%r15), %rdx
leaq L_.str.1(%rip), %rdi
movl %eax, %esi
movq %r14, %rcx
xorl %eax, %eax
callq _JFFS2_WARNING
movq %r12, %rdi
callq _kfree
movq _JFFS2_XFLAGS_INVALID@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 48(%r15)
movq _EIO@GOTPCREL(%rip), %rax
movl (%rax), %ebx
LBB0_14:
movl %ebx, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _REF_PRISTINE,8,3 ## @REF_PRISTINE
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "jffs2_flash_read() returned %d, request=%d, readlen=%zu, at %#08x\n"
.comm _EIO,4,2 ## @EIO
L_.str.1: ## @.str.1
.asciz "node CRC failed (JFFS2_NODETYPE_XREF) at %#08x, read: 0x%08x calculated: 0x%08x\n"
.comm _JFFS2_XFLAGS_INVALID,4,2 ## @JFFS2_XFLAGS_INVALID
.comm _JFFS2_XFLAGS_HOT,4,2 ## @JFFS2_XFLAGS_HOT
.comm _XATTRINDEX_HASHSIZE,4,2 ## @XATTRINDEX_HASHSIZE
L_.str.2: ## @.str.2
.asciz "success on loading xdatum (xid=%u, xprefix=%u, xname='%s')\n"
.no_dead_strip _do_load_xattr_datum
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function do_load_xattr_datum
_do_load_xattr_datum: ; @do_load_xattr_datum
.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, #52]
bl _ref_flags
Lloh0:
adrp x8, _REF_PRISTINE@GOTPAGE
Lloh1:
ldr x8, [x8, _REF_PRISTINE@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x0, x8
cset w0, ne
bl _BUG_ON
add x22, x19, #44
mov x0, x22
bl _list_empty
cmp w0, #0
cset w0, eq
bl _BUG_ON
ldpsw x8, x9, [x19]
add x8, x8, x9
add x23, x8, #1
Lloh3:
adrp x28, _GFP_KERNEL@GOTPAGE
Lloh4:
ldr x28, [x28, _GFP_KERNEL@GOTPAGEOFF]
ldr w1, [x28]
mov x0, x23
bl _kmalloc
cbz x0, LBB0_12
; %bb.1:
mov x21, x0
ldr w0, [x19, #52]
bl _ref_offset
add w1, w0, #4
add x3, sp, #8
mov x0, x20
mov x2, x23
mov x4, x21
bl _jffs2_flash_read
cmp w0, #0
cset w26, eq
ldr x25, [sp, #8]
ccmp x25, x23, #0, eq
b.eq LBB0_4
; %bb.2:
mov x24, x0
LBB0_3:
ldr w0, [x19, #52]
bl _ref_offset
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
Lloh5:
adrp x0, l_.str@PAGE
Lloh6:
add x0, x0, l_.str@PAGEOFF
mov x1, x24
mov x2, x23
mov x3, x25
bl _JFFS2_WARNING
mov x0, x21
bl _kfree
Lloh7:
adrp x8, _EIO@GOTPAGE
Lloh8:
ldr x8, [x8, _EIO@GOTPAGEOFF]
Lloh9:
ldr w8, [x8]
cmp w26, #0
csneg w0, w24, w8, eq
b LBB0_14
LBB0_4:
ldrsw x8, [x19]
strb wzr, [x21, x8]
mov w0, #0
mov x1, x21
mov x2, x23
bl _crc32
ldr x8, [x19, #8]
cmp x0, x8
b.ne LBB0_13
; %bb.5:
Lloh10:
adrp x24, _JFFS2_XFLAGS_HOT@GOTPAGE
Lloh11:
ldr x24, [x24, _JFFS2_XFLAGS_HOT@GOTPAGEOFF]
ldr w8, [x24]
ldr w9, [x19, #48]
orr w8, w9, w8
str w8, [x19, #48]
ldr x8, [x20]
add x8, x8, x23
ldp w9, w3, [x19]
; kill: def $w9 killed $w9 def $x9
sxtw x9, w9
add x9, x21, x9
add x2, x9, #1
stp x21, x2, [x19, #16]
str x8, [x20]
ldr w0, [x19, #36]
mov x1, x21
bl _xattr_datum_hashkey
Lloh12:
adrp x27, _XATTRINDEX_HASHSIZE@GOTPAGE
Lloh13:
ldr x27, [x27, _XATTRINDEX_HASHSIZE@GOTPAGEOFF]
str w0, [x19, #32]
ldr w8, [x27]
sdiv w9, w0, w8
msub w8, w9, w8, w0
ldr x9, [x20, #8]
add x1, x9, w8, sxtw #2
mov x0, x22
bl _list_add
mov x0, x20
bl _reclaim_xattr_datum
ldr x3, [x19, #16]
cbz x3, LBB0_7
LBB0_6:
ldp w2, w1, [x19, #36]
Lloh14:
adrp x0, l_.str.2@PAGE
Lloh15:
add x0, x0, l_.str.2@PAGEOFF
bl _dbg_xattr
mov w0, #0
b LBB0_14
LBB0_7:
ldpsw x8, x9, [x19]
add x8, x8, x9
add x23, x8, #1
ldr w1, [x28]
mov x0, x23
bl _kmalloc
cbz x0, LBB0_12
; %bb.8:
mov x21, x0
mov x28, x24
ldr w0, [x19, #52]
bl _ref_offset
add w1, w0, #4
add x3, sp, #8
mov x0, x20
mov x2, x23
mov x4, x21
bl _jffs2_flash_read
mov x24, x0
cmp w0, #0
cset w26, eq
ldr x25, [sp, #8]
cbnz w0, LBB0_3
; %bb.9:
cmp x25, x23
b.ne LBB0_3
; %bb.10:
ldrsw x8, [x19]
strb wzr, [x21, x8]
mov w0, #0
mov x1, x21
mov x2, x23
bl _crc32
ldr x8, [x19, #8]
cmp x0, x8
b.ne LBB0_13
; %bb.11:
ldr w8, [x28]
ldr w9, [x19, #48]
orr w8, w9, w8
str w8, [x19, #48]
ldp w8, w3, [x19]
; kill: def $w8 killed $w8 def $x8
sxtw x8, w8
add x8, x21, x8
add x2, x8, #1
stp x21, x2, [x19, #16]
ldr x8, [x20]
add x8, x8, x23
str x8, [x20]
ldr w0, [x19, #36]
mov x1, x21
bl _xattr_datum_hashkey
str w0, [x19, #32]
ldr w8, [x27]
sdiv w9, w0, w8
msub w8, w9, w8, w0
ldr x9, [x20, #8]
add x1, x9, w8, sxtw #2
mov x0, x22
bl _list_add
ldr x3, [x19, #16]
b LBB0_6
LBB0_12:
Lloh16:
adrp x8, _ENOMEM@GOTPAGE
Lloh17:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh18:
ldr w8, [x8]
neg w0, w8
b LBB0_14
LBB0_13:
mov x24, x0
ldr w0, [x19, #52]
bl _ref_offset
mov x1, x0
ldr x2, [x19, #8]
Lloh19:
adrp x0, l_.str.1@PAGE
Lloh20:
add x0, x0, l_.str.1@PAGEOFF
mov x3, x24
bl _JFFS2_WARNING
mov x0, x21
bl _kfree
Lloh21:
adrp x8, _JFFS2_XFLAGS_INVALID@GOTPAGE
Lloh22:
ldr x8, [x8, _JFFS2_XFLAGS_INVALID@GOTPAGEOFF]
Lloh23:
ldr w8, [x8]
ldr w9, [x19, #48]
orr w8, w9, w8
str w8, [x19, #48]
Lloh24:
adrp x8, _EIO@GOTPAGE
Lloh25:
ldr x8, [x8, _EIO@GOTPAGEOFF]
Lloh26:
ldr w0, [x8]
LBB0_14:
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 Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpAdd Lloh19, Lloh20
.cfi_endproc
; -- End function
.comm _REF_PRISTINE,8,3 ; @REF_PRISTINE
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "jffs2_flash_read() returned %d, request=%d, readlen=%zu, at %#08x\n"
.comm _EIO,4,2 ; @EIO
l_.str.1: ; @.str.1
.asciz "node CRC failed (JFFS2_NODETYPE_XREF) at %#08x, read: 0x%08x calculated: 0x%08x\n"
.comm _JFFS2_XFLAGS_INVALID,4,2 ; @JFFS2_XFLAGS_INVALID
.comm _JFFS2_XFLAGS_HOT,4,2 ; @JFFS2_XFLAGS_HOT
.comm _XATTRINDEX_HASHSIZE,4,2 ; @XATTRINDEX_HASHSIZE
l_.str.2: ; @.str.2
.asciz "success on loading xdatum (xid=%u, xprefix=%u, xname='%s')\n"
.no_dead_strip _do_load_xattr_datum
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/jffs2/extr_xattr.c_do_load_xattr_datum.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mthca_icm_size
_mthca_icm_size: ## @mthca_icm_size
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rax
movq 8(%rdi), %rcx
shlq $2, %rax
addq (%rcx), %rax
movq %rax, %rdi
popq %rbp
jmp _sg_dma_len ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _mthca_icm_size
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mthca_icm_size
_mthca_icm_size: ; @mthca_icm_size
.cfi_startproc
; %bb.0:
ldp x9, x8, [x0]
ldr x8, [x8]
add x0, x8, x9, lsl #2
b _sg_dma_len
.cfi_endproc
; -- End function
.no_dead_strip _mthca_icm_size
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/infiniband/hw/mthca/extr_mthca_memfree.h_mthca_icm_size.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cpufreq_boost_online
_cpufreq_boost_online: ## @cpufreq_boost_online
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _acpi_cpufreq_driver@GOTPCREL(%rip), %rax
movl (%rax), %edi
popq %rbp
jmp _boost_set_msr ## TAILCALL
.cfi_endproc
## -- End function
.comm _acpi_cpufreq_driver,4,2 ## @acpi_cpufreq_driver
.no_dead_strip _cpufreq_boost_online
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cpufreq_boost_online
_cpufreq_boost_online: ; @cpufreq_boost_online
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _acpi_cpufreq_driver@GOTPAGE
Lloh1:
ldr x8, [x8, _acpi_cpufreq_driver@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
b _boost_set_msr
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _acpi_cpufreq_driver,4,2 ; @acpi_cpufreq_driver
.no_dead_strip _cpufreq_boost_online
.subsections_via_symbols
| AnghaBench/linux/drivers/cpufreq/extr_acpi-cpufreq.c_cpufreq_boost_online.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function A5XX_SSBO_2_0_BASE_LO
_A5XX_SSBO_2_0_BASE_LO: ## @A5XX_SSBO_2_0_BASE_LO
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, %eax
movq _A5XX_SSBO_2_0_BASE_LO__SHIFT@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
shll %cl, %eax
movq _A5XX_SSBO_2_0_BASE_LO__MASK@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _A5XX_SSBO_2_0_BASE_LO__SHIFT,4,2 ## @A5XX_SSBO_2_0_BASE_LO__SHIFT
.comm _A5XX_SSBO_2_0_BASE_LO__MASK,4,2 ## @A5XX_SSBO_2_0_BASE_LO__MASK
.no_dead_strip _A5XX_SSBO_2_0_BASE_LO
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function A5XX_SSBO_2_0_BASE_LO
_A5XX_SSBO_2_0_BASE_LO: ; @A5XX_SSBO_2_0_BASE_LO
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _A5XX_SSBO_2_0_BASE_LO__SHIFT@GOTPAGE
Lloh1:
ldr x8, [x8, _A5XX_SSBO_2_0_BASE_LO__SHIFT@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
lsl w8, w0, w8
Lloh3:
adrp x9, _A5XX_SSBO_2_0_BASE_LO__MASK@GOTPAGE
Lloh4:
ldr x9, [x9, _A5XX_SSBO_2_0_BASE_LO__MASK@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
and w0, w8, w9
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _A5XX_SSBO_2_0_BASE_LO__SHIFT,4,2 ; @A5XX_SSBO_2_0_BASE_LO__SHIFT
.comm _A5XX_SSBO_2_0_BASE_LO__MASK,4,2 ; @A5XX_SSBO_2_0_BASE_LO__MASK
.no_dead_strip _A5XX_SSBO_2_0_BASE_LO
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_SSBO_2_0_BASE_LO.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __libctf_init ## -- Begin function _libctf_init
.p2align 4, 0x90
__libctf_init: ## @_libctf_init
.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
movq __libctf_debug@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
xorl %eax, %eax
callq _getpagesize
movq __PAGESIZE@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
negl %eax
movq __PAGEMASK@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "LIBCTF_DEBUG"
.comm __libctf_debug,4,2 ## @_libctf_debug
.comm __PAGESIZE,4,2 ## @_PAGESIZE
.comm __PAGEMASK,4,2 ## @_PAGEMASK
.comm __libctf_zlib,8,3 ## @_libctf_zlib
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __libctf_init ; -- Begin function _libctf_init
.p2align 2
__libctf_init: ; @_libctf_init
.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 w8, ne
Lloh2:
adrp x9, __libctf_debug@GOTPAGE
Lloh3:
ldr x9, [x9, __libctf_debug@GOTPAGEOFF]
Lloh4:
str w8, [x9]
bl _getpagesize
Lloh5:
adrp x8, __PAGESIZE@GOTPAGE
Lloh6:
ldr x8, [x8, __PAGESIZE@GOTPAGEOFF]
Lloh7:
str w0, [x8]
neg w8, w0
Lloh8:
adrp x9, __PAGEMASK@GOTPAGE
Lloh9:
ldr x9, [x9, __PAGEMASK@GOTPAGEOFF]
Lloh10:
str w8, [x9]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotStr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotStr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotStr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "LIBCTF_DEBUG"
.comm __libctf_debug,4,2 ; @_libctf_debug
.comm __PAGESIZE,4,2 ; @_PAGESIZE
.comm __PAGEMASK,4,2 ; @_PAGEMASK
.comm __libctf_zlib,8,3 ; @_libctf_zlib
.subsections_via_symbols
| AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libctf/common/extr_ctf_lib.c__libctf_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function toneport_init_leds
_toneport_init_leds: ## @toneport_init_leds
.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 (%rdi), %rbx
movq 8(%rdi), %r14
leaq 16(%rbx), %r15
movq %rdi, 8(%rbx)
movl 4(%rbx), %r12d
movq %r14, %rdi
callq _dev_name
movq _toneport_led_colors@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq (%rcx), %r8
leaq L_.str(%rip), %rdx
movl %r12d, %edi
movl $4, %esi
movq %rax, %rcx
callq _snprintf
movl 4(%rbx), %eax
movl %eax, 28(%rbx)
movq _toneport_led_init_vals@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl (%rax), %eax
movl %eax, 24(%rbx)
movl $38, 16(%rbx)
movq _toneport_led_brightness_set@GOTPCREL(%rip), %r12
movl (%r12), %eax
movl %eax, 20(%rbx)
movq %r14, %rdi
movq %r15, %rsi
callq _led_classdev_register
testl %eax, %eax
jne LBB0_3
## %bb.1:
movl $1, (%rbx)
movq (%r13), %r15
leaq 48(%r15), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movq %r13, 40(%r15)
movl 36(%r15), %ebx
movq %r14, %rdi
callq _dev_name
movq _toneport_led_colors@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq 8(%rcx), %r8
leaq L_.str(%rip), %rdx
movl %ebx, %edi
movl $4, %esi
movq %rax, %rcx
callq _snprintf
movl 36(%r15), %eax
movl %eax, 60(%r15)
movq _toneport_led_init_vals@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl 4(%rax), %eax
movl %eax, 56(%r15)
movl $38, 48(%r15)
movl (%r12), %eax
movl %eax, 52(%r15)
movq %r14, %rdi
movq -48(%rbp), %rsi ## 8-byte Reload
callq _led_classdev_register
testl %eax, %eax
jne LBB0_3
## %bb.2:
movl $1, 32(%r15)
xorl %eax, %eax
LBB0_3:
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 "%s::%s"
.comm _toneport_led_colors,8,3 ## @toneport_led_colors
.comm _toneport_led_init_vals,8,3 ## @toneport_led_init_vals
.comm _toneport_led_brightness_set,4,2 ## @toneport_led_brightness_set
.no_dead_strip _toneport_init_leds
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function toneport_init_leds
_toneport_init_leds: ; @toneport_init_leds
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x20, x0
ldp x23, x19, [x0]
str x0, [x23, #8]
ldr w21, [x23, #4]
mov x0, x19
bl _dev_name
mov x3, x0
Lloh0:
adrp x22, _toneport_led_colors@GOTPAGE
Lloh1:
ldr x22, [x22, _toneport_led_colors@GOTPAGEOFF]
ldr x8, [x22]
ldr x4, [x8]
Lloh2:
adrp x2, l_.str@PAGE
Lloh3:
add x2, x2, l_.str@PAGEOFF
mov x0, x21
mov w1, #4
bl _snprintf
ldr w8, [x23, #4]
str w8, [x23, #28]
Lloh4:
adrp x21, _toneport_led_init_vals@GOTPAGE
Lloh5:
ldr x21, [x21, _toneport_led_init_vals@GOTPAGEOFF]
ldr x8, [x21]
ldr w8, [x8]
mov w24, #38
mov x1, x23
str w24, [x1, #16]!
Lloh6:
adrp x25, _toneport_led_brightness_set@GOTPAGE
Lloh7:
ldr x25, [x25, _toneport_led_brightness_set@GOTPAGEOFF]
ldr w9, [x25]
stp w9, w8, [x23, #20]
mov x0, x19
bl _led_classdev_register
cbnz w0, LBB0_3
; %bb.1:
mov w26, #1
str w26, [x23]
ldr x23, [x20]
str x20, [x23, #40]
ldr w20, [x23, #36]
mov x0, x19
bl _dev_name
mov x3, x0
ldr x8, [x22]
ldr x4, [x8, #8]
Lloh8:
adrp x2, l_.str@PAGE
Lloh9:
add x2, x2, l_.str@PAGEOFF
mov x0, x20
mov w1, #4
bl _snprintf
ldr w8, [x23, #36]
str w8, [x23, #60]
ldr x8, [x21]
ldr w8, [x8, #4]
mov x1, x23
str w24, [x1, #48]!
ldr w9, [x25]
stp w9, w8, [x23, #52]
mov x0, x19
bl _led_classdev_register
cbnz w0, LBB0_3
; %bb.2:
str w26, [x23, #32]
LBB0_3:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s::%s"
.comm _toneport_led_colors,8,3 ; @toneport_led_colors
.comm _toneport_led_init_vals,8,3 ; @toneport_led_init_vals
.comm _toneport_led_brightness_set,4,2 ; @toneport_led_brightness_set
.no_dead_strip _toneport_init_leds
.subsections_via_symbols
| AnghaBench/linux/sound/usb/line6/extr_toneport.c_toneport_init_leds.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pmac_auto_mute_put
_pmac_auto_mute_put: ## @pmac_auto_mute_put
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rsi, %rbx
callq _snd_kcontrol_chip
movq (%rbx), %rcx
movl (%rcx), %ecx
xorl %ebx, %ebx
cmpl (%rax), %ecx
je LBB0_3
## %bb.1:
xorl %edx, %edx
testl %ecx, %ecx
setne %dl
movl %edx, (%rax)
movq 8(%rax), %rcx
movl $1, %ebx
testq %rcx, %rcx
je LBB0_3
## %bb.2:
movq %rax, %rdi
movl $1, %esi
callq *%rcx
LBB0_3:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _pmac_auto_mute_put
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pmac_auto_mute_put
_pmac_auto_mute_put: ; @pmac_auto_mute_put
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
bl _snd_kcontrol_chip
ldr x8, [x19]
ldr w8, [x8]
ldr w9, [x0]
cmp w8, w9
b.ne LBB0_2
; %bb.1:
mov w19, #0
b LBB0_5
LBB0_2:
cmp w8, #0
cset w8, ne
str w8, [x0]
ldr x8, [x0, #8]
cbz x8, LBB0_4
; %bb.3:
mov w19, #1
mov w1, #1
blr x8
b LBB0_5
LBB0_4:
mov w19, #1
LBB0_5:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _pmac_auto_mute_put
.subsections_via_symbols
| AnghaBench/linux/sound/ppc/extr_pmac.c_pmac_auto_mute_put.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ocfs2_init_inode_steal_slot
_ocfs2_init_inode_steal_slot: ## @ocfs2_init_inode_steal_slot
.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
leaq 4(%rdi), %r14
movq %r14, %rdi
callq _spin_lock
movq _OCFS2_INVALID_SLOT@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 8(%rbx)
movq %r14, %rdi
callq _spin_unlock
movq %rbx, %rdi
xorl %esi, %esi
popq %rbx
popq %r14
popq %rbp
jmp _atomic_set ## TAILCALL
.cfi_endproc
## -- End function
.comm _OCFS2_INVALID_SLOT,4,2 ## @OCFS2_INVALID_SLOT
.no_dead_strip _ocfs2_init_inode_steal_slot
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ocfs2_init_inode_steal_slot
_ocfs2_init_inode_steal_slot: ; @ocfs2_init_inode_steal_slot
.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
add x20, x0, #4
mov x0, x20
bl _spin_lock
Lloh0:
adrp x8, _OCFS2_INVALID_SLOT@GOTPAGE
Lloh1:
ldr x8, [x8, _OCFS2_INVALID_SLOT@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [x19, #8]
mov x0, x20
bl _spin_unlock
mov x0, x19
mov w1, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _atomic_set
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _OCFS2_INVALID_SLOT,4,2 ; @OCFS2_INVALID_SLOT
.no_dead_strip _ocfs2_init_inode_steal_slot
.subsections_via_symbols
| AnghaBench/linux/fs/ocfs2/extr_suballoc.c_ocfs2_init_inode_steal_slot.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _is_transparent ## -- Begin function is_transparent
.p2align 4, 0x90
_is_transparent: ## @is_transparent
.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 $1, %ebx
cmpl $130, %edi
je LBB0_3
## %bb.1:
callq _ABS
movl %eax, %r14d
movl %eax, %edi
callq _is_plant
testq %rax, %rax
jne LBB0_3
## %bb.2:
addl $-128, %r14d
xorl %ebx, %ebx
cmpl $3, %r14d
setb %bl
LBB0_3:
movl %ebx, %eax
popq %rbx
popq %r14
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_transparent ; -- Begin function is_transparent
.p2align 2
_is_transparent: ; @is_transparent
.cfi_startproc
; %bb.0:
cmp w0, #130
b.ne LBB0_2
; %bb.1:
mov w0, #1
ret
LBB0_2:
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 _ABS
mov x19, x0
bl _is_plant
mov w8, #1
sub w9, w19, #128
cmp w9, #3
cset w9, lo
cmp x0, #0
csel w0, w8, w9, ne
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Craft/src/extr_item.c_is_transparent.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mt8183_afe_disable_clock ## -- Begin function mt8183_afe_disable_clock
.p2align 4, 0x90
_mt8183_afe_disable_clock: ## @mt8183_afe_disable_clock
.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 (%rbx), %rax
movq _CLK_I2S4_BCLK_SW@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl (%rax,%rcx,4), %edi
callq _clk_disable_unprepare
movq (%rbx), %rax
movq _CLK_I2S3_BCLK_SW@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl (%rax,%rcx,4), %edi
callq _clk_disable_unprepare
movq (%rbx), %rax
movq _CLK_I2S2_BCLK_SW@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl (%rax,%rcx,4), %edi
callq _clk_disable_unprepare
movq (%rbx), %rax
movq _CLK_I2S1_BCLK_SW@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl (%rax,%rcx,4), %edi
callq _clk_disable_unprepare
movq (%rbx), %rax
movq _CLK_AFE@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl (%rax,%rcx,4), %edi
callq _clk_disable_unprepare
movq (%rbx), %rax
movq _CLK_MUX_AUDIOINTBUS@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl (%rax,%rcx,4), %edi
callq _clk_disable_unprepare
movq (%rbx), %rax
movq _CLK_MUX_AUDIO@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl (%rax,%rcx,4), %edi
callq _clk_disable_unprepare
movq (%rbx), %rax
movq _CLK_INFRA_SYS_AUDIO@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl (%rax,%rcx,4), %edi
callq _clk_disable_unprepare
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CLK_I2S4_BCLK_SW,8,3 ## @CLK_I2S4_BCLK_SW
.comm _CLK_I2S3_BCLK_SW,8,3 ## @CLK_I2S3_BCLK_SW
.comm _CLK_I2S2_BCLK_SW,8,3 ## @CLK_I2S2_BCLK_SW
.comm _CLK_I2S1_BCLK_SW,8,3 ## @CLK_I2S1_BCLK_SW
.comm _CLK_AFE,8,3 ## @CLK_AFE
.comm _CLK_MUX_AUDIOINTBUS,8,3 ## @CLK_MUX_AUDIOINTBUS
.comm _CLK_MUX_AUDIO,8,3 ## @CLK_MUX_AUDIO
.comm _CLK_INFRA_SYS_AUDIO,8,3 ## @CLK_INFRA_SYS_AUDIO
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mt8183_afe_disable_clock ; -- Begin function mt8183_afe_disable_clock
.p2align 2
_mt8183_afe_disable_clock: ; @mt8183_afe_disable_clock
.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 x19, [x0]
ldr x8, [x19]
Lloh0:
adrp x9, _CLK_I2S4_BCLK_SW@GOTPAGE
Lloh1:
ldr x9, [x9, _CLK_I2S4_BCLK_SW@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
ldr w0, [x8, x9, lsl #2]
bl _clk_disable_unprepare
ldr x8, [x19]
Lloh3:
adrp x9, _CLK_I2S3_BCLK_SW@GOTPAGE
Lloh4:
ldr x9, [x9, _CLK_I2S3_BCLK_SW@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
ldr w0, [x8, x9, lsl #2]
bl _clk_disable_unprepare
ldr x8, [x19]
Lloh6:
adrp x9, _CLK_I2S2_BCLK_SW@GOTPAGE
Lloh7:
ldr x9, [x9, _CLK_I2S2_BCLK_SW@GOTPAGEOFF]
Lloh8:
ldr x9, [x9]
ldr w0, [x8, x9, lsl #2]
bl _clk_disable_unprepare
ldr x8, [x19]
Lloh9:
adrp x9, _CLK_I2S1_BCLK_SW@GOTPAGE
Lloh10:
ldr x9, [x9, _CLK_I2S1_BCLK_SW@GOTPAGEOFF]
Lloh11:
ldr x9, [x9]
ldr w0, [x8, x9, lsl #2]
bl _clk_disable_unprepare
ldr x8, [x19]
Lloh12:
adrp x9, _CLK_AFE@GOTPAGE
Lloh13:
ldr x9, [x9, _CLK_AFE@GOTPAGEOFF]
Lloh14:
ldr x9, [x9]
ldr w0, [x8, x9, lsl #2]
bl _clk_disable_unprepare
ldr x8, [x19]
Lloh15:
adrp x9, _CLK_MUX_AUDIOINTBUS@GOTPAGE
Lloh16:
ldr x9, [x9, _CLK_MUX_AUDIOINTBUS@GOTPAGEOFF]
Lloh17:
ldr x9, [x9]
ldr w0, [x8, x9, lsl #2]
bl _clk_disable_unprepare
ldr x8, [x19]
Lloh18:
adrp x9, _CLK_MUX_AUDIO@GOTPAGE
Lloh19:
ldr x9, [x9, _CLK_MUX_AUDIO@GOTPAGEOFF]
Lloh20:
ldr x9, [x9]
ldr w0, [x8, x9, lsl #2]
bl _clk_disable_unprepare
ldr x8, [x19]
Lloh21:
adrp x9, _CLK_INFRA_SYS_AUDIO@GOTPAGE
Lloh22:
ldr x9, [x9, _CLK_INFRA_SYS_AUDIO@GOTPAGEOFF]
Lloh23:
ldr x9, [x9]
ldr w0, [x8, x9, lsl #2]
bl _clk_disable_unprepare
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _CLK_I2S4_BCLK_SW,8,3 ; @CLK_I2S4_BCLK_SW
.comm _CLK_I2S3_BCLK_SW,8,3 ; @CLK_I2S3_BCLK_SW
.comm _CLK_I2S2_BCLK_SW,8,3 ; @CLK_I2S2_BCLK_SW
.comm _CLK_I2S1_BCLK_SW,8,3 ; @CLK_I2S1_BCLK_SW
.comm _CLK_AFE,8,3 ; @CLK_AFE
.comm _CLK_MUX_AUDIOINTBUS,8,3 ; @CLK_MUX_AUDIOINTBUS
.comm _CLK_MUX_AUDIO,8,3 ; @CLK_MUX_AUDIO
.comm _CLK_INFRA_SYS_AUDIO,8,3 ; @CLK_INFRA_SYS_AUDIO
.subsections_via_symbols
| AnghaBench/linux/sound/soc/mediatek/mt8183/extr_mt8183-afe-clk.c_mt8183_afe_disable_clock.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _luaopen_lua_m_socket_ftp ## -- Begin function luaopen_lua_m_socket_ftp
.p2align 4, 0x90
_luaopen_lua_m_socket_ftp: ## @luaopen_lua_m_socket_ftp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _lua_m_socket_ftp@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _luaL_loadstring
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _lua_m_socket_ftp,4,2 ## @lua_m_socket_ftp
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _luaopen_lua_m_socket_ftp ; -- Begin function luaopen_lua_m_socket_ftp
.p2align 2
_luaopen_lua_m_socket_ftp: ; @luaopen_lua_m_socket_ftp
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x8, _lua_m_socket_ftp@GOTPAGE
Lloh1:
ldr x8, [x8, _lua_m_socket_ftp@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _luaL_loadstring
mov w0, #1
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _lua_m_socket_ftp,4,2 ; @lua_m_socket_ftp
.subsections_via_symbols
| AnghaBench/xLua/build/luasocket/extr_luasocket_scripts.c_luaopen_lua_m_socket_ftp.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $664, %rsp ## imm = 0x298
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -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, -48(%rbp)
movl $107, -684(%rbp)
incl -684(%rbp)
movl -684(%rbp), %esi
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
movl $3, %esi
xorl %eax, %eax
callq _printf
movq $0, -704(%rbp)
movq $10000, -696(%rbp) ## imm = 0x2710
leaq -704(%rbp), %rdi
xorl %esi, %esi
callq _nanosleep
movq _stderr@GOTPCREL(%rip), %r15
movl (%r15), %edi
leaq L_.str.2(%rip), %rsi
xorl %eax, %eax
callq _fprintf
leaq L_str(%rip), %rdi
callq _puts
leaq L_str.28(%rip), %rdi
callq _puts
leaq L_str.29(%rip), %rdi
callq _puts
movq _SIZE@GOTPCREL(%rip), %rax
movslq (%rax), %rcx
testq %rcx, %rcx
jle LBB0_7
## %bb.1:
movq %rcx, %rdx
movq %rcx, %rax
andq $3, %rdx
je LBB0_4
## %bb.2:
movq _names@GOTPCREL(%rip), %rsi
leaq L_.str.6(%rip), %rdi
movq %rcx, %rax
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq (%rsi), %r8
movq %rdi, -8(%r8,%rax,8)
decq %rax
decq %rdx
jne LBB0_3
LBB0_4:
cmpl $4, %ecx
jb LBB0_7
## %bb.5:
incq %rax
movq _names@GOTPCREL(%rip), %rcx
leaq L_.str.6(%rip), %rdx
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq (%rcx), %rsi
movq %rdx, -16(%rsi,%rax,8)
movq (%rcx), %rsi
movq %rdx, -24(%rsi,%rax,8)
movq (%rcx), %rsi
movq %rdx, -32(%rsi,%rax,8)
movq (%rcx), %rsi
movq %rdx, -40(%rsi,%rax,8)
addq $-4, %rax
cmpq $1, %rax
ja LBB0_6
LBB0_7:
cmpl $2, %ebx
jne LBB0_30
## %bb.8:
movq 8(%r14), %rdi
leaq L_.str.8(%rip), %rsi
callq _fopen
testq %rax, %rax
je LBB0_31
## %bb.9:
movq %rax, %rbx
movq _SIZE@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.10(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq -256(%rbp), %rdi
movl $200, %esi
movq %rbx, %rdx
callq _fgets
testq %rax, %rax
je LBB0_16
## %bb.10:
leaq -256(%rbp), %r15
leaq -672(%rbp), %r13
leaq -464(%rbp), %r14
leaq -680(%rbp), %r12
jmp LBB0_11
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_11 Depth=1
movq %r15, %rdi
movl $200, %esi
movq %rbx, %rdx
callq _fgets
testq %rax, %rax
je LBB0_16
LBB0_11: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
leaq L_.str.11(%rip), %rsi
leaq -673(%rbp), %rdx
movq %r13, %rcx
movq %r14, %r8
movq %r12, %r9
callq _sscanf
cmpb $35, -673(%rbp)
je LBB0_14
## %bb.12: ## in Loop: Header=BB0_11 Depth=1
cmpl $4, %eax
je LBB0_14
## %bb.13: ## in Loop: Header=BB0_11 Depth=1
movq %r13, %rdi
leaq L_.str.12(%rip), %rsi
callq _strcmp
testq %rax, %rax
jne LBB0_16
LBB0_14: ## in Loop: Header=BB0_11 Depth=1
movq %r14, %rdi
leaq L_.str.13(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_15
## %bb.23: ## in Loop: Header=BB0_11 Depth=1
movl -680(%rbp), %eax
movq _FIRSTTOKEN@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jl LBB0_15
## %bb.24: ## in Loop: Header=BB0_11 Depth=1
movq _LASTTOKEN@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jg LBB0_15
## %bb.25: ## in Loop: Header=BB0_11 Depth=1
movq %r14, %rdi
callq _strlen
leaq 1(%rax), %rdi
callq _malloc
movq _names@GOTPCREL(%rip), %rdi
movq (%rdi), %rcx
movslq -680(%rbp), %rdx
movq _FIRSTTOKEN@GOTPCREL(%rip), %rsi
movslq (%rsi), %rsi
subq %rsi, %rdx
movq %rax, (%rcx,%rdx,8)
movq (%rdi), %rax
movq (%rax,%rdx,8), %rdi
movq %r14, %rsi
callq _strcpy
movl -680(%rbp), %edx
leaq L_.str.14(%rip), %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _printf
jmp LBB0_15
LBB0_16:
leaq L_str.31(%rip), %rdi
callq _puts
movq _proc@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl (%rax), %ecx
testl %ecx, %ecx
je LBB0_19
## %bb.17:
movq _FIRSTTOKEN@GOTPCREL(%rip), %rdx
movslq (%rdx), %rdx
addq $16, %rax
movq _table@GOTPCREL(%rip), %rsi
.p2align 4, 0x90
LBB0_18: ## =>This Inner Loop Header: Depth=1
movq -8(%rax), %rdi
movq (%rsi), %r8
movslq %ecx, %rcx
subq %rdx, %rcx
movq %rdi, (%r8,%rcx,8)
movl (%rax), %ecx
addq $16, %rax
testl %ecx, %ecx
jne LBB0_18
LBB0_19:
movq _SIZE@GOTPCREL(%rip), %rbx
movl (%rbx), %esi
leaq L_.str.16(%rip), %rdi
xorl %eax, %eax
callq _printf
cmpl $0, (%rbx)
jle LBB0_28
## %bb.20:
movq _table@GOTPCREL(%rip), %r15
movq _names@GOTPCREL(%rip), %r12
leaq L_.str.17(%rip), %rbx
leaq L_.str.18(%rip), %r14
xorl %r13d, %r13d
jmp LBB0_21
.p2align 4, 0x90
LBB0_26: ## in Loop: Header=BB0_21 Depth=1
movq %r14, %rdi
xorl %eax, %eax
callq _printf
LBB0_27: ## in Loop: Header=BB0_21 Depth=1
incq %r13
movq _SIZE@GOTPCREL(%rip), %rax
movslq (%rax), %rax
cmpq %rax, %r13
jge LBB0_28
LBB0_21: ## =>This Inner Loop Header: Depth=1
movq (%r15), %rax
movq (%rax,%r13,8), %rsi
movq (%r12), %rax
movq (%rax,%r13,8), %rdx
testq %rsi, %rsi
jne LBB0_26
## %bb.22: ## in Loop: Header=BB0_21 Depth=1
movq %rbx, %rdi
movq %rdx, %rsi
xorl %eax, %eax
callq _printf
jmp LBB0_27
LBB0_28:
leaq L_str.31(%rip), %rdi
callq _puts
leaq L_str.32(%rip), %rdi
callq _puts
leaq L_str.33(%rip), %rdi
callq _puts
leaq L_str.34(%rip), %rdi
callq _puts
leaq L_str.35(%rip), %rdi
callq _puts
leaq L_.str.23(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_str.36(%rip), %rdi
callq _puts
leaq L_str.37(%rip), %rdi
callq _puts
leaq L_str.38(%rip), %rdi
callq _puts
leaq L_str.39(%rip), %rdi
callq _puts
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_32
## %bb.29:
xorl %eax, %eax
addq $664, %rsp ## imm = 0x298
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_30:
movl (%r15), %edi
leaq L_.str.7(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movl $1, %edi
callq _exit
LBB0_31:
movl (%r15), %edi
movq 8(%r14), %rdx
leaq L_.str.9(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movl $1, %edi
callq _exit
LBB0_32:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "AUGMENTATION_MARKER: Volatile var aug_volatile_var_5776 is %d\n"
L_.str.1: ## @.str.1
.asciz "AUGMENTATION_MARKER: Pointer op result: %d\n"
.comm _stderr,4,2 ## @stderr
L_.str.2: ## @.str.2
.asciz "AUGMENTATION_MARKER: Checkpoint to stderr.\n"
.comm _SIZE,4,2 ## @SIZE
L_.str.6: ## @.str.6
.space 1
.comm _names,8,3 ## @names
L_.str.7: ## @.str.7
.asciz "usage: maketab YTAB_H\n"
L_.str.8: ## @.str.8
.asciz "r"
L_.str.9: ## @.str.9
.asciz "maketab can't open %s!\n"
L_.str.10: ## @.str.10
.asciz "static char *printname[%d] = {\n"
L_.str.11: ## @.str.11
.asciz "%1c %s %s %d"
L_.str.12: ## @.str.12
.asciz "define"
L_.str.13: ## @.str.13
.asciz "YYSTYPE_IS_DECLARED"
.comm _FIRSTTOKEN,4,2 ## @FIRSTTOKEN
.comm _LASTTOKEN,4,2 ## @LASTTOKEN
L_.str.14: ## @.str.14
.asciz "\t(char *) \"%s\",\t/* %d */\n"
.comm _proc,8,3 ## @proc
.comm _table,8,3 ## @table
L_.str.16: ## @.str.16
.asciz "\nCell *(*proctab[%d])(Node **, int) = {\n"
L_.str.17: ## @.str.17
.asciz "\tnullproc,\t/* %s */\n"
L_.str.18: ## @.str.18
.asciz "\t%s,\t/* %s */\n"
L_.str.23: ## @.str.23
.asciz "\t\tsprintf(buf, \"token %%d\", n);\n"
L_str: ## @str
.asciz "#include <stdio.h>"
L_str.28: ## @str.28
.asciz "#include \"awk.h\""
L_str.29: ## @str.29
.asciz "#include \"ytab.h\"\n"
L_str.31: ## @str.31
.asciz "};\n"
L_str.32: ## @str.32
.asciz "char *tokname(int n)"
L_str.33: ## @str.33
.asciz "{"
L_str.34: ## @str.34
.asciz "\tstatic char buf[100];\n"
L_str.35: ## @str.35
.asciz "\tif (n < FIRSTTOKEN || n > LASTTOKEN) {"
L_str.36: ## @str.36
.asciz "\t\treturn buf;"
L_str.37: ## @str.37
.asciz "\t}"
L_str.38: ## @str.38
.asciz "\treturn printname[n-FIRSTTOKEN];"
L_str.39: ## @str.39
.asciz "}"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ; -- Begin function main
lCPI0_0:
.quad 0 ; 0x0
.quad 10000 ; 0x2710
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
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
sub sp, sp, #672
.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, x1
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-96]
mov w8, #107 ; =0x6b
str w8, [sp, #52]
ldr w8, [sp, #52]
add w8, w8, #1
str w8, [sp, #52]
ldr w8, [sp, #52]
str x8, [sp]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w8, #3 ; =0x3
str x8, [sp]
Lloh5:
adrp x0, l_.str.1@PAGE
Lloh6:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
Lloh7:
adrp x8, lCPI0_0@PAGE
Lloh8:
ldr q0, [x8, lCPI0_0@PAGEOFF]
str q0, [sp, #32]
add x0, sp, #32
mov x1, #0 ; =0x0
bl _nanosleep
Lloh9:
adrp x21, _stderr@GOTPAGE
Lloh10:
ldr x21, [x21, _stderr@GOTPAGEOFF]
ldr w0, [x21]
Lloh11:
adrp x1, l_.str.2@PAGE
Lloh12:
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
Lloh13:
adrp x0, l_str@PAGE
Lloh14:
add x0, x0, l_str@PAGEOFF
bl _puts
Lloh15:
adrp x0, l_str.28@PAGE
Lloh16:
add x0, x0, l_str.28@PAGEOFF
bl _puts
Lloh17:
adrp x0, l_str.29@PAGE
Lloh18:
add x0, x0, l_str.29@PAGEOFF
bl _puts
Lloh19:
adrp x24, _SIZE@GOTPAGE
Lloh20:
ldr x24, [x24, _SIZE@GOTPAGEOFF]
ldr w8, [x24]
Lloh21:
adrp x25, _names@GOTPAGE
Lloh22:
ldr x25, [x25, _names@GOTPAGEOFF]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
sub x9, x8, #1
Lloh23:
adrp x8, l_.str.6@PAGE
Lloh24:
add x8, x8, l_.str.6@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x10, [x25]
str x8, [x10, x9, lsl #3]
add x10, x9, #1
sub x9, x9, #1
cmp x10, #1
b.hi LBB0_2
LBB0_3:
cmp w19, #2
b.ne LBB0_24
; %bb.4:
ldr x0, [x20, #8]
Lloh25:
adrp x1, l_.str.8@PAGE
Lloh26:
add x1, x1, l_.str.8@PAGEOFF
bl _fopen
cbz x0, LBB0_25
; %bb.5:
mov x19, x0
ldr w8, [x24]
str x8, [sp]
Lloh27:
adrp x0, l_.str.10@PAGE
Lloh28:
add x0, x0, l_.str.10@PAGEOFF
bl _printf
add x0, sp, #456
mov w1, #200 ; =0xc8
mov x2, x19
bl _fgets
Lloh29:
adrp x26, _FIRSTTOKEN@GOTPAGE
Lloh30:
ldr x26, [x26, _FIRSTTOKEN@GOTPAGEOFF]
cbz x0, LBB0_13
; %bb.6:
Lloh31:
adrp x20, l_.str.11@PAGE
Lloh32:
add x20, x20, l_.str.11@PAGEOFF
add x27, sp, #256
Lloh33:
adrp x21, l_.str.13@PAGE
Lloh34:
add x21, x21, l_.str.13@PAGEOFF
Lloh35:
adrp x28, _LASTTOKEN@GOTPAGE
Lloh36:
ldr x28, [x28, _LASTTOKEN@GOTPAGEOFF]
Lloh37:
adrp x22, l_.str.14@PAGE
Lloh38:
add x22, x22, l_.str.14@PAGEOFF
Lloh39:
adrp x23, l_.str.12@PAGE
Lloh40:
add x23, x23, l_.str.12@PAGEOFF
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_8 Depth=1
add x0, sp, #456
mov w1, #200 ; =0xc8
mov x2, x19
bl _fgets
cbz x0, LBB0_13
LBB0_8: ; =>This Inner Loop Header: Depth=1
add x0, sp, #456
add x2, sp, #27
add x3, sp, #56
add x4, sp, #256
add x5, sp, #28
mov x1, x20
bl _sscanf
ldrb w8, [sp, #27]
cmp w8, #35
ccmp w0, #4, #4, ne
b.eq LBB0_10
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
add x0, sp, #56
mov x1, x23
bl _strcmp
cbnz x0, LBB0_13
LBB0_10: ; in Loop: Header=BB0_8 Depth=1
add x0, sp, #256
mov x1, x21
bl _strcmp
cbz x0, LBB0_7
; %bb.11: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [sp, #28]
ldr w9, [x26]
ldr w10, [x28]
cmp w8, w9
ccmp w8, w10, #0, ge
b.gt LBB0_7
; %bb.12: ; in Loop: Header=BB0_8 Depth=1
add x0, sp, #256
bl _strlen
add x0, x0, #1
bl _malloc
ldr x8, [x25]
ldr w9, [sp, #28]
ldr w10, [x26]
sub w9, w9, w10
str x0, [x8, w9, sxtw #3]
ldr x8, [x25]
ldr x0, [x8, w9, sxtw #3]
add x1, sp, #256
bl _strcpy
ldr w8, [sp, #28]
stp x27, x8, [sp]
mov x0, x22
bl _printf
b LBB0_7
LBB0_13:
Lloh41:
adrp x0, l_str.31@PAGE
Lloh42:
add x0, x0, l_str.31@PAGEOFF
bl _puts
Lloh43:
adrp x8, _proc@GOTPAGE
Lloh44:
ldr x8, [x8, _proc@GOTPAGEOFF]
Lloh45:
ldr x10, [x8]
ldr w8, [x10]
Lloh46:
adrp x21, _table@GOTPAGE
Lloh47:
ldr x21, [x21, _table@GOTPAGEOFF]
cbz w8, LBB0_16
; %bb.14:
ldr w9, [x26]
add x10, x10, #16
LBB0_15: ; =>This Inner Loop Header: Depth=1
ldur x11, [x10, #-8]
ldr x12, [x21]
sub w8, w8, w9
str x11, [x12, w8, sxtw #3]
ldr w8, [x10], #16
cbnz w8, LBB0_15
LBB0_16:
ldr w8, [x24]
str x8, [sp]
Lloh48:
adrp x0, l_.str.16@PAGE
Lloh49:
add x0, x0, l_.str.16@PAGEOFF
bl _printf
ldr w8, [x24]
cmp w8, #1
b.lt LBB0_22
; %bb.17:
mov x22, #0 ; =0x0
Lloh50:
adrp x19, l_.str.17@PAGE
Lloh51:
add x19, x19, l_.str.17@PAGEOFF
Lloh52:
adrp x20, l_.str.18@PAGE
Lloh53:
add x20, x20, l_.str.18@PAGEOFF
b LBB0_20
LBB0_18: ; in Loop: Header=BB0_20 Depth=1
stp x9, x8, [sp]
mov x0, x20
LBB0_19: ; in Loop: Header=BB0_20 Depth=1
bl _printf
add x22, x22, #1
ldrsw x8, [x24]
cmp x22, x8
b.ge LBB0_22
LBB0_20: ; =>This Inner Loop Header: Depth=1
ldr x8, [x21]
ldr x9, [x8, x22, lsl #3]
ldr x8, [x25]
ldr x8, [x8, x22, lsl #3]
cbnz x9, LBB0_18
; %bb.21: ; in Loop: Header=BB0_20 Depth=1
str x8, [sp]
mov x0, x19
b LBB0_19
LBB0_22:
Lloh54:
adrp x0, l_str.31@PAGE
Lloh55:
add x0, x0, l_str.31@PAGEOFF
bl _puts
Lloh56:
adrp x0, l_str.32@PAGE
Lloh57:
add x0, x0, l_str.32@PAGEOFF
bl _puts
Lloh58:
adrp x0, l_str.33@PAGE
Lloh59:
add x0, x0, l_str.33@PAGEOFF
bl _puts
Lloh60:
adrp x0, l_str.34@PAGE
Lloh61:
add x0, x0, l_str.34@PAGEOFF
bl _puts
Lloh62:
adrp x0, l_str.35@PAGE
Lloh63:
add x0, x0, l_str.35@PAGEOFF
bl _puts
Lloh64:
adrp x0, l_.str.23@PAGE
Lloh65:
add x0, x0, l_.str.23@PAGEOFF
bl _printf
Lloh66:
adrp x0, l_str.36@PAGE
Lloh67:
add x0, x0, l_str.36@PAGEOFF
bl _puts
Lloh68:
adrp x0, l_str.37@PAGE
Lloh69:
add x0, x0, l_str.37@PAGEOFF
bl _puts
Lloh70:
adrp x0, l_str.38@PAGE
Lloh71:
add x0, x0, l_str.38@PAGEOFF
bl _puts
Lloh72:
adrp x0, l_str.39@PAGE
Lloh73:
add x0, x0, l_str.39@PAGEOFF
bl _puts
ldur x8, [x29, #-96]
Lloh74:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh75:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh76:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_27
; %bb.23:
mov w0, #0 ; =0x0
add sp, sp, #672
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_24:
ldr w0, [x21]
Lloh77:
adrp x1, l_.str.7@PAGE
Lloh78:
add x1, x1, l_.str.7@PAGEOFF
b LBB0_26
LBB0_25:
ldr w0, [x21]
ldr x8, [x20, #8]
str x8, [sp]
Lloh79:
adrp x1, l_.str.9@PAGE
Lloh80:
add x1, x1, l_.str.9@PAGEOFF
LBB0_26:
bl _fprintf
mov w0, #1 ; =0x1
bl _exit
LBB0_27:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdr Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGot Lloh29, Lloh30
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpLdrGot Lloh35, Lloh36
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpLdrGot Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpAdd Lloh52, Lloh53
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpLdrGotLdr Lloh74, Lloh75, Lloh76
.loh AdrpAdd Lloh72, Lloh73
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpAdd Lloh64, Lloh65
.loh AdrpAdd Lloh62, Lloh63
.loh AdrpAdd Lloh60, Lloh61
.loh AdrpAdd Lloh58, Lloh59
.loh AdrpAdd Lloh56, Lloh57
.loh AdrpAdd Lloh54, Lloh55
.loh AdrpAdd Lloh77, Lloh78
.loh AdrpAdd Lloh79, Lloh80
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "AUGMENTATION_MARKER: Volatile var aug_volatile_var_5776 is %d\n"
l_.str.1: ; @.str.1
.asciz "AUGMENTATION_MARKER: Pointer op result: %d\n"
.comm _stderr,4,2 ; @stderr
l_.str.2: ; @.str.2
.asciz "AUGMENTATION_MARKER: Checkpoint to stderr.\n"
.comm _SIZE,4,2 ; @SIZE
l_.str.6: ; @.str.6
.space 1
.comm _names,8,3 ; @names
l_.str.7: ; @.str.7
.asciz "usage: maketab YTAB_H\n"
l_.str.8: ; @.str.8
.asciz "r"
l_.str.9: ; @.str.9
.asciz "maketab can't open %s!\n"
l_.str.10: ; @.str.10
.asciz "static char *printname[%d] = {\n"
l_.str.11: ; @.str.11
.asciz "%1c %s %s %d"
l_.str.12: ; @.str.12
.asciz "define"
l_.str.13: ; @.str.13
.asciz "YYSTYPE_IS_DECLARED"
.comm _FIRSTTOKEN,4,2 ; @FIRSTTOKEN
.comm _LASTTOKEN,4,2 ; @LASTTOKEN
l_.str.14: ; @.str.14
.asciz "\t(char *) \"%s\",\t/* %d */\n"
.comm _proc,8,3 ; @proc
.comm _table,8,3 ; @table
l_.str.16: ; @.str.16
.asciz "\nCell *(*proctab[%d])(Node **, int) = {\n"
l_.str.17: ; @.str.17
.asciz "\tnullproc,\t/* %s */\n"
l_.str.18: ; @.str.18
.asciz "\t%s,\t/* %s */\n"
l_.str.23: ; @.str.23
.asciz "\t\tsprintf(buf, \"token %%d\", n);\n"
l_str: ; @str
.asciz "#include <stdio.h>"
l_str.28: ; @str.28
.asciz "#include \"awk.h\""
l_str.29: ; @str.29
.asciz "#include \"ytab.h\"\n"
l_str.31: ; @str.31
.asciz "};\n"
l_str.32: ; @str.32
.asciz "char *tokname(int n)"
l_str.33: ; @str.33
.asciz "{"
l_str.34: ; @str.34
.asciz "\tstatic char buf[100];\n"
l_str.35: ; @str.35
.asciz "\tif (n < FIRSTTOKEN || n > LASTTOKEN) {"
l_str.36: ; @str.36
.asciz "\t\treturn buf;"
l_str.37: ; @str.37
.asciz "\t}"
l_str.38: ; @str.38
.asciz "\treturn printname[n-FIRSTTOKEN];"
l_str.39: ; @str.39
.asciz "}"
.subsections_via_symbols
| assembly_file_180445.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function storvsc_destroy_bounce_buffer
_storvsc_destroy_bounce_buffer: ## @storvsc_destroy_bounce_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
movq _g_hv_sgl_page_pool@GOTPCREL(%rip), %r14
leaq 4(%r14), %rbx
movq %rbx, %rdi
callq _LIST_EMPTY
testq %rax, %rax
je LBB0_2
## %bb.1:
leaq L_str(%rip), %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _puts ## TAILCALL
LBB0_2:
movq %rbx, %rdi
callq _LIST_FIRST
movq %rax, %rbx
movq _link@GOTPCREL(%rip), %r12
movl (%r12), %esi
movq %rax, %rdi
callq _LIST_REMOVE
movq %r15, (%rbx)
movl (%r12), %edx
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _LIST_INSERT_HEAD ## TAILCALL
.cfi_endproc
## -- End function
.comm _g_hv_sgl_page_pool,8,2 ## @g_hv_sgl_page_pool
.comm _link,4,2 ## @link
.section __TEXT,__cstring,cstring_literals
L_str: ## @str
.asciz "storvsc error: not enough in use sgl"
.no_dead_strip _storvsc_destroy_bounce_buffer
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function storvsc_destroy_bounce_buffer
_storvsc_destroy_bounce_buffer: ; @storvsc_destroy_bounce_buffer
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x20, _g_hv_sgl_page_pool@GOTPAGE
Lloh1:
ldr x20, [x20, _g_hv_sgl_page_pool@GOTPAGEOFF]
add x21, x20, #4
mov x0, x21
bl _LIST_EMPTY
cbz x0, LBB0_2
; %bb.1:
Lloh2:
adrp x0, l_str@PAGE
Lloh3:
add x0, x0, l_str@PAGEOFF
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 _puts
LBB0_2:
mov x0, x21
bl _LIST_FIRST
mov x21, x0
Lloh4:
adrp x22, _link@GOTPAGE
Lloh5:
ldr x22, [x22, _link@GOTPAGEOFF]
ldr w1, [x22]
bl _LIST_REMOVE
str x19, [x21]
ldr w2, [x22]
mov x0, x20
mov x1, x21
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _LIST_INSERT_HEAD
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _g_hv_sgl_page_pool,8,2 ; @g_hv_sgl_page_pool
.comm _link,4,2 ; @link
.section __TEXT,__cstring,cstring_literals
l_str: ; @str
.asciz "storvsc error: not enough in use sgl"
.no_dead_strip _storvsc_destroy_bounce_buffer
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/hyperv/storvsc/extr_hv_storvsc_drv_freebsd.c_storvsc_destroy_bounce_buffer.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vidioc_streamon
_vidioc_streamon: ## @vidioc_streamon
.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 %edx, %r15d
movq %rsi, %rbx
movq (%rsi), %rax
movq 8(%rsi), %r14
movq _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPCREL(%rip), %rcx
xorl %edi, %edi
cmpq (%rcx), %rax
setne %dil
callq _unlikely
testq %rax, %rax
jne LBB0_1
## %bb.3:
movl %r15d, %eax
xorl %edi, %edi
cmpq %rax, (%rbx)
setne %dil
callq _unlikely
testq %rax, %rax
je LBB0_4
LBB0_1:
movq _EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
xorl %eax, %eax
subl (%rcx), %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
movq _RESOURCE_VIDEO7@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _get_resource
movq %r14, %rdi
movq %rbx, %rsi
movl %eax, %edx
callq _res_get
xorl %edi, %edi
testl %eax, %eax
sete %dil
callq _unlikely
testq %rax, %rax
je LBB0_6
## %bb.5:
movq _EBUSY@GOTPCREL(%rip), %rcx
jmp LBB0_2
LBB0_6:
movq %rbx, %rdi
callq _get_queue
movl %eax, %edi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _videobuf_streamon ## TAILCALL
.cfi_endproc
## -- End function
.comm _V4L2_BUF_TYPE_VIDEO_CAPTURE,8,3 ## @V4L2_BUF_TYPE_VIDEO_CAPTURE
.comm _EINVAL,4,2 ## @EINVAL
.comm _RESOURCE_VIDEO7,4,2 ## @RESOURCE_VIDEO7
.comm _EBUSY,4,2 ## @EBUSY
.no_dead_strip _vidioc_streamon
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vidioc_streamon
_vidioc_streamon: ; @vidioc_streamon
.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, x2
mov x19, x1
ldp x8, x20, [x1]
Lloh0:
adrp x9, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGE
Lloh1:
ldr x9, [x9, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
cset w0, ne
bl _unlikely
cbnz x0, LBB0_2
; %bb.1:
ldr x8, [x19]
cmp x8, w21, uxtw
cset w0, ne
bl _unlikely
cbz x0, LBB0_4
LBB0_2:
Lloh3:
adrp x8, _EINVAL@GOTPAGE
Lloh4:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_3:
ldr w8, [x8]
neg w0, w8
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:
Lloh5:
adrp x8, _RESOURCE_VIDEO7@GOTPAGE
Lloh6:
ldr x8, [x8, _RESOURCE_VIDEO7@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
mov x0, x19
bl _get_resource
mov x2, x0
mov x0, x20
mov x1, x19
bl _res_get
cmp w0, #0
cset w0, eq
bl _unlikely
cbz x0, LBB0_6
; %bb.5:
Lloh8:
adrp x8, _EBUSY@GOTPAGE
Lloh9:
ldr x8, [x8, _EBUSY@GOTPAGEOFF]
b LBB0_3
LBB0_6:
mov x0, x19
bl _get_queue
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 _videobuf_streamon
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _V4L2_BUF_TYPE_VIDEO_CAPTURE,8,3 ; @V4L2_BUF_TYPE_VIDEO_CAPTURE
.comm _EINVAL,4,2 ; @EINVAL
.comm _RESOURCE_VIDEO7,4,2 ; @RESOURCE_VIDEO7
.comm _EBUSY,4,2 ; @EBUSY
.no_dead_strip _vidioc_streamon
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/staging/cx25821/extr_cx25821-video7.c_vidioc_streamon.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cnic_netdev_event
_cnic_netdev_event: ## @cnic_netdev_event
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rdi
movq %rsi, %r14
callq _netdev_notifier_info_to_dev
movq %rax, %rbx
movq %rax, %rdi
callq _cnic_from_netdev
testq %rax, %rax
je LBB0_3
## %bb.1:
movq %rax, %r12
movq (%rax), %r15
movq _NETDEV_UNREGISTER@GOTPCREL(%rip), %rax
cmpq %r14, (%rax)
jne LBB0_6
## %bb.2:
movq %r12, %rdi
callq _cnic_ulp_exit
jmp LBB0_6
LBB0_3:
movq _NETDEV_REGISTER@GOTPCREL(%rip), %rax
cmpq %r14, (%rax)
jne LBB0_12
## %bb.4:
movq %rbx, %rdi
callq _is_cnic_dev
testq %rax, %rax
je LBB0_12
## %bb.5:
movq %rax, %r12
movq %rax, %rdi
callq _cnic_hold
movq (%r12), %r15
movq %r12, %rdi
callq _cnic_ulp_init
LBB0_6:
movq _NETDEV_UP@GOTPCREL(%rip), %rax
cmpq %r14, (%rax)
jne LBB0_10
## %bb.7:
movq %r12, %rdi
callq _cnic_register_netdev
testq %rax, %rax
jne LBB0_17
## %bb.8:
movq %r12, %rdi
callq _cnic_start_hw
testl %eax, %eax
jne LBB0_10
## %bb.9:
movq %r12, %rdi
callq _cnic_ulp_start
LBB0_10:
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq _cnic_rcv_netevent
movq _NETDEV_GOING_DOWN@GOTPCREL(%rip), %rax
cmpq %r14, (%rax)
jne LBB0_15
## %bb.11:
movq %r12, %rdi
callq _cnic_ulp_stop
movq %r12, %rdi
callq _cnic_stop_hw
movq %r12, %rdi
callq _cnic_unregister_netdev
jmp LBB0_17
LBB0_12:
leaq -40(%rbp), %rsi
movq %rbx, %rdi
callq _cnic_get_vlan
movq -40(%rbp), %rdi
testq %rdi, %rdi
je LBB0_19
## %bb.13:
movl %eax, %r15d
callq _cnic_from_netdev
testq %rax, %rax
je LBB0_19
## %bb.14:
movq %rax, %rbx
movq _VLAN_CFI_MASK@GOTPCREL(%rip), %rax
orl (%rax), %r15d
movq (%rbx), %rdi
movq %r14, %rsi
movl %r15d, %edx
callq _cnic_rcv_netevent
movq %rbx, %rdi
jmp LBB0_18
LBB0_15:
movq _NETDEV_UNREGISTER@GOTPCREL(%rip), %rax
cmpq %r14, (%rax)
jne LBB0_17
## %bb.16:
movq _cnic_dev_lock@GOTPCREL(%rip), %rbx
movq %rbx, %rdi
callq _write_lock
leaq 8(%r12), %rdi
callq _list_del_init
movq %rbx, %rdi
callq _write_unlock
movq %r12, %rdi
callq _cnic_put
movq %r12, %rdi
callq _cnic_free_dev
jmp LBB0_19
LBB0_17:
movq %r12, %rdi
LBB0_18:
callq _cnic_put
LBB0_19:
movq _NOTIFY_DONE@GOTPCREL(%rip), %rax
movl (%rax), %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NETDEV_REGISTER,8,3 ## @NETDEV_REGISTER
.comm _NETDEV_UNREGISTER,8,3 ## @NETDEV_UNREGISTER
.comm _NETDEV_UP,8,3 ## @NETDEV_UP
.comm _NETDEV_GOING_DOWN,8,3 ## @NETDEV_GOING_DOWN
.comm _cnic_dev_lock,4,2 ## @cnic_dev_lock
.comm _VLAN_CFI_MASK,4,2 ## @VLAN_CFI_MASK
.comm _NOTIFY_DONE,4,2 ## @NOTIFY_DONE
.no_dead_strip _cnic_netdev_event
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cnic_netdev_event
_cnic_netdev_event: ; @cnic_netdev_event
.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 x0, x2
mov x19, x1
bl _netdev_notifier_info_to_dev
mov x21, x0
bl _cnic_from_netdev
cbz x0, LBB0_3
; %bb.1:
mov x20, x0
ldr x21, [x0]
Lloh0:
adrp x8, _NETDEV_UNREGISTER@GOTPAGE
Lloh1:
ldr x8, [x8, _NETDEV_UNREGISTER@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x8, x19
b.ne LBB0_6
; %bb.2:
mov x0, x20
bl _cnic_ulp_exit
b LBB0_6
LBB0_3:
Lloh3:
adrp x8, _NETDEV_REGISTER@GOTPAGE
Lloh4:
ldr x8, [x8, _NETDEV_REGISTER@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
cmp x8, x19
b.ne LBB0_12
; %bb.4:
mov x0, x21
bl _is_cnic_dev
cbz x0, LBB0_12
; %bb.5:
mov x20, x0
bl _cnic_hold
ldr x21, [x20]
mov x0, x20
bl _cnic_ulp_init
LBB0_6:
Lloh6:
adrp x8, _NETDEV_UP@GOTPAGE
Lloh7:
ldr x8, [x8, _NETDEV_UP@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
cmp x8, x19
b.ne LBB0_10
; %bb.7:
mov x0, x20
bl _cnic_register_netdev
cbnz x0, LBB0_17
; %bb.8:
mov x0, x20
bl _cnic_start_hw
cbnz w0, LBB0_10
; %bb.9:
mov x0, x20
bl _cnic_ulp_start
LBB0_10:
mov x0, x21
mov x1, x19
mov w2, #0
bl _cnic_rcv_netevent
Lloh9:
adrp x8, _NETDEV_GOING_DOWN@GOTPAGE
Lloh10:
ldr x8, [x8, _NETDEV_GOING_DOWN@GOTPAGEOFF]
Lloh11:
ldr x8, [x8]
cmp x8, x19
b.ne LBB0_15
; %bb.11:
mov x0, x20
bl _cnic_ulp_stop
mov x0, x20
bl _cnic_stop_hw
mov x0, x20
bl _cnic_unregister_netdev
b LBB0_17
LBB0_12:
add x1, sp, #8
mov x0, x21
bl _cnic_get_vlan
mov x20, x0
ldr x0, [sp, #8]
cbz x0, LBB0_19
; %bb.13:
bl _cnic_from_netdev
cbz x0, LBB0_19
; %bb.14:
mov x21, x0
Lloh12:
adrp x8, _VLAN_CFI_MASK@GOTPAGE
Lloh13:
ldr x8, [x8, _VLAN_CFI_MASK@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
orr w2, w8, w20
ldr x0, [x0]
mov x1, x19
bl _cnic_rcv_netevent
mov x0, x21
b LBB0_18
LBB0_15:
Lloh15:
adrp x8, _NETDEV_UNREGISTER@GOTPAGE
Lloh16:
ldr x8, [x8, _NETDEV_UNREGISTER@GOTPAGEOFF]
Lloh17:
ldr x8, [x8]
cmp x8, x19
b.ne LBB0_17
; %bb.16:
Lloh18:
adrp x19, _cnic_dev_lock@GOTPAGE
Lloh19:
ldr x19, [x19, _cnic_dev_lock@GOTPAGEOFF]
mov x0, x19
bl _write_lock
add x0, x20, #8
bl _list_del_init
mov x0, x19
bl _write_unlock
mov x0, x20
bl _cnic_put
mov x0, x20
bl _cnic_free_dev
b LBB0_19
LBB0_17:
mov x0, x20
LBB0_18:
bl _cnic_put
LBB0_19:
Lloh20:
adrp x8, _NOTIFY_DONE@GOTPAGE
Lloh21:
ldr x8, [x8, _NOTIFY_DONE@GOTPAGEOFF]
Lloh22:
ldr w0, [x8]
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 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 AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.cfi_endproc
; -- End function
.comm _NETDEV_REGISTER,8,3 ; @NETDEV_REGISTER
.comm _NETDEV_UNREGISTER,8,3 ; @NETDEV_UNREGISTER
.comm _NETDEV_UP,8,3 ; @NETDEV_UP
.comm _NETDEV_GOING_DOWN,8,3 ; @NETDEV_GOING_DOWN
.comm _cnic_dev_lock,4,2 ; @cnic_dev_lock
.comm _VLAN_CFI_MASK,4,2 ; @VLAN_CFI_MASK
.comm _NOTIFY_DONE,4,2 ; @NOTIFY_DONE
.no_dead_strip _cnic_netdev_event
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/broadcom/extr_cnic.c_cnic_netdev_event.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str.1(%rip), %r12
leaq L_.str(%rip), %r14
xorl %r15d, %r15d
jmp LBB0_1
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl $10, %edi
callq _putchar
incl %r15d
cmpl $41, %r15d
je LBB0_6
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_2 Depth 2
leal -20(%r15), %r13d
imull %r13d, %r13d
movl $-20, %ebx
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=2
xorl %eax, %eax
callq _printf
incl %ebx
cmpl $21, %ebx
je LBB0_5
LBB0_2: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl %ebx, %eax
imull %ebx, %eax
addl %r13d, %eax
movq %r12, %rdi
cmpl $401, %eax ## imm = 0x191
jb LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=2
movq %r14, %rdi
jmp LBB0_4
LBB0_6:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _circle ## -- Begin function circle
.p2align 4, 0x90
_circle: ## @circle
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addl $-20, %edi
imull %edi, %edi
addl $-20, %esi
imull %esi, %esi
addl %edi, %esi
xorl %eax, %eax
cmpl $401, %esi ## imm = 0x191
setae %al
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.globl _R ## @R
.p2align 2
_R:
.long 20 ## 0x14
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz " "
L_.str.1: ## @.str.1
.asciz " *"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp 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 w19, #0
Lloh0:
adrp x20, l_.str@PAGE
Lloh1:
add x20, x20, l_.str@PAGEOFF
Lloh2:
adrp x21, l_.str.1@PAGE
Lloh3:
add x21, x21, l_.str.1@PAGEOFF
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_2 Depth 2
sub w8, w19, #20
mul w22, w8, w8
mov w23, #-20
LBB0_2: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
madd w8, w23, w23, w22
cmp w8, #401
csel x0, x21, x20, lo
bl _printf
add w23, w23, #1
cmp w23, #21
b.ne LBB0_2
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
mov w0, #10
bl _putchar
add w19, w19, #1
cmp w19, #41
b.ne LBB0_1
; %bb.4:
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 AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _circle ; -- Begin function circle
.p2align 2
_circle: ; @circle
.cfi_startproc
; %bb.0:
sub w8, w0, #20
mul w8, w8, w8
sub w9, w1, #20
madd w8, w9, w9, w8
cmp w8, #400
cset w0, hi
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.globl _R ; @R
.p2align 2
_R:
.long 20 ; 0x14
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz " "
l_.str.1: ; @.str.1
.asciz " *"
.subsections_via_symbols
| the_stack_data/918099.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _CopyString ## -- Begin function CopyString
.p2align 4, 0x90
_CopyString: ## @CopyString
.cfi_startproc
## %bb.0:
movsbq (%rdi), %rax
testq %rax, %rax
je LBB0_1
## %bb.2:
cmpb $0, 1(%rdi)
je LBB0_3
## %bb.4:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
callq _strlen
leaq 1(%rax), %rdi
callq _S_Malloc
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq _strcpy
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
LBB0_1:
movq _emptystring@GOTPCREL(%rip), %rax
addq $4, %rax
retq
LBB0_3:
movq _numberstring@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
leaq (%rcx,%rax,4), %rax
addq $-188, %rax
retq
.cfi_endproc
## -- End function
.comm _emptystring,4,2 ## @emptystring
.comm _numberstring,8,3 ## @numberstring
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _CopyString ; -- Begin function CopyString
.p2align 2
_CopyString: ; @CopyString
.cfi_startproc
; %bb.0:
ldrsb x8, [x0]
cbz x8, LBB0_3
; %bb.1:
ldrb w9, [x0, #1]
cbz w9, LBB0_4
; %bb.2:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
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 _strlen
add x0, x0, #1
bl _S_Malloc
mov x20, x0
mov x1, x19
bl _strcpy
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_3:
Lloh0:
adrp x8, _emptystring@GOTPAGE
Lloh1:
ldr x8, [x8, _emptystring@GOTPAGEOFF]
add x0, x8, #4
ret
LBB0_4:
Lloh2:
adrp x9, _numberstring@GOTPAGE
Lloh3:
ldr x9, [x9, _numberstring@GOTPAGEOFF]
Lloh4:
ldr x9, [x9]
add x8, x9, x8, lsl #2
sub x0, x8, #188
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _emptystring,4,2 ; @emptystring
.comm _numberstring,8,3 ; @numberstring
.subsections_via_symbols
| assembly_file_184107.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _hibernate_newruntime_map ## -- Begin function hibernate_newruntime_map
.p2align 4, 0x90
_hibernate_newruntime_map: ## @hibernate_newruntime_map
.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 %rdx, %rbx
movl %esi, -52(%rbp) ## 4-byte Spill
movq %rdi, -72(%rbp) ## 8-byte Spill
movq _PE_state@GOTPCREL(%rip), %rax
movq (%rax), %r14
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _kprintf
movq %r14, -48(%rbp) ## 8-byte Spill
jmp LBB0_1
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_1 Depth=1
callq _efi_set_tables_32
LBB0_19: ## in Loop: Header=BB0_1 Depth=1
movq -64(%rbp), %rbx ## 8-byte Reload
movq _FALSE@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
movq -48(%rbp), %r14 ## 8-byte Reload
je LBB0_20
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_2 Depth 2
## Child Loop BB0_7 Depth 2
movq _gPEEFISystemTable@GOTPCREL(%rip), %rax
movq $0, (%rax)
movq _gPEEFIRuntimeServices@GOTPCREL(%rip), %rax
movq $0, (%rax)
movq 40(%r14), %rdi
callq _ptoa_32
movq %rax, %r15
addq %rbx, %r15
movq 16(%r14), %rsi
leaq L_.str.1(%rip), %rdi
movq %r15, %rdx
xorl %eax, %eax
callq _kprintf
movq %r15, -64(%rbp) ## 8-byte Spill
movq %r15, 16(%r14)
movq _EFI_MEMORY_RUNTIME@GOTPCREL(%rip), %r15
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _kprintf
movl (%r14), %ebx
movl 4(%r14), %eax
xorl %edx, %edx
divl %ebx
movl %eax, %r12d
movq 48(%r14), %rdi
callq _ml_static_ptovirt
movq %rax, %r13
movl (%r15), %eax
xorl %r14d, %r14d
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=2
decl %r14d
addq %rbx, %r13
cmpl %r12d, %r14d
ja LBB0_5
LBB0_2: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl (%r13), %ecx
notl %ecx
testl %ecx, %eax
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=2
movq 16(%r13), %rdi
callq _i386_ptob
movq 32(%r13), %rax
movq _VM_MIN_KERNEL_ADDRESS@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq %rcx, %rax
movl $0, %edx
cmovgeq %rdx, %rcx
orq %rax, %rcx
movq 24(%r13), %rdx
movq 8(%r13), %rsi
movq 16(%r13), %r8
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _kprintf
movl (%r15), %eax
jmp LBB0_4
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movq _kernel_pmap@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq -48(%rbp), %r14 ## 8-byte Reload
movq 40(%r14), %rdi
callq _i386_ptob
movq %rax, %r12
movq 32(%r14), %rdi
addq 40(%r14), %rdi
callq _i386_ptob
movl %ebx, %edi
movq %r12, %rsi
movq %rax, %rdx
callq _pmap_remove
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _kprintf
movl (%r14), %esi
movl -52(%rbp), %ecx ## 4-byte Reload
movl %ecx, %eax
xorl %edx, %edx
divl %esi
cmpl %ecx, %esi
jbe LBB0_6
LBB0_14: ## in Loop: Header=BB0_1 Depth=1
movq -48(%rbp), %r14 ## 8-byte Reload
movq 8(%r14), %rsi
movq _kBootArgsVersion2@GOTPCREL(%rip), %rax
cmpq (%rax), %rsi
je LBB0_16
## %bb.15: ## in Loop: Header=BB0_1 Depth=1
movl 28(%r14), %edx
leaq L_.str.5(%rip), %rdi
callq _panic
movq 8(%r14), %rsi
LBB0_16: ## in Loop: Header=BB0_1 Depth=1
movl 24(%r14), %ecx
movl 28(%r14), %edx
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _kprintf
movl 24(%r14), %ebx
movq %r14, %rax
movq _kBootArgsEfiMode64@GOTPCREL(%rip), %rcx
movl (%rcx), %r14d
movq 16(%rax), %rdi
callq _ml_static_ptovirt
movq %rax, %rdi
cmpl %r14d, %ebx
jne LBB0_18
## %bb.17: ## in Loop: Header=BB0_1 Depth=1
callq _efi_set_tables_64
jmp LBB0_19
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movl (%r15), %edx
xorl %r12d, %r12d
movq -72(%rbp), %r14 ## 8-byte Reload
movq %rsi, -80(%rbp) ## 8-byte Spill
movl %eax, -56(%rbp) ## 4-byte Spill
jmp LBB0_7
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_7 Depth=2
addq %rbx, %rax
movl (%rsi), %r8d
movq %r13, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq _pmap_map
movl (%r15), %edx
movq -80(%rbp), %rsi ## 8-byte Reload
movl -56(%rbp), %eax ## 4-byte Reload
LBB0_13: ## in Loop: Header=BB0_7 Depth=2
incl %r12d
addq %rsi, %r14
cmpl %eax, %r12d
jae LBB0_14
LBB0_7: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl (%r14), %ecx
notl %ecx
testl %ecx, %edx
jne LBB0_13
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
movq 16(%r14), %rdi
callq _i386_ptob
movq %rax, %r15
movq 32(%r14), %rax
movq _VM_MIN_KERNEL_ADDRESS@GOTPCREL(%rip), %rcx
movq (%rcx), %r13
cmpq %r13, %rax
movl $0, %ecx
cmovgeq %rcx, %r13
orq %rax, %r13
movq 24(%r14), %rbx
movq 8(%r14), %rsi
movq 16(%r14), %r8
leaq L_.str.3(%rip), %rdi
movq %rbx, %rdx
movq %r13, %rcx
xorl %eax, %eax
callq _kprintf
movq %r15, %rdi
callq _round_page
movq 8(%r14), %rdx
movq _VM_PROT_WRITE@GOTPCREL(%rip), %rcx
movq _kEfiRuntimeServicesCode@GOTPCREL(%rip), %rsi
cmpq (%rsi), %rdx
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_7 Depth=2
movq _VM_PROT_EXECUTE@GOTPCREL(%rip), %rcx
LBB0_10: ## in Loop: Header=BB0_7 Depth=2
movl (%rcx), %ecx
movq _VM_PROT_READ@GOTPCREL(%rip), %rsi
orl (%rsi), %ecx
movq _VM_WIMG_USE_DEFAULT@GOTPCREL(%rip), %rsi
movq _EfiMemoryMappedIO@GOTPCREL(%rip), %rdi
cmpq (%rdi), %rdx
movq _EFI_MEMORY_RUNTIME@GOTPCREL(%rip), %r15
jne LBB0_12
## %bb.11: ## in Loop: Header=BB0_7 Depth=2
movq _VM_WIMG_IO@GOTPCREL(%rip), %rsi
jmp LBB0_12
LBB0_20:
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _kprintf ## TAILCALL
.cfi_endproc
## -- End function
.comm _PE_state,8,3 ## @PE_state
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Reinitializing EFI runtime services\n"
.comm _gPEEFISystemTable,8,3 ## @gPEEFISystemTable
.comm _gPEEFIRuntimeServices,8,3 ## @gPEEFIRuntimeServices
L_.str.1: ## @.str.1
.asciz "Old system table 0x%x, new 0x%x\n"
L_.str.2: ## @.str.2
.asciz "Old map:\n"
.comm _EFI_MEMORY_RUNTIME,4,2 ## @EFI_MEMORY_RUNTIME
.comm _VM_MIN_KERNEL_ADDRESS,8,3 ## @VM_MIN_KERNEL_ADDRESS
L_.str.3: ## @.str.3
.asciz "mapping[%u] %qx @ %lx, %llu\n"
.comm _kernel_pmap,4,2 ## @kernel_pmap
L_.str.4: ## @.str.4
.asciz "New map:\n"
.comm _kEfiRuntimeServicesCode,8,3 ## @kEfiRuntimeServicesCode
.comm _VM_PROT_READ,4,2 ## @VM_PROT_READ
.comm _VM_PROT_EXECUTE,4,2 ## @VM_PROT_EXECUTE
.comm _VM_PROT_WRITE,4,2 ## @VM_PROT_WRITE
.comm _EfiMemoryMappedIO,8,3 ## @EfiMemoryMappedIO
.comm _VM_WIMG_IO,4,2 ## @VM_WIMG_IO
.comm _VM_WIMG_USE_DEFAULT,4,2 ## @VM_WIMG_USE_DEFAULT
.comm _kBootArgsVersion2,8,3 ## @kBootArgsVersion2
L_.str.5: ## @.str.5
.asciz "Incompatible boot args version %d revision %d\n"
L_.str.6: ## @.str.6
.asciz "Boot args version %d revision %d mode %d\n"
.comm _kBootArgsEfiMode64,4,2 ## @kBootArgsEfiMode64
.comm _FALSE,8,3 ## @FALSE
L_.str.7: ## @.str.7
.asciz "Done reinitializing EFI runtime services\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _hibernate_newruntime_map ; -- Begin function hibernate_newruntime_map
.p2align 2
_hibernate_newruntime_map: ; @hibernate_newruntime_map
.cfi_startproc
; %bb.0:
sub sp, sp, #160
stp x28, x27, [sp, #64] ; 16-byte Folded Spill
stp x26, x25, [sp, #80] ; 16-byte Folded Spill
stp x24, x23, [sp, #96] ; 16-byte Folded Spill
stp x22, x21, [sp, #112] ; 16-byte Folded Spill
stp x20, x19, [sp, #128] ; 16-byte Folded Spill
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x2
str w1, [sp, #52] ; 4-byte Folded Spill
str x0, [sp, #32] ; 8-byte Folded Spill
Lloh0:
adrp x8, _PE_state@GOTPAGE
Lloh1:
ldr x8, [x8, _PE_state@GOTPAGEOFF]
Lloh2:
ldr x25, [x8]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _kprintf
Lloh5:
adrp x27, _EFI_MEMORY_RUNTIME@GOTPAGE
Lloh6:
ldr x27, [x27, _EFI_MEMORY_RUNTIME@GOTPAGEOFF]
Lloh7:
adrp x24, _VM_MIN_KERNEL_ADDRESS@GOTPAGE
Lloh8:
ldr x24, [x24, _VM_MIN_KERNEL_ADDRESS@GOTPAGEOFF]
Lloh9:
adrp x23, l_.str.3@PAGE
Lloh10:
add x23, x23, l_.str.3@PAGEOFF
str x25, [sp, #40] ; 8-byte Folded Spill
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
bl _efi_set_tables_32
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
ldr x19, [sp, #56] ; 8-byte Folded Reload
Lloh11:
adrp x8, _FALSE@GOTPAGE
Lloh12:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh13:
ldr x8, [x8]
cbz x8, LBB0_16
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
; Child Loop BB0_14 Depth 2
Lloh14:
adrp x8, _gPEEFISystemTable@GOTPAGE
Lloh15:
ldr x8, [x8, _gPEEFISystemTable@GOTPAGEOFF]
Lloh16:
str xzr, [x8]
Lloh17:
adrp x8, _gPEEFIRuntimeServices@GOTPAGE
Lloh18:
ldr x8, [x8, _gPEEFIRuntimeServices@GOTPAGEOFF]
Lloh19:
str xzr, [x8]
ldr x0, [x25, #40]
bl _ptoa_32
add x19, x0, x19
ldr x8, [x25, #16]
stp x8, x19, [sp]
Lloh20:
adrp x0, l_.str.1@PAGE
Lloh21:
add x0, x0, l_.str.1@PAGEOFF
bl _kprintf
str x19, [sp, #56] ; 8-byte Folded Spill
str x19, [x25, #16]
Lloh22:
adrp x0, l_.str.2@PAGE
Lloh23:
add x0, x0, l_.str.2@PAGEOFF
bl _kprintf
ldp w19, w8, [x25]
ldr x0, [x25, #48]
udiv w20, w8, w19
bl _ml_static_ptovirt
mov x28, x0
mov w21, #0 ; =0x0
ldr w8, [x27]
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=2
sub w21, w21, #1
add x28, x28, x19
cmp w21, w20
b.hi LBB0_7
LBB0_5: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr w9, [x28]
bics wzr, w8, w9
b.ne LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=2
ldr x0, [x28, #16]
bl _i386_ptob
ldr x8, [x24]
ldp x10, x9, [x28, #24]
cmp x9, x8
csel x8, x8, xzr, lt
orr x8, x8, x9
ldp x9, x11, [x28, #8]
stp x9, x10, [sp]
stp x8, x11, [sp, #16]
mov x0, x23
bl _kprintf
ldr w8, [x27]
b LBB0_4
LBB0_7: ; in Loop: Header=BB0_3 Depth=1
Lloh24:
adrp x8, _kernel_pmap@GOTPAGE
Lloh25:
ldr x8, [x8, _kernel_pmap@GOTPAGEOFF]
Lloh26:
ldr w28, [x8]
ldr x0, [x25, #40]
bl _i386_ptob
mov x22, x27
mov x27, x0
ldp x9, x8, [x25, #32]
add x0, x9, x8
bl _i386_ptob
mov x2, x0
mov x0, x28
mov x1, x27
mov x27, x22
bl _pmap_remove
Lloh27:
adrp x0, l_.str.4@PAGE
Lloh28:
add x0, x0, l_.str.4@PAGEOFF
bl _kprintf
ldr w20, [x25]
ldr w8, [sp, #52] ; 4-byte Folded Reload
cmp w20, w8
b.ls LBB0_12
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
ldr x25, [sp, #40] ; 8-byte Folded Reload
ldr x1, [x25, #8]
Lloh29:
adrp x8, _kBootArgsVersion2@GOTPAGE
Lloh30:
ldr x8, [x8, _kBootArgsVersion2@GOTPAGEOFF]
Lloh31:
ldr x8, [x8]
cmp x1, x8
b.eq LBB0_10
; %bb.9: ; in Loop: Header=BB0_3 Depth=1
ldr w2, [x25, #28]
Lloh32:
adrp x0, l_.str.5@PAGE
Lloh33:
add x0, x0, l_.str.5@PAGEOFF
bl _panic
ldr x1, [x25, #8]
LBB0_10: ; in Loop: Header=BB0_3 Depth=1
ldp w9, w8, [x25, #24]
stp x8, x9, [sp, #8]
str x1, [sp]
Lloh34:
adrp x0, l_.str.6@PAGE
Lloh35:
add x0, x0, l_.str.6@PAGEOFF
bl _kprintf
ldr w19, [x25, #24]
Lloh36:
adrp x8, _kBootArgsEfiMode64@GOTPAGE
Lloh37:
ldr x8, [x8, _kBootArgsEfiMode64@GOTPAGEOFF]
Lloh38:
ldr w20, [x8]
ldr x0, [x25, #16]
bl _ml_static_ptovirt
cmp w19, w20
b.ne LBB0_1
; %bb.11: ; in Loop: Header=BB0_3 Depth=1
bl _efi_set_tables_64
b LBB0_2
LBB0_12: ; in Loop: Header=BB0_3 Depth=1
mov w19, #0 ; =0x0
ldr w8, [x27]
ldr x26, [sp, #32] ; 8-byte Folded Reload
ldr w9, [sp, #52] ; 4-byte Folded Reload
udiv w25, w9, w20
b LBB0_14
LBB0_13: ; in Loop: Header=BB0_14 Depth=2
add w19, w19, #1
add x26, x26, x20
cmp w19, w25
b.hs LBB0_8
LBB0_14: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr w9, [x26]
bics wzr, w8, w9
b.ne LBB0_13
; %bb.15: ; in Loop: Header=BB0_14 Depth=2
ldr x0, [x26, #16]
bl _i386_ptob
mov x27, x0
ldr x8, [x24]
ldp x28, x9, [x26, #24]
cmp x9, x8
csel x8, x8, xzr, lt
orr x21, x8, x9
ldp x8, x9, [x26, #8]
stp x8, x28, [sp]
stp x21, x9, [sp, #16]
mov x0, x23
bl _kprintf
mov x0, x27
mov x27, x22
bl _round_page
ldr x8, [x26, #8]
Lloh39:
adrp x9, _kEfiRuntimeServicesCode@GOTPAGE
Lloh40:
ldr x9, [x9, _kEfiRuntimeServicesCode@GOTPAGEOFF]
Lloh41:
ldr x9, [x9]
Lloh42:
adrp x10, _VM_PROT_READ@GOTPAGE
Lloh43:
ldr x10, [x10, _VM_PROT_READ@GOTPAGEOFF]
Lloh44:
ldr w10, [x10]
cmp x8, x9
Lloh45:
adrp x9, _VM_PROT_EXECUTE@GOTPAGE
Lloh46:
ldr x9, [x9, _VM_PROT_EXECUTE@GOTPAGEOFF]
Lloh47:
adrp x11, _VM_PROT_WRITE@GOTPAGE
Lloh48:
ldr x11, [x11, _VM_PROT_WRITE@GOTPAGEOFF]
csel x9, x9, x11, eq
ldr w9, [x9]
Lloh49:
adrp x11, _EfiMemoryMappedIO@GOTPAGE
Lloh50:
ldr x11, [x11, _EfiMemoryMappedIO@GOTPAGEOFF]
Lloh51:
ldr x11, [x11]
cmp x8, x11
Lloh52:
adrp x8, _VM_WIMG_IO@GOTPAGE
Lloh53:
ldr x8, [x8, _VM_WIMG_IO@GOTPAGEOFF]
Lloh54:
adrp x11, _VM_WIMG_USE_DEFAULT@GOTPAGE
Lloh55:
ldr x11, [x11, _VM_WIMG_USE_DEFAULT@GOTPAGEOFF]
csel x8, x8, x11, eq
ldr w4, [x8]
add x2, x0, x28
orr w3, w9, w10
mov x0, x21
mov x1, x28
bl _pmap_map
ldr w8, [x22]
b LBB0_13
LBB0_16:
Lloh56:
adrp x0, l_.str.7@PAGE
Lloh57:
add x0, x0, l_.str.7@PAGEOFF
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
ldp x26, x25, [sp, #80] ; 16-byte Folded Reload
ldp x28, x27, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #160
b _kprintf
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGotStr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotStr Lloh14, Lloh15, Lloh16
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpLdrGot Lloh54, Lloh55
.loh AdrpLdrGot Lloh52, Lloh53
.loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51
.loh AdrpLdrGot Lloh47, Lloh48
.loh AdrpLdrGot Lloh45, Lloh46
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpAdd Lloh56, Lloh57
.cfi_endproc
; -- End function
.comm _PE_state,8,3 ; @PE_state
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Reinitializing EFI runtime services\n"
.comm _gPEEFISystemTable,8,3 ; @gPEEFISystemTable
.comm _gPEEFIRuntimeServices,8,3 ; @gPEEFIRuntimeServices
l_.str.1: ; @.str.1
.asciz "Old system table 0x%x, new 0x%x\n"
l_.str.2: ; @.str.2
.asciz "Old map:\n"
.comm _EFI_MEMORY_RUNTIME,4,2 ; @EFI_MEMORY_RUNTIME
.comm _VM_MIN_KERNEL_ADDRESS,8,3 ; @VM_MIN_KERNEL_ADDRESS
l_.str.3: ; @.str.3
.asciz "mapping[%u] %qx @ %lx, %llu\n"
.comm _kernel_pmap,4,2 ; @kernel_pmap
l_.str.4: ; @.str.4
.asciz "New map:\n"
.comm _kEfiRuntimeServicesCode,8,3 ; @kEfiRuntimeServicesCode
.comm _VM_PROT_READ,4,2 ; @VM_PROT_READ
.comm _VM_PROT_EXECUTE,4,2 ; @VM_PROT_EXECUTE
.comm _VM_PROT_WRITE,4,2 ; @VM_PROT_WRITE
.comm _EfiMemoryMappedIO,8,3 ; @EfiMemoryMappedIO
.comm _VM_WIMG_IO,4,2 ; @VM_WIMG_IO
.comm _VM_WIMG_USE_DEFAULT,4,2 ; @VM_WIMG_USE_DEFAULT
.comm _kBootArgsVersion2,8,3 ; @kBootArgsVersion2
l_.str.5: ; @.str.5
.asciz "Incompatible boot args version %d revision %d\n"
l_.str.6: ; @.str.6
.asciz "Boot args version %d revision %d mode %d\n"
.comm _kBootArgsEfiMode64,4,2 ; @kBootArgsEfiMode64
.comm _FALSE,8,3 ; @FALSE
l_.str.7: ; @.str.7
.asciz "Done reinitializing EFI runtime services\n"
.subsections_via_symbols
| assembly_file_63418.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function prefree_segments
_prefree_segments: ## @prefree_segments
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _DIRTY_I
movq (%rax), %rax
movq _PRE@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl (%rax,%rcx,4), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PRE,8,3 ## @PRE
.no_dead_strip _prefree_segments
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function prefree_segments
_prefree_segments: ; @prefree_segments
.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 _DIRTY_I
ldr x8, [x0]
Lloh0:
adrp x9, _PRE@GOTPAGE
Lloh1:
ldr x9, [x9, _PRE@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
ldr w0, [x8, x9, lsl #2]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _PRE,8,3 ; @PRE
.no_dead_strip _prefree_segments
.subsections_via_symbols
| AnghaBench/linux/fs/f2fs/extr_segment.h_prefree_segments.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl $64136, %eax ## imm = 0xFA88
callq ____chkstk_darwin
subq %rax, %rsp
popq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movl %edi, %r13d
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _SP@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -64108(%rbp) ## 4-byte Spill
movq _BSIZE@GOTPCREL(%rip), %rax
movslq (%rax), %rax
movq %rax, -64136(%rbp) ## 8-byte Spill
movq _PORT@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -64052(%rbp) ## 4-byte Spill
leaq L_.str(%rip), %rdx
callq _getopt
## kill: def $eax killed $eax def $rax
movq _EOF@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
movq %rax, -64072(%rbp) ## 8-byte Spill
xorl %r15d, %r15d
xorl %eax, %eax
movq %rax, -64064(%rbp) ## 8-byte Spill
LBB0_11:
movq _optind@GOTPCREL(%rip), %r14
movl (%r14), %eax
subl %eax, %r13d
cmpl $1, %r13d
jg LBB0_13
## %bb.12:
movq (%rbx), %rdi
callq _usage
movl (%r14), %eax
LBB0_13:
cltq
movq (%rbx,%rax,8), %rcx
movq %rcx, -64128(%rbp) ## 8-byte Spill
movq 8(%rbx,%rax,8), %r13
movq _NOP@GOTPCREL(%rip), %rax
movq (%rax), %rax
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_14: ## =>This Inner Loop Header: Depth=1
movl %ecx, %edx
andl $3, %edx
movzbl (%rax,%rdx), %ebx
movb %bl, -64048(%rbp,%rcx)
leal 1(%rcx), %esi
andl $3, %esi
movzbl (%rax,%rsi), %ebx
movb %bl, -64047(%rbp,%rcx)
leal 2(%rcx), %esi
andl $3, %esi
movzbl (%rax,%rsi), %ebx
movb %bl, -64046(%rbp,%rcx)
leal -1(%rcx), %esi
andl $3, %esi
movzbl (%rax,%rsi), %ebx
movb %bl, -64045(%rbp,%rcx)
movzbl (%rax,%rdx), %edx
movb %dl, -64044(%rbp,%rcx)
addq $5, %rcx
cmpq $64000, %rcx ## imm = 0xFA00
jne LBB0_14
## %bb.15:
movq _asmcode@GOTPCREL(%rip), %rax
movq (%rax), %rbx
movq %rbx, %rdi
callq _strlen
movq %rax, %r14
movq %r13, %rdi
callq _strlen
addl %r14d, %eax
movq -64136(%rbp), %r14 ## 8-byte Reload
movl %r14d, %ecx
subl %eax, %ecx
movslq %ecx, %rax
andq $-4, %rax
leaq (%rax,%rbp), %r12
addq $-64048, %r12 ## imm = 0xFFFF05D0
movq %r12, %rdi
movq %rbx, %rsi
callq _strcpy
leaq -64048(%rbp), %rbx
movq %rbx, %rdi
movq %r13, %rsi
callq _strcat
movq %r13, %rdi
callq _strlen
movl $-2, %ecx
subl %eax, %ecx
movq _LENOFS@GOTPCREL(%rip), %rax
movslq (%rax), %rax
movl %ecx, (%rax,%r12)
movq %rbx, %rdi
callq _strlen
movb $46, -64048(%rbp,%rax)
movd -64108(%rbp), %xmm0 ## 4-byte Folded Reload
## xmm0 = mem[0],zero,zero,zero
pshufd $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0]
movdqu %xmm0, -64048(%rbp,%r14)
movdqu %xmm0, -64032(%rbp,%r14)
movdqu %xmm0, -64016(%rbp,%r14)
movdqu %xmm0, -64000(%rbp,%r14)
leaq -63984(%rbp,%r14), %rax
movq %rax, -64080(%rbp)
movq %rbx, -64088(%rbp)
movb $0, -63984(%rbp,%r14)
movq -64072(%rbp), %rbx ## 8-byte Reload
testq %rbx, %rbx
jne LBB0_31
## %bb.16:
movq -64128(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
callq _inet_addr
movl %eax, -64096(%rbp)
cmpl $-1, %eax
jne LBB0_21
## %bb.17:
movq %rbx, %rdi
callq _gethostbyname
testq %rax, %rax
je LBB0_18
## %bb.20:
movq (%rax), %rax
movl (%rax), %eax
movl %eax, -64096(%rbp)
LBB0_21:
movq _AF_INET@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -64100(%rbp)
movl -64052(%rbp), %edi ## 4-byte Reload
callq _htons
movl %eax, -64104(%rbp)
movq _RPC_ANYSOCK@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -64056(%rbp)
movq $0, -64144(%rbp)
movq _TT_DBSERVER_PROG@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _TT_DBSERVER_VERS@GOTPCREL(%rip), %rax
movl (%rax), %edx
cmpl $0, -64064(%rbp) ## 4-byte Folded Reload
je LBB0_23
## %bb.22:
leaq -64104(%rbp), %rdi
leaq -64056(%rbp), %r9
movl $4, %ecx
xorl %r8d, %r8d
callq _clntudp_create
jmp LBB0_24
LBB0_2:
xorl %ecx, %ecx
movq %rcx, -64064(%rbp) ## 8-byte Spill
leaq LJTI0_0(%rip), %r14
xorl %r12d, %r12d
xorl %ecx, %ecx
movq %rcx, -64072(%rbp) ## 8-byte Spill
jmp LBB0_3
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_3 Depth=1
movq (%rbx), %rdi
callq _usage
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
movl %r12d, %r15d
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
movl %r13d, %edi
movq %rbx, %rsi
leaq L_.str(%rip), %rdx
callq _getopt
## kill: def $eax killed $eax def $rax
movl %r15d, %r12d
movq _EOF@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
je LBB0_11
LBB0_3: ## =>This Inner Loop Header: Depth=1
addl $-102, %eax
cmpl $15, %eax
ja LBB0_8
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl $1, %r15d
movslq (%r14,%rax,4), %rax
addq %r14, %rax
jmpq *%rax
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -64072(%rbp) ## 8-byte Spill
jmp LBB0_9
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _atoi
movl %eax, -64052(%rbp) ## 4-byte Spill
jmp LBB0_9
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movl $1, %eax
movq %rax, -64064(%rbp) ## 8-byte Spill
jmp LBB0_9
LBB0_23:
leaq -64104(%rbp), %rdi
leaq -64056(%rbp), %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq _clnttcp_create
LBB0_24:
movq %rax, %rbx
testq %rax, %rax
je LBB0_32
## %bb.25:
leaq L_.str.4(%rip), %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq _authunix_create
movl %eax, (%rbx)
movl $10, -64152(%rbp)
testl %r15d, %r15d
jne LBB0_26
## %bb.28:
movq __TT_P@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _xdr_wrapstring@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _xdr_tt_reply@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movdqu -64152(%rbp), %xmm0
movdqu %xmm0, (%rsp)
leaq -64088(%rbp), %rcx
leaq -64120(%rbp), %r9
movq %rbx, %rdi
callq _clnt_call
movq _RPC_SUCCESS@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_33
## %bb.29:
movl -64120(%rbp), %esi
movl -64116(%rbp), %edx
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
callq _clnt_destroy
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_34
## %bb.30:
xorl %eax, %eax
addq $64136, %rsp ## imm = 0xFA88
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_31:
leaq -64048(%rbp), %rsi
movq %rbx, %rdi
movq -64064(%rbp), %rdx ## 8-byte Reload
## kill: def $edx killed $edx killed $rdx
callq _make_file
leaq L_.str.1(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
xorl %edi, %edi
callq _exit
LBB0_32:
leaq L_.str.3(%rip), %rdi
callq _clnt_pcreateerror
xorl %edi, %edi
callq _exit
LBB0_26:
movq $0, -64088(%rbp)
movq $0, -64080(%rbp)
movq _xdr_wrapstring@GOTPCREL(%rip), %rax
movl (%rax), %edx
movdqu -64152(%rbp), %xmm0
movdqu %xmm0, (%rsp)
leaq -64088(%rbp), %rcx
leaq -64080(%rbp), %r9
movq %rbx, %rdi
movl $15, %esi
movl %edx, %r8d
callq _clnt_call
movq _RPC_SUCCESS@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_33
## %bb.27:
movq -64080(%rbp), %rsi
leaq L_.str.6(%rip), %rdi
jmp LBB0_19
LBB0_33:
leaq L_.str.5(%rip), %rsi
movq %rbx, %rdi
callq _clnt_perror
movl $1, %edi
callq _exit
LBB0_34:
callq ___stack_chk_fail
LBB0_18:
leaq L_.str.2(%rip), %rdi
movq %rbx, %rsi
LBB0_19:
xorl %eax, %eax
callq _printf
movl $1, %edi
callq _exit
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
.long L0_0_set_7
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_10
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_5
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_6
.end_data_region
## -- End function
.comm _SP,4,2 ## @SP
.comm _BSIZE,4,2 ## @BSIZE
.comm _PORT,4,2 ## @PORT
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ukp:f:"
.comm _EOF,4,2 ## @EOF
.comm _NOP,8,3 ## @NOP
.comm _asmcode,8,3 ## @asmcode
.comm _LENOFS,4,2 ## @LENOFS
L_.str.1: ## @.str.1
.asciz "rpc datagram stored in %s\n"
L_.str.2: ## @.str.2
.asciz "%s: cannot resolve\n"
.comm _AF_INET,4,2 ## @AF_INET
.comm _RPC_ANYSOCK,4,2 ## @RPC_ANYSOCK
.comm _TT_DBSERVER_PROG,4,2 ## @TT_DBSERVER_PROG
.comm _TT_DBSERVER_VERS,4,2 ## @TT_DBSERVER_VERS
L_.str.3: ## @.str.3
.asciz "clnt_create"
L_.str.4: ## @.str.4
.asciz "localhost"
.comm _xdr_wrapstring,4,2 ## @xdr_wrapstring
.comm _RPC_SUCCESS,4,2 ## @RPC_SUCCESS
L_.str.5: ## @.str.5
.asciz "clnt_call"
L_.str.6: ## @.str.6
.asciz "Could not kill ttdbserver, reply is: %s\n"
.comm __TT_P,4,2 ## @_TT_P
.comm _xdr_tt_reply,4,2 ## @xdr_tt_reply
L_.str.7: ## @.str.7
.asciz "res i1 %d, res i2 %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
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 w9, #64096
Lloh0:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh1:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #15, lsl #12 ; =61440
sub sp, sp, #2656
mov x22, x1
mov x23, x0
Lloh2:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh3:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
stur x8, [x29, #-96]
Lloh5:
adrp x8, _SP@GOTPAGE
Lloh6:
ldr x8, [x8, _SP@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
str w8, [sp, #28] ; 4-byte Folded Spill
Lloh8:
adrp x8, _BSIZE@GOTPAGE
Lloh9:
ldr x8, [x8, _BSIZE@GOTPAGEOFF]
Lloh10:
ldrsw x8, [x8]
str x8, [sp, #16] ; 8-byte Folded Spill
Lloh11:
adrp x8, _PORT@GOTPAGE
Lloh12:
ldr x8, [x8, _PORT@GOTPAGEOFF]
Lloh13:
ldr w19, [x8]
Lloh14:
adrp x2, l_.str@PAGE
Lloh15:
add x2, x2, l_.str@PAGEOFF
bl _getopt
Lloh16:
adrp x25, _EOF@GOTPAGE
Lloh17:
ldr x25, [x25, _EOF@GOTPAGEOFF]
ldr w8, [x25]
cmp w0, w8
b.ne LBB0_16
; %bb.1:
mov x21, #0
mov w20, #0
str wzr, [sp, #32] ; 4-byte Folded Spill
LBB0_2:
Lloh18:
adrp x24, _optind@GOTPAGE
Lloh19:
ldr x24, [x24, _optind@GOTPAGEOFF]
ldr w9, [x24]
sub w8, w23, w9
cmp w8, #1
b.gt LBB0_4
; %bb.3:
ldr x0, [x22]
bl _usage
ldr w9, [x24]
LBB0_4:
mov x8, #0
add x9, x22, w9, sxtw #3
ldp x22, x23, [x9]
Lloh20:
adrp x9, _NOP@GOTPAGE
Lloh21:
ldr x9, [x9, _NOP@GOTPAGEOFF]
Lloh22:
ldr x9, [x9]
add x10, sp, #80
mov w11, #64000
LBB0_5: ; =>This Inner Loop Header: Depth=1
and x12, x8, #0x3
ldrb w12, [x9, x12]
strb w12, [x10, x8]
add x8, x8, #1
cmp x8, x11
b.ne LBB0_5
; %bb.6:
Lloh23:
adrp x8, _asmcode@GOTPAGE
Lloh24:
ldr x8, [x8, _asmcode@GOTPAGEOFF]
Lloh25:
ldr x24, [x8]
mov x0, x24
bl _strlen
mov x25, x0
mov x0, x23
bl _strlen
add w8, w0, w25
ldr x27, [sp, #16] ; 8-byte Folded Reload
sub w8, w27, w8
sxtw x8, w8
and x8, x8, #0xfffffffffffffffc
add x26, sp, #80
add x25, x26, x8
mov x0, x25
mov x1, x24
bl _strcpy
add x0, sp, #80
mov x1, x23
bl _strcat
mov x0, x23
bl _strlen
mov w8, #-2
sub w8, w8, w0
Lloh26:
adrp x9, _LENOFS@GOTPAGE
Lloh27:
ldr x9, [x9, _LENOFS@GOTPAGEOFF]
Lloh28:
ldrsw x9, [x9]
str w8, [x25, x9]
add x0, sp, #80
bl _strlen
mov w8, #46
strb w8, [x26, x0]
ldr w8, [sp, #28] ; 4-byte Folded Reload
dup.4s v0, w8
add x8, x26, x27
stp q0, q0, [x8]
stp q0, q0, [x8, #32]
strb wzr, [x8, #64]!
stp x8, x26, [sp, #40]
cbnz x21, LBB0_27
; %bb.7:
mov x0, x22
bl _inet_addr
str w0, [sp, #72]
cmn w0, #1
b.ne LBB0_10
; %bb.8:
mov x0, x22
bl _gethostbyname
cbz x0, LBB0_32
; %bb.9:
ldr x8, [x0]
ldr w8, [x8]
str w8, [sp, #72]
LBB0_10:
Lloh29:
adrp x8, _AF_INET@GOTPAGE
Lloh30:
ldr x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh31:
ldr w8, [x8]
str w8, [sp, #68]
mov x0, x19
bl _htons
str w0, [sp, #64]
Lloh32:
adrp x8, _RPC_ANYSOCK@GOTPAGE
Lloh33:
ldr x8, [x8, _RPC_ANYSOCK@GOTPAGEOFF]
Lloh34:
ldr w8, [x8]
str w8, [sp, #36]
Lloh35:
adrp x8, _TT_DBSERVER_PROG@GOTPAGE
Lloh36:
ldr x8, [x8, _TT_DBSERVER_PROG@GOTPAGEOFF]
Lloh37:
ldr w1, [x8]
Lloh38:
adrp x8, _TT_DBSERVER_VERS@GOTPAGE
Lloh39:
ldr x8, [x8, _TT_DBSERVER_VERS@GOTPAGEOFF]
Lloh40:
ldr w2, [x8]
ldr w8, [sp, #32] ; 4-byte Folded Reload
cbz w8, LBB0_25
; %bb.11:
add x0, sp, #64
add x5, sp, #36
mov w3, #4
mov x4, #0
bl _clntudp_create
mov x19, x0
cbz x0, LBB0_26
LBB0_12:
Lloh41:
adrp x0, l_.str.4@PAGE
Lloh42:
add x0, x0, l_.str.4@PAGEOFF
mov w1, #0
mov w2, #0
mov w3, #0
mov x4, #0
bl _authunix_create
str w0, [x19]
cbnz w20, LBB0_28
; %bb.13:
Lloh43:
adrp x8, __TT_P@GOTPAGE
Lloh44:
ldr x8, [x8, __TT_P@GOTPAGEOFF]
Lloh45:
ldr w1, [x8]
Lloh46:
adrp x8, _xdr_wrapstring@GOTPAGE
Lloh47:
ldr x8, [x8, _xdr_wrapstring@GOTPAGEOFF]
Lloh48:
ldr w2, [x8]
Lloh49:
adrp x8, _xdr_tt_reply@GOTPAGE
Lloh50:
ldr x8, [x8, _xdr_tt_reply@GOTPAGEOFF]
Lloh51:
ldr w4, [x8]
add x3, sp, #48
add x5, sp, #56
mov x0, x19
mov w6, #10
mov x7, #0
bl _clnt_call
Lloh52:
adrp x8, _RPC_SUCCESS@GOTPAGE
Lloh53:
ldr x8, [x8, _RPC_SUCCESS@GOTPAGEOFF]
Lloh54:
ldr w8, [x8]
cmp w0, w8
b.ne LBB0_30
; %bb.14:
ldp w8, w9, [sp, #56]
stp x8, x9, [sp]
Lloh55:
adrp x0, l_.str.7@PAGE
Lloh56:
add x0, x0, l_.str.7@PAGEOFF
bl _printf
mov x0, x19
bl _clnt_destroy
ldur x8, [x29, #-96]
Lloh57:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh58:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh59:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_31
; %bb.15:
mov w0, #0
add sp, sp, #15, lsl #12 ; =61440
add sp, sp, #2656
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_16:
str wzr, [sp, #32] ; 4-byte Folded Spill
mov w26, #0
mov x21, #0
Lloh60:
adrp x24, l_.str@PAGE
Lloh61:
add x24, x24, l_.str@PAGEOFF
Lloh62:
adrp x27, _optarg@GOTPAGE
Lloh63:
ldr x27, [x27, _optarg@GOTPAGEOFF]
Lloh64:
adrp x28, lJTI0_0@PAGE
Lloh65:
add x28, x28, lJTI0_0@PAGEOFF
b LBB0_20
LBB0_17: ; in Loop: Header=BB0_20 Depth=1
ldr x0, [x22]
bl _usage
LBB0_18: ; in Loop: Header=BB0_20 Depth=1
mov x20, x26
LBB0_19: ; in Loop: Header=BB0_20 Depth=1
mov x0, x23
mov x1, x22
mov x2, x24
bl _getopt
ldr w8, [x25]
mov x26, x20
cmp w0, w8
b.eq LBB0_2
LBB0_20: ; =>This Inner Loop Header: Depth=1
sub w8, w0, #102
cmp w8, #15
b.hi LBB0_17
; %bb.21: ; in Loop: Header=BB0_20 Depth=1
mov w20, #1
adr x9, LBB0_17
ldrb w10, [x28, x8]
add x9, x9, x10, lsl #2
br x9
LBB0_22: ; in Loop: Header=BB0_20 Depth=1
ldr x21, [x27]
b LBB0_18
LBB0_23: ; in Loop: Header=BB0_20 Depth=1
ldr x0, [x27]
bl _atoi
mov x19, x0
b LBB0_18
LBB0_24: ; in Loop: Header=BB0_20 Depth=1
mov w8, #1
str w8, [sp, #32] ; 4-byte Folded Spill
b LBB0_18
LBB0_25:
add x0, sp, #64
add x3, sp, #36
mov w4, #0
mov w5, #0
bl _clnttcp_create
mov x19, x0
cbnz x0, LBB0_12
LBB0_26:
Lloh66:
adrp x0, l_.str.3@PAGE
Lloh67:
add x0, x0, l_.str.3@PAGEOFF
bl _clnt_pcreateerror
mov w0, #0
bl _exit
LBB0_27:
add x1, sp, #80
mov x0, x21
ldr w2, [sp, #32] ; 4-byte Folded Reload
bl _make_file
str x21, [sp]
Lloh68:
adrp x0, l_.str.1@PAGE
Lloh69:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #0
bl _exit
LBB0_28:
stp xzr, xzr, [sp, #40]
Lloh70:
adrp x8, _xdr_wrapstring@GOTPAGE
Lloh71:
ldr x8, [x8, _xdr_wrapstring@GOTPAGEOFF]
Lloh72:
ldr w2, [x8]
add x3, sp, #48
add x5, sp, #40
mov x0, x19
mov w1, #15
mov x4, x2
mov w6, #10
mov x7, #0
bl _clnt_call
Lloh73:
adrp x8, _RPC_SUCCESS@GOTPAGE
Lloh74:
ldr x8, [x8, _RPC_SUCCESS@GOTPAGEOFF]
Lloh75:
ldr w8, [x8]
cmp w0, w8
b.ne LBB0_30
; %bb.29:
ldr x8, [sp, #40]
str x8, [sp]
Lloh76:
adrp x0, l_.str.6@PAGE
Lloh77:
add x0, x0, l_.str.6@PAGEOFF
b LBB0_33
LBB0_30:
Lloh78:
adrp x1, l_.str.5@PAGE
Lloh79:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x19
bl _clnt_perror
mov w0, #1
bl _exit
LBB0_31:
bl ___stack_chk_fail
LBB0_32:
str x22, [sp]
Lloh80:
adrp x0, l_.str.2@PAGE
Lloh81:
add x0, x0, l_.str.2@PAGEOFF
LBB0_33:
bl _printf
mov w0, #1
bl _exit
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh52, Lloh53, Lloh54
.loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51
.loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpAdd Lloh64, Lloh65
.loh AdrpLdrGot Lloh62, Lloh63
.loh AdrpAdd Lloh60, Lloh61
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpLdrGotLdr Lloh73, Lloh74, Lloh75
.loh AdrpLdrGotLdr Lloh70, Lloh71, Lloh72
.loh AdrpAdd Lloh76, Lloh77
.loh AdrpAdd Lloh78, Lloh79
.loh AdrpAdd Lloh80, Lloh81
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_22-LBB0_17)>>2
.byte (LBB0_17-LBB0_17)>>2
.byte (LBB0_17-LBB0_17)>>2
.byte (LBB0_17-LBB0_17)>>2
.byte (LBB0_17-LBB0_17)>>2
.byte (LBB0_19-LBB0_17)>>2
.byte (LBB0_17-LBB0_17)>>2
.byte (LBB0_17-LBB0_17)>>2
.byte (LBB0_17-LBB0_17)>>2
.byte (LBB0_17-LBB0_17)>>2
.byte (LBB0_23-LBB0_17)>>2
.byte (LBB0_17-LBB0_17)>>2
.byte (LBB0_17-LBB0_17)>>2
.byte (LBB0_17-LBB0_17)>>2
.byte (LBB0_17-LBB0_17)>>2
.byte (LBB0_24-LBB0_17)>>2
; -- End function
.comm _SP,4,2 ; @SP
.comm _BSIZE,4,2 ; @BSIZE
.comm _PORT,4,2 ; @PORT
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ukp:f:"
.comm _EOF,4,2 ; @EOF
.comm _NOP,8,3 ; @NOP
.comm _asmcode,8,3 ; @asmcode
.comm _LENOFS,4,2 ; @LENOFS
l_.str.1: ; @.str.1
.asciz "rpc datagram stored in %s\n"
l_.str.2: ; @.str.2
.asciz "%s: cannot resolve\n"
.comm _AF_INET,4,2 ; @AF_INET
.comm _RPC_ANYSOCK,4,2 ; @RPC_ANYSOCK
.comm _TT_DBSERVER_PROG,4,2 ; @TT_DBSERVER_PROG
.comm _TT_DBSERVER_VERS,4,2 ; @TT_DBSERVER_VERS
l_.str.3: ; @.str.3
.asciz "clnt_create"
l_.str.4: ; @.str.4
.asciz "localhost"
.comm _xdr_wrapstring,4,2 ; @xdr_wrapstring
.comm _RPC_SUCCESS,4,2 ; @RPC_SUCCESS
l_.str.5: ; @.str.5
.asciz "clnt_call"
l_.str.6: ; @.str.6
.asciz "Could not kill ttdbserver, reply is: %s\n"
.comm __TT_P,4,2 ; @_TT_P
.comm _xdr_tt_reply,4,2 ; @xdr_tt_reply
l_.str.7: ; @.str.7
.asciz "res i1 %d, res i2 %d\n"
.subsections_via_symbols
| AnghaBench/exploitdb/exploits/unix/remote/extr_19101.c_main.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _alloc_mscandev ## -- Begin function alloc_mscandev
.p2align 4, 0x90
_alloc_mscandev: ## @alloc_mscandev
.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 _MSCAN_ECHO_SKB_MAX@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $40, %edi
callq _alloc_candev
movq %rax, %r14
testq %rax, %rax
je LBB0_4
## %bb.1:
movq %r14, %rdi
callq _netdev_priv
movq _mscan_netdev_ops@GOTPCREL(%rip), %rcx
movq %rcx, 8(%r14)
movq _IFF_ECHO@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl %ecx, (%r14)
movq %rax, %rbx
leaq 32(%rax), %rsi
movq _mscan_rx_poll@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r14, %rdi
movl $8, %ecx
callq _netif_napi_add
movq _mscan_bittiming_const@GOTPCREL(%rip), %rax
movq %rax, 24(%rbx)
movq _mscan_do_set_bittiming@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 16(%rbx)
movq _mscan_do_set_mode@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 12(%rbx)
movq _CAN_CTRLMODE_3_SAMPLES@GOTPCREL(%rip), %rax
movq _CAN_CTRLMODE_LISTENONLY@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
movl %ecx, 8(%rbx)
movq _TX_QUEUE_SIZE@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_4
## %bb.2:
movq (%rbx), %rdx
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl %ecx, (%rdx,%rcx,8)
movl $1, %esi
shll %cl, %esi
movl %esi, 4(%rdx,%rcx,8)
incq %rcx
movslq (%rax), %rsi
cmpq %rsi, %rcx
jl LBB0_3
LBB0_4:
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MSCAN_ECHO_SKB_MAX,4,2 ## @MSCAN_ECHO_SKB_MAX
.comm _mscan_netdev_ops,4,2 ## @mscan_netdev_ops
.comm _IFF_ECHO,4,2 ## @IFF_ECHO
.comm _mscan_rx_poll,4,2 ## @mscan_rx_poll
.comm _mscan_bittiming_const,4,2 ## @mscan_bittiming_const
.comm _mscan_do_set_bittiming,4,2 ## @mscan_do_set_bittiming
.comm _mscan_do_set_mode,4,2 ## @mscan_do_set_mode
.comm _CAN_CTRLMODE_3_SAMPLES,4,2 ## @CAN_CTRLMODE_3_SAMPLES
.comm _CAN_CTRLMODE_LISTENONLY,4,2 ## @CAN_CTRLMODE_LISTENONLY
.comm _TX_QUEUE_SIZE,4,2 ## @TX_QUEUE_SIZE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _alloc_mscandev ; -- Begin function alloc_mscandev
.p2align 2
_alloc_mscandev: ; @alloc_mscandev
.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, _MSCAN_ECHO_SKB_MAX@GOTPAGE
Lloh1:
ldr x8, [x8, _MSCAN_ECHO_SKB_MAX@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov w0, #40
bl _alloc_candev
mov x19, x0
cbz x0, LBB0_4
; %bb.1:
mov x0, x19
bl _netdev_priv
mov x20, x0
Lloh3:
adrp x8, _mscan_netdev_ops@GOTPAGE
Lloh4:
ldr x8, [x8, _mscan_netdev_ops@GOTPAGEOFF]
str x8, [x19, #8]
Lloh5:
adrp x8, _IFF_ECHO@GOTPAGE
Lloh6:
ldr x8, [x8, _IFF_ECHO@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
ldr w9, [x19]
orr w8, w9, w8
str w8, [x19]
add x1, x0, #32
Lloh8:
adrp x8, _mscan_rx_poll@GOTPAGE
Lloh9:
ldr x8, [x8, _mscan_rx_poll@GOTPAGEOFF]
Lloh10:
ldr w2, [x8]
mov x0, x19
mov w3, #8
bl _netif_napi_add
Lloh11:
adrp x8, _mscan_bittiming_const@GOTPAGE
Lloh12:
ldr x8, [x8, _mscan_bittiming_const@GOTPAGEOFF]
str x8, [x20, #24]
Lloh13:
adrp x8, _mscan_do_set_bittiming@GOTPAGE
Lloh14:
ldr x8, [x8, _mscan_do_set_bittiming@GOTPAGEOFF]
Lloh15:
ldr w8, [x8]
str w8, [x20, #16]
Lloh16:
adrp x8, _CAN_CTRLMODE_3_SAMPLES@GOTPAGE
Lloh17:
ldr x8, [x8, _CAN_CTRLMODE_3_SAMPLES@GOTPAGEOFF]
Lloh18:
adrp x9, _CAN_CTRLMODE_LISTENONLY@GOTPAGE
Lloh19:
ldr x9, [x9, _CAN_CTRLMODE_LISTENONLY@GOTPAGEOFF]
Lloh20:
ldr w8, [x8]
Lloh21:
ldr w9, [x9]
orr w8, w9, w8
Lloh22:
adrp x9, _mscan_do_set_mode@GOTPAGE
Lloh23:
ldr x9, [x9, _mscan_do_set_mode@GOTPAGEOFF]
Lloh24:
ldr w9, [x9]
stp w8, w9, [x20, #8]
Lloh25:
adrp x8, _TX_QUEUE_SIZE@GOTPAGE
Lloh26:
ldr x8, [x8, _TX_QUEUE_SIZE@GOTPAGEOFF]
ldr w9, [x8]
cmp w9, #1
b.lt LBB0_4
; %bb.2:
mov x9, #0
ldr x10, [x20]
add x10, x10, #4
mov w11, #1
LBB0_3: ; =>This Inner Loop Header: Depth=1
lsl w12, w11, w9
stp w9, w12, [x10, #-4]
add x9, x9, #1
ldrsw x12, [x8]
add x10, x10, #8
cmp x9, x12
b.lt LBB0_3
LBB0_4:
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
.loh AdrpLdrGot Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh21
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh20
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _MSCAN_ECHO_SKB_MAX,4,2 ; @MSCAN_ECHO_SKB_MAX
.comm _mscan_netdev_ops,4,2 ; @mscan_netdev_ops
.comm _IFF_ECHO,4,2 ; @IFF_ECHO
.comm _mscan_rx_poll,4,2 ; @mscan_rx_poll
.comm _mscan_bittiming_const,4,2 ; @mscan_bittiming_const
.comm _mscan_do_set_bittiming,4,2 ; @mscan_do_set_bittiming
.comm _mscan_do_set_mode,4,2 ; @mscan_do_set_mode
.comm _CAN_CTRLMODE_3_SAMPLES,4,2 ; @CAN_CTRLMODE_3_SAMPLES
.comm _CAN_CTRLMODE_LISTENONLY,4,2 ; @CAN_CTRLMODE_LISTENONLY
.comm _TX_QUEUE_SIZE,4,2 ; @TX_QUEUE_SIZE
.subsections_via_symbols
| AnghaBench/linux/drivers/net/can/mscan/extr_mscan.c_alloc_mscandev.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function drm_gtf2_2j
_drm_gtf2_2j: ## @drm_gtf2_2j
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq $0, -8(%rbp)
movq _find_gtf2@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -8(%rbp), %rdx
callq _drm_for_each_detailed_block
movq -8(%rbp), %rax
testq %rax, %rax
je LBB0_1
## %bb.2:
movl 68(%rax), %eax
jmp LBB0_3
LBB0_1:
xorl %eax, %eax
LBB0_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _find_gtf2,4,2 ## @find_gtf2
.no_dead_strip _drm_gtf2_2j
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function drm_gtf2_2j
_drm_gtf2_2j: ; @drm_gtf2_2j
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str xzr, [sp, #8]
Lloh0:
adrp x8, _find_gtf2@GOTPAGE
Lloh1:
ldr x8, [x8, _find_gtf2@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
add x2, sp, #8
bl _drm_for_each_detailed_block
ldr x8, [sp, #8]
cbz x8, LBB0_2
; %bb.1:
ldr w0, [x8, #68]
b LBB0_3
LBB0_2:
mov w0, #0
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _find_gtf2,4,2 ; @find_gtf2
.no_dead_strip _drm_gtf2_2j
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/extr_drm_edid.c_drm_gtf2_2j.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function docall
_docall: ## @docall
.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 (%rdi), %rax
movl (%rax), %ecx
movl %ecx, 4(%rax)
movq _argoffset@GOTPCREL(%rip), %r14
movq (%r14), %rdi
callq _intconst
movq (%rbx), %rcx
movl %eax, (%rcx)
movq (%r14), %rax
movq _maxargoffset@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jle LBB0_2
## %bb.1:
movq %rax, (%rcx)
LBB0_2:
movq $0, (%r14)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _argoffset,8,3 ## @argoffset
.comm _maxargoffset,8,3 ## @maxargoffset
.no_dead_strip _docall
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function docall
_docall: ; @docall
.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 x8, [x0]
ldr w9, [x8]
str w9, [x8, #4]
Lloh0:
adrp x20, _argoffset@GOTPAGE
Lloh1:
ldr x20, [x20, _argoffset@GOTPAGEOFF]
ldr x0, [x20]
bl _intconst
ldr x8, [x19]
str w0, [x8]
ldr x8, [x20]
Lloh2:
adrp x9, _maxargoffset@GOTPAGE
Lloh3:
ldr x9, [x9, _maxargoffset@GOTPAGEOFF]
ldr x10, [x9]
cmp x8, x10
b.le LBB0_2
; %bb.1:
str x8, [x9]
LBB0_2:
str xzr, [x20]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _argoffset,8,3 ; @argoffset
.comm _maxargoffset,8,3 ; @maxargoffset
.no_dead_strip _docall
.subsections_via_symbols
| AnghaBench/Quake-III-Arena/lcc/src/extr_gen.c_docall.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function base64_encode
_base64_encode: ## @base64_encode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
leaq 2(,%rsi,4), %rax
movabsq $-6148914691236517205, %rcx ## imm = 0xAAAAAAAAAAAAAAAB
mulq %rcx
shrq %rdx
leaq 1(%rdx), %rdi
callq _malloc
testq %rax, %rax
je LBB0_1
## %bb.2:
cmpq $3, %r14
jb LBB0_3
## %bb.4:
leaq _base64_encode.digits(%rip), %r8
movq %rax, %r9
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movsbl (%rbx), %edx
movl %edx, %edi
shll $16, %edi
movsbl 1(%rbx), %ecx
shll $8, %ecx
movl %ecx, %esi
andl $61440, %esi ## imm = 0xF000
orl %edi, %esi
movzbl 2(%rbx), %edi
orl %edi, %ecx
addq $3, %rbx
addq $-3, %r14
shrl $2, %edx
andl $63, %edx
movzbl (%rdx,%r8), %edx
movb %dl, (%r9)
shrl $12, %esi
andl $63, %esi
movzbl (%rsi,%r8), %edx
movb %dl, 1(%r9)
shrl $6, %ecx
andl $63, %ecx
movzbl (%rcx,%r8), %ecx
movb %cl, 2(%r9)
andl $63, %edi
movzbl (%rdi,%r8), %ecx
movb %cl, 3(%r9)
addq $4, %r9
cmpq $2, %r14
ja LBB0_5
## %bb.6:
cmpq $2, %r14
je LBB0_9
LBB0_7:
cmpq $1, %r14
jne LBB0_10
## %bb.8:
movsbl (%rbx), %ecx
movl %ecx, %edx
shrl $2, %edx
andl $63, %edx
leaq _base64_encode.digits(%rip), %rsi
movb (%rdx,%rsi), %dl
movb %dl, (%r9)
shll $4, %ecx
andl $48, %ecx
movb (%rcx,%rsi), %cl
movb %cl, 1(%r9)
addq $2, %r9
jmp LBB0_10
LBB0_1:
xorl %eax, %eax
jmp LBB0_11
LBB0_3:
movq %rax, %r9
cmpq $2, %r14
jne LBB0_7
LBB0_9:
movsbl (%rbx), %ecx
movl %ecx, %esi
shll $16, %esi
movsbl 1(%rbx), %edx
movl %edx, %edi
shll $8, %edi
andl $61440, %edi ## imm = 0xF000
orl %esi, %edi
shrl $2, %ecx
andl $63, %ecx
leaq _base64_encode.digits(%rip), %rsi
movb (%rcx,%rsi), %cl
movb %cl, (%r9)
shrl $12, %edi
andl $63, %edi
movb (%rdi,%rsi), %cl
movb %cl, 1(%r9)
andl $15, %edx
movb (%rsi,%rdx,4), %cl
movb %cl, 2(%r9)
addq $3, %r9
LBB0_10:
movb $0, (%r9)
LBB0_11:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @base64_encode.digits
_base64_encode.digits:
.ascii "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
.no_dead_strip _base64_encode
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function base64_encode
_base64_encode: ; @base64_encode
.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, x1
mov x19, x0
mov w8, #2
bfi x8, x1, #2, #62
mov x9, #-6148914691236517206
movk x9, #43691
umulh x8, x8, x9
lsr x8, x8, #1
add x0, x8, #1
bl _malloc
cbz x0, LBB0_11
; %bb.1:
Lloh0:
adrp x8, _base64_encode.digits@PAGE
Lloh1:
add x8, x8, _base64_encode.digits@PAGEOFF
cmp x20, #3
b.lo LBB0_7
; %bb.2:
mov x10, x0
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldrsb w9, [x19]
ldrsb w11, [x19, #1]
lsl w12, w11, #8
and w12, w12, #0xf000
bfi w12, w9, #16, #16
ldrb w13, [x19, #2]
and x14, x13, #0x3f
; kill: def $w13 killed $w13 killed $x13 def $x13
bfi w13, w11, #8, #24
add x19, x19, #3
sub x20, x20, #3
ubfx x9, x9, #2, #6
ldrb w9, [x8, x9]
ubfx x11, x12, #12, #6
ldrb w11, [x8, x11]
strb w9, [x10]
strb w11, [x10, #1]
ubfx x9, x13, #6, #6
ldrb w9, [x8, x9]
strb w9, [x10, #2]
ldrb w11, [x8, x14]
add x9, x10, #4
strb w11, [x10, #3]
mov x10, x9
cmp x20, #2
b.hi LBB0_3
; %bb.4:
cmp x20, #2
b.eq LBB0_8
LBB0_5:
cmp x20, #1
b.ne LBB0_10
; %bb.6:
ldrsb w11, [x19]
ubfx x10, x11, #2, #6
ldrb w12, [x8, x10]
mov x10, x9
strb w12, [x10], #1
ubfiz w11, w11, #4, #2
mov w12, #2
b LBB0_9
LBB0_7:
mov x9, x0
cmp x20, #2
b.ne LBB0_5
LBB0_8:
ldrsb w10, [x19]
ldrsb w11, [x19, #1]
lsl w12, w11, #8
and w12, w12, #0xf000
bfi w12, w10, #16, #16
ubfx x10, x10, #2, #6
ldrb w10, [x8, x10]
strb w10, [x9]
ubfx x10, x12, #12, #6
ldrb w12, [x8, x10]
add x10, x9, #2
strb w12, [x9, #1]
ubfiz w11, w11, #2, #4
mov w12, #3
LBB0_9:
ldrb w8, [x8, w11, uxtw]
add x9, x9, x12
strb w8, [x10]
LBB0_10:
strb wzr, [x9]
LBB0_11:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__const
_base64_encode.digits: ; @base64_encode.digits
.ascii "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
.no_dead_strip _base64_encode
.subsections_via_symbols
| AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_write_set_format_pax.c_base64_encode.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _obj_elf_data ## -- Begin function obj_elf_data
.p2align 4, 0x90
_obj_elf_data: ## @obj_elf_data
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _now_seg@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _previous_section@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq _now_subseg@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _previous_subsection@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
popq %rbp
jmp _s_data ## TAILCALL
.cfi_endproc
## -- End function
.comm _now_seg,4,2 ## @now_seg
.comm _previous_section,4,2 ## @previous_section
.comm _now_subseg,4,2 ## @now_subseg
.comm _previous_subsection,4,2 ## @previous_subsection
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _obj_elf_data ; -- Begin function obj_elf_data
.p2align 2
_obj_elf_data: ; @obj_elf_data
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _now_seg@GOTPAGE
Lloh1:
ldr x8, [x8, _now_seg@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _previous_section@GOTPAGE
Lloh4:
ldr x9, [x9, _previous_section@GOTPAGEOFF]
Lloh5:
adrp x10, _now_subseg@GOTPAGE
Lloh6:
ldr x10, [x10, _now_subseg@GOTPAGEOFF]
Lloh7:
str w8, [x9]
Lloh8:
ldr w8, [x10]
Lloh9:
adrp x9, _previous_subsection@GOTPAGE
Lloh10:
ldr x9, [x9, _previous_subsection@GOTPAGEOFF]
Lloh11:
str w8, [x9]
b _s_data
.loh AdrpLdrGotStr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh8
.loh AdrpLdrGotStr Lloh3, Lloh4, Lloh7
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _now_seg,4,2 ; @now_seg
.comm _previous_section,4,2 ; @previous_section
.comm _now_subseg,4,2 ; @now_subseg
.comm _previous_subsection,4,2 ; @previous_subsection
.subsections_via_symbols
| AnghaBench/freebsd/contrib/binutils/gas/config/extr_obj-elf.c_obj_elf_data.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _TEST_PRINTF ## -- Begin function TEST_PRINTF
.p2align 4, 0x90
_TEST_PRINTF: ## @TEST_PRINTF
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $208, %rsp
movq %rsi, -200(%rbp)
movq %rdx, -192(%rbp)
movq %rcx, -184(%rbp)
movq %r8, -176(%rbp)
movq %r9, -168(%rbp)
testb %al, %al
je LBB0_4
## %bb.3:
movaps %xmm0, -160(%rbp)
movaps %xmm1, -144(%rbp)
movaps %xmm2, -128(%rbp)
movaps %xmm3, -112(%rbp)
movaps %xmm4, -96(%rbp)
movaps %xmm5, -80(%rbp)
movaps %xmm6, -64(%rbp)
movaps %xmm7, -48(%rbp)
LBB0_4:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
leaq -208(%rbp), %rax
movq %rax, -16(%rbp)
leaq 16(%rbp), %rax
movq %rax, -24(%rbp)
movabsq $206158430216, %rax ## imm = 0x3000000008
movq %rax, -32(%rbp)
leaq -32(%rbp), %rsi
callq _vprintf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -8(%rbp), %rax
jne LBB0_2
## %bb.1:
addq $208, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movl %edi, %ebx
callq _TEST_INIT
movl %eax, %r15d
cmpl $2, %ebx
jge LBB1_1
## %bb.6:
testl %r15d, %r15d
jle LBB1_9
## %bb.7:
negl %r15d
movl $1, %ebx
.p2align 4, 0x90
LBB1_8: ## =>This Inner Loop Header: Depth=1
movl %ebx, %edi
callq _RUNTEST
leal (%r15,%rbx), %eax
incl %eax
movl %ebx, %ecx
incl %ecx
movl %ecx, %ebx
cmpl $1, %eax
jne LBB1_8
LBB1_9:
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB1_1:
movl %ebx, %r12d
movl $1, %ebx
jmp LBB1_2
.p2align 4, 0x90
LBB1_5: ## in Loop: Header=BB1_2 Depth=1
incq %rbx
cmpq %rbx, %r12
je LBB1_9
LBB1_2: ## =>This Inner Loop Header: Depth=1
movq (%r14,%rbx,8), %rdi
callq _atoi
testl %eax, %eax
jle LBB1_5
## %bb.3: ## in Loop: Header=BB1_2 Depth=1
cmpl %r15d, %eax
jg LBB1_5
## %bb.4: ## in Loop: Header=BB1_2 Depth=1
movl %eax, %edi
callq _RUNTEST
jmp LBB1_5
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _TEST_PRINTF ; -- Begin function TEST_PRINTF
.p2align 2
_TEST_PRINTF: ; @TEST_PRINTF
.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
add x8, x29, #16
str x8, [sp, #8]
add x1, x29, #16
bl _vprintf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x21, x0
bl _TEST_INIT
mov x19, x0
cmp w21, #1
b.gt LBB1_5
; %bb.1:
cmp w19, #1
b.lt LBB1_4
; %bb.2:
mov w20, #0
LBB1_3: ; =>This Inner Loop Header: Depth=1
add w20, w20, #1
mov x0, x20
bl _RUNTEST
cmp w19, w20
b.ne LBB1_3
LBB1_4:
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
LBB1_5:
mov w8, w21
add x20, x20, #8
sub x21, x8, #1
b LBB1_7
LBB1_6: ; in Loop: Header=BB1_7 Depth=1
add x20, x20, #8
subs x21, x21, #1
b.eq LBB1_4
LBB1_7: ; =>This Inner Loop Header: Depth=1
ldr x0, [x20]
bl _atoi
cmp w0, #1
ccmp w0, w19, #0, ge
b.gt LBB1_6
; %bb.8: ; in Loop: Header=BB1_7 Depth=1
bl _RUNTEST
b LBB1_6
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/107952457.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dbuf_create_bonus ## -- Begin function dbuf_create_bonus
.p2align 4, 0x90
_dbuf_create_bonus: ## @dbuf_create_bonus
.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
addq $16, %rdi
callq _RW_WRITE_HELD
movl %eax, %edi
callq _ASSERT
xorl %edi, %edi
cmpq $0, 8(%rbx)
sete %dil
callq _ASSERT
movq _DMU_BONUS_BLKID@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl (%rbx), %ecx
movq %rbx, %rdi
xorl %esi, %esi
xorl %r8d, %r8d
callq _dbuf_create
movq %rax, 8(%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DMU_BONUS_BLKID,4,2 ## @DMU_BONUS_BLKID
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dbuf_create_bonus ; -- Begin function dbuf_create_bonus
.p2align 2
_dbuf_create_bonus: ; @dbuf_create_bonus
.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
add x0, x0, #16
bl _RW_WRITE_HELD
bl _ASSERT
ldr x8, [x19, #8]
cmp x8, #0
cset w0, eq
bl _ASSERT
Lloh0:
adrp x8, _DMU_BONUS_BLKID@GOTPAGE
Lloh1:
ldr x8, [x8, _DMU_BONUS_BLKID@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
ldr w3, [x19]
mov x0, x19
mov w1, #0
mov x4, #0
bl _dbuf_create
str x0, [x19, #8]
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 _DMU_BONUS_BLKID,4,2 ; @DMU_BONUS_BLKID
.subsections_via_symbols
| AnghaBench/zfs/module/zfs/extr_dbuf.c_dbuf_create_bonus.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $200, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -228(%rbp), %rsi
xorl %eax, %eax
callq _scanf
cmpl $0, -228(%rbp)
jle LBB0_14
## %bb.1:
leaq -208(%rbp), %r15
leaq L_.str.2(%rip), %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _scanf
incq %rbx
movslq -228(%rbp), %r13
addq $15, %r15
cmpq %r13, %rbx
jl LBB0_2
## %bb.3:
testl %r13d, %r13d
jle LBB0_14
## %bb.4:
xorl %ecx, %ecx
leaq -223(%rbp), %r14
jmp LBB0_5
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
movq -240(%rbp), %rcx ## 8-byte Reload
incq %rcx
movslq %r13d, %rax
cmpq %rax, %rcx
jge LBB0_11
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
testl %r13d, %r13d
movq %rcx, -240(%rbp) ## 8-byte Spill
jle LBB0_10
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
leaq (%rcx,%rcx,4), %rax
leaq (%rax,%rax,2), %rax
leaq (%rax,%rbp), %r15
addq $-208, %r15
leaq -208(%rbp), %rbx
xorl %r12d, %r12d
jmp LBB0_7
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_7 Depth=2
incq %r12
movslq %r13d, %rax
addq $15, %rbx
cmpq %rax, %r12
jge LBB0_10
LBB0_7: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movq %r15, %rdi
movq %rbx, %rsi
callq _strcmp
testl %eax, %eax
jg LBB0_9
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
movl $15, %edx
movq %r14, %rdi
movq %r15, %rsi
callq ___strcpy_chk
movq %r15, %rdi
movq %rbx, %rsi
callq _strcpy
movq %rbx, %rdi
movq %r14, %rsi
callq _strcpy
movl -228(%rbp), %r13d
jmp LBB0_9
LBB0_11:
testl %r13d, %r13d
jle LBB0_14
## %bb.12:
leaq -208(%rbp), %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
callq _puts
incq %rbx
movslq -228(%rbp), %rax
addq $15, %r14
cmpq %rax, %rbx
jl LBB0_13
LBB0_14:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_16
## %bb.15:
xorl %eax, %eax
addq $200, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_16:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "enter number of names"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "%s"
.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, #256
.cfi_def_cfa_offset 256
stp x24, x23, [sp, #192] ; 16-byte Folded Spill
stp x22, x21, [sp, #208] ; 16-byte Folded Spill
stp x20, x19, [sp, #224] ; 16-byte Folded Spill
stp x29, x30, [sp, #240] ; 16-byte Folded Spill
add x29, sp, #240
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _printf
add x8, sp, #12
str x8, [sp]
Lloh5:
adrp x0, l_.str.1@PAGE
Lloh6:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr w8, [sp, #12]
cmp w8, #1
b.lt LBB0_14
; %bb.1:
mov x20, #0
add x22, sp, #34
Lloh7:
adrp x19, l_.str.2@PAGE
Lloh8:
add x19, x19, l_.str.2@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
str x22, [sp]
mov x0, x19
bl _scanf
add x20, x20, #1
ldrsw x21, [sp, #12]
add x22, x22, #15
cmp x20, x21
b.lt LBB0_2
; %bb.3:
cmp w21, #1
b.lt LBB0_14
; %bb.4:
mov x22, #0
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
add x22, x22, #1
cmp x22, w21, sxtw
b.ge LBB0_11
LBB0_6: ; =>This Loop Header: Depth=1
; Child Loop BB0_9 Depth 2
cmp w21, #1
b.lt LBB0_5
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
mov x23, #0
lsl x8, x22, #4
add x19, sp, #34
sub x8, x8, x22
add x20, x19, x8
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_9 Depth=2
add x23, x23, #1
add x19, x19, #15
cmp x23, w21, sxtw
b.ge LBB0_5
LBB0_9: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x20
mov x1, x19
bl _strcmp
cmp w0, #0
b.gt LBB0_8
; %bb.10: ; in Loop: Header=BB0_9 Depth=2
add x0, sp, #19
mov x1, x20
mov w2, #15
bl ___strcpy_chk
mov x0, x20
mov x1, x19
bl _strcpy
add x1, sp, #19
mov x0, x19
bl _strcpy
ldr w21, [sp, #12]
b LBB0_8
LBB0_11:
cmp w21, #1
b.lt LBB0_14
; %bb.12:
mov x20, #0
add x19, sp, #34
LBB0_13: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _puts
add x20, x20, #1
ldrsw x8, [sp, #12]
add x19, x19, #15
cmp x20, x8
b.lt LBB0_13
LBB0_14:
ldur x8, [x29, #-56]
Lloh9:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh10:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_16
; %bb.15:
mov w0, #0
ldp x29, x30, [sp, #240] ; 16-byte Folded Reload
ldp x20, x19, [sp, #224] ; 16-byte Folded Reload
ldp x22, x21, [sp, #208] ; 16-byte Folded Reload
ldp x24, x23, [sp, #192] ; 16-byte Folded Reload
add sp, sp, #256
ret
LBB0_16:
bl ___stack_chk_fail
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "enter number of names"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "%s"
.subsections_via_symbols
| the_stack_data/648087.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _SerializeTransactionState ## -- Begin function SerializeTransactionState
.p2align 4, 0x90
_SerializeTransactionState: ## @SerializeTransactionState
.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 _XactIsoLevel@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 32(%rsi)
movq _XactDeferrable@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 28(%rsi)
movq _XactTopFullTransactionId@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 24(%rsi)
movq _CurrentTransactionState@GOTPCREL(%rip), %r12
movq (%r12), %rax
movl 16(%rax), %eax
movl %eax, 20(%rsi)
movq _currentCommandId@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 16(%rsi)
movq _nParallelCurrentXids@GOTPCREL(%rip), %rax
movl (%rax), %ecx
testl %ecx, %ecx
jle LBB0_3
## %bb.1:
movl %ecx, (%rbx)
movq 8(%rbx), %rdi
movq _ParallelCurrentXids@GOTPCREL(%rip), %rcx
movq (%rcx), %rsi
movl (%rax), %edx
shll $2, %edx
jmp LBB0_2
LBB0_3:
movq _SerializedTransactionStateHeaderSize@GOTPCREL(%rip), %rcx
xorl %eax, %eax
cmpl %edi, (%rcx)
setbe %al
movl %eax, %edi
callq _Assert
xorl %r15d, %r15d
xorl %edi, %edi
callq _palloc
movq %rax, %r14
movq (%r12), %r12
testq %r12, %r12
jne LBB0_5
## %bb.4:
movl $1, %edi
jmp LBB0_9
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_5 Depth=1
movslq %r15d, %r15
leaq (%r14,%r15,4), %rdi
movq 8(%r12), %rsi
movl (%r12), %edx
shll $2, %edx
callq _memcpy
addl (%r12), %r15d
movq 24(%r12), %r12
testq %r12, %r12
je LBB0_8
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl 16(%r12), %edi
callq _FullTransactionIdIsValid
testq %rax, %rax
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl 16(%r12), %edi
callq _XidFromFullTransactionId
movslq %r15d, %rcx
decl %r15d
movl %eax, (%r14,%rcx,4)
jmp LBB0_7
LBB0_8:
xorl %edi, %edi
testl %r15d, %r15d
sete %dil
LBB0_9:
callq _Assert
movq _xidComparator@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r14, %rdi
xorl %esi, %esi
movl $4, %edx
callq _qsort
movl $0, (%rbx)
movq 8(%rbx), %rdi
movq %r14, %rsi
xorl %edx, %edx
LBB0_2:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _memcpy ## TAILCALL
.cfi_endproc
## -- End function
.comm _XactIsoLevel,4,2 ## @XactIsoLevel
.comm _XactDeferrable,4,2 ## @XactDeferrable
.comm _XactTopFullTransactionId,4,2 ## @XactTopFullTransactionId
.comm _CurrentTransactionState,8,3 ## @CurrentTransactionState
.comm _currentCommandId,4,2 ## @currentCommandId
.comm _nParallelCurrentXids,4,2 ## @nParallelCurrentXids
.comm _ParallelCurrentXids,8,3 ## @ParallelCurrentXids
.comm _SerializedTransactionStateHeaderSize,4,2 ## @SerializedTransactionStateHeaderSize
.comm _xidComparator,4,2 ## @xidComparator
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _SerializeTransactionState ; -- Begin function SerializeTransactionState
.p2align 2
_SerializeTransactionState: ; @SerializeTransactionState
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
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
Lloh0:
adrp x8, _XactIsoLevel@GOTPAGE
Lloh1:
ldr x8, [x8, _XactIsoLevel@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [x1, #32]
Lloh3:
adrp x8, _XactDeferrable@GOTPAGE
Lloh4:
ldr x8, [x8, _XactDeferrable@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
Lloh6:
adrp x9, _XactTopFullTransactionId@GOTPAGE
Lloh7:
ldr x9, [x9, _XactTopFullTransactionId@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
Lloh9:
adrp x21, _CurrentTransactionState@GOTPAGE
Lloh10:
ldr x21, [x21, _CurrentTransactionState@GOTPAGEOFF]
stp w9, w8, [x1, #24]
ldr x8, [x21]
ldr w8, [x8, #16]
Lloh11:
adrp x9, _currentCommandId@GOTPAGE
Lloh12:
ldr x9, [x9, _currentCommandId@GOTPAGEOFF]
Lloh13:
ldr w9, [x9]
stp w9, w8, [x1, #16]
Lloh14:
adrp x8, _nParallelCurrentXids@GOTPAGE
Lloh15:
ldr x8, [x8, _nParallelCurrentXids@GOTPAGEOFF]
ldr w9, [x8]
cmp w9, #1
b.lt LBB0_2
; %bb.1:
str w9, [x19]
ldr x0, [x19, #8]
Lloh16:
adrp x9, _ParallelCurrentXids@GOTPAGE
Lloh17:
ldr x9, [x9, _ParallelCurrentXids@GOTPAGEOFF]
Lloh18:
ldr x1, [x9]
ldr w8, [x8]
lsl w2, w8, #2
b LBB0_10
LBB0_2:
Lloh19:
adrp x8, _SerializedTransactionStateHeaderSize@GOTPAGE
Lloh20:
ldr x8, [x8, _SerializedTransactionStateHeaderSize@GOTPAGEOFF]
Lloh21:
ldr w8, [x8]
cmp w8, w0
cset w0, ls
bl _Assert
mov w0, #0 ; =0x0
bl _palloc
mov x20, x0
ldr x21, [x21]
cbz x21, LBB0_8
; %bb.3:
mov w22, #0 ; =0x0
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add x0, x20, w22, sxtw #2
ldr x1, [x21, #8]
ldr w8, [x21]
lsl w2, w8, #2
bl _memcpy
ldr w8, [x21]
add w22, w8, w22
ldr x21, [x21, #24]
cbz x21, LBB0_7
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w0, [x21, #16]
bl _FullTransactionIdIsValid
cbz x0, LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr w0, [x21, #16]
bl _XidFromFullTransactionId
str w0, [x20, w22, sxtw #2]
sub w22, w22, #1
b LBB0_4
LBB0_7:
cmp w22, #0
cset w0, eq
b LBB0_9
LBB0_8:
mov w0, #1 ; =0x1
LBB0_9:
bl _Assert
Lloh22:
adrp x8, _xidComparator@GOTPAGE
Lloh23:
ldr x8, [x8, _xidComparator@GOTPAGEOFF]
Lloh24:
ldr w3, [x8]
mov x0, x20
mov w1, #0 ; =0x0
mov w2, #4 ; =0x4
bl _qsort
str wzr, [x19]
ldr x0, [x19, #8]
mov x1, x20
mov w2, #0 ; =0x0
LBB0_10:
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 _memcpy
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.cfi_endproc
; -- End function
.comm _XactIsoLevel,4,2 ; @XactIsoLevel
.comm _XactDeferrable,4,2 ; @XactDeferrable
.comm _XactTopFullTransactionId,4,2 ; @XactTopFullTransactionId
.comm _CurrentTransactionState,8,3 ; @CurrentTransactionState
.comm _currentCommandId,4,2 ; @currentCommandId
.comm _nParallelCurrentXids,4,2 ; @nParallelCurrentXids
.comm _ParallelCurrentXids,8,3 ; @ParallelCurrentXids
.comm _SerializedTransactionStateHeaderSize,4,2 ; @SerializedTransactionStateHeaderSize
.comm _xidComparator,4,2 ; @xidComparator
.subsections_via_symbols
| assembly_file_121674.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _String_trim ## -- Begin function String_trim
.p2align 4, 0x90
_String_trim: ## @String_trim
.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
movabsq $4294968832, %r15 ## imm = 0x100000600
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movzbl (%rbx), %eax
cmpq $32, %rax
ja LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
btq %rax, %r15
jae LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
incq %rbx
jmp LBB0_1
LBB0_4:
movq %rbx, %rdi
callq _strlen
movl %eax, %r14d
testl %eax, %eax
jle LBB0_10
## %bb.5:
movl %r14d, %r14d
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movzbl -1(%rbx,%r14), %eax
cmpq $32, %rax
ja LBB0_10
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
btq %rax, %r15
jae LBB0_10
## %bb.8: ## in Loop: Header=BB0_6 Depth=1
decq %r14
leaq 1(%r14), %rax
cmpq $1, %rax
ja LBB0_6
## %bb.9:
xorl %r14d, %r14d
LBB0_10:
leal 1(%r14), %edi
callq _xMalloc
movq %rax, %r15
movq %rax, %rdi
movq %rbx, %rsi
movl %r14d, %edx
callq _strncpy
movslq %r14d, %rax
movb $0, (%r15,%rax)
movq %r15, %rax
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, 15, 0 sdk_version 15, 5
.globl _String_trim ; -- Begin function String_trim
.p2align 2
_String_trim: ; @String_trim
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
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 w8, #1 ; =0x1
mov x9, #1536 ; =0x600
movk x9, #1, lsl #32
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldrb w10, [x19]
cmp w10, #32
lsl x10, x8, x10
and x10, x10, x9
ccmp x10, #0, #4, ls
b.eq LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
add x19, x19, #1
b LBB0_1
LBB0_3:
mov x0, x19
bl _strlen
mov x20, x0
cmp w0, #1
b.lt LBB0_8
; %bb.4:
mov w20, w20
mov w8, #1 ; =0x1
mov x9, #1536 ; =0x600
movk x9, #1, lsl #32
LBB0_5: ; =>This Inner Loop Header: Depth=1
add x10, x19, x20
ldurb w10, [x10, #-1]
cmp w10, #32
lsl x10, x8, x10
and x10, x10, x9
ccmp x10, #0, #4, ls
b.eq LBB0_8
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
sub x20, x20, #1
add x10, x20, #1
cmp x10, #1
b.hi LBB0_5
; %bb.7:
mov w20, #0 ; =0x0
LBB0_8:
add w0, w20, #1
bl _xMalloc
mov x21, x0
mov x1, x19
mov x2, x20
bl _strncpy
strb wzr, [x21, w20, sxtw]
mov x0, x21
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| assembly_file_186955.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _iwl_mvm_low_latency_band ## -- Begin function iwl_mvm_low_latency_band
.p2align 4, 0x90
_iwl_mvm_low_latency_band: ## @iwl_mvm_low_latency_band
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %esi, %ebx
movq $0, -16(%rbp)
movl (%rdi), %edi
movq _IEEE80211_IFACE_ITER_NORMAL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _iwl_mvm_ll_iter@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq -16(%rbp), %rcx
callq _ieee80211_iterate_active_interfaces_atomic
movq -16(%rbp), %rax
movl %ebx, %ecx
movl (%rax,%rcx,4), %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IEEE80211_IFACE_ITER_NORMAL,4,2 ## @IEEE80211_IFACE_ITER_NORMAL
.comm _iwl_mvm_ll_iter,4,2 ## @iwl_mvm_ll_iter
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _iwl_mvm_low_latency_band ; -- Begin function iwl_mvm_low_latency_band
.p2align 2
_iwl_mvm_low_latency_band: ; @iwl_mvm_low_latency_band
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
str xzr, [sp, #8]
ldr w0, [x0]
Lloh0:
adrp x8, _IEEE80211_IFACE_ITER_NORMAL@GOTPAGE
Lloh1:
ldr x8, [x8, _IEEE80211_IFACE_ITER_NORMAL@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x8, _iwl_mvm_ll_iter@GOTPAGE
Lloh4:
ldr x8, [x8, _iwl_mvm_ll_iter@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
add x3, sp, #8
bl _ieee80211_iterate_active_interfaces_atomic
ldr x8, [sp, #8]
ldr w0, [x8, w19, uxtw #2]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _IEEE80211_IFACE_ITER_NORMAL,4,2 ; @IEEE80211_IFACE_ITER_NORMAL
.comm _iwl_mvm_ll_iter,4,2 ; @iwl_mvm_ll_iter
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_utils.c_iwl_mvm_low_latency_band.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function float_to_long
_float_to_long: ## @float_to_long
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %r14d
movl %edi, %ebx
andl $8388607, %ebx ## imm = 0x7FFFFF
movl %edi, %r12d
shrl $23, %r12d
movzbl %r12b, %r15d
orl $8388608, %ebx ## imm = 0x800000
imull %esi, %ebx
movl %ebx, %edi
callq _fls64
## kill: def $eax killed $eax def $rax
addl %r15d, %eax
addl $-150, %eax
cmpl $64, %eax
jl LBB0_2
## %bb.1:
movq _LONG_MAX@GOTPCREL(%rip), %rax
movq (%rax), %rdx
jmp LBB0_5
LBB0_2:
cmpl $149, %r15d
ja LBB0_4
## %bb.3:
movb $-107, %cl
subb %r12b, %cl
movl $1, %edx
shlq %cl, %rdx
movslq %ebx, %rax
addq %rax, %rdx
movb $-106, %cl
subb %r12b, %cl
shrq %cl, %rdx
jmp LBB0_5
LBB0_4:
addl $-150, %r15d
movl %r15d, %ecx
shll %cl, %ebx
movslq %ebx, %rdx
LBB0_5:
movq %rdx, %rax
negq %rax
testl %r14d, %r14d
cmovnsq %rdx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _LONG_MAX,8,3 ## @LONG_MAX
.no_dead_strip _float_to_long
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function float_to_long
_float_to_long: ; @float_to_long
.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
ubfx w21, w0, #23, #8
sub w22, w21, #150
mov w8, #8388608
bfxil w8, w0, #0, #23
mul w20, w8, w1
mov x0, x20
bl _fls64
add w8, w0, w22
cmp w8, #64
b.lt LBB0_2
; %bb.1:
Lloh0:
adrp x8, _LONG_MAX@GOTPAGE
Lloh1:
ldr x8, [x8, _LONG_MAX@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
b LBB0_3
LBB0_2:
lsl w8, w20, w22
sxtw x8, w8
mov w9, #150
sub w9, w9, w21
mov w10, #149
sub w10, w10, w21
mov w11, #1
lsl x10, x11, x10
add x10, x10, w20, sxtw
lsr x9, x10, x9
cmp w21, #149
csel x8, x8, x9, hi
LBB0_3:
cmp w19, #0
cneg x0, x8, lt
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 _LONG_MAX,8,3 ; @LONG_MAX
.no_dead_strip _float_to_long
.subsections_via_symbols
| AnghaBench/linux/drivers/hwmon/extr_lochnagar-hwmon.c_float_to_long.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _png_write_hIST ## -- Begin function png_write_hIST
.p2align 4, 0x90
_png_write_hIST: ## @png_write_hIST
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r15d
movq %rsi, %r14
movq %rdi, %r12
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq L_.str(%rip), %rsi
movl $1, %edi
callq _png_debug
movq (%r12), %rcx
cmpl %r15d, %ecx
jge LBB0_3
## %bb.1:
leaq L_.str.1(%rip), %rsi
movl $3, %edi
movl %r15d, %edx
callq _png_debug2
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_8
## %bb.2:
leaq L_.str.2(%rip), %rsi
movq %r12, %rdi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _png_warning ## TAILCALL
LBB0_3:
movq _png_hIST@GOTPCREL(%rip), %rax
movl (%rax), %esi
leal (%r15,%r15), %edx
movq %r12, %rdi
callq _png_write_chunk_start
testl %r15d, %r15d
jle LBB0_6
## %bb.4:
movl %r15d, %r15d
xorl %ebx, %ebx
leaq -60(%rbp), %r13
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl (%r14,%rbx,4), %esi
movq %r13, %rdi
callq _png_save_uint_16
movq %r12, %rdi
movq %r13, %rsi
movl $2, %edx
callq _png_write_chunk_data
incq %rbx
cmpq %rbx, %r15
jne LBB0_5
LBB0_6:
movq %r12, %rdi
callq _png_write_chunk_end
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_8
## %bb.7:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_8:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "in png_write_hIST\n"
L_.str.1: ## @.str.1
.asciz "num_hist = %d, num_palette = %d\n"
L_.str.2: ## @.str.2
.asciz "Invalid number of histogram entries specified"
.comm _png_hIST,4,2 ## @png_hIST
.comm _PNG_hIST,4,2 ## @PNG_hIST
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _png_write_hIST ; -- Begin function png_write_hIST
.p2align 2
_png_write_hIST: ; @png_write_hIST
.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
mov x21, x2
mov x20, x1
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #24]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov w0, #1
bl _png_debug
ldr x3, [x19]
cmp w3, w21
b.ge LBB0_3
; %bb.1:
Lloh5:
adrp x1, l_.str.1@PAGE
Lloh6:
add x1, x1, l_.str.1@PAGEOFF
mov w0, #3
mov x2, x21
bl _png_debug2
ldr x8, [sp, #24]
Lloh7:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh8:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_8
; %bb.2:
Lloh10:
adrp x1, l_.str.2@PAGE
Lloh11:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
b _png_warning
LBB0_3:
Lloh12:
adrp x8, _png_hIST@GOTPAGE
Lloh13:
ldr x8, [x8, _png_hIST@GOTPAGEOFF]
Lloh14:
ldr w1, [x8]
lsl w2, w21, #1
mov x0, x19
bl _png_write_chunk_start
cmp w21, #1
b.lt LBB0_6
; %bb.4:
mov w21, w21
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w1, [x20], #4
add x0, sp, #12
bl _png_save_uint_16
add x1, sp, #12
mov x0, x19
mov w2, #2
bl _png_write_chunk_data
subs x21, x21, #1
b.ne LBB0_5
LBB0_6:
mov x0, x19
bl _png_write_chunk_end
ldr x8, [sp, #24]
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_8
; %bb.7:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
LBB0_8:
bl ___stack_chk_fail
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "in png_write_hIST\n"
l_.str.1: ; @.str.1
.asciz "num_hist = %d, num_palette = %d\n"
l_.str.2: ; @.str.2
.asciz "Invalid number of histogram entries specified"
.comm _png_hIST,4,2 ; @png_hIST
.comm _PNG_hIST,4,2 ; @PNG_hIST
.subsections_via_symbols
| AnghaBench/poco/PDF/src/extr_pngwutil.c_png_write_hIST.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nv41_vm_map_sg
_nv41_vm_map_sg: ## @nv41_vm_map_sg
.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
## kill: def $r8d killed $r8d def $r8
movq %rsi, -64(%rbp) ## 8-byte Spill
testl %r8d, %r8d
je LBB0_8
## %bb.1:
movl %ecx, %ebx
shll $2, %ebx
movq _NV41_GART_PAGE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
jmp LBB0_4
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_4 Depth=1
movq -48(%rbp), %r8 ## 8-byte Reload
subl %eax, %r8d
movq -56(%rbp), %r9 ## 8-byte Reload
LBB0_3: ## in Loop: Header=BB0_4 Depth=1
addq $4, %r9
testl %r8d, %r8d
je LBB0_8
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %eax
cltd
idivl %ecx
testl %eax, %eax
je LBB0_3
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movl %eax, %r13d
movq %r9, -56(%rbp) ## 8-byte Spill
movl (%r9), %r15d
decl %r13d
movq %r8, -48(%rbp) ## 8-byte Spill
leal -1(%r8), %r14d
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_6: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movl %r15d, %edx
sarl $7, %edx
orl $1, %edx
movq -64(%rbp), %rdi ## 8-byte Reload
movl %ebx, %esi
callq _nv_wo32
movq _NV41_GART_PAGE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $4, %ebx
leal 1(%r12), %eax
cmpl %r12d, %r14d
je LBB0_2
## %bb.7: ## in Loop: Header=BB0_6 Depth=2
addl %ecx, %r15d
cmpl %r12d, %r13d
movl %eax, %r12d
jne LBB0_6
jmp LBB0_2
LBB0_8:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PAGE_SIZE,4,2 ## @PAGE_SIZE
.comm _NV41_GART_PAGE,4,2 ## @NV41_GART_PAGE
.no_dead_strip _nv41_vm_map_sg
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nv41_vm_map_sg
_nv41_vm_map_sg: ; @nv41_vm_map_sg
.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
cbz w4, LBB0_7
; %bb.1:
mov x19, x5
mov x20, x4
mov x21, x1
lsl w22, w3, #2
Lloh0:
adrp x23, _NV41_GART_PAGE@GOTPAGE
Lloh1:
ldr x23, [x23, _NV41_GART_PAGE@GOTPAGEOFF]
ldr w8, [x23]
Lloh2:
adrp x24, _PAGE_SIZE@GOTPAGE
Lloh3:
ldr x24, [x24, _PAGE_SIZE@GOTPAGEOFF]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x19, x19, #4
cbz w20, LBB0_7
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
ldr w9, [x24]
sdiv w9, w9, w8
cbz w9, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr w25, [x19]
sub w9, w9, #1
LBB0_5: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
mov x26, x9
asr w8, w25, #7
orr w2, w8, #0x1
mov x0, x21
mov x1, x22
bl _nv_wo32
ldr w8, [x23]
add w22, w22, #4
subs w20, w20, #1
b.eq LBB0_2
; %bb.6: ; in Loop: Header=BB0_5 Depth=2
add w25, w8, w25
sub w9, w26, #1
cbnz w26, LBB0_5
b LBB0_2
LBB0_7:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _PAGE_SIZE,4,2 ; @PAGE_SIZE
.comm _NV41_GART_PAGE,4,2 ; @NV41_GART_PAGE
.no_dead_strip _nv41_vm_map_sg
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/subdev/vm/extr_nv41.c_nv41_vm_map_sg.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function make_attr
_make_attr: ## @make_attr
.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 %edi, %ebx
movl $16, %edi
callq _xmalloc
movl %ebx, (%rax)
movq $0, 8(%rax)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _make_attr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function make_attr
_make_attr: ; @make_attr
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
mov w0, #16
bl _xmalloc
str w19, [x0]
str xzr, [x0, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _make_attr
.subsections_via_symbols
| AnghaBench/reactos/sdk/tools/widl/extr_parser.tab.c_make_attr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function timer_dispatch
_timer_dispatch: ## @timer_dispatch
.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, %rdi
callq _TIMER
movq %rax, %rbx
movq %rax, %rdi
callq _assert
movq (%rbx), %rax
movq _TIMER_WAITING@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _UNIT
leaq L_.str(%rip), %rsi
movl %eax, %edi
callq _log_unit_debug
movq %rbx, %rdi
callq _timer_enter_running
LBB0_2:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TIMER_WAITING,8,3 ## @TIMER_WAITING
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Timer elapsed."
.no_dead_strip _timer_dispatch
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function timer_dispatch
_timer_dispatch: ; @timer_dispatch
.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 x0, x2
bl _TIMER
mov x19, x0
bl _assert
ldr x8, [x19]
Lloh0:
adrp x9, _TIMER_WAITING@GOTPAGE
Lloh1:
ldr x9, [x9, _TIMER_WAITING@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_2
; %bb.1:
mov x0, x19
bl _UNIT
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
bl _log_unit_debug
mov x0, x19
bl _timer_enter_running
LBB0_2:
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 AdrpAdd Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _TIMER_WAITING,8,3 ; @TIMER_WAITING
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Timer elapsed."
.no_dead_strip _timer_dispatch
.subsections_via_symbols
| AnghaBench/systemd/src/core/extr_timer.c_timer_dispatch.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sched_multiq_runq_count
_sched_multiq_runq_count: ## @sched_multiq_runq_count
.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 _multiq_main_entryq
movl (%rax), %ebx
movl %r14d, %edi
callq _multiq_bound_runq
addl (%rax), %ebx
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _sched_multiq_runq_count
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sched_multiq_runq_count
_sched_multiq_runq_count: ; @sched_multiq_runq_count
.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 _multiq_main_entryq
ldr w20, [x0]
mov x0, x19
bl _multiq_bound_runq
ldr w8, [x0]
add w0, w8, w20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _sched_multiq_runq_count
.subsections_via_symbols
| AnghaBench/darwin-xnu/osfmk/kern/extr_sched_multiq.c_sched_multiq_runq_count.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _t4_fw_upgrade ## -- Begin function t4_fw_upgrade
.p2align 4, 0x90
_t4_fw_upgrade: ## @t4_fw_upgrade
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r8d, %r14d
movl %ecx, %r12d
movq %rdx, %r15
movl %esi, %ebx
movq %rdi, %r13
movq %rdx, %rsi
callq _t4_fw_matches_chip
testl %eax, %eax
je LBB0_1
## %bb.2:
movq _CXGB4_FW_OK@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
andl %eax, (%r13)
movq %r13, %rdi
movl %ebx, -44(%rbp) ## 4-byte Spill
movl %ebx, %esi
movl %r14d, %edx
callq _t4_fw_halt
testl %r14d, %r14d
jne LBB0_4
## %bb.3:
movl %eax, %ebx
testl %eax, %eax
js LBB0_7
LBB0_4:
movq %r13, %rdi
movq %r15, %rsi
movl %r12d, %edx
callq _t4_load_fw
testl %eax, %eax
js LBB0_5
## %bb.6:
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq _t4_load_cfg
movl (%r15), %edi
callq _be32_to_cpu
movq _FW_HDR_FLAGS_RESET_HALT@GOTPCREL(%rip), %rcx
xorl %edx, %edx
andl (%rcx), %eax
sete %dl
movq %r13, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
callq _t4_fw_restart
movl %eax, %ebx
movq %r13, %rdi
callq _t4_init_devlog_params
jmp LBB0_7
LBB0_1:
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
jmp LBB0_8
LBB0_5:
movl %eax, %ebx
LBB0_7:
movq _CXGB4_FW_OK@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, (%r13)
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
.comm _CXGB4_FW_OK,4,2 ## @CXGB4_FW_OK
.comm _FW_HDR_FLAGS_RESET_HALT,4,2 ## @FW_HDR_FLAGS_RESET_HALT
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _t4_fw_upgrade ; -- Begin function t4_fw_upgrade
.p2align 2
_t4_fw_upgrade: ; @t4_fw_upgrade
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x24, x4
mov x22, x3
mov x21, x2
mov x20, x1
mov x19, x0
mov x1, x2
bl _t4_fw_matches_chip
cbz w0, LBB0_5
; %bb.1:
Lloh0:
adrp x25, _CXGB4_FW_OK@GOTPAGE
Lloh1:
ldr x25, [x25, _CXGB4_FW_OK@GOTPAGEOFF]
ldr w8, [x25]
ldr w9, [x19]
bic w8, w9, w8
str w8, [x19]
mov x0, x19
mov x1, x20
mov x2, x24
bl _t4_fw_halt
cbnz w24, LBB0_3
; %bb.2:
mov x23, x0
tbnz w0, #31, LBB0_7
LBB0_3:
mov x0, x19
mov x1, x21
mov x2, x22
bl _t4_load_fw
tbnz w0, #31, LBB0_6
; %bb.4:
mov x0, x19
mov x1, #0
mov w2, #0
bl _t4_load_cfg
ldr w0, [x21]
bl _be32_to_cpu
Lloh2:
adrp x8, _FW_HDR_FLAGS_RESET_HALT@GOTPAGE
Lloh3:
ldr x8, [x8, _FW_HDR_FLAGS_RESET_HALT@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
tst w8, w0
cset w2, eq
mov x0, x19
mov x1, x20
bl _t4_fw_restart
mov x23, x0
mov x0, x19
bl _t4_init_devlog_params
b LBB0_7
LBB0_5:
Lloh5:
adrp x8, _EINVAL@GOTPAGE
Lloh6:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
neg w23, w8
b LBB0_8
LBB0_6:
mov x23, x0
LBB0_7:
ldr w8, [x25]
ldr w9, [x19]
orr w8, w9, w8
str w8, [x19]
LBB0_8:
mov x0, x23
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.comm _CXGB4_FW_OK,4,2 ; @CXGB4_FW_OK
.comm _FW_HDR_FLAGS_RESET_HALT,4,2 ; @FW_HDR_FLAGS_RESET_HALT
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb4/extr_t4_hw.c_t4_fw_upgrade.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function subdev_8255_mmio
_subdev_8255_mmio: ## @subdev_8255_mmio
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, %eax
movslq %edx, %rsi
addq %r8, %rsi
addq (%rdi), %rsi
testl %eax, %eax
je LBB0_2
## %bb.1:
movl %ecx, %edi
callq _writeb
xorl %eax, %eax
popq %rbp
retq
LBB0_2:
movq %rsi, %rdi
popq %rbp
jmp _readb ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _subdev_8255_mmio
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function subdev_8255_mmio
_subdev_8255_mmio: ; @subdev_8255_mmio
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x8, x1
ldr x9, [x0]
add x10, x4, w2, sxtw
add x1, x10, x9
cbz w8, LBB0_2
; %bb.1:
mov x0, x3
bl _writeb
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_2:
mov x0, x1
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _readb
.cfi_endproc
; -- End function
.no_dead_strip _subdev_8255_mmio
.subsections_via_symbols
| AnghaBench/linux/drivers/staging/comedi/drivers/extr_comedi_8255.c_subdev_8255_mmio.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function callchain_cursor_current
_callchain_cursor_current: ## @callchain_cursor_current
.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
cmpq 8(%rdi), %rax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
popq %rbp
retq
LBB0_2:
movq 16(%rdi), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _callchain_cursor_current
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function callchain_cursor_current
_callchain_cursor_current: ; @callchain_cursor_current
.cfi_startproc
; %bb.0:
ldp x8, x9, [x0]
cmp x8, x9
b.ne LBB0_2
; %bb.1:
mov x0, #0
ret
LBB0_2:
ldr x0, [x0, #16]
ret
.cfi_endproc
; -- End function
.no_dead_strip _callchain_cursor_current
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/tools/perf/ui/stdio/extr_....utilcallchain.h_callchain_cursor_current.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ypproc_next_2_svc ## -- Begin function ypproc_next_2_svc
.p2align 4, 0x90
_ypproc_next_2_svc: ## @ypproc_next_2_svc
.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 %rdi, %rbx
movl 12(%rdi), %edi
leaq _ypproc_next_2_svc.res(%rip), %rsi
callq _yp_valid_domain
cmpl $-1, %eax
je LBB0_18
## %bb.1:
movl (%rbx), %edi
leaq L_.str(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_3
## %bb.2:
movl (%rbx), %edi
leaq L_.str.1(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_3
## %bb.11:
movl (%rbx), %edi
leaq L_.str.2(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_12
## %bb.16:
movl (%rbx), %esi
leaq L_.str.3(%rip), %rdi
callq _log_debug
movq _YP_NOMAP@GOTPCREL(%rip), %rax
jmp LBB0_17
LBB0_3:
movl 4(%rbx), %r15d
leal 1(%r15), %edi
movl $1, %esi
callq _calloc
testq %rax, %rax
je LBB0_4
## %bb.5:
movq %rax, %r14
movl 8(%rbx), %esi
movq %rax, %rdi
movl %r15d, %edx
callq _strncpy
movq %r14, -56(%rbp)
movq _user_name_tree@GOTPCREL(%rip), %r12
movl (%r12), %edi
movq _env@GOTPCREL(%rip), %r13
movq (%r13), %rax
movl 4(%rax), %esi
leaq -56(%rbp), %rdx
callq _RB_FIND
movq %rax, %rbx
testq %rax, %rax
jne LBB0_9
## %bb.6:
movl (%r12), %edi
movq (%r13), %rax
movl 4(%rax), %esi
leaq -56(%rbp), %r15
movq %r15, %rdx
callq _RB_INSERT
movl (%r12), %edi
movq (%r13), %rsi
addq $4, %rsi
movq %r15, %rdx
callq _RB_NEXT
movq %rax, %rbx
movl (%r12), %edi
movq (%r13), %rax
movl 4(%rax), %esi
movq %r15, %rdx
callq _RB_REMOVE
testq %rbx, %rbx
je LBB0_7
LBB0_9:
movq (%rbx), %rbx
LBB0_10:
movq %rbx, %rdi
callq _strlen
cltq
leaq (%rax,%rbx), %r15
leaq (%rax,%rbx), %rdi
incq %rdi
callq _strlen
cltq
leaq (%rax,%r15), %rdx
addq $2, %rdx
leaq _ypproc_next_2_svc.res(%rip), %rdi
movq %rdx, %rsi
callq _yp_make_keyval
LBB0_8:
movq %r14, %rdi
callq _free
jmp LBB0_18
LBB0_12:
movl 4(%rbx), %r15d
leal 1(%r15), %edi
movl $1, %esi
callq _calloc
testq %rax, %rax
je LBB0_4
## %bb.13:
movq %rax, %r14
movl 8(%rbx), %esi
movq %rax, %rdi
movl %r15d, %edx
callq _strncpy
movq %r14, -48(%rbp)
movq _group_name_tree@GOTPCREL(%rip), %r12
movl (%r12), %edi
movq _env@GOTPCREL(%rip), %r13
movq (%r13), %rax
movl (%rax), %esi
leaq -56(%rbp), %rdx
callq _RB_FIND
movq %rax, %rbx
testq %rax, %rax
jne LBB0_15
## %bb.14:
movl (%r12), %edi
movq (%r13), %rax
movl (%rax), %esi
leaq -56(%rbp), %r15
movq %r15, %rdx
callq _RB_INSERT
movl (%r12), %edi
movq (%r13), %rsi
movq %r15, %rdx
callq _RB_NEXT
movq %rax, %rbx
movl (%r12), %edi
movq (%r13), %rax
movl (%rax), %esi
movq %r15, %rdx
callq _RB_REMOVE
testq %rbx, %rbx
je LBB0_7
LBB0_15:
movq 8(%rbx), %rbx
jmp LBB0_10
LBB0_4:
movq _YP_YPERR@GOTPCREL(%rip), %rax
LBB0_17:
movq (%rax), %rax
movq %rax, _ypproc_next_2_svc.res(%rip)
LBB0_18:
leaq _ypproc_next_2_svc.res(%rip), %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_7:
movq _YP_NOKEY@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, _ypproc_next_2_svc.res(%rip)
jmp LBB0_8
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_ypproc_next_2_svc.res,8,3 ## @ypproc_next_2_svc.res
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "passwd.byname"
L_.str.1: ## @.str.1
.asciz "master.passwd.byname"
.comm _YP_YPERR,8,3 ## @YP_YPERR
.comm _user_name_tree,4,2 ## @user_name_tree
.comm _env,8,3 ## @env
.comm _YP_NOKEY,8,3 ## @YP_NOKEY
L_.str.2: ## @.str.2
.asciz "group.byname"
.comm _group_name_tree,4,2 ## @group_name_tree
L_.str.3: ## @.str.3
.asciz "unknown map %s"
.comm _YP_NOMAP,8,3 ## @YP_NOMAP
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ypproc_next_2_svc ; -- Begin function ypproc_next_2_svc
.p2align 2
_ypproc_next_2_svc: ; @ypproc_next_2_svc
.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 w0, [x0, #12]
Lloh0:
adrp x1, _ypproc_next_2_svc.res@PAGE
Lloh1:
add x1, x1, _ypproc_next_2_svc.res@PAGEOFF
bl _yp_valid_domain
cmn w0, #1
b.eq LBB0_17
; %bb.1:
ldr w0, [x20]
Lloh2:
adrp x1, l_.str@PAGE
Lloh3:
add x1, x1, l_.str@PAGEOFF
bl _strcmp
cbz x0, LBB0_5
; %bb.2:
ldr w0, [x20]
Lloh4:
adrp x1, l_.str.1@PAGE
Lloh5:
add x1, x1, l_.str.1@PAGEOFF
bl _strcmp
cbz x0, LBB0_5
; %bb.3:
ldr w0, [x20]
Lloh6:
adrp x1, l_.str.2@PAGE
Lloh7:
add x1, x1, l_.str.2@PAGEOFF
bl _strcmp
cbz x0, LBB0_11
; %bb.4:
ldr w1, [x20]
Lloh8:
adrp x0, l_.str.3@PAGE
Lloh9:
add x0, x0, l_.str.3@PAGEOFF
bl _log_debug
Lloh10:
adrp x8, _YP_NOMAP@GOTPAGE
Lloh11:
ldr x8, [x8, _YP_NOMAP@GOTPAGEOFF]
b LBB0_16
LBB0_5:
ldr w21, [x20, #4]
add w0, w21, #1
mov w1, #1
bl _calloc
cbz x0, LBB0_15
; %bb.6:
mov x19, x0
ldr w1, [x20, #8]
mov x2, x21
bl _strncpy
Lloh12:
adrp x21, _user_name_tree@GOTPAGE
Lloh13:
ldr x21, [x21, _user_name_tree@GOTPAGEOFF]
str x19, [sp]
ldr w0, [x21]
Lloh14:
adrp x22, _env@GOTPAGE
Lloh15:
ldr x22, [x22, _env@GOTPAGEOFF]
ldr x8, [x22]
ldr w1, [x8, #4]
mov x2, sp
bl _RB_FIND
mov x20, x0
cbnz x0, LBB0_8
; %bb.7:
ldr w0, [x21]
ldr x8, [x22]
ldr w1, [x8, #4]
mov x2, sp
bl _RB_INSERT
ldr w0, [x21]
ldr x8, [x22]
add x1, x8, #4
mov x2, sp
bl _RB_NEXT
mov x20, x0
ldr w0, [x21]
ldr x8, [x22]
ldr w1, [x8, #4]
mov x2, sp
bl _RB_REMOVE
cbz x20, LBB0_18
LBB0_8:
ldr x20, [x20]
LBB0_9:
mov x0, x20
bl _strlen
add w8, w0, #1
add x20, x20, w8, sxtw
mov x0, x20
bl _strlen
add w8, w0, #1
add x1, x20, w8, sxtw
Lloh16:
adrp x0, _ypproc_next_2_svc.res@PAGE
Lloh17:
add x0, x0, _ypproc_next_2_svc.res@PAGEOFF
mov x2, x1
bl _yp_make_keyval
LBB0_10:
mov x0, x19
bl _free
b LBB0_17
LBB0_11:
ldr w21, [x20, #4]
add w0, w21, #1
mov w1, #1
bl _calloc
cbz x0, LBB0_15
; %bb.12:
mov x19, x0
ldr w1, [x20, #8]
mov x2, x21
bl _strncpy
Lloh18:
adrp x21, _group_name_tree@GOTPAGE
Lloh19:
ldr x21, [x21, _group_name_tree@GOTPAGEOFF]
str x19, [sp, #8]
ldr w0, [x21]
Lloh20:
adrp x22, _env@GOTPAGE
Lloh21:
ldr x22, [x22, _env@GOTPAGEOFF]
ldr x8, [x22]
ldr w1, [x8]
mov x2, sp
bl _RB_FIND
mov x20, x0
cbnz x0, LBB0_14
; %bb.13:
ldr w0, [x21]
ldr x8, [x22]
ldr w1, [x8]
mov x2, sp
bl _RB_INSERT
ldr w0, [x21]
ldr x1, [x22]
mov x2, sp
bl _RB_NEXT
mov x20, x0
ldr w0, [x21]
ldr x8, [x22]
ldr w1, [x8]
mov x2, sp
bl _RB_REMOVE
cbz x20, LBB0_18
LBB0_14:
ldr x20, [x20, #8]
b LBB0_9
LBB0_15:
Lloh22:
adrp x8, _YP_YPERR@GOTPAGE
Lloh23:
ldr x8, [x8, _YP_YPERR@GOTPAGEOFF]
LBB0_16:
ldr x8, [x8]
adrp x9, _ypproc_next_2_svc.res@PAGE
str x8, [x9, _ypproc_next_2_svc.res@PAGEOFF]
LBB0_17:
Lloh24:
adrp x0, _ypproc_next_2_svc.res@PAGE
Lloh25:
add x0, x0, _ypproc_next_2_svc.res@PAGEOFF
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
LBB0_18:
Lloh26:
adrp x8, _YP_NOKEY@GOTPAGE
Lloh27:
ldr x8, [x8, _YP_NOKEY@GOTPAGEOFF]
Lloh28:
ldr x8, [x8]
adrp x9, _ypproc_next_2_svc.res@PAGE
str x8, [x9, _ypproc_next_2_svc.res@PAGEOFF]
b LBB0_10
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGot Lloh22, Lloh23
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_ypproc_next_2_svc.res,8,3 ; @ypproc_next_2_svc.res
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "passwd.byname"
l_.str.1: ; @.str.1
.asciz "master.passwd.byname"
.comm _YP_YPERR,8,3 ; @YP_YPERR
.comm _user_name_tree,4,2 ; @user_name_tree
.comm _env,8,3 ; @env
.comm _YP_NOKEY,8,3 ; @YP_NOKEY
l_.str.2: ; @.str.2
.asciz "group.byname"
.comm _group_name_tree,4,2 ; @group_name_tree
l_.str.3: ; @.str.3
.asciz "unknown map %s"
.comm _YP_NOMAP,8,3 ; @YP_NOMAP
.subsections_via_symbols
| AnghaBench/freebsd/usr.sbin/ypldap/extr_yp.c_ypproc_next_2_svc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function smb2_set_credits
_smb2_set_credits: ## @smb2_set_credits
.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, %r15d
movq %rdi, %rbx
leaq 4(%rdi), %r14
movq %r14, %rdi
callq _spin_lock
movl %r15d, (%rbx)
cmpl $1, %r15d
jne LBB0_2
## %bb.1:
incl 8(%rbx)
movq %r14, %rdi
callq _spin_unlock
movq _FYI@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _cifs_dbg ## TAILCALL
LBB0_2:
movq %r14, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _spin_unlock ## TAILCALL
.cfi_endproc
## -- End function
.comm _FYI,4,2 ## @FYI
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "set credits to 1 due to smb2 reconnect\n"
.no_dead_strip _smb2_set_credits
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function smb2_set_credits
_smb2_set_credits: ; @smb2_set_credits
.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
add x19, x0, #4
mov x0, x19
bl _spin_lock
str w21, [x20]
cmp w21, #1
b.ne LBB0_2
; %bb.1:
ldr w8, [x20, #8]
add w8, w8, #1
str w8, [x20, #8]
mov x0, x19
bl _spin_unlock
Lloh0:
adrp x8, _FYI@GOTPAGE
Lloh1:
ldr x8, [x8, _FYI@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
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 _cifs_dbg
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 _spin_unlock
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _FYI,4,2 ; @FYI
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "set credits to 1 due to smb2 reconnect\n"
.no_dead_strip _smb2_set_credits
.subsections_via_symbols
| AnghaBench/linux/fs/cifs/extr_smb2ops.c_smb2_set_credits.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _HUF_decompress1X2_DCtx_wksp ## -- Begin function HUF_decompress1X2_DCtx_wksp
.p2align 4, 0x90
_HUF_decompress1X2_DCtx_wksp: ## @HUF_decompress1X2_DCtx_wksp
.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, %rbx
movq %rcx, %r13
movq %rdx, -48(%rbp) ## 8-byte Spill
movq %rsi, %r12
movq %rdi, %r14
movq 16(%rbp), %r8
movq %rcx, %rsi
movq %rbx, %rdx
movq %r9, %rcx
callq _HUF_readDTableX2_wksp
movq %rax, %r15
movq %rax, %rdi
callq _HUF_isError
testq %rax, %rax
je LBB0_1
## %bb.3:
movq %r15, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_1:
movq -48(%rbp), %rsi ## 8-byte Reload
cmpq %rbx, %r15
jae LBB0_4
## %bb.2:
leaq (,%r15,4), %rdx
addq %r13, %rdx
subq %r15, %rbx
movq %r12, %rdi
movq %rbx, %rcx
movq %r14, %r8
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _HUF_decompress1X2_usingDTable_internal ## TAILCALL
LBB0_4:
movq _srcSize_wrong@GOTPCREL(%rip), %rax
movl (%rax), %edi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _ERROR ## TAILCALL
.cfi_endproc
## -- End function
.comm _srcSize_wrong,4,2 ## @srcSize_wrong
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _HUF_decompress1X2_DCtx_wksp ; -- Begin function HUF_decompress1X2_DCtx_wksp
.p2align 2
_HUF_decompress1X2_DCtx_wksp: ; @HUF_decompress1X2_DCtx_wksp
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x21, x4
mov x23, x3
mov x20, x2
mov x22, x1
mov x19, x0
mov x1, x3
mov x2, x4
mov x3, x5
mov x4, x6
bl _HUF_readDTableX2_wksp
mov x24, x0
bl _HUF_isError
cbz x0, LBB0_2
; %bb.1:
mov x0, x24
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_2:
cmp x24, x21
b.hs LBB0_4
; %bb.3:
add x2, x23, x24, lsl #2
sub x3, x21, x24
mov x0, x22
mov x1, 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 _HUF_decompress1X2_usingDTable_internal
LBB0_4:
Lloh0:
adrp x8, _srcSize_wrong@GOTPAGE
Lloh1:
ldr x8, [x8, _srcSize_wrong@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
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 _ERROR
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _srcSize_wrong,4,2 ; @srcSize_wrong
.subsections_via_symbols
| AnghaBench/linux/lib/zstd/extr_huf_decompress.c_HUF_decompress1X2_DCtx_wksp.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
leaq L_.str(%rip), %rdi
movl $8, %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 "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #8
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/51701260.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function reg_w1
_reg_w1: ## @reg_w1
.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 %edx, -4(%rbp)
leaq -4(%rbp), %rdx
movl $1, %ecx
callq _reg_w
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _reg_w1
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function reg_w1
_reg_w1: ; @reg_w1
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w2, [x29, #-4]
sub x2, x29, #4
mov w3, #1
bl _reg_w
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.no_dead_strip _reg_w1
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_sn9c20x.c_reg_w1.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _lsmShmTestLock ## -- Begin function lsmShmTestLock
.p2align 4, 0x90
_lsmShmTestLock: ## @lsmShmTestLock
.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, -52(%rbp) ## 4-byte Spill
movl %esi, -44(%rbp) ## 4-byte Spill
movq %rdi, %rbx
movq _LSM_OK@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -56(%rbp) ## 4-byte Spill
movq 16(%rdi), %r14
xorl %r13d, %r13d
movl %edx, -48(%rbp) ## 4-byte Spill
testl %edx, %edx
setg %r12b
movl 4(%rdi), %edi
movl (%r14), %esi
callq _lsmMutexEnter
movq 16(%r14), %r15
testq %r15, %r15
je LBB0_6
## %bb.1:
movb %r12b, %r13b
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
xorl %edi, %edi
cmpq %rbx, %r15
setne %dil
callq _assert
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movq 8(%r15), %r15
testq %r15, %r15
je LBB0_6
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpq %rbx, %r15
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl (%r15), %eax
orl %r13d, %eax
jne LBB0_4
jmp LBB0_5
LBB0_6:
cmpq $0, 8(%r14)
movl -56(%rbp), %r15d ## 4-byte Reload
je LBB0_8
## %bb.7:
movl 4(%rbx), %edi
movl 4(%r14), %esi
movl -44(%rbp), %edx ## 4-byte Reload
movl -48(%rbp), %ecx ## 4-byte Reload
movl -52(%rbp), %r8d ## 4-byte Reload
callq _lsmEnvTestLock
movl %eax, %r15d
LBB0_8:
movl 4(%rbx), %edi
movl (%r14), %esi
callq _lsmMutexLeave
movl %r15d, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _LSM_OK,4,2 ## @LSM_OK
.comm _LSM_LOCK_EXCL,4,2 ## @LSM_LOCK_EXCL
.comm _LSM_BUSY,4,2 ## @LSM_BUSY
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _lsmShmTestLock ; -- Begin function lsmShmTestLock
.p2align 2
_lsmShmTestLock: ; @lsmShmTestLock
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x21, x3
mov x22, x2
mov x23, x1
mov x19, x0
Lloh0:
adrp x8, _LSM_OK@GOTPAGE
Lloh1:
ldr x8, [x8, _LSM_OK@GOTPAGEOFF]
Lloh2:
ldr w20, [x8]
ldr x24, [x0, #16]
cmp w2, #0
cset w25, gt
ldr w0, [x0, #4]
ldr w1, [x24]
bl _lsmMutexEnter
ldr x26, [x24, #16]
cbnz x26, LBB0_6
LBB0_1:
ldr x8, [x24, #8]
cbz x8, LBB0_3
; %bb.2:
ldr w0, [x19, #4]
ldr w1, [x24, #4]
mov x2, x23
mov x3, x22
mov x4, x21
bl _lsmEnvTestLock
mov x20, x0
LBB0_3:
ldr w0, [x19, #4]
ldr w1, [x24]
bl _lsmMutexLeave
mov x0, x20
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
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
cmp x26, x19
cset w0, ne
bl _assert
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
ldr x26, [x26, #8]
cbz x26, LBB0_1
LBB0_6: ; =>This Inner Loop Header: Depth=1
cmp x26, x19
b.ne LBB0_4
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
ldr w8, [x26]
orr w8, w8, w25
cbnz w8, LBB0_4
b LBB0_5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _LSM_OK,4,2 ; @LSM_OK
.comm _LSM_LOCK_EXCL,4,2 ; @LSM_LOCK_EXCL
.comm _LSM_BUSY,4,2 ; @LSM_BUSY
.subsections_via_symbols
| assembly_file_108040.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rds_iw_ring_empty ## -- Begin function rds_iw_ring_empty
.p2align 4, 0x90
_rds_iw_ring_empty: ## @rds_iw_ring_empty
.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 ___rds_iw_ring_empty ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rds_iw_ring_empty ; -- Begin function rds_iw_ring_empty
.p2align 2
_rds_iw_ring_empty: ; @rds_iw_ring_empty
.cfi_startproc
; %bb.0:
b ___rds_iw_ring_empty
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/net/rds/extr_iw_ring.c_rds_iw_ring_empty.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _atf_dynstr_rfind_ch ## -- Begin function atf_dynstr_rfind_ch
.p2align 4, 0x90
_atf_dynstr_rfind_ch: ## @atf_dynstr_rfind_ch
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _atf_dynstr_npos@GOTPCREL(%rip), %rax
movq (%rax), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _atf_dynstr_npos,8,3 ## @atf_dynstr_npos
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _atf_dynstr_rfind_ch ; -- Begin function atf_dynstr_rfind_ch
.p2align 2
_atf_dynstr_rfind_ch: ; @atf_dynstr_rfind_ch
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _atf_dynstr_npos@GOTPAGE
Lloh1:
ldr x8, [x8, _atf_dynstr_npos@GOTPAGEOFF]
Lloh2:
ldr x0, [x8]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _atf_dynstr_npos,8,3 ; @atf_dynstr_npos
.subsections_via_symbols
| assembly_file_56155.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function smb_is_share_active
_smb_is_share_active: ## @smb_is_share_active
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
movq _smb_shares@GOTPCREL(%rip), %rax
movq (%rax), %rbx
xorl %eax, %eax
callq _smb_available
movq _B_FALSE@GOTPCREL(%rip), %r14
testl %eax, %eax
je LBB0_6
## %bb.1:
xorl %eax, %eax
callq _smb_retrieve_shares
testq %rbx, %rbx
je LBB0_6
## %bb.2:
movq _B_TRUE@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl (%r15), %edi
movl 8(%rbx), %esi
callq _strcmp
testq %rax, %rax
je LBB0_4
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq (%rbx), %rbx
testq %rbx, %rbx
jne LBB0_3
jmp LBB0_6
LBB0_4:
movq %r12, %r14
LBB0_6:
movl (%r14), %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _smb_shares,8,3 ## @smb_shares
.comm _B_FALSE,4,2 ## @B_FALSE
.comm _B_TRUE,4,2 ## @B_TRUE
.no_dead_strip _smb_is_share_active
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function smb_is_share_active
_smb_is_share_active: ; @smb_is_share_active
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x8, _smb_shares@GOTPAGE
Lloh1:
ldr x8, [x8, _smb_shares@GOTPAGEOFF]
Lloh2:
ldr x21, [x8]
bl _smb_available
cbz w0, LBB0_6
; %bb.1:
bl _smb_retrieve_shares
cbz x21, LBB0_6
; %bb.2:
Lloh3:
adrp x20, _B_TRUE@GOTPAGE
Lloh4:
ldr x20, [x20, _B_TRUE@GOTPAGEOFF]
Lloh5:
adrp x22, _B_FALSE@GOTPAGE
Lloh6:
ldr x22, [x22, _B_FALSE@GOTPAGEOFF]
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w0, [x19]
ldr w1, [x21, #8]
bl _strcmp
cbz x0, LBB0_7
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr x21, [x21]
cbnz x21, LBB0_3
; %bb.5:
mov x20, x22
b LBB0_7
LBB0_6:
Lloh7:
adrp x20, _B_FALSE@GOTPAGE
Lloh8:
ldr x20, [x20, _B_FALSE@GOTPAGEOFF]
LBB0_7:
ldr w0, [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 AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _smb_shares,8,3 ; @smb_shares
.comm _B_FALSE,4,2 ; @B_FALSE
.comm _B_TRUE,4,2 ; @B_TRUE
.no_dead_strip _smb_is_share_active
.subsections_via_symbols
| AnghaBench/zfs/lib/libshare/extr_smb.c_smb_is_share_active.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _uv_is_readable ## -- Begin function uv_is_readable
.p2align 4, 0x90
_uv_is_readable: ## @uv_is_readable
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _UV_HANDLE_READABLE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
xorl %eax, %eax
testl %ecx, (%rdi)
setne %al
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _UV_HANDLE_READABLE,4,2 ## @UV_HANDLE_READABLE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _uv_is_readable ; -- Begin function uv_is_readable
.p2align 2
_uv_is_readable: ; @uv_is_readable
.cfi_startproc
; %bb.0:
ldr w8, [x0]
Lloh0:
adrp x9, _UV_HANDLE_READABLE@GOTPAGE
Lloh1:
ldr x9, [x9, _UV_HANDLE_READABLE@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
cset w0, ne
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _UV_HANDLE_READABLE,4,2 ; @UV_HANDLE_READABLE
.subsections_via_symbols
| AnghaBench/libuv/src/unix/extr_stream.c_uv_is_readable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function fd_alloc_disk
_fd_alloc_disk: ## @fd_alloc_disk
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %r14d
movl $1, %edi
callq _alloc_disk
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %rbx
movq _unit@GOTPCREL(%rip), %r15
movq (%r15), %rax
movslq %r14d, %r14
movq %r14, %r12
shlq $4, %r12
leaq (%rax,%r12), %rdi
addq $8, %rdi
movq _BLK_MQ_F_SHOULD_MERGE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _amiflop_mq_ops@GOTPCREL(%rip), %rsi
movl $2, %edx
callq _blk_mq_init_sq_queue
movq %rax, (%rbx)
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_4
## %bb.3:
movq $0, (%rbx)
LBB0_6:
movq %rbx, %rdi
callq _put_disk
jmp LBB0_7
LBB0_1:
movslq %r14d, %r14
LBB0_7:
movq _FD_NODRIVE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _unit@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
shlq $4, %r14
movq (%rcx,%r14), %rcx
movl %eax, (%rcx)
xorl %ebx, %ebx
LBB0_8:
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
movq _FLOPPY_MAX_SECTORS@GOTPCREL(%rip), %rax
movl (%rax), %edi
shll $9, %edi
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _kmalloc
movq (%r15), %rcx
movl %eax, 12(%rcx,%r12)
testl %eax, %eax
jne LBB0_8
## %bb.5:
movq (%rbx), %rdi
callq _blk_cleanup_queue
movq $0, (%rbx)
movq (%r15), %rax
leaq (%rax,%r12), %rdi
addq $8, %rdi
callq _blk_mq_free_tag_set
jmp LBB0_6
.cfi_endproc
## -- End function
.comm _unit,8,3 ## @unit
.comm _amiflop_mq_ops,4,2 ## @amiflop_mq_ops
.comm _BLK_MQ_F_SHOULD_MERGE,4,2 ## @BLK_MQ_F_SHOULD_MERGE
.comm _FLOPPY_MAX_SECTORS,4,2 ## @FLOPPY_MAX_SECTORS
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _FD_NODRIVE,4,2 ## @FD_NODRIVE
.no_dead_strip _fd_alloc_disk
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function fd_alloc_disk
_fd_alloc_disk: ; @fd_alloc_disk
.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, x0
mov w0, #1
bl _alloc_disk
Lloh0:
adrp x21, _unit@GOTPAGE
Lloh1:
ldr x21, [x21, _unit@GOTPAGEOFF]
cbz x0, LBB0_4
; %bb.1:
mov x19, x0
ldr x8, [x21]
sxtw x22, w20
add x8, x8, w20, sxtw #4
add x0, x8, #8
Lloh2:
adrp x8, _BLK_MQ_F_SHOULD_MERGE@GOTPAGE
Lloh3:
ldr x8, [x8, _BLK_MQ_F_SHOULD_MERGE@GOTPAGEOFF]
Lloh4:
ldr w3, [x8]
Lloh5:
adrp x1, _amiflop_mq_ops@GOTPAGE
Lloh6:
ldr x1, [x1, _amiflop_mq_ops@GOTPAGEOFF]
mov w2, #2
bl _blk_mq_init_sq_queue
str x0, [x19]
bl _IS_ERR
cbz x0, LBB0_7
; %bb.2:
str xzr, [x19]
LBB0_3:
mov x0, x19
bl _put_disk
b LBB0_5
LBB0_4:
; kill: def $w20 killed $w20 killed $x20 def $x20
sxtw x22, w20
LBB0_5:
mov x19, #0
Lloh7:
adrp x8, _FD_NODRIVE@GOTPAGE
Lloh8:
ldr x8, [x8, _FD_NODRIVE@GOTPAGEOFF]
Lloh9:
ldr w8, [x8]
ldr x9, [x21]
lsl x10, x22, #4
ldr x9, [x9, x10]
str w8, [x9]
LBB0_6:
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
ret
LBB0_7:
Lloh10:
adrp x8, _FLOPPY_MAX_SECTORS@GOTPAGE
Lloh11:
ldr x8, [x8, _FLOPPY_MAX_SECTORS@GOTPAGEOFF]
Lloh12:
ldr w8, [x8]
lsl w0, w8, #9
Lloh13:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh14:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh15:
ldr w1, [x8]
bl _kmalloc
ldr x8, [x21]
add x8, x8, x22, lsl #4
str w0, [x8, #12]
cbnz w0, LBB0_6
; %bb.8:
ldr x0, [x19]
bl _blk_cleanup_queue
str xzr, [x19]
ldr x8, [x21]
add x8, x8, x22, lsl #4
add x0, x8, #8
bl _blk_mq_free_tag_set
b LBB0_3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.cfi_endproc
; -- End function
.comm _unit,8,3 ; @unit
.comm _amiflop_mq_ops,4,2 ; @amiflop_mq_ops
.comm _BLK_MQ_F_SHOULD_MERGE,4,2 ; @BLK_MQ_F_SHOULD_MERGE
.comm _FLOPPY_MAX_SECTORS,4,2 ; @FLOPPY_MAX_SECTORS
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _FD_NODRIVE,4,2 ; @FD_NODRIVE
.no_dead_strip _fd_alloc_disk
.subsections_via_symbols
| AnghaBench/linux/drivers/block/extr_amiflop.c_fd_alloc_disk.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function incr_file_mode_stat
_incr_file_mode_stat: ## @incr_file_mode_stat
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movl (%rdi), %edi
callq _S_ISLNK
testq %rax, %rax
je LBB0_2
## %bb.1:
movq _symlinks@GOTPCREL(%rip), %rax
jmp LBB0_5
LBB0_2:
movl (%rbx), %edi
callq _S_ISDIR
testq %rax, %rax
jne LBB0_3
## %bb.4:
movq _regulars@GOTPCREL(%rip), %rax
jmp LBB0_5
LBB0_3:
movq _directories@GOTPCREL(%rip), %rax
LBB0_5:
incl (%rax)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _symlinks,4,2 ## @symlinks
.comm _directories,4,2 ## @directories
.comm _regulars,4,2 ## @regulars
.no_dead_strip _incr_file_mode_stat
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function incr_file_mode_stat
_incr_file_mode_stat: ; @incr_file_mode_stat
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w0, [x0]
bl _S_ISLNK
cbz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x8, _symlinks@GOTPAGE
Lloh1:
ldr x8, [x8, _symlinks@GOTPAGEOFF]
b LBB0_3
LBB0_2:
ldr w0, [x19]
bl _S_ISDIR
Lloh2:
adrp x8, _directories@GOTPAGE
Lloh3:
ldr x8, [x8, _directories@GOTPAGEOFF]
Lloh4:
adrp x9, _regulars@GOTPAGE
Lloh5:
ldr x9, [x9, _regulars@GOTPAGEOFF]
cmp x0, #0
csel x8, x9, x8, eq
LBB0_3:
ldr w9, [x8]
add w9, w9, #1
str w9, [x8]
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 Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _symlinks,4,2 ; @symlinks
.comm _directories,4,2 ; @directories
.comm _regulars,4,2 ; @regulars
.no_dead_strip _incr_file_mode_stat
.subsections_via_symbols
| AnghaBench/kphp-kdb/filesys/extr_filesys-commit-changes.c_incr_file_mode_stat.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function systrace_entry_setargdesc
_systrace_entry_setargdesc: ## @systrace_entry_setargdesc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $47, %edi
ja LBB0_53
## %bb.1:
movl %edi, %eax
leaq LJTI0_0(%rip), %rdi
movslq (%rdi,%rax,4), %rax
addq %rdi, %rax
jmpq *%rax
LBB0_63:
testl %esi, %esi
jne LBB0_53
jmp LBB0_65
LBB0_46:
testl %esi, %esi
je LBB0_67
## %bb.47:
cmpl $1, %esi
jne LBB0_53
## %bb.48:
leaq L_.str.3(%rip), %rsi
jmp LBB0_95
LBB0_68:
testl %esi, %esi
jne LBB0_53
## %bb.69:
leaq L_.str.6(%rip), %rsi
jmp LBB0_95
LBB0_4:
cmpl $3, %esi
jae LBB0_53
## %bb.5:
movl %esi, %eax
leaq l_switch.table.systrace_entry_setargdesc.69.rel(%rip), %rdi
jmp LBB0_94
LBB0_6:
testl %esi, %esi
jne LBB0_53
## %bb.7:
leaq L_.str.35(%rip), %rsi
jmp LBB0_95
LBB0_8:
cmpl $5, %esi
jae LBB0_53
## %bb.9:
movl %esi, %eax
leaq l_switch.table.systrace_entry_setargdesc.67.rel(%rip), %rdi
jmp LBB0_94
LBB0_10:
testl %esi, %esi
je LBB0_96
## %bb.11:
cmpl $1, %esi
je LBB0_12
jmp LBB0_53
LBB0_13:
testl %esi, %esi
je LBB0_65
## %bb.14:
cmpl $1, %esi
jne LBB0_53
## %bb.15:
leaq L_.str.41(%rip), %rsi
jmp LBB0_95
LBB0_16:
cmpl $3, %esi
jae LBB0_53
## %bb.17:
movl %esi, %eax
leaq l_switch.table.systrace_entry_setargdesc.50.rel(%rip), %rdi
jmp LBB0_94
LBB0_18:
cmpl $5, %esi
jae LBB0_53
## %bb.19:
movl %esi, %eax
leaq l_switch.table.systrace_entry_setargdesc.53.rel(%rip), %rdi
jmp LBB0_94
LBB0_20:
testl %esi, %esi
je LBB0_65
## %bb.21:
cmpl $1, %esi
jne LBB0_53
## %bb.22:
leaq L_.str.13(%rip), %rsi
jmp LBB0_95
LBB0_23:
testl %esi, %esi
je LBB0_65
## %bb.24:
cmpl $1, %esi
jne LBB0_53
## %bb.25:
leaq L_.str.23(%rip), %rsi
jmp LBB0_95
LBB0_26:
cmpl $5, %esi
jae LBB0_53
## %bb.27:
movl %esi, %eax
leaq l_switch.table.systrace_entry_setargdesc.55.rel(%rip), %rdi
jmp LBB0_94
LBB0_28:
cmpl $3, %esi
jae LBB0_53
## %bb.29:
movl %esi, %eax
leaq l_switch.table.systrace_entry_setargdesc.45.rel(%rip), %rdi
jmp LBB0_94
LBB0_30:
cmpl $6, %esi
jae LBB0_53
## %bb.31:
movl %esi, %eax
leaq l_switch.table.systrace_entry_setargdesc.63.rel(%rip), %rdi
jmp LBB0_94
LBB0_32:
cmpl $5, %esi
jae LBB0_53
## %bb.33:
movl %esi, %eax
leaq l_switch.table.systrace_entry_setargdesc.59.rel(%rip), %rdi
jmp LBB0_94
LBB0_34:
testl %esi, %esi
jne LBB0_53
## %bb.35:
leaq L_.str.36(%rip), %rsi
jmp LBB0_95
LBB0_36:
cmpl $4, %esi
jae LBB0_53
## %bb.37:
movl %esi, %eax
leaq l_switch.table.systrace_entry_setargdesc.54.rel(%rip), %rdi
jmp LBB0_94
LBB0_38:
cmpl $3, %esi
jae LBB0_53
## %bb.39:
movl %esi, %eax
leaq l_switch.table.systrace_entry_setargdesc.46.rel(%rip), %rdi
jmp LBB0_94
LBB0_40:
cmpl $4, %esi
jae LBB0_53
## %bb.41:
movl %esi, %eax
leaq l_switch.table.systrace_entry_setargdesc.51.rel(%rip), %rdi
jmp LBB0_94
LBB0_42:
cmpl $3, %esi
jae LBB0_53
## %bb.43:
movl %esi, %eax
leaq l_switch.table.systrace_entry_setargdesc.rel(%rip), %rdi
jmp LBB0_94
LBB0_44:
cmpl $5, %esi
jae LBB0_53
## %bb.45:
movl %esi, %eax
leaq l_switch.table.systrace_entry_setargdesc.60.rel(%rip), %rdi
jmp LBB0_94
LBB0_64:
cmpl $2, %esi
jae LBB0_53
LBB0_65:
leaq L_.str.5(%rip), %rsi
jmp LBB0_95
LBB0_49:
cmpl $6, %esi
jae LBB0_53
## %bb.50:
movl %esi, %eax
leaq l_switch.table.systrace_entry_setargdesc.56.rel(%rip), %rdi
jmp LBB0_94
LBB0_51:
testl %esi, %esi
je LBB0_96
## %bb.52:
cmpl $1, %esi
jne LBB0_53
LBB0_12:
leaq L_.str.8(%rip), %rsi
jmp LBB0_95
LBB0_2:
testl %esi, %esi
jne LBB0_53
jmp LBB0_3
LBB0_54:
testl %esi, %esi
je LBB0_3
## %bb.55:
cmpl $1, %esi
jne LBB0_53
## %bb.56:
leaq L_.str.1(%rip), %rsi
jmp LBB0_95
LBB0_57:
testl %esi, %esi
jne LBB0_53
## %bb.58:
leaq L_.str.42(%rip), %rsi
jmp LBB0_95
LBB0_59:
cmpl $3, %esi
jae LBB0_53
## %bb.60:
movl %esi, %eax
leaq l_switch.table.systrace_entry_setargdesc.47.rel(%rip), %rdi
jmp LBB0_94
LBB0_61:
cmpl $4, %esi
jae LBB0_53
## %bb.62:
movl %esi, %eax
leaq l_switch.table.systrace_entry_setargdesc.61.rel(%rip), %rdi
jmp LBB0_94
LBB0_70:
cmpl $3, %esi
jae LBB0_53
## %bb.71:
movl %esi, %eax
leaq l_switch.table.systrace_entry_setargdesc.66.rel(%rip), %rdi
jmp LBB0_94
LBB0_72:
cmpl $4, %esi
jae LBB0_53
## %bb.73:
movl %esi, %eax
leaq l_switch.table.systrace_entry_setargdesc.44.rel(%rip), %rdi
jmp LBB0_94
LBB0_74:
cmpl $4, %esi
jae LBB0_53
## %bb.75:
movl %esi, %eax
leaq l_switch.table.systrace_entry_setargdesc.43.rel(%rip), %rdi
jmp LBB0_94
LBB0_76:
cmpl $4, %esi
jae LBB0_53
## %bb.77:
movl %esi, %eax
leaq l_switch.table.systrace_entry_setargdesc.49.rel(%rip), %rdi
jmp LBB0_94
LBB0_78:
cmpl $3, %esi
jae LBB0_53
## %bb.79:
movl %esi, %eax
leaq l_switch.table.systrace_entry_setargdesc.64.rel(%rip), %rdi
jmp LBB0_94
LBB0_80:
cmpl $3, %esi
jae LBB0_53
## %bb.81:
movl %esi, %eax
leaq l_switch.table.systrace_entry_setargdesc.48.rel(%rip), %rdi
jmp LBB0_94
LBB0_82:
cmpl $3, %esi
jae LBB0_53
## %bb.83:
movl %esi, %eax
leaq l_switch.table.systrace_entry_setargdesc.68.rel(%rip), %rdi
jmp LBB0_94
LBB0_84:
cmpl $6, %esi
jae LBB0_53
## %bb.85:
movl %esi, %eax
leaq l_switch.table.systrace_entry_setargdesc.52.rel(%rip), %rdi
jmp LBB0_94
LBB0_86:
cmpl $4, %esi
jae LBB0_53
## %bb.87:
movl %esi, %eax
leaq l_switch.table.systrace_entry_setargdesc.58.rel(%rip), %rdi
jmp LBB0_94
LBB0_88:
cmpl $3, %esi
jae LBB0_53
## %bb.89:
movl %esi, %eax
leaq l_switch.table.systrace_entry_setargdesc.57.rel(%rip), %rdi
jmp LBB0_94
LBB0_90:
cmpl $3, %esi
jae LBB0_53
## %bb.91:
movl %esi, %eax
leaq l_switch.table.systrace_entry_setargdesc.65.rel(%rip), %rdi
jmp LBB0_94
LBB0_92:
cmpl $3, %esi
jae LBB0_53
## %bb.93:
movl %esi, %eax
leaq l_switch.table.systrace_entry_setargdesc.62.rel(%rip), %rdi
LBB0_94:
movslq (%rdi,%rax,4), %rsi
addq %rdi, %rsi
LBB0_95:
movq %rdx, %rdi
movq %rcx, %rdx
popq %rbp
jmp _strlcpy ## TAILCALL
LBB0_53:
popq %rbp
retq
LBB0_3:
leaq L_.str(%rip), %rsi
jmp LBB0_95
LBB0_96:
leaq L_.str.20(%rip), %rsi
jmp LBB0_95
LBB0_67:
leaq L_.str.27(%rip), %rsi
jmp LBB0_95
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_54, LBB0_54-LJTI0_0
.set L0_0_set_42, LBB0_42-LJTI0_0
.set L0_0_set_63, LBB0_63-LJTI0_0
.set L0_0_set_68, LBB0_68-LJTI0_0
.set L0_0_set_74, LBB0_74-LJTI0_0
.set L0_0_set_72, LBB0_72-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_64, LBB0_64-LJTI0_0
.set L0_0_set_38, LBB0_38-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_59, LBB0_59-LJTI0_0
.set L0_0_set_80, LBB0_80-LJTI0_0
.set L0_0_set_76, LBB0_76-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_40, LBB0_40-LJTI0_0
.set L0_0_set_84, LBB0_84-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_36, LBB0_36-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_49, LBB0_49-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_88, LBB0_88-LJTI0_0
.set L0_0_set_86, LBB0_86-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
.set L0_0_set_44, LBB0_44-LJTI0_0
.set L0_0_set_61, LBB0_61-LJTI0_0
.set L0_0_set_46, LBB0_46-LJTI0_0
.set L0_0_set_92, LBB0_92-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_78, LBB0_78-LJTI0_0
.set L0_0_set_90, LBB0_90-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_70, LBB0_70-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_53, LBB0_53-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_51, LBB0_51-LJTI0_0
.set L0_0_set_82, LBB0_82-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_57, LBB0_57-LJTI0_0
LJTI0_0:
.long L0_0_set_2
.long L0_0_set_54
.long L0_0_set_42
.long L0_0_set_63
.long L0_0_set_68
.long L0_0_set_68
.long L0_0_set_63
.long L0_0_set_63
.long L0_0_set_74
.long L0_0_set_72
.long L0_0_set_28
.long L0_0_set_64
.long L0_0_set_38
.long L0_0_set_20
.long L0_0_set_59
.long L0_0_set_63
.long L0_0_set_80
.long L0_0_set_76
.long L0_0_set_16
.long L0_0_set_40
.long L0_0_set_84
.long L0_0_set_18
.long L0_0_set_36
.long L0_0_set_26
.long L0_0_set_49
.long L0_0_set_23
.long L0_0_set_88
.long L0_0_set_86
.long L0_0_set_32
.long L0_0_set_44
.long L0_0_set_61
.long L0_0_set_46
.long L0_0_set_92
.long L0_0_set_30
.long L0_0_set_78
.long L0_0_set_90
.long L0_0_set_10
.long L0_0_set_70
.long L0_0_set_8
.long L0_0_set_6
.long L0_0_set_53
.long L0_0_set_34
.long L0_0_set_51
.long L0_0_set_82
.long L0_0_set_4
.long L0_0_set_13
.long L0_0_set_57
.long L0_0_set_46
.end_data_region
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "cloudabi_clockid_t"
L_.str.1: ## @.str.1
.asciz "cloudabi_timestamp_t"
L_.str.2: ## @.str.2
.asciz "userland cloudabi_condvar_t *"
L_.str.3: ## @.str.3
.asciz "cloudabi_scope_t"
L_.str.4: ## @.str.4
.asciz "cloudabi_nthreads_t"
L_.str.5: ## @.str.5
.asciz "cloudabi_fd_t"
L_.str.6: ## @.str.6
.asciz "cloudabi_filetype_t"
L_.str.7: ## @.str.7
.asciz "userland const cloudabi32_iovec_t *"
L_.str.8: ## @.str.8
.asciz "size_t"
L_.str.9: ## @.str.9
.asciz "cloudabi_filesize_t"
L_.str.10: ## @.str.10
.asciz "userland const cloudabi32_ciovec_t *"
L_.str.11: ## @.str.11
.asciz "cloudabi_filedelta_t"
L_.str.12: ## @.str.12
.asciz "cloudabi_whence_t"
L_.str.13: ## @.str.13
.asciz "userland cloudabi_fdstat_t *"
L_.str.14: ## @.str.14
.asciz "userland const cloudabi_fdstat_t *"
L_.str.15: ## @.str.15
.asciz "cloudabi_fdsflags_t"
L_.str.16: ## @.str.16
.asciz "cloudabi_advice_t"
L_.str.17: ## @.str.17
.asciz "userland const char *"
L_.str.18: ## @.str.18
.asciz "cloudabi_lookup_t"
L_.str.19: ## @.str.19
.asciz "cloudabi_oflags_t"
L_.str.20: ## @.str.20
.asciz "userland void *"
L_.str.21: ## @.str.21
.asciz "cloudabi_dircookie_t"
L_.str.22: ## @.str.22
.asciz "userland char *"
L_.str.23: ## @.str.23
.asciz "userland cloudabi_filestat_t *"
L_.str.24: ## @.str.24
.asciz "userland const cloudabi_filestat_t *"
L_.str.25: ## @.str.25
.asciz "cloudabi_fsflags_t"
L_.str.26: ## @.str.26
.asciz "cloudabi_ulflags_t"
L_.str.27: ## @.str.27
.asciz "userland cloudabi_lock_t *"
L_.str.28: ## @.str.28
.asciz "cloudabi_mprot_t"
L_.str.29: ## @.str.29
.asciz "cloudabi_mflags_t"
L_.str.30: ## @.str.30
.asciz "cloudabi_msflags_t"
L_.str.31: ## @.str.31
.asciz "userland const cloudabi32_subscription_t *"
L_.str.32: ## @.str.32
.asciz "userland cloudabi_event_t *"
L_.str.33: ## @.str.33
.asciz "userland const void *"
L_.str.34: ## @.str.34
.asciz "userland const cloudabi_fd_t *"
L_.str.35: ## @.str.35
.asciz "cloudabi_exitcode_t"
L_.str.36: ## @.str.36
.asciz "cloudabi_signal_t"
L_.str.37: ## @.str.37
.asciz "userland const cloudabi32_recv_in_t *"
L_.str.38: ## @.str.38
.asciz "userland cloudabi32_recv_out_t *"
L_.str.39: ## @.str.39
.asciz "userland const cloudabi32_send_in_t *"
L_.str.40: ## @.str.40
.asciz "userland cloudabi32_send_out_t *"
L_.str.41: ## @.str.41
.asciz "cloudabi_sdflags_t"
L_.str.42: ## @.str.42
.asciz "userland cloudabi32_threadattr_t *"
.no_dead_strip _systrace_entry_setargdesc
.section __TEXT,__const
.p2align 2, 0x0 ## @switch.table.systrace_entry_setargdesc.rel
l_switch.table.systrace_entry_setargdesc.rel:
.long L_.str.2-l_switch.table.systrace_entry_setargdesc.rel
.long L_.str.3-l_switch.table.systrace_entry_setargdesc.rel
.long L_.str.4-l_switch.table.systrace_entry_setargdesc.rel
.p2align 2, 0x0 ## @switch.table.systrace_entry_setargdesc.43.rel
l_switch.table.systrace_entry_setargdesc.43.rel:
.long L_.str.5-l_switch.table.systrace_entry_setargdesc.43.rel
.long L_.str.7-l_switch.table.systrace_entry_setargdesc.43.rel
.long L_.str.8-l_switch.table.systrace_entry_setargdesc.43.rel
.long L_.str.9-l_switch.table.systrace_entry_setargdesc.43.rel
.p2align 2, 0x0 ## @switch.table.systrace_entry_setargdesc.44.rel
l_switch.table.systrace_entry_setargdesc.44.rel:
.long L_.str.5-l_switch.table.systrace_entry_setargdesc.44.rel
.long L_.str.10-l_switch.table.systrace_entry_setargdesc.44.rel
.long L_.str.8-l_switch.table.systrace_entry_setargdesc.44.rel
.long L_.str.9-l_switch.table.systrace_entry_setargdesc.44.rel
.p2align 2, 0x0 ## @switch.table.systrace_entry_setargdesc.45.rel
l_switch.table.systrace_entry_setargdesc.45.rel:
.long L_.str.5-l_switch.table.systrace_entry_setargdesc.45.rel
.long L_.str.7-l_switch.table.systrace_entry_setargdesc.45.rel
.long L_.str.8-l_switch.table.systrace_entry_setargdesc.45.rel
.p2align 2, 0x0 ## @switch.table.systrace_entry_setargdesc.46.rel
l_switch.table.systrace_entry_setargdesc.46.rel:
.long L_.str.5-l_switch.table.systrace_entry_setargdesc.46.rel
.long L_.str.11-l_switch.table.systrace_entry_setargdesc.46.rel
.long L_.str.12-l_switch.table.systrace_entry_setargdesc.46.rel
.p2align 2, 0x0 ## @switch.table.systrace_entry_setargdesc.47.rel
l_switch.table.systrace_entry_setargdesc.47.rel:
.long L_.str.5-l_switch.table.systrace_entry_setargdesc.47.rel
.long L_.str.14-l_switch.table.systrace_entry_setargdesc.47.rel
.long L_.str.15-l_switch.table.systrace_entry_setargdesc.47.rel
.p2align 2, 0x0 ## @switch.table.systrace_entry_setargdesc.48.rel
l_switch.table.systrace_entry_setargdesc.48.rel:
.long L_.str.5-l_switch.table.systrace_entry_setargdesc.48.rel
.long L_.str.10-l_switch.table.systrace_entry_setargdesc.48.rel
.long L_.str.8-l_switch.table.systrace_entry_setargdesc.48.rel
.p2align 2, 0x0 ## @switch.table.systrace_entry_setargdesc.49.rel
l_switch.table.systrace_entry_setargdesc.49.rel:
.long L_.str.5-l_switch.table.systrace_entry_setargdesc.49.rel
.long L_.str.9-l_switch.table.systrace_entry_setargdesc.49.rel
.long L_.str.9-l_switch.table.systrace_entry_setargdesc.49.rel
.long L_.str.16-l_switch.table.systrace_entry_setargdesc.49.rel
.p2align 2, 0x0 ## @switch.table.systrace_entry_setargdesc.50.rel
l_switch.table.systrace_entry_setargdesc.50.rel:
.long L_.str.5-l_switch.table.systrace_entry_setargdesc.50.rel
.long L_.str.9-l_switch.table.systrace_entry_setargdesc.50.rel
.long L_.str.9-l_switch.table.systrace_entry_setargdesc.50.rel
.p2align 2, 0x0 ## @switch.table.systrace_entry_setargdesc.51.rel
l_switch.table.systrace_entry_setargdesc.51.rel:
.long L_.str.5-l_switch.table.systrace_entry_setargdesc.51.rel
.long L_.str.17-l_switch.table.systrace_entry_setargdesc.51.rel
.long L_.str.8-l_switch.table.systrace_entry_setargdesc.51.rel
.long L_.str.6-l_switch.table.systrace_entry_setargdesc.51.rel
.p2align 2, 0x0 ## @switch.table.systrace_entry_setargdesc.52.rel
l_switch.table.systrace_entry_setargdesc.52.rel:
.long L_.str.18-l_switch.table.systrace_entry_setargdesc.52.rel
.long L_.str.17-l_switch.table.systrace_entry_setargdesc.52.rel
.long L_.str.8-l_switch.table.systrace_entry_setargdesc.52.rel
.long L_.str.5-l_switch.table.systrace_entry_setargdesc.52.rel
.long L_.str.17-l_switch.table.systrace_entry_setargdesc.52.rel
.long L_.str.8-l_switch.table.systrace_entry_setargdesc.52.rel
.p2align 2, 0x0 ## @switch.table.systrace_entry_setargdesc.53.rel
l_switch.table.systrace_entry_setargdesc.53.rel:
.long L_.str.18-l_switch.table.systrace_entry_setargdesc.53.rel
.long L_.str.17-l_switch.table.systrace_entry_setargdesc.53.rel
.long L_.str.8-l_switch.table.systrace_entry_setargdesc.53.rel
.long L_.str.19-l_switch.table.systrace_entry_setargdesc.53.rel
.long L_.str.14-l_switch.table.systrace_entry_setargdesc.53.rel
.p2align 2, 0x0 ## @switch.table.systrace_entry_setargdesc.54.rel
l_switch.table.systrace_entry_setargdesc.54.rel:
.long L_.str.5-l_switch.table.systrace_entry_setargdesc.54.rel
.long L_.str.20-l_switch.table.systrace_entry_setargdesc.54.rel
.long L_.str.8-l_switch.table.systrace_entry_setargdesc.54.rel
.long L_.str.21-l_switch.table.systrace_entry_setargdesc.54.rel
.p2align 2, 0x0 ## @switch.table.systrace_entry_setargdesc.55.rel
l_switch.table.systrace_entry_setargdesc.55.rel:
.long L_.str.5-l_switch.table.systrace_entry_setargdesc.55.rel
.long L_.str.17-l_switch.table.systrace_entry_setargdesc.55.rel
.long L_.str.8-l_switch.table.systrace_entry_setargdesc.55.rel
.long L_.str.22-l_switch.table.systrace_entry_setargdesc.55.rel
.long L_.str.8-l_switch.table.systrace_entry_setargdesc.55.rel
.p2align 2, 0x0 ## @switch.table.systrace_entry_setargdesc.56.rel
l_switch.table.systrace_entry_setargdesc.56.rel:
.long L_.str.5-l_switch.table.systrace_entry_setargdesc.56.rel
.long L_.str.17-l_switch.table.systrace_entry_setargdesc.56.rel
.long L_.str.8-l_switch.table.systrace_entry_setargdesc.56.rel
.long L_.str.5-l_switch.table.systrace_entry_setargdesc.56.rel
.long L_.str.17-l_switch.table.systrace_entry_setargdesc.56.rel
.long L_.str.8-l_switch.table.systrace_entry_setargdesc.56.rel
.p2align 2, 0x0 ## @switch.table.systrace_entry_setargdesc.57.rel
l_switch.table.systrace_entry_setargdesc.57.rel:
.long L_.str.5-l_switch.table.systrace_entry_setargdesc.57.rel
.long L_.str.24-l_switch.table.systrace_entry_setargdesc.57.rel
.long L_.str.25-l_switch.table.systrace_entry_setargdesc.57.rel
.p2align 2, 0x0 ## @switch.table.systrace_entry_setargdesc.58.rel
l_switch.table.systrace_entry_setargdesc.58.rel:
.long L_.str.18-l_switch.table.systrace_entry_setargdesc.58.rel
.long L_.str.17-l_switch.table.systrace_entry_setargdesc.58.rel
.long L_.str.8-l_switch.table.systrace_entry_setargdesc.58.rel
.long L_.str.23-l_switch.table.systrace_entry_setargdesc.58.rel
.p2align 2, 0x0 ## @switch.table.systrace_entry_setargdesc.59.rel
l_switch.table.systrace_entry_setargdesc.59.rel:
.long L_.str.18-l_switch.table.systrace_entry_setargdesc.59.rel
.long L_.str.17-l_switch.table.systrace_entry_setargdesc.59.rel
.long L_.str.8-l_switch.table.systrace_entry_setargdesc.59.rel
.long L_.str.24-l_switch.table.systrace_entry_setargdesc.59.rel
.long L_.str.25-l_switch.table.systrace_entry_setargdesc.59.rel
.p2align 2, 0x0 ## @switch.table.systrace_entry_setargdesc.60.rel
l_switch.table.systrace_entry_setargdesc.60.rel:
.long L_.str.17-l_switch.table.systrace_entry_setargdesc.60.rel
.long L_.str.8-l_switch.table.systrace_entry_setargdesc.60.rel
.long L_.str.5-l_switch.table.systrace_entry_setargdesc.60.rel
.long L_.str.17-l_switch.table.systrace_entry_setargdesc.60.rel
.long L_.str.8-l_switch.table.systrace_entry_setargdesc.60.rel
.p2align 2, 0x0 ## @switch.table.systrace_entry_setargdesc.61.rel
l_switch.table.systrace_entry_setargdesc.61.rel:
.long L_.str.5-l_switch.table.systrace_entry_setargdesc.61.rel
.long L_.str.17-l_switch.table.systrace_entry_setargdesc.61.rel
.long L_.str.8-l_switch.table.systrace_entry_setargdesc.61.rel
.long L_.str.26-l_switch.table.systrace_entry_setargdesc.61.rel
.p2align 2, 0x0 ## @switch.table.systrace_entry_setargdesc.62.rel
l_switch.table.systrace_entry_setargdesc.62.rel:
.long L_.str.20-l_switch.table.systrace_entry_setargdesc.62.rel
.long L_.str.8-l_switch.table.systrace_entry_setargdesc.62.rel
.long L_.str.16-l_switch.table.systrace_entry_setargdesc.62.rel
.p2align 2, 0x0 ## @switch.table.systrace_entry_setargdesc.63.rel
l_switch.table.systrace_entry_setargdesc.63.rel:
.long L_.str.20-l_switch.table.systrace_entry_setargdesc.63.rel
.long L_.str.8-l_switch.table.systrace_entry_setargdesc.63.rel
.long L_.str.28-l_switch.table.systrace_entry_setargdesc.63.rel
.long L_.str.29-l_switch.table.systrace_entry_setargdesc.63.rel
.long L_.str.5-l_switch.table.systrace_entry_setargdesc.63.rel
.long L_.str.9-l_switch.table.systrace_entry_setargdesc.63.rel
.p2align 2, 0x0 ## @switch.table.systrace_entry_setargdesc.64.rel
l_switch.table.systrace_entry_setargdesc.64.rel:
.long L_.str.20-l_switch.table.systrace_entry_setargdesc.64.rel
.long L_.str.8-l_switch.table.systrace_entry_setargdesc.64.rel
.long L_.str.28-l_switch.table.systrace_entry_setargdesc.64.rel
.p2align 2, 0x0 ## @switch.table.systrace_entry_setargdesc.65.rel
l_switch.table.systrace_entry_setargdesc.65.rel:
.long L_.str.20-l_switch.table.systrace_entry_setargdesc.65.rel
.long L_.str.8-l_switch.table.systrace_entry_setargdesc.65.rel
.long L_.str.30-l_switch.table.systrace_entry_setargdesc.65.rel
.p2align 2, 0x0 ## @switch.table.systrace_entry_setargdesc.66.rel
l_switch.table.systrace_entry_setargdesc.66.rel:
.long L_.str.31-l_switch.table.systrace_entry_setargdesc.66.rel
.long L_.str.32-l_switch.table.systrace_entry_setargdesc.66.rel
.long L_.str.8-l_switch.table.systrace_entry_setargdesc.66.rel
.p2align 2, 0x0 ## @switch.table.systrace_entry_setargdesc.67.rel
l_switch.table.systrace_entry_setargdesc.67.rel:
.long L_.str.5-l_switch.table.systrace_entry_setargdesc.67.rel
.long L_.str.33-l_switch.table.systrace_entry_setargdesc.67.rel
.long L_.str.8-l_switch.table.systrace_entry_setargdesc.67.rel
.long L_.str.34-l_switch.table.systrace_entry_setargdesc.67.rel
.long L_.str.8-l_switch.table.systrace_entry_setargdesc.67.rel
.p2align 2, 0x0 ## @switch.table.systrace_entry_setargdesc.68.rel
l_switch.table.systrace_entry_setargdesc.68.rel:
.long L_.str.5-l_switch.table.systrace_entry_setargdesc.68.rel
.long L_.str.37-l_switch.table.systrace_entry_setargdesc.68.rel
.long L_.str.38-l_switch.table.systrace_entry_setargdesc.68.rel
.p2align 2, 0x0 ## @switch.table.systrace_entry_setargdesc.69.rel
l_switch.table.systrace_entry_setargdesc.69.rel:
.long L_.str.5-l_switch.table.systrace_entry_setargdesc.69.rel
.long L_.str.39-l_switch.table.systrace_entry_setargdesc.69.rel
.long L_.str.40-l_switch.table.systrace_entry_setargdesc.69.rel
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function systrace_entry_setargdesc
_systrace_entry_setargdesc: ; @systrace_entry_setargdesc
.cfi_startproc
; %bb.0:
cmp w0, #47
b.hi LBB0_92
; %bb.1:
mov w8, w0
Lloh0:
adrp x9, lJTI0_0@PAGE
Lloh1:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_2
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_2:
cbnz w1, LBB0_92
b LBB0_50
LBB0_3:
cbz w1, LBB0_95
; %bb.4:
cmp w1, #1
b.ne LBB0_92
; %bb.5:
Lloh2:
adrp x1, l_.str.3@PAGE
Lloh3:
add x1, x1, l_.str.3@PAGEOFF
b LBB0_91
LBB0_6:
cbnz w1, LBB0_92
; %bb.7:
Lloh4:
adrp x1, l_.str.6@PAGE
Lloh5:
add x1, x1, l_.str.6@PAGEOFF
b LBB0_91
LBB0_8:
cmp w1, #3
b.hs LBB0_92
; %bb.9:
Lloh6:
adrp x8, l_switch.table.systrace_entry_setargdesc.69@PAGE
Lloh7:
add x8, x8, l_switch.table.systrace_entry_setargdesc.69@PAGEOFF
b LBB0_90
LBB0_10:
cbnz w1, LBB0_92
; %bb.11:
Lloh8:
adrp x1, l_.str.35@PAGE
Lloh9:
add x1, x1, l_.str.35@PAGEOFF
b LBB0_91
LBB0_12:
cmp w1, #5
b.hs LBB0_92
; %bb.13:
Lloh10:
adrp x8, l_switch.table.systrace_entry_setargdesc.67@PAGE
Lloh11:
add x8, x8, l_switch.table.systrace_entry_setargdesc.67@PAGEOFF
b LBB0_90
LBB0_14:
cbz w1, LBB0_94
; %bb.15:
cmp w1, #1
b.eq LBB0_55
b LBB0_92
LBB0_16:
cbz w1, LBB0_50
; %bb.17:
cmp w1, #1
b.ne LBB0_92
; %bb.18:
Lloh12:
adrp x1, l_.str.41@PAGE
Lloh13:
add x1, x1, l_.str.41@PAGEOFF
b LBB0_91
LBB0_19:
cmp w1, #3
b.hs LBB0_92
; %bb.20:
Lloh14:
adrp x8, l_switch.table.systrace_entry_setargdesc.50@PAGE
Lloh15:
add x8, x8, l_switch.table.systrace_entry_setargdesc.50@PAGEOFF
b LBB0_90
LBB0_21:
cmp w1, #5
b.hs LBB0_92
; %bb.22:
Lloh16:
adrp x8, l_switch.table.systrace_entry_setargdesc.53@PAGE
Lloh17:
add x8, x8, l_switch.table.systrace_entry_setargdesc.53@PAGEOFF
b LBB0_90
LBB0_23:
cbz w1, LBB0_50
; %bb.24:
cmp w1, #1
b.ne LBB0_92
; %bb.25:
Lloh18:
adrp x1, l_.str.13@PAGE
Lloh19:
add x1, x1, l_.str.13@PAGEOFF
b LBB0_91
LBB0_26:
cbz w1, LBB0_50
; %bb.27:
cmp w1, #1
b.ne LBB0_92
; %bb.28:
Lloh20:
adrp x1, l_.str.23@PAGE
Lloh21:
add x1, x1, l_.str.23@PAGEOFF
b LBB0_91
LBB0_29:
cmp w1, #5
b.hs LBB0_92
; %bb.30:
Lloh22:
adrp x8, l_switch.table.systrace_entry_setargdesc.55@PAGE
Lloh23:
add x8, x8, l_switch.table.systrace_entry_setargdesc.55@PAGEOFF
b LBB0_90
LBB0_31:
cmp w1, #3
b.hs LBB0_92
; %bb.32:
Lloh24:
adrp x8, l_switch.table.systrace_entry_setargdesc.45@PAGE
Lloh25:
add x8, x8, l_switch.table.systrace_entry_setargdesc.45@PAGEOFF
b LBB0_90
LBB0_33:
cmp w1, #6
b.hs LBB0_92
; %bb.34:
Lloh26:
adrp x8, l_switch.table.systrace_entry_setargdesc.63@PAGE
Lloh27:
add x8, x8, l_switch.table.systrace_entry_setargdesc.63@PAGEOFF
b LBB0_90
LBB0_35:
cmp w1, #5
b.hs LBB0_92
; %bb.36:
Lloh28:
adrp x8, l_switch.table.systrace_entry_setargdesc.59@PAGE
Lloh29:
add x8, x8, l_switch.table.systrace_entry_setargdesc.59@PAGEOFF
b LBB0_90
LBB0_37:
cbnz w1, LBB0_92
; %bb.38:
Lloh30:
adrp x1, l_.str.36@PAGE
Lloh31:
add x1, x1, l_.str.36@PAGEOFF
b LBB0_91
LBB0_39:
cmp w1, #4
b.hs LBB0_92
; %bb.40:
Lloh32:
adrp x8, l_switch.table.systrace_entry_setargdesc.54@PAGE
Lloh33:
add x8, x8, l_switch.table.systrace_entry_setargdesc.54@PAGEOFF
b LBB0_90
LBB0_41:
cmp w1, #3
b.hs LBB0_92
; %bb.42:
Lloh34:
adrp x8, l_switch.table.systrace_entry_setargdesc.46@PAGE
Lloh35:
add x8, x8, l_switch.table.systrace_entry_setargdesc.46@PAGEOFF
b LBB0_90
LBB0_43:
cmp w1, #4
b.hs LBB0_92
; %bb.44:
Lloh36:
adrp x8, l_switch.table.systrace_entry_setargdesc.51@PAGE
Lloh37:
add x8, x8, l_switch.table.systrace_entry_setargdesc.51@PAGEOFF
b LBB0_90
LBB0_45:
cmp w1, #3
b.hs LBB0_92
; %bb.46:
Lloh38:
adrp x8, l_switch.table.systrace_entry_setargdesc@PAGE
Lloh39:
add x8, x8, l_switch.table.systrace_entry_setargdesc@PAGEOFF
b LBB0_90
LBB0_47:
cmp w1, #5
b.hs LBB0_92
; %bb.48:
Lloh40:
adrp x8, l_switch.table.systrace_entry_setargdesc.60@PAGE
Lloh41:
add x8, x8, l_switch.table.systrace_entry_setargdesc.60@PAGEOFF
b LBB0_90
LBB0_49:
cmp w1, #2
b.hs LBB0_92
LBB0_50:
Lloh42:
adrp x1, l_.str.5@PAGE
Lloh43:
add x1, x1, l_.str.5@PAGEOFF
b LBB0_91
LBB0_51:
cmp w1, #6
b.hs LBB0_92
; %bb.52:
Lloh44:
adrp x8, l_switch.table.systrace_entry_setargdesc.56@PAGE
Lloh45:
add x8, x8, l_switch.table.systrace_entry_setargdesc.56@PAGEOFF
b LBB0_90
LBB0_53:
cbz w1, LBB0_94
; %bb.54:
cmp w1, #1
b.ne LBB0_92
LBB0_55:
Lloh46:
adrp x1, l_.str.8@PAGE
Lloh47:
add x1, x1, l_.str.8@PAGEOFF
b LBB0_91
LBB0_56:
cbnz w1, LBB0_92
b LBB0_93
LBB0_57:
cbz w1, LBB0_93
; %bb.58:
cmp w1, #1
b.ne LBB0_92
; %bb.59:
Lloh48:
adrp x1, l_.str.1@PAGE
Lloh49:
add x1, x1, l_.str.1@PAGEOFF
b LBB0_91
LBB0_60:
cbnz w1, LBB0_92
; %bb.61:
Lloh50:
adrp x1, l_.str.42@PAGE
Lloh51:
add x1, x1, l_.str.42@PAGEOFF
b LBB0_91
LBB0_62:
cmp w1, #3
b.hs LBB0_92
; %bb.63:
Lloh52:
adrp x8, l_switch.table.systrace_entry_setargdesc.47@PAGE
Lloh53:
add x8, x8, l_switch.table.systrace_entry_setargdesc.47@PAGEOFF
b LBB0_90
LBB0_64:
cmp w1, #4
b.hs LBB0_92
; %bb.65:
Lloh54:
adrp x8, l_switch.table.systrace_entry_setargdesc.61@PAGE
Lloh55:
add x8, x8, l_switch.table.systrace_entry_setargdesc.61@PAGEOFF
b LBB0_90
LBB0_66:
cmp w1, #3
b.hs LBB0_92
; %bb.67:
Lloh56:
adrp x8, l_switch.table.systrace_entry_setargdesc.66@PAGE
Lloh57:
add x8, x8, l_switch.table.systrace_entry_setargdesc.66@PAGEOFF
b LBB0_90
LBB0_68:
cmp w1, #4
b.hs LBB0_92
; %bb.69:
Lloh58:
adrp x8, l_switch.table.systrace_entry_setargdesc.44@PAGE
Lloh59:
add x8, x8, l_switch.table.systrace_entry_setargdesc.44@PAGEOFF
b LBB0_90
LBB0_70:
cmp w1, #4
b.hs LBB0_92
; %bb.71:
Lloh60:
adrp x8, l_switch.table.systrace_entry_setargdesc.43@PAGE
Lloh61:
add x8, x8, l_switch.table.systrace_entry_setargdesc.43@PAGEOFF
b LBB0_90
LBB0_72:
cmp w1, #4
b.hs LBB0_92
; %bb.73:
Lloh62:
adrp x8, l_switch.table.systrace_entry_setargdesc.49@PAGE
Lloh63:
add x8, x8, l_switch.table.systrace_entry_setargdesc.49@PAGEOFF
b LBB0_90
LBB0_74:
cmp w1, #3
b.hs LBB0_92
; %bb.75:
Lloh64:
adrp x8, l_switch.table.systrace_entry_setargdesc.64@PAGE
Lloh65:
add x8, x8, l_switch.table.systrace_entry_setargdesc.64@PAGEOFF
b LBB0_90
LBB0_76:
cmp w1, #3
b.hs LBB0_92
; %bb.77:
Lloh66:
adrp x8, l_switch.table.systrace_entry_setargdesc.48@PAGE
Lloh67:
add x8, x8, l_switch.table.systrace_entry_setargdesc.48@PAGEOFF
b LBB0_90
LBB0_78:
cmp w1, #3
b.hs LBB0_92
; %bb.79:
Lloh68:
adrp x8, l_switch.table.systrace_entry_setargdesc.68@PAGE
Lloh69:
add x8, x8, l_switch.table.systrace_entry_setargdesc.68@PAGEOFF
b LBB0_90
LBB0_80:
cmp w1, #6
b.hs LBB0_92
; %bb.81:
Lloh70:
adrp x8, l_switch.table.systrace_entry_setargdesc.52@PAGE
Lloh71:
add x8, x8, l_switch.table.systrace_entry_setargdesc.52@PAGEOFF
b LBB0_90
LBB0_82:
cmp w1, #4
b.hs LBB0_92
; %bb.83:
Lloh72:
adrp x8, l_switch.table.systrace_entry_setargdesc.58@PAGE
Lloh73:
add x8, x8, l_switch.table.systrace_entry_setargdesc.58@PAGEOFF
b LBB0_90
LBB0_84:
cmp w1, #3
b.hs LBB0_92
; %bb.85:
Lloh74:
adrp x8, l_switch.table.systrace_entry_setargdesc.57@PAGE
Lloh75:
add x8, x8, l_switch.table.systrace_entry_setargdesc.57@PAGEOFF
b LBB0_90
LBB0_86:
cmp w1, #3
b.hs LBB0_92
; %bb.87:
Lloh76:
adrp x8, l_switch.table.systrace_entry_setargdesc.65@PAGE
Lloh77:
add x8, x8, l_switch.table.systrace_entry_setargdesc.65@PAGEOFF
b LBB0_90
LBB0_88:
cmp w1, #3
b.hs LBB0_92
; %bb.89:
Lloh78:
adrp x8, l_switch.table.systrace_entry_setargdesc.62@PAGE
Lloh79:
add x8, x8, l_switch.table.systrace_entry_setargdesc.62@PAGEOFF
LBB0_90:
ldr x1, [x8, w1, uxtw #3]
LBB0_91:
mov x0, x2
mov x2, x3
b _strlcpy
LBB0_92:
ret
LBB0_93:
Lloh80:
adrp x1, l_.str@PAGE
Lloh81:
add x1, x1, l_.str@PAGEOFF
b LBB0_91
LBB0_94:
Lloh82:
adrp x1, l_.str.20@PAGE
Lloh83:
add x1, x1, l_.str.20@PAGEOFF
b LBB0_91
LBB0_95:
Lloh84:
adrp x1, l_.str.27@PAGE
Lloh85:
add x1, x1, l_.str.27@PAGEOFF
b LBB0_91
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpAdd Lloh52, Lloh53
.loh AdrpAdd Lloh54, Lloh55
.loh AdrpAdd Lloh56, Lloh57
.loh AdrpAdd Lloh58, Lloh59
.loh AdrpAdd Lloh60, Lloh61
.loh AdrpAdd Lloh62, Lloh63
.loh AdrpAdd Lloh64, Lloh65
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpAdd Lloh72, Lloh73
.loh AdrpAdd Lloh74, Lloh75
.loh AdrpAdd Lloh76, Lloh77
.loh AdrpAdd Lloh78, Lloh79
.loh AdrpAdd Lloh80, Lloh81
.loh AdrpAdd Lloh82, Lloh83
.loh AdrpAdd Lloh84, Lloh85
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_56-LBB0_2)>>2
.byte (LBB0_57-LBB0_2)>>2
.byte (LBB0_45-LBB0_2)>>2
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_6-LBB0_2)>>2
.byte (LBB0_6-LBB0_2)>>2
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_70-LBB0_2)>>2
.byte (LBB0_68-LBB0_2)>>2
.byte (LBB0_31-LBB0_2)>>2
.byte (LBB0_49-LBB0_2)>>2
.byte (LBB0_41-LBB0_2)>>2
.byte (LBB0_23-LBB0_2)>>2
.byte (LBB0_62-LBB0_2)>>2
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_76-LBB0_2)>>2
.byte (LBB0_72-LBB0_2)>>2
.byte (LBB0_19-LBB0_2)>>2
.byte (LBB0_43-LBB0_2)>>2
.byte (LBB0_80-LBB0_2)>>2
.byte (LBB0_21-LBB0_2)>>2
.byte (LBB0_39-LBB0_2)>>2
.byte (LBB0_29-LBB0_2)>>2
.byte (LBB0_51-LBB0_2)>>2
.byte (LBB0_26-LBB0_2)>>2
.byte (LBB0_84-LBB0_2)>>2
.byte (LBB0_82-LBB0_2)>>2
.byte (LBB0_35-LBB0_2)>>2
.byte (LBB0_47-LBB0_2)>>2
.byte (LBB0_64-LBB0_2)>>2
.byte (LBB0_3-LBB0_2)>>2
.byte (LBB0_88-LBB0_2)>>2
.byte (LBB0_33-LBB0_2)>>2
.byte (LBB0_74-LBB0_2)>>2
.byte (LBB0_86-LBB0_2)>>2
.byte (LBB0_14-LBB0_2)>>2
.byte (LBB0_66-LBB0_2)>>2
.byte (LBB0_12-LBB0_2)>>2
.byte (LBB0_10-LBB0_2)>>2
.byte (LBB0_92-LBB0_2)>>2
.byte (LBB0_37-LBB0_2)>>2
.byte (LBB0_53-LBB0_2)>>2
.byte (LBB0_78-LBB0_2)>>2
.byte (LBB0_8-LBB0_2)>>2
.byte (LBB0_16-LBB0_2)>>2
.byte (LBB0_60-LBB0_2)>>2
.byte (LBB0_3-LBB0_2)>>2
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "cloudabi_clockid_t"
l_.str.1: ; @.str.1
.asciz "cloudabi_timestamp_t"
l_.str.2: ; @.str.2
.asciz "userland cloudabi_condvar_t *"
l_.str.3: ; @.str.3
.asciz "cloudabi_scope_t"
l_.str.4: ; @.str.4
.asciz "cloudabi_nthreads_t"
l_.str.5: ; @.str.5
.asciz "cloudabi_fd_t"
l_.str.6: ; @.str.6
.asciz "cloudabi_filetype_t"
l_.str.7: ; @.str.7
.asciz "userland const cloudabi32_iovec_t *"
l_.str.8: ; @.str.8
.asciz "size_t"
l_.str.9: ; @.str.9
.asciz "cloudabi_filesize_t"
l_.str.10: ; @.str.10
.asciz "userland const cloudabi32_ciovec_t *"
l_.str.11: ; @.str.11
.asciz "cloudabi_filedelta_t"
l_.str.12: ; @.str.12
.asciz "cloudabi_whence_t"
l_.str.13: ; @.str.13
.asciz "userland cloudabi_fdstat_t *"
l_.str.14: ; @.str.14
.asciz "userland const cloudabi_fdstat_t *"
l_.str.15: ; @.str.15
.asciz "cloudabi_fdsflags_t"
l_.str.16: ; @.str.16
.asciz "cloudabi_advice_t"
l_.str.17: ; @.str.17
.asciz "userland const char *"
l_.str.18: ; @.str.18
.asciz "cloudabi_lookup_t"
l_.str.19: ; @.str.19
.asciz "cloudabi_oflags_t"
l_.str.20: ; @.str.20
.asciz "userland void *"
l_.str.21: ; @.str.21
.asciz "cloudabi_dircookie_t"
l_.str.22: ; @.str.22
.asciz "userland char *"
l_.str.23: ; @.str.23
.asciz "userland cloudabi_filestat_t *"
l_.str.24: ; @.str.24
.asciz "userland const cloudabi_filestat_t *"
l_.str.25: ; @.str.25
.asciz "cloudabi_fsflags_t"
l_.str.26: ; @.str.26
.asciz "cloudabi_ulflags_t"
l_.str.27: ; @.str.27
.asciz "userland cloudabi_lock_t *"
l_.str.28: ; @.str.28
.asciz "cloudabi_mprot_t"
l_.str.29: ; @.str.29
.asciz "cloudabi_mflags_t"
l_.str.30: ; @.str.30
.asciz "cloudabi_msflags_t"
l_.str.31: ; @.str.31
.asciz "userland const cloudabi32_subscription_t *"
l_.str.32: ; @.str.32
.asciz "userland cloudabi_event_t *"
l_.str.33: ; @.str.33
.asciz "userland const void *"
l_.str.34: ; @.str.34
.asciz "userland const cloudabi_fd_t *"
l_.str.35: ; @.str.35
.asciz "cloudabi_exitcode_t"
l_.str.36: ; @.str.36
.asciz "cloudabi_signal_t"
l_.str.37: ; @.str.37
.asciz "userland const cloudabi32_recv_in_t *"
l_.str.38: ; @.str.38
.asciz "userland cloudabi32_recv_out_t *"
l_.str.39: ; @.str.39
.asciz "userland const cloudabi32_send_in_t *"
l_.str.40: ; @.str.40
.asciz "userland cloudabi32_send_out_t *"
l_.str.41: ; @.str.41
.asciz "cloudabi_sdflags_t"
l_.str.42: ; @.str.42
.asciz "userland cloudabi32_threadattr_t *"
.no_dead_strip _systrace_entry_setargdesc
.section __DATA,__const
.p2align 3, 0x0 ; @switch.table.systrace_entry_setargdesc
l_switch.table.systrace_entry_setargdesc:
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.p2align 3, 0x0 ; @switch.table.systrace_entry_setargdesc.43
l_switch.table.systrace_entry_setargdesc.43:
.quad l_.str.5
.quad l_.str.7
.quad l_.str.8
.quad l_.str.9
.p2align 3, 0x0 ; @switch.table.systrace_entry_setargdesc.44
l_switch.table.systrace_entry_setargdesc.44:
.quad l_.str.5
.quad l_.str.10
.quad l_.str.8
.quad l_.str.9
.p2align 3, 0x0 ; @switch.table.systrace_entry_setargdesc.45
l_switch.table.systrace_entry_setargdesc.45:
.quad l_.str.5
.quad l_.str.7
.quad l_.str.8
.p2align 3, 0x0 ; @switch.table.systrace_entry_setargdesc.46
l_switch.table.systrace_entry_setargdesc.46:
.quad l_.str.5
.quad l_.str.11
.quad l_.str.12
.p2align 3, 0x0 ; @switch.table.systrace_entry_setargdesc.47
l_switch.table.systrace_entry_setargdesc.47:
.quad l_.str.5
.quad l_.str.14
.quad l_.str.15
.p2align 3, 0x0 ; @switch.table.systrace_entry_setargdesc.48
l_switch.table.systrace_entry_setargdesc.48:
.quad l_.str.5
.quad l_.str.10
.quad l_.str.8
.p2align 3, 0x0 ; @switch.table.systrace_entry_setargdesc.49
l_switch.table.systrace_entry_setargdesc.49:
.quad l_.str.5
.quad l_.str.9
.quad l_.str.9
.quad l_.str.16
.p2align 3, 0x0 ; @switch.table.systrace_entry_setargdesc.50
l_switch.table.systrace_entry_setargdesc.50:
.quad l_.str.5
.quad l_.str.9
.quad l_.str.9
.p2align 3, 0x0 ; @switch.table.systrace_entry_setargdesc.51
l_switch.table.systrace_entry_setargdesc.51:
.quad l_.str.5
.quad l_.str.17
.quad l_.str.8
.quad l_.str.6
.p2align 3, 0x0 ; @switch.table.systrace_entry_setargdesc.52
l_switch.table.systrace_entry_setargdesc.52:
.quad l_.str.18
.quad l_.str.17
.quad l_.str.8
.quad l_.str.5
.quad l_.str.17
.quad l_.str.8
.p2align 3, 0x0 ; @switch.table.systrace_entry_setargdesc.53
l_switch.table.systrace_entry_setargdesc.53:
.quad l_.str.18
.quad l_.str.17
.quad l_.str.8
.quad l_.str.19
.quad l_.str.14
.p2align 3, 0x0 ; @switch.table.systrace_entry_setargdesc.54
l_switch.table.systrace_entry_setargdesc.54:
.quad l_.str.5
.quad l_.str.20
.quad l_.str.8
.quad l_.str.21
.p2align 3, 0x0 ; @switch.table.systrace_entry_setargdesc.55
l_switch.table.systrace_entry_setargdesc.55:
.quad l_.str.5
.quad l_.str.17
.quad l_.str.8
.quad l_.str.22
.quad l_.str.8
.p2align 3, 0x0 ; @switch.table.systrace_entry_setargdesc.56
l_switch.table.systrace_entry_setargdesc.56:
.quad l_.str.5
.quad l_.str.17
.quad l_.str.8
.quad l_.str.5
.quad l_.str.17
.quad l_.str.8
.p2align 3, 0x0 ; @switch.table.systrace_entry_setargdesc.57
l_switch.table.systrace_entry_setargdesc.57:
.quad l_.str.5
.quad l_.str.24
.quad l_.str.25
.p2align 3, 0x0 ; @switch.table.systrace_entry_setargdesc.58
l_switch.table.systrace_entry_setargdesc.58:
.quad l_.str.18
.quad l_.str.17
.quad l_.str.8
.quad l_.str.23
.p2align 3, 0x0 ; @switch.table.systrace_entry_setargdesc.59
l_switch.table.systrace_entry_setargdesc.59:
.quad l_.str.18
.quad l_.str.17
.quad l_.str.8
.quad l_.str.24
.quad l_.str.25
.p2align 3, 0x0 ; @switch.table.systrace_entry_setargdesc.60
l_switch.table.systrace_entry_setargdesc.60:
.quad l_.str.17
.quad l_.str.8
.quad l_.str.5
.quad l_.str.17
.quad l_.str.8
.p2align 3, 0x0 ; @switch.table.systrace_entry_setargdesc.61
l_switch.table.systrace_entry_setargdesc.61:
.quad l_.str.5
.quad l_.str.17
.quad l_.str.8
.quad l_.str.26
.p2align 3, 0x0 ; @switch.table.systrace_entry_setargdesc.62
l_switch.table.systrace_entry_setargdesc.62:
.quad l_.str.20
.quad l_.str.8
.quad l_.str.16
.p2align 3, 0x0 ; @switch.table.systrace_entry_setargdesc.63
l_switch.table.systrace_entry_setargdesc.63:
.quad l_.str.20
.quad l_.str.8
.quad l_.str.28
.quad l_.str.29
.quad l_.str.5
.quad l_.str.9
.p2align 3, 0x0 ; @switch.table.systrace_entry_setargdesc.64
l_switch.table.systrace_entry_setargdesc.64:
.quad l_.str.20
.quad l_.str.8
.quad l_.str.28
.p2align 3, 0x0 ; @switch.table.systrace_entry_setargdesc.65
l_switch.table.systrace_entry_setargdesc.65:
.quad l_.str.20
.quad l_.str.8
.quad l_.str.30
.p2align 3, 0x0 ; @switch.table.systrace_entry_setargdesc.66
l_switch.table.systrace_entry_setargdesc.66:
.quad l_.str.31
.quad l_.str.32
.quad l_.str.8
.p2align 3, 0x0 ; @switch.table.systrace_entry_setargdesc.67
l_switch.table.systrace_entry_setargdesc.67:
.quad l_.str.5
.quad l_.str.33
.quad l_.str.8
.quad l_.str.34
.quad l_.str.8
.p2align 3, 0x0 ; @switch.table.systrace_entry_setargdesc.68
l_switch.table.systrace_entry_setargdesc.68:
.quad l_.str.5
.quad l_.str.37
.quad l_.str.38
.p2align 3, 0x0 ; @switch.table.systrace_entry_setargdesc.69
l_switch.table.systrace_entry_setargdesc.69:
.quad l_.str.5
.quad l_.str.39
.quad l_.str.40
.subsections_via_symbols
| assembly_file_70214.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function brcmf_cfg80211_del_ap_iface
_brcmf_cfg80211_del_ap_iface: ## @brcmf_cfg80211_del_ap_iface
.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
callq _wiphy_to_cfg
movq %rax, %r15
movq (%rbx), %rdi
callq _netdev_priv
movq %rax, %r12
movq (%r15), %r14
movq (%rax), %rsi
movq %r15, %rdi
callq _brcmf_cfg80211_arm_vif_event
leaq L_.str(%rip), %rsi
movq %r12, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq _brcmf_fil_bsscfg_data_set
testl %eax, %eax
je LBB0_2
## %bb.1:
movl %eax, %ebx
leaq L_.str.1(%rip), %rsi
movq %r14, %rdi
movl %eax, %edx
xorl %eax, %eax
callq _bphy_err
jmp LBB0_5
LBB0_2:
movq _BRCMF_E_IF_DEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _BRCMF_VIF_EVENT_TIMEOUT@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r15, %rdi
callq _brcmf_cfg80211_wait_vif_event
testl %eax, %eax
je LBB0_3
## %bb.4:
movq %r12, %rdi
movl $1, %esi
callq _brcmf_remove_interface
xorl %ebx, %ebx
jmp LBB0_5
LBB0_3:
leaq L_.str.2(%rip), %rsi
xorl %ebx, %ebx
movq %r14, %rdi
xorl %eax, %eax
callq _bphy_err
movq _EIO@GOTPCREL(%rip), %rax
subl (%rax), %ebx
LBB0_5:
movq %r15, %rdi
xorl %esi, %esi
callq _brcmf_cfg80211_arm_vif_event
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "interface_remove"
L_.str.1: ## @.str.1
.asciz "interface_remove failed %d\n"
.comm _BRCMF_E_IF_DEL,4,2 ## @BRCMF_E_IF_DEL
.comm _BRCMF_VIF_EVENT_TIMEOUT,4,2 ## @BRCMF_VIF_EVENT_TIMEOUT
L_.str.2: ## @.str.2
.asciz "timeout occurred\n"
.comm _EIO,4,2 ## @EIO
.no_dead_strip _brcmf_cfg80211_del_ap_iface
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function brcmf_cfg80211_del_ap_iface
_brcmf_cfg80211_del_ap_iface: ; @brcmf_cfg80211_del_ap_iface
.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, x1
bl _wiphy_to_cfg
mov x19, x0
ldr x0, [x20]
bl _netdev_priv
mov x21, x0
ldr x20, [x19]
ldr x1, [x0]
mov x0, x19
bl _brcmf_cfg80211_arm_vif_event
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x21
mov x2, #0
mov w3, #0
bl _brcmf_fil_bsscfg_data_set
cbz w0, LBB0_2
; %bb.1:
mov x22, x0
str x22, [sp]
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x20
bl _bphy_err
b LBB0_5
LBB0_2:
Lloh4:
adrp x8, _BRCMF_E_IF_DEL@GOTPAGE
Lloh5:
ldr x8, [x8, _BRCMF_E_IF_DEL@GOTPAGEOFF]
Lloh6:
ldr w1, [x8]
Lloh7:
adrp x8, _BRCMF_VIF_EVENT_TIMEOUT@GOTPAGE
Lloh8:
ldr x8, [x8, _BRCMF_VIF_EVENT_TIMEOUT@GOTPAGEOFF]
Lloh9:
ldr w2, [x8]
mov x0, x19
bl _brcmf_cfg80211_wait_vif_event
cbz w0, LBB0_4
; %bb.3:
mov x0, x21
mov w1, #1
bl _brcmf_remove_interface
mov w22, #0
b LBB0_5
LBB0_4:
Lloh10:
adrp x1, l_.str.2@PAGE
Lloh11:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x20
bl _bphy_err
Lloh12:
adrp x8, _EIO@GOTPAGE
Lloh13:
ldr x8, [x8, _EIO@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
neg w22, w8
LBB0_5:
mov x0, x19
mov x1, #0
bl _brcmf_cfg80211_arm_vif_event
mov x0, x22
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "interface_remove"
l_.str.1: ; @.str.1
.asciz "interface_remove failed %d\n"
.comm _BRCMF_E_IF_DEL,4,2 ; @BRCMF_E_IF_DEL
.comm _BRCMF_VIF_EVENT_TIMEOUT,4,2 ; @BRCMF_VIF_EVENT_TIMEOUT
l_.str.2: ; @.str.2
.asciz "timeout occurred\n"
.comm _EIO,4,2 ; @EIO
.no_dead_strip _brcmf_cfg80211_del_ap_iface
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/extr_cfg80211.c_brcmf_cfg80211_del_ap_iface.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _EVP_MD_meth_set_result_size ## -- Begin function EVP_MD_meth_set_result_size
.p2align 4, 0x90
_EVP_MD_meth_set_result_size: ## @EVP_MD_meth_set_result_size
.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
cmpl $0, (%rdi)
je LBB0_1
## %bb.2:
popq %rbp
retq
LBB0_1:
movl %esi, (%rdi)
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 _EVP_MD_meth_set_result_size ; -- Begin function EVP_MD_meth_set_result_size
.p2align 2
_EVP_MD_meth_set_result_size: ; @EVP_MD_meth_set_result_size
.cfi_startproc
; %bb.0:
ldr w8, [x0]
cbz w8, LBB0_2
; %bb.1:
mov w0, #0
ret
LBB0_2:
str w1, [x0]
mov w0, #1
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/openssl/crypto/evp/extr_evp_lib.c_EVP_MD_meth_set_result_size.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function maprom_read
_maprom_read: ## @maprom_read
.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 %rcx, %r14
movq %rdx, %rbx
movl %esi, %edx
movq (%rdi), %rdi
movq %r8, %rsi
movq %rbx, %rcx
callq _map_copy_from
movq %rbx, (%r14)
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _maprom_read
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function maprom_read
_maprom_read: ; @maprom_read
.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, x3
mov x20, x2
mov x2, x1
ldr x0, [x0]
mov x1, x4
mov x3, x20
bl _map_copy_from
str x20, [x19]
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _maprom_read
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/mtd/chips/extr_map_rom.c_maprom_read.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function FatGetFatEntry
_FatGetFatEntry: ## @FatGetFatEntry
.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, %r14
movl %esi, %ebx
movq %rdi, %r15
leaq L_.str(%rip), %rdi
callq _TRACE
movl (%r15), %esi
leal -128(%rsi), %eax
cmpl $4, %eax
ja LBB0_6
## %bb.1:
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_2:
shll $2, %ebx
movl %ebx, %eax
cltd
idivl 4(%r15)
movl %edx, %ebx
movq %r15, %rdi
movl %eax, %esi
callq _FatGetFatSector
testl %eax, %eax
je LBB0_12
## %bb.3:
movslq %ebx, %rcx
cltq
movl $268435455, %edi ## imm = 0xFFFFFFF
andl (%rcx,%rax), %edi
callq _SWAPD
movl %eax, %r15d
jmp LBB0_14
LBB0_4:
addl %ebx, %ebx
movl %ebx, %eax
cltd
idivl 4(%r15)
movl %edx, %ebx
movq %r15, %rdi
movl %eax, %esi
callq _FatGetFatSector
testl %eax, %eax
je LBB0_12
## %bb.5:
movslq %ebx, %rcx
cltq
movl (%rcx,%rax), %edi
callq _SWAPW
movl %eax, %r15d
jmp LBB0_14
LBB0_6:
leaq L_.str.4(%rip), %rdi
## kill: def $esi killed $esi killed $rsi
callq _ERR
movq _FALSE@GOTPCREL(%rip), %rax
jmp LBB0_15
LBB0_7:
movl %ebx, %esi
shrl $31, %esi
addl %ebx, %esi
sarl %esi
addl %ebx, %esi
movl %esi, %eax
cltd
idivl 4(%r15)
movl %edx, %r12d
movl %eax, %r13d
leaq L_.str.1(%rip), %rdi
callq _TRACE
leaq L_.str.2(%rip), %rdi
movl %r13d, %esi
callq _TRACE
leaq L_.str.3(%rip), %rdi
movl %r12d, %esi
callq _TRACE
movq %r15, %rdi
movl %r13d, %esi
callq _FatGetFatSector
testl %eax, %eax
je LBB0_12
## %bb.8:
cltq
movslq %r12d, %rcx
movl (%rax,%rcx), %edi
callq _SWAPW
movl %eax, %r15d
testb $1, %bl
jne LBB0_13
## %bb.9:
andl $4095, %r15d ## imm = 0xFFF
jmp LBB0_14
LBB0_12:
movq _FALSE@GOTPCREL(%rip), %rax
jmp LBB0_15
LBB0_13:
sarl $4, %r15d
LBB0_14:
leaq L_.str.5(%rip), %rdi
movl %r15d, %esi
callq _TRACE
movl %r15d, (%r14)
movq _TRUE@GOTPCREL(%rip), %rax
LBB0_15:
movl (%rax), %eax
addq $8, %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_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
.long L0_0_set_2
.long L0_0_set_4
.long L0_0_set_2
.long L0_0_set_4
.long L0_0_set_7
.end_data_region
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "FatGetFatEntry() Retrieving FAT entry for cluster %d.\n"
L_.str.1: ## @.str.1
.asciz "FatOffset: %d\n"
L_.str.2: ## @.str.2
.asciz "ThisFatSecNum: %d\n"
L_.str.3: ## @.str.3
.asciz "ThisFatEntOffset: %d\n"
.comm _FALSE,4,2 ## @FALSE
L_.str.4: ## @.str.4
.asciz "Unknown FAT type %d\n"
L_.str.5: ## @.str.5
.asciz "FAT entry is 0x%x.\n"
.comm _TRUE,4,2 ## @TRUE
.no_dead_strip _FatGetFatEntry
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function FatGetFatEntry
_FatGetFatEntry: ; @FatGetFatEntry
.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 x20, x1
mov x21, x0
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _TRACE
ldr w1, [x21]
sub w8, w1, #128
cmp w8, #4
b.hi LBB0_6
; %bb.1:
Lloh2:
adrp x9, lJTI0_0@PAGE
Lloh3:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_2
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_2:
lsl w22, w20, #2
ldr w23, [x21, #4]
sdiv w20, w22, w23
mov x0, x21
mov x1, x20
bl _FatGetFatSector
; kill: def $w0 killed $w0 def $x0
cbz w0, LBB0_10
; %bb.3:
msub w8, w20, w23, w22
sxtw x9, w0
ldr w8, [x9, w8, sxtw]
and w0, w8, #0xfffffff
bl _SWAPD
mov x20, x0
b LBB0_9
LBB0_4:
lsl w22, w20, #1
ldr w23, [x21, #4]
sdiv w20, w22, w23
mov x0, x21
mov x1, x20
bl _FatGetFatSector
; kill: def $w0 killed $w0 def $x0
cbz w0, LBB0_10
; %bb.5:
msub w8, w20, w23, w22
sxtw x9, w0
ldr w0, [x9, w8, sxtw]
bl _SWAPW
mov x20, x0
b LBB0_9
LBB0_6:
Lloh4:
adrp x0, l_.str.4@PAGE
Lloh5:
add x0, x0, l_.str.4@PAGEOFF
bl _ERR
b LBB0_10
LBB0_7:
cmp w20, #0
cinc w8, w20, lt
add w1, w20, w8, asr #1
ldr w8, [x21, #4]
sdiv w23, w1, w8
msub w22, w23, w8, w1
Lloh6:
adrp x0, l_.str.1@PAGE
Lloh7:
add x0, x0, l_.str.1@PAGEOFF
bl _TRACE
Lloh8:
adrp x0, l_.str.2@PAGE
Lloh9:
add x0, x0, l_.str.2@PAGEOFF
mov x1, x23
bl _TRACE
Lloh10:
adrp x0, l_.str.3@PAGE
Lloh11:
add x0, x0, l_.str.3@PAGEOFF
mov x1, x22
bl _TRACE
mov x0, x21
mov x1, x23
bl _FatGetFatSector
cbz w0, LBB0_10
; %bb.8:
sxtw x8, w22
ldr w0, [x8, w0, sxtw]
bl _SWAPW
and w8, w0, #0xfff
asr w9, w0, #4
tst w20, #0x1
csel w20, w8, w9, eq
LBB0_9:
Lloh12:
adrp x0, l_.str.5@PAGE
Lloh13:
add x0, x0, l_.str.5@PAGEOFF
mov x1, x20
bl _TRACE
str w20, [x19]
Lloh14:
adrp x8, _TRUE@GOTPAGE
Lloh15:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
b LBB0_11
LBB0_10:
Lloh16:
adrp x8, _FALSE@GOTPAGE
Lloh17:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_11:
ldr w0, [x8]
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 Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGot Lloh16, Lloh17
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.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_7-LBB0_2)>>2
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "FatGetFatEntry() Retrieving FAT entry for cluster %d.\n"
l_.str.1: ; @.str.1
.asciz "FatOffset: %d\n"
l_.str.2: ; @.str.2
.asciz "ThisFatSecNum: %d\n"
l_.str.3: ; @.str.3
.asciz "ThisFatEntOffset: %d\n"
.comm _FALSE,4,2 ; @FALSE
l_.str.4: ; @.str.4
.asciz "Unknown FAT type %d\n"
l_.str.5: ; @.str.5
.asciz "FAT entry is 0x%x.\n"
.comm _TRUE,4,2 ; @TRUE
.no_dead_strip _FatGetFatEntry
.subsections_via_symbols
| AnghaBench/reactos/boot/freeldr/freeldr/lib/fs/extr_fat.c_FatGetFatEntry.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 0x404f000000000000 ## double 62
.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
subq $88, %rsp
.cfi_offset %rbx, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
movaps l___const.main.student+64(%rip), %xmm0
movaps %xmm0, -32(%rbp)
movaps l___const.main.student+48(%rip), %xmm0
movaps %xmm0, -48(%rbp)
movaps l___const.main.student+32(%rip), %xmm0
movaps %xmm0, -64(%rbp)
movaps l___const.main.student+16(%rip), %xmm0
movaps %xmm0, -80(%rbp)
movaps l___const.main.student(%rip), %xmm0
movaps %xmm0, -96(%rbp)
leaq -80(%rbp), %rbx
leaq L_.str(%rip), %rdi
movq %rbx, %rsi
movl $90, %edx
xorl %eax, %eax
callq _printf
movl -84(%rbp), %edx
cmpl $59, %edx
jg LBB0_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
leaq -96(%rbp), %rsi
xorl %eax, %eax
callq _printf
LBB0_2:
movl -68(%rbp), %edx
cmpl $59, %edx
jg LBB0_4
## %bb.3:
leaq L_.str.1(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
LBB0_4:
movl -52(%rbp), %edx
cmpl $59, %edx
jg LBB0_6
## %bb.5:
leaq -64(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _printf
LBB0_6:
movl -36(%rbp), %edx
cmpl $59, %edx
jg LBB0_8
## %bb.7:
leaq -48(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _printf
LBB0_8:
movl -20(%rbp), %edx
cmpl $59, %edx
jg LBB0_10
## %bb.9:
leaq -32(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _printf
LBB0_10:
leaq L_.str.2(%rip), %rdi
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movb $1, %al
callq _printf
leaq L_.str.3(%rip), %rdi
callq _system
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -16(%rbp), %rax
jne LBB0_12
## %bb.11:
xorl %eax, %eax
addq $88, %rsp
popq %rbx
popq %rbp
retq
LBB0_12:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.main.student
l___const.main.student:
.asciz "Lee\000\000\000\000\000\000"
.space 2
.long 30 ## 0x1e
.asciz "Lin\000\000\000\000\000\000"
.space 2
.long 90 ## 0x5a
.asciz "Wang\000\000\000\000\000"
.space 2
.long 40 ## 0x28
.asciz "Wu\000\000\000\000\000\000\000"
.space 2
.long 80 ## 0x50
.asciz "Huang\000\000\000\000"
.space 2
.long 70 ## 0x46
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\346\210\220\347\270\276\346\234\200\351\253\230\345\255\270\347\224\237\345\247\223\345\220\215: %s \345\210\206\346\225\270: %d\n"
L_.str.1: ## @.str.1
.asciz "\346\210\220\347\270\276\344\270\215\345\217\212\346\240\274\345\255\270\347\224\237\345\247\223\345\220\215: %s \345\210\206\346\225\270: %d\n"
L_.str.2: ## @.str.2
.asciz "\345\271\263\345\235\207\346\210\220\347\270\276: %.2lf\n"
L_.str.3: ## @.str.3
.asciz "pause"
.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, #144
.cfi_def_cfa_offset 144
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-24]
Lloh3:
adrp x8, l___const.main.student@PAGE
Lloh4:
add x8, x8, l___const.main.student@PAGEOFF
ldp q0, q1, [x8, #32]
stp q0, q1, [sp, #48]
ldr q0, [x8, #64]
str q0, [sp, #80]
ldp q1, q0, [x8]
stp q1, q0, [sp, #16]
add x20, sp, #16
add x19, x20, #16
mov w8, #90
stp x19, x8, [sp]
Lloh5:
adrp x0, l_.str@PAGE
Lloh6:
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr w8, [sp, #28]
cmp w8, #59
b.gt LBB0_2
; %bb.1:
stp x20, x8, [sp]
Lloh7:
adrp x0, l_.str.1@PAGE
Lloh8:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
LBB0_2:
ldr w8, [sp, #44]
cmp w8, #59
b.gt LBB0_4
; %bb.3:
stp x19, x8, [sp]
Lloh9:
adrp x0, l_.str.1@PAGE
Lloh10:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
LBB0_4:
ldr w8, [sp, #60]
cmp w8, #59
b.gt LBB0_6
; %bb.5:
add x9, sp, #16
add x9, x9, #32
stp x9, x8, [sp]
Lloh11:
adrp x0, l_.str.1@PAGE
Lloh12:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
LBB0_6:
ldr w8, [sp, #76]
cmp w8, #59
b.gt LBB0_8
; %bb.7:
add x9, sp, #16
add x9, x9, #48
stp x9, x8, [sp]
Lloh13:
adrp x0, l_.str.1@PAGE
Lloh14:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
LBB0_8:
ldr w8, [sp, #92]
cmp w8, #59
b.gt LBB0_10
; %bb.9:
add x9, sp, #16
add x9, x9, #64
stp x9, x8, [sp]
Lloh15:
adrp x0, l_.str.1@PAGE
Lloh16:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
LBB0_10:
mov x8, #4633922541587529728
str x8, [sp]
Lloh17:
adrp x0, l_.str.2@PAGE
Lloh18:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
Lloh19:
adrp x0, l_.str.3@PAGE
Lloh20:
add x0, x0, l_.str.3@PAGEOFF
bl _system
ldur x8, [x29, #-24]
Lloh21:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh22:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_12
; %bb.11:
mov w0, #0
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #144
ret
LBB0_12:
bl ___stack_chk_fail
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.main.student
l___const.main.student:
.asciz "Lee\000\000\000\000\000\000"
.space 2
.long 30 ; 0x1e
.asciz "Lin\000\000\000\000\000\000"
.space 2
.long 90 ; 0x5a
.asciz "Wang\000\000\000\000\000"
.space 2
.long 40 ; 0x28
.asciz "Wu\000\000\000\000\000\000\000"
.space 2
.long 80 ; 0x50
.asciz "Huang\000\000\000\000"
.space 2
.long 70 ; 0x46
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\346\210\220\347\270\276\346\234\200\351\253\230\345\255\270\347\224\237\345\247\223\345\220\215: %s \345\210\206\346\225\270: %d\n"
l_.str.1: ; @.str.1
.asciz "\346\210\220\347\270\276\344\270\215\345\217\212\346\240\274\345\255\270\347\224\237\345\247\223\345\220\215: %s \345\210\206\346\225\270: %d\n"
l_.str.2: ; @.str.2
.asciz "\345\271\263\345\235\207\346\210\220\347\270\276: %.2lf\n"
l_.str.3: ; @.str.3
.asciz "pause"
.subsections_via_symbols
| the_stack_data/206392047.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function qat_uclo_auth_fw
_qat_uclo_auth_fw: ## @qat_uclo_auth_fw
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movl (%rsi), %eax
movl 4(%rsi), %edi
movl %eax, %esi
callq _ADD_ADDR
## kill: def $eax killed $eax def $rax
leal -4(%rax), %ebx
movq _FCU_DRAM_ADDR_HI@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _BITS_IN_DWORD@GOTPCREL(%rip), %rax
movb (%rax), %cl
movl %ebx, %edx
sarl %cl, %edx
movq %r14, %rdi
callq _SET_CAP_CSR
movq _FCU_DRAM_ADDR_LO@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
movl %ebx, %edx
callq _SET_CAP_CSR
movq _FCU_CONTROL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _FCU_CTRL_CMD_AUTH@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r14, %rdi
callq _SET_CAP_CSR
movl $-1, %ebx
movq _FCU_STS_VERI_FAIL@GOTPCREL(%rip), %r15
movq _FCU_STS_AUTHFWLD_POS@GOTPCREL(%rip), %r12
movq _FW_AUTH_MAX_RETRY@GOTPCREL(%rip), %r13
jmp LBB0_1
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
incl %ebx
cmpl (%r13), %ebx
jae LBB0_6
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq _FW_AUTH_WAIT_PERIOD@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _msleep
movq _FCU_STATUS@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _GET_CAP_CSR
movq _FCU_AUTH_STS_MASK@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
andl %eax, %esi
cmpl (%r15), %esi
je LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl (%r12), %ecx
btl %ecx, %eax
jae LBB0_5
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq _FCU_STS_VERI_DONE@GOTPCREL(%rip), %rax
cmpl (%rax), %esi
jne LBB0_5
## %bb.4:
xorl %eax, %eax
jmp LBB0_7
LBB0_6:
incl %ebx
leaq L_.str(%rip), %rdi
movl %ebx, %edx
callq _pr_err
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_7:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FCU_DRAM_ADDR_HI,4,2 ## @FCU_DRAM_ADDR_HI
.comm _BITS_IN_DWORD,4,2 ## @BITS_IN_DWORD
.comm _FCU_DRAM_ADDR_LO,4,2 ## @FCU_DRAM_ADDR_LO
.comm _FCU_CONTROL,4,2 ## @FCU_CONTROL
.comm _FCU_CTRL_CMD_AUTH,4,2 ## @FCU_CTRL_CMD_AUTH
.comm _FW_AUTH_WAIT_PERIOD,4,2 ## @FW_AUTH_WAIT_PERIOD
.comm _FCU_STATUS,4,2 ## @FCU_STATUS
.comm _FCU_AUTH_STS_MASK,4,2 ## @FCU_AUTH_STS_MASK
.comm _FCU_STS_VERI_FAIL,4,2 ## @FCU_STS_VERI_FAIL
.comm _FCU_STS_AUTHFWLD_POS,4,2 ## @FCU_STS_AUTHFWLD_POS
.comm _FCU_STS_VERI_DONE,4,2 ## @FCU_STS_VERI_DONE
.comm _FW_AUTH_MAX_RETRY,4,2 ## @FW_AUTH_MAX_RETRY
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "QAT: authentication error (FCU_STATUS = 0x%x),retry = %d\n"
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _qat_uclo_auth_fw
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function qat_uclo_auth_fw
_qat_uclo_auth_fw: ; @qat_uclo_auth_fw
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
ldp w1, w0, [x1]
bl _ADD_ADDR
Lloh0:
adrp x8, _FCU_DRAM_ADDR_HI@GOTPAGE
Lloh1:
ldr x8, [x8, _FCU_DRAM_ADDR_HI@GOTPAGEOFF]
sub w20, w0, #4
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x8, _BITS_IN_DWORD@GOTPAGE
Lloh4:
ldr x8, [x8, _BITS_IN_DWORD@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
asr w2, w20, w8
mov x0, x19
bl _SET_CAP_CSR
Lloh6:
adrp x8, _FCU_DRAM_ADDR_LO@GOTPAGE
Lloh7:
ldr x8, [x8, _FCU_DRAM_ADDR_LO@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
mov x0, x19
mov x2, x20
bl _SET_CAP_CSR
Lloh9:
adrp x8, _FCU_CONTROL@GOTPAGE
Lloh10:
ldr x8, [x8, _FCU_CONTROL@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
Lloh12:
adrp x8, _FCU_CTRL_CMD_AUTH@GOTPAGE
Lloh13:
ldr x8, [x8, _FCU_CTRL_CMD_AUTH@GOTPAGEOFF]
Lloh14:
ldr w2, [x8]
mov x0, x19
bl _SET_CAP_CSR
mov w20, #-1
Lloh15:
adrp x21, _FW_AUTH_WAIT_PERIOD@GOTPAGE
Lloh16:
ldr x21, [x21, _FW_AUTH_WAIT_PERIOD@GOTPAGEOFF]
Lloh17:
adrp x22, _FCU_STATUS@GOTPAGE
Lloh18:
ldr x22, [x22, _FCU_STATUS@GOTPAGEOFF]
Lloh19:
adrp x23, _FCU_AUTH_STS_MASK@GOTPAGE
Lloh20:
ldr x23, [x23, _FCU_AUTH_STS_MASK@GOTPAGEOFF]
Lloh21:
adrp x24, _FCU_STS_VERI_FAIL@GOTPAGE
Lloh22:
ldr x24, [x24, _FCU_STS_VERI_FAIL@GOTPAGEOFF]
Lloh23:
adrp x25, _FCU_STS_AUTHFWLD_POS@GOTPAGE
Lloh24:
ldr x25, [x25, _FCU_STS_AUTHFWLD_POS@GOTPAGEOFF]
Lloh25:
adrp x26, _FCU_STS_VERI_DONE@GOTPAGE
Lloh26:
ldr x26, [x26, _FCU_STS_VERI_DONE@GOTPAGEOFF]
Lloh27:
adrp x27, _FW_AUTH_MAX_RETRY@GOTPAGE
Lloh28:
ldr x27, [x27, _FW_AUTH_MAX_RETRY@GOTPAGEOFF]
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [x27]
add w20, w20, #1
cmp w20, w8
b.hs LBB0_6
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w0, [x21]
bl _msleep
ldr w1, [x22]
mov x0, x19
bl _GET_CAP_CSR
ldr w8, [x23]
and w1, w8, w0
ldr w8, [x24]
cmp w1, w8
b.eq LBB0_6
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [x25]
lsr w8, w0, w8
tbz w8, #0, LBB0_1
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [x26]
cmp w1, w8
b.ne LBB0_1
; %bb.5:
mov w0, #0
b LBB0_7
LBB0_6:
add w2, w20, #1
Lloh29:
adrp x0, l_.str@PAGE
Lloh30:
add x0, x0, l_.str@PAGEOFF
bl _pr_err
Lloh31:
adrp x8, _EINVAL@GOTPAGE
Lloh32:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh33:
ldr w8, [x8]
neg w0, w8
LBB0_7:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh27, Lloh28
.loh AdrpLdrGot Lloh25, Lloh26
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpAdd Lloh29, Lloh30
.cfi_endproc
; -- End function
.comm _FCU_DRAM_ADDR_HI,4,2 ; @FCU_DRAM_ADDR_HI
.comm _BITS_IN_DWORD,4,2 ; @BITS_IN_DWORD
.comm _FCU_DRAM_ADDR_LO,4,2 ; @FCU_DRAM_ADDR_LO
.comm _FCU_CONTROL,4,2 ; @FCU_CONTROL
.comm _FCU_CTRL_CMD_AUTH,4,2 ; @FCU_CTRL_CMD_AUTH
.comm _FW_AUTH_WAIT_PERIOD,4,2 ; @FW_AUTH_WAIT_PERIOD
.comm _FCU_STATUS,4,2 ; @FCU_STATUS
.comm _FCU_AUTH_STS_MASK,4,2 ; @FCU_AUTH_STS_MASK
.comm _FCU_STS_VERI_FAIL,4,2 ; @FCU_STS_VERI_FAIL
.comm _FCU_STS_AUTHFWLD_POS,4,2 ; @FCU_STS_AUTHFWLD_POS
.comm _FCU_STS_VERI_DONE,4,2 ; @FCU_STS_VERI_DONE
.comm _FW_AUTH_MAX_RETRY,4,2 ; @FW_AUTH_MAX_RETRY
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "QAT: authentication error (FCU_STATUS = 0x%x),retry = %d\n"
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _qat_uclo_auth_fw
.subsections_via_symbols
| AnghaBench/linux/drivers/crypto/qat/qat_common/extr_qat_uclo.c_qat_uclo_auth_fw.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function tree_open
_tree_open: ## @tree_open
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %r12
movq 8(%rdi), %rax
movl 8(%rax), %edi
callq _string_rev_is_null
testq %rax, %rax
je LBB0_1
## %bb.10:
leaq L_.str.6(%rip), %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _error ## TAILCALL
LBB0_1:
cmpq $0, (%r12)
je LBB0_2
LBB0_7:
movl 24(%r12), %edi
movq 16(%r12), %rax
movl (%rax), %esi
callq _strcmp
testq %rax, %rax
je LBB0_9
## %bb.8:
movq 8(%r12), %rax
movq (%rax), %rax
movq $0, (%rax)
jmp LBB0_9
LBB0_2:
movq _repo@GOTPCREL(%rip), %rax
movq (%rax), %r13
cmpb $0, (%r13)
je LBB0_7
## %bb.3:
leaq 28(%r12), %r15
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq %r13, %rdi
movl $47, %esi
callq _strchr
testq %rax, %rax
je LBB0_5
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
movq %rax, %rbx
movb $0, (%rax)
movq %r12, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq _push_tree_stack_entry
movb $47, (%rbx)
movq %rbx, %r13
incq %r13
cmpb $0, 1(%rbx)
jne LBB0_4
jmp LBB0_9
LBB0_5:
movq %r12, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq _push_tree_stack_entry
LBB0_9:
movq _repo@GOTPCREL(%rip), %rax
movl 8(%rax), %esi
leaq _tree_open.tree_argv(%rip), %rdx
movq %r12, %rdi
movl %r14d, %ecx
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _begin_update ## TAILCALL
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 4 ## @tree_open.tree_argv
_tree_open.tree_argv:
.quad L_.str
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.quad L_.str.4
.quad L_.str.5
.quad 0
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "git"
L_.str.1: ## @.str.1
.asciz "ls-tree"
L_.str.2: ## @.str.2
.asciz "-l"
L_.str.3: ## @.str.3
.asciz "%(commit)"
L_.str.4: ## @.str.4
.asciz "--"
L_.str.5: ## @.str.5
.asciz "%(directory)"
L_.str.6: ## @.str.6
.asciz "No tree exists for this commit"
.comm _repo,16,3 ## @repo
.no_dead_strip _tree_open
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function tree_open
_tree_open: ; @tree_open
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x1
mov x20, x0
ldr x8, [x0, #8]
ldr w0, [x8, #8]
bl _string_rev_is_null
cbz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x0, l_.str.6@PAGE
Lloh1:
add x0, x0, l_.str.6@PAGEOFF
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
b _error
LBB0_2:
ldr x8, [x20]
Lloh2:
adrp x24, _repo@GOTPAGE
Lloh3:
ldr x24, [x24, _repo@GOTPAGEOFF]
cbz x8, LBB0_5
LBB0_3:
ldr w0, [x20, #24]
ldr x8, [x20, #16]
ldr w1, [x8]
bl _strcmp
cbz x0, LBB0_10
; %bb.4:
ldr x8, [x20, #8]
ldr x8, [x8]
str xzr, [x8]
b LBB0_10
LBB0_5:
ldr x22, [x24]
ldrb w8, [x22]
cbz w8, LBB0_3
; %bb.6:
add x21, x20, #28
mov w25, #47
LBB0_7: ; =>This Inner Loop Header: Depth=1
mov x0, x22
mov w1, #47
bl _strchr
cbz x0, LBB0_9
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
mov x23, x0
strb wzr, [x0]
mov x0, x20
mov x1, x22
mov x2, x21
bl _push_tree_stack_entry
strb w25, [x23]
ldrb w8, [x23, #1]!
mov x22, x23
cbnz w8, LBB0_7
b LBB0_10
LBB0_9:
mov x0, x20
mov x1, x22
mov x2, x21
bl _push_tree_stack_entry
LBB0_10:
ldr w1, [x24, #8]
Lloh4:
adrp x2, _tree_open.tree_argv@PAGE
Lloh5:
add x2, x2, _tree_open.tree_argv@PAGEOFF
mov x0, x20
mov x3, x19
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
b _begin_update
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 3 ; @tree_open.tree_argv
_tree_open.tree_argv:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.quad l_.str.5
.quad 0
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "git"
l_.str.1: ; @.str.1
.asciz "ls-tree"
l_.str.2: ; @.str.2
.asciz "-l"
l_.str.3: ; @.str.3
.asciz "%(commit)"
l_.str.4: ; @.str.4
.asciz "--"
l_.str.5: ; @.str.5
.asciz "%(directory)"
l_.str.6: ; @.str.6
.asciz "No tree exists for this commit"
.comm _repo,16,3 ; @repo
.no_dead_strip _tree_open
.subsections_via_symbols
| AnghaBench/tig/src/extr_tree.c_tree_open.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function b43_sdio_free_irq
_b43_sdio_free_irq: ## @b43_sdio_free_irq
.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 _b43_sdio_free_irq
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function b43_sdio_free_irq
_b43_sdio_free_irq: ; @b43_sdio_free_irq
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip _b43_sdio_free_irq
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/broadcom/b43/extr_sdio.h_b43_sdio_free_irq.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function btreeParseCellPtrIndex
_btreeParseCellPtrIndex: ## @btreeParseCellPtrIndex
.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, %r15
movq %rsi, %r14
movq %rdi, %r12
movq 24(%rdi), %rax
movl (%rax), %edi
callq _sqlite3_mutex_held
movl %eax, %edi
callq _assert
xorl %edi, %edi
cmpl $2, (%r12)
setb %dil
callq _assert
xorl %edi, %edi
cmpq $0, 8(%r12)
sete %dil
callq _assert
movslq 16(%r12), %rax
leaq (%r14,%rax,4), %r13
movl (%r14,%rax,4), %ebx
cmpl $128, %ebx
jl LBB0_16
## %bb.1:
andl $127, %ebx
movl %ebx, %eax
shll $7, %eax
movl 4(%r13), %ecx
movl %ecx, %ebx
andl $127, %ebx
orl %eax, %ebx
cmpl $128, %ecx
jl LBB0_2
## %bb.3:
movl %ebx, %eax
shll $7, %eax
movl 8(%r13), %ecx
movl %ecx, %ebx
andl $127, %ebx
orl %eax, %ebx
cmpl $128, %ecx
jl LBB0_4
## %bb.5:
movl %ebx, %eax
shll $7, %eax
movl 12(%r13), %ecx
movl %ecx, %ebx
andl $127, %ebx
orl %eax, %ebx
cmpl $128, %ecx
jl LBB0_6
## %bb.7:
movl %ebx, %eax
shll $7, %eax
movl 16(%r13), %ecx
movl %ecx, %ebx
andl $127, %ebx
orl %eax, %ebx
cmpl $128, %ecx
jl LBB0_8
## %bb.9:
movl %ebx, %eax
shll $7, %eax
movl 20(%r13), %ecx
movl %ecx, %ebx
andl $127, %ebx
orl %eax, %ebx
cmpl $128, %ecx
jl LBB0_10
## %bb.11:
movl %ebx, %eax
shll $7, %eax
movl 24(%r13), %ecx
movl %ecx, %ebx
andl $127, %ebx
orl %eax, %ebx
cmpl $128, %ecx
jl LBB0_12
## %bb.13:
movl %ebx, %eax
shll $7, %eax
movl 28(%r13), %ecx
movl %ecx, %ebx
andl $127, %ebx
orl %eax, %ebx
cmpl $128, %ecx
jl LBB0_14
## %bb.15:
shll $7, %ebx
movl 32(%r13), %eax
addq $32, %r13
andl $127, %eax
orl %eax, %ebx
jmp LBB0_16
LBB0_2:
addq $4, %r13
jmp LBB0_16
LBB0_4:
addq $8, %r13
jmp LBB0_16
LBB0_6:
addq $12, %r13
jmp LBB0_16
LBB0_8:
addq $16, %r13
jmp LBB0_16
LBB0_10:
addq $20, %r13
jmp LBB0_16
LBB0_12:
addq $24, %r13
jmp LBB0_16
LBB0_14:
addq $28, %r13
LBB0_16:
addq $4, %r13
movl %ebx, (%r15)
movl %ebx, 4(%r15)
movq %r13, 8(%r15)
xorl %edi, %edi
cmpl 20(%r12), %ebx
sete %dil
callq _testcase
movl 20(%r12), %eax
incl %eax
xorl %edi, %edi
cmpl %eax, %ebx
sete %dil
callq _testcase
cmpl 20(%r12), %ebx
jle LBB0_17
## %bb.18:
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _btreeParseCellAdjustSizeForOverflow ## TAILCALL
LBB0_17:
subq %r14, %r13
shrq $2, %r13
movslq %ebx, %rax
addl %ebx, %r13d
cmpl $5, %r13d
movl $4, %ecx
cmovgel %r13d, %ecx
movl %ecx, 16(%r15)
movq %rax, 24(%r15)
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _btreeParseCellPtrIndex
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function btreeParseCellPtrIndex
_btreeParseCellPtrIndex: ; @btreeParseCellPtrIndex
.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 x20, x1
mov x21, x0
ldr x8, [x0, #24]
ldr w0, [x8]
bl _sqlite3_mutex_held
bl _assert
ldr w8, [x21]
cmp w8, #2
cset w0, lo
bl _assert
ldr x8, [x21, #8]
cmp x8, #0
cset w0, eq
bl _assert
ldrsw x8, [x21, #16]
add x8, x20, x8, lsl #2
ldr w22, [x8]
cmp w22, #128
b.lt LBB0_11
; %bb.1:
mov x10, x8
ldr w11, [x10, #4]!
and w9, w11, #0x7f
bfi w9, w22, #7, #7
cmp w11, #128
b.lt LBB0_9
; %bb.2:
mov x10, x8
ldr w11, [x10, #8]!
and w22, w11, #0x7f
bfi w22, w9, #7, #14
cmp w11, #128
b.lt LBB0_10
; %bb.3:
mov x10, x8
ldr w11, [x10, #12]!
and w9, w11, #0x7f
bfi w9, w22, #7, #21
cmp w11, #128
b.lt LBB0_9
; %bb.4:
mov x10, x8
ldr w22, [x10, #16]!
cmp w22, #128
bfi w22, w9, #7, #25
b.lt LBB0_10
; %bb.5:
mov x10, x8
ldr w9, [x10, #20]!
cmp w9, #128
bfi w9, w22, #7, #25
b.lt LBB0_9
; %bb.6:
mov x10, x8
ldr w22, [x10, #24]!
cmp w22, #128
bfi w22, w9, #7, #25
b.lt LBB0_10
; %bb.7:
mov x10, x8
ldr w9, [x10, #28]!
cmp w9, #128
bfi w9, w22, #7, #25
b.lt LBB0_9
; %bb.8:
ldr w22, [x8, #32]!
bfi w22, w9, #7, #25
b LBB0_11
LBB0_9:
mov x22, x9
LBB0_10:
mov x8, x10
LBB0_11:
add x23, x8, #4
stp w22, w22, [x19]
str x23, [x19, #8]
ldr w8, [x21, #20]
cmp w22, w8
cset w0, eq
bl _testcase
ldr w8, [x21, #20]
add w8, w8, #1
cmp w22, w8
cset w0, eq
bl _testcase
ldr w8, [x21, #20]
cmp w22, w8
b.le LBB0_13
; %bb.12:
mov x0, x21
mov x1, x20
mov x2, 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 _btreeParseCellAdjustSizeForOverflow
LBB0_13:
sub x8, x23, x20
lsr x8, x8, #2
sxtw x9, w22
add w8, w8, w22
mov w10, #4
cmp w8, #4
csel w8, w8, w10, gt
str w8, [x19, #16]
str x9, [x19, #24]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _btreeParseCellPtrIndex
.subsections_via_symbols
| AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_btreeParseCellPtrIndex.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ibm4xx_denali_get_cs
_ibm4xx_denali_get_cs: ## @ibm4xx_denali_get_cs
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
leaq L_.str(%rip), %rdi
callq _finddevice
testq %rax, %rax
je LBB0_5
## %bb.1:
leaq L_.str.1(%rip), %rsi
leaq -80(%rbp), %rdx
movq %rax, %rdi
movl $64, %ecx
callq _getprop
testq %rax, %rax
jle LBB0_5
## %bb.2:
movb $0, -17(%rbp)
movabsq $8171063733416848737, %rax ## imm = 0x7165732C63636D61
xorq -80(%rbp), %rax
movabsq $27419000173585779, %rcx ## imm = 0x61696F75716573
xorq -75(%rbp), %rcx
orq %rax, %rcx
jne LBB0_5
## %bb.3:
movabsq $7593475981694954849, %rax ## imm = 0x6961722C63636D61
xorq -80(%rbp), %rax
movabsq $32199650843386226, %rcx ## imm = 0x7265696E696172
xorq -75(%rbp), %rcx
orq %rax, %rcx
je LBB0_4
LBB0_5:
movq _DDR0_10@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _SDRAM0_READ
movq _DDR_CS_MAP@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movq _DDR_CS_MAP_SHIFT@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movl %eax, %edi
callq _DDR_GET_VAL
testl %eax, %eax
je LBB0_6
## %bb.7:
movl %eax, %ecx
xorl %eax, %eax
movl %ecx, %edx
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
incl %eax
sarl %edx
cmpl $1, %ecx
movl %edx, %ecx
ja LBB0_8
jmp LBB0_9
LBB0_6:
xorl %eax, %eax
LBB0_9:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -8(%rbp), %rcx
jne LBB0_11
## %bb.10:
addq $80, %rsp
popq %rbp
retq
LBB0_4:
movl $1, %eax
jmp LBB0_9
LBB0_11:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "/"
L_.str.1: ## @.str.1
.asciz "model"
L_.str.2: ## @.str.2
.asciz "amcc,sequoia"
L_.str.3: ## @.str.3
.asciz "amcc,rainier"
.comm _DDR0_10,4,2 ## @DDR0_10
.comm _DDR_CS_MAP,4,2 ## @DDR_CS_MAP
.comm _DDR_CS_MAP_SHIFT,4,2 ## @DDR_CS_MAP_SHIFT
.no_dead_strip _ibm4xx_denali_get_cs
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ibm4xx_denali_get_cs
_ibm4xx_denali_get_cs: ; @ibm4xx_denali_get_cs
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-8]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _finddevice
cbz x0, LBB0_4
; %bb.1:
Lloh5:
adrp x1, l_.str.1@PAGE
Lloh6:
add x1, x1, l_.str.1@PAGEOFF
add x2, sp, #8
mov w3, #64 ; =0x40
bl _getprop
cmp x0, #1
b.lt LBB0_4
; %bb.2:
strb wzr, [sp, #71]
ldr x8, [sp, #8]
ldur x9, [sp, #13]
mov x10, #28001 ; =0x6d61
movk x10, #25443, lsl #16
movk x10, #29484, lsl #32
movk x10, #29029, lsl #48
cmp x8, x10
mov x8, #25971 ; =0x6573
movk x8, #30065, lsl #16
movk x8, #26991, lsl #32
movk x8, #97, lsl #48
ccmp x9, x8, #0, eq
b.ne LBB0_4
; %bb.3:
ldr x8, [sp, #8]
ldur x9, [sp, #13]
mov x10, #28001 ; =0x6d61
movk x10, #25443, lsl #16
movk x10, #29228, lsl #32
movk x10, #26977, lsl #48
cmp x8, x10
mov x8, #24946 ; =0x6172
movk x8, #28265, lsl #16
movk x8, #25961, lsl #32
movk x8, #114, lsl #48
ccmp x9, x8, #0, eq
b.eq LBB0_9
LBB0_4:
Lloh7:
adrp x8, _DDR0_10@GOTPAGE
Lloh8:
ldr x8, [x8, _DDR0_10@GOTPAGEOFF]
Lloh9:
ldr w0, [x8]
bl _SDRAM0_READ
Lloh10:
adrp x8, _DDR_CS_MAP@GOTPAGE
Lloh11:
ldr x8, [x8, _DDR_CS_MAP@GOTPAGEOFF]
Lloh12:
ldr w1, [x8]
Lloh13:
adrp x8, _DDR_CS_MAP_SHIFT@GOTPAGE
Lloh14:
ldr x8, [x8, _DDR_CS_MAP_SHIFT@GOTPAGEOFF]
Lloh15:
ldr w2, [x8]
bl _DDR_GET_VAL
cbz w0, LBB0_7
; %bb.5:
mov x8, x0
mov w0, #0 ; =0x0
LBB0_6: ; =>This Inner Loop Header: Depth=1
add w0, w0, #1
asr w9, w8, #1
cmp w8, #1
mov x8, x9
b.hi LBB0_6
LBB0_7:
ldur x8, [x29, #-8]
Lloh16:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh17:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_10
; %bb.8:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_9:
mov w0, #1 ; =0x1
b LBB0_7
LBB0_10:
bl ___stack_chk_fail
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "/"
l_.str.1: ; @.str.1
.asciz "model"
l_.str.2: ; @.str.2
.asciz "amcc,sequoia"
l_.str.3: ; @.str.3
.asciz "amcc,rainier"
.comm _DDR0_10,4,2 ; @DDR0_10
.comm _DDR_CS_MAP,4,2 ; @DDR_CS_MAP
.comm _DDR_CS_MAP_SHIFT,4,2 ; @DDR_CS_MAP_SHIFT
.no_dead_strip _ibm4xx_denali_get_cs
.subsections_via_symbols
| assembly_file_144048.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cas_ioctl
_cas_ioctl: ## @cas_ioctl
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r15d
movq %rsi, %rbx
callq _netdev_priv
movq %rax, %r12
movq %rbx, %rdi
callq _if_mii
movq %rax, %r14
movq _EOPNOTSUPP@GOTPCREL(%rip), %rax
xorl %r13d, %r13d
subl (%rax), %r13d
movq %r12, %rdi
callq _mutex_lock
cmpl $128, %r15d
je LBB0_5
## %bb.1:
cmpl $129, %r15d
je LBB0_4
## %bb.2:
cmpl $130, %r15d
jne LBB0_7
## %bb.3:
movl 8(%r12), %eax
movl %eax, 12(%r14)
LBB0_4:
movq %r12, %r15
addq $4, %r15
movq %r15, %rdi
callq _spin_lock_irqsave
xorl %r13d, %r13d
movq %r12, %rdi
xorl %esi, %esi
callq _cas_mif_poll
movl (%r14), %esi
andl $31, %esi
movq %r12, %rdi
callq _cas_phy_read
movl %eax, 8(%r14)
jmp LBB0_6
LBB0_5:
movq %r12, %r15
addq $4, %r15
movq %r15, %rdi
callq _spin_lock_irqsave
movq %r12, %rdi
xorl %esi, %esi
callq _cas_mif_poll
movl (%r14), %esi
movl 4(%r14), %edx
andl $31, %esi
movq %r12, %rdi
callq _cas_phy_write
movl %eax, %r13d
LBB0_6:
movq %r12, %rdi
movl $1, %esi
callq _cas_mif_poll
movq %r15, %rdi
callq _spin_unlock_irqrestore
LBB0_7:
movq %r12, %rdi
callq _mutex_unlock
movl %r13d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EOPNOTSUPP,4,2 ## @EOPNOTSUPP
.no_dead_strip _cas_ioctl
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cas_ioctl
_cas_ioctl: ; @cas_ioctl
.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, x2
mov x21, x1
bl _netdev_priv
mov x19, x0
mov x0, x21
bl _if_mii
mov x21, x0
Lloh0:
adrp x8, _EOPNOTSUPP@GOTPAGE
Lloh1:
ldr x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh2:
ldr w22, [x8]
mov x0, x19
bl _mutex_lock
cmp w20, #128
b.eq LBB0_5
; %bb.1:
cmp w20, #129
b.eq LBB0_4
; %bb.2:
cmp w20, #130
b.ne LBB0_7
; %bb.3:
ldr w8, [x19, #8]
str w8, [x21, #12]
LBB0_4:
add x20, x19, #4
mov x0, x20
bl _spin_lock_irqsave
mov x0, x19
mov w1, #0
bl _cas_mif_poll
ldr w8, [x21]
and w1, w8, #0x1f
mov x0, x19
bl _cas_phy_read
mov w22, #0
str w0, [x21, #8]
b LBB0_6
LBB0_5:
add x20, x19, #4
mov x0, x20
bl _spin_lock_irqsave
mov x0, x19
mov w1, #0
bl _cas_mif_poll
ldp w8, w2, [x21]
and w1, w8, #0x1f
mov x0, x19
bl _cas_phy_write
mov x22, x0
LBB0_6:
mov x0, x19
mov w1, #1
bl _cas_mif_poll
mov x0, x20
bl _spin_unlock_irqrestore
b LBB0_8
LBB0_7:
neg w22, w22
LBB0_8:
mov x0, x19
bl _mutex_unlock
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 _EOPNOTSUPP,4,2 ; @EOPNOTSUPP
.no_dead_strip _cas_ioctl
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/extr_cassini.c_cas_ioctl.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pcie_aspm_powersave_config_link
_pcie_aspm_powersave_config_link: ## @pcie_aspm_powersave_config_link
.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 _pcie_aspm_powersave_config_link
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pcie_aspm_powersave_config_link
_pcie_aspm_powersave_config_link: ; @pcie_aspm_powersave_config_link
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip _pcie_aspm_powersave_config_link
.subsections_via_symbols
| AnghaBench/linux/arch/powerpc/platforms/pseries/extr_........driverspcipci.h_pcie_aspm_powersave_config_link.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function read_markers
_read_markers: ## @read_markers
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq $0, -56(%rbp)
leaq -48(%rbp), %rsi
callq _grab_file
testq %rax, %rax
je LBB0_16
## %bb.1:
movq %rax, %rbx
movq -48(%rbp), %rdx
leaq -56(%rbp), %rdi
movq %rax, %rsi
callq _get_next_line
testq %rax, %rax
je LBB0_14
## %bb.2:
movq %rax, %r15
jmp LBB0_3
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
movq _have_vmlinux@GOTPCREL(%rip), %rax
movl $1, (%rax)
movl $0, (%r14)
LBB0_12: ## in Loop: Header=BB0_3 Depth=1
incq %r12
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq _add_marker
LBB0_13: ## in Loop: Header=BB0_3 Depth=1
movq -48(%rbp), %rdx
leaq -56(%rbp), %rdi
movq %rbx, %rsi
callq _get_next_line
movq %rax, %r15
testq %rax, %rax
je LBB0_14
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movl $9, %esi
callq _strchr
testq %rax, %rax
je LBB0_15
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq %rax, %r13
incq %r13
movb $0, (%rax)
movq %r13, %rdi
movl $9, %esi
callq _strchr
testq %rax, %rax
je LBB0_15
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq %rax, %r12
movb $0, (%rax)
cmpb $0, (%r15)
je LBB0_15
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
cmpb $0, (%r13)
je LBB0_15
## %bb.7: ## in Loop: Header=BB0_3 Depth=1
movq %r13, %rdi
callq _find_module
movq %rax, %r14
testq %rax, %rax
jne LBB0_9
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
movq %r13, %rdi
callq _new_module
movq %rax, %r14
movl $1, (%rax)
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
movq %r13, %rdi
callq _is_vmlinux
testq %rax, %rax
jne LBB0_10
## %bb.11: ## in Loop: Header=BB0_3 Depth=1
cmpl $0, (%r14)
jne LBB0_13
jmp LBB0_12
LBB0_15:
leaq L_.str(%rip), %rdi
callq _fatal
jmp LBB0_16
LBB0_14:
movq -48(%rbp), %rsi
movq %rbx, %rdi
callq _release_file
LBB0_16:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _have_vmlinux,4,2 ## @have_vmlinux
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "parse error in markers list file\n"
.no_dead_strip _read_markers
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function read_markers
_read_markers: ; @read_markers
.cfi_startproc
; %bb.0:
sub sp, sp, #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
str xzr, [sp]
add x1, sp, #8
bl _grab_file
cbz x0, LBB0_16
; %bb.1:
mov x19, x0
ldr x2, [sp, #8]
mov x0, sp
mov x1, x19
bl _get_next_line
cbz x0, LBB0_15
; %bb.2:
mov x20, x0
mov w24, #1 ; =0x1
Lloh0:
adrp x25, _have_vmlinux@GOTPAGE
Lloh1:
ldr x25, [x25, _have_vmlinux@GOTPAGEOFF]
b LBB0_6
LBB0_3: ; in Loop: Header=BB0_6 Depth=1
str w24, [x25]
str wzr, [x23]
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
mov x0, x23
mov x1, x20
mov x2, x21
bl _add_marker
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
ldr x2, [sp, #8]
mov x0, sp
mov x1, x19
bl _get_next_line
mov x20, x0
cbz x0, LBB0_15
LBB0_6: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov w1, #9 ; =0x9
bl _strchr
cbz x0, LBB0_14
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
mov x22, x0
strb wzr, [x22], #1
mov x0, x22
mov w1, #9 ; =0x9
bl _strchr
cbz x0, LBB0_14
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
mov x21, x0
strb wzr, [x21], #1
ldrb w8, [x20]
cbz w8, LBB0_14
; %bb.9: ; in Loop: Header=BB0_6 Depth=1
ldrb w8, [x22]
cbz w8, LBB0_14
; %bb.10: ; in Loop: Header=BB0_6 Depth=1
mov x0, x22
bl _find_module
mov x23, x0
cbnz x0, LBB0_12
; %bb.11: ; in Loop: Header=BB0_6 Depth=1
mov x0, x22
bl _new_module
mov x23, x0
str w24, [x0]
LBB0_12: ; in Loop: Header=BB0_6 Depth=1
mov x0, x22
bl _is_vmlinux
cbnz x0, LBB0_3
; %bb.13: ; in Loop: Header=BB0_6 Depth=1
ldr w8, [x23]
cbnz w8, LBB0_5
b LBB0_4
LBB0_14:
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
bl _fatal
b LBB0_16
LBB0_15:
ldr x1, [sp, #8]
mov x0, x19
bl _release_file
LBB0_16:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _have_vmlinux,4,2 ; @have_vmlinux
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "parse error in markers list file\n"
.no_dead_strip _read_markers
.subsections_via_symbols
| assembly_file_131835.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function stristr
_stristr: ## @stristr
.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
cmpb $0, (%rdi)
je LBB0_8
## %bb.1:
movq %rsi, %r14
movq %rdi, %rbx
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
xorl %r12d, %r12d
jmp LBB0_3
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_3 Depth=2
movsbl %al, %edi
callq _toupper
movq %rax, %r15
movsbl (%rbx,%r12), %edi
callq _toupper
decq %r12
cmpq %rax, %r15
jne LBB0_6
LBB0_3: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%r14,%r12), %eax
testb %al, %al
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
cmpb $0, (%rbx,%r12)
jne LBB0_5
jmp LBB0_9
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
cmpb $0, 1(%r14,%r12)
je LBB0_9
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
cmpb $0, 1(%rbx)
leaq 1(%rbx), %rbx
jne LBB0_2
LBB0_8:
xorl %ebx, %ebx
LBB0_9:
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _stristr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function stristr
_stristr: ; @stristr
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
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
ldrb w8, [x0]
cbz w8, LBB0_8
; %bb.1:
mov x19, x0
add x21, x1, #1
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
mov x23, x19
mov x22, x21
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=2
bl _toupper
mov x20, x0
ldrsb w0, [x23], #-1
bl _toupper
sub x22, x22, #1
cmp x20, x0
b.ne LBB0_6
LBB0_4: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
ldursb w0, [x22, #-1]
cbnz w0, LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=2
ldrb w8, [x23]
cbnz w8, LBB0_3
b LBB0_9
LBB0_6: ; in Loop: Header=BB0_2 Depth=1
ldrb w8, [x22]
cbz w8, LBB0_9
; %bb.7: ; in Loop: Header=BB0_2 Depth=1
ldrb w8, [x19, #1]!
cbnz w8, LBB0_2
LBB0_8:
mov x19, #0 ; =0x0
LBB0_9:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _stristr
.subsections_via_symbols
| assembly_file_66028.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pack6bit ## -- Begin function pack6bit
.p2align 4, 0x90
_pack6bit: ## @pack6bit
.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
addl %esi, %esi
leal (%rsi,%rsi,2), %eax
leal (%rsi,%rsi,2), %ecx
addl $7, %ecx
testl %eax, %eax
cmovnsl %eax, %ecx
movl %ecx, %esi
sarl $3, %esi
andl $-8, %ecx
subl %ecx, %eax
andl $63, %edx
movb $10, %cl
subb %al, %cl
shll %cl, %edx
movl $63, %eax
shll %cl, %eax
notl %eax
movl %eax, %ecx
sarl $8, %ecx
movslq %esi, %rsi
andl (%rdi,%rsi,4), %ecx
andl 4(%rdi,%rsi,4), %eax
orl %edx, %eax
shrl $8, %edx
orl %ecx, %edx
movl %edx, (%rdi,%rsi,4)
movzbl %al, %eax
movl %eax, 4(%rdi,%rsi,4)
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 _pack6bit ; -- Begin function pack6bit
.p2align 2
_pack6bit: ; @pack6bit
.cfi_startproc
; %bb.0:
add w8, w1, w1, lsl #1
lsl w8, w8, #1
add w9, w8, #7
cmp w8, #0
csel w9, w9, w8, lt
asr w10, w9, #3
and w9, w9, #0xfffffff8
sub w8, w9, w8
add w8, w8, #10
and w9, w2, #0x3f
lsl w9, w9, w8
mov w11, #63
lsl w8, w11, w8
mvn w11, w8
add x10, x0, w10, sxtw #2
ldp w12, w13, [x10]
and w11, w12, w11, asr #8
bic w8, w13, w8
orr w8, w8, w9
orr w9, w11, w9, lsr #8
and w8, w8, #0xff
stp w9, w8, [x10]
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/anypixel/firmware/controller/src/extr_LEDproto.c_pack6bit.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ixgbe_setup_psrtype
_ixgbe_setup_psrtype: ## @ixgbe_setup_psrtype
.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 16(%rdi), %rax
movq _ixgbe_mac_82598EB@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_4
## %bb.1:
movq %rdi, %r14
movq _IXGBE_PSRTYPE_TCPHDR@GOTPCREL(%rip), %rax
movq _IXGBE_PSRTYPE_UDPHDR@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
movq _IXGBE_PSRTYPE_IPV4HDR@GOTPCREL(%rip), %rax
orl (%rax), %ecx
movq _IXGBE_PSRTYPE_L2HDR@GOTPCREL(%rip), %rax
orl (%rax), %ecx
movq _IXGBE_PSRTYPE_IPV6HDR@GOTPCREL(%rip), %rax
orl (%rax), %ecx
movq 8(%rdi), %rax
movq _RING_F_RSS@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movl (%rax,%rdx,4), %eax
movl %ecx, %edx
orl $1073741824, %edx ## imm = 0x40000000
movl %ecx, %r12d
orl $536870912, %r12d ## imm = 0x20000000
cmpl $2, %eax
cmovll %ecx, %r12d
cmpl $4, %eax
cmovgel %edx, %r12d
cmpl $0, (%rdi)
jle LBB0_4
## %bb.2:
leaq 16(%r14), %r15
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl %ebx, %edi
callq _VMDQ_P
movl %eax, %edi
callq _IXGBE_PSRTYPE
movq %r15, %rdi
movl %eax, %esi
movl %r12d, %edx
callq _IXGBE_WRITE_REG
incl %ebx
cmpl (%r14), %ebx
jl LBB0_3
LBB0_4:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _RING_F_RSS,8,3 ## @RING_F_RSS
.comm _IXGBE_PSRTYPE_TCPHDR,4,2 ## @IXGBE_PSRTYPE_TCPHDR
.comm _IXGBE_PSRTYPE_UDPHDR,4,2 ## @IXGBE_PSRTYPE_UDPHDR
.comm _IXGBE_PSRTYPE_IPV4HDR,4,2 ## @IXGBE_PSRTYPE_IPV4HDR
.comm _IXGBE_PSRTYPE_L2HDR,4,2 ## @IXGBE_PSRTYPE_L2HDR
.comm _IXGBE_PSRTYPE_IPV6HDR,4,2 ## @IXGBE_PSRTYPE_IPV6HDR
.comm _ixgbe_mac_82598EB,8,3 ## @ixgbe_mac_82598EB
.no_dead_strip _ixgbe_setup_psrtype
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ixgbe_setup_psrtype
_ixgbe_setup_psrtype: ; @ixgbe_setup_psrtype
.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, x0
ldr x8, [x20, #16]!
Lloh0:
adrp x9, _ixgbe_mac_82598EB@GOTPAGE
Lloh1:
ldr x9, [x9, _ixgbe_mac_82598EB@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_4
; %bb.1:
mov x19, x0
Lloh3:
adrp x8, _IXGBE_PSRTYPE_TCPHDR@GOTPAGE
Lloh4:
ldr x8, [x8, _IXGBE_PSRTYPE_TCPHDR@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
Lloh6:
adrp x9, _IXGBE_PSRTYPE_UDPHDR@GOTPAGE
Lloh7:
ldr x9, [x9, _IXGBE_PSRTYPE_UDPHDR@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
orr w8, w9, w8
Lloh9:
adrp x9, _IXGBE_PSRTYPE_IPV4HDR@GOTPAGE
Lloh10:
ldr x9, [x9, _IXGBE_PSRTYPE_IPV4HDR@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
orr w8, w8, w9
Lloh12:
adrp x9, _IXGBE_PSRTYPE_L2HDR@GOTPAGE
Lloh13:
ldr x9, [x9, _IXGBE_PSRTYPE_L2HDR@GOTPAGEOFF]
Lloh14:
ldr w9, [x9]
orr w8, w8, w9
Lloh15:
adrp x9, _IXGBE_PSRTYPE_IPV6HDR@GOTPAGE
Lloh16:
ldr x9, [x9, _IXGBE_PSRTYPE_IPV6HDR@GOTPAGEOFF]
Lloh17:
ldr w9, [x9]
orr w8, w8, w9
Lloh18:
adrp x9, _RING_F_RSS@GOTPAGE
Lloh19:
ldr x9, [x9, _RING_F_RSS@GOTPAGEOFF]
ldr x10, [x0, #8]
Lloh20:
ldr x9, [x9]
ldr w9, [x10, x9, lsl #2]
orr w10, w8, #0x40000000
orr w11, w8, #0x20000000
cmp w9, #1
csel w8, w11, w8, gt
cmp w9, #3
csel w21, w10, w8, gt
ldr w8, [x0]
cmp w8, #1
b.lt LBB0_4
; %bb.2:
mov w22, #0
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x22
bl _VMDQ_P
bl _IXGBE_PSRTYPE
mov x1, x0
mov x0, x20
mov x2, x21
bl _IXGBE_WRITE_REG
add w22, w22, #1
ldr w8, [x19]
cmp w22, w8
b.lt LBB0_3
LBB0_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _RING_F_RSS,8,3 ; @RING_F_RSS
.comm _IXGBE_PSRTYPE_TCPHDR,4,2 ; @IXGBE_PSRTYPE_TCPHDR
.comm _IXGBE_PSRTYPE_UDPHDR,4,2 ; @IXGBE_PSRTYPE_UDPHDR
.comm _IXGBE_PSRTYPE_IPV4HDR,4,2 ; @IXGBE_PSRTYPE_IPV4HDR
.comm _IXGBE_PSRTYPE_L2HDR,4,2 ; @IXGBE_PSRTYPE_L2HDR
.comm _IXGBE_PSRTYPE_IPV6HDR,4,2 ; @IXGBE_PSRTYPE_IPV6HDR
.comm _ixgbe_mac_82598EB,8,3 ; @ixgbe_mac_82598EB
.no_dead_strip _ixgbe_setup_psrtype
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/ixgbe/extr_ixgbe_main.c_ixgbe_setup_psrtype.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ar2315_pci_host_setup
_ar2315_pci_host_setup: ## @ar2315_pci_host_setup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq _AR2315_PCI_HOST_SLOT@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %ebx, %ebx
xorl %esi, %esi
callq _PCI_DEVFN
movl %eax, %r15d
movq _PCI_VENDOR_ID@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq -32(%rbp), %rcx
movq %r14, %rdi
movl %r15d, %esi
callq _ar2315_pci_local_cfg_rd
movq _PCIBIOS_SUCCESSFUL@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_2
## %bb.1:
movq -32(%rbp), %rax
movq _AR2315_PCI_HOST_DEVID@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_2
## %bb.3:
movq _PCI_BASE_ADDRESS_0@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _AR2315_PCI_HOST_MBAR0@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r14, %rdi
movl %r15d, %esi
callq _ar2315_pci_local_cfg_wr
movq _PCI_BASE_ADDRESS_1@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _AR2315_PCI_HOST_MBAR1@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r14, %rdi
movl %r15d, %esi
callq _ar2315_pci_local_cfg_wr
movq _PCI_BASE_ADDRESS_2@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _AR2315_PCI_HOST_MBAR2@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r14, %rdi
movl %r15d, %esi
callq _ar2315_pci_local_cfg_wr
movq _PCI_COMMAND_MEMORY@GOTPCREL(%rip), %rax
movq _PCI_COMMAND_MASTER@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
movq _PCI_COMMAND_SPECIAL@GOTPCREL(%rip), %rax
orl (%rax), %ecx
movq _PCI_COMMAND_INVALIDATE@GOTPCREL(%rip), %rax
orl (%rax), %ecx
movq _PCI_COMMAND_PARITY@GOTPCREL(%rip), %rax
orl (%rax), %ecx
movq _PCI_COMMAND@GOTPCREL(%rip), %rax
movq _PCI_COMMAND_SERR@GOTPCREL(%rip), %rdx
orl (%rdx), %ecx
movl (%rax), %edx
movq _PCI_COMMAND_FAST_BACK@GOTPCREL(%rip), %rax
orl (%rax), %ecx
movq %r14, %rdi
movl %r15d, %esi
callq _ar2315_pci_local_cfg_wr
xorl %ebx, %ebx
jmp LBB0_4
LBB0_2:
movq _ENODEV@GOTPCREL(%rip), %rax
subl (%rax), %ebx
LBB0_4:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AR2315_PCI_HOST_SLOT,4,2 ## @AR2315_PCI_HOST_SLOT
.comm _PCI_VENDOR_ID,4,2 ## @PCI_VENDOR_ID
.comm _PCIBIOS_SUCCESSFUL,4,2 ## @PCIBIOS_SUCCESSFUL
.comm _AR2315_PCI_HOST_DEVID,8,3 ## @AR2315_PCI_HOST_DEVID
.comm _ENODEV,4,2 ## @ENODEV
.comm _PCI_BASE_ADDRESS_0,4,2 ## @PCI_BASE_ADDRESS_0
.comm _AR2315_PCI_HOST_MBAR0,4,2 ## @AR2315_PCI_HOST_MBAR0
.comm _PCI_BASE_ADDRESS_1,4,2 ## @PCI_BASE_ADDRESS_1
.comm _AR2315_PCI_HOST_MBAR1,4,2 ## @AR2315_PCI_HOST_MBAR1
.comm _PCI_BASE_ADDRESS_2,4,2 ## @PCI_BASE_ADDRESS_2
.comm _AR2315_PCI_HOST_MBAR2,4,2 ## @AR2315_PCI_HOST_MBAR2
.comm _PCI_COMMAND,4,2 ## @PCI_COMMAND
.comm _PCI_COMMAND_MEMORY,4,2 ## @PCI_COMMAND_MEMORY
.comm _PCI_COMMAND_MASTER,4,2 ## @PCI_COMMAND_MASTER
.comm _PCI_COMMAND_SPECIAL,4,2 ## @PCI_COMMAND_SPECIAL
.comm _PCI_COMMAND_INVALIDATE,4,2 ## @PCI_COMMAND_INVALIDATE
.comm _PCI_COMMAND_PARITY,4,2 ## @PCI_COMMAND_PARITY
.comm _PCI_COMMAND_SERR,4,2 ## @PCI_COMMAND_SERR
.comm _PCI_COMMAND_FAST_BACK,4,2 ## @PCI_COMMAND_FAST_BACK
.no_dead_strip _ar2315_pci_host_setup
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ar2315_pci_host_setup
_ar2315_pci_host_setup: ; @ar2315_pci_host_setup
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x8, _AR2315_PCI_HOST_SLOT@GOTPAGE
Lloh1:
ldr x8, [x8, _AR2315_PCI_HOST_SLOT@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
mov w1, #0
bl _PCI_DEVFN
mov x20, x0
Lloh3:
adrp x8, _PCI_VENDOR_ID@GOTPAGE
Lloh4:
ldr x8, [x8, _PCI_VENDOR_ID@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
add x3, sp, #8
mov x0, x19
mov x1, x20
bl _ar2315_pci_local_cfg_rd
Lloh6:
adrp x8, _PCIBIOS_SUCCESSFUL@GOTPAGE
Lloh7:
ldr x8, [x8, _PCIBIOS_SUCCESSFUL@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
cmp w0, w8
b.ne LBB0_3
; %bb.1:
ldr x8, [sp, #8]
Lloh9:
adrp x9, _AR2315_PCI_HOST_DEVID@GOTPAGE
Lloh10:
ldr x9, [x9, _AR2315_PCI_HOST_DEVID@GOTPAGEOFF]
Lloh11:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_3
; %bb.2:
Lloh12:
adrp x8, _PCI_BASE_ADDRESS_0@GOTPAGE
Lloh13:
ldr x8, [x8, _PCI_BASE_ADDRESS_0@GOTPAGEOFF]
Lloh14:
ldr w2, [x8]
Lloh15:
adrp x8, _AR2315_PCI_HOST_MBAR0@GOTPAGE
Lloh16:
ldr x8, [x8, _AR2315_PCI_HOST_MBAR0@GOTPAGEOFF]
Lloh17:
ldr w3, [x8]
mov x0, x19
mov x1, x20
bl _ar2315_pci_local_cfg_wr
Lloh18:
adrp x8, _PCI_BASE_ADDRESS_1@GOTPAGE
Lloh19:
ldr x8, [x8, _PCI_BASE_ADDRESS_1@GOTPAGEOFF]
Lloh20:
ldr w2, [x8]
Lloh21:
adrp x8, _AR2315_PCI_HOST_MBAR1@GOTPAGE
Lloh22:
ldr x8, [x8, _AR2315_PCI_HOST_MBAR1@GOTPAGEOFF]
Lloh23:
ldr w3, [x8]
mov x0, x19
mov x1, x20
bl _ar2315_pci_local_cfg_wr
Lloh24:
adrp x8, _PCI_BASE_ADDRESS_2@GOTPAGE
Lloh25:
ldr x8, [x8, _PCI_BASE_ADDRESS_2@GOTPAGEOFF]
Lloh26:
ldr w2, [x8]
Lloh27:
adrp x8, _AR2315_PCI_HOST_MBAR2@GOTPAGE
Lloh28:
ldr x8, [x8, _AR2315_PCI_HOST_MBAR2@GOTPAGEOFF]
Lloh29:
ldr w3, [x8]
mov x0, x19
mov x1, x20
bl _ar2315_pci_local_cfg_wr
Lloh30:
adrp x8, _PCI_COMMAND@GOTPAGE
Lloh31:
ldr x8, [x8, _PCI_COMMAND@GOTPAGEOFF]
Lloh32:
ldr w2, [x8]
Lloh33:
adrp x8, _PCI_COMMAND_MEMORY@GOTPAGE
Lloh34:
ldr x8, [x8, _PCI_COMMAND_MEMORY@GOTPAGEOFF]
Lloh35:
ldr w8, [x8]
Lloh36:
adrp x9, _PCI_COMMAND_MASTER@GOTPAGE
Lloh37:
ldr x9, [x9, _PCI_COMMAND_MASTER@GOTPAGEOFF]
Lloh38:
ldr w9, [x9]
orr w8, w9, w8
Lloh39:
adrp x9, _PCI_COMMAND_SPECIAL@GOTPAGE
Lloh40:
ldr x9, [x9, _PCI_COMMAND_SPECIAL@GOTPAGEOFF]
Lloh41:
ldr w9, [x9]
orr w8, w8, w9
Lloh42:
adrp x9, _PCI_COMMAND_INVALIDATE@GOTPAGE
Lloh43:
ldr x9, [x9, _PCI_COMMAND_INVALIDATE@GOTPAGEOFF]
Lloh44:
ldr w9, [x9]
orr w8, w8, w9
Lloh45:
adrp x9, _PCI_COMMAND_PARITY@GOTPAGE
Lloh46:
ldr x9, [x9, _PCI_COMMAND_PARITY@GOTPAGEOFF]
Lloh47:
ldr w9, [x9]
orr w8, w8, w9
Lloh48:
adrp x9, _PCI_COMMAND_SERR@GOTPAGE
Lloh49:
ldr x9, [x9, _PCI_COMMAND_SERR@GOTPAGEOFF]
Lloh50:
ldr w9, [x9]
orr w8, w8, w9
Lloh51:
adrp x9, _PCI_COMMAND_FAST_BACK@GOTPAGE
Lloh52:
ldr x9, [x9, _PCI_COMMAND_FAST_BACK@GOTPAGEOFF]
Lloh53:
ldr w9, [x9]
orr w3, w8, w9
mov x0, x19
mov x1, x20
bl _ar2315_pci_local_cfg_wr
mov w0, #0
b LBB0_4
LBB0_3:
Lloh54:
adrp x8, _ENODEV@GOTPAGE
Lloh55:
ldr x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh56:
ldr w8, [x8]
neg w0, w8
LBB0_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56
.cfi_endproc
; -- End function
.comm _AR2315_PCI_HOST_SLOT,4,2 ; @AR2315_PCI_HOST_SLOT
.comm _PCI_VENDOR_ID,4,2 ; @PCI_VENDOR_ID
.comm _PCIBIOS_SUCCESSFUL,4,2 ; @PCIBIOS_SUCCESSFUL
.comm _AR2315_PCI_HOST_DEVID,8,3 ; @AR2315_PCI_HOST_DEVID
.comm _ENODEV,4,2 ; @ENODEV
.comm _PCI_BASE_ADDRESS_0,4,2 ; @PCI_BASE_ADDRESS_0
.comm _AR2315_PCI_HOST_MBAR0,4,2 ; @AR2315_PCI_HOST_MBAR0
.comm _PCI_BASE_ADDRESS_1,4,2 ; @PCI_BASE_ADDRESS_1
.comm _AR2315_PCI_HOST_MBAR1,4,2 ; @AR2315_PCI_HOST_MBAR1
.comm _PCI_BASE_ADDRESS_2,4,2 ; @PCI_BASE_ADDRESS_2
.comm _AR2315_PCI_HOST_MBAR2,4,2 ; @AR2315_PCI_HOST_MBAR2
.comm _PCI_COMMAND,4,2 ; @PCI_COMMAND
.comm _PCI_COMMAND_MEMORY,4,2 ; @PCI_COMMAND_MEMORY
.comm _PCI_COMMAND_MASTER,4,2 ; @PCI_COMMAND_MASTER
.comm _PCI_COMMAND_SPECIAL,4,2 ; @PCI_COMMAND_SPECIAL
.comm _PCI_COMMAND_INVALIDATE,4,2 ; @PCI_COMMAND_INVALIDATE
.comm _PCI_COMMAND_PARITY,4,2 ; @PCI_COMMAND_PARITY
.comm _PCI_COMMAND_SERR,4,2 ; @PCI_COMMAND_SERR
.comm _PCI_COMMAND_FAST_BACK,4,2 ; @PCI_COMMAND_FAST_BACK
.no_dead_strip _ar2315_pci_host_setup
.subsections_via_symbols
| AnghaBench/linux/arch/mips/pci/extr_pci-ar2315.c_ar2315_pci_host_setup.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___fixunsdfdi ## -- Begin function __fixunsdfdi
.p2align 4, 0x90
___fixunsdfdi: ## @__fixunsdfdi
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _UQUAD_MAX@GOTPCREL(%rip), %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _UQUAD_MAX,8,3 ## @UQUAD_MAX
.comm _ONE_HALF,8,3 ## @ONE_HALF
.comm _ONE,8,3 ## @ONE
.comm _H,8,3 ## @H
.comm _L,8,3 ## @L
.comm _ULONG_MAX,8,3 ## @ULONG_MAX
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___fixunsdfdi ; -- Begin function __fixunsdfdi
.p2align 2
___fixunsdfdi: ; @__fixunsdfdi
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _UQUAD_MAX@GOTPAGE
Lloh1:
ldr x8, [x8, _UQUAD_MAX@GOTPAGEOFF]
Lloh2:
ldr d0, [x8]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _UQUAD_MAX,8,3 ; @UQUAD_MAX
.comm _ONE_HALF,8,3 ; @ONE_HALF
.comm _ONE,8,3 ; @ONE
.comm _H,8,3 ; @H
.comm _L,8,3 ; @L
.comm _ULONG_MAX,8,3 ; @ULONG_MAX
.subsections_via_symbols
| AnghaBench/freebsd/lib/libc/quad/extr_fixunsdfdi.c___fixunsdfdi.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function CheckConditional
_CheckConditional: ## @CheckConditional
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r12
movl %edi, -44(%rbp) ## 4-byte Spill
xorl %eax, %eax
callq _conditional_stack_create
movl %eax, %r15d
movq (%r12), %rax
testq %rax, %rax
je LBB0_1
## %bb.2:
movl $1, %ebx
movq _META_COMMAND@GOTPCREL(%rip), %r13
leaq LJTI0_0(%rip), %r14
jmp LBB0_3
LBB0_15: ## in Loop: Header=BB0_3 Depth=1
movl %r15d, %edi
callq _conditional_stack_poke
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_3 Depth=1
movq (%r12,%rbx,8), %rax
incq %rbx
testq %rax, %rax
je LBB0_20
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq (%rax), %rcx
cmpq (%r13), %rcx
jne LBB0_19
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl 8(%rax), %eax
addl $-128, %eax
cmpl $3, %eax
ja LBB0_19
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movslq (%r14,%rax,4), %rax
addq %r14, %rax
jmpq *%rax
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movq _IFSTATE_FALSE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %r15d, %edi
callq _conditional_stack_push
jmp LBB0_19
LBB0_16: ## in Loop: Header=BB0_3 Depth=1
movl %r15d, %edi
callq _conditional_stack_pop
testl %eax, %eax
jne LBB0_19
## %bb.17: ## in Loop: Header=BB0_3 Depth=1
movl -44(%rbp), %edi ## 4-byte Reload
movl %ebx, %esi
leaq L_.str.4(%rip), %rdx
jmp LBB0_18
LBB0_11: ## in Loop: Header=BB0_3 Depth=1
movl %r15d, %edi
callq _conditional_stack_empty
testq %rax, %rax
je LBB0_13
## %bb.12: ## in Loop: Header=BB0_3 Depth=1
movl -44(%rbp), %edi ## 4-byte Reload
movl %ebx, %esi
leaq L_.str.2(%rip), %rdx
callq _ConditionError
LBB0_13: ## in Loop: Header=BB0_3 Depth=1
movl %r15d, %edi
callq _conditional_stack_peek
movq _IFSTATE_ELSE_FALSE@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
cmpl %esi, %eax
jne LBB0_15
## %bb.14: ## in Loop: Header=BB0_3 Depth=1
movl -44(%rbp), %edi ## 4-byte Reload
movl %ebx, %esi
leaq L_.str.3(%rip), %rdx
callq _ConditionError
movq _IFSTATE_ELSE_FALSE@GOTPCREL(%rip), %rax
movl (%rax), %esi
jmp LBB0_15
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movl %r15d, %edi
callq _conditional_stack_empty
testq %rax, %rax
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
movl -44(%rbp), %edi ## 4-byte Reload
movl %ebx, %esi
leaq L_.str(%rip), %rdx
callq _ConditionError
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
movl %r15d, %edi
callq _conditional_stack_peek
movq _IFSTATE_ELSE_FALSE@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_19
## %bb.10: ## in Loop: Header=BB0_3 Depth=1
movl -44(%rbp), %edi ## 4-byte Reload
movl %ebx, %esi
leaq L_.str.1(%rip), %rdx
LBB0_18: ## in Loop: Header=BB0_3 Depth=1
callq _ConditionError
jmp LBB0_19
LBB0_1:
movl $1, %ebx
LBB0_20:
movl %r15d, %edi
callq _conditional_stack_empty
testq %rax, %rax
jne LBB0_22
## %bb.21:
leaq L_.str.5(%rip), %rdx
movl -44(%rbp), %edi ## 4-byte Reload
movl %ebx, %esi
callq _ConditionError
LBB0_22:
movl %r15d, %edi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _conditional_stack_destroy ## TAILCALL
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
.long L0_0_set_6
.long L0_0_set_16
.long L0_0_set_11
.long L0_0_set_7
.end_data_region
## -- End function
.comm _META_COMMAND,8,3 ## @META_COMMAND
.comm _IFSTATE_FALSE,4,2 ## @IFSTATE_FALSE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\\elif without matching \\if"
.comm _IFSTATE_ELSE_FALSE,4,2 ## @IFSTATE_ELSE_FALSE
L_.str.1: ## @.str.1
.asciz "\\elif after \\else"
L_.str.2: ## @.str.2
.asciz "\\else without matching \\if"
L_.str.3: ## @.str.3
.asciz "\\else after \\else"
L_.str.4: ## @.str.4
.asciz "\\endif without matching \\if"
L_.str.5: ## @.str.5
.asciz "\\if without matching \\endif"
.no_dead_strip _CheckConditional
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function CheckConditional
_CheckConditional: ; @CheckConditional
.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 x22, x1
mov x20, x0
bl _conditional_stack_create
mov x19, x0
ldr x8, [x22]
cbz x8, LBB0_19
; %bb.1:
mov w21, #1
Lloh0:
adrp x28, _META_COMMAND@GOTPAGE
Lloh1:
ldr x28, [x28, _META_COMMAND@GOTPAGEOFF]
Lloh2:
adrp x23, lJTI0_0@PAGE
Lloh3:
add x23, x23, lJTI0_0@PAGEOFF
Lloh4:
adrp x24, _IFSTATE_FALSE@GOTPAGE
Lloh5:
ldr x24, [x24, _IFSTATE_FALSE@GOTPAGEOFF]
Lloh6:
adrp x26, _IFSTATE_ELSE_FALSE@GOTPAGE
Lloh7:
ldr x26, [x26, _IFSTATE_ELSE_FALSE@GOTPAGEOFF]
Lloh8:
adrp x25, l_.str.2@PAGE
Lloh9:
add x25, x25, l_.str.2@PAGEOFF
Lloh10:
adrp x27, l_.str@PAGE
Lloh11:
add x27, x27, l_.str@PAGEOFF
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
mov x0, x19
bl _conditional_stack_poke
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x22, x21, lsl #3]
add x21, x21, #1
cbz x8, LBB0_20
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x9, [x8]
ldr x10, [x28]
cmp x9, x10
b.ne LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x8, #8]
sub w8, w8, #128
cmp w8, #3
b.hi LBB0_3
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
adr x9, LBB0_7
ldrb w10, [x23, x8]
add x9, x9, x10, lsl #2
br x9
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
ldr w1, [x24]
mov x0, x19
bl _conditional_stack_push
b LBB0_3
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
mov x0, x19
bl _conditional_stack_pop
cbnz w0, LBB0_3
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
mov x0, x20
mov x1, x21
Lloh12:
adrp x2, l_.str.4@PAGE
Lloh13:
add x2, x2, l_.str.4@PAGEOFF
b LBB0_18
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
mov x0, x19
bl _conditional_stack_empty
cbz x0, LBB0_12
; %bb.11: ; in Loop: Header=BB0_4 Depth=1
mov x0, x20
mov x1, x21
mov x2, x25
bl _ConditionError
LBB0_12: ; in Loop: Header=BB0_4 Depth=1
mov x0, x19
bl _conditional_stack_peek
ldr w1, [x26]
cmp w0, w1
b.ne LBB0_2
; %bb.13: ; in Loop: Header=BB0_4 Depth=1
mov x0, x20
mov x1, x21
Lloh14:
adrp x2, l_.str.3@PAGE
Lloh15:
add x2, x2, l_.str.3@PAGEOFF
bl _ConditionError
ldr w1, [x26]
b LBB0_2
LBB0_14: ; in Loop: Header=BB0_4 Depth=1
mov x0, x19
bl _conditional_stack_empty
cbz x0, LBB0_16
; %bb.15: ; in Loop: Header=BB0_4 Depth=1
mov x0, x20
mov x1, x21
mov x2, x27
bl _ConditionError
LBB0_16: ; in Loop: Header=BB0_4 Depth=1
mov x0, x19
bl _conditional_stack_peek
ldr w8, [x26]
cmp w0, w8
b.ne LBB0_3
; %bb.17: ; in Loop: Header=BB0_4 Depth=1
mov x0, x20
mov x1, x21
Lloh16:
adrp x2, l_.str.1@PAGE
Lloh17:
add x2, x2, l_.str.1@PAGEOFF
LBB0_18: ; in Loop: Header=BB0_4 Depth=1
bl _ConditionError
b LBB0_3
LBB0_19:
mov w21, #1
LBB0_20:
mov x0, x19
bl _conditional_stack_empty
cbnz x0, LBB0_22
; %bb.21:
Lloh18:
adrp x2, l_.str.5@PAGE
Lloh19:
add x2, x2, l_.str.5@PAGEOFF
mov x0, x20
mov x1, x21
bl _ConditionError
LBB0_22:
mov x0, x19
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
b _conditional_stack_destroy
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_7-LBB0_7)>>2
.byte (LBB0_8-LBB0_7)>>2
.byte (LBB0_10-LBB0_7)>>2
.byte (LBB0_14-LBB0_7)>>2
; -- End function
.comm _META_COMMAND,8,3 ; @META_COMMAND
.comm _IFSTATE_FALSE,4,2 ; @IFSTATE_FALSE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\\elif without matching \\if"
.comm _IFSTATE_ELSE_FALSE,4,2 ; @IFSTATE_ELSE_FALSE
l_.str.1: ; @.str.1
.asciz "\\elif after \\else"
l_.str.2: ; @.str.2
.asciz "\\else without matching \\if"
l_.str.3: ; @.str.3
.asciz "\\else after \\else"
l_.str.4: ; @.str.4
.asciz "\\endif without matching \\if"
l_.str.5: ; @.str.5
.asciz "\\if without matching \\endif"
.no_dead_strip _CheckConditional
.subsections_via_symbols
| AnghaBench/postgres/src/bin/pgbench/extr_pgbench.c_CheckConditional.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _b64_ntop ## -- Begin function b64_ntop
.p2align 4, 0x90
_b64_ntop: ## @b64_ntop
.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
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
cmpq $2, %rsi
jb LBB0_1
## %bb.2:
xorl %r9d, %r9d
movq _Base64@GOTPCREL(%rip), %rax
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
leaq 4(%r9), %r8
cmpq %rcx, %r8
ja LBB0_4
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movl -4(%rdi,%r9), %r11d
movl (%rdi,%r9), %ebx
movl %ebx, %r10d
andl $63, %r10d
movl %r11d, %r14d
andl $15, %r14d
movl %ebx, %r15d
sarl $6, %r15d
leal (%r15,%r14,4), %r14d
movl %ebx, %r15d
shll $4, %r15d
andl $48, %r15d
sarl $4, %r11d
subl %r11d, %r15d
sarl $2, %ebx
addq $-3, %rsi
movq (%rax), %r11
movslq %ebx, %rbx
movzbl (%r11,%rbx), %r11d
movb %r11b, (%rdx,%r9)
movq (%rax), %r11
movslq %r15d, %rbx
movzbl (%r11,%rbx), %r11d
movb %r11b, 1(%rdx,%r9)
movq (%rax), %r11
movslq %r14d, %rbx
movzbl (%r11,%rbx), %r11d
movb %r11b, 2(%rdx,%r9)
movq (%rax), %r11
movzbl (%r11,%r10), %r10d
movb %r10b, 3(%rdx,%r9)
movq %r8, %r9
cmpq $1, %rsi
ja LBB0_3
## %bb.6:
addq %r8, %rdi
testq %rsi, %rsi
jne LBB0_9
LBB0_8:
movq %r8, %rsi
jmp LBB0_11
LBB0_1:
xorl %r8d, %r8d
testq %rsi, %rsi
je LBB0_8
LBB0_9:
leaq 4(%r8), %rsi
movl $-1, %eax
cmpq %rcx, %rsi
ja LBB0_13
## %bb.10:
movl (%rdi), %eax
movl %eax, %edi
shll $4, %edi
andl $48, %edi
sarl $2, %eax
movq _Base64@GOTPCREL(%rip), %r9
movq (%r9), %r10
cltq
movzbl (%r10,%rax), %eax
movb %al, (%rdx,%r8)
movq (%r9), %rax
movzbl (%rax,%rdi), %eax
movb %al, 1(%rdx,%r8)
movq _Pad64@GOTPCREL(%rip), %rax
movzbl (%rax), %eax
movb %al, 2(%rdx,%r8)
movb %al, 3(%rdx,%r8)
LBB0_11:
movl $-1, %eax
cmpq %rcx, %rsi
jae LBB0_13
## %bb.12:
movb $0, (%rdx,%rsi)
movl %esi, %eax
jmp LBB0_13
LBB0_4:
movl $-1, %eax
LBB0_13:
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _Base64,8,3 ## @Base64
.comm _Pad64,1,0 ## @Pad64
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _b64_ntop ; -- Begin function b64_ntop
.p2align 2
_b64_ntop: ; @b64_ntop
.cfi_startproc
; %bb.0:
mov x8, x0
cmp x1, #2
b.lo LBB0_6
; %bb.1:
mov x11, #0 ; =0x0
add x9, x2, #3
Lloh0:
adrp x10, _Base64@GOTPAGE
Lloh1:
ldr x10, [x10, _Base64@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
add x0, x11, #4
cmp x0, x3
b.hi LBB0_10
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add x12, x8, x11
ldp w13, w12, [x12, #-4]
and x14, x12, #0x3f
asr w15, w12, #2
ldr x16, [x10]
ldrb w15, [x16, w15, sxtw]
ubfiz w16, w13, #2, #4
add w16, w16, w12, asr #6
ubfiz w12, w12, #4, #2
sub w12, w12, w13, asr #4
add x11, x9, x11
sturb w15, [x11, #-3]
ldr x13, [x10]
ldrb w12, [x13, w12, sxtw]
sub x1, x1, #3
sturb w12, [x11, #-2]
ldr x12, [x10]
ldrb w12, [x12, w16, sxtw]
sturb w12, [x11, #-1]
ldr x12, [x10]
ldrb w12, [x12, x14]
strb w12, [x11]
mov x11, x0
cmp x1, #1
b.hi LBB0_2
; %bb.4:
add x8, x8, x0
cbnz x1, LBB0_7
LBB0_5:
cmp x0, x3
b.hs LBB0_10
b LBB0_9
LBB0_6:
mov x0, #0 ; =0x0
cbz x1, LBB0_5
LBB0_7:
add x9, x0, #4
cmp x9, x3
b.hi LBB0_10
; %bb.8:
ldr w8, [x8]
ubfiz x10, x8, #4, #2
asr w8, w8, #2
Lloh2:
adrp x11, _Base64@GOTPAGE
Lloh3:
ldr x11, [x11, _Base64@GOTPAGEOFF]
ldr x12, [x11]
ldrb w8, [x12, w8, sxtw]
add x12, x2, x0
strb w8, [x12]
ldr x8, [x11]
ldrb w8, [x8, x10]
strb w8, [x12, #1]
Lloh4:
adrp x8, _Pad64@GOTPAGE
Lloh5:
ldr x8, [x8, _Pad64@GOTPAGEOFF]
ldrb w8, [x8]
strb w8, [x12, #2]
strb w8, [x12, #3]
mov x0, x9
cmp x0, x3
b.hs LBB0_10
LBB0_9:
strb wzr, [x2, x0]
; kill: def $w0 killed $w0 killed $x0
ret
LBB0_10:
mov w0, #-1 ; =0xffffffff
; kill: def $w0 killed $w0 killed $x0
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _Base64,8,3 ; @Base64
.comm _Pad64,1,0 ; @Pad64
.subsections_via_symbols
| assembly_file_165016.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _FmSpSetBufPoolsInAscOrderOfBufSizes ## -- Begin function FmSpSetBufPoolsInAscOrderOfBufSizes
.p2align 4, 0x90
_FmSpSetBufPoolsInAscOrderOfBufSizes: ## @FmSpSetBufPoolsInAscOrderOfBufSizes
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl (%rdi), %r8d
testl %r8d, %r8d
jle LBB0_16
## %bb.1:
movq 8(%rdi), %r9
xorl %r10d, %r10d
movq %rsi, %r11
xorl %r12d, %r12d
jmp LBB0_2
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_2 Depth=1
movq (%r14), %rax
movslq %ecx, %rcx
movq %rax, (%rsi,%rcx,8)
LBB0_15: ## in Loop: Header=BB0_2 Depth=1
addq $8, %r11
decq %r10
cmpq %r8, %r12
je LBB0_16
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
## Child Loop BB0_10 Depth 2
## Child Loop BB0_13 Depth 2
movq %r12, %rcx
movq %r12, %rax
shlq $4, %rax
movq (%r9,%rax), %r15
movq 8(%r9,%rax), %rbx
leaq (%r9,%rax), %r14
addq $8, %r14
movq %r15, (%rdx,%rbx,8)
incq %r12
movl %ecx, %eax
xorl %ebx, %ebx
jmp LBB0_3
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_3 Depth=2
movq (%r14), %rdi
movq %rdi, (%rsi,%rcx,8)
LBB0_5: ## in Loop: Header=BB0_3 Depth=2
incq %rbx
addb $3, %al
cmpq %rbx, %r12
je LBB0_15
LBB0_3: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
cmpq %rbx, %rcx
je LBB0_4
## %bb.6: ## in Loop: Header=BB0_3 Depth=2
movq (%rsi,%rbx,8), %rdi
cmpq (%rdx,%rdi,8), %r15
jge LBB0_5
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
movq %rcx, %rdi
subq %rbx, %rdi
jbe LBB0_14
## %bb.8: ## in Loop: Header=BB0_2 Depth=1
leaq -1(%rdi), %r15
testb $3, %dil
je LBB0_12
## %bb.9: ## in Loop: Header=BB0_2 Depth=1
movzbl %al, %eax
andl $3, %eax
negq %rax
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_10: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movq -8(%r11,%rcx,8), %rdi
movq %rdi, (%r11,%rcx,8)
decq %rcx
cmpq %rcx, %rax
jne LBB0_10
## %bb.11: ## in Loop: Header=BB0_2 Depth=1
subq %r10, %rcx
LBB0_12: ## in Loop: Header=BB0_2 Depth=1
cmpq $3, %r15
jb LBB0_14
.p2align 4, 0x90
LBB0_13: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movups -32(%rsi,%rcx,8), %xmm0
movups -16(%rsi,%rcx,8), %xmm1
movups %xmm1, -8(%rsi,%rcx,8)
movups %xmm0, -24(%rsi,%rcx,8)
addq $-4, %rcx
cmpq %rbx, %rcx
jg LBB0_13
jmp LBB0_14
LBB0_16:
popq %rbx
popq %r12
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 _FmSpSetBufPoolsInAscOrderOfBufSizes ; -- Begin function FmSpSetBufPoolsInAscOrderOfBufSizes
.p2align 2
_FmSpSetBufPoolsInAscOrderOfBufSizes: ; @FmSpSetBufPoolsInAscOrderOfBufSizes
.cfi_startproc
; %bb.0:
ldr w8, [x0]
cmp w8, #1
b.lt LBB0_12
; %bb.1:
mov x9, #0
ldr x10, [x0, #8]
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
ldr x11, [x12]
sbfiz x12, x13, #3, #32
str x11, [x1, x12]
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x9, x9, #1
cmp x9, x8
b.eq LBB0_12
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
; Child Loop BB0_11 Depth 2
mov x11, #0
lsl x12, x9, #4
ldr x13, [x10, x12]
add x12, x10, x12
ldr x14, [x12, #8]!
str x13, [x2, x14, lsl #3]
add x14, x9, #1
b LBB0_7
LBB0_5: ; in Loop: Header=BB0_7 Depth=2
ldr x15, [x12]
str x15, [x1, x9, lsl #3]
LBB0_6: ; in Loop: Header=BB0_7 Depth=2
add x11, x11, #1
cmp x14, x11
b.eq LBB0_3
LBB0_7: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
cmp x9, x11
b.eq LBB0_5
; %bb.8: ; in Loop: Header=BB0_7 Depth=2
ldr x15, [x1, x11, lsl #3]
ldr x15, [x2, x15, lsl #3]
cmp x13, x15
b.ge LBB0_6
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
mov x13, x9
cmp x9, x11
b.ls LBB0_2
; %bb.10: ; in Loop: Header=BB0_4 Depth=1
mov x14, x9
LBB0_11: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
sub x13, x14, #1
add x14, x1, x14, lsl #3
ldur x15, [x14, #-8]
str x15, [x14]
mov x14, x13
cmp x13, x11
b.gt LBB0_11
b LBB0_2
LBB0_12:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/SP/extr_fm_sp.c_FmSpSetBufPoolsInAscOrderOfBufSizes.c | anghabench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.