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
.p2align 4, 0x90 ## -- Begin function a10_sramc_probe
_a10_sramc_probe: ## @a10_sramc_probe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %edi, %ebx
leaq L_.str(%rip), %rsi
callq _ofw_bus_is_compatible
testq %rax, %rax
je LBB0_1
## %bb.2:
leaq L_.str.1(%rip), %rsi
movl %ebx, %edi
callq _device_set_desc
movq _BUS_PROBE_DEFAULT@GOTPCREL(%rip), %rax
jmp LBB0_3
LBB0_1:
movq _ENXIO@GOTPCREL(%rip), %rax
LBB0_3:
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "allwinner,sun4i-a10-sram-controller"
L_.str.1: ## @.str.1
.asciz "Allwinner sramc module"
.comm _BUS_PROBE_DEFAULT,4,2 ## @BUS_PROBE_DEFAULT
.comm _ENXIO,4,2 ## @ENXIO
.no_dead_strip _a10_sramc_probe
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function a10_sramc_probe
_a10_sramc_probe: ; @a10_sramc_probe
.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 x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _ofw_bus_is_compatible
cbz x0, LBB0_2
; %bb.1:
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _device_set_desc
Lloh4:
adrp x8, _BUS_PROBE_DEFAULT@GOTPAGE
Lloh5:
ldr x8, [x8, _BUS_PROBE_DEFAULT@GOTPAGEOFF]
b LBB0_3
LBB0_2:
Lloh6:
adrp x8, _ENXIO@GOTPAGE
Lloh7:
ldr x8, [x8, _ENXIO@GOTPAGEOFF]
LBB0_3:
ldr w0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "allwinner,sun4i-a10-sram-controller"
l_.str.1: ; @.str.1
.asciz "Allwinner sramc module"
.comm _BUS_PROBE_DEFAULT,4,2 ; @BUS_PROBE_DEFAULT
.comm _ENXIO,4,2 ; @ENXIO
.no_dead_strip _a10_sramc_probe
.subsections_via_symbols
| AnghaBench/freebsd/sys/arm/allwinner/extr_a10_sramc.c_a10_sramc_probe.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _keyboard_pre_init_kb ## -- Begin function keyboard_pre_init_kb
.p2align 4, 0x90
_keyboard_pre_init_kb: ## @keyboard_pre_init_kb
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
callq _keyboard_pre_init_user
xorl %eax, %eax
popq %rbp
jmp _led_init_ports ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _keyboard_pre_init_kb ; -- Begin function keyboard_pre_init_kb
.p2align 2
_keyboard_pre_init_kb: ; @keyboard_pre_init_kb
.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 _keyboard_pre_init_user
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _led_init_ports
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/qmk_firmware/keyboards/handwired/tritium_numpad/extr_tritium_numpad.c_keyboard_pre_init_kb.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function conninfo_add_defaults
_conninfo_add_defaults: ## @conninfo_add_defaults
.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, %rbx
movq %rdi, %r15
callq _parseServiceInfo
testq %rbx, %rbx
je LBB0_2
## %bb.1:
testq %rax, %rax
je LBB0_2
LBB0_11:
xorl %r14d, %r14d
jmp LBB0_21
LBB0_2:
movl $1, %r14d
cmpq $0, 24(%r15)
je LBB0_3
LBB0_21:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_3:
addq $24, %r15
leaq L_.str.1(%rip), %r12
leaq L_.str.2(%rip), %r13
jmp LBB0_4
LBB0_7: ## in Loop: Header=BB0_4 Depth=1
movq %rax, %rdi
LBB0_8: ## in Loop: Header=BB0_4 Depth=1
callq _strdup
movq %rax, -8(%r15)
testq %rax, %rax
je LBB0_9
LBB0_20: ## in Loop: Header=BB0_4 Depth=1
cmpq $0, -32(%r15)
leaq -32(%r15), %r15
jne LBB0_21
LBB0_4: ## =>This Inner Loop Header: Depth=1
cmpq $0, -8(%r15)
jne LBB0_20
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq -24(%r15), %rdi
testq %rdi, %rdi
je LBB0_12
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
callq _getenv
testq %rax, %rax
jne LBB0_7
LBB0_12: ## in Loop: Header=BB0_4 Depth=1
xorl %edi, %edi
movq %r12, %rsi
callq _strcmp
testq %rax, %rax
je LBB0_13
LBB0_17: ## in Loop: Header=BB0_4 Depth=1
movq -16(%r15), %rdi
testq %rdi, %rdi
jne LBB0_8
## %bb.18: ## in Loop: Header=BB0_4 Depth=1
movq (%r15), %rdi
leaq L_.str.4(%rip), %rsi
callq _strcmp
testq %rax, %rax
jne LBB0_20
## %bb.19: ## in Loop: Header=BB0_4 Depth=1
xorl %edi, %edi
callq _pg_fe_getauthname
movq %rax, -8(%r15)
jmp LBB0_20
LBB0_13: ## in Loop: Header=BB0_4 Depth=1
movq %r13, %rdi
callq _getenv
testq %rax, %rax
je LBB0_17
## %bb.14: ## in Loop: Header=BB0_4 Depth=1
cmpb $49, (%rax)
jne LBB0_17
## %bb.15: ## in Loop: Header=BB0_4 Depth=1
testq %rbx, %rbx
setne -41(%rbp) ## 1-byte Folded Spill
leaq L_.str.3(%rip), %rdi
callq _strdup
movq %rax, -8(%r15)
testq %rax, %rax
sete %cl
testb %cl, -41(%rbp) ## 1-byte Folded Reload
jne LBB0_10
## %bb.16: ## in Loop: Header=BB0_4 Depth=1
testq %rax, %rax
jne LBB0_20
jmp LBB0_11
LBB0_9:
testq %rbx, %rbx
je LBB0_11
LBB0_10:
leaq L_.str(%rip), %rdi
callq _libpq_gettext
movq %rbx, %rdi
movl %eax, %esi
callq _printfPQExpBuffer
jmp LBB0_11
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "out of memory\n"
L_.str.1: ## @.str.1
.asciz "sslmode"
L_.str.2: ## @.str.2
.asciz "PGREQUIRESSL"
L_.str.3: ## @.str.3
.asciz "require"
L_.str.4: ## @.str.4
.asciz "user"
.no_dead_strip _conninfo_add_defaults
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function conninfo_add_defaults
_conninfo_add_defaults: ; @conninfo_add_defaults
.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, x1
mov x20, x0
bl _parseServiceInfo
cbz x19, LBB0_3
; %bb.1:
cbz x0, LBB0_3
LBB0_2:
mov w0, #0 ; =0x0
b LBB0_5
LBB0_3:
ldr x8, [x20, #24]!
cbz x8, LBB0_6
LBB0_4:
mov w0, #1 ; =0x1
LBB0_5:
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_6:
Lloh0:
adrp x21, l_.str.1@PAGE
Lloh1:
add x21, x21, l_.str.1@PAGEOFF
Lloh2:
adrp x22, l_.str.2@PAGE
Lloh3:
add x22, x22, l_.str.2@PAGEOFF
Lloh4:
adrp x23, l_.str.3@PAGE
Lloh5:
add x23, x23, l_.str.3@PAGEOFF
Lloh6:
adrp x24, l_.str.4@PAGE
Lloh7:
add x24, x24, l_.str.4@PAGEOFF
b LBB0_9
LBB0_7: ; in Loop: Header=BB0_9 Depth=1
bl _strdup
stur x0, [x20, #-8]
cbz x0, LBB0_21
LBB0_8: ; in Loop: Header=BB0_9 Depth=1
ldr x8, [x20, #-32]!
cbnz x8, LBB0_4
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldur x8, [x20, #-8]
cbnz x8, LBB0_8
; %bb.10: ; in Loop: Header=BB0_9 Depth=1
ldur x0, [x20, #-24]
cbz x0, LBB0_12
; %bb.11: ; in Loop: Header=BB0_9 Depth=1
bl _getenv
cbnz x0, LBB0_7
LBB0_12: ; in Loop: Header=BB0_9 Depth=1
mov x0, #0 ; =0x0
mov x1, x21
bl _strcmp
cbz x0, LBB0_16
LBB0_13: ; in Loop: Header=BB0_9 Depth=1
ldur x0, [x20, #-16]
cbnz x0, LBB0_7
; %bb.14: ; in Loop: Header=BB0_9 Depth=1
ldr x0, [x20]
mov x1, x24
bl _strcmp
cbnz x0, LBB0_8
; %bb.15: ; in Loop: Header=BB0_9 Depth=1
bl _pg_fe_getauthname
stur x0, [x20, #-8]
b LBB0_8
LBB0_16: ; in Loop: Header=BB0_9 Depth=1
mov x0, x22
bl _getenv
cbz x0, LBB0_13
; %bb.17: ; in Loop: Header=BB0_9 Depth=1
ldrb w8, [x0]
cmp w8, #49
b.ne LBB0_13
; %bb.18: ; in Loop: Header=BB0_9 Depth=1
mov x0, x23
bl _strdup
stur x0, [x20, #-8]
cbz x19, LBB0_20
; %bb.19: ; in Loop: Header=BB0_9 Depth=1
cbz x0, LBB0_22
LBB0_20: ; in Loop: Header=BB0_9 Depth=1
cbnz x0, LBB0_8
b LBB0_5
LBB0_21:
cbz x19, LBB0_2
LBB0_22:
Lloh8:
adrp x0, l_.str@PAGE
Lloh9:
add x0, x0, l_.str@PAGEOFF
bl _libpq_gettext
mov x1, x0
mov x0, x19
bl _printfPQExpBuffer
b LBB0_2
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "out of memory\n"
l_.str.1: ; @.str.1
.asciz "sslmode"
l_.str.2: ; @.str.2
.asciz "PGREQUIRESSL"
l_.str.3: ; @.str.3
.asciz "require"
l_.str.4: ; @.str.4
.asciz "user"
.no_dead_strip _conninfo_add_defaults
.subsections_via_symbols
| assembly_file_121447.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function end_fw_load
_end_fw_load: ## @end_fw_load
.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
xorl %esi, %esi
xorl %edx, %edx
callq _cx25840_write
movq %rbx, %rdi
movl $2051, %esi ## imm = 0x803
movl $3, %edx
addq $8, %rsp
popq %rbx
popq %rbp
jmp _cx25840_write ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _end_fw_load
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function end_fw_load
_end_fw_load: ; @end_fw_load
.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 w1, #0
mov w2, #0
bl _cx25840_write
mov x0, x19
mov w1, #2051
mov w2, #3
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _cx25840_write
.cfi_endproc
; -- End function
.no_dead_strip _end_fw_load
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/media/video/cx25840/extr_cx25840-firmware.c_end_fw_load.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function walk_pud_level
_walk_pud_level: ## @walk_pud_level
.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 %rcx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq %rdx, %rdi
movq %rcx, %rsi
callq _pud_offset
movq %rax, %r12
movq _PTRS_PER_PUD@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jg LBB0_2
## %bb.1:
movq _max_addr@GOTPCREL(%rip), %rax
cmpq %rbx, (%rax)
ja LBB0_2
LBB0_11:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
movl $1, %r13d
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %rbx, (%r14)
movl (%r12), %edi
callq _pud_none
testl %eax, %eax
je LBB0_4
## %bb.7: ## in Loop: Header=BB0_3 Depth=1
movq __PAGE_INVALID@GOTPCREL(%rip), %rax
movl (%rax), %edx
jmp LBB0_8
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_3 Depth=1
movl (%r12), %edi
callq _pud_large
testq %rax, %rax
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movl (%r12), %edi
callq _pud_val
movq __REGION_ENTRY_NOEXEC@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movq __REGION_ENTRY_PROTECT@GOTPCREL(%rip), %rcx
orl (%rcx), %edx
andl %eax, %edx
LBB0_8: ## in Loop: Header=BB0_3 Depth=1
movq %r15, %rdi
movq %r14, %rsi
movl $2, %ecx
callq _note_page
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
movq _PUD_SIZE@GOTPCREL(%rip), %rax
addq (%rax), %rbx
addq $4, %r12
leal 1(%r13), %eax
movq _PTRS_PER_PUD@GOTPCREL(%rip), %rcx
cmpl (%rcx), %r13d
movl %eax, %r13d
jl LBB0_3
## %bb.10: ## in Loop: Header=BB0_3 Depth=1
movl %eax, %r13d
movq _max_addr@GOTPCREL(%rip), %rax
cmpq (%rax), %rbx
jb LBB0_3
jmp LBB0_11
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
movq %rbx, %rcx
callq _walk_pmd_level
jmp LBB0_9
.cfi_endproc
## -- End function
.comm _PTRS_PER_PUD,4,2 ## @PTRS_PER_PUD
.comm _max_addr,8,3 ## @max_addr
.comm __REGION_ENTRY_PROTECT,4,2 ## @_REGION_ENTRY_PROTECT
.comm __REGION_ENTRY_NOEXEC,4,2 ## @_REGION_ENTRY_NOEXEC
.comm __PAGE_INVALID,4,2 ## @_PAGE_INVALID
.comm _PUD_SIZE,8,3 ## @PUD_SIZE
.comm _PAGE_MASK,4,2 ## @PAGE_MASK
.comm _kasan_early_shadow_pud,4,2 ## @kasan_early_shadow_pud
.no_dead_strip _walk_pud_level
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function walk_pud_level
_walk_pud_level: ; @walk_pud_level
.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
.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, x3
mov x20, x1
mov x21, x0
mov x0, x2
mov x1, x3
bl _pud_offset
Lloh0:
adrp x23, _PTRS_PER_PUD@GOTPAGE
Lloh1:
ldr x23, [x23, _PTRS_PER_PUD@GOTPAGEOFF]
ldr w8, [x23]
Lloh2:
adrp x24, _max_addr@GOTPAGE
Lloh3:
ldr x24, [x24, _max_addr@GOTPAGEOFF]
ldr x9, [x24]
cmp w8, #0
ccmp x9, x19, #2, le
b.ls LBB0_9
; %bb.1:
mov x22, x0
mov w26, #1 ; =0x1
Lloh4:
adrp x27, __REGION_ENTRY_NOEXEC@GOTPAGE
Lloh5:
ldr x27, [x27, __REGION_ENTRY_NOEXEC@GOTPAGEOFF]
Lloh6:
adrp x28, _PUD_SIZE@GOTPAGE
Lloh7:
ldr x28, [x28, _PUD_SIZE@GOTPAGEOFF]
Lloh8:
adrp x25, __PAGE_INVALID@GOTPAGE
Lloh9:
ldr x25, [x25, __PAGE_INVALID@GOTPAGEOFF]
b LBB0_5
LBB0_2: ; in Loop: Header=BB0_5 Depth=1
ldr w2, [x25]
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
mov x0, x21
mov x1, x20
mov w3, #2 ; =0x2
bl _note_page
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x28]
add x19, x8, x19
add x22, x22, #4
ldr w8, [x23]
ldr x9, [x24]
cmp w26, w8
add w26, w26, #1
ccmp x19, x9, #0, ge
b.hs LBB0_9
LBB0_5: ; =>This Inner Loop Header: Depth=1
str x19, [x20]
ldr w0, [x22]
bl _pud_none
cbnz w0, LBB0_2
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr w0, [x22]
bl _pud_large
cbz x0, LBB0_8
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
ldr w0, [x22]
bl _pud_val
Lloh10:
adrp x8, __REGION_ENTRY_PROTECT@GOTPAGE
Lloh11:
ldr x8, [x8, __REGION_ENTRY_PROTECT@GOTPAGEOFF]
Lloh12:
ldr w8, [x8]
ldr w9, [x27]
orr w8, w9, w8
and w2, w8, w0
b LBB0_3
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
mov x0, x21
mov x1, x20
mov x2, x22
mov x3, x19
bl _walk_pmd_level
b LBB0_4
LBB0_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
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 Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.cfi_endproc
; -- End function
.comm _PTRS_PER_PUD,4,2 ; @PTRS_PER_PUD
.comm _max_addr,8,3 ; @max_addr
.comm __REGION_ENTRY_PROTECT,4,2 ; @_REGION_ENTRY_PROTECT
.comm __REGION_ENTRY_NOEXEC,4,2 ; @_REGION_ENTRY_NOEXEC
.comm __PAGE_INVALID,4,2 ; @_PAGE_INVALID
.comm _PUD_SIZE,8,3 ; @PUD_SIZE
.comm _PAGE_MASK,4,2 ; @PAGE_MASK
.comm _kasan_early_shadow_pud,4,2 ; @kasan_early_shadow_pud
.no_dead_strip _walk_pud_level
.subsections_via_symbols
| assembly_file_160692.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mac_set_speed_duplex_fc
_mac_set_speed_duplex_fc: ## @mac_set_speed_duplex_fc
.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 %ecx, %r15d
movl %edx, %r12d
movl %esi, %ebx
movq %rdi, %r13
movq 8(%rdi), %rax
movl (%rax), %r14d
movq _SPEED_100@GOTPCREL(%rip), %rsi
movq _SPEED_1000@GOTPCREL(%rip), %rdx
movl $-1, %eax
testl %ebx, %ebx
js LBB0_4
## %bb.1:
movq _SPEED_10@GOTPCREL(%rip), %rcx
cmpl %ebx, (%rcx)
je LBB0_4
## %bb.2:
cmpl %ebx, (%rsi)
je LBB0_4
## %bb.3:
cmpl %ebx, (%rdx)
jne LBB0_26
LBB0_4:
testl %r12d, %r12d
jle LBB0_6
## %bb.5:
movq _DUPLEX_FULL@GOTPCREL(%rip), %rcx
cmpl %r12d, (%rcx)
jne LBB0_26
LBB0_6:
testl %ebx, %ebx
js LBB0_20
## %bb.7:
movl %r15d, -48(%rbp) ## 4-byte Spill
movl (%r13), %r15d
movl %r14d, %edi
callq _REG_MODE_CFG
leaq -44(%rbp), %rdx
movl %r15d, %edi
movl %eax, %esi
callq _vsc_read
movl -44(%rbp), %eax
andl $-16, %eax
leal 4(%rax), %ecx
movl %ecx, -44(%rbp)
movq _SPEED_1000@GOTPCREL(%rip), %rcx
cmpl %ebx, (%rcx)
jne LBB0_9
## %bb.8:
orl $12, %eax
movl %eax, -44(%rbp)
LBB0_9:
movl (%r13), %r15d
movl %r14d, %edi
callq _REG_MODE_CFG
movl -44(%rbp), %edx
movl %r15d, %edi
movl %eax, %esi
callq _vsc_write
movq _SPEED_1000@GOTPCREL(%rip), %rax
cmpl %ebx, (%rax)
jne LBB0_11
## %bb.10:
movl $130, -44(%rbp)
jmp LBB0_14
LBB0_11:
movq _SPEED_100@GOTPCREL(%rip), %rax
cmpl %ebx, (%rax)
jne LBB0_13
## %bb.12:
movl $132, -44(%rbp)
jmp LBB0_14
LBB0_13:
movl $134, -44(%rbp)
LBB0_14:
movl (%r13), %r15d
movl %r14d, %edi
callq _REG_DEV_SETUP
movl -44(%rbp), %edx
orl $1, %edx
movl %r15d, %edi
movl %eax, %esi
callq _vsc_write
movl (%r13), %r15d
movl %r14d, %edi
callq _REG_DEV_SETUP
movl -44(%rbp), %edx
movl %r15d, %edi
movl %eax, %esi
callq _vsc_write
movl (%r13), %r15d
movl %r14d, %edi
callq _REG_DBG
leaq -44(%rbp), %rdx
movl %r15d, %edi
movl %eax, %esi
callq _vsc_read
movq _SPEED_1000@GOTPCREL(%rip), %rdx
movl -44(%rbp), %ecx
movl %ecx, %eax
andl $-65281, %eax ## imm = 0xFFFF00FF
cmpl %ebx, (%rdx)
jne LBB0_16
## %bb.15:
orl $1024, %eax ## imm = 0x400
movl %eax, -44(%rbp)
jmp LBB0_19
LBB0_16:
movq _SPEED_100@GOTPCREL(%rip), %rsi
cmpl %ebx, (%rsi)
jne LBB0_18
## %bb.17:
orl $8192, %eax ## imm = 0x2000
movl %eax, -44(%rbp)
jmp LBB0_19
LBB0_18:
orl $65280, %ecx ## imm = 0xFF00
movl %ecx, -44(%rbp)
LBB0_19:
movl (%r13), %r15d
movl %r14d, %edi
callq _REG_DBG
movl -44(%rbp), %edx
movl %r15d, %edi
movl %eax, %esi
callq _vsc_write
movl (%r13), %r15d
movl %r14d, %edi
callq _REG_TX_IFG
movq _SPEED_1000@GOTPCREL(%rip), %rcx
cmpl %ebx, (%rcx)
movl $5, %ecx
movl $17, %edx
cmovel %ecx, %edx
movl %r15d, %edi
movl %eax, %esi
callq _vsc_write
movq _DUPLEX_HALF@GOTPCREL(%rip), %rax
xorl %ecx, %ecx
movq _SPEED_1000@GOTPCREL(%rip), %rdx
cmpl %ebx, (%rdx)
sete %cl
cmpl %r12d, (%rax)
leal 9623(,%rcx,8), %eax
movl $9619, %ebx ## imm = 0x2593
cmovnel %eax, %ebx
movl (%r13), %r15d
movl %r14d, %edi
callq _REG_MODE_CFG
movl %r15d, %edi
movl %eax, %esi
movl %ebx, %edx
callq _vsc_write
movl -48(%rbp), %r15d ## 4-byte Reload
LBB0_20:
movl (%r13), %ebx
movl %r14d, %edi
callq _REG_PAUSE_CFG
leaq -44(%rbp), %rdx
movl %ebx, %edi
movl %eax, %esi
callq _vsc_read
movl $-983041, %edx ## imm = 0xFFF0FFFF
andl -44(%rbp), %edx
leal 131072(%rdx), %ecx
movl %ecx, -44(%rbp)
movq _PAUSE_RX@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %r15d, %eax
je LBB0_22
## %bb.21:
orl $393216, %edx ## imm = 0x60000
movl %edx, -44(%rbp)
movl %edx, %ecx
LBB0_22:
movq _PAUSE_TX@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
orl %edx, %eax
cmpl %r15d, %eax
je LBB0_24
## %bb.23:
movl %edx, %esi
andl %r15d, %esi
je LBB0_25
LBB0_24:
movl %ecx, %esi
orl $524288, %esi ## imm = 0x80000
testl %r15d, %edx
cmovel %ecx, %esi
movl %esi, %ecx
orl $65536, %ecx ## imm = 0x10000
cmpl %r15d, %eax
cmovnel %esi, %ecx
movl %ecx, -44(%rbp)
LBB0_25:
movl (%r13), %ebx
movl %r14d, %edi
callq _REG_PAUSE_CFG
movl -44(%rbp), %edx
movl %ebx, %edi
movl %eax, %esi
callq _vsc_write
xorl %eax, %eax
LBB0_26:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SPEED_10,4,2 ## @SPEED_10
.comm _SPEED_100,4,2 ## @SPEED_100
.comm _SPEED_1000,4,2 ## @SPEED_1000
.comm _DUPLEX_FULL,4,2 ## @DUPLEX_FULL
.comm _DUPLEX_HALF,4,2 ## @DUPLEX_HALF
.comm _PAUSE_RX,4,2 ## @PAUSE_RX
.comm _PAUSE_TX,4,2 ## @PAUSE_TX
.no_dead_strip _mac_set_speed_duplex_fc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mac_set_speed_duplex_fc
_mac_set_speed_duplex_fc: ; @mac_set_speed_duplex_fc
.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 x21, x3
mov x22, x2
mov x23, x1
mov x19, x0
ldr x8, [x0, #8]
ldr w20, [x8]
Lloh0:
adrp x26, _SPEED_100@GOTPAGE
Lloh1:
ldr x26, [x26, _SPEED_100@GOTPAGEOFF]
Lloh2:
adrp x25, _SPEED_1000@GOTPAGE
Lloh3:
ldr x25, [x25, _SPEED_1000@GOTPAGEOFF]
tbnz w1, #31, LBB0_2
; %bb.1:
Lloh4:
adrp x8, _SPEED_10@GOTPAGE
Lloh5:
ldr x8, [x8, _SPEED_10@GOTPAGEOFF]
Lloh6:
ldr w8, [x8]
ldr w9, [x26]
ldr w10, [x25]
cmp w8, w23
ccmp w9, w23, #4, ne
ccmp w10, w23, #4, ne
b.ne LBB0_4
LBB0_2:
cmp w22, #1
b.lt LBB0_5
; %bb.3:
Lloh7:
adrp x8, _DUPLEX_FULL@GOTPAGE
Lloh8:
ldr x8, [x8, _DUPLEX_FULL@GOTPAGEOFF]
Lloh9:
ldr w8, [x8]
cmp w8, w22
b.eq LBB0_5
LBB0_4:
mov w0, #-1
b LBB0_24
LBB0_5:
tbnz w23, #31, LBB0_19
; %bb.6:
ldr w24, [x19]
mov x0, x20
bl _REG_MODE_CFG
mov x1, x0
add x2, sp, #12
mov x0, x24
bl _vsc_read
ldr w8, [sp, #12]
and w8, w8, #0xfffffff0
orr w9, w8, #0x4
str w9, [sp, #12]
ldr w9, [x25]
cmp w9, w23
b.ne LBB0_8
; %bb.7:
orr w8, w8, #0xc
str w8, [sp, #12]
LBB0_8:
ldr w24, [x19]
mov x0, x20
bl _REG_MODE_CFG
mov x1, x0
ldr w2, [sp, #12]
mov x0, x24
bl _vsc_write
ldr w8, [x25]
cmp w8, w23
b.ne LBB0_10
; %bb.9:
mov w8, #130
b LBB0_13
LBB0_10:
ldr w8, [x26]
cmp w8, w23
b.ne LBB0_12
; %bb.11:
mov w8, #132
b LBB0_13
LBB0_12:
mov w8, #134
LBB0_13:
str w8, [sp, #12]
ldr w24, [x19]
mov x0, x20
bl _REG_DEV_SETUP
mov x1, x0
ldr w8, [sp, #12]
orr w2, w8, #0x1
mov x0, x24
bl _vsc_write
ldr w24, [x19]
mov x0, x20
bl _REG_DEV_SETUP
mov x1, x0
ldr w2, [sp, #12]
mov x0, x24
bl _vsc_write
ldr w24, [x19]
mov x0, x20
bl _REG_DBG
mov x1, x0
add x2, sp, #12
mov x0, x24
bl _vsc_read
ldr w9, [sp, #12]
and w8, w9, #0xffff00ff
ldr w10, [x25]
cmp w10, w23
b.ne LBB0_15
; %bb.14:
orr w8, w8, #0x400
b LBB0_18
LBB0_15:
ldr w10, [x26]
cmp w10, w23
b.ne LBB0_17
; %bb.16:
orr w8, w8, #0x2000
b LBB0_18
LBB0_17:
orr w8, w9, #0xff00
LBB0_18:
str w8, [sp, #12]
ldr w24, [x19]
mov x0, x20
bl _REG_DBG
mov x1, x0
ldr w2, [sp, #12]
mov x0, x24
bl _vsc_write
ldr w24, [x19]
mov x0, x20
bl _REG_TX_IFG
mov x1, x0
ldr w8, [x25]
mov w9, #17
mov w10, #5
cmp w8, w23
csel w2, w10, w9, eq
mov x0, x24
bl _vsc_write
Lloh10:
adrp x8, _DUPLEX_HALF@GOTPAGE
Lloh11:
ldr x8, [x8, _DUPLEX_HALF@GOTPAGEOFF]
Lloh12:
ldr w8, [x8]
ldr w9, [x25]
mov w10, #9623
mov w11, #9631
cmp w9, w23
csel w9, w11, w10, eq
mov w10, #9619
cmp w8, w22
csel w22, w10, w9, eq
ldr w23, [x19]
mov x0, x20
bl _REG_MODE_CFG
mov x1, x0
mov x0, x23
mov x2, x22
bl _vsc_write
LBB0_19:
ldr w22, [x19]
mov x0, x20
bl _REG_PAUSE_CFG
mov x1, x0
add x2, sp, #12
mov x0, x22
bl _vsc_read
ldr w8, [sp, #12]
and w10, w8, #0xfff0ffff
orr w8, w10, #0x20000
str w8, [sp, #12]
Lloh13:
adrp x9, _PAUSE_RX@GOTPAGE
Lloh14:
ldr x9, [x9, _PAUSE_RX@GOTPAGEOFF]
Lloh15:
ldr w9, [x9]
tst w9, w21
b.eq LBB0_21
; %bb.20:
orr w8, w10, #0x60000
str w8, [sp, #12]
LBB0_21:
Lloh16:
adrp x10, _PAUSE_TX@GOTPAGE
Lloh17:
ldr x10, [x10, _PAUSE_TX@GOTPAGEOFF]
Lloh18:
ldr w11, [x10]
and w10, w11, w21
orr w9, w11, w9
cmp w9, w21
ccmp w10, #0, #0, ne
b.eq LBB0_23
; %bb.22:
orr w11, w8, #0x80000
cmp w10, #0
csel w8, w8, w11, eq
orr w10, w8, #0x10000
cmp w9, w21
csel w8, w10, w8, eq
str w8, [sp, #12]
LBB0_23:
ldr w19, [x19]
mov x0, x20
bl _REG_PAUSE_CFG
mov x1, x0
ldr w2, [sp, #12]
mov x0, x19
bl _vsc_write
mov w0, #0
LBB0_24:
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 Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.cfi_endproc
; -- End function
.comm _SPEED_10,4,2 ; @SPEED_10
.comm _SPEED_100,4,2 ; @SPEED_100
.comm _SPEED_1000,4,2 ; @SPEED_1000
.comm _DUPLEX_FULL,4,2 ; @DUPLEX_FULL
.comm _DUPLEX_HALF,4,2 ; @DUPLEX_HALF
.comm _PAUSE_RX,4,2 ; @PAUSE_RX
.comm _PAUSE_TX,4,2 ; @PAUSE_TX
.no_dead_strip _mac_set_speed_duplex_fc
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/chelsio/extr_vsc7326.c_mac_set_speed_duplex_fc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _config_open ## -- Begin function config_open
.p2align 4, 0x90
_config_open: ## @config_open
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq -16(%rbp), %rsi
leaq -8(%rbp), %rdx
callq _config_open_path
testq %rax, %rax
je LBB0_1
## %bb.2:
movq -16(%rbp), %rsi
movq -8(%rbp), %rdx
movq %rax, %rdi
callq _config_init_data
jmp LBB0_3
LBB0_1:
xorl %eax, %eax
LBB0_3:
addq $16, %rsp
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 _config_open ; -- Begin function config_open
.p2align 2
_config_open: ; @config_open
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
add x1, sp, #8
mov x2, sp
bl _config_open_path
cbz x0, LBB0_2
; %bb.1:
ldp x2, x1, [sp]
bl _config_init_data
LBB0_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/lwan/src/lib/extr_lwan-config.c_config_open.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_bits ## -- Begin function print_bits
.p2align 4, 0x90
_print_bits: ## @print_bits
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movl %edi, %r15d
xorl %edi, %edi
callq _fflush
testl %r15d, %r15d
jle LBB0_5
## %bb.1:
leaq -41(%rbp), %r12
.p2align 4, 0x90
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
cmpl $8, %r15d
movl $8, %r13d
cmovll %r15d, %r13d
movb (%r14), %bl
incq %r14
.p2align 4, 0x90
LBB0_3: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movl %ebx, %eax
andb $1, %al
orb $48, %al
movb %al, -41(%rbp)
movl $1, %edx
movl $1, %edi
movq %r12, %rsi
callq _write
shrb %bl
decl %r13d
jne LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movb $32, -41(%rbp)
movl $1, %edx
movl $1, %edi
movq %r12, %rsi
callq _write
leal -8(%r15), %eax
cmpl $8, %r15d
movl %eax, %r15d
jg LBB0_2
LBB0_5:
movb $10, -41(%rbp)
leaq -41(%rbp), %rsi
movl $1, %edx
movl $1, %edi
callq _write
xorl %edi, %edi
callq _fflush
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_bits ## -- Begin function test_bits
.p2align 4, 0x90
_test_bits: ## @test_bits
.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 $10, (%rdi)
movb 4(%rdi), %al
andb $-16, %al
orb $10, %al
movb %al, 4(%rdi)
movl $36, %edi
movq %rbx, %rsi
callq _print_bits
movl $64, %edi
movq %rbx, %rsi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _print_bits ## 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
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
movl $8, %edi
callq _malloc
movq %rax, %r14
leaq L_str(%rip), %rdi
callq _puts
movq _global@GOTPCREL(%rip), %rbx
movb $10, (%rbx)
movb $0, 3(%rbx)
movw $0, 1(%rbx)
movb 4(%rbx), %al
andb $-16, %al
orb $10, %al
movb %al, 4(%rbx)
movl $36, %edi
movq %rbx, %rsi
callq _print_bits
movl $64, %edi
movq %rbx, %rsi
callq _print_bits
leaq L_str.3(%rip), %rdi
callq _puts
movb $10, (%r14)
movl $167772160, 1(%r14) ## imm = 0xA000000
movl $36, %edi
movq %r14, %rsi
callq _print_bits
movl $64, %edi
movq %r14, %rsi
callq _print_bits
leaq L_str.4(%rip), %rdi
callq _puts
movb $10, -32(%rbp)
movl $167772160, -31(%rbp) ## imm = 0xA000000
leaq -32(%rbp), %rbx
movl $36, %edi
movq %rbx, %rsi
callq _print_bits
movl $64, %edi
movq %rbx, %rsi
callq _print_bits
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -24(%rbp), %rax
jne LBB2_2
## %bb.1:
xorl %eax, %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
LBB2_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _global,8,0 ## @global
.section __TEXT,__cstring,cstring_literals
L_str: ## @str
.asciz "Global:"
L_str.3: ## @str.3
.asciz "Dynamic:"
L_str.4: ## @str.4
.asciz "Stack:"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_bits ; -- Begin function print_bits
.p2align 2
_print_bits: ; @print_bits
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x1
mov x20, x0
mov x0, #0
bl _fflush
cmp w20, #1
b.lt LBB0_5
; %bb.1:
mov w21, #8
mov w22, #32
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
cmp w20, #8
csel w23, w20, w21, lt
ldrb w24, [x19], #1
LBB0_3: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
mov w8, #48
bfxil w8, w24, #0, #1
strb w8, [sp, #15]
add x1, sp, #15
mov w0, #1
mov w2, #1
bl _write
ubfx w24, w24, #1, #7
subs w23, w23, #1
b.ne LBB0_3
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
strb w22, [sp, #15]
add x1, sp, #15
mov w0, #1
mov w2, #1
bl _write
subs w20, w20, #8
b.gt LBB0_2
LBB0_5:
mov w8, #10
strb w8, [sp, #15]
add x1, sp, #15
mov w0, #1
mov w2, #1
bl _write
mov x0, #0
bl _fflush
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
.cfi_endproc
; -- End function
.globl _test_bits ; -- Begin function test_bits
.p2align 2
_test_bits: ; @test_bits
.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 w8, #10
str w8, [x0]
ldrb w9, [x0, #4]
and w9, w9, #0xf0
orr w8, w9, w8
strb w8, [x0, #4]
mov w0, #36
mov x1, x19
bl _print_bits
mov w0, #64
mov x1, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _print_bits
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp 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
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #8]
mov w0, #8
bl _malloc
mov x19, x0
Lloh3:
adrp x0, l_str@PAGE
Lloh4:
add x0, x0, l_str@PAGEOFF
bl _puts
Lloh5:
adrp x20, _global@GOTPAGE
Lloh6:
ldr x20, [x20, _global@GOTPAGEOFF]
mov w21, #10
strb w21, [x20]
strb wzr, [x20, #3]
sturh wzr, [x20, #1]
ldrb w8, [x20, #4]
and w8, w8, #0xf0
orr w8, w8, w21
strb w8, [x20, #4]
mov w0, #36
mov x1, x20
bl _print_bits
mov w0, #64
mov x1, x20
bl _print_bits
Lloh7:
adrp x0, l_str.3@PAGE
Lloh8:
add x0, x0, l_str.3@PAGEOFF
bl _puts
strb w21, [x19]
mov w20, #167772160
stur w20, [x19, #1]
mov w0, #36
mov x1, x19
bl _print_bits
mov w0, #64
mov x1, x19
bl _print_bits
Lloh9:
adrp x0, l_str.4@PAGE
Lloh10:
add x0, x0, l_str.4@PAGEOFF
bl _puts
strb w21, [sp]
stur w20, [sp, #1]
mov x1, sp
mov w0, #36
bl _print_bits
mov x1, sp
mov w0, #64
bl _print_bits
ldr x8, [sp, #8]
Lloh11:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh12:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
ldr x9, [x9]
cmp x9, x8
b.ne LBB2_2
; %bb.1:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB2_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _global,8,0 ; @global
.section __TEXT,__cstring,cstring_literals
l_str: ; @str
.asciz "Global:"
l_str.3: ; @str.3
.asciz "Dynamic:"
l_str.4: ; @str.4
.asciz "Stack:"
.subsections_via_symbols
| the_stack_data/885709.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nv_read_ptv
_nv_read_ptv: ## @nv_read_ptv
.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
callq _nouveau_drm
movq %rax, %rdi
movl %ebx, %esi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _nvif_rd32 ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _nv_read_ptv
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nv_read_ptv
_nv_read_ptv: ; @nv_read_ptv
.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 _nouveau_drm
mov x1, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _nvif_rd32
.cfi_endproc
; -- End function
.no_dead_strip _nv_read_ptv
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/nouveau/dispnv04/extr_tvnv17.h_nv_read_ptv.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _i40e_aq_set_default_vsi ## -- Begin function i40e_aq_set_default_vsi
.p2align 4, 0x90
_i40e_aq_set_default_vsi: ## @i40e_aq_set_default_vsi
.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, %r13d
movq %rdi, %r12
movq _i40e_aqc_opc_set_vsi_promiscuous_modes@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -48(%rbp), %r15
movq %r15, %rdi
callq _i40e_fill_default_direct_cmd_desc
movq _I40E_AQC_SET_VSI_DEFAULT@GOTPCREL(%rip), %rbx
movl (%rbx), %edi
callq _CPU_TO_LE16
movq %rax, -32(%rbp)
movl (%rbx), %edi
callq _CPU_TO_LE16
movq %rax, -40(%rbp)
movl %r13d, %edi
callq _CPU_TO_LE16
movq %rax, -48(%rbp)
movq %r12, %rdi
movq %r15, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movq %r14, %r8
callq _i40e_asq_send_command
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _i40e_aqc_opc_set_vsi_promiscuous_modes,4,2 ## @i40e_aqc_opc_set_vsi_promiscuous_modes
.comm _I40E_AQC_SET_VSI_DEFAULT,4,2 ## @I40E_AQC_SET_VSI_DEFAULT
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _i40e_aq_set_default_vsi ; -- Begin function i40e_aq_set_default_vsi
.p2align 2
_i40e_aq_set_default_vsi: ; @i40e_aq_set_default_vsi
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x1
mov x21, x0
Lloh0:
adrp x8, _i40e_aqc_opc_set_vsi_promiscuous_modes@GOTPAGE
Lloh1:
ldr x8, [x8, _i40e_aqc_opc_set_vsi_promiscuous_modes@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
add x0, sp, #8
bl _i40e_fill_default_direct_cmd_desc
Lloh3:
adrp x22, _I40E_AQC_SET_VSI_DEFAULT@GOTPAGE
Lloh4:
ldr x22, [x22, _I40E_AQC_SET_VSI_DEFAULT@GOTPAGEOFF]
ldr w0, [x22]
bl _CPU_TO_LE16
str x0, [sp, #24]
ldr w0, [x22]
bl _CPU_TO_LE16
str x0, [sp, #16]
mov x0, x20
bl _CPU_TO_LE16
str x0, [sp, #8]
add x1, sp, #8
mov x0, x21
mov x2, #0
mov w3, #0
mov x4, x19
bl _i40e_asq_send_command
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 AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _i40e_aqc_opc_set_vsi_promiscuous_modes,4,2 ; @i40e_aqc_opc_set_vsi_promiscuous_modes
.comm _I40E_AQC_SET_VSI_DEFAULT,4,2 ; @I40E_AQC_SET_VSI_DEFAULT
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/ixl/extr_i40e_common.c_i40e_aq_set_default_vsi.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function one_utf8_to_utf32
_one_utf8_to_utf32: ## @one_utf8_to_utf32
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl $0, -28(%rbp)
cmpq $3, (%r8)
ja LBB0_2
## %bb.1:
movq _E2BIG@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_4
LBB0_2:
movq %r8, %rbx
movq %rcx, %r14
movq %rdi, %r15
leaq -28(%rbp), %rax
movq %rsi, %rdi
movq %rdx, %rsi
movq %rax, %rdx
callq _one_utf8_to_cppchar
testl %eax, %eax
jne LBB0_4
## %bb.3:
movq (%r14), %rax
movzbl -28(%rbp), %r8d
leaq 12(%rax), %rdx
xorl %esi, %esi
xorl %edi, %edi
testq %r15, %r15
sete %sil
movl $12, %ecx
cmoveq %r15, %rcx
setne %dil
movl %r8d, (%rax,%rcx)
movzbl -27(%rbp), %ecx
movl %ecx, 4(%rax,%rdi,4)
movzbl -26(%rbp), %ecx
movl %ecx, 4(%rax,%rsi,4)
cmovneq %rax, %rdx
movzbl -25(%rbp), %ecx
movl %ecx, (%rdx)
addq $16, %rax
movq %rax, (%r14)
addq $-4, (%rbx)
xorl %eax, %eax
LBB0_4:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _E2BIG,4,2 ## @E2BIG
.no_dead_strip _one_utf8_to_utf32
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function one_utf8_to_utf32
_one_utf8_to_utf32: ; @one_utf8_to_utf32
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
str wzr, [sp, #12]
ldr x9, [x4]
cmp x9, #3
b.hi LBB0_2
; %bb.1:
Lloh0:
adrp x8, _E2BIG@GOTPAGE
Lloh1:
ldr x8, [x8, _E2BIG@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
b LBB0_4
LBB0_2:
mov x19, x4
mov x20, x3
mov x8, x2
mov x21, x0
add x2, sp, #12
mov x0, x1
mov x1, x8
bl _one_utf8_to_cppchar
cbnz w0, LBB0_4
; %bb.3:
ldr x8, [x20]
ldrb w9, [sp, #12]
mov w10, #12
cmp x21, #0
csel x11, xzr, x10, eq
str w9, [x8, x11]
ldrb w9, [sp, #13]
mov w11, #8
mov w12, #4
csel x13, x12, x11, eq
str w9, [x8, x13]
ldrb w9, [sp, #14]
csel x11, x11, x12, eq
str w9, [x8, x11]
ldrb w9, [sp, #15]
csel x10, x10, xzr, eq
str w9, [x8, x10]
add x8, x8, #16
str x8, [x20]
ldr x8, [x19]
sub x8, x8, #4
str x8, [x19]
LBB0_4:
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
.cfi_endproc
; -- End function
.comm _E2BIG,4,2 ; @E2BIG
.no_dead_strip _one_utf8_to_utf32
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gcclibs/libcpp/extr_charset.c_one_utf8_to_utf32.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _split_block ## -- Begin function split_block
.p2align 4, 0x90
_split_block: ## @split_block
.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
callq _strlen
movq %rax, %rbx
movq %rax, %rsi
shrq $4, %rsi
leaq L_.str(%rip), %rdi
movl %ebx, %edx
andl $15, %edx
xorl %eax, %eax
callq _printf
movl %ebx, %r15d
andl $15, %r15d
je LBB0_3
## %bb.1:
addq $16, %rbx
andq $-16, %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq _realloc
testq %rax, %rax
je LBB0_4
## %bb.2:
movq %rax, %r14
leaq L_.str.1(%rip), %rdi
movq %rax, %rsi
xorl %eax, %eax
callq _printf
movq %r14, %rdi
addq %rbx, %rdi
movl $16, %edx
subl %r15d, %edx
subq %rdx, %rdi
movl $61, %esi
callq _memset
LBB0_3:
leaq L_.str.3(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
leaq L_.str.4(%rip), %rdi
movq %r14, %rsi
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _printf ## TAILCALL
LBB0_4:
leaq L_str(%rip), %rdi
callq _puts
movl $-1, %edi
callq _exit
.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
subq $32, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
movaps L___const.main.plaintext_text(%rip), %xmm0
movaps %xmm0, -48(%rbp)
movw $49, -32(%rbp)
leaq -48(%rbp), %r14
movq %r14, %rdi
callq _strlen
movq %rax, %rbx
leaq L_.str.3(%rip), %rdi
movq %rax, %rsi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
callq _malloc
movq %rax, %rbx
movq %rax, %rdi
movq %r14, %rsi
callq _strcpy
leaq L_.str.5(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
callq _split_block
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -24(%rbp), %rax
jne LBB1_2
## %bb.1:
addq $32, %rsp
popq %rbx
popq %r14
popq %rbp
retq
LBB1_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "block_num = %lu\t remainder = %u\n"
L_.str.1: ## @.str.1
.asciz "Memory Reallocated at: %p\n"
L_.str.3: ## @.str.3
.asciz "len = %lu\n"
L_.str.4: ## @.str.4
.asciz "new text: %s\n"
.p2align 4 ## @__const.main.plaintext_text
L___const.main.plaintext_text:
.asciz "1234567890abcdef1"
L_.str.5: ## @.str.5
.asciz "text: %s\n"
L_str: ## @str
.asciz "Not Enough Memory!"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _split_block ; -- Begin function split_block
.p2align 2
_split_block: ; @split_block
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
bl _strlen
mov x20, x0
lsr x8, x0, #4
and w21, w20, #0xf
stp x8, x21, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
cbz w21, LBB0_3
; %bb.1:
add x8, x20, #16
and x20, x8, #0xfffffffffffffff0
mov x0, x19
mov x1, x20
bl _realloc
cbz x0, LBB0_4
; %bb.2:
mov x19, x0
str x0, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
add x8, x19, x20
mov w9, #16
sub w2, w9, w21
sub x0, x8, x2
mov w1, #61
bl _memset
LBB0_3:
str x20, [sp]
Lloh4:
adrp x0, l_.str.3@PAGE
Lloh5:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
str x19, [sp]
Lloh6:
adrp x0, l_.str.4@PAGE
Lloh7:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
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_4:
Lloh8:
adrp x0, l_str@PAGE
Lloh9:
add x0, x0, l_str@PAGEOFF
bl _puts
mov w0, #-1
bl _exit
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
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
Lloh10:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh11:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
ldr x8, [x8]
stur x8, [x29, #-24]
Lloh13:
adrp x8, l___const.main.plaintext_text@PAGE
Lloh14:
add x8, x8, l___const.main.plaintext_text@PAGEOFF
Lloh15:
ldr q0, [x8]
str q0, [sp, #16]
mov w8, #49
strh w8, [sp, #32]
add x0, sp, #16
bl _strlen
mov x19, x0
str x0, [sp]
Lloh16:
adrp x0, l_.str.3@PAGE
Lloh17:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov x0, x19
bl _malloc
mov x19, x0
add x1, sp, #16
bl _strcpy
str x0, [sp]
Lloh18:
adrp x0, l_.str.5@PAGE
Lloh19:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov x0, x19
bl _split_block
ldur x8, [x29, #-24]
Lloh20:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh21:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
ldr x9, [x9]
cmp x9, x8
b.ne LBB1_2
; %bb.1:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #80
ret
LBB1_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAddLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "block_num = %lu\t remainder = %u\n"
l_.str.1: ; @.str.1
.asciz "Memory Reallocated at: %p\n"
l_.str.3: ; @.str.3
.asciz "len = %lu\n"
l_.str.4: ; @.str.4
.asciz "new text: %s\n"
l___const.main.plaintext_text: ; @__const.main.plaintext_text
.asciz "1234567890abcdef1"
l_.str.5: ; @.str.5
.asciz "text: %s\n"
l_str: ; @str
.asciz "Not Enough Memory!"
.subsections_via_symbols
| the_stack_data/1236369.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function iec61883_receive_task
_iec61883_receive_task: ## @iec61883_receive_task
.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
leaq 20(%rdi), %rbx
movq _errno@GOTPCREL(%rip), %r15
movq _EAGAIN@GOTPCREL(%rip), %r12
movq _EINTR@GOTPCREL(%rip), %r13
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
movl $1, %esi
movl $200, %edx
callq _poll
testl %eax, %eax
jns LBB0_5
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq (%r15), %rax
cmpq (%r12), %rax
je LBB0_1
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
cmpq (%r13), %rax
je LBB0_1
## %bb.4:
movq _AV_LOG_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
xorl %edi, %edi
callq _av_log
movq _EIO@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _AVERROR
movl %eax, 24(%r14)
jmp LBB0_11
LBB0_5:
je LBB0_9
## %bb.6:
movl (%rbx), %eax
movq _POLLIN@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
jne LBB0_8
## %bb.7:
movq _POLLPRI@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_9
LBB0_8:
movl $1, (%r14)
movl 16(%r14), %edi
callq _raw1394_loop_iterate
jmp LBB0_11
LBB0_9:
cmpl $0, (%r14)
je LBB0_11
## %bb.10:
movq _AV_LOG_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rdx
xorl %edi, %edi
callq _av_log
movl $1, 4(%r14)
LBB0_11:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _errno,8,3 ## @errno
.comm _EAGAIN,8,3 ## @EAGAIN
.comm _EINTR,8,3 ## @EINTR
.comm _AV_LOG_ERROR,4,2 ## @AV_LOG_ERROR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Raw1394 poll error occurred.\n"
.comm _EIO,4,2 ## @EIO
.comm _POLLIN,4,2 ## @POLLIN
.comm _POLLPRI,4,2 ## @POLLPRI
L_.str.1: ## @.str.1
.asciz "No more input data available\n"
.no_dead_strip _iec61883_receive_task
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function iec61883_receive_task
_iec61883_receive_task: ; @iec61883_receive_task
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
add x20, x0, #20
Lloh0:
adrp x21, _errno@GOTPAGE
Lloh1:
ldr x21, [x21, _errno@GOTPAGEOFF]
Lloh2:
adrp x22, _EAGAIN@GOTPAGE
Lloh3:
ldr x22, [x22, _EAGAIN@GOTPAGEOFF]
Lloh4:
adrp x23, _EINTR@GOTPAGE
Lloh5:
ldr x23, [x23, _EINTR@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov w1, #1
mov w2, #200
bl _poll
tbz w0, #31, LBB0_4
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [x21]
ldr x9, [x22]
ldr x10, [x23]
cmp x8, x9
ccmp x8, x10, #4, ne
b.eq LBB0_1
; %bb.3:
Lloh6:
adrp x8, _AV_LOG_ERROR@GOTPAGE
Lloh7:
ldr x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
Lloh9:
adrp x2, l_.str@PAGE
Lloh10:
add x2, x2, l_.str@PAGEOFF
mov x0, #0
bl _av_log
Lloh11:
adrp x8, _EIO@GOTPAGE
Lloh12:
ldr x8, [x8, _EIO@GOTPAGEOFF]
Lloh13:
ldr w0, [x8]
bl _AVERROR
str w0, [x19, #24]
b LBB0_10
LBB0_4:
cbz w0, LBB0_8
; %bb.5:
ldr w8, [x20]
Lloh14:
adrp x9, _POLLIN@GOTPAGE
Lloh15:
ldr x9, [x9, _POLLIN@GOTPAGEOFF]
Lloh16:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_7
; %bb.6:
Lloh17:
adrp x9, _POLLPRI@GOTPAGE
Lloh18:
ldr x9, [x9, _POLLPRI@GOTPAGEOFF]
Lloh19:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_8
LBB0_7:
mov w8, #1
str w8, [x19]
ldr w0, [x19, #16]
bl _raw1394_loop_iterate
b LBB0_10
LBB0_8:
ldr w8, [x19]
cbz w8, LBB0_10
; %bb.9:
Lloh20:
adrp x8, _AV_LOG_ERROR@GOTPAGE
Lloh21:
ldr x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh22:
ldr w1, [x8]
Lloh23:
adrp x2, l_.str.1@PAGE
Lloh24:
add x2, x2, l_.str.1@PAGEOFF
mov x0, #0
bl _av_log
mov w8, #1
str w8, [x19, #4]
LBB0_10:
mov x0, #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 AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.cfi_endproc
; -- End function
.comm _errno,8,3 ; @errno
.comm _EAGAIN,8,3 ; @EAGAIN
.comm _EINTR,8,3 ; @EINTR
.comm _AV_LOG_ERROR,4,2 ; @AV_LOG_ERROR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Raw1394 poll error occurred.\n"
.comm _EIO,4,2 ; @EIO
.comm _POLLIN,4,2 ; @POLLIN
.comm _POLLPRI,4,2 ; @POLLPRI
l_.str.1: ; @.str.1
.asciz "No more input data available\n"
.no_dead_strip _iec61883_receive_task
.subsections_via_symbols
| AnghaBench/FFmpeg/libavdevice/extr_iec61883.c_iec61883_receive_task.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _access_log_close ## -- Begin function access_log_close
.p2align 4, 0x90
_access_log_close: ## @access_log_close
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _access_log@GOTPCREL(%rip), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je LBB0_1
## %bb.2:
popq %rbp
jmp _fclose ## TAILCALL
LBB0_1:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _access_log,8,3 ## @access_log
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _access_log_close ; -- Begin function access_log_close
.p2align 2
_access_log_close: ; @access_log_close
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _access_log@GOTPAGE
Lloh1:
ldr x8, [x8, _access_log@GOTPAGEOFF]
Lloh2:
ldr x0, [x8]
cbz x0, LBB0_2
; %bb.1:
b _fclose
LBB0_2:
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _access_log,8,3 ; @access_log
.subsections_via_symbols
| AnghaBench/goaccess/src/extr_error.c_access_log_close.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _avformat_close_input ## -- Begin function avformat_close_input
.p2align 4, 0x90
_avformat_close_input: ## @avformat_close_input
.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
testq %rdi, %rdi
je LBB0_11
## %bb.1:
movq %rdi, %r14
movq (%rdi), %rbx
testq %rbx, %rbx
je LBB0_11
## %bb.2:
movq 8(%rbx), %rax
movq 16(%rbx), %r15
testq %rax, %rax
je LBB0_5
## %bb.3:
movl 16(%rax), %edi
leaq L_.str(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_5
## %bb.4:
movq 8(%rbx), %rax
movq _AVFMT_NOFILE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, (%rax)
jne LBB0_6
LBB0_5:
movq _AVFMT_FLAG_CUSTOM_IO@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%rbx)
je LBB0_7
LBB0_6:
xorl %r15d, %r15d
LBB0_7:
movq %rbx, %rdi
callq _flush_packet_queue
movq 8(%rbx), %rax
testq %rax, %rax
je LBB0_10
## %bb.8:
movq 8(%rax), %rax
testq %rax, %rax
je LBB0_10
## %bb.9:
movq %rbx, %rdi
callq *%rax
LBB0_10:
movq %rbx, %rdi
callq _avformat_free_context
movq $0, (%r14)
movq %r15, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _avio_close ## TAILCALL
LBB0_11:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "image2"
.comm _AVFMT_NOFILE,4,2 ## @AVFMT_NOFILE
.comm _AVFMT_FLAG_CUSTOM_IO,4,2 ## @AVFMT_FLAG_CUSTOM_IO
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _avformat_close_input ; -- Begin function avformat_close_input
.p2align 2
_avformat_close_input: ; @avformat_close_input
.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
cbz x0, LBB0_11
; %bb.1:
mov x19, x0
ldr x20, [x0]
cbz x20, LBB0_11
; %bb.2:
ldp x8, x21, [x20, #8]
cbz x8, LBB0_5
; %bb.3:
ldr w0, [x8, #16]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _strcmp
cbz x0, LBB0_5
; %bb.4:
ldr x8, [x20, #8]
ldr w8, [x8]
Lloh2:
adrp x9, _AVFMT_NOFILE@GOTPAGE
Lloh3:
ldr x9, [x9, _AVFMT_NOFILE@GOTPAGEOFF]
Lloh4:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_6
LBB0_5:
ldr w8, [x20]
Lloh5:
adrp x9, _AVFMT_FLAG_CUSTOM_IO@GOTPAGE
Lloh6:
ldr x9, [x9, _AVFMT_FLAG_CUSTOM_IO@GOTPAGEOFF]
Lloh7:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_7
LBB0_6:
mov x21, #0
LBB0_7:
mov x0, x20
bl _flush_packet_queue
ldr x8, [x20, #8]
cbz x8, LBB0_10
; %bb.8:
ldr x8, [x8, #8]
cbz x8, LBB0_10
; %bb.9:
mov x0, x20
blr x8
LBB0_10:
mov x0, x20
bl _avformat_free_context
str xzr, [x19]
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
b _avio_close
LBB0_11:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "image2"
.comm _AVFMT_NOFILE,4,2 ; @AVFMT_NOFILE
.comm _AVFMT_FLAG_CUSTOM_IO,4,2 ; @AVFMT_FLAG_CUSTOM_IO
.subsections_via_symbols
| AnghaBench/FFmpeg/libavformat/extr_utils.c_avformat_close_input.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ath5k_hw_write_rate_duration
_ath5k_hw_write_rate_duration: ## @ath5k_hw_write_rate_duration
.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 _IEEE80211_BAND_2GHZ@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq (%rdi), %rax
movq %rcx, %rdx
shlq $4, %rdx
cmpl $0, (%rax,%rdx)
je LBB0_8
## %bb.1:
movq %rdi, %r15
xorl %r14d, %r14d
movq %rcx, -56(%rbp) ## 8-byte Spill
movq %rdx, -48(%rbp) ## 8-byte Spill
movq -56(%rbp), %r13 ## 8-byte Reload
jmp LBB0_2
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
incq %r14
movq (%r15), %rax
movq -48(%rbp), %rdx ## 8-byte Reload
movl (%rax,%rdx), %ecx
cmpq %rcx, %r14
jae LBB0_8
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpq $0, 8(%r15)
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq _ack_rates_high@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq (%rcx,%r14,8), %rbx
shlq $3, %rbx
jmp LBB0_5
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
xorl %ebx, %ebx
cmpq $4, %r14
setae %bl
shlq $5, %rbx
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
addq 8(%rax,%rdx), %rbx
movl 4(%rbx), %edi
callq _AR5K_RATE_DUR
movq %rax, %r12
movq %r15, %rdi
movq %r13, %rsi
movl $10, %edx
movq %rbx, %rcx
xorl %r8d, %r8d
callq _ath5k_hw_get_frame_duration
movq %r15, %rdi
movl %eax, %esi
movq %r12, %rdx
callq _ath5k_hw_reg_write
movq _IEEE80211_RATE_SHORT_PREAMBLE@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%rbx)
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rdi
movq %r13, %rsi
movl $10, %edx
movq %rbx, %rcx
movl $1, %r8d
callq _ath5k_hw_get_frame_duration
movq _AR5K_SET_SHORT_PREAMBLE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
shll $2, %ecx
movslq %ecx, %rcx
addq %rcx, %r12
movq %r15, %rdi
movl %eax, %esi
movq %r12, %rdx
callq _ath5k_hw_reg_write
jmp LBB0_7
LBB0_8:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IEEE80211_BAND_2GHZ,8,3 ## @IEEE80211_BAND_2GHZ
.comm _ack_rates_high,8,3 ## @ack_rates_high
.comm _IEEE80211_RATE_SHORT_PREAMBLE,4,2 ## @IEEE80211_RATE_SHORT_PREAMBLE
.comm _AR5K_SET_SHORT_PREAMBLE,4,2 ## @AR5K_SET_SHORT_PREAMBLE
.no_dead_strip _ath5k_hw_write_rate_duration
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ath5k_hw_write_rate_duration
_ath5k_hw_write_rate_duration: ; @ath5k_hw_write_rate_duration
.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
Lloh0:
adrp x8, _IEEE80211_BAND_2GHZ@GOTPAGE
Lloh1:
ldr x8, [x8, _IEEE80211_BAND_2GHZ@GOTPAGEOFF]
Lloh2:
ldr x20, [x8]
ldr x8, [x0]
lsl x23, x20, #4
ldr w9, [x8, x23]
cbz w9, LBB0_8
; %bb.1:
mov x19, x0
mov x24, #0
Lloh3:
adrp x25, _IEEE80211_RATE_SHORT_PREAMBLE@GOTPAGE
Lloh4:
ldr x25, [x25, _IEEE80211_RATE_SHORT_PREAMBLE@GOTPAGEOFF]
Lloh5:
adrp x26, _AR5K_SET_SHORT_PREAMBLE@GOTPAGE
Lloh6:
ldr x26, [x26, _AR5K_SET_SHORT_PREAMBLE@GOTPAGEOFF]
Lloh7:
adrp x27, _ack_rates_high@GOTPAGE
Lloh8:
ldr x27, [x27, _ack_rates_high@GOTPAGEOFF]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x24, x24, #1
ldr x8, [x19]
ldr w9, [x8, x23]
cmp x24, x9
b.hs LBB0_8
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x9, [x19, #8]
cbz x9, LBB0_5
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
add x8, x8, x20, lsl #4
ldr x8, [x8, #8]
ldr x9, [x27]
ldr x9, [x9, x24, lsl #3]
add x21, x8, x9, lsl #3
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
cmp x24, #3
cset w9, hi
add x8, x8, x20, lsl #4
ldr x8, [x8, #8]
add x21, x8, x9, lsl #5
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
ldr w0, [x21, #4]
bl _AR5K_RATE_DUR
mov x22, x0
mov x0, x19
mov x1, x20
mov w2, #10
mov x3, x21
mov w4, #0
bl _ath5k_hw_get_frame_duration
mov x1, x0
mov x0, x19
mov x2, x22
bl _ath5k_hw_reg_write
ldr w8, [x21]
ldr w9, [x25]
tst w9, w8
b.eq LBB0_2
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
mov x0, x19
mov x1, x20
mov w2, #10
mov x3, x21
mov w4, #1
bl _ath5k_hw_get_frame_duration
mov x1, x0
ldr w8, [x26]
lsl w8, w8, #2
add x2, x22, w8, sxtw
mov x0, x19
bl _ath5k_hw_reg_write
b LBB0_2
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
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _IEEE80211_BAND_2GHZ,8,3 ; @IEEE80211_BAND_2GHZ
.comm _ack_rates_high,8,3 ; @ack_rates_high
.comm _IEEE80211_RATE_SHORT_PREAMBLE,4,2 ; @IEEE80211_RATE_SHORT_PREAMBLE
.comm _AR5K_SET_SHORT_PREAMBLE,4,2 ; @AR5K_SET_SHORT_PREAMBLE
.no_dead_strip _ath5k_hw_write_rate_duration
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath5k/extr_pcu.c_ath5k_hw_write_rate_duration.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bios_getmem
_bios_getmem: ## @bios_getmem
.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 _v86@GOTPCREL(%rip), %rbx
movq $0, (%rbx)
movq _SMAP_SIG@GOTPCREL(%rip), %r13
movl (%r13), %eax
movq _MEM_EXT@GOTPCREL(%rip), %r15
movabsq $17179928608, %r14 ## imm = 0x40000E820
movq _smap@GOTPCREL(%rip), %r12
jmp LBB0_4
.p2align 4, 0x90
LBB0_1: ## in Loop: Header=BB0_4 Depth=1
movq _bios_basemem@GOTPCREL(%rip), %rcx
LBB0_2: ## in Loop: Header=BB0_4 Depth=1
movl %edx, (%rcx)
LBB0_3: ## in Loop: Header=BB0_4 Depth=1
cmpq $0, (%rbx)
je LBB0_17
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq _V86_FLAGS@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rcx, 32(%rbx)
movl (%r15), %ecx
movl %ecx, 8(%rbx)
movq %r14, 12(%rbx)
movl %eax, 20(%rbx)
movq %r12, %rdi
callq _VTOPSEG
movl %eax, 44(%rbx)
movq %r12, %rdi
callq _VTOPOFF
movl %eax, 40(%rbx)
xorl %eax, %eax
callq _v86int
testb $1, 24(%rbx)
jne LBB0_17
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movl 12(%rbx), %eax
cmpl (%r13), %eax
jne LBB0_17
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
movq (%r12), %rsi
movq _SMAP_TYPE_MEMORY@GOTPCREL(%rip), %rcx
movq (%rcx), %rdi
movl 8(%r12), %ecx
movl 12(%r12), %edx
cmpq %rdi, %rsi
jne LBB0_9
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
testl %ecx, %ecx
jne LBB0_9
## %bb.8: ## in Loop: Header=BB0_4 Depth=1
cmpl $524288, %edx ## imm = 0x80000
jge LBB0_1
LBB0_9: ## in Loop: Header=BB0_4 Depth=1
cmpq %rdi, %rsi
jne LBB0_12
## %bb.10: ## in Loop: Header=BB0_4 Depth=1
cmpl $1048576, %ecx ## imm = 0x100000
jne LBB0_12
## %bb.11: ## in Loop: Header=BB0_4 Depth=1
movq _bios_extmem@GOTPCREL(%rip), %rcx
jmp LBB0_2
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_4 Depth=1
cmpq %rdi, %rsi
jne LBB0_3
## %bb.13: ## in Loop: Header=BB0_4 Depth=1
cmpl $1048577, %ecx ## imm = 0x100001
jl LBB0_3
## %bb.14: ## in Loop: Header=BB0_4 Depth=1
testl %ecx, %ecx
js LBB0_3
## %bb.15: ## in Loop: Header=BB0_4 Depth=1
movl %ecx, %esi
negl %esi
movl %edx, %edi
addl %ecx, %edi
cmovnsl %edx, %esi
movq _high_heap_size@GOTPCREL(%rip), %rdx
cmpl (%rdx), %esi
jle LBB0_3
## %bb.16: ## in Loop: Header=BB0_4 Depth=1
movq _high_heap_size@GOTPCREL(%rip), %rdx
movl %esi, (%rdx)
movq _high_heap_base@GOTPCREL(%rip), %rdx
movl %ecx, (%rdx)
jmp LBB0_3
LBB0_17:
movq _bios_basemem@GOTPCREL(%rip), %r14
cmpl $0, (%r14)
jne LBB0_19
## %bb.18:
movq $0, 32(%rbx)
movl $18, 8(%rbx)
xorl %eax, %eax
callq _v86int
movl 12(%rbx), %eax
movzwl %ax, %eax
shll $10, %eax
movl %eax, (%r14)
LBB0_19:
movq _bios_extmem@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, %eax
je LBB0_20
LBB0_24:
movq _HEAP_MIN@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
subl %ecx, %eax
jl LBB0_27
## %bb.25:
movq _high_heap_size@GOTPCREL(%rip), %rdx
cmpl %ecx, (%rdx)
jge LBB0_27
## %bb.26:
movq _high_heap_size@GOTPCREL(%rip), %rdx
movl %ecx, (%rdx)
addl $1048576, %eax ## imm = 0x100000
movq _high_heap_base@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
LBB0_27:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_20:
movq _V86_FLAGS@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, 32(%rbx)
movabsq $255090992611349, %rax ## imm = 0xE80100000015
movq %rax, 8(%rbx)
xorl %eax, %eax
callq _v86int
testb $1, 24(%rbx)
jne LBB0_22
## %bb.21:
movzwl 16(%rbx), %ecx
movl 20(%rbx), %eax
shll $6, %eax
addl %ecx, %eax
shll $10, %eax
movq _bios_extmem@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
testl %eax, %eax
jne LBB0_24
jmp LBB0_23
LBB0_22:
movq _bios_extmem@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, %eax
jne LBB0_24
LBB0_23:
movq $0, 32(%rbx)
movabsq $149533581377557, %rax ## imm = 0x880000000015
movq %rax, 8(%rbx)
xorl %eax, %eax
callq _v86int
movl 12(%rbx), %eax
movzwl %ax, %eax
shll $10, %eax
movq _bios_extmem@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
jmp LBB0_24
.cfi_endproc
## -- End function
.comm _v86,48,3 ## @v86
.comm _V86_FLAGS,8,3 ## @V86_FLAGS
.comm _MEM_EXT,4,2 ## @MEM_EXT
.comm _SMAP_SIG,4,2 ## @SMAP_SIG
.comm _smap,16,3 ## @smap
.comm _SMAP_TYPE_MEMORY,8,3 ## @SMAP_TYPE_MEMORY
.comm _bios_basemem,4,2 ## @bios_basemem
.comm _bios_extmem,4,2 ## @bios_extmem
.comm _high_heap_size,4,2 ## @high_heap_size
.comm _high_heap_base,4,2 ## @high_heap_base
.comm _HEAP_MIN,4,2 ## @HEAP_MIN
.no_dead_strip _bios_getmem
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function bios_getmem
lCPI0_0:
.long 59424 ; 0xe820
.long 4 ; 0x4
lCPI0_1:
.long 21 ; 0x15
.long 59393 ; 0xe801
lCPI0_2:
.long 21 ; 0x15
.long 34816 ; 0x8800
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_bios_getmem: ; @bios_getmem
.cfi_startproc
; %bb.0:
stp d9, d8, [sp, #-112]! ; 16-byte Folded Spill
.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
.cfi_offset b8, -104
.cfi_offset b9, -112
Lloh0:
adrp x22, _v86@GOTPAGE
Lloh1:
ldr x22, [x22, _v86@GOTPAGEOFF]
str xzr, [x22]
Lloh2:
adrp x26, _SMAP_SIG@GOTPAGE
Lloh3:
ldr x26, [x26, _SMAP_SIG@GOTPAGEOFF]
ldr w8, [x26]
Lloh4:
adrp x24, _V86_FLAGS@GOTPAGE
Lloh5:
ldr x24, [x24, _V86_FLAGS@GOTPAGEOFF]
Lloh6:
adrp x27, _MEM_EXT@GOTPAGE
Lloh7:
ldr x27, [x27, _MEM_EXT@GOTPAGEOFF]
Lloh8:
adrp x9, lCPI0_0@PAGE
Lloh9:
ldr d8, [x9, lCPI0_0@PAGEOFF]
Lloh10:
adrp x19, _smap@GOTPAGE
Lloh11:
ldr x19, [x19, _smap@GOTPAGEOFF]
Lloh12:
adrp x28, _SMAP_TYPE_MEMORY@GOTPAGE
Lloh13:
ldr x28, [x28, _SMAP_TYPE_MEMORY@GOTPAGEOFF]
Lloh14:
adrp x25, _bios_basemem@GOTPAGE
Lloh15:
ldr x25, [x25, _bios_basemem@GOTPAGEOFF]
Lloh16:
adrp x23, _bios_extmem@GOTPAGE
Lloh17:
ldr x23, [x23, _bios_extmem@GOTPAGEOFF]
Lloh18:
adrp x21, _high_heap_size@GOTPAGE
Lloh19:
ldr x21, [x21, _high_heap_size@GOTPAGEOFF]
Lloh20:
adrp x20, _high_heap_base@GOTPAGE
Lloh21:
ldr x20, [x20, _high_heap_base@GOTPAGEOFF]
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
str w10, [x25]
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
ldr x9, [x22]
cbz x9, LBB0_16
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x9, [x24]
str x9, [x22, #32]
ldr w9, [x27]
str w9, [x22, #8]
stur d8, [x22, #12]
str w8, [x22, #20]
mov x0, x19
bl _VTOPSEG
str w0, [x22, #44]
mov x0, x19
bl _VTOPOFF
str w0, [x22, #40]
bl _v86int
ldrb w8, [x22, #24]
tbnz w8, #0, LBB0_16
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x22, #12]
ldr w9, [x26]
cmp w8, w9
b.ne LBB0_16
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldr x11, [x19]
ldr x12, [x28]
ldp w9, w10, [x19, #8]
cmp x11, x12
b.ne LBB0_8
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
cbnz w9, LBB0_8
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
cmp w10, #128, lsl #12 ; =524288
b.ge LBB0_1
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
cmp x11, x12
b.ne LBB0_11
; %bb.9: ; in Loop: Header=BB0_3 Depth=1
cmp w9, #256, lsl #12 ; =1048576
b.ne LBB0_11
; %bb.10: ; in Loop: Header=BB0_3 Depth=1
str w10, [x23]
b LBB0_2
LBB0_11: ; in Loop: Header=BB0_3 Depth=1
cmp x11, x12
b.ne LBB0_2
; %bb.12: ; in Loop: Header=BB0_3 Depth=1
cmp w9, #256, lsl #12 ; =1048576
b.le LBB0_2
; %bb.13: ; in Loop: Header=BB0_3 Depth=1
tbnz w9, #31, LBB0_2
; %bb.14: ; in Loop: Header=BB0_3 Depth=1
add w11, w10, w9
cmp w11, #0
csneg w10, w10, w9, ge
ldr w11, [x21]
cmp w10, w11
b.le LBB0_2
; %bb.15: ; in Loop: Header=BB0_3 Depth=1
str w10, [x21]
str w9, [x20]
b LBB0_2
LBB0_16:
ldr w8, [x25]
cbz w8, LBB0_18
; %bb.17:
ldr w8, [x23]
cbnz w8, LBB0_23
b LBB0_19
LBB0_18:
str xzr, [x22, #32]
mov w8, #18
str w8, [x22, #8]
bl _v86int
ldr w8, [x22, #12]
ubfiz w8, w8, #10, #16
str w8, [x25]
ldr w8, [x23]
cbnz w8, LBB0_23
LBB0_19:
ldr x8, [x24]
str x8, [x22, #32]
Lloh22:
adrp x8, lCPI0_1@PAGE
Lloh23:
ldr d0, [x8, lCPI0_1@PAGEOFF]
str d0, [x22, #8]
bl _v86int
ldrb w8, [x22, #24]
tbnz w8, #0, LBB0_21
; %bb.20:
ldrh w8, [x22, #16]
ldr w9, [x22, #20]
add w8, w8, w9, lsl #6
lsl w8, w8, #10
str w8, [x23]
cbnz w8, LBB0_23
b LBB0_22
LBB0_21:
ldr w8, [x23]
cbnz w8, LBB0_23
LBB0_22:
str xzr, [x22, #32]
Lloh24:
adrp x8, lCPI0_2@PAGE
Lloh25:
ldr d0, [x8, lCPI0_2@PAGEOFF]
str d0, [x22, #8]
bl _v86int
ldr w8, [x22, #12]
ubfiz w8, w8, #10, #16
str w8, [x23]
LBB0_23:
Lloh26:
adrp x9, _HEAP_MIN@GOTPAGE
Lloh27:
ldr x9, [x9, _HEAP_MIN@GOTPAGEOFF]
Lloh28:
ldr w9, [x9]
subs w8, w8, w9
b.lt LBB0_26
; %bb.24:
ldr w10, [x21]
cmp w10, w9
b.ge LBB0_26
; %bb.25:
str w9, [x21]
add w8, w8, #256, lsl #12 ; =1048576
str w8, [x20]
LBB0_26:
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 Lloh20, Lloh21
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdr Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdr Lloh22, Lloh23
.loh AdrpLdr Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.cfi_endproc
; -- End function
.comm _v86,48,3 ; @v86
.comm _V86_FLAGS,8,3 ; @V86_FLAGS
.comm _MEM_EXT,4,2 ; @MEM_EXT
.comm _SMAP_SIG,4,2 ; @SMAP_SIG
.comm _smap,16,3 ; @smap
.comm _SMAP_TYPE_MEMORY,8,3 ; @SMAP_TYPE_MEMORY
.comm _bios_basemem,4,2 ; @bios_basemem
.comm _bios_extmem,4,2 ; @bios_extmem
.comm _high_heap_size,4,2 ; @high_heap_size
.comm _high_heap_base,4,2 ; @high_heap_base
.comm _HEAP_MIN,4,2 ; @HEAP_MIN
.no_dead_strip _bios_getmem
.subsections_via_symbols
| AnghaBench/freebsd/stand/i386/isoboot/extr_isoboot.c_bios_getmem.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ftpvis ## -- Begin function ftpvis
.p2align 4, 0x90
_ftpvis: ## @ftpvis
.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
movabsq $21474846208, %r8 ## imm = 0x500002600
xorl %r9d, %r9d
jmp LBB0_1
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
xorl %r10d, %r10d
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
movb %r10b, (%rdi,%rax)
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
incq %rax
incq %r9
LBB0_1: ## =>This Inner Loop Header: Depth=1
movzbl (%rdx,%r9), %r10d
cmpq $34, %r10
ja LBB0_2
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
btq %r10, %r8
jae LBB0_6
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movb $92, (%rdi,%rax)
incq %rax
cmpq %rsi, %rax
jae LBB0_11
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movzbl (%rdx,%r9), %r10d
jmp LBB0_10
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
testq %r10, %r10
jne LBB0_2
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
cmpq %rsi, %rax
jae LBB0_12
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
cmpq %rcx, %r9
jb LBB0_9
jmp LBB0_12
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_1 Depth=1
cmpl $92, %r10d
jne LBB0_10
jmp LBB0_3
LBB0_12:
movb $0, (%rdi,%rax)
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 _ftpvis ; -- Begin function ftpvis
.p2align 2
_ftpvis: ; @ftpvis
.cfi_startproc
; %bb.0:
mov x12, #0 ; =0x0
mov x8, #0 ; =0x0
mov w9, #92 ; =0x5c
mov w10, #1 ; =0x1
mov x11, #9728 ; =0x2600
movk x11, #5, lsl #32
b LBB0_4
LBB0_1: ; in Loop: Header=BB0_4 Depth=1
mov w13, #0 ; =0x0
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
strb w13, [x0, x12]
mov x14, x12
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x12, x14, #1
add x8, x8, #1
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldrb w13, [x2, x8]
cmp w13, #34
b.hi LBB0_11
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
lsl x14, x10, x13
tst x14, x11
b.eq LBB0_8
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
add x14, x12, #1
strb w9, [x0, x12]
cmp x14, x1
b.hs LBB0_3
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
ldrb w13, [x2, x8]
mov x12, x14
b LBB0_2
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
cbnz x13, LBB0_11
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
cmp x12, x1
b.hs LBB0_12
; %bb.10: ; in Loop: Header=BB0_4 Depth=1
cmp x8, x3
b.lo LBB0_1
b LBB0_12
LBB0_11: ; in Loop: Header=BB0_4 Depth=1
cmp w13, #92
b.ne LBB0_2
b LBB0_6
LBB0_12:
strb wzr, [x0, x12]
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| assembly_file_28435.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $2, %edi
movl $1, %esi
xorl %edx, %edx
callq _socket
testl %eax, %eax
js LBB0_2
## %bb.1:
leaq -24(%rbp), %rsi
leaq -28(%rbp), %rdx
movl %eax, %edi
callq _getsockname
movl -20(%rbp), %esi
movzwl -22(%rbp), %edx
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
LBB0_2:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -8(%rbp), %rax
jne LBB0_4
## %bb.3:
movl $-1, %eax
addq $32, %rsp
popq %rbp
retq
LBB0_4:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ip:%x port:%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, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-8]
mov w0, #2
mov w1, #1
mov w2, #0
bl _socket
tbnz w0, #31, LBB0_2
; %bb.1:
add x1, sp, #24
add x2, sp, #20
bl _getsockname
ldrh w8, [sp, #26]
ldr w9, [sp, #28]
stp x9, x8, [sp]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _printf
LBB0_2:
ldur x8, [x29, #-8]
Lloh5:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh6:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_4
; %bb.3:
mov w0, #-1
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_4:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ip:%x port:%d\n"
.subsections_via_symbols
| the_stack_data/2799.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function irqpoll_res_completed
_irqpoll_res_completed: ## @irqpoll_res_completed
.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), %rdi
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %rax, 8(%rdi)
LBB0_2:
popq %rbp
jmp _complete ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _irqpoll_res_completed
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function irqpoll_res_completed
_irqpoll_res_completed: ; @irqpoll_res_completed
.cfi_startproc
; %bb.0:
mov x8, x0
ldr x0, [x0, #8]
ldr x8, [x8]
cbz x8, LBB0_2
; %bb.1:
str x8, [x0, #8]
LBB0_2:
b _complete
.cfi_endproc
; -- End function
.no_dead_strip _irqpoll_res_completed
.subsections_via_symbols
| AnghaBench/linux/drivers/mmc/host/extr_vub300.c_irqpoll_res_completed.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function rose_parse_ccitt
_rose_parse_ccitt: ## @rose_parse_ccitt
.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
movl %edx, %ebx
movq %rdi, %r13
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq 8(%rsi), %rax
movq %rax, -88(%rbp) ## 8-byte Spill
leaq 1(%rsi), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
movq %rsi, -96(%rbp) ## 8-byte Spill
leaq 4(%rsi), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movzbl (%rdi), %ecx
xorl %esi, %esi
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
testb $63, %cl
jne LBB0_9
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $-1, %eax
cmpl $2, %ebx
jl LBB0_12
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movzbl 1(%r13), %r14d
leal -21(%r14), %edx
cmpb $-11, %dl
jb LBB0_12
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movq _FAC_CCITT_DEST_NSAP@GOTPCREL(%rip), %rax
cmpb (%rax), %cl
movl %esi, -64(%rbp) ## 4-byte Spill
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
leaq 7(%r13), %rsi
movq _ROSE_ADDR_LEN@GOTPCREL(%rip), %rax
movzbl (%rax), %edx
movq -96(%rbp), %rdi ## 8-byte Reload
callq _memcpy
leaq 12(%r13), %rsi
leal -10(%r14), %r12d
movzbl %r12b, %edx
leaq -59(%rbp), %r15
movq %r15, %rdi
callq _memcpy
movb $0, -59(%rbp,%r12)
movq -88(%rbp), %rdi ## 8-byte Reload
movq %r15, %rsi
callq _asc2ax
movl -64(%rbp), %esi ## 4-byte Reload
movzbl (%r13), %ecx
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq _FAC_CCITT_SRC_NSAP@GOTPCREL(%rip), %rax
cmpb (%rax), %cl
jne LBB0_8
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
leaq 7(%r13), %rsi
movq _ROSE_ADDR_LEN@GOTPCREL(%rip), %rax
movzbl (%rax), %edx
movq -80(%rbp), %rdi ## 8-byte Reload
callq _memcpy
leaq 12(%r13), %rsi
leal -10(%r14), %r12d
movzbl %r12b, %edx
leaq -59(%rbp), %r15
movq %r15, %rdi
callq _memcpy
movb $0, -59(%rbp,%r12)
movq -72(%rbp), %rdi ## 8-byte Reload
movq %r15, %rsi
callq _asc2ax
movl -64(%rbp), %esi ## 4-byte Reload
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
leaq 2(%r14), %rax
movzbl 2(%r13,%r14), %ecx
addq %r14, %r13
addq $2, %r13
addb %al, %sil
subl %eax, %ebx
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
testb %cl, %cl
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
testl %ebx, %ebx
jg LBB0_1
LBB0_11:
movzbl %sil, %eax
LBB0_12:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_14
## %bb.13:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_14:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _FAC_CCITT_DEST_NSAP,1,0 ## @FAC_CCITT_DEST_NSAP
.comm _ROSE_ADDR_LEN,1,0 ## @ROSE_ADDR_LEN
.comm _FAC_CCITT_SRC_NSAP,1,0 ## @FAC_CCITT_SRC_NSAP
.no_dead_strip _rose_parse_ccitt
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function rose_parse_ccitt
_rose_parse_ccitt: ; @rose_parse_ccitt
.cfi_startproc
; %bb.0:
sub sp, sp, #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
mov x19, x2
mov x20, x1
mov x21, x0
mov w22, #0 ; =0x0
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 x23, _FAC_CCITT_DEST_NSAP@GOTPAGE
Lloh4:
ldr x23, [x23, _FAC_CCITT_DEST_NSAP@GOTPAGEOFF]
ldrb w8, [x0]
Lloh5:
adrp x24, _ROSE_ADDR_LEN@GOTPAGE
Lloh6:
ldr x24, [x24, _ROSE_ADDR_LEN@GOTPAGEOFF]
add x25, sp, #13
Lloh7:
adrp x26, _FAC_CCITT_SRC_NSAP@GOTPAGE
Lloh8:
ldr x26, [x26, _FAC_CCITT_SRC_NSAP@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
tst w8, #0x3f
b.ne LBB0_9
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
cmp w19, #2
b.lt LBB0_12
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
ldrb w27, [x21, #1]
sub w9, w27, #21
cmn w9, #11
b.lo LBB0_12
; %bb.4: ; in Loop: Header=BB0_1 Depth=1
ldrb w9, [x23]
cmp w8, w9
b.ne LBB0_6
; %bb.5: ; in Loop: Header=BB0_1 Depth=1
ldrb w2, [x24]
add x1, x21, #7
mov x0, x20
bl _memcpy
sub w28, w27, #10
add x0, sp, #13
add x1, x21, #12
and w2, w28, #0xff
bl _memcpy
strb wzr, [x25, w28, uxtw]
add x0, x20, #8
add x1, sp, #13
bl _asc2ax
ldrb w8, [x21]
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldrb w9, [x26]
cmp w8, w9
b.ne LBB0_8
; %bb.7: ; in Loop: Header=BB0_1 Depth=1
ldrb w2, [x24]
add x0, x20, #1
add x1, x21, #7
bl _memcpy
sub w28, w27, #10
add x0, sp, #13
add x1, x21, #12
and w2, w28, #0xff
bl _memcpy
strb wzr, [x25, w28, uxtw]
add x0, x20, #4
add x1, sp, #13
bl _asc2ax
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
add x8, x27, #2
add x21, x21, x8
add w22, w22, w8
sub w19, w19, w8
ldrb w8, [x21]
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
cbz w8, LBB0_11
; %bb.10: ; in Loop: Header=BB0_1 Depth=1
cmp w19, #0
b.gt LBB0_1
LBB0_11:
and w0, w22, #0xff
b LBB0_13
LBB0_12:
mov w0, #-1 ; =0xffffffff
LBB0_13:
ldr x8, [sp, #24]
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_15
; %bb.14:
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
LBB0_15:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _FAC_CCITT_DEST_NSAP,1,0 ; @FAC_CCITT_DEST_NSAP
.comm _ROSE_ADDR_LEN,1,0 ; @ROSE_ADDR_LEN
.comm _FAC_CCITT_SRC_NSAP,1,0 ; @FAC_CCITT_SRC_NSAP
.no_dead_strip _rose_parse_ccitt
.subsections_via_symbols
| assembly_file_149202.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _AddNodeToQueue ## -- Begin function AddNodeToQueue
.p2align 4, 0x90
_AddNodeToQueue: ## @AddNodeToQueue
.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
xorl %eax, %eax
callq _ThreadLock
movq $0, (%rbx)
movq _lastnode@GOTPCREL(%rip), %rax
movq (%rax), %rcx
testq %rcx, %rcx
jne LBB0_2
## %bb.1:
movq _firstnode@GOTPCREL(%rip), %rcx
LBB0_2:
movq %rbx, (%rcx)
movq %rbx, (%rax)
movq _nodelistsize@GOTPCREL(%rip), %rax
incl (%rax)
xorl %eax, %eax
callq _ThreadUnlock
movl $1, %edi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _ThreadSemaphoreIncrease ## TAILCALL
.cfi_endproc
## -- End function
.comm _lastnode,8,3 ## @lastnode
.comm _firstnode,8,3 ## @firstnode
.comm _nodelistsize,4,2 ## @nodelistsize
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _AddNodeToQueue ; -- Begin function AddNodeToQueue
.p2align 2
_AddNodeToQueue: ; @AddNodeToQueue
.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 _ThreadLock
str xzr, [x19]
Lloh0:
adrp x8, _lastnode@GOTPAGE
Lloh1:
ldr x8, [x8, _lastnode@GOTPAGEOFF]
ldr x9, [x8]
Lloh2:
adrp x10, _firstnode@GOTPAGE
Lloh3:
ldr x10, [x10, _firstnode@GOTPAGEOFF]
cmp x9, #0
csel x9, x10, x9, eq
str x19, [x9]
str x19, [x8]
Lloh4:
adrp x8, _nodelistsize@GOTPAGE
Lloh5:
ldr x8, [x8, _nodelistsize@GOTPAGEOFF]
ldr w9, [x8]
add w9, w9, #1
str w9, [x8]
bl _ThreadUnlock
mov w0, #1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _ThreadSemaphoreIncrease
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _lastnode,8,3 ; @lastnode
.comm _firstnode,8,3 ; @firstnode
.comm _nodelistsize,4,2 ; @nodelistsize
.subsections_via_symbols
| AnghaBench/Quake-III-Arena/code/bspc/extr_brushbsp.c_AddNodeToQueue.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function gz_fetch
_gz_fetch: ## @gz_fetch
.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 16(%rdi), %r14
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl (%rbx), %eax
cmpl $128, %eax
je LBB0_12
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $130, %eax
je LBB0_6
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
cmpl $129, %eax
jne LBB0_8
jmp LBB0_4
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq %rbx, %rdi
callq _gz_look
cmpl $-1, %eax
je LBB0_13
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
cmpl $130, (%rbx)
jne LBB0_8
jmp LBB0_11
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
movl 4(%rbx), %eax
movl 8(%rbx), %ecx
addl %eax, %eax
movl %eax, 40(%rbx)
movl %ecx, 44(%rbx)
movq %rbx, %rdi
callq _gz_decomp
cmpl $-1, %eax
je LBB0_13
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
cmpq $0, (%r14)
je LBB0_1
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, 32(%rbx)
je LBB0_1
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
cmpq $0, 48(%rbx)
jne LBB0_1
LBB0_11:
xorl %eax, %eax
jmp LBB0_14
LBB0_4:
movl 4(%rbx), %edx
movl 8(%rbx), %esi
addl %edx, %edx
movq %rbx, %rdi
movq %r14, %rcx
callq _gz_load
cmpl $-1, %eax
je LBB0_13
## %bb.5:
movl 8(%rbx), %eax
movl %eax, 24(%rbx)
xorl %eax, %eax
jmp LBB0_14
LBB0_13:
movl $-1, %eax
LBB0_14:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _gz_fetch
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function gz_fetch
_gz_fetch: ; @gz_fetch
.cfi_startproc
; %bb.0:
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
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [x19]
cmp w8, #128
b.eq LBB0_6
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
cmp w8, #130
b.eq LBB0_4
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
cmp w8, #129
b.ne LBB0_7
b LBB0_11
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
mov x0, x19
bl _gz_look
cmn w0, #1
b.eq LBB0_13
; %bb.5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [x19]
cmp w8, #130
b.ne LBB0_7
b LBB0_10
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldp w8, w9, [x19, #4]
lsl w8, w8, #1
stp w8, w9, [x19, #40]
mov x0, x19
bl _gz_decomp
cmn w0, #1
b.eq LBB0_13
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x19, #16]
cbz x8, LBB0_1
; %bb.8: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [x19, #32]
cbz w8, LBB0_1
; %bb.9: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [x19, #48]
cbnz x8, LBB0_1
LBB0_10:
mov w0, #0 ; =0x0
b LBB0_13
LBB0_11:
ldp w8, w1, [x19, #4]
lsl w2, w8, #1
add x3, x19, #16
mov x0, x19
bl _gz_load
cmn w0, #1
b.eq LBB0_13
; %bb.12:
mov w0, #0 ; =0x0
ldr w8, [x19, #8]
str w8, [x19, #24]
LBB0_13:
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 _gz_fetch
.subsections_via_symbols
| assembly_file_133222.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mlx5_ib_dealloc_ucontext
_mlx5_ib_dealloc_ucontext: ## @mlx5_ib_dealloc_ucontext
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
callq _to_mucontext
movq %rax, %rbx
movl (%r14), %edi
callq _to_mdev
movq %rax, %r14
movl 8(%rbx), %esi
movq (%rbx), %rdx
movq %rax, %rdi
callq _mlx5_ib_dealloc_transport_domain
movq (%rbx), %rsi
testq %rsi, %rsi
je LBB0_2
## %bb.1:
movq %r14, %rdi
callq _mlx5_ib_devx_destroy
LBB0_2:
movq %r14, %rdi
movq %rbx, %rsi
callq _deallocate_uars
movl 16(%rbx), %edi
callq _kfree
movl 12(%rbx), %edi
popq %rbx
popq %r14
popq %rbp
jmp _kfree ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _mlx5_ib_dealloc_ucontext
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mlx5_ib_dealloc_ucontext
_mlx5_ib_dealloc_ucontext: ; @mlx5_ib_dealloc_ucontext
.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, x0
bl _to_mucontext
mov x19, x0
ldr w0, [x20]
bl _to_mdev
mov x20, x0
ldr w1, [x19, #8]
ldr x2, [x19]
bl _mlx5_ib_dealloc_transport_domain
ldr x1, [x19]
cbz x1, LBB0_2
; %bb.1:
mov x0, x20
bl _mlx5_ib_devx_destroy
LBB0_2:
mov x0, x20
mov x1, x19
bl _deallocate_uars
ldr w0, [x19, #16]
bl _kfree
ldr w0, [x19, #12]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _kfree
.cfi_endproc
; -- End function
.no_dead_strip _mlx5_ib_dealloc_ucontext
.subsections_via_symbols
| AnghaBench/linux/drivers/infiniband/hw/mlx5/extr_main.c_mlx5_ib_dealloc_ucontext.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cp1125_mbtowc
_cp1125_mbtowc: ## @cp1125_mbtowc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movzbl (%rdx), %eax
testb %al, %al
jns LBB0_4
## %bb.1:
cmpb $-81, %al
ja LBB0_3
## %bb.2:
addq $912, %rax ## imm = 0x390
jmp LBB0_4
LBB0_3:
movq _cp1125_2uni@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
addl $-176, %eax
movq (%rcx,%rax,8), %rax
LBB0_4:
movq %rax, (%rsi)
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _cp1125_2uni,8,3 ## @cp1125_2uni
.no_dead_strip _cp1125_mbtowc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cp1125_mbtowc
_cp1125_mbtowc: ; @cp1125_mbtowc
.cfi_startproc
; %bb.0:
ldrsb w9, [x2]
and x8, x9, #0xff
tbz w9, #31, LBB0_4
; %bb.1:
cmp w8, #175
b.hi LBB0_3
; %bb.2:
add x8, x8, #912
b LBB0_4
LBB0_3:
Lloh0:
adrp x9, _cp1125_2uni@GOTPAGE
Lloh1:
ldr x9, [x9, _cp1125_2uni@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
sub w8, w8, #176
ldr x8, [x9, w8, uxtw #3]
LBB0_4:
str x8, [x1]
mov w0, #1
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _cp1125_2uni,8,3 ; @cp1125_2uni
.no_dead_strip _cp1125_mbtowc
.subsections_via_symbols
| AnghaBench/TDengine/deps/iconv/extr_cp1125.h_cp1125_mbtowc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function format_by_fourcc
_format_by_fourcc: ## @format_by_fourcc
.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 %edi, %r12d
movq _format@GOTPCREL(%rip), %r15
movq (%r15), %rdi
callq _ARRAY_SIZE
xorl %r14d, %r14d
testl %eax, %eax
je LBB0_4
## %bb.1:
xorl %r13d, %r13d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%r15), %rdi
cmpl %r12d, (%rdi,%r13)
je LBB0_3
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
incq %rbx
callq _ARRAY_SIZE
movl %eax, %eax
addq $4, %r13
cmpq %rax, %rbx
jb LBB0_2
jmp LBB0_4
LBB0_3:
addq %r13, %rdi
movq %rdi, %r14
LBB0_4:
movq %r14, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _format,8,3 ## @format
.no_dead_strip _format_by_fourcc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function format_by_fourcc
_format_by_fourcc: ; @format_by_fourcc
.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, _format@GOTPAGE
Lloh1:
ldr x20, [x20, _format@GOTPAGEOFF]
ldr x0, [x20]
bl _ARRAY_SIZE
cbz w0, LBB0_4
; %bb.1:
mov x21, #0
mov x22, #0
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x0, [x20]
ldr w8, [x0, x21]
cmp w8, w19
b.eq LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add x22, x22, #1
bl _ARRAY_SIZE
add x21, x21, #4
cmp x22, w0, uxtw
b.lo LBB0_2
LBB0_4:
mov x0, #0
b LBB0_6
LBB0_5:
add x0, x0, x21
LBB0_6:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _format,8,3 ; @format
.no_dead_strip _format_by_fourcc
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/media/video/cx231xx/extr_cx231xx-video.c_format_by_fourcc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _gdbarch_read_pc ## -- Begin function gdbarch_read_pc
.p2align 4, 0x90
_gdbarch_read_pc: ## @gdbarch_read_pc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %rbx
xorl %edi, %edi
testq %rbx, %rbx
setne %dil
callq _gdb_assert
xorl %edi, %edi
movq %rbx, %r15
cmpq $0, (%rbx)
setne %dil
callq _gdb_assert
movq _gdbarch_debug@GOTPCREL(%rip), %rax
cmpl $2, (%rax)
jl LBB0_2
## %bb.1:
movq _gdb_stdlog@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _fprintf_unfiltered
LBB0_2:
movl %r14d, %edi
movq %r15, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmpq *(%rax) ## TAILCALL
.cfi_endproc
## -- End function
.comm _gdbarch_debug,4,2 ## @gdbarch_debug
.comm _gdb_stdlog,4,2 ## @gdb_stdlog
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "gdbarch_read_pc called\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _gdbarch_read_pc ; -- Begin function gdbarch_read_pc
.p2align 2
_gdbarch_read_pc: ; @gdbarch_read_pc
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
cmp x0, #0
cset w0, ne
bl _gdb_assert
ldr x8, [x20]
cmp x8, #0
cset w0, ne
bl _gdb_assert
Lloh0:
adrp x8, _gdbarch_debug@GOTPAGE
Lloh1:
ldr x8, [x8, _gdbarch_debug@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w8, #2
b.lt LBB0_2
; %bb.1:
Lloh3:
adrp x8, _gdb_stdlog@GOTPAGE
Lloh4:
ldr x8, [x8, _gdb_stdlog@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
bl _fprintf_unfiltered
LBB0_2:
ldr x1, [x20]
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
br x1
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _gdbarch_debug,4,2 ; @gdbarch_debug
.comm _gdb_stdlog,4,2 ; @gdb_stdlog
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "gdbarch_read_pc called\n"
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gdb/gdb/extr_gdbarch.c_gdbarch_read_pc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nvs_xdr_create
_nvs_xdr_create: ## @nvs_xdr_create
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
testb $3, %dl
je LBB0_3
## %bb.1:
movq _EFAULT@GOTPCREL(%rip), %rax
LBB0_2:
movl (%rax), %eax
jmp LBB0_11
LBB0_3:
movq %rdi, %rbx
movl (%rdi), %eax
cmpl $128, %eax
je LBB0_7
## %bb.4:
movq %rsi, %r14
cmpl $130, %eax
je LBB0_8
## %bb.5:
cmpl $129, %eax
jne LBB0_12
## %bb.6:
movq _XDR_ENCODE@GOTPCREL(%rip), %rax
jmp LBB0_9
LBB0_7:
movq $0, 8(%rbx)
jmp LBB0_10
LBB0_8:
movq _XDR_DECODE@GOTPCREL(%rip), %rax
LBB0_9:
movl (%rax), %eax
movq %r14, %rdi
movq %rdx, %rsi
movl %ecx, %edx
movl %eax, %ecx
callq _xdrmem_create
movq %r14, 8(%rbx)
LBB0_10:
xorl %eax, %eax
LBB0_11:
popq %rbx
popq %r14
popq %rbp
retq
LBB0_12:
movq _EINVAL@GOTPCREL(%rip), %rax
jmp LBB0_2
.cfi_endproc
## -- End function
.comm _EFAULT,4,2 ## @EFAULT
.comm _XDR_ENCODE,4,2 ## @XDR_ENCODE
.comm _XDR_DECODE,4,2 ## @XDR_DECODE
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _nvs_xdr_create
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nvs_xdr_create
_nvs_xdr_create: ; @nvs_xdr_create
.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
tst x2, #0x3
b.eq LBB0_3
; %bb.1:
Lloh0:
adrp x8, _EFAULT@GOTPAGE
Lloh1:
ldr x8, [x8, _EFAULT@GOTPAGEOFF]
LBB0_2:
ldr w0, [x8]
b LBB0_10
LBB0_3:
mov x19, x0
ldr w8, [x0]
cmp w8, #128
b.eq LBB0_7
; %bb.4:
mov x20, x1
cmp w8, #130
b.eq LBB0_8
; %bb.5:
cmp w8, #129
b.ne LBB0_11
; %bb.6:
Lloh2:
adrp x8, _XDR_ENCODE@GOTPAGE
Lloh3:
ldr x8, [x8, _XDR_ENCODE@GOTPAGEOFF]
b LBB0_9
LBB0_7:
mov w0, #0
str xzr, [x19, #8]
b LBB0_10
LBB0_8:
Lloh4:
adrp x8, _XDR_DECODE@GOTPAGE
Lloh5:
ldr x8, [x8, _XDR_DECODE@GOTPAGEOFF]
LBB0_9:
ldr w8, [x8]
mov x0, x20
mov x1, x2
mov x2, x3
mov x3, x8
bl _xdrmem_create
mov w0, #0
str x20, [x19, #8]
LBB0_10:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_11:
Lloh6:
adrp x8, _EINVAL@GOTPAGE
Lloh7:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
b LBB0_2
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _EFAULT,4,2 ; @EFAULT
.comm _XDR_ENCODE,4,2 ; @XDR_ENCODE
.comm _XDR_DECODE,4,2 ; @XDR_DECODE
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _nvs_xdr_create
.subsections_via_symbols
| AnghaBench/freebsd/sys/cddl/contrib/opensolaris/common/nvpair/extr_opensolaris_nvpair.c_nvs_xdr_create.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function qlcnic_sriov_issue_cmd
_qlcnic_sriov_issue_cmd: ## @qlcnic_sriov_issue_cmd
.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 _QLC_83XX_MBX_CMD_NO_WAIT@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_2
## %bb.1:
popq %rbp
jmp _qlcnic_sriov_async_issue_cmd ## TAILCALL
LBB0_2:
popq %rbp
jmp ___qlcnic_sriov_issue_cmd ## TAILCALL
.cfi_endproc
## -- End function
.comm _QLC_83XX_MBX_CMD_NO_WAIT,8,3 ## @QLC_83XX_MBX_CMD_NO_WAIT
.no_dead_strip _qlcnic_sriov_issue_cmd
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function qlcnic_sriov_issue_cmd
_qlcnic_sriov_issue_cmd: ; @qlcnic_sriov_issue_cmd
.cfi_startproc
; %bb.0:
ldr x8, [x1]
Lloh0:
adrp x9, _QLC_83XX_MBX_CMD_NO_WAIT@GOTPAGE
Lloh1:
ldr x9, [x9, _QLC_83XX_MBX_CMD_NO_WAIT@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_2
; %bb.1:
b _qlcnic_sriov_async_issue_cmd
LBB0_2:
b ___qlcnic_sriov_issue_cmd
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _QLC_83XX_MBX_CMD_NO_WAIT,8,3 ; @QLC_83XX_MBX_CMD_NO_WAIT
.no_dead_strip _qlcnic_sriov_issue_cmd
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic_sriov_common.c_qlcnic_sriov_issue_cmd.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function writeLiteralsBlock
_writeLiteralsBlock: ## @writeLiteralsBlock
.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 %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
callq _RAND
cmpq $64, %r15
jb LBB0_3
## %bb.1:
andl $7, %eax
je LBB0_3
## %bb.2:
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _writeLiteralsBlockCompressed ## TAILCALL
LBB0_3:
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _writeLiteralsBlockSimple ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _writeLiteralsBlock
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function writeLiteralsBlock
_writeLiteralsBlock: ; @writeLiteralsBlock
.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, x2
mov x20, x1
mov x21, x0
bl _RAND
cmp x19, #64
b.lo LBB0_3
; %bb.1:
and w8, w0, #0x7
cbz w8, LBB0_3
; %bb.2:
mov x0, x21
mov x1, x20
mov x2, 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 _writeLiteralsBlockCompressed
LBB0_3:
mov x0, x21
mov x1, x20
mov x2, 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 _writeLiteralsBlockSimple
.cfi_endproc
; -- End function
.no_dead_strip _writeLiteralsBlock
.subsections_via_symbols
| AnghaBench/freebsd/sys/contrib/zstd/tests/extr_decodecorpus.c_writeLiteralsBlock.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function adapter_uninit_chip
_adapter_uninit_chip: ## @adapter_uninit_chip
.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 _TRM_S1040_DMA_INTEN@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %edx, %edx
callq _DC395x_write8
movq _TRM_S1040_SCSI_INTEN@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
xorl %edx, %edx
callq _DC395x_write8
movq _HCC_SCSI_RESET@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%rbx)
je LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _reset_scsi_bus
LBB0_2:
movq _TRM_S1040_SCSI_INTSTATUS@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _DC395x_read8 ## TAILCALL
.cfi_endproc
## -- End function
.comm _TRM_S1040_DMA_INTEN,4,2 ## @TRM_S1040_DMA_INTEN
.comm _TRM_S1040_SCSI_INTEN,4,2 ## @TRM_S1040_SCSI_INTEN
.comm _HCC_SCSI_RESET,4,2 ## @HCC_SCSI_RESET
.comm _TRM_S1040_SCSI_INTSTATUS,4,2 ## @TRM_S1040_SCSI_INTSTATUS
.no_dead_strip _adapter_uninit_chip
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function adapter_uninit_chip
_adapter_uninit_chip: ; @adapter_uninit_chip
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x8, _TRM_S1040_DMA_INTEN@GOTPAGE
Lloh1:
ldr x8, [x8, _TRM_S1040_DMA_INTEN@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov w2, #0
bl _DC395x_write8
Lloh3:
adrp x8, _TRM_S1040_SCSI_INTEN@GOTPAGE
Lloh4:
ldr x8, [x8, _TRM_S1040_SCSI_INTEN@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x0, x19
mov w2, #0
bl _DC395x_write8
ldr w8, [x19]
Lloh6:
adrp x9, _HCC_SCSI_RESET@GOTPAGE
Lloh7:
ldr x9, [x9, _HCC_SCSI_RESET@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_2
; %bb.1:
mov x0, x19
bl _reset_scsi_bus
LBB0_2:
Lloh9:
adrp x8, _TRM_S1040_SCSI_INTSTATUS@GOTPAGE
Lloh10:
ldr x8, [x8, _TRM_S1040_SCSI_INTSTATUS@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _DC395x_read8
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _TRM_S1040_DMA_INTEN,4,2 ; @TRM_S1040_DMA_INTEN
.comm _TRM_S1040_SCSI_INTEN,4,2 ; @TRM_S1040_SCSI_INTEN
.comm _HCC_SCSI_RESET,4,2 ; @HCC_SCSI_RESET
.comm _TRM_S1040_SCSI_INTSTATUS,4,2 ; @TRM_S1040_SCSI_INTSTATUS
.no_dead_strip _adapter_uninit_chip
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/extr_dc395x.c_adapter_uninit_chip.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dml_max5
_dml_max5: ## @dml_max5
.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
movsd %xmm4, -8(%rbp) ## 8-byte Spill
callq _dml_max4
movl %eax, %edi
movsd -8(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
addq $16, %rsp
popq %rbp
jmp _dml_max ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _dml_max5
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dml_max5
_dml_max5: ; @dml_max5
.cfi_startproc
; %bb.0:
stp d9, d8, [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 b8, -24
.cfi_offset b9, -32
fmov d8, d4
bl _dml_max4
fmov d0, d8
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp d9, d8, [sp], #32 ; 16-byte Folded Reload
b _dml_max
.cfi_endproc
; -- End function
.no_dead_strip _dml_max5
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/extr_..dml_inline_defs.h_dml_max5.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function tempmon_setfan
_tempmon_setfan: ## @tempmon_setfan
.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
movq _TEMPMON_CONTROL@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _ddblreadl
movq _TEMPMON_CONTROL_OVERTEMP@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_2
## %bb.1:
movq 16(%rbx), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _dev_info
movl $1, (%rbx)
LBB0_2:
movq _TEMPMON_SENSOR0@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _ddblreadl
movq _TEMPMON_SENSOR1@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _ddblreadl
movzbl %ah, %ecx
xorl %r15d, %r15d
testw %ax, %ax
cmovnsl %ecx, %r15d
movq _TEMPMON_FANCONTROL@GOTPCREL(%rip), %r14
movl (%r14), %esi
movq %rbx, %rdi
callq _ddblreadl
shrl $8, %eax
andl $15, %eax
cmpl $10, %eax
movl $10, %esi
cmovbl %eax, %esi
movl $10, %edx
movq 8(%rbx), %rcx
cmpl (%rcx,%rsi,4), %r15d
jge LBB0_3
## %bb.7:
cmpl $2, %eax
jb LBB0_12
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movl %esi, %eax
cmpl -8(%rcx,%rax,4), %r15d
jge LBB0_12
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
leal -1(%rsi), %eax
cmpl $2, %esi
movl %eax, %esi
jg LBB0_8
## %bb.10:
movl $1, %esi
jmp LBB0_12
LBB0_3:
cmpl $10, %eax
cmovbl %eax, %edx
jmp LBB0_4
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_4 Depth=1
incq %rdx
LBB0_4: ## =>This Inner Loop Header: Depth=1
cmpq $11, %rdx
jb LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
cmpl 4(%rcx,%rdx,4), %r15d
jge LBB0_6
## %bb.11:
movl %edx, %esi
LBB0_12:
shll $8, %esi
movl (%r14), %edx
movq %rbx, %rdi
## kill: def $esi killed $esi killed $rsi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _ddblwritel ## TAILCALL
.cfi_endproc
## -- End function
.comm _TEMPMON_CONTROL,4,2 ## @TEMPMON_CONTROL
.comm _TEMPMON_CONTROL_OVERTEMP,4,2 ## @TEMPMON_CONTROL_OVERTEMP
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Over temperature condition\n"
.comm _TEMPMON_SENSOR0,4,2 ## @TEMPMON_SENSOR0
.comm _TEMPMON_SENSOR1,4,2 ## @TEMPMON_SENSOR1
.comm _TEMPMON_FANCONTROL,4,2 ## @TEMPMON_FANCONTROL
.no_dead_strip _tempmon_setfan
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function tempmon_setfan
_tempmon_setfan: ; @tempmon_setfan
.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, _TEMPMON_CONTROL@GOTPAGE
Lloh1:
ldr x8, [x8, _TEMPMON_CONTROL@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _ddblreadl
Lloh3:
adrp x8, _TEMPMON_CONTROL_OVERTEMP@GOTPAGE
Lloh4:
ldr x8, [x8, _TEMPMON_CONTROL_OVERTEMP@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
tst w8, w0
b.eq LBB0_2
; %bb.1:
ldr x8, [x19, #16]
ldr w0, [x8]
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
bl _dev_info
mov w8, #1 ; =0x1
str w8, [x19]
LBB0_2:
Lloh8:
adrp x8, _TEMPMON_SENSOR0@GOTPAGE
Lloh9:
ldr x8, [x8, _TEMPMON_SENSOR0@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
mov x0, x19
bl _ddblreadl
Lloh11:
adrp x8, _TEMPMON_SENSOR1@GOTPAGE
Lloh12:
ldr x8, [x8, _TEMPMON_SENSOR1@GOTPAGEOFF]
Lloh13:
ldr w1, [x8]
mov x0, x19
bl _ddblreadl
ubfx w8, w0, #8, #8
tst w0, #0x8000
csel w21, w8, wzr, eq
Lloh14:
adrp x20, _TEMPMON_FANCONTROL@GOTPAGE
Lloh15:
ldr x20, [x20, _TEMPMON_FANCONTROL@GOTPAGEOFF]
ldr w1, [x20]
mov x0, x19
bl _ddblreadl
ubfx w10, w0, #8, #4
mov w11, #10 ; =0xa
cmp w10, #10
csel w8, w10, w11, lo
ldr x9, [x19, #8]
ldr w12, [x9, w8, uxtw #2]
cmp w21, w12
b.ge LBB0_8
; %bb.3:
cmp w10, #2
b.lo LBB0_12
; %bb.4:
sub x9, x9, #8
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w10, [x9, w8, uxtw #2]
cmp w21, w10
b.ge LBB0_12
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
sub w10, w8, #1
cmp w8, #2
mov x8, x10
b.gt LBB0_5
; %bb.7:
mov w8, #1 ; =0x1
b LBB0_12
LBB0_8:
add x9, x9, #4
cmp w10, #10
csel w8, w10, w11, lo
b LBB0_10
LBB0_9: ; in Loop: Header=BB0_10 Depth=1
add x8, x8, #1
LBB0_10: ; =>This Inner Loop Header: Depth=1
cmp x8, #11
b.lo LBB0_9
; %bb.11: ; in Loop: Header=BB0_10 Depth=1
ldr w10, [x9, x8, lsl #2]
cmp w21, w10
b.ge LBB0_9
LBB0_12:
lsl w1, w8, #8
ldr w2, [x20]
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 _ddblwritel
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _TEMPMON_CONTROL,4,2 ; @TEMPMON_CONTROL
.comm _TEMPMON_CONTROL_OVERTEMP,4,2 ; @TEMPMON_CONTROL_OVERTEMP
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Over temperature condition\n"
.comm _TEMPMON_SENSOR0,4,2 ; @TEMPMON_SENSOR0
.comm _TEMPMON_SENSOR1,4,2 ; @TEMPMON_SENSOR1
.comm _TEMPMON_FANCONTROL,4,2 ; @TEMPMON_FANCONTROL
.no_dead_strip _tempmon_setfan
.subsections_via_symbols
| assembly_file_163453.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function BuildSourceTd
_BuildSourceTd: ## @BuildSourceTd
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
callq _ASSERT_COND
movq _FM_PCD_CC_AD_ENTRY_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
xorl %esi, %esi
callq _IOMemSet32
movl 4(%rbx), %edi
movq _FM_PCD_AD_CONT_LOOKUP_TYPE@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _WRITE_UINT32
movl (%rbx), %edi
movq _FRM_REPLIC_SOURCE_TD_OPCODE@GOTPCREL(%rip), %rax
movl (%rax), %esi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _WRITE_UINT32 ## TAILCALL
.cfi_endproc
## -- End function
.comm _FM_PCD_CC_AD_ENTRY_SIZE,4,2 ## @FM_PCD_CC_AD_ENTRY_SIZE
.comm _FM_PCD_AD_CONT_LOOKUP_TYPE,4,2 ## @FM_PCD_AD_CONT_LOOKUP_TYPE
.comm _FRM_REPLIC_SOURCE_TD_OPCODE,4,2 ## @FRM_REPLIC_SOURCE_TD_OPCODE
.no_dead_strip _BuildSourceTd
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function BuildSourceTd
_BuildSourceTd: ; @BuildSourceTd
.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 _ASSERT_COND
Lloh0:
adrp x8, _FM_PCD_CC_AD_ENTRY_SIZE@GOTPAGE
Lloh1:
ldr x8, [x8, _FM_PCD_CC_AD_ENTRY_SIZE@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov x0, x19
mov w1, #0
bl _IOMemSet32
ldr w0, [x19, #4]
Lloh3:
adrp x8, _FM_PCD_AD_CONT_LOOKUP_TYPE@GOTPAGE
Lloh4:
ldr x8, [x8, _FM_PCD_AD_CONT_LOOKUP_TYPE@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _WRITE_UINT32
ldr w0, [x19]
Lloh6:
adrp x8, _FRM_REPLIC_SOURCE_TD_OPCODE@GOTPAGE
Lloh7:
ldr x8, [x8, _FRM_REPLIC_SOURCE_TD_OPCODE@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _WRITE_UINT32
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _FM_PCD_CC_AD_ENTRY_SIZE,4,2 ; @FM_PCD_CC_AD_ENTRY_SIZE
.comm _FM_PCD_AD_CONT_LOOKUP_TYPE,4,2 ; @FM_PCD_AD_CONT_LOOKUP_TYPE
.comm _FRM_REPLIC_SOURCE_TD_OPCODE,4,2 ; @FRM_REPLIC_SOURCE_TD_OPCODE
.no_dead_strip _BuildSourceTd
.subsections_via_symbols
| AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/extr_fm_replic.c_BuildSourceTd.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function read_data
_read_data: ## @read_data
.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 $1032, %rsp ## imm = 0x408
.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)
testq %rdx, %rdx
je LBB0_3
## %bb.1:
movq %rdx, %r13
movq %rsi, %r14
movq %rdi, %r15
leaq -1072(%rbp), %r12
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpq $1024, %r13 ## imm = 0x400
movl $1024, %ebx ## imm = 0x400
cmovbq %r13, %rbx
movq %r15, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq _krb5_storage_read
xorl %edi, %edi
cmpq %rbx, %rax
sete %dil
callq _INSIST
movq %r14, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq _krb5_storage_write
xorl %edi, %edi
cmpq %rbx, %rax
sete %dil
callq _INSIST
subq %rbx, %r13
jne LBB0_2
LBB0_3:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_5
## %bb.4:
xorl %eax, %eax
addq $1032, %rsp ## imm = 0x408
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.no_dead_strip _read_data
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function read_data
_read_data: ; @read_data
.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
sub sp, sp, #1040
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
cbz x2, LBB0_3
; %bb.1:
mov x19, x2
mov x20, x1
mov x21, x0
mov w23, #1024
LBB0_2: ; =>This Inner Loop Header: Depth=1
cmp x19, #1024
csel x22, x19, x23, lo
add x1, sp, #8
mov x0, x21
mov x2, x22
bl _krb5_storage_read
cmp x0, x22
cset w0, eq
bl _INSIST
add x1, sp, #8
mov x0, x20
mov x2, x22
bl _krb5_storage_write
cmp x0, x22
cset w0, eq
bl _INSIST
subs x19, x19, x22
b.ne LBB0_2
LBB0_3:
ldur x8, [x29, #-56]
Lloh3:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh4:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_5
; %bb.4:
mov w0, #0
add sp, sp, #1040
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_5:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.no_dead_strip _read_data
.subsections_via_symbols
| AnghaBench/freebsd/crypto/heimdal/kadmin/extr_rpc.c_read_data.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ZSTD_hash5Ptr
_ZSTD_hash5Ptr: ## @ZSTD_hash5Ptr
.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
callq _ZSTD_readLE64
movl %eax, %edi
movl %ebx, %esi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _ZSTD_hash5 ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _ZSTD_hash5Ptr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ZSTD_hash5Ptr
_ZSTD_hash5Ptr: ; @ZSTD_hash5Ptr
.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 _ZSTD_readLE64
mov x1, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _ZSTD_hash5
.cfi_endproc
; -- End function
.no_dead_strip _ZSTD_hash5Ptr
.subsections_via_symbols
| AnghaBench/zstd/contrib/linux-kernel/lib/zstd/extr_compress.c_ZSTD_hash5Ptr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _svc_proc_unregister ## -- Begin function svc_proc_unregister
.p2align 4, 0x90
_svc_proc_unregister: ## @svc_proc_unregister
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rsi, %rbx
movq _sunrpc_net_id@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _net_generic
movl (%rax), %esi
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _remove_proc_entry ## TAILCALL
.cfi_endproc
## -- End function
.comm _sunrpc_net_id,4,2 ## @sunrpc_net_id
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _svc_proc_unregister ; -- Begin function svc_proc_unregister
.p2align 2
_svc_proc_unregister: ; @svc_proc_unregister
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
Lloh0:
adrp x8, _sunrpc_net_id@GOTPAGE
Lloh1:
ldr x8, [x8, _sunrpc_net_id@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _net_generic
ldr w1, [x0]
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _remove_proc_entry
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _sunrpc_net_id,4,2 ; @sunrpc_net_id
.subsections_via_symbols
| AnghaBench/linux/net/sunrpc/extr_stats.c_svc_proc_unregister.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dm_deferred_set_destroy ## -- Begin function dm_deferred_set_destroy
.p2align 4, 0x90
_dm_deferred_set_destroy: ## @dm_deferred_set_destroy
.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 _kfree ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dm_deferred_set_destroy ; -- Begin function dm_deferred_set_destroy
.p2align 2
_dm_deferred_set_destroy: ; @dm_deferred_set_destroy
.cfi_startproc
; %bb.0:
b _kfree
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/md/extr_dm-bio-prison.c_dm_deferred_set_destroy.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sisusb_bulk_completein
_sisusb_bulk_completein: ## @sisusb_bulk_completein
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rdi
testq %rdi, %rdi
je LBB0_3
## %bb.1:
cmpl $0, 12(%rdi)
je LBB0_3
## %bb.2:
cmpl $0, 8(%rdi)
je LBB0_3
## %bb.4:
movl $1, (%rdi)
addq $4, %rdi
popq %rbp
jmp _wake_up ## TAILCALL
LBB0_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _sisusb_bulk_completein
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sisusb_bulk_completein
_sisusb_bulk_completein: ; @sisusb_bulk_completein
.cfi_startproc
; %bb.0:
ldr x0, [x0]
cbz x0, LBB0_4
; %bb.1:
ldr w8, [x0, #12]
cbz w8, LBB0_4
; %bb.2:
ldr w8, [x0, #8]
cbz w8, LBB0_4
; %bb.3:
mov w8, #1
str w8, [x0], #4
b _wake_up
LBB0_4:
ret
.cfi_endproc
; -- End function
.no_dead_strip _sisusb_bulk_completein
.subsections_via_symbols
| AnghaBench/linux/drivers/usb/misc/sisusbvga/extr_sisusb.c_sisusb_bulk_completein.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function __sbprintf
___sbprintf: ## @__sbprintf
.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 $104, %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
movq %rdx, -64(%rbp) ## 8-byte Spill
movl %esi, %r12d
movq %rdi, %r13
movq %rsp, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _FAKE_FILE@GOTPCREL(%rip), %rax
movq 64(%rax), %rcx
movq %rcx, -80(%rbp)
movups (%rax), %xmm0
movups 16(%rax), %xmm1
movups 32(%rax), %xmm2
movups 48(%rax), %xmm3
movaps %xmm3, -96(%rbp)
movaps %xmm2, -112(%rbp)
movaps %xmm1, -128(%rbp)
movaps %xmm0, -144(%rbp)
movq _BUFSIZ@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq %rbx, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r15
movq %r13, %rdi
callq _prepwrite
testq %rax, %rax
je LBB0_2
## %bb.1:
movq _EOF@GOTPCREL(%rip), %rax
movl (%rax), %ebx
jmp LBB0_7
LBB0_2:
movq ___SNBF@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
andl (%r13), %eax
movl %eax, -144(%rbp)
movl 64(%r13), %eax
movl %eax, -80(%rbp)
movups 48(%r13), %xmm0
movaps %xmm0, -96(%rbp)
movq %r15, -136(%rbp)
movq %r15, -112(%rbp)
movl %ebx, -128(%rbp)
movl %ebx, -104(%rbp)
movq $0, -120(%rbp)
leaq -144(%rbp), %rdi
movl %r12d, %esi
movq -64(%rbp), %rdx ## 8-byte Reload
movl -52(%rbp), %ecx ## 4-byte Reload
callq ___vfprintf
movl %eax, %ebx
testl %eax, %eax
js LBB0_5
## %bb.3:
leaq -144(%rbp), %rdi
callq ___fflush
testq %rax, %rax
je LBB0_5
## %bb.4:
movq _EOF@GOTPCREL(%rip), %rax
movl (%rax), %ebx
LBB0_5:
movq ___SERR@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, -144(%rbp)
je LBB0_7
## %bb.6:
orl %eax, (%r13)
LBB0_7:
movq %r14, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_9
## %bb.8:
movl %ebx, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_9:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _FAKE_FILE,72,3 ## @FAKE_FILE
.comm _BUFSIZ,4,2 ## @BUFSIZ
.comm _EOF,4,2 ## @EOF
.comm ___SNBF,4,2 ## @__SNBF
.comm ___SERR,4,2 ## @__SERR
.no_dead_strip ___sbprintf
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function __sbprintf
___sbprintf: ; @__sbprintf
.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
sub sp, sp, #80
mov x20, x3
mov x21, x2
mov x22, x1
mov x19, x0
mov x24, sp
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-72]
Lloh3:
adrp x8, _FAKE_FILE@GOTPAGE
Lloh4:
ldr x8, [x8, _FAKE_FILE@GOTPAGEOFF]
ldr x9, [x8, #64]
stur x9, [x29, #-80]
ldp q0, q1, [x8, #32]
stp q0, q1, [x29, #-112]
ldp q1, q0, [x8]
stp q1, q0, [x29, #-144]
Lloh5:
adrp x8, _BUFSIZ@GOTPAGE
Lloh6:
ldr x8, [x8, _BUFSIZ@GOTPAGEOFF]
Lloh7:
ldr w23, [x8]
mov x9, x23
Lloh8:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh9:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
add x9, x23, #15
and x9, x9, #0x1fffffff0
sub x25, x8, x9
mov sp, x25
bl _prepwrite
cbz x0, LBB0_2
; %bb.1:
Lloh10:
adrp x8, _EOF@GOTPAGE
Lloh11:
ldr x8, [x8, _EOF@GOTPAGEOFF]
Lloh12:
ldr w20, [x8]
b LBB0_6
LBB0_2:
ldr w8, [x19]
Lloh13:
adrp x9, ___SNBF@GOTPAGE
Lloh14:
ldr x9, [x9, ___SNBF@GOTPAGEOFF]
Lloh15:
ldr w9, [x9]
bic w8, w8, w9
stur w8, [x29, #-144]
ldr w8, [x19, #64]
stur w8, [x29, #-80]
ldr q0, [x19, #48]
stur q0, [x29, #-96]
stur x25, [x29, #-136]
stur w23, [x29, #-128]
stur w23, [x29, #-104]
stp xzr, x25, [x29, #-120]
sub x0, x29, #144
mov x1, x22
mov x2, x21
mov x3, x20
bl ___vfprintf
mov x20, x0
tbnz w0, #31, LBB0_4
; %bb.3:
sub x0, x29, #144
bl ___fflush
Lloh16:
adrp x8, _EOF@GOTPAGE
Lloh17:
ldr x8, [x8, _EOF@GOTPAGEOFF]
Lloh18:
ldr w8, [x8]
cmp x0, #0
csel w20, w20, w8, eq
LBB0_4:
ldur w9, [x29, #-144]
Lloh19:
adrp x8, ___SERR@GOTPAGE
Lloh20:
ldr x8, [x8, ___SERR@GOTPAGEOFF]
Lloh21:
ldr w8, [x8]
tst w8, w9
b.eq LBB0_6
; %bb.5:
ldr w9, [x19]
orr w8, w9, w8
str w8, [x19]
LBB0_6:
mov sp, x24
ldur x8, [x29, #-72]
Lloh22:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh23:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_8
; %bb.7:
mov x0, x20
sub sp, x29, #64
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_8:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.cfi_endproc
; -- End function
.comm _FAKE_FILE,72,3 ; @FAKE_FILE
.comm _BUFSIZ,4,2 ; @BUFSIZ
.comm _EOF,4,2 ; @EOF
.comm ___SNBF,4,2 ; @__SNBF
.comm ___SERR,4,2 ; @__SERR
.no_dead_strip ___sbprintf
.subsections_via_symbols
| AnghaBench/freebsd/lib/libc/stdio/extr_vfprintf.c___sbprintf.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _fork
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:
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 _fork
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/50137853.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _redisAsyncFree ## -- Begin function redisAsyncFree
.p2align 4, 0x90
_redisAsyncFree: ## @redisAsyncFree
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _REDIS_FREEING@GOTPCREL(%rip), %rax
movl (%rdi), %ecx
orl (%rax), %ecx
movl %ecx, (%rdi)
movq _REDIS_IN_CALLBACK@GOTPCREL(%rip), %rax
testl %ecx, (%rax)
je LBB0_2
## %bb.1:
popq %rbp
retq
LBB0_2:
popq %rbp
jmp ___redisAsyncFree ## TAILCALL
.cfi_endproc
## -- End function
.comm _REDIS_FREEING,4,2 ## @REDIS_FREEING
.comm _REDIS_IN_CALLBACK,4,2 ## @REDIS_IN_CALLBACK
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _redisAsyncFree ; -- Begin function redisAsyncFree
.p2align 2
_redisAsyncFree: ; @redisAsyncFree
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _REDIS_FREEING@GOTPAGE
Lloh1:
ldr x8, [x8, _REDIS_FREEING@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
ldr w9, [x0]
orr w8, w9, w8
str w8, [x0]
Lloh3:
adrp x9, _REDIS_IN_CALLBACK@GOTPAGE
Lloh4:
ldr x9, [x9, _REDIS_IN_CALLBACK@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_2
; %bb.1:
ret
LBB0_2:
b ___redisAsyncFree
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _REDIS_FREEING,4,2 ; @REDIS_FREEING
.comm _REDIS_IN_CALLBACK,4,2 ; @REDIS_IN_CALLBACK
.subsections_via_symbols
| AnghaBench/hiredis/extr_async.c_redisAsyncFree.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function __lookup
___lookup: ## @__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
movq %rcx, %rbx
movl (%rdi), %r15d
testl %r15d, %r15d
je LBB0_1
## %bb.2:
movq %rdx, %r12
cmpl $1, %r15d
jne LBB0_3
LBB0_12:
movq _RADIX_TREE_MAP_MASK@GOTPCREL(%rip), %rax
movq (%rax), %r14
andq %rbx, %r14
movq _RADIX_TREE_MAP_SIZE@GOTPCREL(%rip), %r11
movq (%r11), %r10
xorl %eax, %eax
cmpq %r10, %r14
jae LBB0_20
## %bb.13:
leaq (,%r14,8), %rcx
xorl %eax, %eax
jmp LBB0_14
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_14 Depth=1
incq %rbx
incq %r14
addq $8, %rcx
cmpq %r10, %r14
jae LBB0_20
LBB0_14: ## =>This Inner Loop Header: Depth=1
movq 8(%rdi), %rdx
cmpq $0, (%rdx,%rcx)
je LBB0_19
## %bb.15: ## in Loop: Header=BB0_14 Depth=1
addq %rcx, %rdx
movl %eax, %r10d
movq %rdx, (%rsi,%r10,8)
testq %r12, %r12
je LBB0_17
## %bb.16: ## in Loop: Header=BB0_14 Depth=1
movq %rbx, (%r12,%r10,8)
LBB0_17: ## in Loop: Header=BB0_14 Depth=1
incl %eax
cmpl %r8d, %eax
je LBB0_21
## %bb.18: ## in Loop: Header=BB0_14 Depth=1
movq (%r11), %r10
jmp LBB0_19
LBB0_1:
movl %r15d, %eax
jmp LBB0_20
LBB0_3:
movq _RADIX_TREE_MAP_SHIFT@GOTPCREL(%rip), %rax
leal -1(%r15), %r14d
imull (%rax), %r14d
movq _RADIX_TREE_MAP_MASK@GOTPCREL(%rip), %rax
movq _RADIX_TREE_MAP_SIZE@GOTPCREL(%rip), %r10
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
movq %rbx, %rdx
movl %r14d, %ecx
shrq %cl, %rdx
andq (%rax), %rdx
movl $1, %r13d
shlq %cl, %r13
movq 8(%rdi), %r11
movq %r13, %rcx
negq %rcx
movq (%r10), %r10
.p2align 4, 0x90
LBB0_5: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r11,%rdx,8), %rdi
testq %rdi, %rdi
jne LBB0_9
## %bb.6: ## in Loop: Header=BB0_5 Depth=2
andq %rcx, %rbx
xorl %eax, %eax
addq %r13, %rbx
je LBB0_7
## %bb.8: ## in Loop: Header=BB0_5 Depth=2
incq %rdx
cmpq %rdx, %r10
jne LBB0_5
jmp LBB0_20
LBB0_9: ## in Loop: Header=BB0_4 Depth=1
movq %rsi, -64(%rbp) ## 8-byte Spill
movl %r8d, -44(%rbp) ## 4-byte Spill
movq %r9, -56(%rbp) ## 8-byte Spill
movq _RADIX_TREE_MAP_SHIFT@GOTPCREL(%rip), %rax
movl (%rax), %r13d
callq _rcu_dereference
testq %rax, %rax
je LBB0_10
## %bb.11: ## in Loop: Header=BB0_4 Depth=1
movq %rax, %rdi
subl %r13d, %r14d
decl %r15d
cmpl $1, %r15d
movq -56(%rbp), %r9 ## 8-byte Reload
movl -44(%rbp), %r8d ## 4-byte Reload
movq -64(%rbp), %rsi ## 8-byte Reload
movq _RADIX_TREE_MAP_MASK@GOTPCREL(%rip), %rax
movq _RADIX_TREE_MAP_SIZE@GOTPCREL(%rip), %r10
ja LBB0_4
jmp LBB0_12
LBB0_7:
xorl %ebx, %ebx
jmp LBB0_20
LBB0_21:
incq %rbx
movl %r8d, %eax
LBB0_20:
movq %rbx, (%r9)
## kill: def $eax killed $eax killed $rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_10:
xorl %eax, %eax
movq -56(%rbp), %r9 ## 8-byte Reload
jmp LBB0_20
.cfi_endproc
## -- End function
.comm _RADIX_TREE_MAP_SHIFT,4,2 ## @RADIX_TREE_MAP_SHIFT
.comm _RADIX_TREE_MAP_MASK,8,3 ## @RADIX_TREE_MAP_MASK
.comm _RADIX_TREE_MAP_SIZE,8,3 ## @RADIX_TREE_MAP_SIZE
.no_dead_strip ___lookup
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function __lookup
___lookup: ; @__lookup
.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 x20, x3
ldr w22, [x0]
cbz w22, LBB0_18
; %bb.1:
mov x21, x4
mov x23, x2
mov x24, x1
Lloh0:
adrp x19, _RADIX_TREE_MAP_MASK@GOTPAGE
Lloh1:
ldr x19, [x19, _RADIX_TREE_MAP_MASK@GOTPAGEOFF]
Lloh2:
adrp x25, _RADIX_TREE_MAP_SIZE@GOTPAGE
Lloh3:
ldr x25, [x25, _RADIX_TREE_MAP_SIZE@GOTPAGEOFF]
subs w8, w22, #1
b.ne LBB0_10
LBB0_2:
ldr x8, [x19]
and x8, x8, x20
ldr x10, [x25]
cmp x8, x10
b.hs LBB0_17
; %bb.3:
mov w22, #0
lsl x9, x8, #3
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add x20, x20, #1
add x8, x8, #1
add x9, x9, #8
cmp x8, x10
b.hs LBB0_18
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x11, [x0, #8]
add x11, x11, x9
ldr x12, [x11]
cbz x12, LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
str x11, [x24, w22, uxtw #3]
cbz x23, LBB0_8
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
mov w10, w22
str x20, [x23, x10, lsl #3]
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
add w22, w22, #1
cmp w22, w21
b.eq LBB0_19
; %bb.9: ; in Loop: Header=BB0_5 Depth=1
ldr x10, [x25]
b LBB0_4
LBB0_10:
Lloh4:
adrp x13, _RADIX_TREE_MAP_SHIFT@GOTPAGE
Lloh5:
ldr x13, [x13, _RADIX_TREE_MAP_SHIFT@GOTPAGEOFF]
ldr w9, [x13]
mul w28, w9, w8
mov w10, #1
LBB0_11: ; =>This Loop Header: Depth=1
; Child Loop BB0_12 Depth 2
lsr x8, x20, x28
ldr x9, [x19]
and x11, x9, x8
ldr x12, [x0, #8]
lsl x8, x10, x28
neg x9, x8
ldr x10, [x25]
sub x10, x10, x11
add x11, x12, x11, lsl #3
LBB0_12: ; Parent Loop BB0_11 Depth=1
; => This Inner Loop Header: Depth=2
ldr x0, [x11]
cbnz x0, LBB0_15
; %bb.13: ; in Loop: Header=BB0_12 Depth=2
and x12, x20, x9
adds x20, x12, x8
b.eq LBB0_17
; %bb.14: ; in Loop: Header=BB0_12 Depth=2
add x11, x11, #8
subs x10, x10, #1
b.ne LBB0_12
b LBB0_17
LBB0_15: ; in Loop: Header=BB0_11 Depth=1
str x5, [sp, #8] ; 8-byte Folded Spill
mov x26, x13
ldr w27, [x13]
bl _rcu_dereference
cbz x0, LBB0_20
; %bb.16: ; in Loop: Header=BB0_11 Depth=1
sub w28, w28, w27
sub w22, w22, #1
cmp w22, #1
mov x13, x26
ldr x5, [sp, #8] ; 8-byte Folded Reload
mov w10, #1
b.hi LBB0_11
b LBB0_2
LBB0_17:
mov w22, #0
LBB0_18:
str x20, [x5]
mov x0, x22
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
LBB0_19:
add x20, x20, #1
mov x22, x21
b LBB0_18
LBB0_20:
mov w22, #0
ldr x5, [sp, #8] ; 8-byte Folded Reload
b LBB0_18
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _RADIX_TREE_MAP_SHIFT,4,2 ; @RADIX_TREE_MAP_SHIFT
.comm _RADIX_TREE_MAP_MASK,8,3 ; @RADIX_TREE_MAP_MASK
.comm _RADIX_TREE_MAP_SIZE,8,3 ; @RADIX_TREE_MAP_SIZE
.no_dead_strip ___lookup
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/lib/extr_radix-tree.c___lookup.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
movq _str@GOTPCREL(%rip), %rbx
movq %rbx, %rdi
callq _gets
movq %rbx, %rdi
callq _strlen
movq _len@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
cmpb $97, (%rbx)
jne LBB0_9
## %bb.1:
movq _i@GOTPCREL(%rip), %rdi
movl $1, (%rdi)
leal -1(%rax), %esi
movl $1, %edx
cmpl $1, %esi
je LBB0_7
## %bb.2:
movslq %esi, %rdx
negl %eax
movl $1, %esi
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
cmpq %rdx, %rsi
jge LBB0_9
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
cmpb $98, (%rbx,%rsi)
jne LBB0_9
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movzbl 1(%rbx,%rsi), %ecx
andb $-2, %cl
cmpb $98, %cl
jne LBB0_9
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
addq $2, %rsi
movl %esi, (%rdi)
leal (%rax,%rsi), %ecx
cmpl $-1, %ecx
jne LBB0_3
LBB0_7:
cmpb $100, (%rbx,%rdx)
jne LBB0_9
## %bb.8:
leaq L_str.3(%rip), %rdi
jmp LBB0_10
LBB0_9:
leaq L_str.2(%rip), %rdi
LBB0_10:
callq _puts
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _A ## -- Begin function A
.p2align 4, 0x90
_A: ## @A
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _str@GOTPCREL(%rip), %rax
cmpb $97, (%rax)
jne LBB1_9
## %bb.1:
movq _i@GOTPCREL(%rip), %r8
movl $1, (%r8)
movq _len@GOTPCREL(%rip), %rdx
movslq (%rdx), %rsi
leaq -1(%rsi), %rdx
movl $1, %edi
cmpl $1, %edx
je LBB1_8
## %bb.2:
negl %esi
movl $1, %edi
.p2align 4, 0x90
LBB1_3: ## =>This Inner Loop Header: Depth=1
cmpq %rdx, %rdi
jge LBB1_9
## %bb.4: ## in Loop: Header=BB1_3 Depth=1
cmpb $98, (%rax,%rdi)
jne LBB1_9
## %bb.5: ## in Loop: Header=BB1_3 Depth=1
movzbl 1(%rax,%rdi), %ecx
andb $-2, %cl
cmpb $98, %cl
jne LBB1_9
## %bb.6: ## in Loop: Header=BB1_3 Depth=1
addq $2, %rdi
movl %edi, (%r8)
leal (%rsi,%rdi), %ecx
cmpl $-1, %ecx
jne LBB1_3
## %bb.7:
movq %rdx, %rdi
LBB1_8:
cmpb $100, (%rax,%rdi)
sete %al
## kill: def $al killed $al killed $eax
popq %rbp
retq
LBB1_9:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _X ## -- Begin function X
.p2align 4, 0x90
_X: ## @X
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _len@GOTPCREL(%rip), %rax
movslq (%rax), %rcx
leaq -1(%rcx), %r10
movq _i@GOTPCREL(%rip), %r8
movslq (%r8), %rdi
movb $1, %al
cmpl %r10d, %edi
je LBB2_1
## %bb.2:
negl %ecx
leal 2(%rdi), %esi
movq _str@GOTPCREL(%rip), %r9
.p2align 4, 0x90
LBB2_3: ## =>This Inner Loop Header: Depth=1
cmpq %r10, %rdi
jge LBB2_7
## %bb.4: ## in Loop: Header=BB2_3 Depth=1
cmpb $98, (%r9,%rdi)
jne LBB2_7
## %bb.5: ## in Loop: Header=BB2_3 Depth=1
movzbl 1(%r9,%rdi), %edx
andb $-2, %dl
cmpb $98, %dl
jne LBB2_7
## %bb.6: ## in Loop: Header=BB2_3 Depth=1
addq $2, %rdi
movl %esi, (%r8)
leal (%rcx,%rsi), %edx
addl $2, %edx
## kill: def $esi killed $esi killed $rsi
addl $2, %esi
## kill: def $esi killed $esi def $rsi
cmpl $1, %edx
jne LBB2_3
LBB2_1:
## kill: def $al killed $al killed $eax
popq %rbp
retq
LBB2_7:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _str,100,4 ## @str
.comm _len,4,2 ## @len
.comm _i,4,2 ## @i
.section __TEXT,__cstring,cstring_literals
L_str.2: ## @str.2
.asciz "Rejected by Grammar."
L_str.3: ## @str.3
.asciz "Accepted by Grammar."
.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 x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x19, _str@GOTPAGE
Lloh1:
ldr x19, [x19, _str@GOTPAGEOFF]
mov x0, x19
bl _gets
mov x0, x19
bl _strlen
Lloh2:
adrp x8, _len@GOTPAGE
Lloh3:
ldr x8, [x8, _len@GOTPAGEOFF]
Lloh4:
str w0, [x8]
ldrb w8, [x19]
cmp w8, #97
b.ne LBB0_9
; %bb.1:
Lloh5:
adrp x9, _i@GOTPAGE
Lloh6:
ldr x9, [x9, _i@GOTPAGEOFF]
mov w8, #1
str w8, [x9]
sub w11, w0, #1
cmp w11, #1
b.eq LBB0_7
; %bb.2:
mov x10, #0
sxtw x8, w11
sub w11, w0, #2
LBB0_3: ; =>This Inner Loop Header: Depth=1
add x12, x10, #1
cmp x12, x8
b.ge LBB0_9
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
add x12, x19, x10
ldrb w13, [x12, #1]
cmp w13, #98
b.ne LBB0_9
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldrb w12, [x12, #2]
and w12, w12, #0xfe
cmp w12, #98
b.ne LBB0_9
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
add w12, w10, #3
str w12, [x9]
add x10, x10, #2
cmp w11, w10
b.ne LBB0_3
LBB0_7:
ldrb w8, [x19, x8]
cmp w8, #100
b.ne LBB0_9
; %bb.8:
Lloh7:
adrp x0, l_str.3@PAGE
Lloh8:
add x0, x0, l_str.3@PAGEOFF
b LBB0_10
LBB0_9:
Lloh9:
adrp x0, l_str.2@PAGE
Lloh10:
add x0, x0, l_str.2@PAGEOFF
LBB0_10:
bl _puts
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotStr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.cfi_endproc
; -- End function
.globl _A ; -- Begin function A
.p2align 2
_A: ; @A
.cfi_startproc
; %bb.0:
Lloh11:
adrp x8, _str@GOTPAGE
Lloh12:
ldr x8, [x8, _str@GOTPAGEOFF]
ldrb w9, [x8]
cmp w9, #97
b.ne LBB1_9
; %bb.1:
Lloh13:
adrp x10, _i@GOTPAGE
Lloh14:
ldr x10, [x10, _i@GOTPAGEOFF]
mov w9, #1
str w9, [x10]
Lloh15:
adrp x9, _len@GOTPAGE
Lloh16:
ldr x9, [x9, _len@GOTPAGEOFF]
Lloh17:
ldrsw x12, [x9]
sub x9, x12, #1
cmp w9, #1
b.ne LBB1_4
; %bb.2:
mov w9, #1
LBB1_3:
ldrb w8, [x8, x9]
cmp w8, #100
cset w0, eq
ret
LBB1_4:
mov x11, #0
sub w12, w12, #2
LBB1_5: ; =>This Inner Loop Header: Depth=1
add x13, x11, #1
cmp x13, x9
b.ge LBB1_9
; %bb.6: ; in Loop: Header=BB1_5 Depth=1
add x13, x8, x11
ldrb w14, [x13, #1]
cmp w14, #98
b.ne LBB1_9
; %bb.7: ; in Loop: Header=BB1_5 Depth=1
ldrb w13, [x13, #2]
and w13, w13, #0xfe
cmp w13, #98
b.ne LBB1_9
; %bb.8: ; in Loop: Header=BB1_5 Depth=1
add w13, w11, #3
str w13, [x10]
add x11, x11, #2
cmp w12, w11
b.ne LBB1_5
b LBB1_3
LBB1_9:
mov w0, #0
ret
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGot Lloh13, Lloh14
.cfi_endproc
; -- End function
.globl _X ; -- Begin function X
.p2align 2
_X: ; @X
.cfi_startproc
; %bb.0:
Lloh18:
adrp x8, _len@GOTPAGE
Lloh19:
ldr x8, [x8, _len@GOTPAGEOFF]
Lloh20:
ldr w8, [x8]
sub w8, w8, #1
Lloh21:
adrp x9, _i@GOTPAGE
Lloh22:
ldr x9, [x9, _i@GOTPAGEOFF]
ldrsw x10, [x9]
cmp w10, w8
b.ne LBB2_2
LBB2_1:
mov w0, #1
ret
LBB2_2:
sxtw x11, w8
Lloh23:
adrp x12, _str@GOTPAGE
Lloh24:
ldr x12, [x12, _str@GOTPAGEOFF]
LBB2_3: ; =>This Inner Loop Header: Depth=1
cmp x10, x11
b.ge LBB2_7
; %bb.4: ; in Loop: Header=BB2_3 Depth=1
ldrb w13, [x12, x10]
cmp w13, #98
b.ne LBB2_7
; %bb.5: ; in Loop: Header=BB2_3 Depth=1
add x13, x12, x10
ldrb w13, [x13, #1]
and w13, w13, #0xfe
cmp w13, #98
b.ne LBB2_7
; %bb.6: ; in Loop: Header=BB2_3 Depth=1
add w13, w10, #2
add x14, x10, #2
str w13, [x9]
mov x10, x14
cmp w8, w14
b.ne LBB2_3
b LBB2_1
LBB2_7:
mov w0, #0
ret
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGot Lloh23, Lloh24
.cfi_endproc
; -- End function
.comm _str,100,0 ; @str
.comm _len,4,2 ; @len
.comm _i,4,2 ; @i
.section __TEXT,__cstring,cstring_literals
l_str.2: ; @str.2
.asciz "Rejected by Grammar."
l_str.3: ; @str.3
.asciz "Accepted by Grammar."
.subsections_via_symbols
| the_stack_data/175143499.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function windowInitAccum
_windowInitAccum: ## @windowInitAccum
.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, %r15
movq %rdi, -48(%rbp) ## 8-byte Spill
callq _sqlite3GetVdbe
testq %r15, %r15
je LBB0_1
## %bb.2:
movq %rax, %r12
xorl %r13d, %r13d
movq %r15, %rbx
jmp LBB0_3
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
movq 48(%rbx), %rbx
testq %rbx, %rbx
je LBB0_11
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq 32(%rbx), %rcx
movq 40(%rbx), %r14
movq _OP_Null@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r12, %rdi
xorl %edx, %edx
callq _sqlite3VdbeAddOp2
movq %rbx, %rdi
callq _windowArgCount
movl %r13d, %edi
movl %eax, %esi
callq _MAX
movl %eax, %r13d
cmpq $0, (%r15)
jne LBB0_10
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq (%r14), %rax
movq _nth_valueName@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq _first_valueName@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_7
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movq _OP_Integer@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq 16(%rbx), %rcx
movq %r12, %rdi
xorl %edx, %edx
callq _sqlite3VdbeAddOp2
movq _OP_Integer@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq 16(%rbx), %rcx
incq %rcx
movq %r12, %rdi
xorl %edx, %edx
callq _sqlite3VdbeAddOp2
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movq _SQLITE_FUNC_MINMAX@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, 8(%r14)
je LBB0_10
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
cmpq $0, 24(%rbx)
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_3 Depth=1
movq 8(%rbx), %rax
xorl %edi, %edi
movq _TK_UNBOUNDED@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
setne %dil
callq _assert
movq _OP_ResetSorter@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq 24(%rbx), %rdx
movq %r12, %rdi
callq _sqlite3VdbeAddOp1
movq _OP_Integer@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq 16(%rbx), %rcx
incq %rcx
movq %r12, %rdi
xorl %edx, %edx
callq _sqlite3VdbeAddOp2
jmp LBB0_10
LBB0_1:
xorl %r13d, %r13d
LBB0_11:
movq -48(%rbp), %rdx ## 8-byte Reload
movl (%rdx), %ecx
leal 1(%rcx), %eax
addl %ecx, %r13d
movl %r13d, (%rdx)
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _OP_Null,4,2 ## @OP_Null
.comm _nth_valueName,8,3 ## @nth_valueName
.comm _first_valueName,8,3 ## @first_valueName
.comm _OP_Integer,4,2 ## @OP_Integer
.comm _SQLITE_FUNC_MINMAX,4,2 ## @SQLITE_FUNC_MINMAX
.comm _TK_UNBOUNDED,8,3 ## @TK_UNBOUNDED
.comm _OP_ResetSorter,4,2 ## @OP_ResetSorter
.no_dead_strip _windowInitAccum
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function windowInitAccum
_windowInitAccum: ; @windowInitAccum
.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 x20, x1
str x0, [sp, #8] ; 8-byte Folded Spill
bl _sqlite3GetVdbe
cbz x20, LBB0_9
; %bb.1:
mov x21, x0
mov w22, #0
Lloh0:
adrp x24, _OP_Null@GOTPAGE
Lloh1:
ldr x24, [x24, _OP_Null@GOTPAGEOFF]
Lloh2:
adrp x25, _nth_valueName@GOTPAGE
Lloh3:
ldr x25, [x25, _nth_valueName@GOTPAGEOFF]
Lloh4:
adrp x26, _first_valueName@GOTPAGE
Lloh5:
ldr x26, [x26, _first_valueName@GOTPAGEOFF]
Lloh6:
adrp x27, _OP_Integer@GOTPAGE
Lloh7:
ldr x27, [x27, _OP_Integer@GOTPAGEOFF]
Lloh8:
adrp x28, _SQLITE_FUNC_MINMAX@GOTPAGE
Lloh9:
ldr x28, [x28, _SQLITE_FUNC_MINMAX@GOTPAGEOFF]
mov x23, x20
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
ldr x23, [x23, #48]
cbz x23, LBB0_10
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w1, [x24]
ldp x3, x19, [x23, #32]
mov x0, x21
mov w2, #0
bl _sqlite3VdbeAddOp2
mov x0, x23
bl _windowArgCount
mov x1, x0
mov x0, x22
bl _MAX
mov x22, x0
ldr x8, [x20]
cbnz x8, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x19]
ldr x9, [x25]
ldr x10, [x26]
cmp x8, x9
ccmp x8, x10, #4, ne
b.ne LBB0_6
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldr w1, [x27]
ldr x3, [x23, #16]
mov x0, x21
mov w2, #0
bl _sqlite3VdbeAddOp2
ldr w1, [x27]
ldr x8, [x23, #16]
add x3, x8, #1
mov x0, x21
mov w2, #0
bl _sqlite3VdbeAddOp2
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x19, #8]
ldr w9, [x28]
tst w9, w8
b.eq LBB0_2
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x23, #24]
cbz x8, LBB0_2
; %bb.8: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x23, #8]
Lloh10:
adrp x9, _TK_UNBOUNDED@GOTPAGE
Lloh11:
ldr x9, [x9, _TK_UNBOUNDED@GOTPAGEOFF]
Lloh12:
ldr x9, [x9]
cmp x8, x9
cset w0, ne
bl _assert
Lloh13:
adrp x8, _OP_ResetSorter@GOTPAGE
Lloh14:
ldr x8, [x8, _OP_ResetSorter@GOTPAGEOFF]
Lloh15:
ldr w1, [x8]
ldr x2, [x23, #24]
mov x0, x21
bl _sqlite3VdbeAddOp1
ldr w1, [x27]
ldr x8, [x23, #16]
add x3, x8, #1
mov x0, x21
mov w2, #0
bl _sqlite3VdbeAddOp2
b LBB0_2
LBB0_9:
mov w22, #0
LBB0_10:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [x9]
add w0, w8, #1
add w8, w8, w22
str w8, [x9]
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 Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.cfi_endproc
; -- End function
.comm _OP_Null,4,2 ; @OP_Null
.comm _nth_valueName,8,3 ; @nth_valueName
.comm _first_valueName,8,3 ; @first_valueName
.comm _OP_Integer,4,2 ; @OP_Integer
.comm _SQLITE_FUNC_MINMAX,4,2 ; @SQLITE_FUNC_MINMAX
.comm _TK_UNBOUNDED,8,3 ; @TK_UNBOUNDED
.comm _OP_ResetSorter,4,2 ; @OP_ResetSorter
.no_dead_strip _windowInitAccum
.subsections_via_symbols
| AnghaBench/sqlcipher/src/extr_window.c_windowInitAccum.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cx8800_bit_setsda
_cx8800_bit_setsda: ## @cx8800_bit_setsda
.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
xorl %eax, %eax
testl %esi, %esi
setne %al
movl (%rdi), %ecx
andl $-2, %ecx
orl %ecx, %eax
movl %eax, (%rdi)
movq _MO_I2C@GOTPCREL(%rip), %rbx
movl (%rbx), %edi
movl %eax, %esi
callq _cx_write
movl (%rbx), %edi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _cx_read ## TAILCALL
.cfi_endproc
## -- End function
.comm _MO_I2C,4,2 ## @MO_I2C
.no_dead_strip _cx8800_bit_setsda
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cx8800_bit_setsda
_cx8800_bit_setsda: ; @cx8800_bit_setsda
.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
cmp w1, #0
cset w8, ne
ldr w9, [x0]
and w9, w9, #0xfffffffe
orr w1, w9, w8
str w1, [x0]
Lloh0:
adrp x19, _MO_I2C@GOTPAGE
Lloh1:
ldr x19, [x19, _MO_I2C@GOTPAGEOFF]
ldr w0, [x19]
bl _cx_write
ldr w0, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _cx_read
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _MO_I2C,4,2 ; @MO_I2C
.no_dead_strip _cx8800_bit_setsda
.subsections_via_symbols
| AnghaBench/linux/drivers/media/pci/cx88/extr_cx88-i2c.c_cx8800_bit_setsda.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.3(%rip), %rdi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.3: ## @.str.3
.asciz "OK\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 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.3@PAGE
Lloh1:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.3: ; @.str.3
.asciz "OK\n"
.subsections_via_symbols
| the_stack_data/98385.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _prec_redeclared ## -- Begin function prec_redeclared
.p2align 4, 0x90
_prec_redeclared: ## @prec_redeclared
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _myname@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movq _lineno@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _input_file_name@GOTPCREL(%rip), %rax
movq (%rax), %r8
leaq L_.str(%rip), %rsi
popq %rbp
jmp _fprintf ## TAILCALL
.cfi_endproc
## -- End function
.comm _stderr,4,2 ## @stderr
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: w - line %d of \"%s\", conflicting %%prec specifiers\n"
.comm _myname,8,3 ## @myname
.comm _lineno,4,2 ## @lineno
.comm _input_file_name,8,3 ## @input_file_name
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _prec_redeclared ; -- Begin function prec_redeclared
.p2align 2
_prec_redeclared: ; @prec_redeclared
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _stderr@GOTPAGE
Lloh1:
ldr x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x8, _myname@GOTPAGE
Lloh4:
ldr x8, [x8, _myname@GOTPAGEOFF]
Lloh5:
adrp x9, _lineno@GOTPAGE
Lloh6:
ldr x9, [x9, _lineno@GOTPAGEOFF]
Lloh7:
ldr x2, [x8]
Lloh8:
ldr w3, [x9]
Lloh9:
adrp x8, _input_file_name@GOTPAGE
Lloh10:
ldr x8, [x8, _input_file_name@GOTPAGEOFF]
Lloh11:
adrp x1, l_.str@PAGE
Lloh12:
add x1, x1, l_.str@PAGEOFF
Lloh13:
ldr x4, [x8]
b _fprintf
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh13
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh7
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _stderr,4,2 ; @stderr
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: w - line %d of \"%s\", conflicting %%prec specifiers\n"
.comm _myname,8,3 ; @myname
.comm _lineno,4,2 ; @lineno
.comm _input_file_name,8,3 ; @input_file_name
.subsections_via_symbols
| AnghaBench/freebsd/contrib/byacc/extr_error.c_prec_redeclared.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
subq $32, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movaps L___const.main.str(%rip), %xmm0
movaps %xmm0, -32(%rbp)
movb $0, -16(%rbp)
xorl %edx, %edx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpb $0, -31(%rbp,%rdx)
leaq 1(%rdx), %rdx
jne LBB0_1
## %bb.2:
leaq L_.str(%rip), %rdi
leaq -32(%rbp), %rsi
## kill: def $edx killed $edx killed $rdx
xorl %eax, %eax
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -8(%rbp), %rax
jne LBB0_4
## %bb.3:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
LBB0_4:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _strcount ## -- Begin function strcount
.p2align 4, 0x90
_strcount: ## @strcount
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpb $0, (%rdi)
je LBB1_4
## %bb.1:
xorl %eax, %eax
.p2align 4, 0x90
LBB1_2: ## =>This Inner Loop Header: Depth=1
cmpb $0, 1(%rdi,%rax)
leaq 1(%rax), %rax
jne LBB1_2
## %bb.3:
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
LBB1_4:
xorl %eax, %eax
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
.p2align 4 ## @__const.main.str
L___const.main.str:
.asciz "You and Starbuks"
L_.str: ## @.str
.asciz "count of '%s' = %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, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x8, #0
Lloh0:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
adrp x10, l___const.main.str@PAGE
add x10, x10, l___const.main.str@PAGEOFF
stur x9, [x29, #-8]
ldr q0, [x10]
str q0, [sp, #16]
strb wzr, [sp, #32]
add x9, sp, #16
orr x9, x9, #0x1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldrb w10, [x9, x8]
add x8, x8, #1
cbnz w10, LBB0_1
; %bb.2:
add x9, sp, #16
stp x9, x8, [sp]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur x8, [x29, #-8]
Lloh5:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh6:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_4
; %bb.3:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_4:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh3, Lloh4
.cfi_endproc
; -- End function
.globl _strcount ; -- Begin function strcount
.p2align 2
_strcount: ; @strcount
.cfi_startproc
; %bb.0:
ldrb w9, [x0]
cbz w9, LBB1_4
; %bb.1:
mov x8, x0
mov x0, #0
add x8, x8, #1
LBB1_2: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x8, x0]
add x0, x0, #1
cbnz w9, LBB1_2
; %bb.3:
; kill: def $w0 killed $w0 killed $x0
ret
LBB1_4:
mov w0, #0
; kill: def $w0 killed $w0 killed $x0
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l___const.main.str: ; @__const.main.str
.asciz "You and Starbuks"
l_.str: ; @.str
.asciz "count of '%s' = %d\n"
.subsections_via_symbols
| the_stack_data/192331956.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function kqueue_process
_kqueue_process: ## @kqueue_process
.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 %r8, -56(%rbp) ## 8-byte Spill
movq %rcx, %r12
movq %rdx, -88(%rbp) ## 8-byte Spill
movl %esi, %r13d
movq %rdi, %rbx
xorl %r14d, %r14d
xorl %eax, %eax
callq _current_thread
movl %eax, %edi
callq _get_bsdthread_info
testq %r12, %r12
je LBB0_2
## %bb.1:
movl (%r12), %r14d
LBB0_2:
movq (%rax), %r15
movq _KQ_WORKQ@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl (%rbx), %eax
je LBB0_6
## %bb.3:
testq %r15, %r15
je LBB0_5
## %bb.4:
movq _EJUSTRETURN@GOTPCREL(%rip), %rax
movl (%rax), %r15d
jmp LBB0_26
LBB0_6:
movq %rbx, %rdi
callq _kqfile_begin_processing
cmpl $-1, %eax
je LBB0_25
LBB0_8:
movq %r15, -72(%rbp) ## 8-byte Spill
movl %r14d, -44(%rbp) ## 4-byte Spill
xorl %edx, %edx
movq _EWOULDBLOCK@GOTPCREL(%rip), %rsi
xorl %r15d, %r15d
xorl %r14d, %r14d
movq %rbx, -80(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_9: ## =>This Loop Header: Depth=1
## Child Loop BB0_13 Depth 2
## Child Loop BB0_14 Depth 3
movl (%rbx), %eax
## implicit-def: $rdi
movq _KQ_WORKQ@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
jne LBB0_12
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
## implicit-def: $rdi
movq _KQ_WORKLOOP@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
jne LBB0_12
## %bb.11: ## in Loop: Header=BB0_9 Depth=1
movq _QOS_INDEX_KQFILE@GOTPCREL(%rip), %rax
movq (%rax), %rdi
shlq $2, %rdi
addq 8(%rbx), %rdi
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_9 Depth=1
movq %rdi, %rbx
movq %rdi, -64(%rbp) ## 8-byte Spill
jmp LBB0_13
LBB0_15: ## in Loop: Header=BB0_13 Depth=2
xorl %r15d, %r15d
LBB0_17: ## in Loop: Header=BB0_13 Depth=2
xorl %edx, %edx
movq _EWOULDBLOCK@GOTPCREL(%rip), %rsi
movq -64(%rbp), %rdi ## 8-byte Reload
LBB0_18: ## in Loop: Header=BB0_13 Depth=2
cmpl (%rsi), %r15d
cmovel %edx, %r15d
leaq -4(%rbx), %rax
cmpq %rdi, %rbx
movq %rax, %rbx
jbe LBB0_19
LBB0_13: ## Parent Loop BB0_9 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_14 Depth 3
testl %r15d, %r15d
jne LBB0_18
.p2align 4, 0x90
LBB0_14: ## Parent Loop BB0_9 Depth=1
## Parent Loop BB0_13 Depth=2
## => This Inner Loop Header: Depth=3
movq %rbx, %rdi
callq _TAILQ_FIRST
testq %rax, %rax
je LBB0_15
## %bb.16: ## in Loop: Header=BB0_14 Depth=3
movq %rax, %rdi
movl %r13d, %esi
movq -88(%rbp), %rdx ## 8-byte Reload
movq %r12, %rcx
callq _knote_process
movl %eax, %r15d
xorl %eax, %eax
movq _EJUSTRETURN@GOTPCREL(%rip), %rcx
cmpl (%rcx), %r15d
sete %cl
setne %al
addl %eax, %r14d
testl %r15d, %r15d
sete %al
orb %cl, %al
jne LBB0_14
jmp LBB0_17
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_9 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movl %r14d, (%rax)
movl %r15d, %eax
orl %r14d, %eax
movq _KEVENT_FLAG_PARKING@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
movl $-1, %ecx
cmovel %ecx, %eax
movl -44(%rbp), %edx ## 4-byte Reload
andl %eax, %edx
movq -80(%rbp), %rbx ## 8-byte Reload
movl (%rbx), %eax
movq _KQ_WORKQ@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
movl %edx, -44(%rbp) ## 4-byte Spill
je LBB0_21
## %bb.20: ## in Loop: Header=BB0_9 Depth=1
xorl %edi, %edi
movq -72(%rbp), %rsi ## 8-byte Reload
callq _kqworkq_end_processing
cmpl $-1, %eax
je LBB0_24
jmp LBB0_26
.p2align 4, 0x90
LBB0_21: ## in Loop: Header=BB0_9 Depth=1
movq _KQ_WORKLOOP@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_27
## %bb.22: ## in Loop: Header=BB0_9 Depth=1
movq _KQ_PROCESSING@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %edi, %edi
movl -44(%rbp), %edx ## 4-byte Reload
callq _kqworkloop_end_processing
cmpl $-1, %eax
jne LBB0_26
LBB0_24: ## in Loop: Header=BB0_9 Depth=1
movq _KEVENT_FLAG_PARKING@GOTPCREL(%rip), %rax
movl (%rax), %edi
andl -44(%rbp), %edi ## 4-byte Folded Reload
callq _assert
xorl %edx, %edx
movq _EWOULDBLOCK@GOTPCREL(%rip), %rsi
jmp LBB0_9
LBB0_5:
xorl %edi, %edi
xorl %esi, %esi
movl %r14d, %edx
callq _kqworkq_begin_processing
cmpl $-1, %eax
jne LBB0_8
LBB0_25:
movq -56(%rbp), %rax ## 8-byte Reload
movl $0, (%rax)
xorl %r15d, %r15d
jmp LBB0_26
LBB0_27:
movq %rbx, %rdi
callq _kqfile_end_processing
LBB0_26:
movl %r15d, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _KQ_WORKQ,4,2 ## @KQ_WORKQ
.comm _KQR_WORKLOOP,4,2 ## @KQR_WORKLOOP
.comm _EJUSTRETURN,4,2 ## @EJUSTRETURN
.comm _KQ_WORKLOOP,4,2 ## @KQ_WORKLOOP
.comm _KQWL_NBUCKETS,4,2 ## @KQWL_NBUCKETS
.comm _QOS_INDEX_KQFILE,8,3 ## @QOS_INDEX_KQFILE
.comm _EWOULDBLOCK,4,2 ## @EWOULDBLOCK
.comm _KEVENT_FLAG_PARKING,4,2 ## @KEVENT_FLAG_PARKING
.comm _KQ_PROCESSING,4,2 ## @KQ_PROCESSING
.no_dead_strip _kqueue_process
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function kqueue_process
_kqueue_process: ; @kqueue_process
.cfi_startproc
; %bb.0:
sub sp, sp, #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
str x4, [sp, #8] ; 8-byte Folded Spill
mov x20, x3
mov x22, x2
mov x23, x1
mov x21, x0
bl _current_thread
bl _get_bsdthread_info
cbz x20, LBB0_2
; %bb.1:
ldr w24, [x20]
b LBB0_3
LBB0_2:
mov w24, #0 ; =0x0
LBB0_3:
ldr x19, [x0]
ldr w8, [x21]
Lloh0:
adrp x27, _KQ_WORKQ@GOTPAGE
Lloh1:
ldr x27, [x27, _KQ_WORKQ@GOTPAGEOFF]
ldr w9, [x27]
orr w8, w9, w8
cbz w8, LBB0_6
; %bb.4:
cbz x19, LBB0_22
; %bb.5:
Lloh2:
adrp x8, _EJUSTRETURN@GOTPAGE
Lloh3:
ldr x8, [x8, _EJUSTRETURN@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
b LBB0_26
LBB0_6:
mov x0, x21
bl _kqfile_begin_processing
cmn w0, #1
b.eq LBB0_23
LBB0_7:
str x19, [sp] ; 8-byte Folded Spill
mov w0, #0 ; =0x0
mov w28, #0 ; =0x0
Lloh5:
adrp x25, _EJUSTRETURN@GOTPAGE
Lloh6:
ldr x25, [x25, _EJUSTRETURN@GOTPAGEOFF]
Lloh7:
adrp x19, _EWOULDBLOCK@GOTPAGE
Lloh8:
ldr x19, [x19, _EWOULDBLOCK@GOTPAGEOFF]
b LBB0_11
LBB0_8: ; in Loop: Header=BB0_11 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
str w28, [x8]
orr w8, w0, w28
Lloh9:
adrp x9, _KEVENT_FLAG_PARKING@GOTPAGE
Lloh10:
ldr x9, [x9, _KEVENT_FLAG_PARKING@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
cmp w8, #0
mov w8, #-1 ; =0xffffffff
csinv w8, w8, w9, eq
and w24, w8, w24
ldr w8, [x21]
Lloh12:
adrp x27, _KQ_WORKQ@GOTPAGE
Lloh13:
ldr x27, [x27, _KQ_WORKQ@GOTPAGEOFF]
ldr w9, [x27]
mov x26, x0
tst w9, w8
b.eq LBB0_20
; %bb.9: ; in Loop: Header=BB0_11 Depth=1
mov x0, #0 ; =0x0
ldr x1, [sp] ; 8-byte Folded Reload
mov x2, x24
bl _kqworkq_end_processing
cmn w0, #1
b.ne LBB0_25
LBB0_10: ; in Loop: Header=BB0_11 Depth=1
Lloh14:
adrp x8, _KEVENT_FLAG_PARKING@GOTPAGE
Lloh15:
ldr x8, [x8, _KEVENT_FLAG_PARKING@GOTPAGEOFF]
Lloh16:
ldr w8, [x8]
and w0, w8, w24
bl _assert
mov x0, x26
LBB0_11: ; =>This Loop Header: Depth=1
; Child Loop BB0_16 Depth 2
; Child Loop BB0_17 Depth 3
ldr w8, [x21]
ldr w9, [x27]
; implicit-def: $x27
tst w9, w8
b.ne LBB0_14
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
Lloh17:
adrp x9, _KQ_WORKLOOP@GOTPAGE
Lloh18:
ldr x9, [x9, _KQ_WORKLOOP@GOTPAGEOFF]
Lloh19:
ldr w9, [x9]
; implicit-def: $x27
tst w9, w8
b.ne LBB0_14
; %bb.13: ; in Loop: Header=BB0_11 Depth=1
ldr x8, [x21, #8]
Lloh20:
adrp x9, _QOS_INDEX_KQFILE@GOTPAGE
Lloh21:
ldr x9, [x9, _QOS_INDEX_KQFILE@GOTPAGEOFF]
Lloh22:
ldr x9, [x9]
add x27, x8, x9, lsl #2
LBB0_14: ; in Loop: Header=BB0_11 Depth=1
mov x26, x27
b LBB0_16
LBB0_15: ; in Loop: Header=BB0_16 Depth=2
ldr w8, [x19]
cmp w0, w8
csel w0, wzr, w0, eq
sub x8, x26, #4
cmp x26, x27
mov x26, x8
b.ls LBB0_8
LBB0_16: ; Parent Loop BB0_11 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_17 Depth 3
cbnz w0, LBB0_15
LBB0_17: ; Parent Loop BB0_11 Depth=1
; Parent Loop BB0_16 Depth=2
; => This Inner Loop Header: Depth=3
mov x0, x26
bl _TAILQ_FIRST
cbz x0, LBB0_15
; %bb.18: ; in Loop: Header=BB0_17 Depth=3
mov x1, x23
mov x2, x22
mov x3, x20
bl _knote_process
ldr w8, [x25]
cmp w0, w8
cinc w28, w28, ne
cbz w0, LBB0_17
; %bb.19: ; in Loop: Header=BB0_17 Depth=3
b.eq LBB0_17
b LBB0_15
LBB0_20: ; in Loop: Header=BB0_11 Depth=1
Lloh23:
adrp x9, _KQ_WORKLOOP@GOTPAGE
Lloh24:
ldr x9, [x9, _KQ_WORKLOOP@GOTPAGEOFF]
Lloh25:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_24
; %bb.21: ; in Loop: Header=BB0_11 Depth=1
Lloh26:
adrp x8, _KQ_PROCESSING@GOTPAGE
Lloh27:
ldr x8, [x8, _KQ_PROCESSING@GOTPAGEOFF]
Lloh28:
ldr w1, [x8]
mov x0, #0 ; =0x0
mov x2, x24
bl _kqworkloop_end_processing
cmn w0, #1
b.eq LBB0_10
b LBB0_25
LBB0_22:
mov x0, #0 ; =0x0
mov x1, #0 ; =0x0
mov x2, x24
bl _kqworkq_begin_processing
cmn w0, #1
b.ne LBB0_7
LBB0_23:
mov w0, #0 ; =0x0
ldr x8, [sp, #8] ; 8-byte Folded Reload
str wzr, [x8]
b LBB0_26
LBB0_24:
mov x0, x21
bl _kqfile_end_processing
LBB0_25:
mov x0, x26
LBB0_26:
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 Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.cfi_endproc
; -- End function
.comm _KQ_WORKQ,4,2 ; @KQ_WORKQ
.comm _KQR_WORKLOOP,4,2 ; @KQR_WORKLOOP
.comm _EJUSTRETURN,4,2 ; @EJUSTRETURN
.comm _KQ_WORKLOOP,4,2 ; @KQ_WORKLOOP
.comm _KQWL_NBUCKETS,4,2 ; @KQWL_NBUCKETS
.comm _QOS_INDEX_KQFILE,8,3 ; @QOS_INDEX_KQFILE
.comm _EWOULDBLOCK,4,2 ; @EWOULDBLOCK
.comm _KEVENT_FLAG_PARKING,4,2 ; @KEVENT_FLAG_PARKING
.comm _KQ_PROCESSING,4,2 ; @KQ_PROCESSING
.no_dead_strip _kqueue_process
.subsections_via_symbols
| assembly_file_64619.c | assembly_dataset |
.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/17261.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function flv_probe
_flv_probe: ## @flv_probe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %esi, %esi
popq %rbp
jmp _probe ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _flv_probe
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function flv_probe
_flv_probe: ; @flv_probe
.cfi_startproc
; %bb.0:
mov w1, #0
b _probe
.cfi_endproc
; -- End function
.no_dead_strip _flv_probe
.subsections_via_symbols
| AnghaBench/FFmpeg/libavformat/extr_flvdec.c_flv_probe.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ath5k_sysfs_register ## -- Begin function ath5k_sysfs_register
.p2align 4, 0x90
_ath5k_sysfs_register: ## @ath5k_sysfs_register
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
movq (%rdi), %rdi
movq _ath5k_attribute_group_ani@GOTPCREL(%rip), %rsi
callq _sysfs_create_group
movl %eax, %ebx
testl %eax, %eax
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rsi
movq %r14, %rdi
callq _ATH5K_ERR
LBB0_2:
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ath5k_attribute_group_ani,4,2 ## @ath5k_attribute_group_ani
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "failed to create sysfs group\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ath5k_sysfs_register ; -- Begin function ath5k_sysfs_register
.p2align 2
_ath5k_sysfs_register: ; @ath5k_sysfs_register
.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 x0, [x0]
Lloh0:
adrp x1, _ath5k_attribute_group_ani@GOTPAGE
Lloh1:
ldr x1, [x1, _ath5k_attribute_group_ani@GOTPAGEOFF]
bl _sysfs_create_group
mov x20, x0
cbz w0, LBB0_2
; %bb.1:
Lloh2:
adrp x1, l_.str@PAGE
Lloh3:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _ATH5K_ERR
LBB0_2:
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _ath5k_attribute_group_ani,4,2 ; @ath5k_attribute_group_ani
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "failed to create sysfs group\n"
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath5k/extr_sysfs.c_ath5k_sysfs_register.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function davinci_pcm_free
_davinci_pcm_free: ## @davinci_pcm_free
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
movq 8(%rdi), %rax
movq (%rax), %rbx
testq %rbx, %rbx
je LBB0_3
## %bb.1:
movq (%rbx), %rdx
testq %rdx, %rdx
je LBB0_3
## %bb.2:
movq (%r14), %rax
movl (%rax), %edi
movl 8(%rbx), %ecx
movl 12(%rbx), %esi
callq _dma_free_writecombine
movq $0, (%rbx)
movq 8(%r14), %rax
LBB0_3:
movq 8(%rax), %rbx
testq %rbx, %rbx
je LBB0_6
## %bb.4:
movq (%rbx), %rdx
testq %rdx, %rdx
je LBB0_6
## %bb.5:
movq (%r14), %rax
movl (%rax), %edi
movl 8(%rbx), %ecx
movl 12(%rbx), %esi
callq _dma_free_writecombine
movq $0, (%rbx)
LBB0_6:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _davinci_pcm_free
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function davinci_pcm_free
_davinci_pcm_free: ; @davinci_pcm_free
.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, #8]
ldr x20, [x8]
cbz x20, LBB0_3
; %bb.1:
ldr x2, [x20]
cbz x2, LBB0_3
; %bb.2:
ldr x8, [x19]
ldr w0, [x8]
ldp w3, w1, [x20, #8]
bl _dma_free_writecombine
str xzr, [x20]
ldr x8, [x19, #8]
LBB0_3:
ldr x20, [x8, #8]
cbz x20, LBB0_6
; %bb.4:
ldr x2, [x20]
cbz x2, LBB0_6
; %bb.5:
ldr x8, [x19]
ldr w0, [x8]
ldp w3, w1, [x20, #8]
bl _dma_free_writecombine
str xzr, [x20]
LBB0_6:
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 _davinci_pcm_free
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/sound/soc/davinci/extr_davinci-pcm.c_davinci_pcm_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function qlcnic_register_dcb
_qlcnic_register_dcb: ## @qlcnic_register_dcb
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _qlcnic_register_dcb
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function qlcnic_register_dcb
_qlcnic_register_dcb: ; @qlcnic_register_dcb
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.no_dead_strip _qlcnic_register_dcb
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic_dcb.h_qlcnic_register_dcb.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function addtoclib
_addtoclib: ## @addtoclib
.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 %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq _LUA_REGISTRYINDEX@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _CLIBS@GOTPCREL(%rip), %rdx
callq _lua_rawgetp
movq %rbx, %rdi
movq %r14, %rsi
callq _lua_pushlightuserdata
movq %rbx, %rdi
movl $-1, %esi
callq _lua_pushvalue
movq %rbx, %rdi
movl $-3, %esi
movq %r15, %rdx
callq _lua_setfield
movq %rbx, %rdi
movl $-2, %esi
callq _luaL_len
leaq 1(%rax), %rdx
movq %rbx, %rdi
movl $-2, %esi
callq _lua_rawseti
movq %rbx, %rdi
movl $1, %esi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _lua_pop ## TAILCALL
.cfi_endproc
## -- End function
.comm _LUA_REGISTRYINDEX,4,2 ## @LUA_REGISTRYINDEX
.comm _CLIBS,4,2 ## @CLIBS
.no_dead_strip _addtoclib
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function addtoclib
_addtoclib: ; @addtoclib
.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, x2
mov x20, x1
mov x21, x0
Lloh0:
adrp x8, _LUA_REGISTRYINDEX@GOTPAGE
Lloh1:
ldr x8, [x8, _LUA_REGISTRYINDEX@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x2, _CLIBS@GOTPAGE
Lloh4:
ldr x2, [x2, _CLIBS@GOTPAGEOFF]
bl _lua_rawgetp
mov x0, x21
mov x1, x19
bl _lua_pushlightuserdata
mov x0, x21
mov w1, #-1
bl _lua_pushvalue
mov x0, x21
mov w1, #-3
mov x2, x20
bl _lua_setfield
mov x0, x21
mov w1, #-2
bl _luaL_len
add x2, x0, #1
mov x0, x21
mov w1, #-2
bl _lua_rawseti
mov x0, x21
mov w1, #1
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 _lua_pop
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _LUA_REGISTRYINDEX,4,2 ; @LUA_REGISTRYINDEX
.comm _CLIBS,4,2 ; @CLIBS
.no_dead_strip _addtoclib
.subsections_via_symbols
| AnghaBench/skynet/3rd/lua/extr_loadlib.c_addtoclib.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function soc15_update_drm_clock_gating
_soc15_update_drm_clock_gating: ## @soc15_update_drm_clock_gating
.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 %esi, %ebx
movq %rdi, %r14
movq _MP0@GOTPCREL(%rip), %r15
movl (%r15), %edi
movq _mmMP0_MISC_CGTT_CTRL0@GOTPCREL(%rip), %r12
movl (%r12), %edx
xorl %esi, %esi
callq _SOC15_REG_OFFSET
movl %eax, %edi
callq _RREG32
testl %ebx, %ebx
je LBB0_3
## %bb.1:
movq _AMD_CG_SUPPORT_DRM_MGCG@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, (%r14)
je LBB0_3
## %bb.2:
movl %eax, %ebx
andl $16777215, %ebx ## imm = 0xFFFFFF
cmpl %ebx, %eax
je LBB0_5
LBB0_6:
movl (%r15), %edi
movl (%r12), %edx
xorl %esi, %esi
callq _SOC15_REG_OFFSET
movl %eax, %edi
movl %ebx, %esi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _WREG32 ## TAILCALL
LBB0_3:
movl %eax, %ebx
orl $-16777216, %ebx ## imm = 0xFF000000
cmpl %ebx, %eax
jne LBB0_6
LBB0_5:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MP0,4,2 ## @MP0
.comm _mmMP0_MISC_CGTT_CTRL0,4,2 ## @mmMP0_MISC_CGTT_CTRL0
.comm _AMD_CG_SUPPORT_DRM_MGCG,4,2 ## @AMD_CG_SUPPORT_DRM_MGCG
.no_dead_strip _soc15_update_drm_clock_gating
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function soc15_update_drm_clock_gating
_soc15_update_drm_clock_gating: ; @soc15_update_drm_clock_gating
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
Lloh0:
adrp x21, _MP0@GOTPAGE
Lloh1:
ldr x21, [x21, _MP0@GOTPAGEOFF]
ldr w0, [x21]
Lloh2:
adrp x22, _mmMP0_MISC_CGTT_CTRL0@GOTPAGE
Lloh3:
ldr x22, [x22, _mmMP0_MISC_CGTT_CTRL0@GOTPAGEOFF]
ldr w2, [x22]
mov w1, #0
bl _SOC15_REG_OFFSET
bl _RREG32
cbz w20, LBB0_4
; %bb.1:
ldr w8, [x19]
Lloh4:
adrp x9, _AMD_CG_SUPPORT_DRM_MGCG@GOTPAGE
Lloh5:
ldr x9, [x9, _AMD_CG_SUPPORT_DRM_MGCG@GOTPAGEOFF]
Lloh6:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_4
; %bb.2:
and w19, w0, #0xffffff
cmp w0, w19
b.eq LBB0_5
LBB0_3:
ldr w0, [x21]
ldr w2, [x22]
mov w1, #0
bl _SOC15_REG_OFFSET
mov x1, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _WREG32
LBB0_4:
orr w19, w0, #0xff000000
cmp w0, w19
b.ne LBB0_3
LBB0_5:
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 Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _MP0,4,2 ; @MP0
.comm _mmMP0_MISC_CGTT_CTRL0,4,2 ; @mmMP0_MISC_CGTT_CTRL0
.comm _AMD_CG_SUPPORT_DRM_MGCG,4,2 ; @AMD_CG_SUPPORT_DRM_MGCG
.no_dead_strip _soc15_update_drm_clock_gating
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_soc15.c_soc15_update_drm_clock_gating.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _reuse_swap_page ## -- Begin function reuse_swap_page
.p2align 4, 0x90
_reuse_swap_page: ## @reuse_swap_page
.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 %rsi, %r12
movq %rdi, %rbx
callq _PageLocked
xorl %edi, %edi
testl %eax, %eax
sete %dil
movq %rbx, %rsi
callq _VM_BUG_ON_PAGE
movq %rbx, %rdi
callq _PageKsm
movl %eax, %edi
callq _unlikely
xorl %r14d, %r14d
testq %rax, %rax
jne LBB0_11
## %bb.1:
leaq -40(%rbp), %rsi
leaq -36(%rbp), %rdx
movq %rbx, %rdi
callq _page_trans_huge_map_swapcount
movl %eax, %r15d
testq %r12, %r12
je LBB0_3
## %bb.2:
movl -36(%rbp), %eax
addl -40(%rbp), %eax
movl %eax, (%r12)
LBB0_3:
cmpl $1, %r15d
jne LBB0_10
## %bb.4:
movq %rbx, %rdi
callq _PageSwapCache
testq %rax, %rax
je LBB0_10
## %bb.5:
movq %rbx, %rdi
callq _PageTransCompound
xorl %edi, %edi
testl %eax, %eax
sete %dil
callq _likely
testq %rax, %rax
jne LBB0_7
## %bb.6:
movl -36(%rbp), %r12d
movq %rbx, %rdi
callq _page_swapcount
cmpl %eax, %r12d
jne LBB0_10
LBB0_7:
movq %rbx, %rdi
callq _PageWriteback
movq %rbx, %rdi
testl %eax, %eax
je LBB0_8
## %bb.9:
callq _page_private
movl %eax, %edi
callq _swap_info_get
movq _SWP_STABLE_WRITES@GOTPCREL(%rip), %rcx
movl (%rcx), %ebx
andl (%rax), %ebx
leaq 4(%rax), %rdi
callq _spin_unlock
testl %ebx, %ebx
jne LBB0_11
jmp LBB0_10
LBB0_8:
callq _compound_head
movq %rax, %rbx
movq %rax, %rdi
callq _delete_from_swap_cache
movq %rbx, %rdi
callq _SetPageDirty
LBB0_10:
xorl %r14d, %r14d
cmpl $2, %r15d
setl %r14b
LBB0_11:
movl %r14d, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SWP_STABLE_WRITES,4,2 ## @SWP_STABLE_WRITES
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _reuse_swap_page ; -- Begin function reuse_swap_page
.p2align 2
_reuse_swap_page: ; @reuse_swap_page
.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 x21, x1
mov x20, x0
bl _PageLocked
cmp w0, #0
cset w0, eq
mov x1, x20
bl _VM_BUG_ON_PAGE
mov x0, x20
bl _PageKsm
bl _unlikely
cbz x0, LBB0_2
LBB0_1:
mov w0, #0
b LBB0_12
LBB0_2:
add x1, sp, #12
add x2, sp, #8
mov x0, x20
bl _page_trans_huge_map_swapcount
mov x19, x0
cbz x21, LBB0_4
; %bb.3:
ldp w9, w8, [sp, #8]
add w8, w9, w8
str w8, [x21]
LBB0_4:
cmp w19, #1
b.ne LBB0_11
; %bb.5:
mov x0, x20
bl _PageSwapCache
cbz x0, LBB0_11
; %bb.6:
mov x0, x20
bl _PageTransCompound
cmp w0, #0
cset w0, eq
bl _likely
cbnz x0, LBB0_8
; %bb.7:
ldr w21, [sp, #8]
mov x0, x20
bl _page_swapcount
cmp w21, w0
b.ne LBB0_11
LBB0_8:
mov x0, x20
bl _PageWriteback
cbz w0, LBB0_10
; %bb.9:
mov x0, x20
bl _page_private
mov w0, w0
bl _swap_info_get
ldr w8, [x0], #4
Lloh0:
adrp x9, _SWP_STABLE_WRITES@GOTPAGE
Lloh1:
ldr x9, [x9, _SWP_STABLE_WRITES@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
and w20, w9, w8
bl _spin_unlock
cbnz w20, LBB0_1
b LBB0_11
LBB0_10:
mov x0, x20
bl _compound_head
mov x20, x0
bl _delete_from_swap_cache
mov x0, x20
bl _SetPageDirty
LBB0_11:
cmp w19, #2
cset w0, lt
LBB0_12:
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
.cfi_endproc
; -- End function
.comm _SWP_STABLE_WRITES,4,2 ; @SWP_STABLE_WRITES
.subsections_via_symbols
| AnghaBench/linux/mm/extr_swapfile.c_reuse_swap_page.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function chipc_detach
_chipc_detach: ## @chipc_detach
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %edi, %ebx
callq _device_get_softc
movq %rax, %r14
movl %ebx, %edi
callq _bus_generic_detach
testl %eax, %eax
jne LBB0_4
## %bb.1:
movl %ebx, %edi
callq _device_delete_children
testl %eax, %eax
jne LBB0_4
## %bb.2:
movq _BHND_SERVICE_ANY@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %ebx, %edi
callq _bhnd_deregister_provider
testl %eax, %eax
jne LBB0_4
## %bb.3:
movl (%r14), %esi
movq _RF_ALLOCATED@GOTPCREL(%rip), %rax
movq _RF_ACTIVE@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
orl (%rax), %edx
movq %r14, %rdi
callq _chipc_release_region
movq %r14, %rdi
callq _chipc_free_rman
movq %r14, %rdi
callq _CHIPC_LOCK_DESTROY
xorl %eax, %eax
LBB0_4:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _BHND_SERVICE_ANY,4,2 ## @BHND_SERVICE_ANY
.comm _RF_ALLOCATED,4,2 ## @RF_ALLOCATED
.comm _RF_ACTIVE,4,2 ## @RF_ACTIVE
.no_dead_strip _chipc_detach
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function chipc_detach
_chipc_detach: ; @chipc_detach
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x0
bl _device_get_softc
mov x19, x0
mov x0, x20
bl _bus_generic_detach
cbnz w0, LBB0_4
; %bb.1:
mov x0, x20
bl _device_delete_children
cbnz w0, LBB0_4
; %bb.2:
Lloh0:
adrp x8, _BHND_SERVICE_ANY@GOTPAGE
Lloh1:
ldr x8, [x8, _BHND_SERVICE_ANY@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x20
bl _bhnd_deregister_provider
cbnz w0, LBB0_4
; %bb.3:
Lloh3:
adrp x8, _RF_ALLOCATED@GOTPAGE
Lloh4:
ldr x8, [x8, _RF_ALLOCATED@GOTPAGEOFF]
ldr w1, [x19]
Lloh5:
ldr w8, [x8]
Lloh6:
adrp x9, _RF_ACTIVE@GOTPAGE
Lloh7:
ldr x9, [x9, _RF_ACTIVE@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
orr w2, w9, w8
mov x0, x19
bl _chipc_release_region
mov x0, x19
bl _chipc_free_rman
mov x0, x19
bl _CHIPC_LOCK_DESTROY
mov w0, #0
LBB0_4:
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 _BHND_SERVICE_ANY,4,2 ; @BHND_SERVICE_ANY
.comm _RF_ALLOCATED,4,2 ; @RF_ALLOCATED
.comm _RF_ACTIVE,4,2 ; @RF_ACTIVE
.no_dead_strip _chipc_detach
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/bhnd/cores/chipc/extr_chipc.c_chipc_detach.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function isl29003_store_mode
_isl29003_store_mode: ## @isl29003_store_mode
.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 %rcx, %rbx
movq %rdx, %r15
callq _to_i2c_client
movq %rax, %r14
leaq -32(%rbp), %rdx
movq %r15, %rdi
movl $10, %esi
callq _strict_strtoul
testq %rax, %rax
js LBB0_2
## %bb.1:
movq -32(%rbp), %rsi
cmpq $3, %rsi
jae LBB0_2
## %bb.3:
movq %r14, %rdi
callq _isl29003_set_mode
testl %eax, %eax
cmovsl %eax, %ebx
jmp LBB0_4
LBB0_2:
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
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 _EINVAL,4,2 ## @EINVAL
.no_dead_strip _isl29003_store_mode
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function isl29003_store_mode
_isl29003_store_mode: ; @isl29003_store_mode
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x3
mov x21, x2
bl _to_i2c_client
mov x20, x0
add x2, sp, #8
mov x0, x21
mov w1, #10
bl _strict_strtoul
tbnz x0, #63, LBB0_3
; %bb.1:
ldr x1, [sp, #8]
cmp x1, #3
b.hs LBB0_3
; %bb.2:
mov x0, x20
bl _isl29003_set_mode
cmp w0, #0
csel w0, w0, w19, lt
b LBB0_4
LBB0_3:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
LBB0_4:
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
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _isl29003_store_mode
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/misc/extr_isl29003.c_isl29003_store_mode.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function page_to_mp
_page_to_mp: ## @page_to_mp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
callq _PagePrivate
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rbx, %rdi
callq _page_private
jmp LBB0_3
LBB0_1:
xorl %eax, %eax
LBB0_3:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _page_to_mp
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function page_to_mp
_page_to_mp: ; @page_to_mp
.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 _PagePrivate
cbz x0, LBB0_2
; %bb.1:
mov x0, x19
bl _page_private
LBB0_2:
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 _page_to_mp
.subsections_via_symbols
| AnghaBench/linux/fs/jfs/extr_jfs_metapage.c_page_to_mp.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function escape_string
_escape_string: ## @escape_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 %r13
pushq %r12
pushq %rbx
subq $1048, %rsp ## imm = 0x418
.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)
callq _jv_get_kind
movq _JV_KIND_STRING@GOTPCREL(%rip), %rcx
xorl %edi, %edi
cmpq (%rcx), %rax
sete %dil
callq _assert
leaq -1072(%rbp), %rdi
movl $1024, %esi ## imm = 0x400
callq ___bzero
leaq L_.str(%rip), %rax
movq %rax, -1072(%rbp)
movzbl (%r14), %eax
testb %al, %al
je LBB0_3
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
leaq 1(%r14), %rcx
movsbq %al, %rax
movq %rcx, -1072(%rbp,%rax,8)
leaq -1(%r14), %rdi
callq _strlen
movslq %eax, %rcx
movzbl (%r14,%rcx), %eax
addq %rcx, %r14
decq %r14
incq %r14
testb %al, %al
jne LBB0_1
LBB0_3:
leaq L_.str.1(%rip), %rdi
callq _jv_string
movl %eax, %r14d
movl %ebx, %edi
callq _jv_string_value
movq %rax, %r12
movl %ebx, %edi
callq _jv_copy
movl %eax, %edi
callq _jv_string_length_bytes
movslq %eax, %r15
addq %r12, %r15
movl $0, -1076(%rbp)
leaq -1076(%rbp), %rdx
movq %r12, %r13
movq %r12, %rdi
movq %r15, %rsi
callq _jvp_utf8_next
testq %rax, %rax
je LBB0_10
## %bb.4:
leaq -1076(%rbp), %r12
movq %r13, %rsi
jmp LBB0_5
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
movl %r13d, %edx
subl %esi, %edx
movl %r14d, %edi
callq _jv_string_append_buf
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
movl %eax, %r14d
movq %r13, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq _jvp_utf8_next
movq %r13, %rsi
testq %rax, %rax
je LBB0_10
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq %rax, %r13
movslq -1076(%rbp), %rax
cmpq $128, %rax
jg LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq -1072(%rbp,%rax,8), %rax
testq %rax, %rax
je LBB0_8
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl %r14d, %edi
movq %rax, %rsi
callq _jv_string_append_str
jmp LBB0_9
LBB0_10:
movl %ebx, %edi
callq _jv_free
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_12
## %bb.11:
movl %r14d, %eax
addq $1048, %rsp ## imm = 0x418
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_12:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _JV_KIND_STRING,8,3 ## @JV_KIND_STRING
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\\0"
L_.str.1: ## @.str.1
.space 1
.no_dead_strip _escape_string
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function escape_string
_escape_string: ; @escape_string
.cfi_startproc
; %bb.0:
stp x28, x27, [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
sub sp, sp, #1040
.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 w27, -72
.cfi_offset w28, -80
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, #-72]
bl _jv_get_kind
Lloh3:
adrp x8, _JV_KIND_STRING@GOTPAGE
Lloh4:
ldr x8, [x8, _JV_KIND_STRING@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
cmp x0, x8
cset w0, eq
bl _assert
add x21, sp, #8
add x0, x21, #8
mov w1, #1016 ; =0x3f8
bl _bzero
Lloh6:
adrp x8, l_.str@PAGE
Lloh7:
add x8, x8, l_.str@PAGEOFF
str x8, [sp, #8]
ldrb w8, [x20]
cbz w8, LBB0_2
LBB0_1: ; =>This Inner Loop Header: Depth=1
add x9, x20, #1
sxtb x8, w8
str x9, [x21, x8, lsl #3]
sub x20, x20, #1
mov x0, x20
bl _strlen
add x20, x20, w0, sxtw
ldrb w8, [x20, #1]!
cbnz w8, LBB0_1
LBB0_2:
Lloh8:
adrp x0, l_.str.1@PAGE
Lloh9:
add x0, x0, l_.str.1@PAGEOFF
bl _jv_string
mov x20, x0
mov x0, x19
bl _jv_string_value
mov x22, x0
mov x0, x19
bl _jv_copy
bl _jv_string_length_bytes
add x21, x22, w0, sxtw
str wzr, [sp, #4]
add x2, sp, #4
mov x24, x22
mov x0, x22
mov x1, x21
bl _jvp_utf8_next
cbz x0, LBB0_9
; %bb.3:
add x23, sp, #8
mov x1, x24
b LBB0_6
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
sub w2, w22, w1
mov x0, x20
bl _jv_string_append_buf
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
mov x20, x0
add x2, sp, #4
mov x0, x22
mov x1, x21
bl _jvp_utf8_next
mov x1, x22
cbz x0, LBB0_9
LBB0_6: ; =>This Inner Loop Header: Depth=1
mov x22, x0
ldrsw x8, [sp, #4]
cmp w8, #128
b.gt LBB0_4
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [x23, x8, lsl #3]
cbz x8, LBB0_4
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
mov x0, x20
mov x1, x8
bl _jv_string_append_str
b LBB0_5
LBB0_9:
mov x0, x19
bl _jv_free
ldur x8, [x29, #-72]
Lloh10:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh11:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_11
; %bb.10:
mov x0, x20
add sp, sp, #1040
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 x28, x27, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_11:
bl ___stack_chk_fail
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.cfi_endproc
; -- End function
.comm _JV_KIND_STRING,8,3 ; @JV_KIND_STRING
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\\0"
l_.str.1: ; @.str.1
.space 1
.no_dead_strip _escape_string
.subsections_via_symbols
| assembly_file_117993.c | assembly_dataset |
.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/168894252.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ath10k_snoc_vreg_off
_ath10k_snoc_vreg_off: ## @ath10k_snoc_vreg_off
.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
callq _ath10k_snoc_priv
movq %rax, %r15
movq _vreg_cfg@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _ARRAY_SIZE
testl %eax, %eax
jle LBB0_1
## %bb.2:
movl %eax, %ebx
incq %rbx
xorl %eax, %eax
jmp LBB0_3
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
decq %rbx
cmpq $1, %rbx
jbe LBB0_6
LBB0_3: ## =>This Inner Loop Header: Depth=1
leal -2(%rbx), %ecx
movq (%r15), %rdx
cmpl $0, (%rdx,%rcx,4)
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
leaq (%rdx,%rcx,4), %rsi
movq %r14, %rdi
callq ___ath10k_snoc_vreg_off
jmp LBB0_5
LBB0_1:
xorl %eax, %eax
LBB0_6:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _vreg_cfg,4,2 ## @vreg_cfg
.no_dead_strip _ath10k_snoc_vreg_off
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ath10k_snoc_vreg_off
_ath10k_snoc_vreg_off: ; @ath10k_snoc_vreg_off
.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
bl _ath10k_snoc_priv
mov x20, x0
Lloh0:
adrp x8, _vreg_cfg@GOTPAGE
Lloh1:
ldr x8, [x8, _vreg_cfg@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _ARRAY_SIZE
cmp w0, #1
b.lt LBB0_5
; %bb.1:
mov x8, x0
mov w0, #0
mov w8, w8
add x21, x8, #1
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
sub x21, x21, #1
cmp x21, #1
b.ls LBB0_6
LBB0_3: ; =>This Inner Loop Header: Depth=1
sub w8, w21, #2
ldr x9, [x20]
add x1, x9, w8, uxtw #2
ldr w8, [x1]
cbz w8, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x0, x19
bl ___ath10k_snoc_vreg_off
b LBB0_2
LBB0_5:
mov w0, #0
LBB0_6:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _vreg_cfg,4,2 ; @vreg_cfg
.no_dead_strip _ath10k_snoc_vreg_off
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_snoc.c_ath10k_snoc_vreg_off.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dec_ref_count
_dec_ref_count: ## @dec_ref_count
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testq %rsi, %rsi
je LBB0_1
## %bb.2:
decq %rsi
movq %rsi, (%rdx)
xorl %eax, %eax
popq %rbp
retq
LBB0_1:
leaq L_.str(%rip), %rdi
callq _DMERR_LIMIT
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "unable to decrement a reference count below 0"
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _dec_ref_count
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dec_ref_count
_dec_ref_count: ; @dec_ref_count
.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
cbz x1, LBB0_2
; %bb.1:
mov w0, #0
sub x8, x1, #1
str x8, [x2]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_2:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _DMERR_LIMIT
Lloh2:
adrp x8, _EINVAL@GOTPAGE
Lloh3:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
neg w0, w8
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "unable to decrement a reference count below 0"
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _dec_ref_count
.subsections_via_symbols
| AnghaBench/linux/drivers/md/persistent-data/extr_dm-space-map-common.c_dec_ref_count.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function si_init_pg
_si_init_pg: ## @si_init_pg
.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), %eax
testl %eax, %eax
je LBB0_7
## %bb.1:
movq _RADEON_PG_SUPPORT_SDMA@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_3
## %bb.2:
movq %rbx, %rdi
callq _si_init_dma_pg
LBB0_3:
movq %rbx, %rdi
callq _si_init_ao_cu_mask
movq _RADEON_PG_SUPPORT_GFX_PG@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%rbx)
je LBB0_5
## %bb.4:
movq %rbx, %rdi
callq _si_init_gfx_cgpg
jmp LBB0_6
LBB0_7:
movq _RLC_SAVE_AND_RESTORE_BASE@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl 4(%rbx), %esi
sarl $8, %esi
callq _WREG32
movq _RLC_CLEAR_STATE_RESTORE_BASE@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl 8(%rbx), %esi
sarl $8, %esi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _WREG32 ## TAILCALL
LBB0_5:
movq _RLC_SAVE_AND_RESTORE_BASE@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl 4(%rbx), %esi
sarl $8, %esi
callq _WREG32
movq _RLC_CLEAR_STATE_RESTORE_BASE@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl 8(%rbx), %esi
sarl $8, %esi
callq _WREG32
LBB0_6:
movq %rbx, %rdi
movl $1, %esi
callq _si_enable_dma_pg
movq %rbx, %rdi
movl $1, %esi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _si_enable_gfx_cgpg ## TAILCALL
.cfi_endproc
## -- End function
.comm _RADEON_PG_SUPPORT_SDMA,4,2 ## @RADEON_PG_SUPPORT_SDMA
.comm _RADEON_PG_SUPPORT_GFX_PG,4,2 ## @RADEON_PG_SUPPORT_GFX_PG
.comm _RLC_SAVE_AND_RESTORE_BASE,4,2 ## @RLC_SAVE_AND_RESTORE_BASE
.comm _RLC_CLEAR_STATE_RESTORE_BASE,4,2 ## @RLC_CLEAR_STATE_RESTORE_BASE
.no_dead_strip _si_init_pg
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function si_init_pg
_si_init_pg: ; @si_init_pg
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w8, [x0]
cbz w8, LBB0_5
; %bb.1:
Lloh0:
adrp x9, _RADEON_PG_SUPPORT_SDMA@GOTPAGE
Lloh1:
ldr x9, [x9, _RADEON_PG_SUPPORT_SDMA@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_3
; %bb.2:
mov x0, x19
bl _si_init_dma_pg
LBB0_3:
mov x0, x19
bl _si_init_ao_cu_mask
ldr w8, [x19]
Lloh3:
adrp x9, _RADEON_PG_SUPPORT_GFX_PG@GOTPAGE
Lloh4:
ldr x9, [x9, _RADEON_PG_SUPPORT_GFX_PG@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_6
; %bb.4:
mov x0, x19
bl _si_init_gfx_cgpg
b LBB0_7
LBB0_5:
Lloh6:
adrp x8, _RLC_SAVE_AND_RESTORE_BASE@GOTPAGE
Lloh7:
ldr x8, [x8, _RLC_SAVE_AND_RESTORE_BASE@GOTPAGEOFF]
Lloh8:
ldr w0, [x8]
ldr w8, [x19, #4]
asr w1, w8, #8
bl _WREG32
Lloh9:
adrp x8, _RLC_CLEAR_STATE_RESTORE_BASE@GOTPAGE
Lloh10:
ldr x8, [x8, _RLC_CLEAR_STATE_RESTORE_BASE@GOTPAGEOFF]
Lloh11:
ldr w0, [x8]
ldr w8, [x19, #8]
asr w1, w8, #8
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _WREG32
LBB0_6:
Lloh12:
adrp x8, _RLC_SAVE_AND_RESTORE_BASE@GOTPAGE
Lloh13:
ldr x8, [x8, _RLC_SAVE_AND_RESTORE_BASE@GOTPAGEOFF]
Lloh14:
ldr w0, [x8]
ldr w8, [x19, #4]
asr w1, w8, #8
bl _WREG32
Lloh15:
adrp x8, _RLC_CLEAR_STATE_RESTORE_BASE@GOTPAGE
Lloh16:
ldr x8, [x8, _RLC_CLEAR_STATE_RESTORE_BASE@GOTPAGEOFF]
Lloh17:
ldr w0, [x8]
ldr w8, [x19, #8]
asr w1, w8, #8
bl _WREG32
LBB0_7:
mov x0, x19
mov w1, #1
bl _si_enable_dma_pg
mov x0, x19
mov w1, #1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _si_enable_gfx_cgpg
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _RADEON_PG_SUPPORT_SDMA,4,2 ; @RADEON_PG_SUPPORT_SDMA
.comm _RADEON_PG_SUPPORT_GFX_PG,4,2 ; @RADEON_PG_SUPPORT_GFX_PG
.comm _RLC_SAVE_AND_RESTORE_BASE,4,2 ; @RLC_SAVE_AND_RESTORE_BASE
.comm _RLC_CLEAR_STATE_RESTORE_BASE,4,2 ; @RLC_CLEAR_STATE_RESTORE_BASE
.no_dead_strip _si_init_pg
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/radeon/extr_si.c_si_init_pg.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function amt_joinASM_group
_amt_joinASM_group: ## @amt_joinASM_group
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq (%rdi), %rax
movl 4(%rax), %ecx
movl %ecx, -4(%rbp)
movq _INADDR_ANY@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, -8(%rbp)
movl (%rax), %edi
movq _IPPROTO_IP@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _IP_ADD_MEMBERSHIP@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq -8(%rbp), %rcx
movl $8, %r8d
callq _setsockopt
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _INADDR_ANY,4,2 ## @INADDR_ANY
.comm _IPPROTO_IP,4,2 ## @IPPROTO_IP
.comm _IP_ADD_MEMBERSHIP,4,2 ## @IP_ADD_MEMBERSHIP
.no_dead_strip _amt_joinASM_group
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function amt_joinASM_group
_amt_joinASM_group: ; @amt_joinASM_group
.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 x8, _INADDR_ANY@GOTPAGE
Lloh1:
ldr x8, [x8, _INADDR_ANY@GOTPAGEOFF]
ldr x9, [x0]
Lloh2:
ldr w8, [x8]
ldp w0, w10, [x9]
stp w8, w10, [sp, #8]
Lloh3:
adrp x8, _IPPROTO_IP@GOTPAGE
Lloh4:
ldr x8, [x8, _IPPROTO_IP@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
Lloh6:
adrp x8, _IP_ADD_MEMBERSHIP@GOTPAGE
Lloh7:
ldr x8, [x8, _IP_ADD_MEMBERSHIP@GOTPAGEOFF]
Lloh8:
ldr w2, [x8]
add x3, sp, #8
mov w4, #8
bl _setsockopt
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _INADDR_ANY,4,2 ; @INADDR_ANY
.comm _IPPROTO_IP,4,2 ; @IPPROTO_IP
.comm _IP_ADD_MEMBERSHIP,4,2 ; @IP_ADD_MEMBERSHIP
.no_dead_strip _amt_joinASM_group
.subsections_via_symbols
| AnghaBench/vlc/modules/access/extr_amt.c_amt_joinASM_group.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _inet_addr_is_any ## -- Begin function inet_addr_is_any
.p2align 4, 0x90
_inet_addr_is_any: ## @inet_addr_is_any
.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 _AF_INET6@GOTPCREL(%rip), %rax
cmpq (%rax), %rbx
jne LBB0_3
## %bb.1:
movq _IN6ADDR_ANY_INIT@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %ebx, %edi
movl $16, %edx
callq _memcmp
testl %eax, %eax
jne LBB0_6
## %bb.2:
movl $1, %eax
jmp LBB0_7
LBB0_3:
movq _AF_INET@GOTPCREL(%rip), %rax
cmpq (%rax), %rbx
jne LBB0_5
## %bb.4:
movq _INADDR_ANY@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _htonl
movq %rax, %rcx
movl $1, %eax
cmpq %rcx, %rbx
jne LBB0_6
jmp LBB0_7
LBB0_5:
leaq L_.str(%rip), %rdi
movq %rbx, %rsi
callq _pr_warn
LBB0_6:
xorl %eax, %eax
LBB0_7:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AF_INET6,8,3 ## @AF_INET6
.comm _IN6ADDR_ANY_INIT,4,2 ## @IN6ADDR_ANY_INIT
.comm _AF_INET,8,3 ## @AF_INET
.comm _INADDR_ANY,4,2 ## @INADDR_ANY
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "unexpected address family %u\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _inet_addr_is_any ; -- Begin function inet_addr_is_any
.p2align 2
_inet_addr_is_any: ; @inet_addr_is_any
.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]
Lloh0:
adrp x8, _AF_INET6@GOTPAGE
Lloh1:
ldr x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x19, x8
b.ne LBB0_2
; %bb.1:
Lloh3:
adrp x8, _IN6ADDR_ANY_INIT@GOTPAGE
Lloh4:
ldr x8, [x8, _IN6ADDR_ANY_INIT@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x0, x19
mov w2, #16
bl _memcmp
cbnz w0, LBB0_6
b LBB0_4
LBB0_2:
Lloh6:
adrp x8, _AF_INET@GOTPAGE
Lloh7:
ldr x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
cmp x19, x8
b.ne LBB0_5
; %bb.3:
Lloh9:
adrp x8, _INADDR_ANY@GOTPAGE
Lloh10:
ldr x8, [x8, _INADDR_ANY@GOTPAGEOFF]
Lloh11:
ldr w0, [x8]
bl _htonl
cmp x19, x0
b.ne LBB0_6
LBB0_4:
mov w0, #1
b LBB0_7
LBB0_5:
Lloh12:
adrp x0, l_.str@PAGE
Lloh13:
add x0, x0, l_.str@PAGEOFF
mov x1, x19
bl _pr_warn
LBB0_6:
mov w0, #0
LBB0_7:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _AF_INET6,8,3 ; @AF_INET6
.comm _IN6ADDR_ANY_INIT,4,2 ; @IN6ADDR_ANY_INIT
.comm _AF_INET,8,3 ; @AF_INET
.comm _INADDR_ANY,4,2 ; @INADDR_ANY
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "unexpected address family %u\n"
.subsections_via_symbols
| AnghaBench/linux/net/core/extr_utils.c_inet_addr_is_any.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _TestGlobalFlags ## -- Begin function TestGlobalFlags
.p2align 4, 0x90
_TestGlobalFlags: ## @TestGlobalFlags
.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 _SKIPPED@GOTPCREL(%rip), %rax
movl (%rax), %ebx
leaq L_.str(%rip), %rdi
callq _OUTPUT_Banner
xorl %eax, %eax
callq _TestGlobalFlagsFixed
movl %ebx, %edi
movl %eax, %esi
callq _TEST_CombineStatus
movl %eax, %ebx
xorl %eax, %eax
callq _TestGlobalFlagsMoveable
movl %ebx, %edi
movl %eax, %esi
callq _TEST_CombineStatus
movl %eax, %ebx
leaq L_.str.1(%rip), %rdi
callq _OUTPUT_Line
movl %ebx, %edi
callq _OUTPUT_Result
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SKIPPED,4,2 ## @SKIPPED
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Testing GlobalFlags()"
L_.str.1: ## @.str.1
.asciz "GlobalFlags result:"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _TestGlobalFlags ; -- Begin function TestGlobalFlags
.p2align 2
_TestGlobalFlags: ; @TestGlobalFlags
.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, _SKIPPED@GOTPAGE
Lloh1:
ldr x8, [x8, _SKIPPED@GOTPAGEOFF]
Lloh2:
ldr w19, [x8]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _OUTPUT_Banner
bl _TestGlobalFlagsFixed
mov x1, x0
mov x0, x19
bl _TEST_CombineStatus
mov x19, x0
bl _TestGlobalFlagsMoveable
mov x1, x0
mov x0, x19
bl _TEST_CombineStatus
mov x19, x0
Lloh5:
adrp x0, l_.str.1@PAGE
Lloh6:
add x0, x0, l_.str.1@PAGEOFF
bl _OUTPUT_Line
mov x0, x19
bl _OUTPUT_Result
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SKIPPED,4,2 ; @SKIPPED
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Testing GlobalFlags()"
l_.str.1: ; @.str.1
.asciz "GlobalFlags result:"
.subsections_via_symbols
| AnghaBench/reactos/modules/rostests/tests/global_mem/extr_global_mem.c_TestGlobalFlags.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _acttab_action_size ## -- Begin function acttab_action_size
.p2align 4, 0x90
_acttab_action_size: ## @acttab_action_size
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq (%rdi), %rax
movq 8(%rdi), %rcx
jmp LBB0_1
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
decq %rax
LBB0_1: ## =>This Inner Loop Header: Depth=1
testq %rax, %rax
jns LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpq $0, -8(%rcx,%rax,8)
js LBB0_3
## %bb.4:
## kill: def $eax killed $eax killed $rax
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 _acttab_action_size ; -- Begin function acttab_action_size
.p2align 2
_acttab_action_size: ; @acttab_action_size
.cfi_startproc
; %bb.0:
mov x8, x0
ldrsw x0, [x0]
ldr x8, [x8, #8]
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
sub x0, x0, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
tbz x0, #63, LBB0_1
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add x9, x8, x0, lsl #3
ldur x9, [x9, #-8]
tbnz x9, #63, LBB0_1
; %bb.4:
; kill: def $w0 killed $w0 killed $x0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| assembly_file_162785.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _EA_Shutdown ## -- Begin function EA_Shutdown
.p2align 4, 0x90
_EA_Shutdown: ## @EA_Shutdown
.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 _botinputs@GOTPCREL(%rip), %rbx
movq (%rbx), %rdi
callq _FreeMemory
movq $0, (%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _botinputs,8,3 ## @botinputs
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _EA_Shutdown ; -- Begin function EA_Shutdown
.p2align 2
_EA_Shutdown: ; @EA_Shutdown
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x19, _botinputs@GOTPAGE
Lloh1:
ldr x19, [x19, _botinputs@GOTPAGEOFF]
ldr x0, [x19]
bl _FreeMemory
str xzr, [x19]
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 _botinputs,8,3 ; @botinputs
.subsections_via_symbols
| AnghaBench/lab/engine/code/botlib/extr_be_ea.c_EA_Shutdown.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function snd_usbmidi_novation_input
_snd_usbmidi_novation_input: ## @snd_usbmidi_novation_input
.cfi_startproc
## %bb.0:
cmpl $2, %edx
jl LBB0_3
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rsi, %rax
movl (%rsi), %ecx
testl %ecx, %ecx
popq %rbp
je LBB0_3
## %bb.2:
cmpl %edx, %ecx
jge LBB0_3
## %bb.4:
addq $8, %rax
decl %ecx
xorl %esi, %esi
movq %rax, %rdx
jmp _snd_usbmidi_input_data ## TAILCALL
LBB0_3:
retq
.cfi_endproc
## -- End function
.no_dead_strip _snd_usbmidi_novation_input
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function snd_usbmidi_novation_input
_snd_usbmidi_novation_input: ; @snd_usbmidi_novation_input
.cfi_startproc
; %bb.0:
cmp w2, #2
b.lt LBB0_2
; %bb.1:
ldr w8, [x1]
cmp w8, #0
ccmp w8, w2, #0, ne
b.lt LBB0_3
LBB0_2:
ret
LBB0_3:
add x2, x1, #8
sub w3, w8, #1
mov w1, #0
b _snd_usbmidi_input_data
.cfi_endproc
; -- End function
.no_dead_strip _snd_usbmidi_novation_input
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/sound/usb/extr_midi.c_snd_usbmidi_novation_input.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ClearPageHugeObject
_ClearPageHugeObject: ## @ClearPageHugeObject
.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 _ClearPageOwnerPriv1 ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _ClearPageHugeObject
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ClearPageHugeObject
_ClearPageHugeObject: ; @ClearPageHugeObject
.cfi_startproc
; %bb.0:
b _ClearPageOwnerPriv1
.cfi_endproc
; -- End function
.no_dead_strip _ClearPageHugeObject
.subsections_via_symbols
| AnghaBench/linux/mm/extr_zsmalloc.c_ClearPageHugeObject.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function radio_s_std
_radio_s_std: ## @radio_s_std
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _radio_s_std
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function radio_s_std
_radio_s_std: ; @radio_s_std
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.no_dead_strip _radio_s_std
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/media/video/bt8xx/extr_bttv-driver.c_radio_s_std.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function BasicUISelect
_BasicUISelect: ## @BasicUISelect
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, -80(%rbp) ## 8-byte Spill
movq _UI_ITEM_END@GOTPCREL(%rip), %rax
movl (%rax), %r9d
movl (%rcx), %r13d
movl $-1, %eax
cmpl %r9d, %r13d
je LBB0_37
## %bb.1:
movq %r8, -72(%rbp) ## 8-byte Spill
movl %esi, -52(%rbp) ## 4-byte Spill
movq _UI_ITEM_HIDDEN@GOTPCREL(%rip), %rax
movl (%rax), %r10d
movq _UI_ITEM_TIP@GOTPCREL(%rip), %rax
movl (%rax), %r11d
movq _UI_ITEM_TYPE@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _UI_ITEM_CHECK@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movq _UI_ITEM_CHECKED@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
leaq 32(%rcx), %r8
xorl %ebx, %ebx
leaq _BasicUISelect.tip(%rip), %rsi
xorl %r14d, %r14d
jmp LBB0_5
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_5 Depth=1
leaq _BasicUISelect.suffix(%rip), %rax
movq $0, (%rax,%r14,8)
movq -8(%r8), %r12
LBB0_3: ## in Loop: Header=BB0_5 Depth=1
movq %r12, (%rsi,%r14,8)
movl (%r8), %r12d
shrl $31, %r12d
leaq _BasicUISelect.nonselectable(%rip), %r13
movl %r12d, (%r13,%r14,4)
cmpl %edx, (%r8)
cmovel %r14d, %ebx
incl %r14d
LBB0_4: ## in Loop: Header=BB0_5 Depth=1
movl -72(%r8), %r13d
addq $-40, %r8
cmpl %r9d, %r13d
je LBB0_11
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpl %r10d, %r13d
je LBB0_4
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq -24(%r8), %r12
movslq %r14d, %r14
leaq _BasicUISelect.prefix(%rip), %rax
movq %r12, (%rax,%r14,8)
movq -16(%r8), %r12
leaq _BasicUISelect.item(%rip), %rax
movq %r12, (%rax,%r14,8)
testl %r13d, %r11d
jne LBB0_2
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl %edi, %r12d
andl %r13d, %r12d
cmpl %r15d, %r12d
jne LBB0_9
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
testl %r13d, -48(%rbp) ## 4-byte Folded Reload
leaq L_.str(%rip), %r12
leaq L_.str.1(%rip), %rax
cmoveq %rax, %r12
jmp LBB0_10
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
movq -8(%r8), %r12
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
leaq _BasicUISelect.suffix(%rip), %rax
movq %r12, (%rax,%r14,8)
xorl %r12d, %r12d
jmp LBB0_3
LBB0_11:
testl %r14d, %r14d
je LBB0_20
## %bb.12:
movq _UI_SELECT_POPUP@GOTPCREL(%rip), %rax
movl -52(%rbp), %edx ## 4-byte Reload
testl %edx, (%rax)
movq %rcx, -64(%rbp) ## 8-byte Spill
je LBB0_21
## %bb.13:
testl %r14d, %r14d
js LBB0_22
## %bb.14:
movl %r14d, %eax
leaq 8(,%rax,8), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
xorl %r12d, %r12d
xorl %r13d, %r13d
jmp LBB0_16
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_16 Depth=1
cmpl %r13d, %r15d
cmovgl %r15d, %r13d
addq $8, %r12
cmpq %r12, -48(%rbp) ## 8-byte Folded Reload
je LBB0_23
LBB0_16: ## =>This Inner Loop Header: Depth=1
leaq _BasicUISelect.item(%rip), %rax
movq (%r12,%rax), %rdi
callq _strlen
movl %eax, %r15d
leaq _BasicUISelect.prefix(%rip), %rax
cmpq $0, (%r12,%rax)
jne LBB0_18
## %bb.17: ## in Loop: Header=BB0_16 Depth=1
xorl %edi, %edi
callq _strlen
addl %eax, %r15d
LBB0_18: ## in Loop: Header=BB0_16 Depth=1
leaq _BasicUISelect.suffix(%rip), %rax
movq (%r12,%rax), %rdi
testq %rdi, %rdi
je LBB0_15
## %bb.19: ## in Loop: Header=BB0_16 Depth=1
callq _strlen
addl %eax, %r15d
jmp LBB0_15
LBB0_21:
xorl %r15d, %r15d
xorl %eax, %eax
callq _ClearScreen
movq -80(%rbp), %rdi ## 8-byte Reload
callq _TitleScreen
movl $23, %eax
movl $39, %r8d
movl $1, %ecx
movl $38, %edx
movq %rdx, -48(%rbp) ## 8-byte Spill
jmp LBB0_24
LBB0_22:
xorl %r13d, %r13d
LBB0_23:
cmpl $38, %r13d
movl $38, %eax
cmovll %r13d, %eax
movl $40, %r8d
subl %eax, %r8d
shrl %r8d
leal -1(%r8), %r15d
movq %rax, -48(%rbp) ## 8-byte Spill
addl %eax, %r8d
movl $24, %ecx
subl %r14d, %ecx
movl %ecx, %eax
shrl $31, %eax
addl %ecx, %eax
sarl %eax
leal -1(%rax), %ecx
addl %r14d, %eax
LBB0_24:
xorl %r12d, %r12d
testl %ecx, %ecx
cmovgl %ecx, %r12d
cmpl $23, %eax
movl $23, %r13d
cmovll %eax, %r13d
movl $154, %edi
movl $148, %esi
movl %r15d, %edx
movl %r12d, %ecx
## kill: def $r8d killed $r8d killed $r8
movl %r13d, %r9d
callq _Box
movl %r12d, %eax
notl %eax
addl %r13d, %eax
incl %r15d
incl %r12d
movq _UI_SELECT_DRAG@GOTPCREL(%rip), %rdx
movl -52(%rbp), %ecx ## 4-byte Reload
testl %ecx, (%rdx)
jne LBB0_26
## %bb.25:
movq _FALSE@GOTPCREL(%rip), %rcx
jmp LBB0_27
LBB0_26:
movq _TRUE@GOTPCREL(%rip), %rcx
LBB0_27:
movl (%rcx), %r10d
subq $8, %rsp
leaq _BasicUISelect.item(%rip), %rdx
leaq _BasicUISelect.prefix(%rip), %rcx
leaq _BasicUISelect.suffix(%rip), %r8
leaq _BasicUISelect.tip(%rip), %r9
movl %ebx, %edi
movl %r14d, %esi
pushq -72(%rbp) ## 8-byte Folded Reload
pushq $0
pushq %r10
pushq -48(%rbp) ## 8-byte Folded Reload
pushq %r12
pushq %r15
pushq $1
pushq %rax
leaq _BasicUISelect.nonselectable(%rip), %rax
pushq %rax
callq _Select
addq $80, %rsp
movl %eax, %ecx
testl %eax, %eax
js LBB0_30
## %bb.28:
movq _UI_ITEM_END@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq -64(%rbp), %r8 ## 8-byte Reload
movl (%r8), %edi
cmpl %edx, %edi
jne LBB0_31
LBB0_20:
movl $-1, %eax
jmp LBB0_37
LBB0_30:
movl %ecx, %eax
jmp LBB0_37
LBB0_31:
movq _UI_ITEM_HIDDEN@GOTPCREL(%rip), %rsi
movl (%rsi), %esi
addq $40, %r8
movl $-1, %eax
jmp LBB0_33
.p2align 4, 0x90
LBB0_32: ## in Loop: Header=BB0_33 Depth=1
movl (%r8), %edi
addq $40, %r8
cmpl %edx, %edi
je LBB0_37
LBB0_33: ## =>This Inner Loop Header: Depth=1
cmpl %esi, %edi
je LBB0_32
## %bb.34: ## in Loop: Header=BB0_33 Depth=1
testl %ecx, %ecx
je LBB0_36
## %bb.35: ## in Loop: Header=BB0_33 Depth=1
decl %ecx
jmp LBB0_32
LBB0_36:
movl -8(%r8), %eax
LBB0_37:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_BasicUISelect.prefix,800,4 ## @BasicUISelect.prefix
.zerofill __DATA,__bss,_BasicUISelect.item,800,4 ## @BasicUISelect.item
.zerofill __DATA,__bss,_BasicUISelect.suffix,800,4 ## @BasicUISelect.suffix
.zerofill __DATA,__bss,_BasicUISelect.tip,800,4 ## @BasicUISelect.tip
.zerofill __DATA,__bss,_BasicUISelect.nonselectable,400,4 ## @BasicUISelect.nonselectable
.comm _UI_ITEM_END,4,2 ## @UI_ITEM_END
.comm _UI_ITEM_HIDDEN,4,2 ## @UI_ITEM_HIDDEN
.comm _UI_ITEM_TIP,4,2 ## @UI_ITEM_TIP
.comm _UI_ITEM_TYPE,4,2 ## @UI_ITEM_TYPE
.comm _UI_ITEM_CHECK,4,2 ## @UI_ITEM_CHECK
.comm _UI_ITEM_CHECKED,4,2 ## @UI_ITEM_CHECKED
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Yes"
L_.str.1: ## @.str.1
.asciz "No "
.comm _UI_SELECT_POPUP,4,2 ## @UI_SELECT_POPUP
.comm _UI_SELECT_DRAG,4,2 ## @UI_SELECT_DRAG
.comm _TRUE,4,2 ## @TRUE
.comm _FALSE,4,2 ## @FALSE
.no_dead_strip _BasicUISelect
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function BasicUISelect
_BasicUISelect: ; @BasicUISelect
.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
ldr w22, [x3]
Lloh0:
adrp x24, _UI_ITEM_END@GOTPAGE
Lloh1:
ldr x24, [x24, _UI_ITEM_END@GOTPAGEOFF]
ldr w8, [x24]
cmp w22, w8
b.eq LBB0_24
; %bb.1:
mov w20, #0 ; =0x0
mov w19, #0 ; =0x0
Lloh2:
adrp x26, _UI_ITEM_HIDDEN@GOTPAGE
Lloh3:
ldr x26, [x26, _UI_ITEM_HIDDEN@GOTPAGEOFF]
ldr w9, [x26]
Lloh4:
adrp x10, _UI_ITEM_TIP@GOTPAGE
Lloh5:
ldr x10, [x10, _UI_ITEM_TIP@GOTPAGEOFF]
Lloh6:
ldr w10, [x10]
Lloh7:
adrp x11, _UI_ITEM_TYPE@GOTPAGE
Lloh8:
ldr x11, [x11, _UI_ITEM_TYPE@GOTPAGEOFF]
Lloh9:
ldr w11, [x11]
Lloh10:
adrp x12, _UI_ITEM_CHECK@GOTPAGE
Lloh11:
ldr x12, [x12, _UI_ITEM_CHECK@GOTPAGEOFF]
Lloh12:
ldr w12, [x12]
Lloh13:
adrp x17, _UI_ITEM_CHECKED@GOTPAGE
Lloh14:
ldr x17, [x17, _UI_ITEM_CHECKED@GOTPAGEOFF]
Lloh15:
adrp x13, _BasicUISelect.prefix@PAGE
Lloh16:
add x13, x13, _BasicUISelect.prefix@PAGEOFF
Lloh17:
adrp x14, _BasicUISelect.item@PAGE
Lloh18:
add x14, x14, _BasicUISelect.item@PAGEOFF
add x15, x3, #32
Lloh19:
adrp x16, l_.str@PAGE
Lloh20:
add x16, x16, l_.str@PAGEOFF
Lloh21:
ldr w17, [x17]
Lloh22:
adrp x5, l_.str.1@PAGE
Lloh23:
add x5, x5, l_.str.1@PAGEOFF
Lloh24:
adrp x6, _BasicUISelect.suffix@PAGE
Lloh25:
add x6, x6, _BasicUISelect.suffix@PAGEOFF
Lloh26:
adrp x7, _BasicUISelect.tip@PAGE
Lloh27:
add x7, x7, _BasicUISelect.tip@PAGEOFF
Lloh28:
adrp x21, _BasicUISelect.nonselectable@PAGE
Lloh29:
add x21, x21, _BasicUISelect.nonselectable@PAGEOFF
b LBB0_5
LBB0_2: ; in Loop: Header=BB0_5 Depth=1
str xzr, [x6, w19, sxtw #3]
ldur x22, [x15, #-8]
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
str x22, [x7, w19, sxtw #3]
ldr w22, [x15]
lsr w22, w22, #31
str w22, [x21, w19, sxtw #2]
ldr w22, [x15]
cmp w22, w2
csel w20, w19, w20, eq
add w19, w19, #1
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
ldur w22, [x15, #-72]
sub x15, x15, #40
cmp w22, w8
b.eq LBB0_11
LBB0_5: ; =>This Inner Loop Header: Depth=1
cmp w22, w9
b.eq LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldur x23, [x15, #-24]
str x23, [x13, w19, sxtw #3]
ldur x23, [x15, #-16]
str x23, [x14, w19, sxtw #3]
tst w10, w22
b.ne LBB0_2
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
and w23, w11, w22
cmp w23, w12
b.ne LBB0_9
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
tst w17, w22
csel x23, x5, x16, eq
b LBB0_10
LBB0_9: ; in Loop: Header=BB0_5 Depth=1
ldur x23, [x15, #-8]
LBB0_10: ; in Loop: Header=BB0_5 Depth=1
mov x22, #0 ; =0x0
str x23, [x6, w19, sxtw #3]
b LBB0_3
LBB0_11:
cbz w19, LBB0_24
; %bb.12:
Lloh30:
adrp x8, _UI_SELECT_POPUP@GOTPAGE
Lloh31:
ldr x8, [x8, _UI_SELECT_POPUP@GOTPAGEOFF]
Lloh32:
ldr w8, [x8]
tst w8, w1
stp x3, x4, [sp, #48] ; 16-byte Folded Spill
mov x28, x1
b.eq LBB0_21
; %bb.13:
mov w22, #0 ; =0x0
tbnz w19, #31, LBB0_20
; %bb.14:
add w23, w19, #1
Lloh33:
adrp x25, _BasicUISelect.suffix@PAGE
Lloh34:
add x25, x25, _BasicUISelect.suffix@PAGEOFF
Lloh35:
adrp x26, _BasicUISelect.prefix@PAGE
Lloh36:
add x26, x26, _BasicUISelect.prefix@PAGEOFF
Lloh37:
adrp x27, _BasicUISelect.item@PAGE
Lloh38:
add x27, x27, _BasicUISelect.item@PAGEOFF
b LBB0_16
LBB0_15: ; in Loop: Header=BB0_16 Depth=1
cmp w21, w22
csel w22, w21, w22, gt
add x25, x25, #8
add x26, x26, #8
add x27, x27, #8
subs x23, x23, #1
b.eq LBB0_20
LBB0_16: ; =>This Inner Loop Header: Depth=1
ldr x0, [x27]
bl _strlen
mov x21, x0
ldr x8, [x26]
cbz x8, LBB0_18
; %bb.17: ; in Loop: Header=BB0_16 Depth=1
ldr x0, [x25]
cbnz x0, LBB0_19
b LBB0_15
LBB0_18: ; in Loop: Header=BB0_16 Depth=1
mov x0, #0 ; =0x0
bl _strlen
add w21, w0, w21
ldr x0, [x25]
cbz x0, LBB0_15
LBB0_19: ; in Loop: Header=BB0_16 Depth=1
bl _strlen
add w21, w0, w21
b LBB0_15
LBB0_20:
mov w8, #38 ; =0x26
cmp w22, #38
csel w25, w22, w8, lt
mov w8, #40 ; =0x28
sub w8, w8, w25
lsr w8, w8, #1
sub w21, w8, #1
add w4, w8, w25
mov w8, #24 ; =0x18
sub w8, w8, w19
add w8, w8, w8, lsr #31
asr w8, w8, #1
sub w9, w8, #1
add w8, w8, w19
Lloh39:
adrp x26, _UI_ITEM_HIDDEN@GOTPAGE
Lloh40:
ldr x26, [x26, _UI_ITEM_HIDDEN@GOTPAGEOFF]
b LBB0_22
LBB0_21:
mov x21, x0
bl _ClearScreen
mov x0, x21
bl _TitleScreen
mov w21, #0 ; =0x0
mov w8, #23 ; =0x17
mov w4, #39 ; =0x27
mov w9, #1 ; =0x1
mov w25, #38 ; =0x26
LBB0_22:
bic w22, w9, w9, asr #31
mov w9, #23 ; =0x17
cmp w8, #23
csel w23, w8, w9, lt
mov w0, #154 ; =0x9a
mov w1, #148 ; =0x94
mov x2, x21
mov x3, x22
mov x5, x23
bl _Box
mvn w9, w22
add w10, w21, #1
add w8, w22, #1
Lloh41:
adrp x11, _UI_SELECT_DRAG@GOTPAGE
Lloh42:
ldr x11, [x11, _UI_SELECT_DRAG@GOTPAGEOFF]
Lloh43:
adrp x12, _TRUE@GOTPAGE
Lloh44:
ldr x12, [x12, _TRUE@GOTPAGEOFF]
Lloh45:
ldr w11, [x11]
Lloh46:
adrp x13, _FALSE@GOTPAGE
Lloh47:
ldr x13, [x13, _FALSE@GOTPAGEOFF]
tst w11, w28
csel x11, x13, x12, eq
ldr w11, [x11]
stp w25, w11, [sp, #12]
mov w11, #1 ; =0x1
Lloh48:
adrp x2, _BasicUISelect.item@PAGE
Lloh49:
add x2, x2, _BasicUISelect.item@PAGEOFF
Lloh50:
adrp x3, _BasicUISelect.prefix@PAGE
Lloh51:
add x3, x3, _BasicUISelect.prefix@PAGEOFF
stp w10, w8, [sp, #4]
Lloh52:
adrp x4, _BasicUISelect.suffix@PAGE
Lloh53:
add x4, x4, _BasicUISelect.suffix@PAGEOFF
Lloh54:
adrp x5, _BasicUISelect.tip@PAGE
Lloh55:
add x5, x5, _BasicUISelect.tip@PAGEOFF
ldr x8, [sp, #56] ; 8-byte Folded Reload
stp xzr, x8, [sp, #24]
add w7, w23, w9
Lloh56:
adrp x6, _BasicUISelect.nonselectable@PAGE
Lloh57:
add x6, x6, _BasicUISelect.nonselectable@PAGEOFF
str w11, [sp]
mov x0, x20
mov x1, x19
bl _Select
tbnz w0, #31, LBB0_25
; %bb.23:
ldr w8, [x24]
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr w11, [x9]
cmp w11, w8
b.ne LBB0_26
LBB0_24:
mov w0, #-1 ; =0xffffffff
LBB0_25:
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
ret
LBB0_26:
ldr w10, [x26]
add x9, x9, #40
b LBB0_28
LBB0_27: ; in Loop: Header=BB0_28 Depth=1
ldr w11, [x9], #40
cmp w11, w8
b.eq LBB0_24
LBB0_28: ; =>This Inner Loop Header: Depth=1
cmp w11, w10
b.eq LBB0_27
; %bb.29: ; in Loop: Header=BB0_28 Depth=1
cbz w0, LBB0_31
; %bb.30: ; in Loop: Header=BB0_28 Depth=1
sub w0, w0, #1
b LBB0_27
LBB0_31:
ldur w0, [x9, #-8]
b LBB0_25
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh21
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpLdrGot Lloh39, Lloh40
.loh AdrpAdd Lloh56, Lloh57
.loh AdrpAdd Lloh54, Lloh55
.loh AdrpAdd Lloh52, Lloh53
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpLdrGot Lloh46, Lloh47
.loh AdrpLdrGot Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh45
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_BasicUISelect.prefix,800,3 ; @BasicUISelect.prefix
.zerofill __DATA,__bss,_BasicUISelect.item,800,3 ; @BasicUISelect.item
.zerofill __DATA,__bss,_BasicUISelect.suffix,800,3 ; @BasicUISelect.suffix
.zerofill __DATA,__bss,_BasicUISelect.tip,800,3 ; @BasicUISelect.tip
.zerofill __DATA,__bss,_BasicUISelect.nonselectable,400,2 ; @BasicUISelect.nonselectable
.comm _UI_ITEM_END,4,2 ; @UI_ITEM_END
.comm _UI_ITEM_HIDDEN,4,2 ; @UI_ITEM_HIDDEN
.comm _UI_ITEM_TIP,4,2 ; @UI_ITEM_TIP
.comm _UI_ITEM_TYPE,4,2 ; @UI_ITEM_TYPE
.comm _UI_ITEM_CHECK,4,2 ; @UI_ITEM_CHECK
.comm _UI_ITEM_CHECKED,4,2 ; @UI_ITEM_CHECKED
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Yes"
l_.str.1: ; @.str.1
.asciz "No "
.comm _UI_SELECT_POPUP,4,2 ; @UI_SELECT_POPUP
.comm _UI_SELECT_DRAG,4,2 ; @UI_SELECT_DRAG
.comm _TRUE,4,2 ; @TRUE
.comm _FALSE,4,2 ; @FALSE
.no_dead_strip _BasicUISelect
.subsections_via_symbols
| assembly_file_41064.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pkt_iosched_process_queue
_pkt_iosched_process_queue: ## @pkt_iosched_process_queue
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
leaq 60(%rdi), %rbx
movq %rbx, %rdi
callq _atomic_read
testq %rax, %rax
je LBB0_29
## %bb.1:
movq %rbx, %rdi
xorl %esi, %esi
callq _atomic_set
leaq 48(%r15), %r14
movq %r14, %rdi
callq _spin_lock
leaq 52(%r15), %rdi
movq %rdi, -80(%rbp) ## 8-byte Spill
callq _bio_list_empty
movl %eax, %r13d
leaq 56(%r15), %rdi
movq %rdi, -72(%rbp) ## 8-byte Spill
callq _bio_list_empty
movl %eax, %ebx
testl %eax, %eax
sete %r12b
movq %r14, %rdi
callq _spin_unlock
testl %r13d, %r13d
setne %r13b
sete %cl
je LBB0_3
## %bb.2:
testl %ebx, %ebx
jne LBB0_29
LBB0_3:
leaq 16(%r15), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movq %r15, -64(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
cmpl $0, 24(%r15)
je LBB0_11
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movb %cl, -41(%rbp) ## 1-byte Spill
movq %r14, %rdi
callq _spin_lock
movq -72(%rbp), %rdi ## 8-byte Reload
movq %rdi, %r12
callq _bio_list_peek
movq %rax, %rbx
movq %r14, %r15
movq %r14, %rdi
callq _spin_unlock
testq %rbx, %rbx
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
movq (%rbx), %rax
movq -64(%rbp), %rcx ## 8-byte Reload
cmpq 32(%rcx), %rax
setne %al
testb %al, -41(%rbp) ## 1-byte Folded Reload
movq %r15, %r14
movq %rcx, %r15
jne LBB0_8
jmp LBB0_16
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_4 Depth=1
andb %r12b, %r13b
testb $1, %r13b
movq -72(%rbp), %r12 ## 8-byte Reload
je LBB0_16
## %bb.12: ## in Loop: Header=BB0_4 Depth=1
movq -56(%rbp), %rdi ## 8-byte Reload
callq _atomic_read
movl $1, %ecx
testq %rax, %rax
jle LBB0_15
jmp LBB0_13
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_4 Depth=1
testb $1, %r13b
movq %r15, %r14
movq -64(%rbp), %r15 ## 8-byte Reload
jne LBB0_16
LBB0_8: ## in Loop: Header=BB0_4 Depth=1
movq -56(%rbp), %rdi ## 8-byte Reload
callq _atomic_read
testq %rax, %rax
jg LBB0_9
## %bb.14: ## in Loop: Header=BB0_4 Depth=1
movq %r15, %rdi
callq _pkt_flush_cache
xorl %ecx, %ecx
LBB0_15: ## in Loop: Header=BB0_4 Depth=1
movl %ecx, 24(%r15)
LBB0_16: ## in Loop: Header=BB0_4 Depth=1
movq %r14, %rdi
callq _spin_lock
cmpl $0, 24(%r15)
movq %r12, %rdi
cmoveq -80(%rbp), %rdi ## 8-byte Folded Reload
callq _bio_list_pop
movq %rax, %r13
movq %r14, %rdi
callq _spin_unlock
testq %r13, %r13
je LBB0_27
## %bb.17: ## in Loop: Header=BB0_4 Depth=1
movq %r13, %rdi
callq _bio_data_dir
movq _READ@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_19
## %bb.18: ## in Loop: Header=BB0_4 Depth=1
movl 8(%r13), %eax
sarl $10, %eax
cltq
addq 40(%r15), %rax
movq %rax, 40(%r15)
jmp LBB0_20
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_4 Depth=1
movq $0, 40(%r15)
movq %r13, %rdi
callq _bio_end_sector
movq %rax, 32(%r15)
movq 40(%r15), %rax
LBB0_20: ## in Loop: Header=BB0_4 Depth=1
movq (%r15), %rsi
movq 8(%r15), %rdx
movq _HI_SPEED_SWITCH@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jge LBB0_21
## %bb.23: ## in Loop: Header=BB0_4 Depth=1
cmpq %rdx, %rsi
je LBB0_26
## %bb.24: ## in Loop: Header=BB0_4 Depth=1
movq %rdx, (%r15)
movq %r15, %rdi
movq %rdx, %rsi
jmp LBB0_25
.p2align 4, 0x90
LBB0_21: ## in Loop: Header=BB0_4 Depth=1
cmpq %rdx, %rsi
jne LBB0_26
## %bb.22: ## in Loop: Header=BB0_4 Depth=1
movq _MAX_SPEED@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movq %rdx, (%r15)
movq %r15, %rdi
LBB0_25: ## in Loop: Header=BB0_4 Depth=1
callq _pkt_set_speed
LBB0_26: ## in Loop: Header=BB0_4 Depth=1
movq -56(%rbp), %rdi ## 8-byte Reload
callq _atomic_inc
movq %r13, %rdi
callq _generic_make_request
LBB0_27: ## in Loop: Header=BB0_4 Depth=1
movq %r14, %rdi
callq _spin_lock
movq -80(%rbp), %rdi ## 8-byte Reload
callq _bio_list_empty
movl %eax, %r13d
movq %r12, %rdi
callq _bio_list_empty
movl %eax, %ebx
testl %eax, %eax
sete %r12b
movq %r14, %rdi
callq _spin_unlock
testl %r13d, %r13d
setne %r13b
sete %cl
je LBB0_4
## %bb.28: ## in Loop: Header=BB0_4 Depth=1
testl %ebx, %ebx
je LBB0_4
LBB0_29:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_9:
leaq L_.str(%rip), %rdx
jmp LBB0_10
LBB0_13:
leaq L_.str.1(%rip), %rdx
LBB0_10:
movl $2, %edi
movq %r15, %rsi
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _pkt_dbg ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "write, waiting\n"
L_.str.1: ## @.str.1
.asciz "read, waiting\n"
.comm _READ,8,3 ## @READ
.comm _HI_SPEED_SWITCH,8,3 ## @HI_SPEED_SWITCH
.comm _MAX_SPEED,8,3 ## @MAX_SPEED
.no_dead_strip _pkt_iosched_process_queue
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pkt_iosched_process_queue
_pkt_iosched_process_queue: ; @pkt_iosched_process_queue
.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
add x20, x0, #60
mov x0, x20
bl _atomic_read
cbz x0, LBB0_27
; %bb.1:
mov x0, x20
mov w1, #0
bl _atomic_set
add x20, x19, #48
mov x0, x20
bl _spin_lock
add x21, x19, #52
mov x0, x21
bl _bio_list_empty
mov x25, x0
cmp w0, #0
cset w27, ne
cset w28, eq
add x22, x19, #56
mov x0, x22
bl _bio_list_empty
mov x23, x0
cmp w0, #0
cset w24, eq
mov x0, x20
bl _spin_unlock
cbz w25, LBB0_3
; %bb.2:
cbnz w23, LBB0_27
LBB0_3:
add x23, x19, #16
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [x19, #24]
cbz w8, LBB0_7
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov x0, x20
bl _spin_lock
mov x0, x22
bl _bio_list_peek
mov x25, x0
mov x0, x20
bl _spin_unlock
cbz x25, LBB0_10
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x25]
ldr x9, [x19, #32]
cmp x8, x9
cset w8, ne
and w8, w8, w28
tbnz w8, #0, LBB0_11
b LBB0_14
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
and w8, w27, w24
tbz w8, #0, LBB0_14
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
mov x0, x23
bl _atomic_read
cmp x0, #0
b.gt LBB0_29
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
mov w8, #1
b LBB0_13
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
tbnz w27, #0, LBB0_14
LBB0_11: ; in Loop: Header=BB0_4 Depth=1
mov x0, x23
bl _atomic_read
cmp x0, #0
b.gt LBB0_28
; %bb.12: ; in Loop: Header=BB0_4 Depth=1
mov x0, x19
bl _pkt_flush_cache
mov w8, #0
LBB0_13: ; in Loop: Header=BB0_4 Depth=1
str w8, [x19, #24]
LBB0_14: ; in Loop: Header=BB0_4 Depth=1
mov x0, x20
bl _spin_lock
ldr w8, [x19, #24]
cmp w8, #0
csel x0, x21, x22, eq
bl _bio_list_pop
mov x25, x0
mov x0, x20
bl _spin_unlock
cbz x25, LBB0_25
; %bb.15: ; in Loop: Header=BB0_4 Depth=1
mov x0, x25
bl _bio_data_dir
Lloh0:
adrp x8, _READ@GOTPAGE
Lloh1:
ldr x8, [x8, _READ@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_17
; %bb.16: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x25, #8]
asr w8, w8, #10
ldr x9, [x19, #40]
add x8, x9, w8, sxtw
str x8, [x19, #40]
b LBB0_18
LBB0_17: ; in Loop: Header=BB0_4 Depth=1
str xzr, [x19, #40]
mov x0, x25
bl _bio_end_sector
str x0, [x19, #32]
ldr x8, [x19, #40]
LBB0_18: ; in Loop: Header=BB0_4 Depth=1
Lloh3:
adrp x9, _HI_SPEED_SWITCH@GOTPAGE
Lloh4:
ldr x9, [x9, _HI_SPEED_SWITCH@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
ldp x1, x2, [x19]
cmp x8, x9
b.ge LBB0_21
; %bb.19: ; in Loop: Header=BB0_4 Depth=1
cmp x1, x2
b.eq LBB0_24
; %bb.20: ; in Loop: Header=BB0_4 Depth=1
str x2, [x19]
mov x0, x19
mov x1, x2
b LBB0_23
LBB0_21: ; in Loop: Header=BB0_4 Depth=1
cmp x1, x2
b.ne LBB0_24
; %bb.22: ; in Loop: Header=BB0_4 Depth=1
Lloh6:
adrp x8, _MAX_SPEED@GOTPAGE
Lloh7:
ldr x8, [x8, _MAX_SPEED@GOTPAGEOFF]
Lloh8:
ldr x2, [x8]
str x2, [x19]
mov x0, x19
LBB0_23: ; in Loop: Header=BB0_4 Depth=1
bl _pkt_set_speed
LBB0_24: ; in Loop: Header=BB0_4 Depth=1
mov x0, x23
bl _atomic_inc
mov x0, x25
bl _generic_make_request
LBB0_25: ; in Loop: Header=BB0_4 Depth=1
mov x0, x20
bl _spin_lock
mov x0, x21
bl _bio_list_empty
mov x26, x0
cmp w0, #0
cset w27, ne
cset w28, eq
mov x0, x22
bl _bio_list_empty
mov x25, x0
cmp w0, #0
cset w24, eq
mov x0, x20
bl _spin_unlock
cbz w26, LBB0_4
; %bb.26: ; in Loop: Header=BB0_4 Depth=1
cbz w25, LBB0_4
LBB0_27:
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_28:
Lloh9:
adrp x2, l_.str@PAGE
Lloh10:
add x2, x2, l_.str@PAGEOFF
b LBB0_30
LBB0_29:
Lloh11:
adrp x2, l_.str.1@PAGE
Lloh12:
add x2, x2, l_.str.1@PAGEOFF
LBB0_30:
mov w0, #2
mov x1, 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 _pkt_dbg
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "write, waiting\n"
l_.str.1: ; @.str.1
.asciz "read, waiting\n"
.comm _READ,8,3 ; @READ
.comm _HI_SPEED_SWITCH,8,3 ; @HI_SPEED_SWITCH
.comm _MAX_SPEED,8,3 ; @MAX_SPEED
.no_dead_strip _pkt_iosched_process_queue
.subsections_via_symbols
| AnghaBench/linux/drivers/block/extr_pktcdvd.c_pkt_iosched_process_queue.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function LogoCallback
_LogoCallback: ## @LogoCallback
.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, %r14
movq %rsi, %r13
movq %rdi, %r12
movq %rdx, %rdi
callq _VLC_UNUSED
leaq 20(%rbx), %r15
leaq 4(%rbx), %rdi
movq %rdi, -48(%rbp) ## 8-byte Spill
callq _vlc_mutex_lock
leaq L_.str(%rip), %rsi
movq %r13, %rdi
callq _strcmp
testl %eax, %eax
je LBB0_1
## %bb.2:
leaq L_.str.1(%rip), %rsi
movq %r13, %rdi
callq _strcmp
testl %eax, %eax
je LBB0_3
## %bb.4:
leaq L_.str.2(%rip), %rsi
movq %r13, %rdi
callq _strcmp
testl %eax, %eax
je LBB0_5
## %bb.6:
leaq L_.str.3(%rip), %rsi
movq %r13, %rdi
callq _strcmp
testl %eax, %eax
je LBB0_7
## %bb.8:
leaq L_.str.4(%rip), %rsi
movq %r13, %rdi
callq _strcmp
testl %eax, %eax
je LBB0_9
## %bb.10:
leaq L_.str.5(%rip), %rsi
movq %r13, %rdi
callq _strcmp
testl %eax, %eax
jne LBB0_12
## %bb.11:
movl %r14d, (%r15)
jmp LBB0_12
LBB0_1:
shrq $32, %r14
movq %r15, %rdi
callq _LogoListUnload
movq %r12, %rdi
movq %r15, %rsi
movl %r14d, %edx
callq _LogoListLoad
jmp LBB0_12
LBB0_3:
movl %r14d, 16(%rbx)
jmp LBB0_12
LBB0_5:
movl %r14d, 12(%rbx)
jmp LBB0_12
LBB0_7:
movl %r14d, 8(%rbx)
jmp LBB0_12
LBB0_9:
movl %r14d, %edi
xorl %esi, %esi
movl $255, %edx
callq _VLC_CLIP
movl %eax, 24(%rbx)
LBB0_12:
movl $1, (%rbx)
movq -48(%rbp), %rdi ## 8-byte Reload
callq _vlc_mutex_unlock
movq _VLC_SUCCESS@GOTPCREL(%rip), %rax
movl (%rax), %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 "logo-file"
L_.str.1: ## @.str.1
.asciz "logo-x"
L_.str.2: ## @.str.2
.asciz "logo-y"
L_.str.3: ## @.str.3
.asciz "logo-position"
L_.str.4: ## @.str.4
.asciz "logo-opacity"
L_.str.5: ## @.str.5
.asciz "logo-repeat"
.comm _VLC_SUCCESS,4,2 ## @VLC_SUCCESS
.no_dead_strip _LogoCallback
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function LogoCallback
_LogoCallback: ; @LogoCallback
.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, x4
mov x20, x3
mov x21, x1
mov x22, x0
mov x0, x2
bl _VLC_UNUSED
add x0, x19, #4
bl _vlc_mutex_lock
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x21
bl _strcmp
cbz w0, LBB0_7
; %bb.1:
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x21
bl _strcmp
cbz w0, LBB0_8
; %bb.2:
Lloh4:
adrp x1, l_.str.2@PAGE
Lloh5:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x21
bl _strcmp
cbz w0, LBB0_9
; %bb.3:
Lloh6:
adrp x1, l_.str.3@PAGE
Lloh7:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x21
bl _strcmp
cbz w0, LBB0_10
; %bb.4:
Lloh8:
adrp x1, l_.str.4@PAGE
Lloh9:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x21
bl _strcmp
cbz w0, LBB0_11
; %bb.5:
Lloh10:
adrp x1, l_.str.5@PAGE
Lloh11:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x21
bl _strcmp
cbnz w0, LBB0_12
; %bb.6:
stur w20, [x19, #20]
b LBB0_12
LBB0_7:
lsr x20, x20, #32
add x0, x19, #20
bl _LogoListUnload
add x1, x19, #20
mov x0, x22
mov x2, x20
bl _LogoListLoad
b LBB0_12
LBB0_8:
str w20, [x19, #16]
b LBB0_12
LBB0_9:
str w20, [x19, #12]
b LBB0_12
LBB0_10:
str w20, [x19, #8]
b LBB0_12
LBB0_11:
mov x0, x20
mov w1, #0 ; =0x0
mov w2, #255 ; =0xff
bl _VLC_CLIP
str w0, [x19, #24]
LBB0_12:
mov w8, #1 ; =0x1
str w8, [x19]
add x0, x19, #4
bl _vlc_mutex_unlock
Lloh12:
adrp x8, _VLC_SUCCESS@GOTPAGE
Lloh13:
ldr x8, [x8, _VLC_SUCCESS@GOTPAGEOFF]
Lloh14:
ldr w0, [x8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "logo-file"
l_.str.1: ; @.str.1
.asciz "logo-x"
l_.str.2: ; @.str.2
.asciz "logo-y"
l_.str.3: ; @.str.3
.asciz "logo-position"
l_.str.4: ; @.str.4
.asciz "logo-opacity"
l_.str.5: ; @.str.5
.asciz "logo-repeat"
.comm _VLC_SUCCESS,4,2 ; @VLC_SUCCESS
.no_dead_strip _LogoCallback
.subsections_via_symbols
| assembly_file_53812.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function FsmRecvConfigNak
_FsmRecvConfigNak: ## @FsmRecvConfigNak
.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 %rdx, %r14
movq %rsi, %r12
movq %rdi, %r15
movq %rdx, %rdi
callq _m_length
movl %eax, %ebx
movl 4(%r12), %edi
callq _ntohs
movl %eax, %r13d
addl $-8, %r13d
cmpl %r13d, %ebx
jl LBB0_15
## %bb.1:
movl (%r15), %edi
leal -128(%rdi), %eax
cmpl $7, %eax
ja LBB0_6
## %bb.2:
movl $36, %ecx
btl %eax, %ecx
jb LBB0_14
## %bb.3:
movl $65, %ecx
btl %eax, %ecx
jb LBB0_15
## %bb.4:
movl $130, %ecx
btl %eax, %ecx
jae LBB0_6
## %bb.5:
movq 16(%r15), %rax
movl (%r12), %esi
movq %r15, %rdi
callq *16(%rax)
jmp LBB0_15
LBB0_14:
movl 24(%r15), %ebx
movq 32(%r15), %rax
movl (%rax), %r15d
## kill: def $edi killed $edi killed $rdi
callq _State2Nam
leaq L_.str(%rip), %rsi
movl %ebx, %edi
movl %r15d, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _log_Printf
LBB0_15:
movq %r14, %rdi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _m_freem ## TAILCALL
LBB0_6:
movq %r14, %rdi
callq _m_pullup
movq %rax, %r14
movq %rax, %rdi
callq _MBUF_CTOP
movq 16(%r15), %rbx
movslq %r13d, %rcx
leaq (%rax,%rcx,4), %rdx
movq _MODE_NAK@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
leaq -64(%rbp), %r8
movq %r15, %rdi
movq %rax, %rsi
callq *8(%rbx)
cmpl $3, %r13d
jg LBB0_8
## %bb.7:
movl 24(%r15), %edi
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _log_Printf
LBB0_8:
movl $-131, %eax
addl (%r15), %eax
cmpl $6, %eax
ja LBB0_13
## %bb.9:
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_10:
movq _FSM_REQ_TIMER@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
callq _FsmInitRestartCounter
movq %r15, %rdi
callq _FsmSendConfigReq
jmp LBB0_13
LBB0_11:
movq 16(%r15), %rax
movq %r15, %rdi
callq *(%rax)
movq %r15, %rdi
callq _FsmSendConfigReq
movq %r15, %rdi
movl $131, %esi
callq _NewState
movq 8(%r15), %rax
movl (%rax), %edi
movq %r15, %rsi
callq *8(%rax)
jmp LBB0_13
LBB0_12:
movq %r15, %rdi
callq _FsmSendConfigReq
movq %r15, %rdi
movl $131, %esi
callq _NewState
LBB0_13:
movq %r14, %rdi
callq _m_freem
addq $24, %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_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
.long L0_0_set_10
.long L0_0_set_11
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_10
.long L0_0_set_12
.end_data_region
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: Oops, RCN in %s.\n"
.comm _MODE_NAK,4,2 ## @MODE_NAK
L_.str.1: ## @.str.1
.asciz " [EMPTY]\n"
.comm _FSM_REQ_TIMER,4,2 ## @FSM_REQ_TIMER
.no_dead_strip _FsmRecvConfigNak
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function FsmRecvConfigNak
_FsmRecvConfigNak: ; @FsmRecvConfigNak
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
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
mov x20, x2
mov x21, x1
mov x19, x0
mov x0, x2
bl _m_length
mov x22, x0
ldr w0, [x21, #4]
bl _ntohs
sub w23, w0, #8
cmp w22, w23
b.lt LBB0_7
; %bb.1:
ldr w0, [x19]
sub w8, w0, #128
cmp w8, #7
b.hi LBB0_8
; %bb.2:
mov w9, #1
lsl w9, w9, w8
mov w10, #36
tst w9, w10
b.ne LBB0_6
; %bb.3:
mov w10, #65
tst w9, w10
b.ne LBB0_7
; %bb.4:
mov w9, #1
lsl w8, w9, w8
mov w9, #130
tst w8, w9
b.eq LBB0_8
; %bb.5:
ldr x8, [x19, #16]
ldr x8, [x8, #16]
ldr w1, [x21]
mov x0, x19
blr x8
b LBB0_7
LBB0_6:
ldr w21, [x19, #24]
ldr x8, [x19, #32]
ldr w19, [x8]
bl _State2Nam
; kill: def $w0 killed $w0 def $x0
stp x19, x0, [sp]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x21
bl _log_Printf
LBB0_7:
mov x0, x20
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
add sp, sp, #112
b _m_freem
LBB0_8:
mov x0, x20
bl _m_pullup
mov x20, x0
bl _MBUF_CTOP
mov x1, x0
ldr x8, [x19, #16]
ldr x8, [x8, #8]
add x2, x0, w23, sxtw #2
Lloh2:
adrp x9, _MODE_NAK@GOTPAGE
Lloh3:
ldr x9, [x9, _MODE_NAK@GOTPAGEOFF]
Lloh4:
ldr w3, [x9]
add x4, sp, #24
mov x0, x19
blr x8
cmp w23, #3
b.gt LBB0_10
; %bb.9:
ldr w0, [x19, #24]
Lloh5:
adrp x1, l_.str.1@PAGE
Lloh6:
add x1, x1, l_.str.1@PAGEOFF
bl _log_Printf
LBB0_10:
ldr w8, [x19]
sub w8, w8, #131
cmp w8, #6
b.hi LBB0_15
; %bb.11:
Lloh7:
adrp x9, lJTI0_0@PAGE
Lloh8:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_12
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_12:
Lloh9:
adrp x8, _FSM_REQ_TIMER@GOTPAGE
Lloh10:
ldr x8, [x8, _FSM_REQ_TIMER@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
mov x0, x19
bl _FsmInitRestartCounter
mov x0, x19
bl _FsmSendConfigReq
b LBB0_15
LBB0_13:
ldr x8, [x19, #16]
ldr x8, [x8]
mov x0, x19
blr x8
mov x0, x19
bl _FsmSendConfigReq
mov x0, x19
mov w1, #131
bl _NewState
ldr x8, [x19, #8]
ldr x9, [x8, #8]
ldr w0, [x8]
mov x1, x19
blr x9
b LBB0_15
LBB0_14:
mov x0, x19
bl _FsmSendConfigReq
mov x0, x19
mov w1, #131
bl _NewState
LBB0_15:
mov x0, x20
bl _m_freem
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
add sp, sp, #112
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_12-LBB0_12)>>2
.byte (LBB0_13-LBB0_12)>>2
.byte (LBB0_15-LBB0_12)>>2
.byte (LBB0_15-LBB0_12)>>2
.byte (LBB0_15-LBB0_12)>>2
.byte (LBB0_12-LBB0_12)>>2
.byte (LBB0_14-LBB0_12)>>2
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: Oops, RCN in %s.\n"
.comm _MODE_NAK,4,2 ; @MODE_NAK
l_.str.1: ; @.str.1
.asciz " [EMPTY]\n"
.comm _FSM_REQ_TIMER,4,2 ; @FSM_REQ_TIMER
.no_dead_strip _FsmRecvConfigNak
.subsections_via_symbols
| AnghaBench/freebsd/usr.sbin/ppp/extr_fsm.c_FsmRecvConfigNak.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function gbr24ptopacked32
_gbr24ptopacked32: ## @gbr24ptopacked32
.cfi_startproc
## %bb.0:
testl %r8d, %r8d
jle LBB0_20
## %bb.1:
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
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl 16(%rbp), %r15d
movslq %ecx, %r11
movl %r8d, %r14d
movl %r15d, %r12d
movq (%rdi), %r8
movq 8(%rdi), %rbx
movq %rdi, -64(%rbp) ## 8-byte Spill
movq 16(%rdi), %rcx
leaq -1(%r12), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movq %r12, -56(%rbp) ## 8-byte Spill
## kill: def $r12d killed $r12d killed $r12 def $r12
andl $-2, %r12d
xorl %r13d, %r13d
movq %r14, -72(%rbp) ## 8-byte Spill
jmp LBB0_2
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_2 Depth=1
movslq (%rsi), %rax
leaq (%r8,%rax,4), %r8
movslq 4(%rsi), %rax
leaq (%rbx,%rax,4), %rbx
movslq 8(%rsi), %rax
leaq (%rcx,%rax,4), %rcx
incq %r13
cmpq %r14, %r13
je LBB0_19
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_12 Depth 2
## Child Loop BB0_15 Depth 2
movq %r13, %rdi
imulq %r11, %rdi
leaq (%rdx,%rdi,4), %r10
testl %r9d, %r9d
je LBB0_8
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
testl %r15d, %r15d
jle LBB0_18
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
cmpq $0, -48(%rbp) ## 8-byte Folded Reload
je LBB0_5
## %bb.11: ## in Loop: Header=BB0_2 Depth=1
movq %r11, %r14
movl %r15d, %r11d
xorl %edi, %edi
.p2align 4, 0x90
LBB0_12: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movl $255, (%r10)
movl (%r8,%rdi,4), %r15d
movl %r15d, 4(%r10)
movl (%rbx,%rdi,4), %eax
movl %eax, 8(%r10)
movl (%rcx,%rdi,4), %eax
movl %eax, 12(%r10)
movl $255, 16(%r10)
movl 4(%r8,%rdi,4), %eax
movl %eax, 20(%r10)
movl 4(%rbx,%rdi,4), %eax
movl %eax, 24(%r10)
movl 4(%rcx,%rdi,4), %eax
movl %eax, 28(%r10)
addq $32, %r10
addq $2, %rdi
cmpq %rdi, %r12
jne LBB0_12
## %bb.13: ## in Loop: Header=BB0_2 Depth=1
movl %r11d, %r15d
movq %r14, %r11
movq -72(%rbp), %r14 ## 8-byte Reload
testb $1, -56(%rbp) ## 1-byte Folded Reload
je LBB0_18
jmp LBB0_7
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
testl %r15d, %r15d
jle LBB0_18
## %bb.9: ## in Loop: Header=BB0_2 Depth=1
cmpq $0, -48(%rbp) ## 8-byte Folded Reload
je LBB0_10
## %bb.14: ## in Loop: Header=BB0_2 Depth=1
xorl %edi, %edi
.p2align 4, 0x90
LBB0_15: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movl (%r8,%rdi,4), %eax
movl %eax, (%r10)
movl (%rbx,%rdi,4), %eax
movl %eax, 4(%r10)
movl (%rcx,%rdi,4), %eax
movl %eax, 8(%r10)
movl $255, 12(%r10)
movl 4(%r8,%rdi,4), %eax
movl %eax, 16(%r10)
movl 4(%rbx,%rdi,4), %eax
movl %eax, 20(%r10)
movl 4(%rcx,%rdi,4), %eax
movl %eax, 24(%r10)
movl $255, 28(%r10)
addq $32, %r10
addq $2, %rdi
cmpq %rdi, %r12
jne LBB0_15
## %bb.16: ## in Loop: Header=BB0_2 Depth=1
testb $1, -56(%rbp) ## 1-byte Folded Reload
je LBB0_18
jmp LBB0_17
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
xorl %edi, %edi
testb $1, -56(%rbp) ## 1-byte Folded Reload
je LBB0_18
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
movl $255, (%r10)
movl (%r8,%rdi,4), %eax
movl %eax, 4(%r10)
movl (%rbx,%rdi,4), %eax
movl %eax, 8(%r10)
movl (%rcx,%rdi,4), %eax
movl %eax, 12(%r10)
jmp LBB0_18
LBB0_10: ## in Loop: Header=BB0_2 Depth=1
xorl %edi, %edi
testb $1, -56(%rbp) ## 1-byte Folded Reload
je LBB0_18
LBB0_17: ## in Loop: Header=BB0_2 Depth=1
movl (%r8,%rdi,4), %eax
movl %eax, (%r10)
movl (%rbx,%rdi,4), %eax
movl %eax, 4(%r10)
movl (%rcx,%rdi,4), %eax
movl %eax, 8(%r10)
movl $255, 12(%r10)
jmp LBB0_18
LBB0_19:
movq -64(%rbp), %rax ## 8-byte Reload
movq %r8, (%rax)
movq %rbx, 8(%rax)
movq %rcx, 16(%rax)
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
LBB0_20:
retq
.cfi_endproc
## -- End function
.no_dead_strip _gbr24ptopacked32
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function gbr24ptopacked32
_gbr24ptopacked32: ; @gbr24ptopacked32
.cfi_startproc
; %bb.0:
; kill: def $w3 killed $w3 def $x3
cmp w4, #1
b.lt LBB0_27
; %bb.1:
stp x26, x25, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
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
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -56
.cfi_offset w26, -64
mov x8, #0
sxtw x9, w3
mov w10, w6
ldp x11, x12, [x0]
ldr x13, [x0, #16]
lsl x14, x10, #2
and x15, x10, #0xfffffff8
lsl x16, x15, #2
add x17, x2, #64
sbfiz x3, x3, #2, #32
lsl x7, x10, #4
and x7, x7, #0xfffffff80
mov w19, #255
movi.2d v0, #0x0000ff000000ff
mov w4, w4
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
ldpsw x20, x21, [x1]
add x11, x11, x20, lsl #2
add x12, x12, x21, lsl #2
ldrsw x20, [x1, #8]
add x13, x13, x20, lsl #2
add x8, x8, #1
add x17, x17, x3
cmp x8, x4
b.eq LBB0_26
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_14 Depth 2
; Child Loop BB0_17 Depth 2
; Child Loop BB0_22 Depth 2
; Child Loop BB0_25 Depth 2
mul x21, x8, x9
add x20, x2, x21, lsl #2
add x21, x14, x21
add x22, x2, x21, lsl #2
cmp w6, #1
cbz w5, LBB0_7
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
b.lt LBB0_2
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
cmp w6, #8
b.hs LBB0_10
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
mov x21, #0
b LBB0_16
LBB0_7: ; in Loop: Header=BB0_3 Depth=1
b.lt LBB0_2
; %bb.8: ; in Loop: Header=BB0_3 Depth=1
cmp w6, #8
b.hs LBB0_18
; %bb.9: ; in Loop: Header=BB0_3 Depth=1
mov x21, #0
b LBB0_24
LBB0_10: ; in Loop: Header=BB0_3 Depth=1
mov x21, #0
add x25, x11, x14
add x23, x12, x14
cmp x20, x23
ccmp x12, x22, #2, lo
cset w24, lo
add x23, x13, x14
cmp x20, x23
ccmp x13, x22, #2, lo
cset w23, lo
cmp x11, x22
ccmp x20, x25, #2, lo
b.lo LBB0_16
; %bb.11: ; in Loop: Header=BB0_3 Depth=1
tbnz w24, #0, LBB0_16
; %bb.12: ; in Loop: Header=BB0_3 Depth=1
tbnz w23, #0, LBB0_16
; %bb.13: ; in Loop: Header=BB0_3 Depth=1
add x21, x11, #16
add x22, x12, #16
add x23, x13, #16
mov x24, x17
mov x25, x15
add x20, x20, x16, lsl #2
LBB0_14: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldp q5, q1, [x21, #-16]
ldp q6, q2, [x22, #-16]
ldp q7, q3, [x23, #-16]
sub x26, x24, #64
mov.16b v4, v0
st4.4s { v4, v5, v6, v7 }, [x26]
st4.4s { v0, v1, v2, v3 }, [x24]
add x21, x21, #32
add x24, x24, #128
add x22, x22, #32
add x23, x23, #32
subs x25, x25, #8
b.ne LBB0_14
; %bb.15: ; in Loop: Header=BB0_3 Depth=1
mov x21, x15
cmp x15, x10
b.eq LBB0_2
LBB0_16: ; in Loop: Header=BB0_3 Depth=1
lsl x24, x21, #2
add x22, x13, x24
add x23, x12, x24
add x24, x11, x24
sub x21, x10, x21
LBB0_17: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
str w19, [x20]
ldr w25, [x24], #4
str w25, [x20, #4]
ldr w25, [x23], #4
str w25, [x20, #8]
ldr w25, [x22], #4
str w25, [x20, #12]
add x20, x20, #16
subs x21, x21, #1
b.ne LBB0_17
b LBB0_2
LBB0_18: ; in Loop: Header=BB0_3 Depth=1
mov x21, #0
add x25, x11, x14
add x23, x12, x14
cmp x20, x23
ccmp x12, x22, #2, lo
cset w24, lo
add x23, x13, x14
cmp x20, x23
ccmp x13, x22, #2, lo
cset w23, lo
cmp x11, x22
ccmp x20, x25, #2, lo
b.lo LBB0_24
; %bb.19: ; in Loop: Header=BB0_3 Depth=1
tbnz w24, #0, LBB0_24
; %bb.20: ; in Loop: Header=BB0_3 Depth=1
tbnz w23, #0, LBB0_24
; %bb.21: ; in Loop: Header=BB0_3 Depth=1
mov x21, #0
add x22, x11, #16
add x23, x12, #16
add x24, x13, #16
add x20, x20, x16, lsl #2
LBB0_22: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldp q4, q16, [x22, #-16]
ldp q5, q17, [x23, #-16]
ldp q6, q18, [x24, #-16]
mov.16b v7, v0
mov.16b v19, v0
add x25, x17, x21
sub x26, x25, #64
st4.4s { v4, v5, v6, v7 }, [x26]
st4.4s { v16, v17, v18, v19 }, [x25]
add x21, x21, #128
add x22, x22, #32
add x23, x23, #32
add x24, x24, #32
cmp x7, x21
b.ne LBB0_22
; %bb.23: ; in Loop: Header=BB0_3 Depth=1
mov x21, x15
cmp x15, x10
b.eq LBB0_2
LBB0_24: ; in Loop: Header=BB0_3 Depth=1
lsl x24, x21, #2
add x22, x13, x24
add x23, x12, x24
add x24, x11, x24
sub x21, x10, x21
LBB0_25: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr w25, [x24], #4
str w25, [x20]
ldr w25, [x23], #4
str w25, [x20, #4]
ldr w25, [x22], #4
stp w25, w19, [x20, #8]
add x20, x20, #16
subs x21, x21, #1
b.ne LBB0_25
b LBB0_2
LBB0_26:
stp x11, x12, [x0]
str x13, [x0, #16]
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], #64 ; 16-byte Folded Reload
LBB0_27:
.cfi_def_cfa wsp, 0
.cfi_same_value w19
.cfi_same_value w20
.cfi_same_value w21
.cfi_same_value w22
.cfi_same_value w23
.cfi_same_value w24
.cfi_same_value w25
.cfi_same_value w26
ret
.cfi_endproc
; -- End function
.no_dead_strip _gbr24ptopacked32
.subsections_via_symbols
| AnghaBench/FFmpeg/libswscale/extr_swscale_unscaled.c_gbr24ptopacked32.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function readpcibridge
_readpcibridge: ## @readpcibridge
.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
cmpq $0, (%rdi)
je LBB0_2
## %bb.1:
movl %esi, %r14d
movq %rdi, %rbx
movq _R_CTRL@GOTPCREL(%rip), %r15
movl (%r15), %esi
movl $4, %edx
callq _HFC_outb
movq (%rbx), %rsi
addq $4, %rsi
testb %r14b, %r14b
movl $16384, %eax ## imm = 0x4000
movl $22528, %edi ## imm = 0x5800
cmovel %eax, %edi
callq _outw
movq (%rbx), %rdi
callq _inb
movl %eax, %r14d
movl (%r15), %esi
movq %rbx, %rdi
xorl %edx, %edx
callq _HFC_outb
movzbl %r14b, %eax
jmp LBB0_3
LBB0_2:
xorl %eax, %eax
LBB0_3:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _R_CTRL,4,2 ## @R_CTRL
.no_dead_strip _readpcibridge
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function readpcibridge
_readpcibridge: ; @readpcibridge
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
ldr x8, [x0]
cbz x8, LBB0_2
; %bb.1:
mov x20, x1
mov x19, x0
Lloh0:
adrp x21, _R_CTRL@GOTPAGE
Lloh1:
ldr x21, [x21, _R_CTRL@GOTPAGEOFF]
ldr w1, [x21]
mov w2, #4
bl _HFC_outb
ldr x8, [x19]
add x1, x8, #4
mov w8, #22528
mov w9, #16384
cmp w20, #0
csel w0, w9, w8, eq
bl _outw
ldr x0, [x19]
bl _inb
mov x20, x0
ldr w1, [x21]
mov x0, x19
mov w2, #0
bl _HFC_outb
mov x0, x20
b LBB0_3
LBB0_2:
mov w0, #0
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 Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _R_CTRL,4,2 ; @R_CTRL
.no_dead_strip _readpcibridge
.subsections_via_symbols
| AnghaBench/linux/drivers/isdn/hardware/mISDN/extr_hfcmulti.c_readpcibridge.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 %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl $0, -24(%rbp)
movl $0, -20(%rbp)
leaq L_str(%rip), %rdi
callq _puts
leaq L_.str.1(%rip), %rbx
leaq -24(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq L_str.4(%rip), %rdi
callq _puts
leaq -20(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
movl -24(%rbp), %ebx
movl -20(%rbp), %r8d
cmpl %r8d, %ebx
jle LBB0_1
LBB0_9:
xorl %eax, %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
LBB0_1:
leaq L_.str.3(%rip), %r14
jmp LBB0_2
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
movl -20(%rbp), %r8d
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
leal 1(%rbx), %eax
cmpl %r8d, %ebx
movl %eax, %ebx
jge LBB0_9
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
cmpl $4, %ebx
jl LBB0_7
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
leal -1(%rbx), %esi
movl $3, %edi
.p2align 4, 0x90
LBB0_4: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
leal -1(%rdi), %ecx
movl %ebx, %eax
cltd
idivl %ecx
cmpl %esi, %edi
jge LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
incl %edi
testl %edx, %edx
jne LBB0_4
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
testl %edx, %edx
jne LBB0_7
jmp LBB0_8
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.3: ## @.str.3
.asciz "Este n\303\272mero es primo: %d\n"
L_str: ## @str
.asciz "Ingresar el l\303\255mite inferior del rango: "
L_str.4: ## @str.4
.asciz "Ingresar el l\303\255mite superior del rango: "
.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
str xzr, [sp, #8]
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
add x8, sp, #12
str x8, [sp]
Lloh2:
adrp x19, l_.str.1@PAGE
Lloh3:
add x19, x19, l_.str.1@PAGEOFF
mov x0, x19
bl _scanf
Lloh4:
adrp x0, l_str.4@PAGE
Lloh5:
add x0, x0, l_str.4@PAGEOFF
bl _puts
add x8, sp, #8
str x8, [sp]
mov x0, x19
bl _scanf
ldp w8, w20, [sp, #8]
cmp w20, w8
b.le LBB0_2
LBB0_1:
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_2:
Lloh6:
adrp x19, l_.str.3@PAGE
Lloh7:
add x19, x19, l_.str.3@PAGEOFF
b LBB0_5
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
str x20, [sp]
mov x0, x19
bl _printf
ldr w8, [sp, #8]
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add w9, w20, #1
cmp w20, w8
mov x20, x9
b.ge LBB0_1
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
cmp w20, #4
b.lt LBB0_3
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
sub w9, w20, #1
mov w10, #3
LBB0_7: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
sub w11, w10, #1
sdiv w12, w20, w11
msub w11, w12, w11, w20
cmp w10, w9
b.ge LBB0_9
; %bb.8: ; in Loop: Header=BB0_7 Depth=2
add w10, w10, #1
cbnz w11, LBB0_7
LBB0_9: ; in Loop: Header=BB0_5 Depth=1
cbnz w11, LBB0_3
b LBB0_4
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.3: ; @.str.3
.asciz "Este n\303\272mero es primo: %d\n"
l_str: ; @str
.asciz "Ingresar el l\303\255mite inferior del rango: "
l_str.4: ; @str.4
.asciz "Ingresar el l\303\255mite superior del rango: "
.subsections_via_symbols
| the_stack_data/9511490.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function HUF_fillDTableX4Level2
_HUF_fillDTableX4Level2: ## @HUF_fillDTableX4Level2
.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 $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, -120(%rbp) ## 8-byte Spill
movl %r8d, %r15d
movq %rcx, %r12
movq %rdx, -88(%rbp) ## 8-byte Spill
movq %rsi, -112(%rbp) ## 8-byte Spill
movq %rdi, -80(%rbp) ## 8-byte Spill
movq %rsp, -96(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _HUF_ABSOLUTEMAX_TABLELOG@GOTPCREL(%rip), %rax
movl (%rax), %r14d
leal 1(%r14), %eax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rbx
leal 8(,%r14,8), %edx
movq %rbx, %rdi
movq %r12, %rsi
callq _memcpy
cmpl $2, %r15d
jl LBB0_9
## %bb.1:
movl %r15d, %eax
movq (%rbx,%rax,8), %r14
leaq -56(%rbp), %rdi
movq 32(%rbp), %rsi
callq _MEM_writeLE16
movq -88(%rbp), %rax ## 8-byte Reload
movq %rax, -64(%rbp)
movl $1, -72(%rbp)
testq %r14, %r14
je LBB0_9
## %bb.2:
leaq -1(%r14), %rcx
movl %r14d, %eax
andl $3, %eax
cmpq $3, %rcx
jae LBB0_4
## %bb.3:
xorl %ecx, %ecx
jmp LBB0_6
LBB0_4:
andq $-4, %r14
xorl %ecx, %ecx
movq -80(%rbp), %rdx ## 8-byte Reload
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq -56(%rbp), %rsi
movq %rsi, 16(%rdx)
movups -72(%rbp), %xmm0
movups %xmm0, (%rdx)
movq -56(%rbp), %rsi
movq %rsi, 40(%rdx)
movups -72(%rbp), %xmm0
movups %xmm0, 24(%rdx)
movq -56(%rbp), %rsi
movq %rsi, 64(%rdx)
movups -72(%rbp), %xmm0
movups %xmm0, 48(%rdx)
movups -72(%rbp), %xmm0
movups %xmm0, 72(%rdx)
movq -56(%rbp), %rsi
movq %rsi, 88(%rdx)
addq $4, %rcx
addq $96, %rdx
cmpq %rcx, %r14
jne LBB0_5
LBB0_6:
testq %rax, %rax
je LBB0_9
## %bb.7:
leaq (%rcx,%rcx,2), %rcx
movq -80(%rbp), %rdx ## 8-byte Reload
leaq (%rdx,%rcx,8), %rcx
shlq $3, %rax
leaq (%rax,%rax,2), %rax
xorl %edx, %edx
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movq -56(%rbp), %rsi
movq %rsi, 16(%rcx,%rdx)
movups -72(%rbp), %xmm0
movups %xmm0, (%rcx,%rdx)
addq $24, %rdx
cmpq %rdx, %rax
jne LBB0_8
LBB0_9:
cmpq $0, 16(%rbp)
je LBB0_14
## %bb.10:
xorl %r12d, %r12d
movq %rbx, -104(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_11: ## =>This Loop Header: Depth=1
## Child Loop BB0_12 Depth 2
movq %r12, %rax
shlq $4, %rax
movq -120(%rbp), %rcx ## 8-byte Reload
movq (%rcx,%rax), %rsi
movq 8(%rcx,%rax), %r14
movq 24(%rbp), %r15
subq %r14, %r15
movq -112(%rbp), %rax ## 8-byte Reload
movl %eax, %ecx
subl %r15d, %ecx
movl $1, %eax
## kill: def $cl killed $cl killed $ecx
shll %cl, %eax
cltq
movq (%rbx,%r14,8), %rbx
movq %rax, -128(%rbp) ## 8-byte Spill
leaq (%rbx,%rax), %r13
shlq $8, %rsi
addq 32(%rbp), %rsi
leaq -56(%rbp), %rdi
callq _MEM_writeLE16
addq -88(%rbp), %r15 ## 8-byte Folded Reload
movq %r15, -64(%rbp)
movl $2, -72(%rbp)
leaq (%rbx,%rbx,2), %rax
movq -80(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax,8), %rax
.p2align 4, 0x90
LBB0_12: ## Parent Loop BB0_11 Depth=1
## => This Inner Loop Header: Depth=2
incq %rbx
movq -56(%rbp), %rcx
movq %rcx, 16(%rax)
movl -72(%rbp), %ecx
movl %ecx, (%rax)
movl -68(%rbp), %ecx
movl %ecx, 4(%rax)
movq -64(%rbp), %rcx
movq %rcx, 8(%rax)
addq $24, %rax
cmpq %r13, %rbx
jb LBB0_12
## %bb.13: ## in Loop: Header=BB0_11 Depth=1
movq -104(%rbp), %rbx ## 8-byte Reload
movq -128(%rbp), %rax ## 8-byte Reload
addq %rax, (%rbx,%r14,8)
incq %r12
cmpq 16(%rbp), %r12
jne LBB0_11
LBB0_14:
movq -96(%rbp), %rsp ## 8-byte Reload
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_16
## %bb.15:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_16:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _HUF_ABSOLUTEMAX_TABLELOG,4,2 ## @HUF_ABSOLUTEMAX_TABLELOG
.no_dead_strip _HUF_fillDTableX4Level2
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function HUF_fillDTableX4Level2
_HUF_fillDTableX4Level2: ; @HUF_fillDTableX4Level2
.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
sub sp, sp, #80
stp x5, x7, [x29, #-144] ; 16-byte Folded Spill
stp x2, x6, [x29, #-128] ; 16-byte Folded Spill
mov x27, x4
mov x24, x0
mov x8, sp
stp x8, x1, [x29, #-160] ; 16-byte Folded Spill
ldr x25, [x29, #16]
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
Lloh3:
adrp x8, _HUF_ABSOLUTEMAX_TABLELOG@GOTPAGE
Lloh4:
ldr x8, [x8, _HUF_ABSOLUTEMAX_TABLELOG@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
add w12, w8, #1
lsl x8, x12, #3
mov x9, x8
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0xffffffff0
sub x26, x9, x8
mov sp, x26
lsl w2, w12, #3
mov x0, x26
mov x1, x3
bl _memcpy
cmp w27, #2
b.lt LBB0_4
; %bb.1:
ldr x19, [x26, w27, uxtw #3]
sub x8, x29, #112
add x0, x8, #16
mov x1, x25
bl _MEM_writeLE16
ldur x8, [x29, #-128] ; 8-byte Folded Reload
stur x8, [x29, #-104]
mov w8, #1
stur w8, [x29, #-112]
cbz x19, LBB0_4
; %bb.2:
mov x8, x24
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldur q0, [x29, #-112]
str q0, [x8]
ldur x9, [x29, #-96]
str x9, [x8, #16]
add x8, x8, #24
subs x19, x19, #1
b.ne LBB0_3
LBB0_4:
ldur x8, [x29, #-120] ; 8-byte Folded Reload
cbz x8, LBB0_9
; %bb.5:
mov x28, #0
sub x8, x29, #112
add x27, x8, #16
LBB0_6: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
ldur x8, [x29, #-144] ; 8-byte Folded Reload
add x8, x8, x28, lsl #4
ldp x9, x19, [x8]
ldur x8, [x29, #-136] ; 8-byte Folded Reload
sub x22, x8, x19
ldur x8, [x29, #-152] ; 8-byte Folded Reload
sub w8, w8, w22
mov w10, #1
lsl w8, w10, w8
sxtw x21, w8
ldr x23, [x26, x19, lsl #3]
add x20, x23, x21
add x1, x25, x9, lsl #8
mov x0, x27
bl _MEM_writeLE16
ldur x8, [x29, #-128] ; 8-byte Folded Reload
add x8, x22, x8
stur x8, [x29, #-104]
mov w8, #2
stur w8, [x29, #-112]
mov w8, #24
madd x8, x23, x8, x24
LBB0_7: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
add x23, x23, #1
ldur q0, [x29, #-112]
str q0, [x8]
ldur x9, [x29, #-96]
str x9, [x8, #16]
add x8, x8, #24
cmp x23, x20
b.lo LBB0_7
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
lsl x8, x19, #3
ldr x9, [x26, x8]
add x9, x9, x21
str x9, [x26, x8]
add x28, x28, #1
ldur x8, [x29, #-120] ; 8-byte Folded Reload
cmp x28, x8
b.ne LBB0_6
LBB0_9:
ldur x8, [x29, #-160] ; 8-byte Folded Reload
mov sp, x8
ldur x8, [x29, #-88]
Lloh8:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh9:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_11
; %bb.10:
sub sp, x29, #80
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_11:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _HUF_ABSOLUTEMAX_TABLELOG,4,2 ; @HUF_ABSOLUTEMAX_TABLELOG
.no_dead_strip _HUF_fillDTableX4Level2
.subsections_via_symbols
| AnghaBench/freebsd/sys/contrib/zstd/lib/legacy/extr_zstd_v02.c_HUF_fillDTableX4Level2.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _is_prime ## -- Begin function is_prime
.p2align 4, 0x90
_is_prime: ## @is_prime
.cfi_startproc
## %bb.0:
movl %edi, %esi
cvtsi2sd %edi, %xmm0
sqrtsd %xmm0, %xmm0
cvttsd2si %xmm0, %ecx
cmpl $2, %ecx
jl LBB0_5
## %bb.1:
negl %ecx
movl $2, %edi
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl %esi, %eax
cltd
idivl %edi
testl %edx, %edx
je LBB0_4
## %bb.2: ## in Loop: Header=BB0_3 Depth=1
leal (%rcx,%rdi), %eax
incl %eax
movl %edi, %edx
incl %edx
movl %edx, %edi
cmpl $1, %eax
jne LBB0_3
LBB0_5:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
movl $1, %eax
popq %rbp
retq
LBB0_4:
xorl %eax, %eax
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI1_0:
.quad 0x40faaf4000000000 ## double 109300
LCPI1_1:
.quad 0x4031000000000000 ## double 17
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl $109300, %ebx ## imm = 0x1AAF4
movsd LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero
leaq L_.str(%rip), %r14
xorl %r15d, %r15d
jmp LBB1_1
.p2align 4, 0x90
LBB1_8: ## in Loop: Header=BB1_1 Depth=1
movq %r14, %rdi
movl %ebx, %esi
xorl %eax, %eax
movsd %xmm1, -32(%rbp) ## 8-byte Spill
callq _printf
movsd -32(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
addsd LCPI1_1(%rip), %xmm1
leal 17(%rbx), %eax
cmpl $126300, %ebx ## imm = 0x1ED5C
movl %eax, %ebx
je LBB1_7
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_4 Depth 2
xorps %xmm0, %xmm0
sqrtsd %xmm1, %xmm0
cvttsd2si %xmm0, %ecx
cmpl $2, %ecx
jl LBB1_8
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
negl %ecx
movl $2, %esi
.p2align 4, 0x90
LBB1_4: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
movl %ebx, %eax
xorl %edx, %edx
divl %esi
testl %edx, %edx
je LBB1_5
## %bb.3: ## in Loop: Header=BB1_4 Depth=2
leal (%rcx,%rsi), %eax
incl %eax
movl %esi, %edx
incl %edx
movl %edx, %esi
cmpl $1, %eax
jne LBB1_4
jmp LBB1_8
.p2align 4, 0x90
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
incl %r15d
jmp LBB1_6
LBB1_7:
leaq L_.str.1(%rip), %rdi
movl %r15d, %esi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz ">> %d is prime\n"
L_.str.1: ## @.str.1
.asciz "> h: %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _is_prime ; -- Begin function is_prime
.p2align 2
_is_prime: ; @is_prime
.cfi_startproc
; %bb.0:
; kill: def $w0 killed $w0 def $x0
scvtf d0, w0
fsqrt d0, d0
fcvtzs w8, d0
cmp w8, #2
b.lt LBB0_4
; %bb.1:
mov w9, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
add w9, w9, #1
sdiv w10, w0, w9
msub w10, w10, w9, w0
cbz w10, LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
cmp w8, w9
b.ne LBB0_2
LBB0_4:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
LBB0_5:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
mov w0, #0
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp d9, d8, [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 b8, -56
.cfi_offset b9, -64
mov w20, #0
mov w21, #43764
movk w21, #1, lsl #16
mov x8, #192689412767744
movk x8, #16634, lsl #48
fmov d8, x8
Lloh2:
adrp x19, l_.str@PAGE
Lloh3:
add x19, x19, l_.str@PAGEOFF
fmov d9, #17.00000000
mov w22, #60764
movk w22, #1, lsl #16
b LBB1_3
LBB1_1: ; in Loop: Header=BB1_3 Depth=1
str x21, [sp]
mov x0, x19
bl _printf
LBB1_2: ; in Loop: Header=BB1_3 Depth=1
fadd d8, d8, d9
add w8, w21, #17
cmp w21, w22
mov x21, x8
b.eq LBB1_8
LBB1_3: ; =>This Loop Header: Depth=1
; Child Loop BB1_5 Depth 2
fsqrt d0, d8
fcvtzs w8, d0
cmp w8, #2
b.lt LBB1_1
; %bb.4: ; in Loop: Header=BB1_3 Depth=1
mov w9, #1
LBB1_5: ; Parent Loop BB1_3 Depth=1
; => This Inner Loop Header: Depth=2
add w9, w9, #1
udiv w10, w21, w9
msub w10, w10, w9, w21
cbz w10, LBB1_7
; %bb.6: ; in Loop: Header=BB1_5 Depth=2
cmp w8, w9
b.ne LBB1_5
b LBB1_1
LBB1_7: ; in Loop: Header=BB1_3 Depth=1
add w20, w20, #1
b LBB1_2
LBB1_8:
str x20, [sp]
Lloh4:
adrp x0, l_.str.1@PAGE
Lloh5:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp d9, d8, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz ">> %d is prime\n"
l_.str.1: ; @.str.1
.asciz "> h: %d\n"
.subsections_via_symbols
| the_stack_data/28261659.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_str(%rip), %rdi
callq _puts
leaq L_str.6(%rip), %rbx
movq %rbx, %rdi
callq _puts
leaq L_str.5(%rip), %rdi
callq _puts
movq %rbx, %rdi
callq _puts
leaq L_str.7(%rip), %rdi
callq _puts
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_str: ## @str
.asciz " _.-;;-._"
L_str.5: ## @str.5
.asciz "'-..-'|_.-;;-._|"
L_str.6: ## @str.6
.asciz "'-..-'| || |"
L_str.7: ## @str.7
.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 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 x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
Lloh2:
adrp x19, l_str.6@PAGE
Lloh3:
add x19, x19, l_str.6@PAGEOFF
mov x0, x19
bl _puts
Lloh4:
adrp x0, l_str.5@PAGE
Lloh5:
add x0, x0, l_str.5@PAGEOFF
bl _puts
mov x0, x19
bl _puts
Lloh6:
adrp x0, l_str.7@PAGE
Lloh7:
add x0, x0, l_str.7@PAGEOFF
bl _puts
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_str: ; @str
.asciz " _.-;;-._"
l_str.5: ; @str.5
.asciz "'-..-'|_.-;;-._|"
l_str.6: ; @str.6
.asciz "'-..-'| || |"
l_str.7: ; @str.7
.asciz "'-..-'|_.-''-._|"
.subsections_via_symbols
| the_stack_data/76701569.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _trp_add ## -- Begin function trp_add
.p2align 4, 0x90
_trp_add: ## @trp_add
.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
movl %esi, %r12d
leaq 8(%rdi), %r14
movq 8(%rdi), %rbx
testq %rbx, %rbx
je LBB0_12
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpl %r15d, (%rbx)
jl LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl 4(%rbx), %eax
cmpl %r12d, %eax
je LBB0_13
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
leaq 8(%rbx), %rdx
addq $16, %rbx
cmpl %r12d, %eax
cmovlq %rbx, %r14
cmovgq %rdx, %r14
movq (%r14), %rbx
testq %rbx, %rbx
jne LBB0_2
LBB0_12:
xorl %eax, %eax
movq %rcx, %r13
movq %rdi, %rbx
callq _alloc_wkey
incl (%rbx)
movq %rax, %rbx
movl %r12d, 4(%rax)
movl %r15d, (%rax)
movq %r13, 24(%rax)
movq (%r14), %rdi
leaq 16(%rbx), %rdx
leaq 8(%rbx), %rcx
movl %r12d, %esi
callq _trp_split
movq %rbx, (%r14)
LBB0_13:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_5 Depth=1
addq $8, %rbx
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
movq (%rbx), %rbx
LBB0_11: ## in Loop: Header=BB0_5 Depth=1
testq %rbx, %rbx
je LBB0_12
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl 4(%rbx), %eax
cmpl %r12d, %eax
je LBB0_13
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
jg LBB0_7
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
jge LBB0_11
## %bb.9: ## in Loop: Header=BB0_5 Depth=1
addq $16, %rbx
jmp LBB0_10
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _trp_add ; -- Begin function trp_add
.p2align 2
_trp_add: ; @trp_add
.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 x20, x3
mov x21, x2
mov x19, x1
mov x22, x0
mov x24, x0
ldr x23, [x24, #8]!
cbz x23, LBB0_4
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [x23]
cmp w8, w21
b.lt LBB0_9
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [x23, #4]
cmp w8, w19
b.eq LBB0_5
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
add x8, x23, #8
add x9, x23, #16
csel x9, x9, x24, lt
csel x24, x8, x9, gt
ldr x23, [x24]
cbnz x23, LBB0_1
LBB0_4:
bl _alloc_wkey
mov x23, x0
ldr w8, [x22]
add w8, w8, #1
str w8, [x22]
stp w21, w19, [x0]
str x20, [x0, #24]
ldr x0, [x24]
add x2, x23, #16
add x3, x23, #8
mov x1, x19
bl _trp_split
str x23, [x24]
LBB0_5:
mov x0, x23
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_6: ; in Loop: Header=BB0_9 Depth=1
add x8, x23, #8
LBB0_7: ; in Loop: Header=BB0_9 Depth=1
ldr x23, [x8]
LBB0_8: ; in Loop: Header=BB0_9 Depth=1
cbz x23, LBB0_4
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldr w8, [x23, #4]
cmp w8, w19
b.eq LBB0_5
; %bb.10: ; in Loop: Header=BB0_9 Depth=1
b.gt LBB0_6
; %bb.11: ; in Loop: Header=BB0_9 Depth=1
cmp w8, w19
b.ge LBB0_8
; %bb.12: ; in Loop: Header=BB0_9 Depth=1
add x8, x23, #16
b LBB0_7
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/kphp-kdb/watchcat/extr_watchcat-data.c_trp_add.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function st_pinconf_set_config
_st_pinconf_set_config: ## @st_pinconf_set_config
.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 %rdx, %r14
movq 16(%rdi), %rbx
movq (%rdi), %r15
movq 8(%rdi), %r12
movl %esi, %edi
callq _BIT
movq %rax, %r13
testq %rbx, %rbx
je LBB0_4
## %bb.1:
leaq -52(%rbp), %rsi
movq %rbx, %rdi
callq _regmap_field_read
movl -52(%rbp), %eax
movl %r13d, %esi
notl %esi
andl %eax, %esi
movl %esi, -52(%rbp)
movq _ST_PINCONF_OE@GOTPCREL(%rip), %rcx
testq %r14, (%rcx)
je LBB0_3
## %bb.2:
orl %r13d, %eax
movl %eax, -52(%rbp)
movl %eax, %esi
LBB0_3:
movq %rbx, %rdi
callq _regmap_field_write
LBB0_4:
testq %r12, %r12
je LBB0_8
## %bb.5:
leaq -48(%rbp), %rsi
movq %r12, %rdi
callq _regmap_field_read
movl -48(%rbp), %eax
movl %r13d, %esi
notl %esi
andl %eax, %esi
movl %esi, -48(%rbp)
movq _ST_PINCONF_PU@GOTPCREL(%rip), %rcx
testq %r14, (%rcx)
je LBB0_7
## %bb.6:
orl %r13d, %eax
movl %eax, -48(%rbp)
movl %eax, %esi
LBB0_7:
movq %r12, %rdi
callq _regmap_field_write
LBB0_8:
testq %r15, %r15
je LBB0_12
## %bb.9:
leaq -44(%rbp), %rsi
movq %r15, %rdi
callq _regmap_field_read
movl -44(%rbp), %eax
movl %r13d, %esi
notl %esi
andl %eax, %esi
movl %esi, -44(%rbp)
movq _ST_PINCONF_OD@GOTPCREL(%rip), %rcx
testq %r14, (%rcx)
je LBB0_11
## %bb.10:
orl %r13d, %eax
movl %eax, -44(%rbp)
movl %eax, %esi
LBB0_11:
movq %r15, %rdi
callq _regmap_field_write
LBB0_12:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ST_PINCONF_OE,8,3 ## @ST_PINCONF_OE
.comm _ST_PINCONF_PU,8,3 ## @ST_PINCONF_PU
.comm _ST_PINCONF_OD,8,3 ## @ST_PINCONF_OD
.no_dead_strip _st_pinconf_set_config
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function st_pinconf_set_config
_st_pinconf_set_config: ; @st_pinconf_set_config
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x2
ldp x22, x23, [x0, #8]
ldr x19, [x0]
mov x0, x1
bl _BIT
mov x21, x0
cbz x23, LBB0_4
; %bb.1:
add x1, sp, #12
mov x0, x23
bl _regmap_field_read
ldr w8, [sp, #12]
bic w1, w8, w21
str w1, [sp, #12]
Lloh0:
adrp x9, _ST_PINCONF_OE@GOTPAGE
Lloh1:
ldr x9, [x9, _ST_PINCONF_OE@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
tst x9, x20
b.eq LBB0_3
; %bb.2:
orr w1, w8, w21
str w1, [sp, #12]
LBB0_3:
mov x0, x23
bl _regmap_field_write
LBB0_4:
cbz x22, LBB0_8
; %bb.5:
add x1, sp, #8
mov x0, x22
bl _regmap_field_read
ldr w8, [sp, #8]
bic w1, w8, w21
str w1, [sp, #8]
Lloh3:
adrp x9, _ST_PINCONF_PU@GOTPAGE
Lloh4:
ldr x9, [x9, _ST_PINCONF_PU@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
tst x9, x20
b.eq LBB0_7
; %bb.6:
orr w1, w8, w21
str w1, [sp, #8]
LBB0_7:
mov x0, x22
bl _regmap_field_write
LBB0_8:
cbz x19, LBB0_12
; %bb.9:
add x1, sp, #4
mov x0, x19
bl _regmap_field_read
ldr w8, [sp, #4]
bic w1, w8, w21
str w1, [sp, #4]
Lloh6:
adrp x9, _ST_PINCONF_OD@GOTPAGE
Lloh7:
ldr x9, [x9, _ST_PINCONF_OD@GOTPAGEOFF]
Lloh8:
ldr x9, [x9]
tst x9, x20
b.eq LBB0_11
; %bb.10:
orr w1, w8, w21
str w1, [sp, #4]
LBB0_11:
mov x0, x19
bl _regmap_field_write
LBB0_12:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _ST_PINCONF_OE,8,3 ; @ST_PINCONF_OE
.comm _ST_PINCONF_PU,8,3 ; @ST_PINCONF_PU
.comm _ST_PINCONF_OD,8,3 ; @ST_PINCONF_OD
.no_dead_strip _st_pinconf_set_config
.subsections_via_symbols
| AnghaBench/linux/drivers/pinctrl/extr_pinctrl-st.c_st_pinconf_set_config.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function d_tags
_d_tags: ## @d_tags
.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, %rcx
cmpq $1879047927, %rdi ## imm = 0x6FFFFEF7
jg LBB0_4
## %bb.1:
leaq -128(%rcx), %rax
cmpq $51, %rax
ja LBB0_2
## %bb.74:
leaq L_.str(%rip), %rbx
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_67:
leaq L_.str.60(%rip), %rbx
jmp LBB0_73
LBB0_4:
leaq -1879047928(%rcx), %rax
cmpq $6, %rax
ja LBB0_5
## %bb.75:
leaq LJTI0_2(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_53:
leaq L_.str.46(%rip), %rbx
jmp LBB0_73
LBB0_2:
leaq -1879047669(%rcx), %rax
cmpq $7, %rax
ja LBB0_72
## %bb.3:
leaq LJTI0_1(%rip), %rdx
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
jmpq *%rax
LBB0_40:
leaq L_.str.33(%rip), %rbx
jmp LBB0_73
LBB0_5:
cmpq $1879048176, %rcx ## imm = 0x6FFFFFF0
je LBB0_68
## %bb.6:
cmpq $1879048192, %rcx ## imm = 0x70000000
jne LBB0_72
## %bb.7:
leaq L_.str.62(%rip), %rbx
jmp LBB0_73
LBB0_54:
leaq L_.str.47(%rip), %rbx
jmp LBB0_73
LBB0_55:
leaq L_.str.48(%rip), %rbx
jmp LBB0_73
LBB0_56:
leaq L_.str.49(%rip), %rbx
jmp LBB0_73
LBB0_57:
leaq L_.str.50(%rip), %rbx
jmp LBB0_73
LBB0_58:
leaq L_.str.51(%rip), %rbx
jmp LBB0_73
LBB0_59:
leaq L_.str.52(%rip), %rbx
jmp LBB0_73
LBB0_68:
leaq L_.str.61(%rip), %rbx
jmp LBB0_73
LBB0_66:
leaq L_.str.59(%rip), %rbx
jmp LBB0_73
LBB0_65:
leaq L_.str.58(%rip), %rbx
jmp LBB0_73
LBB0_64:
leaq L_.str.57(%rip), %rbx
jmp LBB0_73
LBB0_70:
leaq L_.str.64(%rip), %rbx
jmp LBB0_73
LBB0_29:
leaq L_.str.22(%rip), %rbx
jmp LBB0_73
LBB0_13:
leaq L_.str.6(%rip), %rbx
jmp LBB0_73
LBB0_49:
leaq L_.str.42(%rip), %rbx
jmp LBB0_73
LBB0_60:
leaq L_.str.53(%rip), %rbx
jmp LBB0_73
LBB0_50:
leaq L_.str.43(%rip), %rbx
jmp LBB0_73
LBB0_18:
leaq L_.str.11(%rip), %rbx
jmp LBB0_73
LBB0_23:
leaq L_.str.16(%rip), %rbx
jmp LBB0_73
LBB0_12:
leaq L_.str.5(%rip), %rbx
jmp LBB0_73
LBB0_17:
leaq L_.str.10(%rip), %rbx
jmp LBB0_73
LBB0_21:
leaq L_.str.14(%rip), %rbx
jmp LBB0_73
LBB0_36:
leaq L_.str.29(%rip), %rbx
jmp LBB0_73
LBB0_22:
leaq L_.str.15(%rip), %rbx
jmp LBB0_73
LBB0_25:
leaq L_.str.18(%rip), %rbx
jmp LBB0_73
LBB0_26:
leaq L_.str.19(%rip), %rbx
jmp LBB0_73
LBB0_62:
leaq L_.str.55(%rip), %rbx
jmp LBB0_73
LBB0_15:
leaq L_.str.8(%rip), %rbx
jmp LBB0_73
LBB0_16:
leaq L_.str.9(%rip), %rbx
jmp LBB0_73
LBB0_61:
leaq L_.str.54(%rip), %rbx
jmp LBB0_73
LBB0_14:
leaq L_.str.7(%rip), %rbx
jmp LBB0_73
LBB0_24:
leaq L_.str.17(%rip), %rbx
jmp LBB0_73
LBB0_39:
leaq L_.str.32(%rip), %rbx
jmp LBB0_73
LBB0_38:
leaq L_.str.31(%rip), %rbx
jmp LBB0_73
LBB0_48:
leaq L_.str.41(%rip), %rbx
jmp LBB0_73
LBB0_9:
leaq L_.str.2(%rip), %rbx
jmp LBB0_73
LBB0_27:
leaq L_.str.20(%rip), %rbx
jmp LBB0_73
LBB0_44:
leaq L_.str.37(%rip), %rbx
jmp LBB0_73
LBB0_10:
leaq L_.str.3(%rip), %rbx
jmp LBB0_73
LBB0_8:
leaq L_.str.1(%rip), %rbx
jmp LBB0_73
LBB0_46:
leaq L_.str.39(%rip), %rbx
jmp LBB0_73
LBB0_45:
leaq L_.str.38(%rip), %rbx
jmp LBB0_73
LBB0_30:
leaq L_.str.23(%rip), %rbx
jmp LBB0_73
LBB0_34:
leaq L_.str.27(%rip), %rbx
jmp LBB0_73
LBB0_32:
leaq L_.str.25(%rip), %rbx
jmp LBB0_73
LBB0_19:
leaq L_.str.12(%rip), %rbx
jmp LBB0_73
LBB0_11:
leaq L_.str.4(%rip), %rbx
jmp LBB0_73
LBB0_52:
leaq L_.str.45(%rip), %rbx
jmp LBB0_73
LBB0_63:
leaq L_.str.56(%rip), %rbx
jmp LBB0_73
LBB0_37:
leaq L_.str.30(%rip), %rbx
jmp LBB0_73
LBB0_35:
leaq L_.str.28(%rip), %rbx
jmp LBB0_73
LBB0_33:
leaq L_.str.26(%rip), %rbx
jmp LBB0_73
LBB0_20:
leaq L_.str.13(%rip), %rbx
jmp LBB0_73
LBB0_71:
leaq L_.str.65(%rip), %rbx
jmp LBB0_73
LBB0_28:
leaq L_.str.21(%rip), %rbx
jmp LBB0_73
LBB0_31:
leaq L_.str.24(%rip), %rbx
jmp LBB0_73
LBB0_69:
leaq L_.str.63(%rip), %rbx
jmp LBB0_73
LBB0_41:
leaq L_.str.34(%rip), %rbx
jmp LBB0_73
LBB0_42:
leaq L_.str.35(%rip), %rbx
jmp LBB0_73
LBB0_43:
leaq L_.str.36(%rip), %rbx
jmp LBB0_73
LBB0_47:
leaq L_.str.40(%rip), %rbx
jmp LBB0_73
LBB0_72:
leaq _d_tags.unknown_buf(%rip), %rbx
leaq L_.str.66(%rip), %rdx
movq %rbx, %rdi
movl $64, %esi
callq _snprintf
jmp LBB0_73
LBB0_51:
leaq L_.str.44(%rip), %rbx
LBB0_73:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_67, LBB0_67-LJTI0_0
.set L0_0_set_66, LBB0_66-LJTI0_0
.set L0_0_set_65, LBB0_65-LJTI0_0
.set L0_0_set_64, LBB0_64-LJTI0_0
.set L0_0_set_70, LBB0_70-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_49, LBB0_49-LJTI0_0
.set L0_0_set_60, LBB0_60-LJTI0_0
.set L0_0_set_50, LBB0_50-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_36, LBB0_36-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_62, LBB0_62-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_61, LBB0_61-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_39, LBB0_39-LJTI0_0
.set L0_0_set_38, LBB0_38-LJTI0_0
.set L0_0_set_48, LBB0_48-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_44, LBB0_44-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_73, LBB0_73-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_46, LBB0_46-LJTI0_0
.set L0_0_set_45, LBB0_45-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_52, LBB0_52-LJTI0_0
.set L0_0_set_63, LBB0_63-LJTI0_0
.set L0_0_set_37, LBB0_37-LJTI0_0
.set L0_0_set_35, LBB0_35-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_71, LBB0_71-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_69, LBB0_69-LJTI0_0
.set L0_0_set_51, LBB0_51-LJTI0_0
LJTI0_0:
.long L0_0_set_67
.long L0_0_set_66
.long L0_0_set_65
.long L0_0_set_64
.long L0_0_set_70
.long L0_0_set_29
.long L0_0_set_13
.long L0_0_set_49
.long L0_0_set_60
.long L0_0_set_50
.long L0_0_set_18
.long L0_0_set_23
.long L0_0_set_12
.long L0_0_set_17
.long L0_0_set_21
.long L0_0_set_36
.long L0_0_set_22
.long L0_0_set_25
.long L0_0_set_26
.long L0_0_set_62
.long L0_0_set_15
.long L0_0_set_16
.long L0_0_set_61
.long L0_0_set_14
.long L0_0_set_24
.long L0_0_set_39
.long L0_0_set_38
.long L0_0_set_48
.long L0_0_set_9
.long L0_0_set_27
.long L0_0_set_44
.long L0_0_set_10
.long L0_0_set_73
.long L0_0_set_8
.long L0_0_set_46
.long L0_0_set_45
.long L0_0_set_30
.long L0_0_set_34
.long L0_0_set_32
.long L0_0_set_19
.long L0_0_set_11
.long L0_0_set_52
.long L0_0_set_63
.long L0_0_set_37
.long L0_0_set_35
.long L0_0_set_33
.long L0_0_set_20
.long L0_0_set_71
.long L0_0_set_28
.long L0_0_set_31
.long L0_0_set_69
.long L0_0_set_51
.set L0_1_set_40, LBB0_40-LJTI0_1
.set L0_1_set_41, LBB0_41-LJTI0_1
.set L0_1_set_42, LBB0_42-LJTI0_1
.set L0_1_set_43, LBB0_43-LJTI0_1
.set L0_1_set_72, LBB0_72-LJTI0_1
.set L0_1_set_47, LBB0_47-LJTI0_1
LJTI0_1:
.long L0_1_set_40
.long L0_1_set_41
.long L0_1_set_42
.long L0_1_set_43
.long L0_1_set_72
.long L0_1_set_72
.long L0_1_set_72
.long L0_1_set_47
.set L0_2_set_53, LBB0_53-LJTI0_2
.set L0_2_set_54, LBB0_54-LJTI0_2
.set L0_2_set_55, LBB0_55-LJTI0_2
.set L0_2_set_56, LBB0_56-LJTI0_2
.set L0_2_set_57, LBB0_57-LJTI0_2
.set L0_2_set_58, LBB0_58-LJTI0_2
.set L0_2_set_59, LBB0_59-LJTI0_2
LJTI0_2:
.long L0_2_set_53
.long L0_2_set_54
.long L0_2_set_55
.long L0_2_set_56
.long L0_2_set_57
.long L0_2_set_58
.long L0_2_set_59
.end_data_region
## -- End function
.zerofill __DATA,__bss,_d_tags.unknown_buf,64,4 ## @d_tags.unknown_buf
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "DT_NULL"
L_.str.1: ## @.str.1
.asciz "DT_NEEDED"
L_.str.2: ## @.str.2
.asciz "DT_PLTRELSZ"
L_.str.3: ## @.str.3
.asciz "DT_PLTGOT"
L_.str.4: ## @.str.4
.asciz "DT_HASH"
L_.str.5: ## @.str.5
.asciz "DT_STRTAB"
L_.str.6: ## @.str.6
.asciz "DT_SYMTAB"
L_.str.7: ## @.str.7
.asciz "DT_RELA"
L_.str.8: ## @.str.8
.asciz "DT_RELASZ"
L_.str.9: ## @.str.9
.asciz "DT_RELAENT"
L_.str.10: ## @.str.10
.asciz "DT_STRSZ"
L_.str.11: ## @.str.11
.asciz "DT_SYMENT"
L_.str.12: ## @.str.12
.asciz "DT_INIT"
L_.str.13: ## @.str.13
.asciz "DT_FINI"
L_.str.14: ## @.str.14
.asciz "DT_SONAME"
L_.str.15: ## @.str.15
.asciz "DT_RPATH"
L_.str.16: ## @.str.16
.asciz "DT_SYMBOLIC"
L_.str.17: ## @.str.17
.asciz "DT_REL"
L_.str.18: ## @.str.18
.asciz "DT_RELSZ"
L_.str.19: ## @.str.19
.asciz "DT_RELENT"
L_.str.20: ## @.str.20
.asciz "DT_PLTREL"
L_.str.21: ## @.str.21
.asciz "DT_DEBUG"
L_.str.22: ## @.str.22
.asciz "DT_TEXTREL"
L_.str.23: ## @.str.23
.asciz "DT_JMPREL"
L_.str.24: ## @.str.24
.asciz "DT_BIND_NOW"
L_.str.25: ## @.str.25
.asciz "DT_INIT_ARRAY"
L_.str.26: ## @.str.26
.asciz "DT_FINI_ARRAY"
L_.str.27: ## @.str.27
.asciz "DT_INIT_ARRAYSZ"
L_.str.28: ## @.str.28
.asciz "DT_FINI_ARRAYSZ"
L_.str.29: ## @.str.29
.asciz "DT_RUNPATH"
L_.str.30: ## @.str.30
.asciz "DT_FLAGS"
L_.str.31: ## @.str.31
.asciz "DT_PREINIT_ARRAY"
L_.str.32: ## @.str.32
.asciz "DT_PREINIT_ARRAYSZ"
L_.str.33: ## @.str.33
.asciz "DT_GNU_PRELINKED"
L_.str.34: ## @.str.34
.asciz "DT_GNU_CONFLICTSZ"
L_.str.35: ## @.str.35
.asciz "DT_GNU_LIBLISTSZ"
L_.str.36: ## @.str.36
.asciz "DT_SUNW_CHECKSUM"
L_.str.37: ## @.str.37
.asciz "DT_PLTPADSZ"
L_.str.38: ## @.str.38
.asciz "DT_MOVEENT"
L_.str.39: ## @.str.39
.asciz "DT_MOVESZ"
L_.str.40: ## @.str.40
.asciz "DT_FEATURE"
L_.str.41: ## @.str.41
.asciz "DT_POSFLAG_1"
L_.str.42: ## @.str.42
.asciz "DT_SYMINSZ"
L_.str.43: ## @.str.43
.asciz "DT_SYMINENT (DT_VALRNGHI)"
L_.str.44: ## @.str.44
.asciz "DT_ADDRRNGLO"
L_.str.45: ## @.str.45
.asciz "DT_GNU_HASH"
L_.str.46: ## @.str.46
.asciz "DT_GNU_CONFLICT"
L_.str.47: ## @.str.47
.asciz "DT_GNU_LIBLIST"
L_.str.48: ## @.str.48
.asciz "DT_CONFIG"
L_.str.49: ## @.str.49
.asciz "DT_DEPAUDIT"
L_.str.50: ## @.str.50
.asciz "DT_AUDIT"
L_.str.51: ## @.str.51
.asciz "DT_PLTPAD"
L_.str.52: ## @.str.52
.asciz "DT_MOVETAB"
L_.str.53: ## @.str.53
.asciz "DT_SYMINFO (DT_ADDRRNGHI)"
L_.str.54: ## @.str.54
.asciz "DT_RELACOUNT"
L_.str.55: ## @.str.55
.asciz "DT_RELCOUNT"
L_.str.56: ## @.str.56
.asciz "DT_FLAGS_1"
L_.str.57: ## @.str.57
.asciz "DT_VERDEF"
L_.str.58: ## @.str.58
.asciz "DT_VERDEFNUM"
L_.str.59: ## @.str.59
.asciz "DT_VERNEED"
L_.str.60: ## @.str.60
.asciz "DT_VERNEEDNUM"
L_.str.61: ## @.str.61
.asciz "DT_GNU_VERSYM"
L_.str.62: ## @.str.62
.asciz "DT_IA_64_PLT_RESERVE"
L_.str.63: ## @.str.63
.asciz "DT_AUXILIARY"
L_.str.64: ## @.str.64
.asciz "DT_USED"
L_.str.65: ## @.str.65
.asciz "DT_FILTER"
L_.str.66: ## @.str.66
.asciz "<unknown: %#llx>"
.no_dead_strip _d_tags
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function d_tags
_d_tags: ; @d_tags
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x3, x0
mov w8, #65271
movk w8, #28671, lsl #16
cmp x0, x8
b.gt LBB0_4
; %bb.1:
sub x8, x3, #128
cmp x8, #51
b.hi LBB0_7
; %bb.2:
Lloh0:
adrp x19, l_.str@PAGE
Lloh1:
add x19, x19, l_.str@PAGEOFF
Lloh2:
adrp x9, lJTI0_0@PAGE
Lloh3:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_3
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_3:
Lloh4:
adrp x19, l_.str.60@PAGE
Lloh5:
add x19, x19, l_.str.60@PAGEOFF
b LBB0_75
LBB0_4:
mov x8, #-65272
movk x8, #36864, lsl #16
add x8, x3, x8
cmp x8, #6
b.hi LBB0_10
; %bb.5:
Lloh6:
adrp x9, lJTI0_2@PAGE
Lloh7:
add x9, x9, lJTI0_2@PAGEOFF
adr x10, LBB0_6
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_6:
Lloh8:
adrp x19, l_.str.46@PAGE
Lloh9:
add x19, x19, l_.str.46@PAGEOFF
b LBB0_75
LBB0_7:
mov x8, #-65013
movk x8, #36864, lsl #16
add x8, x3, x8
cmp x8, #7
b.hi LBB0_73
; %bb.8:
Lloh10:
adrp x9, lJTI0_1@PAGE
Lloh11:
add x9, x9, lJTI0_1@PAGEOFF
adr x10, LBB0_9
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_9:
Lloh12:
adrp x19, l_.str.33@PAGE
Lloh13:
add x19, x19, l_.str.33@PAGEOFF
b LBB0_75
LBB0_10:
mov w8, #65520
movk w8, #28671, lsl #16
cmp x3, x8
b.eq LBB0_19
; %bb.11:
mov w8, #1879048192
cmp x3, x8
b.ne LBB0_73
; %bb.12:
Lloh14:
adrp x19, l_.str.62@PAGE
Lloh15:
add x19, x19, l_.str.62@PAGEOFF
b LBB0_75
LBB0_13:
Lloh16:
adrp x19, l_.str.47@PAGE
Lloh17:
add x19, x19, l_.str.47@PAGEOFF
b LBB0_75
LBB0_14:
Lloh18:
adrp x19, l_.str.48@PAGE
Lloh19:
add x19, x19, l_.str.48@PAGEOFF
b LBB0_75
LBB0_15:
Lloh20:
adrp x19, l_.str.49@PAGE
Lloh21:
add x19, x19, l_.str.49@PAGEOFF
b LBB0_75
LBB0_16:
Lloh22:
adrp x19, l_.str.50@PAGE
Lloh23:
add x19, x19, l_.str.50@PAGEOFF
b LBB0_75
LBB0_17:
Lloh24:
adrp x19, l_.str.51@PAGE
Lloh25:
add x19, x19, l_.str.51@PAGEOFF
b LBB0_75
LBB0_18:
Lloh26:
adrp x19, l_.str.52@PAGE
Lloh27:
add x19, x19, l_.str.52@PAGEOFF
b LBB0_75
LBB0_19:
Lloh28:
adrp x19, l_.str.61@PAGE
Lloh29:
add x19, x19, l_.str.61@PAGEOFF
b LBB0_75
LBB0_20:
Lloh30:
adrp x19, l_.str.59@PAGE
Lloh31:
add x19, x19, l_.str.59@PAGEOFF
b LBB0_75
LBB0_21:
Lloh32:
adrp x19, l_.str.58@PAGE
Lloh33:
add x19, x19, l_.str.58@PAGEOFF
b LBB0_75
LBB0_22:
Lloh34:
adrp x19, l_.str.57@PAGE
Lloh35:
add x19, x19, l_.str.57@PAGEOFF
b LBB0_75
LBB0_23:
Lloh36:
adrp x19, l_.str.64@PAGE
Lloh37:
add x19, x19, l_.str.64@PAGEOFF
b LBB0_75
LBB0_24:
Lloh38:
adrp x19, l_.str.22@PAGE
Lloh39:
add x19, x19, l_.str.22@PAGEOFF
b LBB0_75
LBB0_25:
Lloh40:
adrp x19, l_.str.6@PAGE
Lloh41:
add x19, x19, l_.str.6@PAGEOFF
b LBB0_75
LBB0_26:
Lloh42:
adrp x19, l_.str.42@PAGE
Lloh43:
add x19, x19, l_.str.42@PAGEOFF
b LBB0_75
LBB0_27:
Lloh44:
adrp x19, l_.str.53@PAGE
Lloh45:
add x19, x19, l_.str.53@PAGEOFF
b LBB0_75
LBB0_28:
Lloh46:
adrp x19, l_.str.43@PAGE
Lloh47:
add x19, x19, l_.str.43@PAGEOFF
b LBB0_75
LBB0_29:
Lloh48:
adrp x19, l_.str.11@PAGE
Lloh49:
add x19, x19, l_.str.11@PAGEOFF
b LBB0_75
LBB0_30:
Lloh50:
adrp x19, l_.str.16@PAGE
Lloh51:
add x19, x19, l_.str.16@PAGEOFF
b LBB0_75
LBB0_31:
Lloh52:
adrp x19, l_.str.5@PAGE
Lloh53:
add x19, x19, l_.str.5@PAGEOFF
b LBB0_75
LBB0_32:
Lloh54:
adrp x19, l_.str.10@PAGE
Lloh55:
add x19, x19, l_.str.10@PAGEOFF
b LBB0_75
LBB0_33:
Lloh56:
adrp x19, l_.str.14@PAGE
Lloh57:
add x19, x19, l_.str.14@PAGEOFF
b LBB0_75
LBB0_34:
Lloh58:
adrp x19, l_.str.29@PAGE
Lloh59:
add x19, x19, l_.str.29@PAGEOFF
b LBB0_75
LBB0_35:
Lloh60:
adrp x19, l_.str.15@PAGE
Lloh61:
add x19, x19, l_.str.15@PAGEOFF
b LBB0_75
LBB0_36:
Lloh62:
adrp x19, l_.str.18@PAGE
Lloh63:
add x19, x19, l_.str.18@PAGEOFF
b LBB0_75
LBB0_37:
Lloh64:
adrp x19, l_.str.19@PAGE
Lloh65:
add x19, x19, l_.str.19@PAGEOFF
b LBB0_75
LBB0_38:
Lloh66:
adrp x19, l_.str.55@PAGE
Lloh67:
add x19, x19, l_.str.55@PAGEOFF
b LBB0_75
LBB0_39:
Lloh68:
adrp x19, l_.str.8@PAGE
Lloh69:
add x19, x19, l_.str.8@PAGEOFF
b LBB0_75
LBB0_40:
Lloh70:
adrp x19, l_.str.9@PAGE
Lloh71:
add x19, x19, l_.str.9@PAGEOFF
b LBB0_75
LBB0_41:
Lloh72:
adrp x19, l_.str.54@PAGE
Lloh73:
add x19, x19, l_.str.54@PAGEOFF
b LBB0_75
LBB0_42:
Lloh74:
adrp x19, l_.str.7@PAGE
Lloh75:
add x19, x19, l_.str.7@PAGEOFF
b LBB0_75
LBB0_43:
Lloh76:
adrp x19, l_.str.17@PAGE
Lloh77:
add x19, x19, l_.str.17@PAGEOFF
b LBB0_75
LBB0_44:
Lloh78:
adrp x19, l_.str.32@PAGE
Lloh79:
add x19, x19, l_.str.32@PAGEOFF
b LBB0_75
LBB0_45:
Lloh80:
adrp x19, l_.str.31@PAGE
Lloh81:
add x19, x19, l_.str.31@PAGEOFF
b LBB0_75
LBB0_46:
Lloh82:
adrp x19, l_.str.41@PAGE
Lloh83:
add x19, x19, l_.str.41@PAGEOFF
b LBB0_75
LBB0_47:
Lloh84:
adrp x19, l_.str.2@PAGE
Lloh85:
add x19, x19, l_.str.2@PAGEOFF
b LBB0_75
LBB0_48:
Lloh86:
adrp x19, l_.str.20@PAGE
Lloh87:
add x19, x19, l_.str.20@PAGEOFF
b LBB0_75
LBB0_49:
Lloh88:
adrp x19, l_.str.37@PAGE
Lloh89:
add x19, x19, l_.str.37@PAGEOFF
b LBB0_75
LBB0_50:
Lloh90:
adrp x19, l_.str.3@PAGE
Lloh91:
add x19, x19, l_.str.3@PAGEOFF
b LBB0_75
LBB0_51:
Lloh92:
adrp x19, l_.str.1@PAGE
Lloh93:
add x19, x19, l_.str.1@PAGEOFF
b LBB0_75
LBB0_52:
Lloh94:
adrp x19, l_.str.39@PAGE
Lloh95:
add x19, x19, l_.str.39@PAGEOFF
b LBB0_75
LBB0_53:
Lloh96:
adrp x19, l_.str.38@PAGE
Lloh97:
add x19, x19, l_.str.38@PAGEOFF
b LBB0_75
LBB0_54:
Lloh98:
adrp x19, l_.str.23@PAGE
Lloh99:
add x19, x19, l_.str.23@PAGEOFF
b LBB0_75
LBB0_55:
Lloh100:
adrp x19, l_.str.27@PAGE
Lloh101:
add x19, x19, l_.str.27@PAGEOFF
b LBB0_75
LBB0_56:
Lloh102:
adrp x19, l_.str.25@PAGE
Lloh103:
add x19, x19, l_.str.25@PAGEOFF
b LBB0_75
LBB0_57:
Lloh104:
adrp x19, l_.str.12@PAGE
Lloh105:
add x19, x19, l_.str.12@PAGEOFF
b LBB0_75
LBB0_58:
Lloh106:
adrp x19, l_.str.4@PAGE
Lloh107:
add x19, x19, l_.str.4@PAGEOFF
b LBB0_75
LBB0_59:
Lloh108:
adrp x19, l_.str.45@PAGE
Lloh109:
add x19, x19, l_.str.45@PAGEOFF
b LBB0_75
LBB0_60:
Lloh110:
adrp x19, l_.str.56@PAGE
Lloh111:
add x19, x19, l_.str.56@PAGEOFF
b LBB0_75
LBB0_61:
Lloh112:
adrp x19, l_.str.30@PAGE
Lloh113:
add x19, x19, l_.str.30@PAGEOFF
b LBB0_75
LBB0_62:
Lloh114:
adrp x19, l_.str.28@PAGE
Lloh115:
add x19, x19, l_.str.28@PAGEOFF
b LBB0_75
LBB0_63:
Lloh116:
adrp x19, l_.str.26@PAGE
Lloh117:
add x19, x19, l_.str.26@PAGEOFF
b LBB0_75
LBB0_64:
Lloh118:
adrp x19, l_.str.13@PAGE
Lloh119:
add x19, x19, l_.str.13@PAGEOFF
b LBB0_75
LBB0_65:
Lloh120:
adrp x19, l_.str.65@PAGE
Lloh121:
add x19, x19, l_.str.65@PAGEOFF
b LBB0_75
LBB0_66:
Lloh122:
adrp x19, l_.str.21@PAGE
Lloh123:
add x19, x19, l_.str.21@PAGEOFF
b LBB0_75
LBB0_67:
Lloh124:
adrp x19, l_.str.24@PAGE
Lloh125:
add x19, x19, l_.str.24@PAGEOFF
b LBB0_75
LBB0_68:
Lloh126:
adrp x19, l_.str.63@PAGE
Lloh127:
add x19, x19, l_.str.63@PAGEOFF
b LBB0_75
LBB0_69:
Lloh128:
adrp x19, l_.str.34@PAGE
Lloh129:
add x19, x19, l_.str.34@PAGEOFF
b LBB0_75
LBB0_70:
Lloh130:
adrp x19, l_.str.35@PAGE
Lloh131:
add x19, x19, l_.str.35@PAGEOFF
b LBB0_75
LBB0_71:
Lloh132:
adrp x19, l_.str.36@PAGE
Lloh133:
add x19, x19, l_.str.36@PAGEOFF
b LBB0_75
LBB0_72:
Lloh134:
adrp x19, l_.str.40@PAGE
Lloh135:
add x19, x19, l_.str.40@PAGEOFF
b LBB0_75
LBB0_73:
Lloh136:
adrp x19, _d_tags.unknown_buf@PAGE
Lloh137:
add x19, x19, _d_tags.unknown_buf@PAGEOFF
Lloh138:
adrp x2, l_.str.66@PAGE
Lloh139:
add x2, x2, l_.str.66@PAGEOFF
mov x0, x19
mov w1, #64
bl _snprintf
b LBB0_75
LBB0_74:
Lloh140:
adrp x19, l_.str.44@PAGE
Lloh141:
add x19, x19, l_.str.44@PAGEOFF
LBB0_75:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.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
.loh AdrpAdd Lloh86, Lloh87
.loh AdrpAdd Lloh88, Lloh89
.loh AdrpAdd Lloh90, Lloh91
.loh AdrpAdd Lloh92, Lloh93
.loh AdrpAdd Lloh94, Lloh95
.loh AdrpAdd Lloh96, Lloh97
.loh AdrpAdd Lloh98, Lloh99
.loh AdrpAdd Lloh100, Lloh101
.loh AdrpAdd Lloh102, Lloh103
.loh AdrpAdd Lloh104, Lloh105
.loh AdrpAdd Lloh106, Lloh107
.loh AdrpAdd Lloh108, Lloh109
.loh AdrpAdd Lloh110, Lloh111
.loh AdrpAdd Lloh112, Lloh113
.loh AdrpAdd Lloh114, Lloh115
.loh AdrpAdd Lloh116, Lloh117
.loh AdrpAdd Lloh118, Lloh119
.loh AdrpAdd Lloh120, Lloh121
.loh AdrpAdd Lloh122, Lloh123
.loh AdrpAdd Lloh124, Lloh125
.loh AdrpAdd Lloh126, Lloh127
.loh AdrpAdd Lloh128, Lloh129
.loh AdrpAdd Lloh130, Lloh131
.loh AdrpAdd Lloh132, Lloh133
.loh AdrpAdd Lloh134, Lloh135
.loh AdrpAdd Lloh138, Lloh139
.loh AdrpAdd Lloh136, Lloh137
.loh AdrpAdd Lloh140, Lloh141
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_3-LBB0_3)>>2
.byte (LBB0_20-LBB0_3)>>2
.byte (LBB0_21-LBB0_3)>>2
.byte (LBB0_22-LBB0_3)>>2
.byte (LBB0_23-LBB0_3)>>2
.byte (LBB0_24-LBB0_3)>>2
.byte (LBB0_25-LBB0_3)>>2
.byte (LBB0_26-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_28-LBB0_3)>>2
.byte (LBB0_29-LBB0_3)>>2
.byte (LBB0_30-LBB0_3)>>2
.byte (LBB0_31-LBB0_3)>>2
.byte (LBB0_32-LBB0_3)>>2
.byte (LBB0_33-LBB0_3)>>2
.byte (LBB0_34-LBB0_3)>>2
.byte (LBB0_35-LBB0_3)>>2
.byte (LBB0_36-LBB0_3)>>2
.byte (LBB0_37-LBB0_3)>>2
.byte (LBB0_38-LBB0_3)>>2
.byte (LBB0_39-LBB0_3)>>2
.byte (LBB0_40-LBB0_3)>>2
.byte (LBB0_41-LBB0_3)>>2
.byte (LBB0_42-LBB0_3)>>2
.byte (LBB0_43-LBB0_3)>>2
.byte (LBB0_44-LBB0_3)>>2
.byte (LBB0_45-LBB0_3)>>2
.byte (LBB0_46-LBB0_3)>>2
.byte (LBB0_47-LBB0_3)>>2
.byte (LBB0_48-LBB0_3)>>2
.byte (LBB0_49-LBB0_3)>>2
.byte (LBB0_50-LBB0_3)>>2
.byte (LBB0_75-LBB0_3)>>2
.byte (LBB0_51-LBB0_3)>>2
.byte (LBB0_52-LBB0_3)>>2
.byte (LBB0_53-LBB0_3)>>2
.byte (LBB0_54-LBB0_3)>>2
.byte (LBB0_55-LBB0_3)>>2
.byte (LBB0_56-LBB0_3)>>2
.byte (LBB0_57-LBB0_3)>>2
.byte (LBB0_58-LBB0_3)>>2
.byte (LBB0_59-LBB0_3)>>2
.byte (LBB0_60-LBB0_3)>>2
.byte (LBB0_61-LBB0_3)>>2
.byte (LBB0_62-LBB0_3)>>2
.byte (LBB0_63-LBB0_3)>>2
.byte (LBB0_64-LBB0_3)>>2
.byte (LBB0_65-LBB0_3)>>2
.byte (LBB0_66-LBB0_3)>>2
.byte (LBB0_67-LBB0_3)>>2
.byte (LBB0_68-LBB0_3)>>2
.byte (LBB0_74-LBB0_3)>>2
lJTI0_1:
.byte (LBB0_9-LBB0_9)>>2
.byte (LBB0_69-LBB0_9)>>2
.byte (LBB0_70-LBB0_9)>>2
.byte (LBB0_71-LBB0_9)>>2
.byte (LBB0_73-LBB0_9)>>2
.byte (LBB0_73-LBB0_9)>>2
.byte (LBB0_73-LBB0_9)>>2
.byte (LBB0_72-LBB0_9)>>2
lJTI0_2:
.byte (LBB0_6-LBB0_6)>>2
.byte (LBB0_13-LBB0_6)>>2
.byte (LBB0_14-LBB0_6)>>2
.byte (LBB0_15-LBB0_6)>>2
.byte (LBB0_16-LBB0_6)>>2
.byte (LBB0_17-LBB0_6)>>2
.byte (LBB0_18-LBB0_6)>>2
; -- End function
.zerofill __DATA,__bss,_d_tags.unknown_buf,64,0 ; @d_tags.unknown_buf
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "DT_NULL"
l_.str.1: ; @.str.1
.asciz "DT_NEEDED"
l_.str.2: ; @.str.2
.asciz "DT_PLTRELSZ"
l_.str.3: ; @.str.3
.asciz "DT_PLTGOT"
l_.str.4: ; @.str.4
.asciz "DT_HASH"
l_.str.5: ; @.str.5
.asciz "DT_STRTAB"
l_.str.6: ; @.str.6
.asciz "DT_SYMTAB"
l_.str.7: ; @.str.7
.asciz "DT_RELA"
l_.str.8: ; @.str.8
.asciz "DT_RELASZ"
l_.str.9: ; @.str.9
.asciz "DT_RELAENT"
l_.str.10: ; @.str.10
.asciz "DT_STRSZ"
l_.str.11: ; @.str.11
.asciz "DT_SYMENT"
l_.str.12: ; @.str.12
.asciz "DT_INIT"
l_.str.13: ; @.str.13
.asciz "DT_FINI"
l_.str.14: ; @.str.14
.asciz "DT_SONAME"
l_.str.15: ; @.str.15
.asciz "DT_RPATH"
l_.str.16: ; @.str.16
.asciz "DT_SYMBOLIC"
l_.str.17: ; @.str.17
.asciz "DT_REL"
l_.str.18: ; @.str.18
.asciz "DT_RELSZ"
l_.str.19: ; @.str.19
.asciz "DT_RELENT"
l_.str.20: ; @.str.20
.asciz "DT_PLTREL"
l_.str.21: ; @.str.21
.asciz "DT_DEBUG"
l_.str.22: ; @.str.22
.asciz "DT_TEXTREL"
l_.str.23: ; @.str.23
.asciz "DT_JMPREL"
l_.str.24: ; @.str.24
.asciz "DT_BIND_NOW"
l_.str.25: ; @.str.25
.asciz "DT_INIT_ARRAY"
l_.str.26: ; @.str.26
.asciz "DT_FINI_ARRAY"
l_.str.27: ; @.str.27
.asciz "DT_INIT_ARRAYSZ"
l_.str.28: ; @.str.28
.asciz "DT_FINI_ARRAYSZ"
l_.str.29: ; @.str.29
.asciz "DT_RUNPATH"
l_.str.30: ; @.str.30
.asciz "DT_FLAGS"
l_.str.31: ; @.str.31
.asciz "DT_PREINIT_ARRAY"
l_.str.32: ; @.str.32
.asciz "DT_PREINIT_ARRAYSZ"
l_.str.33: ; @.str.33
.asciz "DT_GNU_PRELINKED"
l_.str.34: ; @.str.34
.asciz "DT_GNU_CONFLICTSZ"
l_.str.35: ; @.str.35
.asciz "DT_GNU_LIBLISTSZ"
l_.str.36: ; @.str.36
.asciz "DT_SUNW_CHECKSUM"
l_.str.37: ; @.str.37
.asciz "DT_PLTPADSZ"
l_.str.38: ; @.str.38
.asciz "DT_MOVEENT"
l_.str.39: ; @.str.39
.asciz "DT_MOVESZ"
l_.str.40: ; @.str.40
.asciz "DT_FEATURE"
l_.str.41: ; @.str.41
.asciz "DT_POSFLAG_1"
l_.str.42: ; @.str.42
.asciz "DT_SYMINSZ"
l_.str.43: ; @.str.43
.asciz "DT_SYMINENT (DT_VALRNGHI)"
l_.str.44: ; @.str.44
.asciz "DT_ADDRRNGLO"
l_.str.45: ; @.str.45
.asciz "DT_GNU_HASH"
l_.str.46: ; @.str.46
.asciz "DT_GNU_CONFLICT"
l_.str.47: ; @.str.47
.asciz "DT_GNU_LIBLIST"
l_.str.48: ; @.str.48
.asciz "DT_CONFIG"
l_.str.49: ; @.str.49
.asciz "DT_DEPAUDIT"
l_.str.50: ; @.str.50
.asciz "DT_AUDIT"
l_.str.51: ; @.str.51
.asciz "DT_PLTPAD"
l_.str.52: ; @.str.52
.asciz "DT_MOVETAB"
l_.str.53: ; @.str.53
.asciz "DT_SYMINFO (DT_ADDRRNGHI)"
l_.str.54: ; @.str.54
.asciz "DT_RELACOUNT"
l_.str.55: ; @.str.55
.asciz "DT_RELCOUNT"
l_.str.56: ; @.str.56
.asciz "DT_FLAGS_1"
l_.str.57: ; @.str.57
.asciz "DT_VERDEF"
l_.str.58: ; @.str.58
.asciz "DT_VERDEFNUM"
l_.str.59: ; @.str.59
.asciz "DT_VERNEED"
l_.str.60: ; @.str.60
.asciz "DT_VERNEEDNUM"
l_.str.61: ; @.str.61
.asciz "DT_GNU_VERSYM"
l_.str.62: ; @.str.62
.asciz "DT_IA_64_PLT_RESERVE"
l_.str.63: ; @.str.63
.asciz "DT_AUXILIARY"
l_.str.64: ; @.str.64
.asciz "DT_USED"
l_.str.65: ; @.str.65
.asciz "DT_FILTER"
l_.str.66: ; @.str.66
.asciz "<unknown: %#llx>"
.no_dead_strip _d_tags
.subsections_via_symbols
| AnghaBench/freebsd/contrib/elftoolchain/elfdump/extr_elfdump.c_d_tags.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function SN76496_set_gain
LCPI0_0:
.quad 0x3ff05f6878eddb18 ## double 1.023292992
LCPI0_1:
.quad 0x3ff4248ef90a4b10 ## double 1.258925412
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_SN76496_set_gain: ## @SN76496_set_gain
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _MAX_OUTPUT@GOTPCREL(%rip), %rax
movslq (%rax), %rcx
imulq $1431655766, %rcx, %rdx ## imm = 0x55555556
movq %rdx, %r8
shrq $63, %r8
shrq $32, %rdx
addl %r8d, %edx
movl %esi, %r8d
cvtsi2sd %edx, %xmm0
andl $255, %r8d
je LBB0_9
## %bb.1:
andl $7, %esi
je LBB0_2
## %bb.3:
xorl %r9d, %r9d
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = [1.023292992E+0,0.0E+0]
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
mulsd %xmm1, %xmm0
incl %r9d
cmpl %r9d, %esi
jne LBB0_4
## %bb.5:
movl %r8d, %edx
subl %r9d, %edx
cmpl $8, %r8d
jae LBB0_7
jmp LBB0_9
LBB0_2:
movl %r8d, %edx
cmpl $8, %r8d
jb LBB0_9
LBB0_7:
decl %edx
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = [1.023292992E+0,0.0E+0]
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
mulsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
addl $-8, %edx
cmpl $-2, %edx
jb LBB0_8
LBB0_9:
movq (%rdi), %rdx
movsd LCPI0_1(%rip), %xmm1 ## xmm1 = [1.258925412E+0,0.0E+0]
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
movslq %ecx, %rcx
imulq $1431655766, %rcx, %rcx ## imm = 0x55555556
movq %rcx, %rsi
shrq $63, %rsi
shrq $32, %rcx
addl %esi, %ecx
xorps %xmm2, %xmm2
cvtsi2sd %ecx, %xmm2
ucomisd %xmm2, %xmm0
cvttsd2si %xmm0, %esi
cmoval %ecx, %esi
movl %esi, (%rdx)
divsd %xmm1, %xmm0
movl (%rax), %ecx
addq $-4, %rdx
jmp LBB0_10
.cfi_endproc
## -- End function
.comm _MAX_OUTPUT,4,2 ## @MAX_OUTPUT
.no_dead_strip _SN76496_set_gain
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function SN76496_set_gain
_SN76496_set_gain: ; @SN76496_set_gain
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _MAX_OUTPUT@GOTPAGE
Lloh1:
ldr x8, [x8, _MAX_OUTPUT@GOTPAGEOFF]
ldrsw x10, [x8]
mov w9, #21846 ; =0x5556
movk w9, #21845, lsl #16
smull x11, w10, w9
lsr x12, x11, #63
lsr x11, x11, #32
add w11, w11, w12
scvtf d0, w11
ands w11, w1, #0xff
b.eq LBB0_3
; %bb.1:
add w11, w11, #1
mov x12, #56088 ; =0xdb18
movk x12, #30957, lsl #16
movk x12, #24424, lsl #32
movk x12, #16368, lsl #48
fmov d1, x12
LBB0_2: ; =>This Inner Loop Header: Depth=1
fmul d0, d0, d1
sub w11, w11, #1
cmp w11, #1
b.hi LBB0_2
LBB0_3:
ldr x11, [x0]
mov x12, #19216 ; =0x4b10
movk x12, #63754, lsl #16
movk x12, #9358, lsl #32
movk x12, #16372, lsl #48
fmov d1, x12
LBB0_4: ; =>This Inner Loop Header: Depth=1
smull x10, w10, w9
lsr x12, x10, #63
lsr x10, x10, #32
add w10, w10, w12
scvtf d2, w10
fcvtzs w12, d0
fcmp d0, d2
csel w10, w10, w12, gt
str w10, [x11], #-4
fdiv d0, d0, d1
ldr w10, [x8]
b LBB0_4
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _MAX_OUTPUT,4,2 ; @MAX_OUTPUT
.no_dead_strip _SN76496_set_gain
.subsections_via_symbols
| assembly_file_17314.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function handle_maxim_chg_curr
_handle_maxim_chg_curr: ## @handle_maxim_chg_curr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
callq _abx500_chargalg_chg_curr_maxim
cmpl $129, %eax
je LBB0_3
## %bb.1:
cmpl $130, %eax
jne LBB0_5
## %bb.2:
movl 16(%rbx), %esi
jmp LBB0_4
LBB0_3:
movq 8(%rbx), %rax
movq (%rax), %rcx
movq 8(%rax), %rax
movl (%rax,%rcx,4), %esi
LBB0_4:
movq %rbx, %rdi
callq _abx500_chargalg_update_chg_curr
testl %eax, %eax
je LBB0_5
## %bb.6:
movl (%rbx), %edi
leaq L_.str(%rip), %rsi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _dev_err ## TAILCALL
LBB0_5:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "failed to set chg curr\n"
.no_dead_strip _handle_maxim_chg_curr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function handle_maxim_chg_curr
_handle_maxim_chg_curr: ; @handle_maxim_chg_curr
.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 _abx500_chargalg_chg_curr_maxim
cmp w0, #129
b.eq LBB0_3
; %bb.1:
cmp w0, #130
b.ne LBB0_6
; %bb.2:
ldr w1, [x19, #16]
b LBB0_4
LBB0_3:
ldr x8, [x19, #8]
ldp x8, x9, [x8]
ldr w1, [x9, x8, lsl #2]
LBB0_4:
mov x0, x19
bl _abx500_chargalg_update_chg_curr
cbz w0, LBB0_6
; %bb.5:
ldr w0, [x19]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _dev_err
LBB0_6:
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,__cstring,cstring_literals
l_.str: ; @.str
.asciz "failed to set chg curr\n"
.no_dead_strip _handle_maxim_chg_curr
.subsections_via_symbols
| AnghaBench/linux/drivers/power/supply/extr_abx500_chargalg.c_handle_maxim_chg_curr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function qos_client_send_sync_msg_and_test_link
_qos_client_send_sync_msg_and_test_link: ## @qos_client_send_sync_msg_and_test_link
.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 %rdi, %r14
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -36(%rbp)
movq _bootstrap_port@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _KEVENT_QOS_SERVICE_NAME@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -44(%rbp), %rdx
callq _bootstrap_look_up
leaq L_.str(%rip), %rsi
movl %eax, %edi
callq _T_ASSERT_MACH_SUCCESS
leaq -40(%rbp), %rdi
callq _mach_sync_ipc_link_monitoring_start
leaq L_.str.1(%rip), %rsi
movl %eax, %edi
callq _T_ASSERT_MACH_SUCCESS
movl -44(%rbp), %r12d
movl -40(%rbp), %r15d
movq _MACH_PORT_NULL@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq _g_expected_qos@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _ENV_QOS_AFTER_OVERRIDE@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl (%rax,%rcx,4), %edi
xorl %esi, %esi
xorl %edx, %edx
callq __pthread_qos_class_encode
movl %r12d, %edi
movl %r15d, %esi
movl %ebx, %edx
movl %eax, %ecx
xorl %r8d, %r8d
callq _send
movl -40(%rbp), %edi
movl -44(%rbp), %esi
callq _receive
movl -40(%rbp), %edi
leaq -36(%rbp), %rsi
callq _mach_sync_ipc_link_monitoring_stop
leaq L_.str.2(%rip), %rsi
movl %eax, %edi
callq _T_ASSERT_MACH_SUCCESS
cmpl $0, -36(%rbp)
leaq L_.str.3(%rip), %rax
leaq L_.str.4(%rip), %rdi
cmoveq %rax, %rdi
callq _T_LOG
movl -36(%rbp), %edi
leaq L_.str.5(%rip), %rsi
cmpq $1, %r14
je LBB0_1
## %bb.2:
callq _T_ASSERT_FALSE
jmp LBB0_3
LBB0_1:
callq _T_ASSERT_TRUE
LBB0_3:
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FALSE,4,2 ## @FALSE
.comm _bootstrap_port,4,2 ## @bootstrap_port
.comm _KEVENT_QOS_SERVICE_NAME,4,2 ## @KEVENT_QOS_SERVICE_NAME
.comm _T_QUIET,4,2 ## @T_QUIET
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "client bootstrap_look_up"
L_.str.1: ## @.str.1
.asciz "mach_sync_ipc_link_monitoring_start"
.comm _MACH_PORT_NULL,4,2 ## @MACH_PORT_NULL
.comm _g_expected_qos,8,3 ## @g_expected_qos
.comm _ENV_QOS_AFTER_OVERRIDE,8,3 ## @ENV_QOS_AFTER_OVERRIDE
L_.str.2: ## @.str.2
.asciz "mach_sync_ipc_link_monitoring_stop"
L_.str.3: ## @.str.3
.asciz "Link was broken"
L_.str.4: ## @.str.4
.asciz "Link correct"
L_.str.5: ## @.str.5
.asciz "special reply port link after rcv"
.comm _T_END,4,2 ## @T_END
.no_dead_strip _qos_client_send_sync_msg_and_test_link
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function qos_client_send_sync_msg_and_test_link
_qos_client_send_sync_msg_and_test_link: ; @qos_client_send_sync_msg_and_test_link
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x8, _FALSE@GOTPAGE
Lloh1:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [sp, #4]
Lloh3:
adrp x8, _bootstrap_port@GOTPAGE
Lloh4:
ldr x8, [x8, _bootstrap_port@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
Lloh6:
adrp x8, _KEVENT_QOS_SERVICE_NAME@GOTPAGE
Lloh7:
ldr x8, [x8, _KEVENT_QOS_SERVICE_NAME@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
add x2, sp, #12
bl _bootstrap_look_up
Lloh9:
adrp x1, l_.str@PAGE
Lloh10:
add x1, x1, l_.str@PAGEOFF
bl _T_ASSERT_MACH_SUCCESS
add x0, sp, #8
bl _mach_sync_ipc_link_monitoring_start
Lloh11:
adrp x1, l_.str.1@PAGE
Lloh12:
add x1, x1, l_.str.1@PAGEOFF
bl _T_ASSERT_MACH_SUCCESS
ldp w21, w20, [sp, #8]
Lloh13:
adrp x8, _MACH_PORT_NULL@GOTPAGE
Lloh14:
ldr x8, [x8, _MACH_PORT_NULL@GOTPAGEOFF]
Lloh15:
ldr w22, [x8]
Lloh16:
adrp x8, _g_expected_qos@GOTPAGE
Lloh17:
ldr x8, [x8, _g_expected_qos@GOTPAGEOFF]
Lloh18:
ldr x8, [x8]
Lloh19:
adrp x9, _ENV_QOS_AFTER_OVERRIDE@GOTPAGE
Lloh20:
ldr x9, [x9, _ENV_QOS_AFTER_OVERRIDE@GOTPAGEOFF]
Lloh21:
ldr x9, [x9]
ldr w0, [x8, x9, lsl #2]
mov w1, #0
mov w2, #0
bl __pthread_qos_class_encode
mov x3, x0
mov x0, x20
mov x1, x21
mov x2, x22
; kill: def $w3 killed $w3 killed $x3
mov w4, #0
bl _send
ldp w0, w1, [sp, #8]
bl _receive
ldr w0, [sp, #8]
add x1, sp, #4
bl _mach_sync_ipc_link_monitoring_stop
Lloh22:
adrp x1, l_.str.2@PAGE
Lloh23:
add x1, x1, l_.str.2@PAGEOFF
bl _T_ASSERT_MACH_SUCCESS
ldr w8, [sp, #4]
Lloh24:
adrp x9, l_.str.4@PAGE
Lloh25:
add x9, x9, l_.str.4@PAGEOFF
Lloh26:
adrp x10, l_.str.3@PAGE
Lloh27:
add x10, x10, l_.str.3@PAGEOFF
cmp w8, #0
csel x0, x10, x9, eq
bl _T_LOG
ldr w0, [sp, #4]
Lloh28:
adrp x1, l_.str.5@PAGE
Lloh29:
add x1, x1, l_.str.5@PAGEOFF
cmp x19, #1
b.eq LBB0_2
; %bb.1:
bl _T_ASSERT_FALSE
b LBB0_3
LBB0_2:
bl _T_ASSERT_TRUE
LBB0_3:
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 Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _FALSE,4,2 ; @FALSE
.comm _bootstrap_port,4,2 ; @bootstrap_port
.comm _KEVENT_QOS_SERVICE_NAME,4,2 ; @KEVENT_QOS_SERVICE_NAME
.comm _T_QUIET,4,2 ; @T_QUIET
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "client bootstrap_look_up"
l_.str.1: ; @.str.1
.asciz "mach_sync_ipc_link_monitoring_start"
.comm _MACH_PORT_NULL,4,2 ; @MACH_PORT_NULL
.comm _g_expected_qos,8,3 ; @g_expected_qos
.comm _ENV_QOS_AFTER_OVERRIDE,8,3 ; @ENV_QOS_AFTER_OVERRIDE
l_.str.2: ; @.str.2
.asciz "mach_sync_ipc_link_monitoring_stop"
l_.str.3: ; @.str.3
.asciz "Link was broken"
l_.str.4: ; @.str.4
.asciz "Link correct"
l_.str.5: ; @.str.5
.asciz "special reply port link after rcv"
.comm _T_END,4,2 ; @T_END
.no_dead_strip _qos_client_send_sync_msg_and_test_link
.subsections_via_symbols
| AnghaBench/darwin-xnu/tests/extr_kevent_qos.c_qos_client_send_sync_msg_and_test_link.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function snd_emu10k1_midi_cmd
_snd_emu10k1_midi_cmd: ## @snd_emu10k1_midi_cmd
.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 %ecx, %r15d
movl %edx, %r12d
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq _spin_lock_irqsave
xorl %r13d, %r13d
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq _mpu401_write_data
movq %r14, %rdi
movq %rbx, %rsi
movl %r12d, %edx
callq _mpu401_write_cmd
testl %r15d, %r15d
je LBB0_7
## %bb.1:
movl $10000, %r15d ## imm = 0x2710
movl $1, %r12d
testl %r13d, %r13d
jne LBB0_3
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %rbx, %rsi
callq _mpu401_input_avail
testq %rax, %rax
jne LBB0_6
## %bb.2: ## in Loop: Header=BB0_5 Depth=1
testl %r13d, %r13d
je LBB0_5
LBB0_3:
testl %r15d, %r15d
jle LBB0_7
## %bb.4:
incl %r15d
jmp LBB0_5
LBB0_6: ## in Loop: Header=BB0_5 Depth=1
movq %r14, %rdi
movq %rbx, %rsi
callq _mpu401_read_data
movq _MPU401_ACK@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
cmovel %r12d, %r13d
testl %r13d, %r13d
jne LBB0_3
jmp LBB0_5
LBB0_7:
movq %rbx, %rdi
callq _spin_unlock_irqrestore
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MPU401_ACK,8,3 ## @MPU401_ACK
.no_dead_strip _snd_emu10k1_midi_cmd
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function snd_emu10k1_midi_cmd
_snd_emu10k1_midi_cmd: ; @snd_emu10k1_midi_cmd
.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 x21, x3
mov x22, x2
mov x19, x1
mov x20, x0
mov x0, x1
bl _spin_lock_irqsave
mov x0, x20
mov x1, x19
mov w2, #0 ; =0x0
bl _mpu401_write_data
mov x0, x20
mov x1, x19
mov x2, x22
bl _mpu401_write_cmd
cbz w21, LBB0_7
; %bb.1:
mov w21, #0 ; =0x0
mov w22, #10000 ; =0x2710
Lloh0:
adrp x23, _MPU401_ACK@GOTPAGE
Lloh1:
ldr x23, [x23, _MPU401_ACK@GOTPAGEOFF]
cbnz w21, LBB0_4
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x19
bl _mpu401_input_avail
cbnz x0, LBB0_6
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
cbz w21, LBB0_2
LBB0_4:
cmp w22, #1
b.lt LBB0_7
; %bb.5:
add w22, w22, #1
b LBB0_2
LBB0_6: ; in Loop: Header=BB0_2 Depth=1
mov x0, x20
mov x1, x19
bl _mpu401_read_data
ldr x8, [x23]
cmp x0, x8
csinc w21, w21, wzr, ne
cbnz w21, LBB0_4
b LBB0_2
LBB0_7:
mov x0, x19
bl _spin_unlock_irqrestore
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _MPU401_ACK,8,3 ; @MPU401_ACK
.no_dead_strip _snd_emu10k1_midi_cmd
.subsections_via_symbols
| assembly_file_89389.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _trp_conv_from_array ## -- Begin function trp_conv_from_array
.p2align 4, 0x90
_trp_conv_from_array: ## @trp_conv_from_array
.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 $0, _trp_conv_from_array.stack.0(%rip)
testl %esi, %esi
js LBB0_1
## %bb.2:
movl %esi, %ebx
movq %rdi, %r14
incl %ebx
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
callq _get_new_node
movq %rax, %r15
movl (%r14,%r12,4), %eax
movl %eax, (%r15)
xorl %eax, %eax
callq _my_rand
movq %rax, 8(%r15)
movq $0, 24(%r15)
movq _trp_conv_from_array.stack.0(%rip), %rax
movq %rax, 16(%r15)
movq %r15, _trp_conv_from_array.stack.0(%rip)
incq %r12
cmpq %r12, %rbx
jne LBB0_3
jmp LBB0_4
LBB0_1:
xorl %r15d, %r15d
LBB0_4:
movq %r15, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_trp_conv_from_array.stack.0,8,4 ## @trp_conv_from_array.stack.0
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _trp_conv_from_array ; -- Begin function trp_conv_from_array
.p2align 2
_trp_conv_from_array: ; @trp_conv_from_array
.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
adrp x21, _trp_conv_from_array.stack.0@PAGE
str xzr, [x21, _trp_conv_from_array.stack.0@PAGEOFF]
tbnz w1, #31, LBB0_3
; %bb.1:
mov x19, x0
add w22, w1, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
bl _get_new_node
mov x20, x0
ldr w8, [x19], #4
str w8, [x0]
bl _my_rand
ldr x8, [x21, _trp_conv_from_array.stack.0@PAGEOFF]
str x0, [x20, #8]
stp x8, xzr, [x20, #16]
str x20, [x21, _trp_conv_from_array.stack.0@PAGEOFF]
subs x22, x22, #1
b.ne LBB0_2
b LBB0_4
LBB0_3:
mov x20, #0 ; =0x0
LBB0_4:
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_trp_conv_from_array.stack.0,8,3 ; @trp_conv_from_array.stack.0
.subsections_via_symbols
| assembly_file_62441.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Z_FreeTags ## -- Begin function Z_FreeTags
.p2align 4, 0x90
_Z_FreeTags: ## @Z_FreeTags
.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 _mainzone@GOTPCREL(%rip), %r15
movq (%r15), %rax
movq 8(%rax), %rbx
cmpq %rax, %rbx
je LBB0_7
## %bb.1:
movl %esi, %r14d
movl %edi, %r12d
jmp LBB0_2
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
cmpq %rax, %rbx
je LBB0_7
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
movq 8(%rbx), %rbx
cmpl $0, 4(%rdi)
je LBB0_6
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl (%rdi), %ecx
cmpl %r12d, %ecx
jl LBB0_6
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
cmpl %r14d, %ecx
jg LBB0_6
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
addq $64, %rdi
callq _Z_Free
movq (%r15), %rax
jmp LBB0_6
LBB0_7:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _mainzone,8,3 ## @mainzone
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Z_FreeTags ; -- Begin function Z_FreeTags
.p2align 2
_Z_FreeTags: ; @Z_FreeTags
.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
Lloh0:
adrp x21, _mainzone@GOTPAGE
Lloh1:
ldr x21, [x21, _mainzone@GOTPAGEOFF]
ldr x8, [x21]
ldr x9, [x8, #8]
cmp x9, x8
b.eq LBB0_6
; %bb.1:
mov x19, x1
mov x20, x0
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
mov x9, x22
cmp x22, x8
b.eq LBB0_6
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x22, [x9, #8]
ldr w10, [x9, #4]
cbz w10, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr w10, [x9]
cmp w10, w20
ccmp w10, w19, #0, ge
b.gt LBB0_2
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
add x0, x9, #64
bl _Z_Free
ldr x8, [x21]
b LBB0_2
LBB0_6:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _mainzone,8,3 ; @mainzone
.subsections_via_symbols
| AnghaBench/DOOM/linuxdoom-1.10/extr_z_zone.c_Z_FreeTags.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _EXhalbtc8723b1ant_Periodical ## -- Begin function EXhalbtc8723b1ant_Periodical
.p2align 4, 0x90
_EXhalbtc8723b1ant_Periodical: ## @EXhalbtc8723b1ant_Periodical
.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 %rdi, %rbx
movl $0, -40(%rbp)
movl $0, -36(%rbp)
movq _BTC_MSG_ALGORITHM@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _ALGO_TRACE@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
callq _BTC_PRINT
movl _EXhalbtc8723b1ant_Periodical.disVerInfoCnt(%rip), %eax
cmpl $5, %eax
jg LBB0_2
## %bb.1:
incl %eax
movl %eax, _EXhalbtc8723b1ant_Periodical.disVerInfoCnt(%rip)
movq _BTC_MSG_INTERFACE@GOTPCREL(%rip), %r15
movl (%r15), %edi
movq _INTF_INIT@GOTPCREL(%rip), %r12
movl (%r12), %esi
leaq L_.str.1(%rip), %r14
movq %r14, %rdx
callq _BTC_PRINT
movq _BTC_GET_U4_BT_PATCH_VER@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -36(%rbp), %rdx
movq %rbx, %rdi
callq *(%rbx)
movq _BTC_GET_U4_WIFI_FW_VER@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -40(%rbp), %rdx
movq %rbx, %rdi
callq *(%rbx)
movl (%r15), %edi
movl (%r12), %esi
movslq -36(%rbp), %rdx
callq _BTC_PRINT
movl (%r15), %edi
movl (%r12), %esi
movq %r14, %rdx
callq _BTC_PRINT
LBB0_2:
movq %rbx, %rdi
callq _halbtc8723b1ant_MonitorBtCtr
movq %rbx, %rdi
callq _halbtc8723b1ant_MonitorWiFiCtr
movq %rbx, %rdi
callq _halbtc8723b1ant_IsWifiStatusChanged
testq %rax, %rax
jne LBB0_4
## %bb.3:
movq _pCoexDm@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq $0, (%rax)
je LBB0_5
LBB0_4:
movq %rbx, %rdi
callq _halbtc8723b1ant_RunCoexistMechanism
LBB0_5:
movq _pCoexSta@GOTPCREL(%rip), %rax
movq (%rax), %rax
incl (%rax)
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_EXhalbtc8723b1ant_Periodical.disVerInfoCnt,4,2 ## @EXhalbtc8723b1ant_Periodical.disVerInfoCnt
.comm _BTC_MSG_ALGORITHM,4,2 ## @BTC_MSG_ALGORITHM
.comm _ALGO_TRACE,4,2 ## @ALGO_TRACE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "[BTCoex], ==========================Periodical ===========================\n"
.comm _BTC_MSG_INTERFACE,4,2 ## @BTC_MSG_INTERFACE
.comm _INTF_INIT,4,2 ## @INTF_INIT
L_.str.1: ## @.str.1
.asciz "[BTCoex], ****************************************************************\n"
.comm _BTC_GET_U4_BT_PATCH_VER,4,2 ## @BTC_GET_U4_BT_PATCH_VER
.comm _BTC_GET_U4_WIFI_FW_VER,4,2 ## @BTC_GET_U4_WIFI_FW_VER
.comm _GLCoexVerDate8723b1Ant,4,2 ## @GLCoexVerDate8723b1Ant
.comm _GLCoexVer8723b1Ant,4,2 ## @GLCoexVer8723b1Ant
.comm _pCoexDm,8,3 ## @pCoexDm
.comm _pCoexSta,8,3 ## @pCoexSta
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _EXhalbtc8723b1ant_Periodical ; -- Begin function EXhalbtc8723b1ant_Periodical
.p2align 2
_EXhalbtc8723b1ant_Periodical: ; @EXhalbtc8723b1ant_Periodical
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
str xzr, [sp, #8]
Lloh0:
adrp x8, _BTC_MSG_ALGORITHM@GOTPAGE
Lloh1:
ldr x8, [x8, _BTC_MSG_ALGORITHM@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x8, _ALGO_TRACE@GOTPAGE
Lloh4:
ldr x8, [x8, _ALGO_TRACE@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
Lloh6:
adrp x2, l_.str@PAGE
Lloh7:
add x2, x2, l_.str@PAGEOFF
bl _BTC_PRINT
adrp x8, _EXhalbtc8723b1ant_Periodical.disVerInfoCnt@PAGE
ldr w9, [x8, _EXhalbtc8723b1ant_Periodical.disVerInfoCnt@PAGEOFF]
cmp w9, #5
b.gt LBB0_2
; %bb.1:
add w9, w9, #1
str w9, [x8, _EXhalbtc8723b1ant_Periodical.disVerInfoCnt@PAGEOFF]
Lloh8:
adrp x21, _BTC_MSG_INTERFACE@GOTPAGE
Lloh9:
ldr x21, [x21, _BTC_MSG_INTERFACE@GOTPAGEOFF]
ldr w0, [x21]
Lloh10:
adrp x22, _INTF_INIT@GOTPAGE
Lloh11:
ldr x22, [x22, _INTF_INIT@GOTPAGEOFF]
ldr w1, [x22]
Lloh12:
adrp x20, l_.str.1@PAGE
Lloh13:
add x20, x20, l_.str.1@PAGEOFF
mov x2, x20
bl _BTC_PRINT
ldr x8, [x19]
Lloh14:
adrp x9, _BTC_GET_U4_BT_PATCH_VER@GOTPAGE
Lloh15:
ldr x9, [x9, _BTC_GET_U4_BT_PATCH_VER@GOTPAGEOFF]
Lloh16:
ldr w1, [x9]
add x2, sp, #8
mov x0, x19
blr x8
ldr x8, [x19]
Lloh17:
adrp x9, _BTC_GET_U4_WIFI_FW_VER@GOTPAGE
Lloh18:
ldr x9, [x9, _BTC_GET_U4_WIFI_FW_VER@GOTPAGEOFF]
Lloh19:
ldr w1, [x9]
add x2, sp, #12
mov x0, x19
blr x8
ldr w0, [x21]
ldr w1, [x22]
ldrsw x2, [sp, #8]
bl _BTC_PRINT
ldr w0, [x21]
ldr w1, [x22]
mov x2, x20
bl _BTC_PRINT
LBB0_2:
mov x0, x19
bl _halbtc8723b1ant_MonitorBtCtr
mov x0, x19
bl _halbtc8723b1ant_MonitorWiFiCtr
mov x0, x19
bl _halbtc8723b1ant_IsWifiStatusChanged
cbnz x0, LBB0_4
; %bb.3:
Lloh20:
adrp x8, _pCoexDm@GOTPAGE
Lloh21:
ldr x8, [x8, _pCoexDm@GOTPAGEOFF]
Lloh22:
ldr x8, [x8]
ldr x8, [x8]
cbz x8, LBB0_5
LBB0_4:
mov x0, x19
bl _halbtc8723b1ant_RunCoexistMechanism
LBB0_5:
Lloh23:
adrp x8, _pCoexSta@GOTPAGE
Lloh24:
ldr x8, [x8, _pCoexSta@GOTPAGEOFF]
Lloh25:
ldr x8, [x8]
ldr w9, [x8]
add w9, w9, #1
str w9, [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 AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_EXhalbtc8723b1ant_Periodical.disVerInfoCnt,4,2 ; @EXhalbtc8723b1ant_Periodical.disVerInfoCnt
.comm _BTC_MSG_ALGORITHM,4,2 ; @BTC_MSG_ALGORITHM
.comm _ALGO_TRACE,4,2 ; @ALGO_TRACE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "[BTCoex], ==========================Periodical ===========================\n"
.comm _BTC_MSG_INTERFACE,4,2 ; @BTC_MSG_INTERFACE
.comm _INTF_INIT,4,2 ; @INTF_INIT
l_.str.1: ; @.str.1
.asciz "[BTCoex], ****************************************************************\n"
.comm _BTC_GET_U4_BT_PATCH_VER,4,2 ; @BTC_GET_U4_BT_PATCH_VER
.comm _BTC_GET_U4_WIFI_FW_VER,4,2 ; @BTC_GET_U4_WIFI_FW_VER
.comm _GLCoexVerDate8723b1Ant,4,2 ; @GLCoexVerDate8723b1Ant
.comm _GLCoexVer8723b1Ant,4,2 ; @GLCoexVer8723b1Ant
.comm _pCoexDm,8,3 ; @pCoexDm
.comm _pCoexSta,8,3 ; @pCoexSta
.subsections_via_symbols
| AnghaBench/linux/drivers/staging/rtl8723bs/hal/extr_HalBtc8723b1Ant.c_EXhalbtc8723b1ant_Periodical.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function opa_local_smp_check
_opa_local_smp_check: ## @opa_local_smp_check
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
callq _ppd_from_ibp
movq %rax, %r15
movq (%r14), %rbx
movq (%rax), %rdi
callq _ARRAY_SIZE
movq %rax, %rcx
movl $1, %eax
cmpq %rcx, %rbx
jae LBB0_4
## %bb.1:
movq (%r15), %rax
movq (%r14), %rcx
movq (%rax,%rcx,8), %rsi
movq _LIM_MGMT_P_KEY@GOTPCREL(%rip), %rcx
xorl %eax, %eax
cmpq (%rcx), %rsi
je LBB0_4
## %bb.2:
movq _FULL_MGMT_P_KEY@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rsi
je LBB0_4
## %bb.3:
movl 8(%r14), %edx
movq %r15, %rdi
callq _ingress_pkey_table_fail
movl $1, %eax
LBB0_4:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _LIM_MGMT_P_KEY,8,3 ## @LIM_MGMT_P_KEY
.comm _FULL_MGMT_P_KEY,8,3 ## @FULL_MGMT_P_KEY
.no_dead_strip _opa_local_smp_check
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function opa_local_smp_check
_opa_local_smp_check: ; @opa_local_smp_check
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
bl _ppd_from_ibp
mov x20, x0
ldr x21, [x19]
ldr x0, [x0]
bl _ARRAY_SIZE
cmp x21, x0
b.hs LBB0_4
; %bb.1:
ldr x8, [x20]
ldr x9, [x19]
ldr x1, [x8, x9, lsl #3]
Lloh0:
adrp x8, _LIM_MGMT_P_KEY@GOTPAGE
Lloh1:
ldr x8, [x8, _LIM_MGMT_P_KEY@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x9, _FULL_MGMT_P_KEY@GOTPAGE
Lloh4:
ldr x9, [x9, _FULL_MGMT_P_KEY@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x1, x8
ccmp x1, x9, #4, ne
b.ne LBB0_3
; %bb.2:
mov w0, #0
b LBB0_5
LBB0_3:
ldr w2, [x19, #8]
mov x0, x20
bl _ingress_pkey_table_fail
LBB0_4:
mov w0, #1
LBB0_5:
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 Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _LIM_MGMT_P_KEY,8,3 ; @LIM_MGMT_P_KEY
.comm _FULL_MGMT_P_KEY,8,3 ; @FULL_MGMT_P_KEY
.no_dead_strip _opa_local_smp_check
.subsections_via_symbols
| AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_mad.c_opa_local_smp_check.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _kvmppc_radix_init ## -- Begin function kvmppc_radix_init
.p2align 4, 0x90
_kvmppc_radix_init: ## @kvmppc_radix_init
.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 _RADIX_PTE_INDEX_SIZE@GOTPCREL(%rip), %rax
movb (%rax), %cl
movl $8, %edx
shlq %cl, %rdx
movl $8, %ebx
movq _pte_ctor@GOTPCREL(%rip), %rax
movl (%rax), %r8d
leaq L_.str(%rip), %rdi
xorl %r14d, %r14d
movq %rdx, %rsi
xorl %ecx, %ecx
callq _kmem_cache_create
movq _kvm_pte_cache@GOTPCREL(%rip), %r15
movq %rax, (%r15)
testq %rax, %rax
je LBB0_3
## %bb.1:
movq _RADIX_PMD_INDEX_SIZE@GOTPCREL(%rip), %rax
movb (%rax), %cl
shlq %cl, %rbx
movq _pmd_ctor@GOTPCREL(%rip), %rax
movl (%rax), %r8d
leaq L_.str.1(%rip), %rdi
movq %rbx, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
callq _kmem_cache_create
movq _kvm_pmd_cache@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
testq %rax, %rax
jne LBB0_4
## %bb.2:
movq (%r15), %rdi
callq _kmem_cache_destroy
LBB0_3:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %r14d, %r14d
subl (%rax), %r14d
LBB0_4:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _RADIX_PTE_INDEX_SIZE,4,2 ## @RADIX_PTE_INDEX_SIZE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "kvm-pte"
.comm _pte_ctor,4,2 ## @pte_ctor
.comm _kvm_pte_cache,8,3 ## @kvm_pte_cache
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _RADIX_PMD_INDEX_SIZE,4,2 ## @RADIX_PMD_INDEX_SIZE
L_.str.1: ## @.str.1
.asciz "kvm-pmd"
.comm _pmd_ctor,4,2 ## @pmd_ctor
.comm _kvm_pmd_cache,8,3 ## @kvm_pmd_cache
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _kvmppc_radix_init ; -- Begin function kvmppc_radix_init
.p2align 2
_kvmppc_radix_init: ; @kvmppc_radix_init
.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, _RADIX_PTE_INDEX_SIZE@GOTPAGE
Lloh1:
ldr x8, [x8, _RADIX_PTE_INDEX_SIZE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
mov w9, #8
lsl x1, x9, x8
Lloh3:
adrp x8, _pte_ctor@GOTPAGE
Lloh4:
ldr x8, [x8, _pte_ctor@GOTPAGEOFF]
Lloh5:
ldr w4, [x8]
Lloh6:
adrp x0, l_.str@PAGE
Lloh7:
add x0, x0, l_.str@PAGEOFF
mov x2, x1
mov w3, #0
bl _kmem_cache_create
Lloh8:
adrp x19, _kvm_pte_cache@GOTPAGE
Lloh9:
ldr x19, [x19, _kvm_pte_cache@GOTPAGEOFF]
str x0, [x19]
cbz x0, LBB0_3
; %bb.1:
Lloh10:
adrp x8, _RADIX_PMD_INDEX_SIZE@GOTPAGE
Lloh11:
ldr x8, [x8, _RADIX_PMD_INDEX_SIZE@GOTPAGEOFF]
Lloh12:
ldr w8, [x8]
mov w9, #8
lsl x1, x9, x8
Lloh13:
adrp x8, _pmd_ctor@GOTPAGE
Lloh14:
ldr x8, [x8, _pmd_ctor@GOTPAGEOFF]
Lloh15:
ldr w4, [x8]
Lloh16:
adrp x0, l_.str.1@PAGE
Lloh17:
add x0, x0, l_.str.1@PAGEOFF
mov x2, x1
mov w3, #0
bl _kmem_cache_create
mov x8, x0
mov w0, #0
Lloh18:
adrp x9, _kvm_pmd_cache@GOTPAGE
Lloh19:
ldr x9, [x9, _kvm_pmd_cache@GOTPAGEOFF]
Lloh20:
str x8, [x9]
cbnz x8, LBB0_4
; %bb.2:
ldr x0, [x19]
bl _kmem_cache_destroy
LBB0_3:
Lloh21:
adrp x8, _ENOMEM@GOTPAGE
Lloh22:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh23:
ldr w8, [x8]
neg w0, w8
LBB0_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotStr Lloh18, Lloh19, Lloh20
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.cfi_endproc
; -- End function
.comm _RADIX_PTE_INDEX_SIZE,4,2 ; @RADIX_PTE_INDEX_SIZE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "kvm-pte"
.comm _pte_ctor,4,2 ; @pte_ctor
.comm _kvm_pte_cache,8,3 ; @kvm_pte_cache
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _RADIX_PMD_INDEX_SIZE,4,2 ; @RADIX_PMD_INDEX_SIZE
l_.str.1: ; @.str.1
.asciz "kvm-pmd"
.comm _pmd_ctor,4,2 ; @pmd_ctor
.comm _kvm_pmd_cache,8,3 ; @kvm_pmd_cache
.subsections_via_symbols
| AnghaBench/linux/arch/powerpc/kvm/extr_book3s_64_mmu_radix.c_kvmppc_radix_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cdv_init_pm
_cdv_init_pm: ## @cdv_init_pm
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq 8(%rdi), %rax
movq 16(%rdi), %r15
movl (%rax), %edi
callq _pci_domain_nr
movl %eax, %ebx
movq _PSB_PUNIT_PORT@GOTPCREL(%rip), %r12
movl (%r12), %esi
movq _PSB_APMBA@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl %ebx, %edi
callq _CDV_MSG_READ32
movzwl %ax, %eax
movl %eax, (%r15)
movl (%r12), %esi
movq _PSB_OSPMBA@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl %ebx, %edi
callq _CDV_MSG_READ32
movzwl %ax, %eax
movl %eax, 4(%r15)
movslq (%r15), %rdi
movq _PSB_APM_CMD@GOTPCREL(%rip), %rbx
addq (%rbx), %rdi
callq _inl
movq _PSB_PWRGT_GFX_MASK@GOTPCREL(%rip), %r13
movl (%r13), %edi
notl %edi
andl %eax, %edi
movq _PSB_PWRGT_GFX_ON@GOTPCREL(%rip), %rax
orl (%rax), %edi
movslq (%r15), %rsi
addq (%rbx), %rsi
callq _outl
movslq (%r15), %rdi
movq _PSB_APM_STS@GOTPCREL(%rip), %r12
addq (%r12), %rdi
callq _inl
testl %eax, (%r13)
je LBB0_5
## %bb.1:
movl $10, %edi
callq _udelay
movslq (%r15), %rdi
addq (%r12), %rdi
callq _inl
testl %eax, (%r13)
je LBB0_5
## %bb.2:
movl $10, %edi
callq _udelay
movslq (%r15), %rdi
addq (%r12), %rdi
callq _inl
testl %eax, (%r13)
je LBB0_5
## %bb.3:
movl $10, %edi
callq _udelay
movslq (%r15), %rdi
addq (%r12), %rdi
callq _inl
testl %eax, (%r13)
je LBB0_5
## %bb.4:
movl $10, %edi
callq _udelay
movslq (%r15), %rdi
addq (%r12), %rdi
callq _inl
testl %eax, (%r13)
je LBB0_5
## %bb.6:
movl $10, %edi
callq _udelay
movl (%r14), %edi
leaq L_.str(%rip), %rsi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _dev_err ## TAILCALL
LBB0_5:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PSB_PUNIT_PORT,4,2 ## @PSB_PUNIT_PORT
.comm _PSB_APMBA,4,2 ## @PSB_APMBA
.comm _PSB_OSPMBA,4,2 ## @PSB_OSPMBA
.comm _PSB_APM_CMD,8,3 ## @PSB_APM_CMD
.comm _PSB_PWRGT_GFX_MASK,4,2 ## @PSB_PWRGT_GFX_MASK
.comm _PSB_PWRGT_GFX_ON,4,2 ## @PSB_PWRGT_GFX_ON
.comm _PSB_APM_STS,8,3 ## @PSB_APM_STS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "GPU: power management timed out.\n"
.no_dead_strip _cdv_init_pm
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cdv_init_pm
_cdv_init_pm: ; @cdv_init_pm
.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
ldp x8, x21, [x0, #8]
ldr w0, [x8]
bl _pci_domain_nr
mov x20, x0
Lloh0:
adrp x22, _PSB_PUNIT_PORT@GOTPAGE
Lloh1:
ldr x22, [x22, _PSB_PUNIT_PORT@GOTPAGEOFF]
ldr w1, [x22]
Lloh2:
adrp x8, _PSB_APMBA@GOTPAGE
Lloh3:
ldr x8, [x8, _PSB_APMBA@GOTPAGEOFF]
Lloh4:
ldr w2, [x8]
bl _CDV_MSG_READ32
and w8, w0, #0xffff
str w8, [x21]
ldr w1, [x22]
Lloh5:
adrp x8, _PSB_OSPMBA@GOTPAGE
Lloh6:
ldr x8, [x8, _PSB_OSPMBA@GOTPAGEOFF]
Lloh7:
ldr w2, [x8]
mov x0, x20
bl _CDV_MSG_READ32
and w8, w0, #0xffff
str w8, [x21, #4]
ldrsw x8, [x21]
Lloh8:
adrp x22, _PSB_APM_CMD@GOTPAGE
Lloh9:
ldr x22, [x22, _PSB_APM_CMD@GOTPAGEOFF]
ldr x9, [x22]
add x0, x9, x8
bl _inl
Lloh10:
adrp x20, _PSB_PWRGT_GFX_MASK@GOTPAGE
Lloh11:
ldr x20, [x20, _PSB_PWRGT_GFX_MASK@GOTPAGEOFF]
ldr w8, [x20]
Lloh12:
adrp x9, _PSB_PWRGT_GFX_ON@GOTPAGE
Lloh13:
ldr x9, [x9, _PSB_PWRGT_GFX_ON@GOTPAGEOFF]
bic w8, w0, w8
Lloh14:
ldr w9, [x9]
orr w0, w8, w9
ldrsw x8, [x21]
ldr x9, [x22]
add x1, x9, x8
bl _outl
ldrsw x8, [x21]
Lloh15:
adrp x22, _PSB_APM_STS@GOTPAGE
Lloh16:
ldr x22, [x22, _PSB_APM_STS@GOTPAGEOFF]
ldr x9, [x22]
add x0, x9, x8
bl _inl
ldr w8, [x20]
tst w8, w0
b.eq LBB0_6
; %bb.1:
mov w0, #10
bl _udelay
ldrsw x8, [x21]
ldr x9, [x22]
add x0, x9, x8
bl _inl
ldr w8, [x20]
tst w8, w0
b.eq LBB0_6
; %bb.2:
mov w0, #10
bl _udelay
ldrsw x8, [x21]
ldr x9, [x22]
add x0, x9, x8
bl _inl
ldr w8, [x20]
tst w8, w0
b.eq LBB0_6
; %bb.3:
mov w0, #10
bl _udelay
ldrsw x8, [x21]
ldr x9, [x22]
add x0, x9, x8
bl _inl
ldr w8, [x20]
tst w8, w0
b.eq LBB0_6
; %bb.4:
mov w0, #10
bl _udelay
ldrsw x8, [x21]
ldr x9, [x22]
add x0, x9, x8
bl _inl
ldr w8, [x20]
tst w8, w0
b.eq LBB0_6
; %bb.5:
mov w0, #10
bl _udelay
ldr w0, [x19]
Lloh17:
adrp x1, l_.str@PAGE
Lloh18:
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 _dev_err
LBB0_6:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh17, Lloh18
.cfi_endproc
; -- End function
.comm _PSB_PUNIT_PORT,4,2 ; @PSB_PUNIT_PORT
.comm _PSB_APMBA,4,2 ; @PSB_APMBA
.comm _PSB_OSPMBA,4,2 ; @PSB_OSPMBA
.comm _PSB_APM_CMD,8,3 ; @PSB_APM_CMD
.comm _PSB_PWRGT_GFX_MASK,4,2 ; @PSB_PWRGT_GFX_MASK
.comm _PSB_PWRGT_GFX_ON,4,2 ; @PSB_PWRGT_GFX_ON
.comm _PSB_APM_STS,8,3 ; @PSB_APM_STS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "GPU: power management timed out.\n"
.no_dead_strip _cdv_init_pm
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/gma500/extr_cdv_device.c_cdv_init_pm.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function UI_DrawNetMapPreview
_UI_DrawNetMapPreview: ## @UI_DrawNetMapPreview
.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 _uiInfo@GOTPCREL(%rip), %rax
movq (%rax), %r8
movl 12(%rdi), %r12d
movl 8(%rdi), %r15d
movl (%rdi), %r14d
movl 4(%rdi), %ebx
testq %r8, %r8
jg LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
callq _trap_R_RegisterShaderNoMip
movq %rax, %r8
LBB0_2:
movl %r12d, %edi
movl %r15d, %esi
movl %ebx, %edx
movl %r14d, %ecx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _UI_DrawHandlePic ## TAILCALL
.cfi_endproc
## -- End function
.comm _uiInfo,8,3 ## @uiInfo
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "menu/art/unknownmap"
.no_dead_strip _UI_DrawNetMapPreview
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function UI_DrawNetMapPreview
_UI_DrawNetMapPreview: ; @UI_DrawNetMapPreview
.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
Lloh0:
adrp x8, _uiInfo@GOTPAGE
Lloh1:
ldr x8, [x8, _uiInfo@GOTPAGEOFF]
Lloh2:
ldr x4, [x8]
ldp w20, w19, [x0, #8]
ldp w22, w21, [x0]
cmp x4, #0
b.gt LBB0_2
; %bb.1:
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _trap_R_RegisterShaderNoMip
mov x4, x0
LBB0_2:
mov x0, x19
mov x1, x20
mov x2, x21
mov x3, 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
b _UI_DrawHandlePic
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _uiInfo,8,3 ; @uiInfo
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "menu/art/unknownmap"
.no_dead_strip _UI_DrawNetMapPreview
.subsections_via_symbols
| AnghaBench/Quake-III-Arena/code/ui/extr_ui_main.c_UI_DrawNetMapPreview.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bnad_netdev_hwstats_fill ## -- Begin function bnad_netdev_hwstats_fill
.p2align 4, 0x90
_bnad_netdev_hwstats_fill: ## @bnad_netdev_hwstats_fill
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %rax
movq 8(%rax), %rcx
movq 16(%rax), %rdx
leaq (%rcx,%rdx), %rsi
movq 24(%rax), %rdi
addq %rdi, %rsi
addq 72(%rax), %rsi
movdqu 56(%rax), %xmm0
movq %rsi, %xmm1
movq 48(%rax), %xmm2 ## xmm2 = mem[0],zero
punpcklqdq %xmm1, %xmm2 ## xmm2 = xmm2[0],xmm1[0]
paddq %xmm0, %xmm2
movdqu %xmm2, 48(%rbx)
movups 32(%rax), %xmm0
movups %xmm0, 32(%rbx)
movq %rdi, 24(%rbx)
movq %rdx, 16(%rbx)
movq %rcx, 8(%rbx)
leaq 8(%r14), %rdi
callq _bna_rx_rid_mask
testl %eax, %eax
je LBB0_5
## %bb.1:
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
testb $1, %al
jne LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movl %eax, %edx
sarl %edx
addq $8, %rcx
cmpl $1, %eax
movl %edx, %eax
ja LBB0_2
jmp LBB0_5
LBB0_3:
movq (%r14), %rax
movq (%rax), %rax
movl (%rax,%rcx), %eax
addl %eax, (%rbx)
LBB0_5:
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 _bnad_netdev_hwstats_fill ; -- Begin function bnad_netdev_hwstats_fill
.p2align 2
_bnad_netdev_hwstats_fill: ; @bnad_netdev_hwstats_fill
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
ldr x8, [x0], #8
ldp x10, x9, [x8, #8]
ldr x11, [x8, #24]
add x12, x10, x9
add x12, x12, x11
ldp x14, x13, [x8, #64]
add x12, x12, x13
add x12, x12, x14
ldp x14, x13, [x8, #48]
add x13, x14, x13
stp x13, x12, [x1, #48]
ldr q0, [x8, #32]
str q0, [x1, #32]
stp x9, x11, [x1, #16]
str x10, [x1, #8]
bl _bna_rx_rid_mask
cbz w0, LBB0_5
; %bb.1:
mov x8, #0
LBB0_2: ; =>This Inner Loop Header: Depth=1
tbnz w0, #0, LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
asr w9, w0, #1
add x8, x8, #8
cmp w0, #1
mov x0, x9
b.hi LBB0_2
b LBB0_5
LBB0_4:
ldr x9, [x20]
ldr x9, [x9]
ldr w8, [x9, x8]
ldr w9, [x19]
add w8, w9, w8
str w8, [x19]
LBB0_5:
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/linux/drivers/net/ethernet/brocade/bna/extr_bnad.c_bnad_netdev_hwstats_fill.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function adp5061_get_vweak_th
_adp5061_get_vweak_th: ## @adp5061_get_vweak_th
.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
movl (%rdi), %edi
movq _ADP5061_VOLTAGE_TH@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -12(%rbp), %rdx
callq _regmap_read
testl %eax, %eax
js LBB0_2
## %bb.1:
movq _ADP5061_VOLTAGE_TH_VWEAK_MSK@GOTPCREL(%rip), %rcx
movl -12(%rbp), %edx
andl (%rcx), %edx
movl %edx, -12(%rbp)
movq _adp5061_vweak_th@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
imull $1000, (%rcx,%rdx,4), %ecx ## imm = 0x3E8
movl %ecx, (%rbx)
LBB0_2:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ADP5061_VOLTAGE_TH,4,2 ## @ADP5061_VOLTAGE_TH
.comm _ADP5061_VOLTAGE_TH_VWEAK_MSK,4,2 ## @ADP5061_VOLTAGE_TH_VWEAK_MSK
.comm _adp5061_vweak_th,8,3 ## @adp5061_vweak_th
.no_dead_strip _adp5061_get_vweak_th
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function adp5061_get_vweak_th
_adp5061_get_vweak_th: ; @adp5061_get_vweak_th
.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
ldr w0, [x0]
Lloh0:
adrp x8, _ADP5061_VOLTAGE_TH@GOTPAGE
Lloh1:
ldr x8, [x8, _ADP5061_VOLTAGE_TH@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
add x2, sp, #12
bl _regmap_read
tbnz w0, #31, LBB0_2
; %bb.1:
Lloh3:
adrp x8, _ADP5061_VOLTAGE_TH_VWEAK_MSK@GOTPAGE
Lloh4:
ldr x8, [x8, _ADP5061_VOLTAGE_TH_VWEAK_MSK@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
ldr w9, [sp, #12]
and x8, x9, x8
str w8, [sp, #12]
Lloh6:
adrp x9, _adp5061_vweak_th@GOTPAGE
Lloh7:
ldr x9, [x9, _adp5061_vweak_th@GOTPAGEOFF]
Lloh8:
ldr x9, [x9]
ldr w8, [x9, x8, lsl #2]
mov w9, #1000
mul w8, w8, w9
str w8, [x19]
LBB0_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 Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _ADP5061_VOLTAGE_TH,4,2 ; @ADP5061_VOLTAGE_TH
.comm _ADP5061_VOLTAGE_TH_VWEAK_MSK,4,2 ; @ADP5061_VOLTAGE_TH_VWEAK_MSK
.comm _adp5061_vweak_th,8,3 ; @adp5061_vweak_th
.no_dead_strip _adp5061_get_vweak_th
.subsections_via_symbols
| AnghaBench/linux/drivers/power/supply/extr_adp5061.c_adp5061_get_vweak_th.c | anghabench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.