x86 stringlengths 122 5.97M | arm stringlengths 122 5.84M | file stringlengths 18 195 | source stringclasses 3 values |
|---|---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rose_getname
_rose_getname: ## @rose_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 %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, %r13d
movq %rsi, %r15
movq (%rdi), %r12
movq %r12, %rdi
callq _rose_sk
movq %rax, %rbx
movl $32, %r14d
movq %r15, %rdi
xorl %esi, %esi
movl $32, %edx
callq _memset
testl %r13d, %r13d
je LBB0_6
## %bb.1:
movq (%r12), %rax
movq _TCP_ESTABLISHED@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_2
## %bb.3:
movq _AF_ROSE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, 24(%r15)
movl 36(%rbx), %eax
movl %eax, 20(%r15)
movl 32(%rbx), %eax
movl %eax, 16(%r15)
movl (%rbx), %eax
movl %eax, (%r15)
movl $32, %r14d
testl %eax, %eax
jle LBB0_9
## %bb.4:
movq 24(%rbx), %rax
movq 8(%r15), %rcx
xorl %edx, %edx
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl (%rax,%rdx,4), %esi
movl %esi, (%rcx,%rdx,4)
incq %rdx
movslq (%rbx), %rsi
cmpq %rsi, %rdx
jl LBB0_5
jmp LBB0_9
LBB0_6:
movq _AF_ROSE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, 24(%r15)
movl 20(%rbx), %eax
movl %eax, 20(%r15)
movl 16(%rbx), %eax
movl %eax, 16(%r15)
movl 4(%rbx), %eax
movl %eax, (%r15)
testl %eax, %eax
jle LBB0_9
## %bb.7:
movq 8(%rbx), %rax
movq 8(%r15), %rcx
xorl %edx, %edx
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movl (%rax,%rdx,4), %esi
movl %esi, (%rcx,%rdx,4)
incq %rdx
movslq 4(%rbx), %rsi
cmpq %rsi, %rdx
jl LBB0_8
jmp LBB0_9
LBB0_2:
movq _ENOTCONN@GOTPCREL(%rip), %rax
xorl %r14d, %r14d
subl (%rax), %r14d
LBB0_9:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TCP_ESTABLISHED,8,3 ## @TCP_ESTABLISHED
.comm _ENOTCONN,4,2 ## @ENOTCONN
.comm _AF_ROSE,8,3 ## @AF_ROSE
.no_dead_strip _rose_getname
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rose_getname
_rose_getname: ; @rose_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 x22, x2
mov x20, x1
ldr x21, [x0]
mov x0, x21
bl _rose_sk
mov x19, x0
mov x0, x20
mov w1, #0
mov w2, #32
bl _memset
cbz w22, LBB0_5
; %bb.1:
ldr x8, [x21]
Lloh0:
adrp x9, _TCP_ESTABLISHED@GOTPAGE
Lloh1:
ldr x9, [x9, _TCP_ESTABLISHED@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_9
; %bb.2:
Lloh3:
adrp x8, _AF_ROSE@GOTPAGE
Lloh4:
ldr x8, [x8, _AF_ROSE@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
str x8, [x20, #24]
ldr d0, [x19, #32]
str d0, [x20, #16]
ldr w8, [x19]
str w8, [x20]
cmp w8, #1
b.lt LBB0_8
; %bb.3:
mov x8, #0
ldr x9, [x19, #24]
ldr x10, [x20, #8]
LBB0_4: ; =>This Inner Loop Header: Depth=1
lsl x11, x8, #2
ldr w12, [x9, x11]
str w12, [x10, x11]
add x8, x8, #1
ldrsw x11, [x19]
cmp x8, x11
b.lt LBB0_4
b LBB0_8
LBB0_5:
Lloh6:
adrp x8, _AF_ROSE@GOTPAGE
Lloh7:
ldr x8, [x8, _AF_ROSE@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
str x8, [x20, #24]
ldr d0, [x19, #16]
str d0, [x20, #16]
ldr w8, [x19, #4]
str w8, [x20]
cmp w8, #1
b.lt LBB0_8
; %bb.6:
mov x8, #0
ldr x9, [x19, #8]
ldr x10, [x20, #8]
LBB0_7: ; =>This Inner Loop Header: Depth=1
lsl x11, x8, #2
ldr w12, [x9, x11]
str w12, [x10, x11]
add x8, x8, #1
ldrsw x11, [x19, #4]
cmp x8, x11
b.lt LBB0_7
LBB0_8:
mov w0, #32
b LBB0_10
LBB0_9:
Lloh9:
adrp x8, _ENOTCONN@GOTPAGE
Lloh10:
ldr x8, [x8, _ENOTCONN@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
neg w0, w8
LBB0_10:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _TCP_ESTABLISHED,8,3 ; @TCP_ESTABLISHED
.comm _ENOTCONN,4,2 ; @ENOTCONN
.comm _AF_ROSE,8,3 ; @AF_ROSE
.no_dead_strip _rose_getname
.subsections_via_symbols
| AnghaBench/linux/net/rose/extr_af_rose.c_rose_getname.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function macvlan_set_lockdep_class_one
_macvlan_set_lockdep_class_one: ## @macvlan_set_lockdep_class_one
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rsi, %rdi
movq _macvlan_netdev_xmit_lock_key@GOTPCREL(%rip), %rsi
popq %rbp
jmp _lockdep_set_class ## TAILCALL
.cfi_endproc
## -- End function
.comm _macvlan_netdev_xmit_lock_key,4,2 ## @macvlan_netdev_xmit_lock_key
.no_dead_strip _macvlan_set_lockdep_class_one
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function macvlan_set_lockdep_class_one
_macvlan_set_lockdep_class_one: ; @macvlan_set_lockdep_class_one
.cfi_startproc
; %bb.0:
mov x0, x1
Lloh0:
adrp x1, _macvlan_netdev_xmit_lock_key@GOTPAGE
Lloh1:
ldr x1, [x1, _macvlan_netdev_xmit_lock_key@GOTPAGEOFF]
b _lockdep_set_class
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _macvlan_netdev_xmit_lock_key,4,2 ; @macvlan_netdev_xmit_lock_key
.no_dead_strip _macvlan_set_lockdep_class_one
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/extr_macvlan.c_macvlan_set_lockdep_class_one.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function toggle_audio_display
_toggle_audio_display: ## @toggle_audio_display
.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), %ecx
movq _SHOW_MODE_NB@GOTPCREL(%rip), %rax
movl (%rax), %esi
leal -1(%rcx), %eax
cltd
idivl %esi
cmpl %ecx, %edx
jne LBB0_1
LBB0_8:
popq %rbp
retq
LBB0_1:
movq _SHOW_MODE_VIDEO@GOTPCREL(%rip), %rax
movl (%rax), %r8d
jmp LBB0_2
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
cmpl $0, 8(%rdi)
jne LBB0_5
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
decl %edx
movl %edx, %eax
cltd
idivl %esi
cmpl %ecx, %edx
je LBB0_8
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpl %r8d, %edx
jne LBB0_6
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
cmpl $0, 12(%rdi)
je LBB0_7
## %bb.4:
movl %r8d, %edx
LBB0_5:
movl $1, 4(%rdi)
movl %edx, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SHOW_MODE_NB,4,2 ## @SHOW_MODE_NB
.comm _SHOW_MODE_VIDEO,4,2 ## @SHOW_MODE_VIDEO
.no_dead_strip _toggle_audio_display
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function toggle_audio_display
_toggle_audio_display: ; @toggle_audio_display
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _SHOW_MODE_NB@GOTPAGE
Lloh1:
ldr x8, [x8, _SHOW_MODE_NB@GOTPAGEOFF]
ldr w9, [x0]
Lloh2:
ldr w10, [x8]
sub w8, w9, #1
sdiv w11, w8, w10
msub w8, w11, w10, w8
cmp w8, w9
b.ne LBB0_2
LBB0_1:
ret
LBB0_2:
Lloh3:
adrp x11, _SHOW_MODE_VIDEO@GOTPAGE
Lloh4:
ldr x11, [x11, _SHOW_MODE_VIDEO@GOTPAGEOFF]
Lloh5:
ldr w11, [x11]
b LBB0_5
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
ldr w12, [x0, #8]
cbnz w12, LBB0_8
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
sub w8, w8, #1
sdiv w12, w8, w10
msub w8, w12, w10, w8
cmp w8, w9
b.eq LBB0_1
LBB0_5: ; =>This Inner Loop Header: Depth=1
cmp w8, w11
b.ne LBB0_3
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr w12, [x0, #12]
cbz w12, LBB0_4
; %bb.7:
mov x8, x11
LBB0_8:
mov w9, #1 ; =0x1
stp w8, w9, [x0]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _SHOW_MODE_NB,4,2 ; @SHOW_MODE_NB
.comm _SHOW_MODE_VIDEO,4,2 ; @SHOW_MODE_VIDEO
.no_dead_strip _toggle_audio_display
.subsections_via_symbols
| assembly_file_94712.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fsnotify_alloc_group ## -- Begin function fsnotify_alloc_group
.p2align 4, 0x90
_fsnotify_alloc_group: ## @fsnotify_alloc_group
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $48, %edi
callq _kzalloc
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %rax, %rbx
leaq 40(%rax), %rdi
movl $1, %esi
callq _refcount_set
leaq 36(%rbx), %rdi
xorl %esi, %esi
callq _atomic_set
leaq 32(%rbx), %rdi
xorl %esi, %esi
callq _atomic_set
leaq 28(%rbx), %rdi
callq _spin_lock_init
leaq 24(%rbx), %rdi
callq _INIT_LIST_HEAD
leaq 20(%rbx), %rdi
callq _init_waitqueue_head
movq _UINT_MAX@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 16(%rbx)
leaq 12(%rbx), %rdi
callq _mutex_init
movq %rbx, %rdi
addq $8, %rdi
callq _INIT_LIST_HEAD
movq %r14, (%rbx)
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
LBB0_2:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %edi, %edi
subl (%rax), %edi
popq %rbx
popq %r14
popq %rbp
jmp _ERR_PTR ## TAILCALL
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _UINT_MAX,4,2 ## @UINT_MAX
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fsnotify_alloc_group ; -- Begin function fsnotify_alloc_group
.p2align 2
_fsnotify_alloc_group: ; @fsnotify_alloc_group
.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, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov w0, #48
bl _kzalloc
cbz x0, LBB0_2
; %bb.1:
mov x20, x0
add x0, x0, #40
mov w1, #1
bl _refcount_set
add x0, x20, #36
mov w1, #0
bl _atomic_set
add x0, x20, #32
mov w1, #0
bl _atomic_set
add x0, x20, #28
bl _spin_lock_init
add x0, x20, #24
bl _INIT_LIST_HEAD
add x0, x20, #20
bl _init_waitqueue_head
Lloh3:
adrp x8, _UINT_MAX@GOTPAGE
Lloh4:
ldr x8, [x8, _UINT_MAX@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
str w8, [x20, #16]
add x0, x20, #12
bl _mutex_init
add x0, x20, #8
bl _INIT_LIST_HEAD
str x19, [x20]
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_2:
Lloh6:
adrp x8, _ENOMEM@GOTPAGE
Lloh7:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
neg w0, w8
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _ERR_PTR
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _UINT_MAX,4,2 ; @UINT_MAX
.subsections_via_symbols
| AnghaBench/linux/fs/notify/extr_group.c_fsnotify_alloc_group.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _h2o_http2_decode_priority_payload ## -- Begin function h2o_http2_decode_priority_payload
.p2align 4, 0x90
_h2o_http2_decode_priority_payload: ## @h2o_http2_decode_priority_payload
.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, (%rsi)
je LBB0_3
## %bb.1:
cmpl $5, 8(%rsi)
jne LBB0_5
## %bb.2:
movl 12(%rsi), %esi
callq _decode_priority
xorl %eax, %eax
popq %rbp
retq
LBB0_3:
leaq L_.str(%rip), %rax
movq %rax, (%rdx)
movq _H2O_HTTP2_ERROR_PROTOCOL@GOTPCREL(%rip), %rax
jmp LBB0_4
LBB0_5:
leaq L_.str.1(%rip), %rax
movq %rax, (%rdx)
movq _H2O_HTTP2_ERROR_FRAME_SIZE@GOTPCREL(%rip), %rax
LBB0_4:
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "invalid stream id in PRIORITY frame"
.comm _H2O_HTTP2_ERROR_PROTOCOL,4,2 ## @H2O_HTTP2_ERROR_PROTOCOL
L_.str.1: ## @.str.1
.asciz "invalid PRIORITY frame"
.comm _H2O_HTTP2_ERROR_FRAME_SIZE,4,2 ## @H2O_HTTP2_ERROR_FRAME_SIZE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _h2o_http2_decode_priority_payload ; -- Begin function h2o_http2_decode_priority_payload
.p2align 2
_h2o_http2_decode_priority_payload: ; @h2o_http2_decode_priority_payload
.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, [x1]
cbz x8, LBB0_3
; %bb.1:
ldr w8, [x1, #8]
cmp w8, #5
b.ne LBB0_4
; %bb.2:
ldr w1, [x1, #12]
bl _decode_priority
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_3:
Lloh0:
adrp x8, l_.str@PAGE
Lloh1:
add x8, x8, l_.str@PAGEOFF
str x8, [x2]
Lloh2:
adrp x8, _H2O_HTTP2_ERROR_PROTOCOL@GOTPAGE
Lloh3:
ldr x8, [x8, _H2O_HTTP2_ERROR_PROTOCOL@GOTPAGEOFF]
b LBB0_5
LBB0_4:
Lloh4:
adrp x8, l_.str.1@PAGE
Lloh5:
add x8, x8, l_.str.1@PAGEOFF
str x8, [x2]
Lloh6:
adrp x8, _H2O_HTTP2_ERROR_FRAME_SIZE@GOTPAGE
Lloh7:
ldr x8, [x8, _H2O_HTTP2_ERROR_FRAME_SIZE@GOTPAGEOFF]
LBB0_5:
ldr w0, [x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "invalid stream id in PRIORITY frame"
.comm _H2O_HTTP2_ERROR_PROTOCOL,4,2 ; @H2O_HTTP2_ERROR_PROTOCOL
l_.str.1: ; @.str.1
.asciz "invalid PRIORITY frame"
.comm _H2O_HTTP2_ERROR_FRAME_SIZE,4,2 ; @H2O_HTTP2_ERROR_FRAME_SIZE
.subsections_via_symbols
| AnghaBench/h2o/lib/http2/extr_frame.c_h2o_http2_decode_priority_payload.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sort ## -- Begin function sort
.p2align 4, 0x90
_sort: ## @sort
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $2, %esi
jl LBB0_7
## %bb.1:
movl %esi, %r8d
movl $1, %r9d
jmp LBB0_2
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
movslq %ecx, %rax
movl %edx, (%rdi,%rax,4)
incq %r9
cmpq %r8, %r9
je LBB0_7
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl (%rdi,%r9,4), %edx
movq %r9, %rcx
.p2align 4, 0x90
LBB0_3: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
leaq -1(%rcx), %rsi
movl %esi, %eax
movl (%rdi,%rax,4), %eax
cmpl %edx, %eax
jle LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl %eax, (%rdi,%rcx,4)
leaq 1(%rsi), %rax
movq %rsi, %rcx
cmpq $1, %rax
jg LBB0_3
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
xorl %ecx, %ecx
jmp LBB0_6
LBB0_7:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $4032, %rsp ## imm = 0xFC0
.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
xorl %r15d, %r15d
leaq -4052(%rbp), %rsi
leaq -4056(%rbp), %rdx
xorl %eax, %eax
callq _scanf
movl -4052(%rbp), %ecx
testl %ecx, %ecx
jle LBB1_10
## %bb.1:
leaq -4048(%rbp), %r12
leaq L_.str.1(%rip), %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB1_2: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq _scanf
incq %rbx
movslq -4052(%rbp), %rcx
addq $4, %r12
cmpq %rcx, %rbx
jl LBB1_2
## %bb.3:
cmpl $2, %ecx
jl LBB1_10
## %bb.4:
movl %ecx, %r8d
movl $1, %ebx
jmp LBB1_5
.p2align 4, 0x90
LBB1_9: ## in Loop: Header=BB1_5 Depth=1
movslq %edx, %rax
movl %esi, -4048(%rbp,%rax,4)
incq %rbx
cmpq %r8, %rbx
je LBB1_10
LBB1_5: ## =>This Loop Header: Depth=1
## Child Loop BB1_6 Depth 2
movl -4048(%rbp,%rbx,4), %esi
movq %rbx, %rdx
.p2align 4, 0x90
LBB1_6: ## Parent Loop BB1_5 Depth=1
## => This Inner Loop Header: Depth=2
leaq -1(%rdx), %rdi
movl %edi, %eax
movl -4048(%rbp,%rax,4), %eax
cmpl %esi, %eax
jle LBB1_9
## %bb.7: ## in Loop: Header=BB1_6 Depth=2
movl %eax, -4048(%rbp,%rdx,4)
leaq 1(%rdi), %rax
movq %rdi, %rdx
cmpq $1, %rax
jg LBB1_6
## %bb.8: ## in Loop: Header=BB1_5 Depth=1
xorl %edx, %edx
jmp LBB1_9
LBB1_10:
movl %ecx, %r8d
subl -4056(%rbp), %r8d
movl $0, %esi
testl %r8d, %r8d
jle LBB1_24
## %bb.11:
movl %r8d, %edx
cmpl $8, %r8d
jae LBB1_14
## %bb.12:
xorl %esi, %esi
xorl %r15d, %r15d
jmp LBB1_13
LBB1_14:
movl %edx, %esi
andl $-8, %esi
leaq -8(%rsi), %rbx
movq %rbx, %rdi
shrq $3, %rdi
incq %rdi
movl %edi, %eax
andl $3, %eax
cmpq $24, %rbx
jae LBB1_16
## %bb.15:
pxor %xmm0, %xmm0
xorl %ebx, %ebx
pxor %xmm1, %xmm1
jmp LBB1_18
LBB1_16:
andq $-4, %rdi
pxor %xmm0, %xmm0
xorl %ebx, %ebx
pxor %xmm1, %xmm1
.p2align 4, 0x90
LBB1_17: ## =>This Inner Loop Header: Depth=1
paddd -4048(%rbp,%rbx,4), %xmm0
paddd -4032(%rbp,%rbx,4), %xmm1
paddd -4016(%rbp,%rbx,4), %xmm0
paddd -4000(%rbp,%rbx,4), %xmm1
paddd -3984(%rbp,%rbx,4), %xmm0
paddd -3968(%rbp,%rbx,4), %xmm1
paddd -3952(%rbp,%rbx,4), %xmm0
paddd -3936(%rbp,%rbx,4), %xmm1
addq $32, %rbx
addq $-4, %rdi
jne LBB1_17
LBB1_18:
testq %rax, %rax
je LBB1_21
## %bb.19:
leaq -4032(,%rbx,4), %rdi
addq %rbp, %rdi
shlq $5, %rax
xorl %ebx, %ebx
.p2align 4, 0x90
LBB1_20: ## =>This Inner Loop Header: Depth=1
paddd -16(%rdi,%rbx), %xmm0
paddd (%rdi,%rbx), %xmm1
addq $32, %rbx
cmpq %rbx, %rax
jne LBB1_20
LBB1_21:
paddd %xmm1, %xmm0
pshufd $238, %xmm0, %xmm1 ## xmm1 = xmm0[2,3,2,3]
paddd %xmm0, %xmm1
pshufd $85, %xmm1, %xmm0 ## xmm0 = xmm1[1,1,1,1]
paddd %xmm1, %xmm0
movd %xmm0, %r15d
cmpq %rdx, %rsi
je LBB1_22
.p2align 4, 0x90
LBB1_13: ## =>This Inner Loop Header: Depth=1
addl -4048(%rbp,%rsi,4), %r15d
incq %rsi
cmpq %rsi, %rdx
jne LBB1_13
LBB1_22:
testl %r8d, %r8d
jle LBB1_23
## %bb.26:
movslq %ecx, %r9
incl %r8d
leaq -1(%r8), %rdi
cmpq $8, %rdi
jae LBB1_28
## %bb.27:
xorl %esi, %esi
movl $1, %ecx
jmp LBB1_37
LBB1_23:
xorl %esi, %esi
jmp LBB1_24
LBB1_28:
movq %rdi, %rcx
andq $-8, %rcx
leaq -8(%rcx), %rax
movq %rax, %rsi
shrq $3, %rsi
incq %rsi
testq %rax, %rax
je LBB1_29
## %bb.30:
movabsq $4611686018427387900, %rax ## imm = 0x3FFFFFFFFFFFFFFC
orq $2, %rax
andq %rsi, %rax
leaq -4064(,%r9,4), %rdx
addq %rbp, %rdx
pxor %xmm0, %xmm0
movq $-4, %rbx
pxor %xmm1, %xmm1
.p2align 4, 0x90
LBB1_31: ## =>This Inner Loop Header: Depth=1
movdqu -32(%rdx,%rbx,4), %xmm2
movdqu -16(%rdx,%rbx,4), %xmm3
movdqu (%rdx,%rbx,4), %xmm4
movdqu 16(%rdx,%rbx,4), %xmm5
pshufd $27, %xmm5, %xmm5 ## xmm5 = xmm5[3,2,1,0]
paddd %xmm0, %xmm5
pshufd $27, %xmm4, %xmm4 ## xmm4 = xmm4[3,2,1,0]
paddd %xmm1, %xmm4
pshufd $27, %xmm3, %xmm0 ## xmm0 = xmm3[3,2,1,0]
paddd %xmm5, %xmm0
pshufd $27, %xmm2, %xmm1 ## xmm1 = xmm2[3,2,1,0]
paddd %xmm4, %xmm1
addq $-16, %rbx
addq $-2, %rax
jne LBB1_31
## %bb.32:
addq $3, %rbx
testb $1, %sil
je LBB1_35
LBB1_34:
addq %r9, %rbx
movdqu -4076(%rbp,%rbx,4), %xmm2
movdqu -4060(%rbp,%rbx,4), %xmm3
pshufd $27, %xmm3, %xmm3 ## xmm3 = xmm3[3,2,1,0]
paddd %xmm3, %xmm0
pshufd $27, %xmm2, %xmm2 ## xmm2 = xmm2[3,2,1,0]
paddd %xmm2, %xmm1
LBB1_35:
paddd %xmm1, %xmm0
pshufd $238, %xmm0, %xmm1 ## xmm1 = xmm0[2,3,2,3]
paddd %xmm0, %xmm1
pshufd $85, %xmm1, %xmm0 ## xmm0 = xmm1[1,1,1,1]
paddd %xmm1, %xmm0
movd %xmm0, %esi
cmpq %rcx, %rdi
je LBB1_24
## %bb.36:
orq $1, %rcx
LBB1_37:
leaq -4048(,%r9,4), %rax
addq %rbp, %rax
negq %rcx
negq %r8
.p2align 4, 0x90
LBB1_38: ## =>This Inner Loop Header: Depth=1
addl (%rax,%rcx,4), %esi
decq %rcx
cmpq %rcx, %r8
jne LBB1_38
LBB1_24:
subl %r15d, %esi
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -40(%rbp), %rax
jne LBB1_25
## %bb.39:
addq $4032, %rsp ## imm = 0xFC0
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB1_29:
pxor %xmm0, %xmm0
movq $-1, %rbx
pxor %xmm1, %xmm1
testb $1, %sil
jne LBB1_34
jmp LBB1_35
LBB1_25:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d %d"
L_.str.1: ## @.str.1
.asciz "%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sort ; -- Begin function sort
.p2align 2
_sort: ; @sort
.cfi_startproc
; %bb.0:
cmp w1, #2
b.lt LBB0_7
; %bb.1:
mov w8, w1
mov w9, #1
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
sbfiz x11, x11, #2, #32
str w10, [x0, x11]
add x9, x9, #1
cmp x9, x8
b.eq LBB0_7
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
ldr w10, [x0, x9, lsl #2]
mov x11, x9
LBB0_4: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
sub x12, x11, #1
ldr w13, [x0, w12, uxtw #2]
cmp w13, w10
b.le LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=2
str w13, [x0, x11, lsl #2]
add x13, x12, #1
mov x11, x12
cmp x13, #1
b.gt LBB0_4
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
mov x11, #0
b LBB0_2
LBB0_7:
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
sub sp, sp, #4032
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-40]
add x8, sp, #16
add x9, sp, #20
stp x9, x8, [sp]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldr w8, [sp, #20]
cmp w8, #1
b.lt LBB1_10
; %bb.1:
mov x20, #0
add x21, sp, #24
Lloh5:
adrp x19, l_.str.1@PAGE
Lloh6:
add x19, x19, l_.str.1@PAGEOFF
LBB1_2: ; =>This Inner Loop Header: Depth=1
str x21, [sp]
mov x0, x19
bl _scanf
add x20, x20, #1
ldrsw x8, [sp, #20]
add x21, x21, #4
cmp x20, x8
b.lt LBB1_2
; %bb.3:
cmp w8, #1
b.le LBB1_10
; %bb.4:
and x9, x8, #0xffffffff
mov w10, #1
add x11, sp, #24
b LBB1_6
LBB1_5: ; in Loop: Header=BB1_6 Depth=1
sbfiz x13, x13, #2, #32
str w12, [x11, x13]
add x10, x10, #1
cmp x10, x9
b.eq LBB1_10
LBB1_6: ; =>This Loop Header: Depth=1
; Child Loop BB1_7 Depth 2
ldr w12, [x11, x10, lsl #2]
mov x13, x10
LBB1_7: ; Parent Loop BB1_6 Depth=1
; => This Inner Loop Header: Depth=2
sub x14, x13, #1
ldr w15, [x11, w14, uxtw #2]
cmp w15, w12
b.le LBB1_5
; %bb.8: ; in Loop: Header=BB1_7 Depth=2
str w15, [x11, x13, lsl #2]
add x15, x14, #1
mov x13, x14
cmp x15, #1
b.gt LBB1_7
; %bb.9: ; in Loop: Header=BB1_6 Depth=1
mov x13, #0
b LBB1_5
LBB1_10:
ldr w9, [sp, #16]
sub w10, w8, w9
cmp w10, #1
b.lt LBB1_13
; %bb.11:
cmp w10, #16
b.hs LBB1_14
; %bb.12:
mov x11, #0
mov w9, #0
b LBB1_17
LBB1_13:
mov w9, #0
mov w14, #0
b LBB1_28
LBB1_14:
and x11, x10, #0xfffffff0
add x9, sp, #24
add x9, x9, #32
movi.2d v0, #0000000000000000
mov x12, x11
movi.2d v1, #0000000000000000
movi.2d v2, #0000000000000000
movi.2d v3, #0000000000000000
LBB1_15: ; =>This Inner Loop Header: Depth=1
ldp q4, q5, [x9, #-32]
ldp q6, q7, [x9], #64
add.4s v0, v4, v0
add.4s v1, v5, v1
add.4s v2, v6, v2
add.4s v3, v7, v3
subs x12, x12, #16
b.ne LBB1_15
; %bb.16:
add.4s v0, v1, v0
add.4s v0, v2, v0
add.4s v0, v3, v0
addv.4s s0, v0
fmov w9, s0
cmp x11, x10
b.eq LBB1_19
LBB1_17:
add x12, sp, #24
add x12, x12, x11, lsl #2
sub x11, x10, x11
LBB1_18: ; =>This Inner Loop Header: Depth=1
ldr w13, [x12], #4
add w9, w13, w9
subs x11, x11, #1
b.ne LBB1_18
LBB1_19:
cmp w10, #1
b.lt LBB1_22
; %bb.20:
; kill: def $w8 killed $w8 killed $x8 def $x8
sxtw x11, w8
add w8, w10, #1
sub x12, x8, #1
cmp x12, #16
b.hs LBB1_23
; %bb.21:
mov w14, #0
mov w10, #1
b LBB1_26
LBB1_22:
mov w14, #0
b LBB1_28
LBB1_23:
and x13, x12, #0xfffffffffffffff0
orr x10, x13, #0x1
add x14, sp, #24
add x14, x14, x11, lsl #2
sub x14, x14, #32
movi.2d v0, #0000000000000000
mov x15, x13
movi.2d v1, #0000000000000000
movi.2d v2, #0000000000000000
movi.2d v3, #0000000000000000
LBB1_24: ; =>This Inner Loop Header: Depth=1
ldp q5, q4, [x14]
rev64.4s v4, v4
ext.16b v4, v4, v4, #8
rev64.4s v5, v5
ext.16b v5, v5, v5, #8
ldp q7, q6, [x14, #-32]
rev64.4s v6, v6
ext.16b v6, v6, v6, #8
rev64.4s v7, v7
ext.16b v7, v7, v7, #8
add.4s v0, v4, v0
add.4s v1, v5, v1
add.4s v2, v6, v2
add.4s v3, v7, v3
sub x14, x14, #64
sub x15, x15, #16
cbnz x15, LBB1_24
; %bb.25:
add.4s v0, v1, v0
add.4s v0, v2, v0
add.4s v0, v3, v0
addv.4s s0, v0
fmov w14, s0
cmp x12, x13
b.eq LBB1_28
LBB1_26:
sub x11, x11, x10
add x12, sp, #24
add x11, x12, x11, lsl #2
sub x8, x8, x10
LBB1_27: ; =>This Inner Loop Header: Depth=1
ldr w10, [x11], #-4
add w14, w10, w14
subs x8, x8, #1
b.ne LBB1_27
LBB1_28:
sub w8, w14, w9
str x8, [sp]
Lloh7:
adrp x0, l_.str.1@PAGE
Lloh8:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur x8, [x29, #-40]
Lloh9:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh10:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
ldr x9, [x9]
cmp x9, x8
b.ne LBB1_30
; %bb.29:
add sp, sp, #4032
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB1_30:
bl ___stack_chk_fail
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh7, Lloh8
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d %d"
l_.str.1: ; @.str.1
.asciz "%d"
.subsections_via_symbols
| the_stack_data/193892890.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ecp_precompute_comb
_ecp_precompute_comb: ## @ecp_precompute_comb
.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
movq %r8, %r12
movl %ecx, %r15d
movq %rdx, -56(%rbp) ## 8-byte Spill
movq %rsi, %r13
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _COMB_MAX_PRE@GOTPCREL(%rip), %rax
movl (%rax), %eax
decl %eax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rbx
movq %r13, -72(%rbp) ## 8-byte Spill
movq %r13, %rdi
movq -56(%rbp), %rsi ## 8-byte Reload
callq _mbedtls_ecp_copy
movl %eax, %edi
callq _MBEDTLS_MPI_CHK
decl %r15d
movl $1, %r13d
movl $1, %eax
movl %r15d, %ecx
shll %cl, %eax
movl %eax, -60(%rbp) ## 4-byte Spill
testl %r15d, %r15d
movq %r14, -80(%rbp) ## 8-byte Spill
movq %rbx, -56(%rbp) ## 8-byte Spill
je LBB0_11
## %bb.1:
xorl %ebx, %ebx
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movzbl %bl, %eax
incb %bl
movq -56(%rbp), %rcx ## 8-byte Reload
movq %r15, (%rcx,%rax,8)
addl %r13d, %r13d
movzbl %r13b, %r13d
cmpl -60(%rbp), %r13d ## 4-byte Folded Reload
jae LBB0_5
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl %r13d, %eax
shlq $2, %rax
movq -72(%rbp), %rcx ## 8-byte Reload
movq %rcx, %r15
subq %rax, %r15
movl %r13d, %eax
shrl %eax
leaq (%rcx,%rax,4), %rsi
movq %r15, %rdi
callq _mbedtls_ecp_copy
movl %eax, %edi
callq _MBEDTLS_MPI_CHK
testq %r12, %r12
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
movq %r15, %rsi
movq %r15, %rdx
callq _ecp_double_jac
movl %eax, %edi
callq _MBEDTLS_MPI_CHK
jmp LBB0_4
LBB0_5:
movzbl %bl, %edx
movq %r14, %rdi
movq -56(%rbp), %rsi ## 8-byte Reload
callq _ecp_normalize_jac_many
movl %eax, %edi
callq _MBEDTLS_MPI_CHK
movq -72(%rbp), %rax ## 8-byte Reload
addq $-4, %rax
movq %rax, -88(%rbp) ## 8-byte Spill
movb $1, %al
xorl %ebx, %ebx
jmp LBB0_6
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_6 Depth=1
movl %ebx, %r14d
LBB0_10: ## in Loop: Header=BB0_6 Depth=1
movq -96(%rbp), %rax ## 8-byte Reload
addl %eax, %eax
movzbl %al, %ecx
movl %r14d, %ebx
cmpl %ecx, -60(%rbp) ## 4-byte Folded Reload
jbe LBB0_12
LBB0_6: ## =>This Loop Header: Depth=1
## Child Loop BB0_9 Depth 2
movzbl %al, %r13d
testb %r13b, %r13b
movq %r13, -96(%rbp) ## 8-byte Spill
je LBB0_7
## %bb.8: ## in Loop: Header=BB0_6 Depth=1
leal (,%r13,4), %r12d
movq -72(%rbp), %rax ## 8-byte Reload
addq %r12, %rax
movq %rax, -104(%rbp) ## 8-byte Spill
movq -88(%rbp), %rax ## 8-byte Reload
addq %rax, %r12
leaq (%rax,%r13,8), %r15
.p2align 4, 0x90
LBB0_9: ## Parent Loop BB0_6 Depth=1
## => This Inner Loop Header: Depth=2
movq -80(%rbp), %rdi ## 8-byte Reload
movq %r15, %rsi
movq %r12, %rdx
movq -104(%rbp), %rcx ## 8-byte Reload
callq _ecp_add_mixed
movl %eax, %edi
callq _MBEDTLS_MPI_CHK
leal 1(%rbx), %r14d
addq $-4, %r12
movzbl %bl, %eax
movq -56(%rbp), %rcx ## 8-byte Reload
movq %r15, (%rcx,%rax,8)
addq $-4, %r15
movl %r14d, %ebx
decq %r13
jne LBB0_9
jmp LBB0_10
LBB0_11:
movq %r14, %rdi
xorl %r14d, %r14d
movq %rbx, %rsi
xorl %edx, %edx
callq _ecp_normalize_jac_many
movl %eax, %edi
callq _MBEDTLS_MPI_CHK
LBB0_12:
movzbl %r14b, %edx
movq -80(%rbp), %rdi ## 8-byte Reload
movq -56(%rbp), %rsi ## 8-byte Reload
callq _ecp_normalize_jac_many
movl %eax, %edi
callq _MBEDTLS_MPI_CHK
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_14
## %bb.13:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_14:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _COMB_MAX_PRE,4,2 ## @COMB_MAX_PRE
.no_dead_strip _ecp_precompute_comb
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ecp_precompute_comb
_ecp_precompute_comb: ; @ecp_precompute_comb
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
sub sp, sp, #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
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x22, x4
mov x23, x3
mov x21, x1
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x9, _COMB_MAX_PRE@GOTPAGE
Lloh4:
ldr x9, [x9, _COMB_MAX_PRE@GOTPAGEOFF]
stur x8, [x29, #-88]
Lloh5:
ldr w8, [x9]
sub w8, w8, #1
ubfiz x9, x8, #3, #32
add x8, x9, #15
and x8, x8, #0xffffffff0
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x20, x9, x8
mov sp, x20
mov x0, x1
mov x1, x2
bl _mbedtls_ecp_copy
bl _MBEDTLS_MPI_CHK
subs w8, w23, #1
b.eq LBB0_11
; %bb.1:
mov w26, #0 ; =0x0
mov w9, #1 ; =0x1
lsl w24, w9, w8
mov w25, #1 ; =0x1
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add w8, w26, #1
and x9, x26, #0xff
str x23, [x20, x9, lsl #3]
ubfiz w25, w25, #1, #7
mov x26, x8
cmp w25, w24
b.hs LBB0_5
LBB0_3: ; =>This Inner Loop Header: Depth=1
sub x23, x21, w25, uxtw #2
lsr w8, w25, #1
add x1, x21, w8, uxtw #2
mov x0, x23
bl _mbedtls_ecp_copy
bl _MBEDTLS_MPI_CHK
cbz x22, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x0, x19
mov x1, x23
mov x2, x23
bl _ecp_double_jac
bl _MBEDTLS_MPI_CHK
b LBB0_2
LBB0_5:
and w2, w8, #0xff
mov x0, x19
mov x1, x20
bl _ecp_normalize_jac_many
bl _MBEDTLS_MPI_CHK
mov w26, #0 ; =0x0
sub x8, x21, #4
stur x8, [x29, #-96] ; 8-byte Folded Spill
mov w9, #1 ; =0x1
b LBB0_8
LBB0_6: ; in Loop: Header=BB0_8 Depth=1
mov x8, x26
LBB0_7: ; in Loop: Header=BB0_8 Depth=1
lsl w9, w24, #1
and w10, w9, #0xfe
mov x26, x8
mov x24, x25
cmp w25, w10
b.ls LBB0_12
LBB0_8: ; =>This Loop Header: Depth=1
; Child Loop BB0_10 Depth 2
mov x25, x24
and x24, x9, #0xff
tst w9, #0xff
b.eq LBB0_6
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
lsl x28, x24, #2
ldur x8, [x29, #-96] ; 8-byte Folded Reload
add x22, x8, x28
add x23, x8, x24, lsl #3
mov x27, x24
LBB0_10: ; Parent Loop BB0_8 Depth=1
; => This Inner Loop Header: Depth=2
sub x27, x27, #1
add x3, x21, x28
mov x0, x19
mov x1, x23
mov x2, x22
bl _ecp_add_mixed
bl _MBEDTLS_MPI_CHK
add w8, w26, #1
and x9, x26, #0xff
str x23, [x20, x9, lsl #3]
sub x22, x22, #4
sub x23, x23, #4
mov x26, x8
cbnz x27, LBB0_10
b LBB0_7
LBB0_11:
mov x0, x19
mov x1, x20
mov w2, #0 ; =0x0
bl _ecp_normalize_jac_many
bl _MBEDTLS_MPI_CHK
mov w8, #0 ; =0x0
LBB0_12:
and w2, w8, #0xff
mov x0, x19
mov x1, x20
bl _ecp_normalize_jac_many
bl _MBEDTLS_MPI_CHK
ldur x8, [x29, #-88]
Lloh8:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh9:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_14
; %bb.13:
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_14:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _COMB_MAX_PRE,4,2 ; @COMB_MAX_PRE
.no_dead_strip _ecp_precompute_comb
.subsections_via_symbols
| assembly_file_82894.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function new_try_statement
_new_try_statement: ## @new_try_statement
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %rbx
movq _STAT_TRY@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $32, %edx
callq _new_statement
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rbx, 24(%rax)
movq %r15, 16(%rax)
movq %r14, 8(%rax)
jmp LBB0_3
LBB0_1:
xorl %eax, %eax
LBB0_3:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _STAT_TRY,4,2 ## @STAT_TRY
.no_dead_strip _new_try_statement
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function new_try_statement
_new_try_statement: ; @new_try_statement
.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
Lloh0:
adrp x8, _STAT_TRY@GOTPAGE
Lloh1:
ldr x8, [x8, _STAT_TRY@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov w2, #32
bl _new_statement
cbz x0, LBB0_2
; %bb.1:
stp x20, x21, [x0, #16]
str x19, [x0, #8]
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 AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _STAT_TRY,4,2 ; @STAT_TRY
.no_dead_strip _new_try_statement
.subsections_via_symbols
| AnghaBench/reactos/dll/win32/jscript/extr_parser.tab.c_new_try_statement.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _acpi_os_delete_cache ## -- Begin function acpi_os_delete_cache
.p2align 4, 0x90
_acpi_os_delete_cache: ## @acpi_os_delete_cache
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _kmem_cache_destroy
movq _AE_OK@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AE_OK,4,2 ## @AE_OK
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _acpi_os_delete_cache ; -- Begin function acpi_os_delete_cache
.p2align 2
_acpi_os_delete_cache: ; @acpi_os_delete_cache
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _kmem_cache_destroy
Lloh0:
adrp x8, _AE_OK@GOTPAGE
Lloh1:
ldr x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _AE_OK,4,2 ; @AE_OK
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/acpi/extr_osl.c_acpi_os_delete_cache.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function match_string
_match_string: ## @match_string
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movzbl (%rdi), %eax
testb %al, %al
je LBB0_7
## %bb.1:
movq %rsi, %r15
movq %rdi, %r14
xorl %ebx, %ebx
jmp LBB0_3
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_3 Depth=1
incq %rbx
movzbl -1(%r14), %eax
decq %r14
testb %al, %al
je LBB0_8
LBB0_3: ## =>This Inner Loop Header: Depth=1
cmpb (%r15,%rbx), %al
je LBB0_2
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movsbl %al, %edi
callq _toupper
movq %rax, %r12
movsbl (%r15,%rbx), %edi
callq _toupper
cmpq %rax, %r12
je LBB0_2
## %bb.5:
movsbl (%r14), %edi
callq _isalnum
testl %eax, %eax
je LBB0_8
LBB0_7:
xorl %ebx, %ebx
LBB0_8:
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _match_string
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function match_string
_match_string: ; @match_string
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
ldrb w8, [x0]
cbz w8, LBB0_6
; %bb.1:
mov x21, x1
mov x20, x0
mov x19, #0 ; =0x0
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
ldrb w8, [x20, #-1]!
add x19, x19, #1
cbz w8, LBB0_7
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x21, x19]
cmp w9, w8, uxtb
b.eq LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
sxtb w0, w8
bl _toupper
mov x22, x0
ldrsb w0, [x21, x19]
bl _toupper
cmp x22, x0
b.eq LBB0_2
; %bb.5:
ldrsb w0, [x20]
bl _isalnum
cbz w0, LBB0_7
LBB0_6:
mov x19, #0 ; =0x0
LBB0_7:
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
.cfi_endproc
; -- End function
.no_dead_strip _match_string
.subsections_via_symbols
| assembly_file_174307.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _utl_strucmp ## -- Begin function utl_strucmp
.p2align 4, 0x90
_utl_strucmp: ## @utl_strucmp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movzbl (%rdi), %eax
testb %al, %al
je LBB0_2
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movzbl (%rsi), %ecx
testb %cl, %cl
je LBB0_4
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
decq %rsi
leal -97(%rcx), %edx
leal -32(%rcx), %r8d
cmpb $26, %dl
movzbl %cl, %ecx
movzbl %r8b, %edx
cmovael %ecx, %edx
incq %rdi
cmpb %dl, %al
je LBB0_1
## %bb.6:
movl $-1, %eax
popq %rbp
retq
LBB0_2:
xorl %eax, %eax
popq %rbp
retq
LBB0_4:
movl $1, %eax
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 _utl_strucmp ; -- Begin function utl_strucmp
.p2align 2
_utl_strucmp: ; @utl_strucmp
.cfi_startproc
; %bb.0:
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x0]
cbz w8, LBB0_5
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
ldrb w9, [x1]
cbz w9, LBB0_6
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
sub x1, x1, #1
sub w10, w9, #97
sub w11, w9, #32
cmp w10, #26
csel w9, w11, w9, lo
add x0, x0, #1
cmp w8, w9, uxtb
b.eq LBB0_1
; %bb.4:
mov w0, #-1 ; =0xffffffff
ret
LBB0_5:
mov w0, #0 ; =0x0
ret
LBB0_6:
mov w0, #1 ; =0x1
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| assembly_file_95286.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ngtype_unload
_ngtype_unload: ## @ngtype_unload
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $-1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _ngtype_unload
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ngtype_unload
_ngtype_unload: ; @ngtype_unload
.cfi_startproc
; %bb.0:
mov w0, #-1 ; =0xffffffff
ret
.cfi_endproc
; -- End function
.no_dead_strip _ngtype_unload
.subsections_via_symbols
| assembly_file_93399.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function set_open_errno
_set_open_errno: ## @set_open_errno
.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 %edx, %r14d
movq %rsi, %rbx
testq %rdi, %rdi
je LBB0_2
## %bb.1:
callq _dtrace_close
LBB0_2:
testq %rbx, %rbx
je LBB0_4
## %bb.3:
movl %r14d, (%rbx)
LBB0_4:
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _set_open_errno
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function set_open_errno
_set_open_errno: ; @set_open_errno
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x2
mov x20, x1
cbz x0, LBB0_2
; %bb.1:
bl _dtrace_close
LBB0_2:
cbz x20, LBB0_4
; %bb.3:
str w19, [x20]
LBB0_4:
mov x0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _set_open_errno
.subsections_via_symbols
| AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_open.c_set_open_errno.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function set_thread_name
_set_thread_name: ## @set_thread_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 %r14
pushq %rbx
subq $64, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -48(%rbp)
movaps %xmm0, -64(%rbp)
movaps %xmm0, -80(%rbp)
movw $0, -32(%rbp)
xorl %eax, %eax
callq _pthread_self
movl %eax, %edi
callq _pthread_mach_thread_np
movl %eax, %edi
callq _get_pri
leaq L_.str(%rip), %rdx
leaq -80(%rbp), %rbx
movq %rbx, %rdi
movl $50, %esi
movq %r14, %rcx
movl %eax, %r8d
callq _snprintf
movq %rbx, %rdi
callq _pthread_setname_np
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -24(%rbp), %rax
jne LBB0_2
## %bb.1:
addq $64, %rsp
popq %rbx
popq %r14
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s at pri %2d"
.no_dead_strip _set_thread_name
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function set_thread_name
_set_thread_name: ; @set_thread_name
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
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
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-24]
strh wzr, [sp, #48]
movi.2d v0, #0000000000000000
stp q0, q0, [sp, #16]
str q0, [sp]
bl _pthread_self
bl _pthread_mach_thread_np
bl _get_pri
mov x4, x0
Lloh3:
adrp x2, l_.str@PAGE
Lloh4:
add x2, x2, l_.str@PAGEOFF
mov x0, sp
mov w1, #50
mov x3, x19
bl _snprintf
mov x0, sp
bl _pthread_setname_np
ldur x8, [x29, #-24]
Lloh5:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh6:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_2
; %bb.1:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s at pri %2d"
.no_dead_strip _set_thread_name
.subsections_via_symbols
| AnghaBench/darwin-xnu/tests/extr_turnstile_multihop.c_set_thread_name.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function process_arg
_process_arg: ## @process_arg
.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, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq -32(%rbp), %rdi
callq _read_token
movq -32(%rbp), %rcx
movq %rcx, (%rbx)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
movl %eax, %ecx
callq _process_arg_token
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _process_arg
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function process_arg
_process_arg: ; @process_arg
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x1
mov x21, x0
add x0, sp, #8
bl _read_token
mov x3, x0
ldr x8, [sp, #8]
str x8, [x19]
mov x0, x21
mov x1, x20
mov x2, x19
bl _process_arg_token
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
.cfi_endproc
; -- End function
.no_dead_strip _process_arg
.subsections_via_symbols
| AnghaBench/linux/tools/lib/traceevent/extr_event-parse.c_process_arg.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function snd_es1688_capture_prepare
_snd_es1688_capture_prepare: ## @snd_es1688_capture_prepare
.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
callq _snd_pcm_substream_chip
movq %rax, %r12
movq (%rbx), %r13
movq %rbx, %rdi
callq _snd_pcm_lib_buffer_bytes
movl %eax, %r14d
movl %eax, -48(%rbp) ## 4-byte Spill
movq %rbx, %rdi
callq _snd_pcm_lib_period_bytes
movl %eax, -44(%rbp) ## 4-byte Spill
movl %r14d, (%r12)
leaq 4(%r12), %r14
movq %r14, %rdi
callq _spin_lock_irqsave
movq %r12, %rdi
callq _snd_es1688_reset
movq %r12, %rdi
movq %rbx, %rsi
callq _snd_es1688_set_rate
movq _ES1688_DSP_CMD_SPKOFF@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r12, %rdi
callq _snd_es1688_dsp_command
movq %r12, %rdi
movl $184, %esi
movl $14, %edx
callq _snd_es1688_write
movq %r12, %rdi
movl $168, %esi
callq _snd_es1688_read
andl $252, %eax
movl $3, %ecx
subl (%r13), %ecx
orl %eax, %ecx
movzbl %cl, %edx
movq %r12, %rdi
movl $168, %esi
callq _snd_es1688_write
movq %r12, %rdi
movl $185, %esi
movl $2, %edx
callq _snd_es1688_write
movl (%r13), %r15d
movl 8(%r13), %edi
callq _snd_pcm_format_width
xorl %edx, %edx
cmpl $8, %eax
movl $208, %eax
movl $244, %ecx
cmovel %eax, %ecx
movl $152, %eax
movl $188, %ebx
cmovel %eax, %ebx
setne %dl
cmpl $1, %r15d
cmovel %ecx, %ebx
shll $5, %edx
orl $81, %edx
movq %r12, %rdi
movl $183, %esi
callq _snd_es1688_write
movq %r12, %rdi
movl $183, %esi
movl %ebx, %edx
callq _snd_es1688_write
movq %r12, %rdi
movl $177, %esi
callq _snd_es1688_read
andb $15, %al
orb $80, %al
movzbl %al, %edx
movq %r12, %rdi
movl $177, %esi
callq _snd_es1688_write
movq %r12, %rdi
movl $178, %esi
callq _snd_es1688_read
andb $15, %al
orb $80, %al
movzbl %al, %edx
movq %r12, %rdi
movl $178, %esi
callq _snd_es1688_write
movq %r14, %rdi
callq _spin_unlock_irqrestore
movl -44(%rbp), %ebx ## 4-byte Reload
negl %ebx
movl 8(%r12), %edi
movl 4(%r13), %esi
movq _DMA_MODE_READ@GOTPCREL(%rip), %rax
movq _DMA_AUTOINIT@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
movl -48(%rbp), %edx ## 4-byte Reload
callq _snd_dma_program
movq %r14, %rdi
callq _spin_lock_irqsave
movzbl %bl, %edx
movq %r12, %rdi
movl $164, %esi
callq _snd_es1688_write
movzbl %bh, %edx
movq %r12, %rdi
movl $165, %esi
callq _snd_es1688_write
movq %r14, %rdi
callq _spin_unlock_irqrestore
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ES1688_DSP_CMD_SPKOFF,4,2 ## @ES1688_DSP_CMD_SPKOFF
.comm _DMA_MODE_READ,4,2 ## @DMA_MODE_READ
.comm _DMA_AUTOINIT,4,2 ## @DMA_AUTOINIT
.no_dead_strip _snd_es1688_capture_prepare
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function snd_es1688_capture_prepare
_snd_es1688_capture_prepare: ; @snd_es1688_capture_prepare
.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 x23, x0
bl _snd_pcm_substream_chip
mov x19, x0
ldr x24, [x23]
mov x0, x23
bl _snd_pcm_lib_buffer_bytes
mov x21, x0
mov x0, x23
bl _snd_pcm_lib_period_bytes
mov x22, x0
str w21, [x19]
add x20, x19, #4
mov x0, x20
bl _spin_lock_irqsave
mov x0, x19
bl _snd_es1688_reset
mov x0, x19
mov x1, x23
bl _snd_es1688_set_rate
Lloh0:
adrp x8, _ES1688_DSP_CMD_SPKOFF@GOTPAGE
Lloh1:
ldr x8, [x8, _ES1688_DSP_CMD_SPKOFF@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x19
bl _snd_es1688_dsp_command
mov x0, x19
mov w1, #184
mov w2, #14
bl _snd_es1688_write
mov x0, x19
mov w1, #168
bl _snd_es1688_read
and w8, w0, #0xfc
ldr w9, [x24]
mov w10, #3
sub w9, w10, w9
orr w8, w9, w8
and w2, w8, #0xff
mov x0, x19
mov w1, #168
bl _snd_es1688_write
mov x0, x19
mov w1, #185
mov w2, #2
bl _snd_es1688_write
ldr w23, [x24]
ldr w0, [x24, #8]
bl _snd_pcm_format_width
mov w8, #-12
mov w9, #-48
cmp w0, #8
csel w8, w9, w8, eq
mov w9, #-68
mov w10, #-104
csel w9, w10, w9, eq
mov w10, #113
mov w11, #81
csel w2, w11, w10, eq
cmp w23, #1
csel w23, w8, w9, eq
mov x0, x19
mov w1, #183
bl _snd_es1688_write
and w2, w23, #0xfc
mov x0, x19
mov w1, #183
bl _snd_es1688_write
mov x0, x19
mov w1, #177
bl _snd_es1688_read
mov w23, #80
mov w2, #80
bfxil w2, w0, #0, #4
mov x0, x19
mov w1, #177
bl _snd_es1688_write
mov x0, x19
mov w1, #178
bl _snd_es1688_read
bfxil w23, w0, #0, #4
mov x0, x19
mov w1, #178
mov x2, x23
bl _snd_es1688_write
mov x0, x20
bl _spin_unlock_irqrestore
neg w22, w22
ldr w0, [x19, #8]
Lloh3:
adrp x8, _DMA_MODE_READ@GOTPAGE
Lloh4:
ldr x8, [x8, _DMA_MODE_READ@GOTPAGEOFF]
ldr w1, [x24, #4]
Lloh5:
ldr w8, [x8]
Lloh6:
adrp x9, _DMA_AUTOINIT@GOTPAGE
Lloh7:
ldr x9, [x9, _DMA_AUTOINIT@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
orr w3, w9, w8
mov x2, x21
bl _snd_dma_program
mov x0, x20
bl _spin_lock_irqsave
and w2, w22, #0xff
mov x0, x19
mov w1, #164
bl _snd_es1688_write
ubfx w2, w22, #8, #8
mov x0, x19
mov w1, #165
bl _snd_es1688_write
mov x0, x20
bl _spin_unlock_irqrestore
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ES1688_DSP_CMD_SPKOFF,4,2 ; @ES1688_DSP_CMD_SPKOFF
.comm _DMA_MODE_READ,4,2 ; @DMA_MODE_READ
.comm _DMA_AUTOINIT,4,2 ; @DMA_AUTOINIT
.no_dead_strip _snd_es1688_capture_prepare
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/sound/isa/es1688/extr_es1688_lib.c_snd_es1688_capture_prepare.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ngx_http_upstream_init_hash
_ngx_http_upstream_init_hash: ## @ngx_http_upstream_init_hash
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rsi, %rbx
callq _ngx_http_upstream_init_round_robin
movq _NGX_OK@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_1
## %bb.2:
movq _ngx_http_upstream_init_hash_peer@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%rbx)
jmp LBB0_3
LBB0_1:
movq _NGX_ERROR@GOTPCREL(%rip), %rcx
LBB0_3:
movq (%rcx), %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NGX_OK,8,3 ## @NGX_OK
.comm _NGX_ERROR,8,3 ## @NGX_ERROR
.comm _ngx_http_upstream_init_hash_peer,4,2 ## @ngx_http_upstream_init_hash_peer
.no_dead_strip _ngx_http_upstream_init_hash
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ngx_http_upstream_init_hash
_ngx_http_upstream_init_hash: ; @ngx_http_upstream_init_hash
.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 _ngx_http_upstream_init_round_robin
Lloh0:
adrp x8, _NGX_OK@GOTPAGE
Lloh1:
ldr x8, [x8, _NGX_OK@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_2
; %bb.1:
Lloh3:
adrp x8, _ngx_http_upstream_init_hash_peer@GOTPAGE
Lloh4:
ldr x8, [x8, _ngx_http_upstream_init_hash_peer@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
str w8, [x19]
Lloh6:
adrp x8, _NGX_OK@GOTPAGE
Lloh7:
ldr x8, [x8, _NGX_OK@GOTPAGEOFF]
b LBB0_3
LBB0_2:
Lloh8:
adrp x8, _NGX_ERROR@GOTPAGE
Lloh9:
ldr x8, [x8, _NGX_ERROR@GOTPAGEOFF]
LBB0_3:
ldr x0, [x8]
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 Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _NGX_OK,8,3 ; @NGX_OK
.comm _NGX_ERROR,8,3 ; @NGX_ERROR
.comm _ngx_http_upstream_init_hash_peer,4,2 ; @ngx_http_upstream_init_hash_peer
.no_dead_strip _ngx_http_upstream_init_hash
.subsections_via_symbols
| AnghaBench/tengine/src/http/modules/extr_ngx_http_upstream_hash_module.c_ngx_http_upstream_init_hash.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mbfl_filt_conv_byte4be_wchar ## -- Begin function mbfl_filt_conv_byte4be_wchar
.p2align 4, 0x90
_mbfl_filt_conv_byte4be_wchar: ## @mbfl_filt_conv_byte4be_wchar
.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, %rax
movl %edi, %ebx
movl (%rsi), %ecx
cmpl $2, %ecx
je LBB0_5
## %bb.1:
cmpl $1, %ecx
je LBB0_4
## %bb.2:
testl %ecx, %ecx
jne LBB0_6
## %bb.3:
movl $1, (%rax)
movl %ebx, %ecx
shll $24, %ecx
movl %ecx, 4(%rax)
jmp LBB0_7
LBB0_5:
movl $3, (%rax)
movl %ebx, %ecx
shll $8, %ecx
movzwl %cx, %ecx
orl %ecx, 4(%rax)
jmp LBB0_7
LBB0_4:
movl $2, (%rax)
movzbl %bl, %ecx
shll $16, %ecx
orl %ecx, 4(%rax)
jmp LBB0_7
LBB0_6:
movl $0, (%rax)
movzbl %bl, %edi
orl 4(%rax), %edi
movl 8(%rax), %esi
callq *16(%rax)
movl %eax, %edi
callq _CK
LBB0_7:
movl %ebx, %eax
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 _mbfl_filt_conv_byte4be_wchar ; -- Begin function mbfl_filt_conv_byte4be_wchar
.p2align 2
_mbfl_filt_conv_byte4be_wchar: ; @mbfl_filt_conv_byte4be_wchar
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w8, [x1]
cmp w8, #2
b.eq LBB0_4
; %bb.1:
cmp w8, #1
b.eq LBB0_5
; %bb.2:
cbnz w8, LBB0_8
; %bb.3:
mov w8, #1
lsl w9, w19, #24
b LBB0_7
LBB0_4:
mov w8, #3
ubfiz w9, w19, #8, #8
b LBB0_6
LBB0_5:
mov w8, #2
ubfiz w9, w19, #16, #8
LBB0_6:
ldr w10, [x1, #4]
orr w9, w10, w9
LBB0_7:
stp w8, w9, [x1]
b LBB0_9
LBB0_8:
str wzr, [x1]
and w9, w19, #0xff
ldp w10, w8, [x1, #4]
orr w0, w10, w9
ldr x9, [x1, #16]
mov x1, x8
blr x9
bl _CK
LBB0_9:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/php-src/ext/mbstring/libmbfl/filters/extr_mbfilter_byte4.c_mbfl_filt_conv_byte4be_wchar.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nft_get_set_elem
_nft_get_set_elem: ## @nft_get_set_elem
.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 %rdx, %r13
movq %rsi, %r15
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _NFTA_SET_ELEM_MAX@GOTPCREL(%rip), %rax
movl (%rax), %ebx
leal 1(%rbx), %eax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r12
movl $0, -52(%rbp)
movq _nft_set_elem_policy@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r12, %rdi
movl %ebx, %esi
movq %r13, %rdx
xorl %r8d, %r8d
callq _nla_parse_nested_deprecated
testl %eax, %eax
js LBB0_11
## %bb.1:
movq _NFTA_SET_ELEM_KEY@GOTPCREL(%rip), %r13
movq (%r13), %rax
cmpq $0, (%r12,%rax,8)
je LBB0_9
## %bb.2:
movq _NFTA_SET_ELEM_FLAGS@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%r12,%rax,8), %rsi
leaq -52(%rbp), %rdx
movq %r15, %rdi
callq _nft_setelem_parse_flags
testl %eax, %eax
js LBB0_11
## %bb.3:
leaq -64(%rbp), %rsi
movq (%r13), %rax
movq (%r12,%rax,8), %r8
leaq -88(%rbp), %rcx
movq %r14, %rdi
movl $4, %edx
callq _nft_data_init
testl %eax, %eax
js LBB0_11
## %bb.4:
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
movq -88(%rbp), %rax
movq _NFT_DATA_VALUE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_12
## %bb.5:
movq -80(%rbp), %rax
cmpq (%r15), %rax
jne LBB0_12
## %bb.6:
movq 8(%r15), %rax
movl 4(%r14), %edi
movl -52(%rbp), %ecx
leaq -72(%rbp), %rdx
movq %r15, %rsi
callq *(%rax)
movq %rax, %rbx
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_14
## %bb.7:
movq %rbx, %rdi
callq _PTR_ERR
LBB0_11:
movl %eax, %ebx
jmp LBB0_12
LBB0_9:
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
LBB0_12:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_21
## %bb.13:
movl %ebx, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_14:
movq %rbx, -72(%rbp)
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
xorl %r13d, %r13d
subl (%rax), %r13d
movq _NLMSG_GOODSIZE@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _GFP_ATOMIC@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _nlmsg_new
testq %rax, %rax
je LBB0_20
## %bb.15:
movq %rax, %r12
movl (%r14), %ecx
movl 8(%r14), %edx
movq _NFT_MSG_NEWSETELEM@GOTPCREL(%rip), %rax
movl (%rax), %r8d
xorl %ebx, %ebx
movq %r12, %rdi
movq %r14, %rsi
xorl %r9d, %r9d
leaq -72(%rbp), %rax
pushq %rax
pushq %r15
callq _nf_tables_fill_setelem_info
addq $16, %rsp
testl %eax, %eax
js LBB0_18
## %bb.16:
movl (%r14), %edx
movl 4(%r14), %esi
movq _MSG_DONTWAIT@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r12, %rdi
callq _nfnetlink_unicast
testl %eax, %eax
jns LBB0_12
## %bb.17:
movl %eax, %r13d
jmp LBB0_19
LBB0_18:
movl %eax, %r13d
movq %r12, %rdi
callq _kfree_skb
LBB0_19:
xorl %ebx, %ebx
LBB0_20:
movq _EAGAIN@GOTPCREL(%rip), %rax
movq _ENOBUFS@GOTPCREL(%rip), %rcx
subl (%rcx), %ebx
movl (%rax), %eax
addl %r13d, %eax
cmovnel %r13d, %ebx
jmp LBB0_12
LBB0_21:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _NFTA_SET_ELEM_MAX,4,2 ## @NFTA_SET_ELEM_MAX
.comm _nft_set_elem_policy,4,2 ## @nft_set_elem_policy
.comm _NFTA_SET_ELEM_KEY,8,3 ## @NFTA_SET_ELEM_KEY
.comm _EINVAL,4,2 ## @EINVAL
.comm _NFTA_SET_ELEM_FLAGS,8,3 ## @NFTA_SET_ELEM_FLAGS
.comm _NFT_DATA_VALUE,8,3 ## @NFT_DATA_VALUE
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _NLMSG_GOODSIZE,4,2 ## @NLMSG_GOODSIZE
.comm _GFP_ATOMIC,4,2 ## @GFP_ATOMIC
.comm _NFT_MSG_NEWSETELEM,4,2 ## @NFT_MSG_NEWSETELEM
.comm _MSG_DONTWAIT,4,2 ## @MSG_DONTWAIT
.comm _EAGAIN,4,2 ## @EAGAIN
.comm _ENOBUFS,4,2 ## @ENOBUFS
.no_dead_strip _nft_get_set_elem
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nft_get_set_elem
_nft_get_set_elem: ; @nft_get_set_elem
.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
sub sp, sp, #48
mov x20, x1
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-40]
Lloh3:
adrp x8, _NFTA_SET_ELEM_MAX@GOTPAGE
Lloh4:
ldr x8, [x8, _NFTA_SET_ELEM_MAX@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
add w8, w1, #1
lsl x8, x8, #3
mov x9, x8
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0xffffffff0
sub x21, x9, x8
mov sp, x21
stur wzr, [x29, #-76]
Lloh8:
adrp x8, _nft_set_elem_policy@GOTPAGE
Lloh9:
ldr x8, [x8, _nft_set_elem_policy@GOTPAGEOFF]
Lloh10:
ldr w3, [x8]
mov x0, x21
mov x4, #0
bl _nla_parse_nested_deprecated
tbnz w0, #31, LBB0_9
; %bb.1:
Lloh11:
adrp x22, _NFTA_SET_ELEM_KEY@GOTPAGE
Lloh12:
ldr x22, [x22, _NFTA_SET_ELEM_KEY@GOTPAGEOFF]
ldr x8, [x22]
ldr x8, [x21, x8, lsl #3]
cbz x8, LBB0_8
; %bb.2:
Lloh13:
adrp x8, _NFTA_SET_ELEM_FLAGS@GOTPAGE
Lloh14:
ldr x8, [x8, _NFTA_SET_ELEM_FLAGS@GOTPAGEOFF]
Lloh15:
ldr x8, [x8]
ldr x1, [x21, x8, lsl #3]
sub x2, x29, #76
mov x0, x20
bl _nft_setelem_parse_flags
tbnz w0, #31, LBB0_9
; %bb.3:
sub x8, x29, #72
add x1, x8, #8
ldr x8, [x22]
ldr x4, [x21, x8, lsl #3]
sub x3, x29, #56
mov x0, x19
mov w2, #4
bl _nft_data_init
tbnz w0, #31, LBB0_9
; %bb.4:
Lloh16:
adrp x8, _EINVAL@GOTPAGE
Lloh17:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh18:
ldr w8, [x8]
neg w0, w8
ldur x8, [x29, #-56]
Lloh19:
adrp x9, _NFT_DATA_VALUE@GOTPAGE
Lloh20:
ldr x9, [x9, _NFT_DATA_VALUE@GOTPAGEOFF]
Lloh21:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_9
; %bb.5:
ldur x8, [x29, #-48]
ldr x9, [x20]
cmp x8, x9
b.ne LBB0_9
; %bb.6:
ldr x8, [x20, #8]
ldr x8, [x8]
ldr w0, [x19, #4]
ldur w3, [x29, #-76]
sub x2, x29, #72
mov x1, x20
blr x8
mov x21, x0
bl _IS_ERR
cbz x0, LBB0_11
; %bb.7:
mov x0, x21
bl _PTR_ERR
b LBB0_9
LBB0_8:
Lloh22:
adrp x8, _EINVAL@GOTPAGE
Lloh23:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh24:
ldr w8, [x8]
neg w0, w8
LBB0_9:
ldur x8, [x29, #-40]
Lloh25:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh26:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_19
; %bb.10:
sub sp, x29, #32
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_11:
stur x21, [x29, #-72]
Lloh28:
adrp x8, _ENOMEM@GOTPAGE
Lloh29:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh30:
ldr w22, [x8]
Lloh31:
adrp x8, _NLMSG_GOODSIZE@GOTPAGE
Lloh32:
ldr x8, [x8, _NLMSG_GOODSIZE@GOTPAGEOFF]
Lloh33:
ldr w0, [x8]
Lloh34:
adrp x8, _GFP_ATOMIC@GOTPAGE
Lloh35:
ldr x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh36:
ldr w1, [x8]
bl _nlmsg_new
cbz x0, LBB0_15
; %bb.12:
mov x21, x0
ldr w2, [x19, #8]
ldr w3, [x19]
Lloh37:
adrp x8, _NFT_MSG_NEWSETELEM@GOTPAGE
Lloh38:
ldr x8, [x8, _NFT_MSG_NEWSETELEM@GOTPAGEOFF]
Lloh39:
ldr w4, [x8]
sub x7, x29, #72
mov x1, x19
mov w5, #0
mov x6, x20
bl _nf_tables_fill_setelem_info
tbnz w0, #31, LBB0_16
; %bb.13:
ldp w2, w1, [x19]
Lloh40:
adrp x8, _MSG_DONTWAIT@GOTPAGE
Lloh41:
ldr x8, [x8, _MSG_DONTWAIT@GOTPAGEOFF]
Lloh42:
ldr w3, [x8]
mov x0, x21
bl _nfnetlink_unicast
tbnz w0, #31, LBB0_17
; %bb.14:
mov w0, #0
b LBB0_9
LBB0_15:
neg w20, w22
b LBB0_18
LBB0_16:
mov x20, x0
mov x0, x21
bl _kfree_skb
b LBB0_18
LBB0_17:
mov x20, x0
LBB0_18:
Lloh43:
adrp x8, _EAGAIN@GOTPAGE
Lloh44:
ldr x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh45:
ldr w8, [x8]
Lloh46:
adrp x9, _ENOBUFS@GOTPAGE
Lloh47:
ldr x9, [x9, _ENOBUFS@GOTPAGEOFF]
Lloh48:
ldr w9, [x9]
cmn w20, w8
csneg w0, w20, w9, ne
b LBB0_9
LBB0_19:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39
.loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.cfi_endproc
; -- End function
.comm _NFTA_SET_ELEM_MAX,4,2 ; @NFTA_SET_ELEM_MAX
.comm _nft_set_elem_policy,4,2 ; @nft_set_elem_policy
.comm _NFTA_SET_ELEM_KEY,8,3 ; @NFTA_SET_ELEM_KEY
.comm _EINVAL,4,2 ; @EINVAL
.comm _NFTA_SET_ELEM_FLAGS,8,3 ; @NFTA_SET_ELEM_FLAGS
.comm _NFT_DATA_VALUE,8,3 ; @NFT_DATA_VALUE
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _NLMSG_GOODSIZE,4,2 ; @NLMSG_GOODSIZE
.comm _GFP_ATOMIC,4,2 ; @GFP_ATOMIC
.comm _NFT_MSG_NEWSETELEM,4,2 ; @NFT_MSG_NEWSETELEM
.comm _MSG_DONTWAIT,4,2 ; @MSG_DONTWAIT
.comm _EAGAIN,4,2 ; @EAGAIN
.comm _ENOBUFS,4,2 ; @ENOBUFS
.no_dead_strip _nft_get_set_elem
.subsections_via_symbols
| AnghaBench/linux/net/netfilter/extr_nf_tables_api.c_nft_get_set_elem.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nouveau_pmops_suspend ## -- Begin function nouveau_pmops_suspend
.p2align 4, 0x90
_nouveau_pmops_suspend: ## @nouveau_pmops_suspend
.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
callq _to_pci_dev
movq %rax, %rbx
movq %rax, %rdi
callq _pci_get_drvdata
movq %rax, %rdi
movq (%rax), %rcx
movq _DRM_SWITCH_POWER_OFF@GOTPCREL(%rip), %rdx
xorl %eax, %eax
cmpq (%rdx), %rcx
je LBB0_3
## %bb.1:
callq _nouveau_do_suspend
testl %eax, %eax
jne LBB0_3
## %bb.2:
movq %rbx, %rdi
callq _pci_save_state
movq %rbx, %rdi
callq _pci_disable_device
movq _PCI_D3hot@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _pci_set_power_state
xorl %eax, %eax
LBB0_3:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DRM_SWITCH_POWER_OFF,8,3 ## @DRM_SWITCH_POWER_OFF
.comm _PCI_D3hot,4,2 ## @PCI_D3hot
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nouveau_pmops_suspend ; -- Begin function nouveau_pmops_suspend
.p2align 2
_nouveau_pmops_suspend: ; @nouveau_pmops_suspend
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
bl _to_pci_dev
mov x19, x0
bl _pci_get_drvdata
ldr x8, [x0]
Lloh0:
adrp x9, _DRM_SWITCH_POWER_OFF@GOTPAGE
Lloh1:
ldr x9, [x9, _DRM_SWITCH_POWER_OFF@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_3
; %bb.1:
bl _nouveau_do_suspend
cbnz w0, LBB0_4
; %bb.2:
mov x0, x19
bl _pci_save_state
mov x0, x19
bl _pci_disable_device
Lloh3:
adrp x8, _PCI_D3hot@GOTPAGE
Lloh4:
ldr x8, [x8, _PCI_D3hot@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x0, x19
bl _pci_set_power_state
LBB0_3:
mov w0, #0
LBB0_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _DRM_SWITCH_POWER_OFF,8,3 ; @DRM_SWITCH_POWER_OFF
.comm _PCI_D3hot,4,2 ; @PCI_D3hot
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/extr_nouveau_drm.c_nouveau_pmops_suspend.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function command_setyuvtresh
_command_setyuvtresh: ## @command_setyuvtresh
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _CPIA_COMMAND_SetYUVThresh@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl (%rdi), %ecx
movl 4(%rdi), %edx
xorl %r8d, %r8d
xorl %r9d, %r9d
popq %rbp
jmp _do_command ## TAILCALL
.cfi_endproc
## -- End function
.comm _CPIA_COMMAND_SetYUVThresh,4,2 ## @CPIA_COMMAND_SetYUVThresh
.no_dead_strip _command_setyuvtresh
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function command_setyuvtresh
_command_setyuvtresh: ; @command_setyuvtresh
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _CPIA_COMMAND_SetYUVThresh@GOTPAGE
Lloh1:
ldr x8, [x8, _CPIA_COMMAND_SetYUVThresh@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
ldp w3, w2, [x0]
mov w4, #0
mov w5, #0
b _do_command
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _CPIA_COMMAND_SetYUVThresh,4,2 ; @CPIA_COMMAND_SetYUVThresh
.no_dead_strip _command_setyuvtresh
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_cpia1.c_command_setyuvtresh.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function poll_one_napi
_poll_one_napi: ## @poll_one_napi
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r15d
movq %rsi, %rbx
movq %rdi, %r14
movq _NAPI_STATE_SCHED@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq 8(%rsi), %r12
movq %r12, %rsi
callq _test_bit
testl %eax, %eax
je LBB0_2
## %bb.1:
movq _NETPOLL_RX_DROP@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, (%r14)
movq _trapped@GOTPCREL(%rip), %rdi
callq _atomic_inc
movq _NAPI_STATE_NPSVC@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %r12, %rsi
callq _set_bit
movq %rbx, %rdi
movl %r15d, %esi
callq *(%rbx)
movl %eax, %r13d
movq %rbx, %rdi
callq _trace_napi_poll
movq _NAPI_STATE_NPSVC@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %r12, %rsi
callq _clear_bit
movq _trapped@GOTPCREL(%rip), %rdi
callq _atomic_dec
movq _NETPOLL_RX_DROP@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
andl %eax, (%r14)
subl %r13d, %r15d
LBB0_2:
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NAPI_STATE_SCHED,4,2 ## @NAPI_STATE_SCHED
.comm _NETPOLL_RX_DROP,4,2 ## @NETPOLL_RX_DROP
.comm _trapped,4,2 ## @trapped
.comm _NAPI_STATE_NPSVC,4,2 ## @NAPI_STATE_NPSVC
.no_dead_strip _poll_one_napi
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function poll_one_napi
_poll_one_napi: ; @poll_one_napi
.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, x2
mov x22, x1
mov x20, x0
Lloh0:
adrp x8, _NAPI_STATE_SCHED@GOTPAGE
Lloh1:
ldr x8, [x8, _NAPI_STATE_SCHED@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
add x21, x1, #8
mov x1, x21
bl _test_bit
cbz w0, LBB0_2
; %bb.1:
Lloh3:
adrp x25, _NETPOLL_RX_DROP@GOTPAGE
Lloh4:
ldr x25, [x25, _NETPOLL_RX_DROP@GOTPAGEOFF]
ldr w8, [x25]
ldr w9, [x20]
orr w8, w9, w8
str w8, [x20]
Lloh5:
adrp x23, _trapped@GOTPAGE
Lloh6:
ldr x23, [x23, _trapped@GOTPAGEOFF]
mov x0, x23
bl _atomic_inc
Lloh7:
adrp x26, _NAPI_STATE_NPSVC@GOTPAGE
Lloh8:
ldr x26, [x26, _NAPI_STATE_NPSVC@GOTPAGEOFF]
ldr w0, [x26]
mov x1, x21
bl _set_bit
ldr x8, [x22]
mov x0, x22
mov x1, x19
blr x8
mov x24, x0
mov x0, x22
bl _trace_napi_poll
ldr w0, [x26]
mov x1, x21
bl _clear_bit
mov x0, x23
bl _atomic_dec
ldr w8, [x25]
ldr w9, [x20]
bic w8, w9, w8
str w8, [x20]
sub w19, w19, w24
LBB0_2:
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
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _NAPI_STATE_SCHED,4,2 ; @NAPI_STATE_SCHED
.comm _NETPOLL_RX_DROP,4,2 ; @NETPOLL_RX_DROP
.comm _trapped,4,2 ; @trapped
.comm _NAPI_STATE_NPSVC,4,2 ; @NAPI_STATE_NPSVC
.no_dead_strip _poll_one_napi
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/net/core/extr_netpoll.c_poll_one_napi.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _gigaset_isdn_connD ## -- Begin function gigaset_isdn_connD
.p2align 4, 0x90
_gigaset_isdn_connD: ## @gigaset_isdn_connD
.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 _gigaset_isdn_connD ; -- Begin function gigaset_isdn_connD
.p2align 2
_gigaset_isdn_connD: ; @gigaset_isdn_connD
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/drivers/staging/isdn/gigaset/extr_dummyll.c_gigaset_isdn_connD.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
movq %rdi, %rax
incq 24(%rbp)
movq 32(%rbp), %rcx
movq %rcx, 16(%rdi)
movaps 16(%rbp), %xmm0
movups %xmm0, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.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:
ldp x9, x10, [x0, #8]
add x9, x9, #1
str x9, [x0, #8]
str x10, [x8, #16]
ldr q0, [x0]
str q0, [x8]
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #0
bl _exit
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/57514.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ovl_do_create
_ovl_do_create: ## @ovl_do_create
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movq %rsi, %r15
movl $1, %ecx
callq _vfs_create
movl %eax, %ebx
leaq L_.str(%rip), %rdi
movq %r15, %rsi
movl %r14d, %edx
movl %eax, %ecx
callq _pr_debug
movl %ebx, %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 "create(%pd2, 0%o) = %i\n"
.no_dead_strip _ovl_do_create
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ovl_do_create
_ovl_do_create: ; @ovl_do_create
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x1
mov w3, #1
bl _vfs_create
mov x21, x0
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov x1, x20
mov x2, x19
mov x3, x21
bl _pr_debug
mov x0, x21
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "create(%pd2, 0%o) = %i\n"
.no_dead_strip _ovl_do_create
.subsections_via_symbols
| AnghaBench/linux/fs/overlayfs/extr_overlayfs.h_ovl_do_create.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _qe_ic_get_low_irq ## -- Begin function qe_ic_get_low_irq
.p2align 4, 0x90
_qe_ic_get_low_irq: ## @qe_ic_get_low_irq
.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 %edi, %edi
testq %rbx, %rbx
sete %dil
callq _BUG_ON
movl 4(%rbx), %edi
movq _QEIC_CIVEC@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _qe_ic_read
cmpl $67108863, %eax ## imm = 0x3FFFFFF
ja LBB0_2
## %bb.1:
movq _NO_IRQ@GOTPCREL(%rip), %rax
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_2:
sarl $26, %eax
movl (%rbx), %edi
movl %eax, %esi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _irq_linear_revmap ## TAILCALL
.cfi_endproc
## -- End function
.comm _QEIC_CIVEC,4,2 ## @QEIC_CIVEC
.comm _NO_IRQ,4,2 ## @NO_IRQ
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _qe_ic_get_low_irq ; -- Begin function qe_ic_get_low_irq
.p2align 2
_qe_ic_get_low_irq: ; @qe_ic_get_low_irq
.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
cmp x0, #0
cset w0, eq
bl _BUG_ON
ldr w0, [x19, #4]
Lloh0:
adrp x8, _QEIC_CIVEC@GOTPAGE
Lloh1:
ldr x8, [x8, _QEIC_CIVEC@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _qe_ic_read
lsr w8, w0, #26
cbnz w8, LBB0_2
; %bb.1:
Lloh3:
adrp x8, _NO_IRQ@GOTPAGE
Lloh4:
ldr x8, [x8, _NO_IRQ@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_2:
asr w1, w0, #26
ldr w0, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _irq_linear_revmap
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _QEIC_CIVEC,4,2 ; @QEIC_CIVEC
.comm _NO_IRQ,4,2 ; @NO_IRQ
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/arch/powerpc/sysdev/qe_lib/extr_qe_ic.c_qe_ic_get_low_irq.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function newpattfunc
_newpattfunc: ## @newpattfunc
.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, %r13
movq %rdx, %r14
movl %esi, %r15d
movq %rdi, %r12
movq %rcx, %rdi
callq _instsize
movl %eax, %ebx
incl %ebx
movq %r12, %rdi
movl %ebx, %esi
callq _newpatt
movq _IFunc@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 12(%rax)
movl %ebx, 8(%rax)
movl %r15d, 20(%rax)
movl 32(%rax), %edi
movq %r14, %rsi
movq %r13, %rdx
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _memcpy ## TAILCALL
.cfi_endproc
## -- End function
.comm _IFunc,4,2 ## @IFunc
.no_dead_strip _newpattfunc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function newpattfunc
_newpattfunc: ; @newpattfunc
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x3
mov x20, x2
mov x21, x1
mov x22, x0
mov x0, x3
bl _instsize
add w23, w0, #1
mov x0, x22
mov x1, x23
bl _newpatt
Lloh0:
adrp x8, _IFunc@GOTPAGE
Lloh1:
ldr x8, [x8, _IFunc@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
stp w23, w8, [x0, #8]
str w21, [x0, #20]
ldr w0, [x0, #32]
mov x1, x20
mov x2, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _memcpy
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _IFunc,4,2 ; @IFunc
.no_dead_strip _newpattfunc
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_newpattfunc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function libsize
_libsize: ## @libsize
.cfi_startproc
## %bb.0:
xorl %eax, %eax
testq %rdi, %rdi
je LBB0_5
## %bb.1:
cmpq $0, (%rdi)
je LBB0_5
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addq $-8, %rdi
xorl %eax, %eax
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
incl %eax
cmpq $0, (%rdi)
leaq -8(%rdi), %rdi
jne LBB0_3
## %bb.4:
popq %rbp
LBB0_5:
retq
.cfi_endproc
## -- End function
.no_dead_strip _libsize
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function libsize
_libsize: ; @libsize
.cfi_startproc
; %bb.0:
cbz x0, LBB0_4
; %bb.1:
mov x8, x0
ldr x9, [x0]
cbz x9, LBB0_5
; %bb.2:
mov w0, #0 ; =0x0
sub x8, x8, #8
LBB0_3: ; =>This Inner Loop Header: Depth=1
add w0, w0, #1
ldr x9, [x8], #-8
cbnz x9, LBB0_3
LBB0_4:
ret
LBB0_5:
mov w0, #0 ; =0x0
ret
.cfi_endproc
; -- End function
.no_dead_strip _libsize
.subsections_via_symbols
| assembly_file_42346.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function linux_ioctl_vfat
_linux_ioctl_vfat: ## @linux_ioctl_vfat
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _ENOTTY@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENOTTY,4,2 ## @ENOTTY
.no_dead_strip _linux_ioctl_vfat
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function linux_ioctl_vfat
_linux_ioctl_vfat: ; @linux_ioctl_vfat
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _ENOTTY@GOTPAGE
Lloh1:
ldr x8, [x8, _ENOTTY@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ENOTTY,4,2 ; @ENOTTY
.no_dead_strip _linux_ioctl_vfat
.subsections_via_symbols
| AnghaBench/freebsd/sys/compat/linux/extr_linux_ioctl.c_linux_ioctl_vfat.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function create_lvs_device
_create_lvs_device: ## @create_lvs_device
.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
callq _usb_get_intfdata
cmpl $0, 4(%rax)
je LBB0_1
## %bb.3:
movq %rax, %r12
movq %r14, %rdi
callq _interface_to_usbdev
movq %rax, %rbx
movl 8(%rax), %edi
callq _bus_to_hcd
movq %rax, %r15
movl 8(%rbx), %esi
movl (%r12), %edx
movq %rbx, %rdi
callq _usb_alloc_dev
testq %rax, %rax
je LBB0_4
## %bb.5:
movq %rax, %rbx
movq _USB_SPEED_SUPER@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 4(%rbx)
movl $512, %edi ## imm = 0x200
callq _cpu_to_le16
movl %eax, (%rbx)
movq _USB_STATE_DEFAULT@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _usb_set_device_state
movq (%r15), %rax
movq (%rax), %rcx
testq %rcx, %rcx
je LBB0_9
## %bb.6:
movq %r15, %rdi
movq %rbx, %rsi
callq *%rcx
testq %rax, %rax
jns LBB0_9
## %bb.7:
leaq L_.str.2(%rip), %rsi
movq %r14, %rdi
callq _dev_err
movq %rbx, %rdi
callq _usb_put_dev
jmp LBB0_8
LBB0_1:
leaq L_.str(%rip), %rsi
jmp LBB0_2
LBB0_4:
leaq L_.str.1(%rip), %rsi
LBB0_2:
movq %r14, %rdi
callq _dev_err
LBB0_8:
xorl %ebx, %ebx
LBB0_9:
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "No LVS device is present\n"
L_.str.1: ## @.str.1
.asciz "Could not allocate lvs udev\n"
.comm _USB_SPEED_SUPER,4,2 ## @USB_SPEED_SUPER
.comm _USB_STATE_DEFAULT,4,2 ## @USB_STATE_DEFAULT
L_.str.2: ## @.str.2
.asciz "Failed to enable\n"
.no_dead_strip _create_lvs_device
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function create_lvs_device
_create_lvs_device: ; @create_lvs_device
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
bl _usb_get_intfdata
ldr w8, [x0, #4]
cbz w8, LBB0_5
; %bb.1:
mov x20, x0
mov x0, x19
bl _interface_to_usbdev
mov x22, x0
ldr w0, [x0, #8]
bl _bus_to_hcd
mov x21, x0
ldr w1, [x22, #8]
ldr w2, [x20]
mov x0, x22
bl _usb_alloc_dev
mov x20, x0
cbz x0, LBB0_7
; %bb.2:
Lloh0:
adrp x8, _USB_SPEED_SUPER@GOTPAGE
Lloh1:
ldr x8, [x8, _USB_SPEED_SUPER@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [x20, #4]
mov w0, #512
bl _cpu_to_le16
str w0, [x20]
Lloh3:
adrp x8, _USB_STATE_DEFAULT@GOTPAGE
Lloh4:
ldr x8, [x8, _USB_STATE_DEFAULT@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x0, x20
bl _usb_set_device_state
ldr x8, [x21]
ldr x8, [x8]
cbz x8, LBB0_8
; %bb.3:
mov x0, x21
mov x1, x20
blr x8
tbz x0, #63, LBB0_8
; %bb.4:
Lloh6:
adrp x1, l_.str.2@PAGE
Lloh7:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
bl _dev_err
mov x0, x20
bl _usb_put_dev
b LBB0_6
LBB0_5:
Lloh8:
adrp x1, l_.str@PAGE
Lloh9:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _dev_err
LBB0_6:
mov x20, #0
b LBB0_8
LBB0_7:
Lloh10:
adrp x1, l_.str.1@PAGE
Lloh11:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _dev_err
LBB0_8:
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 Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "No LVS device is present\n"
l_.str.1: ; @.str.1
.asciz "Could not allocate lvs udev\n"
.comm _USB_SPEED_SUPER,4,2 ; @USB_SPEED_SUPER
.comm _USB_STATE_DEFAULT,4,2 ; @USB_STATE_DEFAULT
l_.str.2: ; @.str.2
.asciz "Failed to enable\n"
.no_dead_strip _create_lvs_device
.subsections_via_symbols
| AnghaBench/linux/drivers/usb/misc/extr_lvstest.c_create_lvs_device.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function get_evp_method_from_store
_get_evp_method_from_store: ## @get_evp_method_from_store
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movq %rsi, %r14
movq $0, -48(%rbp)
cmpl $0, (%rdx)
## implicit-def: $r15d
je LBB0_6
LBB0_1:
testq %r14, %r14
jne LBB0_3
## %bb.2:
callq _get_evp_method_store
movq %rax, %r14
testq %rax, %rax
je LBB0_15
LBB0_3:
movl 24(%rbx), %edx
leaq -48(%rbp), %rcx
movq %r14, %rdi
movl %r15d, %esi
callq _ossl_method_store_fetch
movq -48(%rbp), %rdi
testq %rdi, %rdi
je LBB0_15
## %bb.4:
callq *16(%rbx)
testl %eax, %eax
je LBB0_15
## %bb.5:
movq -48(%rbp), %rax
jmp LBB0_16
LBB0_6:
movq %rdi, %r13
callq _ossl_namemap_stored
movq %rax, %r12
movq 8(%rbx), %r15
movq _NAME_SEPARATOR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
callq _strchr
testq %rax, %rax
je LBB0_13
## %bb.7:
subq %r15, %rax
testq %r12, %r12
jne LBB0_8
jmp LBB0_15
LBB0_13:
movq %r15, %rdi
callq _strlen
testq %r12, %r12
je LBB0_15
LBB0_8:
movq %r12, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq _ossl_namemap_name2num_n
## implicit-def: $r15d
testl %eax, %eax
movq %r13, %rdi
jne LBB0_1
## %bb.9:
movl 28(%rbx), %edi
xorl %esi, %esi
callq _evp_method_id
movq %r13, %rdi
movl %eax, %r15d
testl %eax, %eax
jne LBB0_1
LBB0_15:
xorl %eax, %eax
LBB0_16:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NAME_SEPARATOR,4,2 ## @NAME_SEPARATOR
.no_dead_strip _get_evp_method_from_store
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function get_evp_method_from_store
_get_evp_method_from_store: ; @get_evp_method_from_store
.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 x19, x2
mov x20, x1
str xzr, [sp, #8]
ldr w8, [x2]
; implicit-def: $w21
cbz w8, LBB0_5
LBB0_1:
cbnz x20, LBB0_3
; %bb.2:
bl _get_evp_method_store
mov x20, x0
cbz x0, LBB0_11
LBB0_3:
ldr w2, [x19, #24]
add x3, sp, #8
mov x0, x20
mov x1, x21
bl _ossl_method_store_fetch
ldr x0, [sp, #8]
cbz x0, LBB0_11
; %bb.4:
ldr x8, [x19, #16]
blr x8
ldr x8, [sp, #8]
cmp w0, #0
csel x0, xzr, x8, eq
b LBB0_11
LBB0_5:
mov x23, x0
bl _ossl_namemap_stored
mov x21, x0
ldr x22, [x19, #8]
Lloh0:
adrp x8, _NAME_SEPARATOR@GOTPAGE
Lloh1:
ldr x8, [x8, _NAME_SEPARATOR@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x22
bl _strchr
cbz x0, LBB0_7
; %bb.6:
sub x2, x0, x22
cbnz x21, LBB0_8
b LBB0_10
LBB0_7:
mov x0, x22
bl _strlen
mov x2, x0
cbz x21, LBB0_10
LBB0_8:
mov x0, x21
mov x1, x22
bl _ossl_namemap_name2num_n
mov x8, x0
; implicit-def: $w21
mov x0, x23
cbnz w8, LBB0_1
; %bb.9:
ldr w0, [x19, #28]
mov w1, #0 ; =0x0
bl _evp_method_id
mov x21, x0
mov x0, x23
cbnz w21, LBB0_1
LBB0_10:
mov x0, #0 ; =0x0
LBB0_11:
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 _NAME_SEPARATOR,4,2 ; @NAME_SEPARATOR
.no_dead_strip _get_evp_method_from_store
.subsections_via_symbols
| assembly_file_16144.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lpfc_set_vport_symbolic_name
_lpfc_set_vport_symbolic_name: ## @lpfc_set_vport_symbolic_name
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rax
movq (%rax), %rdi
movq (%rdi), %rax
movq _LPFC_VPORT_READY@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_1
## %bb.2:
movq _SLI_CTNS_RSPN_ID@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %edx, %edx
xorl %ecx, %ecx
popq %rbp
jmp _lpfc_ns_cmd ## TAILCALL
LBB0_1:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _LPFC_VPORT_READY,8,3 ## @LPFC_VPORT_READY
.comm _SLI_CTNS_RSPN_ID,4,2 ## @SLI_CTNS_RSPN_ID
.no_dead_strip _lpfc_set_vport_symbolic_name
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lpfc_set_vport_symbolic_name
_lpfc_set_vport_symbolic_name: ; @lpfc_set_vport_symbolic_name
.cfi_startproc
; %bb.0:
ldr x8, [x0]
ldr x0, [x8]
ldr x8, [x0]
Lloh0:
adrp x9, _LPFC_VPORT_READY@GOTPAGE
Lloh1:
ldr x9, [x9, _LPFC_VPORT_READY@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_2
; %bb.1:
Lloh3:
adrp x8, _SLI_CTNS_RSPN_ID@GOTPAGE
Lloh4:
ldr x8, [x8, _SLI_CTNS_RSPN_ID@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov w2, #0
mov w3, #0
b _lpfc_ns_cmd
LBB0_2:
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _LPFC_VPORT_READY,8,3 ; @LPFC_VPORT_READY
.comm _SLI_CTNS_RSPN_ID,4,2 ; @SLI_CTNS_RSPN_ID
.no_dead_strip _lpfc_set_vport_symbolic_name
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_attr.c_lpfc_set_vport_symbolic_name.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
cmpl $2, %edi
jne LBB0_2
## %bb.1:
movq 8(%rsi), %rdi
xorl %esi, %esi
movl $10, %edx
callq _strtoul
shrq $3, %rax
movabsq $6862274880, %rsi ## imm = 0x199060140
andq %rax, %rsi
orq $653898368, %rsi ## imm = 0x26F9B280
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
popq %rbp
retq
LBB0_2:
leaq L_.str(%rip), %rdi
movl $1, %esi
xorl %eax, %eax
callq _printf
movl $-1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _megaInit ## -- Begin function megaInit
.p2align 4, 0x90
_megaInit: ## @megaInit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _RandomFunc ## -- Begin function RandomFunc
.p2align 4, 0x90
_RandomFunc: ## @RandomFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rax
shrq $3, %rax
movabsq $6862274880, %rcx ## imm = 0x199060140
andq %rax, %rcx
orq $653898368, %rcx ## imm = 0x26F9B280
movq %rcx, (%rsi)
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Call this program with %i arguments\n"
L_.str.2: ## @.str.2
.asciz "%lu\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
cmp w0, #2
b.ne LBB0_2
; %bb.1:
ldr x0, [x1, #8]
mov x1, #0
mov w2, #10
bl _strtoul
mov x8, #320
movk x8, #39174, lsl #16
movk x8, #1, lsl #32
and x8, x8, x0, lsr #3
mov w9, #45696
movk w9, #9977, lsl #16
orr x8, x8, x9
str x8, [sp]
Lloh0:
adrp x0, l_.str.2@PAGE
Lloh1:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
LBB0_2:
mov w8, #1
str x8, [sp]
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #-1
bl _exit
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.globl _megaInit ; -- Begin function megaInit
.p2align 2
_megaInit: ; @megaInit
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _RandomFunc ; -- Begin function RandomFunc
.p2align 2
_RandomFunc: ; @RandomFunc
.cfi_startproc
; %bb.0:
ldr x8, [x0]
mov x9, #320
movk x9, #39174, lsl #16
movk x9, #1, lsl #32
and x8, x9, x8, lsr #3
mov w9, #45696
movk w9, #9977, lsl #16
orr x8, x8, x9
str x8, [x1]
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Call this program with %i arguments\n"
l_.str.2: ; @.str.2
.asciz "%lu\n"
.subsections_via_symbols
| the_stack_data/620542.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _reg_reload_regdb ## -- Begin function reg_reload_regdb
.p2align 4, 0x90
_reg_reload_regdb: ## @reg_reload_regdb
.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 _reg_pdev@GOTPCREL(%rip), %rax
movq (%rax), %rdx
leaq L_.str(%rip), %rsi
leaq -32(%rbp), %rdi
callq _request_firmware
movl %eax, %ebx
testl %eax, %eax
jne LBB0_10
## %bb.1:
movq -32(%rbp), %rax
movl (%rax), %esi
movl 4(%rax), %edi
callq _valid_regdb
testl %eax, %eax
je LBB0_2
## %bb.4:
movq -32(%rbp), %rax
movl (%rax), %esi
movl 4(%rax), %edi
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _kmemdup
testq %rax, %rax
je LBB0_5
## %bb.6:
movq %rax, %r14
xorl %ebx, %ebx
xorl %eax, %eax
callq _rtnl_lock
movq _regdb@GOTPCREL(%rip), %r15
movq (%r15), %rdi
callq _IS_ERR_OR_NULL
testl %eax, %eax
jne LBB0_8
## %bb.7:
movq (%r15), %rdi
callq _kfree
LBB0_8:
movq %r14, (%r15)
xorl %eax, %eax
callq _rtnl_unlock
jmp LBB0_9
LBB0_2:
movq _ENODATA@GOTPCREL(%rip), %rax
jmp LBB0_3
LBB0_5:
movq _ENOMEM@GOTPCREL(%rip), %rax
LBB0_3:
xorl %ebx, %ebx
subl (%rax), %ebx
LBB0_9:
movq -32(%rbp), %rdi
callq _release_firmware
LBB0_10:
movl %ebx, %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 "regulatory.db"
.comm _reg_pdev,8,3 ## @reg_pdev
.comm _ENODATA,4,2 ## @ENODATA
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _regdb,8,3 ## @regdb
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _reg_reload_regdb ; -- Begin function reg_reload_regdb
.p2align 2
_reg_reload_regdb: ; @reg_reload_regdb
.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
Lloh0:
adrp x8, _reg_pdev@GOTPAGE
Lloh1:
ldr x8, [x8, _reg_pdev@GOTPAGEOFF]
Lloh2:
ldr x2, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
add x0, sp, #8
bl _request_firmware
mov x19, x0
cbnz w0, LBB0_10
; %bb.1:
ldr x8, [sp, #8]
ldp w1, w0, [x8]
bl _valid_regdb
cbz w0, LBB0_6
; %bb.2:
ldr x8, [sp, #8]
ldp w1, w0, [x8]
Lloh5:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh6:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
ldr w2, [x8]
bl _kmemdup
cbz x0, LBB0_7
; %bb.3:
mov x19, x0
bl _rtnl_lock
Lloh8:
adrp x20, _regdb@GOTPAGE
Lloh9:
ldr x20, [x20, _regdb@GOTPAGEOFF]
ldr x0, [x20]
bl _IS_ERR_OR_NULL
cbnz w0, LBB0_5
; %bb.4:
ldr x0, [x20]
bl _kfree
LBB0_5:
str x19, [x20]
bl _rtnl_unlock
mov w19, #0
b LBB0_9
LBB0_6:
Lloh10:
adrp x8, _ENODATA@GOTPAGE
Lloh11:
ldr x8, [x8, _ENODATA@GOTPAGEOFF]
b LBB0_8
LBB0_7:
Lloh12:
adrp x8, _ENOMEM@GOTPAGE
Lloh13:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_8:
ldr w8, [x8]
neg w19, w8
LBB0_9:
ldr x0, [sp, #8]
bl _release_firmware
LBB0_10:
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 Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh12, Lloh13
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "regulatory.db"
.comm _reg_pdev,8,3 ; @reg_pdev
.comm _ENODATA,4,2 ; @ENODATA
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _regdb,8,3 ; @regdb
.subsections_via_symbols
| AnghaBench/linux/net/wireless/extr_reg.c_reg_reload_regdb.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function exprSetHeight
_exprSetHeight: ## @exprSetHeight
.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
movl $0, -20(%rbp)
movl 28(%rdi), %edi
leaq -20(%rbp), %r14
movq %r14, %rsi
callq _heightOfExpr
movl 24(%rbx), %edi
movq %r14, %rsi
callq _heightOfExpr
movq _EP_xIsSelect@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _ExprHasProperty
testq %rax, %rax
je LBB0_2
## %bb.1:
movl 16(%rbx), %edi
leaq -20(%rbp), %rsi
callq _heightOfSelect
jmp LBB0_4
LBB0_2:
movq 8(%rbx), %rdi
testq %rdi, %rdi
je LBB0_4
## %bb.3:
leaq -20(%rbp), %rsi
callq _heightOfExprList
movq _EP_Propagate@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq 8(%rbx), %rdi
callq _sqlite3ExprListFlags
andl %r14d, %eax
orl %eax, (%rbx)
LBB0_4:
movl -20(%rbp), %eax
incl %eax
movl %eax, 4(%rbx)
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EP_xIsSelect,4,2 ## @EP_xIsSelect
.comm _EP_Propagate,4,2 ## @EP_Propagate
.no_dead_strip _exprSetHeight
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function exprSetHeight
_exprSetHeight: ; @exprSetHeight
.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
str wzr, [sp, #12]
ldr w0, [x0, #28]
add x1, sp, #12
bl _heightOfExpr
ldr w0, [x19, #24]
add x1, sp, #12
bl _heightOfExpr
Lloh0:
adrp x8, _EP_xIsSelect@GOTPAGE
Lloh1:
ldr x8, [x8, _EP_xIsSelect@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x19
bl _ExprHasProperty
cbz x0, LBB0_2
; %bb.1:
ldr w0, [x19, #16]
add x1, sp, #12
bl _heightOfSelect
b LBB0_4
LBB0_2:
ldr x0, [x19, #8]
cbz x0, LBB0_4
; %bb.3:
add x1, sp, #12
bl _heightOfExprList
Lloh3:
adrp x8, _EP_Propagate@GOTPAGE
Lloh4:
ldr x8, [x8, _EP_Propagate@GOTPAGEOFF]
Lloh5:
ldr w20, [x8]
ldr x0, [x19, #8]
bl _sqlite3ExprListFlags
and w8, w0, w20
ldr w9, [x19]
orr w8, w9, w8
str w8, [x19]
LBB0_4:
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [x19, #4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _EP_xIsSelect,4,2 ; @EP_xIsSelect
.comm _EP_Propagate,4,2 ; @EP_Propagate
.no_dead_strip _exprSetHeight
.subsections_via_symbols
| AnghaBench/sqlcipher/src/extr_expr.c_exprSetHeight.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function npyiter_check_op_axes
_npyiter_check_op_axes: ## @npyiter_check_op_axes
.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, %r15
movq %rdx, %r13
movl %esi, %r12d
movl %edi, -56(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _NPY_MAXDIMS@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq %r14, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rbx
testl %r12d, %r12d
js LBB0_1
## %bb.5:
movq %r13, -64(%rbp) ## 8-byte Spill
cmpl %r12d, %r14d
jge LBB0_7
## %bb.6:
movq _PyExc_ValueError@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.1(%rip), %rsi
xorl %ebx, %ebx
movl %r14d, %edx
movl %r12d, %ecx
jmp LBB0_17
LBB0_1:
testq %r13, %r13
jne LBB0_3
## %bb.2:
movl $1, %ebx
testq %r15, %r15
je LBB0_24
LBB0_3:
movq _PyExc_ValueError@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
jmp LBB0_4
LBB0_7:
movq -64(%rbp), %rsi ## 8-byte Reload
testq %rsi, %rsi
je LBB0_26
## %bb.8:
movl -56(%rbp), %eax ## 4-byte Reload
testl %eax, %eax
jle LBB0_23
## %bb.9:
movl %eax, %eax
movq %rax, -56(%rbp) ## 8-byte Spill
movl %r12d, %r15d
xorl %r13d, %r13d
jmp LBB0_10
.p2align 4, 0x90
LBB0_22: ## in Loop: Header=BB0_10 Depth=1
incq %r13
cmpq -56(%rbp), %r13 ## 8-byte Folded Reload
je LBB0_23
LBB0_10: ## =>This Loop Header: Depth=1
## Child Loop BB0_13 Depth 2
movq (%rsi,%r13,8), %r14
testq %r14, %r14
je LBB0_22
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
movq _NPY_MAXDIMS@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
xorl %esi, %esi
callq _memset
movq -64(%rbp), %rsi ## 8-byte Reload
testl %r12d, %r12d
je LBB0_22
## %bb.12: ## in Loop: Header=BB0_10 Depth=1
movq _NPY_MAXDIMS@GOTPCREL(%rip), %rax
movl (%rax), %eax
xorl %edx, %edx
jmp LBB0_13
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_13 Depth=2
movb $1, (%rbx,%rcx)
LBB0_21: ## in Loop: Header=BB0_13 Depth=2
incq %rdx
cmpq %rdx, %r15
je LBB0_22
LBB0_13: ## Parent Loop BB0_10 Depth=1
## => This Inner Loop Header: Depth=2
movl (%r14,%rdx,4), %ecx
testl %ecx, %ecx
js LBB0_21
## %bb.14: ## in Loop: Header=BB0_13 Depth=2
cmpl %eax, %ecx
jge LBB0_15
## %bb.18: ## in Loop: Header=BB0_13 Depth=2
cmpb $1, (%rbx,%rcx)
jne LBB0_20
## %bb.19:
movq _PyExc_ValueError@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.4(%rip), %rsi
jmp LBB0_16
LBB0_26:
movq _PyExc_ValueError@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.2(%rip), %rsi
LBB0_4:
xorl %ebx, %ebx
xorl %eax, %eax
callq _PyErr_Format
jmp LBB0_24
LBB0_23:
movl $1, %ebx
jmp LBB0_24
LBB0_15:
movq _PyExc_ValueError@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.3(%rip), %rsi
LBB0_16:
xorl %ebx, %ebx
movl %r13d, %edx
## kill: def $ecx killed $ecx killed $rcx
LBB0_17:
xorl %eax, %eax
callq _PyErr_Format
LBB0_24:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_27
## %bb.25:
movl %ebx, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_27:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _NPY_MAXDIMS,4,2 ## @NPY_MAXDIMS
.comm _PyExc_ValueError,4,2 ## @PyExc_ValueError
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "If 'op_axes' or 'itershape' is not NULL in the iterator constructor, 'oa_ndim' must be zero or greater"
L_.str.1: ## @.str.1
.asciz "Cannot construct an iterator with more than %d dimensions (%d were requested for op_axes)"
L_.str.2: ## @.str.2
.asciz "If 'oa_ndim' is zero or greater in the iterator constructor, then op_axes cannot be NULL"
L_.str.3: ## @.str.3
.asciz "The 'op_axes' provided to the iterator constructor for operand %d contained invalid values %d"
L_.str.4: ## @.str.4
.asciz "The 'op_axes' provided to the iterator constructor for operand %d contained duplicate value %d"
.no_dead_strip _npyiter_check_op_axes
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function npyiter_check_op_axes
_npyiter_check_op_axes: ; @npyiter_check_op_axes
.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, #16
mov x20, x2
mov x19, x1
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
Lloh3:
adrp x22, _NPY_MAXDIMS@GOTPAGE
Lloh4:
ldr x22, [x22, _NPY_MAXDIMS@GOTPAGEOFF]
ldr w8, [x22]
mov x9, x8
Lloh5:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh6:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x10, x8, #15
and x10, x10, #0x1fffffff0
sub x21, x9, x10
mov sp, x21
tbnz w1, #31, LBB0_4
; %bb.1:
cmp w8, w19
b.ge LBB0_7
; %bb.2:
Lloh7:
adrp x9, _PyExc_ValueError@GOTPAGE
Lloh8:
ldr x9, [x9, _PyExc_ValueError@GOTPAGEOFF]
Lloh9:
ldr w0, [x9]
; kill: def $w8 killed $w8 killed $x8 def $x8
stp x8, x19, [sp, #-16]!
Lloh10:
adrp x1, l_.str.1@PAGE
Lloh11:
add x1, x1, l_.str.1@PAGEOFF
LBB0_3:
bl _PyErr_Format
add sp, sp, #16
b LBB0_23
LBB0_4:
cbnz x20, LBB0_6
; %bb.5:
cbz x3, LBB0_20
LBB0_6:
Lloh12:
adrp x8, _PyExc_ValueError@GOTPAGE
Lloh13:
ldr x8, [x8, _PyExc_ValueError@GOTPAGEOFF]
Lloh14:
ldr w0, [x8]
Lloh15:
adrp x1, l_.str@PAGE
Lloh16:
add x1, x1, l_.str@PAGEOFF
b LBB0_22
LBB0_7:
cbz x20, LBB0_21
; %bb.8:
mov w24, #1
cmp w0, #1
b.lt LBB0_20
; %bb.9:
mov x23, #0
mov w25, w0
mov w26, w19
b LBB0_11
LBB0_10: ; in Loop: Header=BB0_11 Depth=1
add x23, x23, #1
mov w0, #1
cmp x23, x25
b.eq LBB0_24
LBB0_11: ; =>This Loop Header: Depth=1
; Child Loop BB0_16 Depth 2
ldr x27, [x20, x23, lsl #3]
cbz x27, LBB0_10
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
ldr w2, [x22]
mov x0, x21
mov w1, #0
bl _memset
cbz w19, LBB0_10
; %bb.13: ; in Loop: Header=BB0_11 Depth=1
ldr w8, [x22]
mov x9, x26
b LBB0_16
LBB0_14: ; in Loop: Header=BB0_16 Depth=2
strb w24, [x21, x10]
LBB0_15: ; in Loop: Header=BB0_16 Depth=2
add x27, x27, #4
subs x9, x9, #1
b.eq LBB0_10
LBB0_16: ; Parent Loop BB0_11 Depth=1
; => This Inner Loop Header: Depth=2
ldr w10, [x27]
tbnz w10, #31, LBB0_15
; %bb.17: ; in Loop: Header=BB0_16 Depth=2
cmp w10, w8
b.ge LBB0_26
; %bb.18: ; in Loop: Header=BB0_16 Depth=2
ldrb w11, [x21, x10]
cmp w11, #1
b.ne LBB0_14
; %bb.19:
Lloh17:
adrp x8, _PyExc_ValueError@GOTPAGE
Lloh18:
ldr x8, [x8, _PyExc_ValueError@GOTPAGEOFF]
Lloh19:
ldr w0, [x8]
stp x23, x10, [sp, #-16]!
Lloh20:
adrp x1, l_.str.4@PAGE
Lloh21:
add x1, x1, l_.str.4@PAGEOFF
b LBB0_3
LBB0_20:
mov w0, #1
b LBB0_24
LBB0_21:
Lloh22:
adrp x8, _PyExc_ValueError@GOTPAGE
Lloh23:
ldr x8, [x8, _PyExc_ValueError@GOTPAGEOFF]
Lloh24:
ldr w0, [x8]
Lloh25:
adrp x1, l_.str.2@PAGE
Lloh26:
add x1, x1, l_.str.2@PAGEOFF
LBB0_22:
bl _PyErr_Format
LBB0_23:
mov w0, #0
LBB0_24:
ldur x8, [x29, #-88]
Lloh27:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh28:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_27
; %bb.25:
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_26:
Lloh30:
adrp x8, _PyExc_ValueError@GOTPAGE
Lloh31:
ldr x8, [x8, _PyExc_ValueError@GOTPAGEOFF]
Lloh32:
ldr w0, [x8]
stp x23, x10, [sp, #-16]!
Lloh33:
adrp x1, l_.str.3@PAGE
Lloh34:
add x1, x1, l_.str.3@PAGEOFF
b LBB0_3
LBB0_27:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.cfi_endproc
; -- End function
.comm _NPY_MAXDIMS,4,2 ; @NPY_MAXDIMS
.comm _PyExc_ValueError,4,2 ; @PyExc_ValueError
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "If 'op_axes' or 'itershape' is not NULL in the iterator constructor, 'oa_ndim' must be zero or greater"
l_.str.1: ; @.str.1
.asciz "Cannot construct an iterator with more than %d dimensions (%d were requested for op_axes)"
l_.str.2: ; @.str.2
.asciz "If 'oa_ndim' is zero or greater in the iterator constructor, then op_axes cannot be NULL"
l_.str.3: ; @.str.3
.asciz "The 'op_axes' provided to the iterator constructor for operand %d contained invalid values %d"
l_.str.4: ; @.str.4
.asciz "The 'op_axes' provided to the iterator constructor for operand %d contained duplicate value %d"
.no_dead_strip _npyiter_check_op_axes
.subsections_via_symbols
| AnghaBench/numpy/numpy/core/src/multiarray/extr_nditer_constr.c_npyiter_check_op_axes.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function parser_SetTextAlpha
_parser_SetTextAlpha: ## @parser_SetTextAlpha
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -24
movq %rdx, %rbx
movq %rdi, -16(%rbp)
movq %rsi, %rdi
callq _VLC_UNUSED
leaq -16(%rbp), %rdi
callq _skip_space
movq -16(%rbp), %rax
movzbl (%rax), %edi
callq _isdigit
testq %rax, %rax
je LBB0_2
## %bb.1:
leaq 4(%rbx), %rsi
leaq -16(%rbp), %rdi
callq _parse_digit
movq _VLC_EGENERIC@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_6
LBB0_2:
leaq -16(%rbp), %rdi
callq _skip_space
movq -16(%rbp), %rax
movzbl (%rax), %edi
callq _isdigit
testq %rax, %rax
je LBB0_5
## %bb.3:
leaq -16(%rbp), %rdi
leaq -20(%rbp), %rsi
callq _parse_digit
movq _VLC_EGENERIC@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_6
## %bb.4:
movl -20(%rbp), %eax
movl %eax, (%rbx)
LBB0_5:
movq _VLC_SUCCESS@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_6:
## kill: def $eax killed $eax killed $rax
addq $24, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _VLC_EGENERIC,8,3 ## @VLC_EGENERIC
.comm _VLC_SUCCESS,4,2 ## @VLC_SUCCESS
.no_dead_strip _parser_SetTextAlpha
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function parser_SetTextAlpha
_parser_SetTextAlpha: ; @parser_SetTextAlpha
.cfi_startproc
; %bb.0:
sub sp, sp, #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, x2
str x0, [sp, #8]
mov x0, x1
bl _VLC_UNUSED
add x0, sp, #8
bl _skip_space
ldr x8, [sp, #8]
ldrb w0, [x8]
bl _isdigit
Lloh0:
adrp x20, _VLC_EGENERIC@GOTPAGE
Lloh1:
ldr x20, [x20, _VLC_EGENERIC@GOTPAGEOFF]
cbz x0, LBB0_2
; %bb.1:
add x0, sp, #8
add x1, x19, #4
bl _parse_digit
ldr x8, [x20]
cmp x0, x8
b.eq LBB0_7
LBB0_2:
add x0, sp, #8
bl _skip_space
ldr x8, [sp, #8]
ldrb w0, [x8]
bl _isdigit
cbz x0, LBB0_6
; %bb.3:
add x0, sp, #8
add x1, sp, #4
bl _parse_digit
ldr x8, [x20]
cmp x0, x8
b.ne LBB0_5
; %bb.4:
; kill: def $w0 killed $w0 killed $x0 def $x0
b LBB0_7
LBB0_5:
ldr w8, [sp, #4]
str w8, [x19]
LBB0_6:
Lloh2:
adrp x8, _VLC_SUCCESS@GOTPAGE
Lloh3:
ldr x8, [x8, _VLC_SUCCESS@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
LBB0_7:
; kill: def $w0 killed $w0 killed $x0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _VLC_EGENERIC,8,3 ; @VLC_EGENERIC
.comm _VLC_SUCCESS,4,2 ; @VLC_SUCCESS
.no_dead_strip _parser_SetTextAlpha
.subsections_via_symbols
| assembly_file_65456.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function inmemCheckReservedLock
_inmemCheckReservedLock: ## @inmemCheckReservedLock
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $0, (%rsi)
movq _SQLITE_OK@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SQLITE_OK,4,2 ## @SQLITE_OK
.no_dead_strip _inmemCheckReservedLock
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function inmemCheckReservedLock
_inmemCheckReservedLock: ; @inmemCheckReservedLock
.cfi_startproc
; %bb.0:
str wzr, [x1]
Lloh0:
adrp x8, _SQLITE_OK@GOTPAGE
Lloh1:
ldr x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SQLITE_OK,4,2 ; @SQLITE_OK
.no_dead_strip _inmemCheckReservedLock
.subsections_via_symbols
| AnghaBench/sqlcipher/test/extr_fuzzcheck.c_inmemCheckReservedLock.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 $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
cmpl $4, %edi
jne LBB0_11
## %bb.1:
movq 24(%rbx), %rdi
callq _atoi
movl %eax, %r14d
movq %rbx, -56(%rbp) ## 8-byte Spill
movq 8(%rbx), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, %rbx
leaq L_.str.2(%rip), %rsi
movq %rax, %rdi
movl %r14d, %edx
xorl %eax, %eax
callq _fprintf
testl %r14d, %r14d
jle LBB0_5
## %bb.2:
leaq L_.str.3(%rip), %r12
xorl %r13d, %r13d
movl %r14d, -44(%rbp) ## 4-byte Spill
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
callq _rand
cltq
imulq $1125899907, %rax, %rdx ## imm = 0x431BDE83
movq %rdx, %rax
shrq $63, %rax
sarq $50, %rdx
addl %eax, %edx
movq %rbx, %rdi
movq %r12, %rsi
## kill: def $edx killed $edx killed $rdx
xorl %eax, %eax
callq _fprintf
decl %r14d
jne LBB0_3
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl $10, %edi
movq %rbx, %rsi
callq _fputc
incl %r13d
movl -44(%rbp), %r14d ## 4-byte Reload
cmpl %r14d, %r13d
jne LBB0_3
LBB0_5:
movq %rbx, %rdi
callq _fclose
movq -56(%rbp), %rax ## 8-byte Reload
movq 16(%rax), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, %r15
leaq L_.str.2(%rip), %rsi
movq %rax, %rdi
movl %r14d, %edx
xorl %eax, %eax
callq _fprintf
testl %r14d, %r14d
jle LBB0_10
## %bb.6:
movl %r14d, %r13d
leaq L_.str.3(%rip), %r14
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_7: ## =>This Loop Header: Depth=1
## Child Loop BB0_8 Depth 2
movl %r13d, %ebx
.p2align 4, 0x90
LBB0_8: ## Parent Loop BB0_7 Depth=1
## => This Inner Loop Header: Depth=2
callq _rand
cltq
imulq $1125899907, %rax, %rdx ## imm = 0x431BDE83
movq %rdx, %rax
shrq $63, %rax
sarq $50, %rdx
addl %eax, %edx
movq %r15, %rdi
movq %r14, %rsi
## kill: def $edx killed $edx killed $rdx
xorl %eax, %eax
callq _fprintf
decl %ebx
jne LBB0_8
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
movl $10, %edi
movq %r15, %rsi
callq _fputc
incl %r12d
cmpl %r13d, %r12d
jne LBB0_7
LBB0_10:
movq %r15, %rdi
callq _fclose
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_11:
movq (%rbx), %rsi
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
movl $-1, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\nusage:\n%s <filename1> <filename2> <size>\n\n"
L_.str.1: ## @.str.1
.asciz "w"
L_.str.2: ## @.str.2
.asciz "%d\n"
L_.str.3: ## @.str.3
.asciz "%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, #96
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x20, x1
cmp w0, #4
b.ne LBB0_12
; %bb.1:
mov w23, #16960
movk w23, #15, lsl #16
ldr x0, [x20, #24]
bl _atoi
mov x19, x0
ldr x0, [x20, #8]
Lloh0:
adrp x1, l_.str.1@PAGE
Lloh1:
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
mov x21, x0
mov x8, x19
str x8, [sp]
Lloh2:
adrp x1, l_.str.2@PAGE
Lloh3:
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
cmp w19, #1
b.lt LBB0_6
; %bb.2:
mov w24, #0
Lloh4:
adrp x22, l_.str.3@PAGE
Lloh5:
add x22, x22, l_.str.3@PAGEOFF
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
mov x25, x19
LBB0_4: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
bl _rand
sdiv w8, w0, w23
str x8, [sp]
mov x0, x21
mov x1, x22
bl _fprintf
subs w25, w25, #1
b.ne LBB0_4
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
mov w0, #10
mov x1, x21
bl _fputc
add w24, w24, #1
cmp w24, w19
b.ne LBB0_3
LBB0_6:
mov x0, x21
bl _fclose
ldr x0, [x20, #16]
Lloh6:
adrp x1, l_.str.1@PAGE
Lloh7:
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
mov x20, x0
str x19, [sp]
Lloh8:
adrp x1, l_.str.2@PAGE
Lloh9:
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
cmp w19, #1
b.lt LBB0_11
; %bb.7:
mov w22, #0
Lloh10:
adrp x21, l_.str.3@PAGE
Lloh11:
add x21, x21, l_.str.3@PAGEOFF
LBB0_8: ; =>This Loop Header: Depth=1
; Child Loop BB0_9 Depth 2
mov x24, x19
LBB0_9: ; Parent Loop BB0_8 Depth=1
; => This Inner Loop Header: Depth=2
bl _rand
sdiv w8, w0, w23
str x8, [sp]
mov x0, x20
mov x1, x21
bl _fprintf
subs w24, w24, #1
b.ne LBB0_9
; %bb.10: ; in Loop: Header=BB0_8 Depth=1
mov w0, #10
mov x1, x20
bl _fputc
add w22, w22, #1
cmp w22, w19
b.ne LBB0_8
LBB0_11:
mov x0, x20
bl _fclose
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_12:
ldr x8, [x20]
str x8, [sp]
Lloh12:
adrp x0, l_.str@PAGE
Lloh13:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #-1
bl _exit
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\nusage:\n%s <filename1> <filename2> <size>\n\n"
l_.str.1: ; @.str.1
.asciz "w"
l_.str.2: ; @.str.2
.asciz "%d\n"
l_.str.3: ; @.str.3
.asciz "%d "
.subsections_via_symbols
| the_stack_data/3263668.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ecore_mcp_get_capabilities ## -- Begin function ecore_mcp_get_capabilities
.p2align 4, 0x90
_ecore_mcp_get_capabilities: ## @ecore_mcp_get_capabilities
.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 _DRV_MSG_CODE_GET_MFW_FEATURE_SUPPORT@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq (%rdi), %r9
leaq -20(%rbp), %r8
xorl %ecx, %ecx
callq _ecore_mcp_cmd
movl %eax, %r14d
movq _ECORE_SUCCESS@GOTPCREL(%rip), %rax
cmpl (%rax), %r14d
jne LBB0_2
## %bb.1:
movq _ECORE_MSG_SP@GOTPCREL(%rip), %rax
movq _ECORE_MSG_PROBE@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
orl (%rax), %esi
movq (%rbx), %rax
movl (%rax), %ecx
leaq L_.str(%rip), %rdx
movq %rbx, %rdi
callq _DP_VERBOSE
LBB0_2:
movl %r14d, %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DRV_MSG_CODE_GET_MFW_FEATURE_SUPPORT,4,2 ## @DRV_MSG_CODE_GET_MFW_FEATURE_SUPPORT
.comm _ECORE_SUCCESS,4,2 ## @ECORE_SUCCESS
.comm _ECORE_MSG_SP,4,2 ## @ECORE_MSG_SP
.comm _ECORE_MSG_PROBE,4,2 ## @ECORE_MSG_PROBE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "MFW supported features: %08x\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ecore_mcp_get_capabilities ; -- Begin function ecore_mcp_get_capabilities
.p2align 2
_ecore_mcp_get_capabilities: ; @ecore_mcp_get_capabilities
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x8, _DRV_MSG_CODE_GET_MFW_FEATURE_SUPPORT@GOTPAGE
Lloh1:
ldr x8, [x8, _DRV_MSG_CODE_GET_MFW_FEATURE_SUPPORT@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
ldr x5, [x0]
add x4, sp, #12
mov w3, #0
bl _ecore_mcp_cmd
mov x20, x0
Lloh3:
adrp x8, _ECORE_SUCCESS@GOTPAGE
Lloh4:
ldr x8, [x8, _ECORE_SUCCESS@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
cmp w0, w8
b.ne LBB0_2
; %bb.1:
Lloh6:
adrp x8, _ECORE_MSG_SP@GOTPAGE
Lloh7:
ldr x8, [x8, _ECORE_MSG_SP@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
Lloh9:
adrp x9, _ECORE_MSG_PROBE@GOTPAGE
Lloh10:
ldr x9, [x9, _ECORE_MSG_PROBE@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
orr w1, w9, w8
ldr x8, [x19]
ldr w3, [x8]
Lloh12:
adrp x2, l_.str@PAGE
Lloh13:
add x2, x2, l_.str@PAGEOFF
mov x0, x19
bl _DP_VERBOSE
LBB0_2:
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _DRV_MSG_CODE_GET_MFW_FEATURE_SUPPORT,4,2 ; @DRV_MSG_CODE_GET_MFW_FEATURE_SUPPORT
.comm _ECORE_SUCCESS,4,2 ; @ECORE_SUCCESS
.comm _ECORE_MSG_SP,4,2 ; @ECORE_MSG_SP
.comm _ECORE_MSG_PROBE,4,2 ; @ECORE_MSG_PROBE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "MFW supported features: %08x\n"
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_mcp.c_ecore_mcp_get_capabilities.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mspro_block_stop
_mspro_block_stop: ## @mspro_block_stop
.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 _memstick_get_drvdata
movq %rax, %rbx
movq %rax, %rdi
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
callq _spin_lock_irqsave
cmpl $0, 8(%rbx)
je LBB0_3
## %bb.1: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
callq _spin_unlock_irqrestore
movq %r14, %rdi
callq _wait_for_completion
movq %rbx, %rdi
jmp LBB0_2
LBB0_3:
movl 4(%rbx), %edi
callq _blk_stop_queue
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _spin_unlock_irqrestore ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _mspro_block_stop
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mspro_block_stop
_mspro_block_stop: ; @mspro_block_stop
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x0
bl _memstick_get_drvdata
mov x19, x0
LBB0_1: ; =>This Inner Loop Header: Depth=1
bl _spin_lock_irqsave
ldr w8, [x19, #8]
cbz w8, LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
mov x0, x19
bl _spin_unlock_irqrestore
mov x0, x20
bl _wait_for_completion
mov x0, x19
b LBB0_1
LBB0_3:
ldr w0, [x19, #4]
bl _blk_stop_queue
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _spin_unlock_irqrestore
.cfi_endproc
; -- End function
.no_dead_strip _mspro_block_stop
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/memstick/core/extr_mspro_block.c_mspro_block_stop.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function shader_arb_load_np2fixup_constants
_shader_arb_load_np2fixup_constants: ## @shader_arb_load_np2fixup_constants
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r15
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MAX_FRAGMENT_SAMPLERS@GOTPCREL(%rip), %rax
movl (%rax), %eax
shll $2, %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
movl 8(%rbx), %r13d
testl %r13d, %r13d
je LBB0_8
## %bb.1:
xorl %r12d, %r12d
jmp LBB0_2
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
leaq L_.str(%rip), %rdi
callq _ERR
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_2 Depth=1
movl %r13d, %eax
sarl %eax
decq %r12
cmpl $2, %r13d
movl %eax, %r13d
jb LBB0_5
LBB0_2: ## =>This Inner Loop Header: Depth=1
testb $1, %r13b
je LBB0_13
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq (%r15), %rax
movq (%rax,%r12,8), %rcx
testq %rcx, %rcx
je LBB0_4
## %bb.10: ## in Loop: Header=BB0_2 Depth=1
movq 16(%rbx), %rax
movzbl (%rax,%r12), %esi
leal (%rsi,%rsi), %eax
andl $-4, %eax
movq (%rcx), %rcx
movl (%rcx), %edx
testb $1, %sil
jne LBB0_11
## %bb.12: ## in Loop: Header=BB0_2 Depth=1
movl %edx, (%r14,%rax,4)
movl 20(%rcx), %ecx
movl %ecx, 4(%r14,%rax,4)
jmp LBB0_13
LBB0_11: ## in Loop: Header=BB0_2 Depth=1
movl %edx, 8(%r14,%rax,4)
movl 20(%rcx), %ecx
movl %ecx, 12(%r14,%rax,4)
jmp LBB0_13
LBB0_5:
cmpq $0, 24(%rbx)
je LBB0_8
## %bb.6:
xorl %r15d, %r15d
movq _GL_FRAGMENT_PROGRAM_ARB@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movl (%r12), %edi
movq (%rbx), %rsi
addq %r15, %rsi
movq %r14, %rdx
callq _glProgramEnvParameter4fvARB
movl %eax, %edi
callq _GL_EXTCALL
incq %r15
addq $16, %r14
cmpq 24(%rbx), %r15
jb LBB0_7
LBB0_8:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_14
## %bb.9:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_14:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _g_aug_volatile_4865 ## @g_aug_volatile_4865
.p2align 2, 0x0
_g_aug_volatile_4865:
.long 10 ## 0xa
.comm _MAX_FRAGMENT_SAMPLERS,4,2 ## @MAX_FRAGMENT_SAMPLERS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Nonexistent texture is flagged for NP2 texcoord fixup.\n"
.comm _GL_FRAGMENT_PROGRAM_ARB,4,2 ## @GL_FRAGMENT_PROGRAM_ARB
.no_dead_strip _shader_arb_load_np2fixup_constants
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function shader_arb_load_np2fixup_constants
_shader_arb_load_np2fixup_constants: ; @shader_arb_load_np2fixup_constants
.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
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
mov x21, x2
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
Lloh3:
adrp x8, _MAX_FRAGMENT_SAMPLERS@GOTPAGE
Lloh4:
ldr x8, [x8, _MAX_FRAGMENT_SAMPLERS@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
lsl w8, w8, #2
ubfiz x8, x8, #2, #32
mov x9, x8
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x20, x9, x8
mov sp, x20
ldr w23, [x0, #8]
cbz w23, LBB0_12
; %bb.1:
mov x24, #0 ; =0x0
Lloh8:
adrp x22, l_.str@PAGE
Lloh9:
add x22, x22, l_.str@PAGEOFF
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
mov x0, x22
bl _ERR
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
asr w8, w23, #1
sub x24, x24, #1
cmp w23, #2
mov x23, x8
b.lo LBB0_9
LBB0_4: ; =>This Inner Loop Header: Depth=1
tbz w23, #0, LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x21]
ldr x8, [x8, x24, lsl #3]
cbz x8, LBB0_2
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
ldr x9, [x19, #16]
ldrb w9, [x9, x24]
and w11, w9, #0xff
lsl x9, x9, #3
and x9, x9, #0x7f0
add x9, x20, x9
ldr x8, [x8]
ldr w10, [x8]
tbnz w11, #0, LBB0_8
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
str w10, [x9]
ldr w8, [x8, #20]
str w8, [x9, #4]
b LBB0_3
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
str w10, [x9, #8]
ldr w8, [x8, #20]
str w8, [x9, #12]
b LBB0_3
LBB0_9:
ldr x8, [x19, #24]
cbz x8, LBB0_12
; %bb.10:
mov x21, #0 ; =0x0
Lloh10:
adrp x22, _GL_FRAGMENT_PROGRAM_ARB@GOTPAGE
Lloh11:
ldr x22, [x22, _GL_FRAGMENT_PROGRAM_ARB@GOTPAGEOFF]
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldr w0, [x22]
ldr x8, [x19]
add x1, x21, x8
mov x2, x20
bl _glProgramEnvParameter4fvARB
bl _GL_EXTCALL
add x21, x21, #1
ldr x8, [x19, #24]
add x20, x20, #16
cmp x21, x8
b.lo LBB0_11
LBB0_12:
ldur x8, [x29, #-56]
Lloh12:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh13:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_14
; %bb.13:
sub sp, x29, #48
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_14:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _g_aug_volatile_4865 ; @g_aug_volatile_4865
.p2align 2, 0x0
_g_aug_volatile_4865:
.long 10 ; 0xa
.comm _MAX_FRAGMENT_SAMPLERS,4,2 ; @MAX_FRAGMENT_SAMPLERS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Nonexistent texture is flagged for NP2 texcoord fixup.\n"
.comm _GL_FRAGMENT_PROGRAM_ARB,4,2 ; @GL_FRAGMENT_PROGRAM_ARB
.no_dead_strip _shader_arb_load_np2fixup_constants
.subsections_via_symbols
| assembly_file_13684.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _lremCommand ## -- Begin function lremCommand
.p2align 4, 0x90
_lremCommand: ## @lremCommand
.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, %r13
movq 8(%rdi), %rax
movq 24(%rax), %r15
movq 16(%rax), %rsi
leaq -48(%rbp), %rdx
xorl %ecx, %ecx
callq _getLongFromObjectOrReply
movq _C_OK@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_19
## %bb.1:
movq 8(%r13), %rax
movq 8(%rax), %rsi
movq _shared@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r13, %rdi
callq _lookupKeyWriteOrReply
testq %rax, %rax
je LBB0_19
## %bb.2:
movq %rax, %r14
movq _OBJ_LIST@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r13, %rdi
movq %r14, %rsi
callq _checkType
testq %rax, %rax
jne LBB0_19
## %bb.3:
movq -48(%rbp), %rax
testq %rax, %rax
js LBB0_5
## %bb.4:
xorl %esi, %esi
movq _LIST_TAIL@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_5:
negq %rax
movq %rax, -48(%rbp)
movl $-1, %esi
movq _LIST_HEAD@GOTPCREL(%rip), %rax
LBB0_6:
movl (%rax), %edx
movq %r14, %rdi
callq _listTypeInitIterator
movq %rax, %rbx
leaq -52(%rbp), %rsi
movq %rax, %rdi
callq _listTypeNext
testq %rax, %rax
je LBB0_20
## %bb.7:
movq %r14, -64(%rbp) ## 8-byte Spill
xorl %r12d, %r12d
leaq -52(%rbp), %r14
jmp LBB0_8
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_8 Depth=1
movq %rbx, %rdi
movq %r14, %rsi
callq _listTypeNext
testq %rax, %rax
je LBB0_12
LBB0_8: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %r15, %rsi
callq _listTypeEqual
testq %rax, %rax
je LBB0_11
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movq %rbx, %rdi
movq %r14, %rsi
callq _listTypeDelete
movq _server@GOTPCREL(%rip), %rax
incl (%rax)
incq %r12
movq -48(%rbp), %rax
testq %rax, %rax
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_8 Depth=1
cmpq %rax, %r12
jne LBB0_11
LBB0_12:
movq %rbx, %rdi
callq _listTypeReleaseIterator
testq %r12, %r12
je LBB0_13
## %bb.14:
movq (%r13), %rdi
movq 8(%r13), %rax
movq 8(%rax), %rsi
callq _signalModifiedKey
movq _NOTIFY_LIST@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq (%r13), %rax
movq 8(%r13), %rcx
movq 8(%rcx), %rdx
movl (%rax), %ecx
leaq L_.str(%rip), %rsi
callq _notifyKeyspaceEvent
jmp LBB0_15
LBB0_20:
movq %rbx, %rdi
callq _listTypeReleaseIterator
xorl %r12d, %r12d
jmp LBB0_16
LBB0_13:
xorl %r12d, %r12d
LBB0_15:
movq -64(%rbp), %r14 ## 8-byte Reload
LBB0_16:
movq %r14, %rdi
callq _listTypeLength
testq %rax, %rax
jne LBB0_18
## %bb.17:
movq (%r13), %rdi
movq 8(%r13), %rax
movq 8(%rax), %rsi
callq _dbDelete
movq _NOTIFY_GENERIC@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq (%r13), %rax
movq 8(%r13), %rcx
movq 8(%rcx), %rdx
movl (%rax), %ecx
leaq L_.str.1(%rip), %rsi
callq _notifyKeyspaceEvent
LBB0_18:
movq %r13, %rdi
movq %r12, %rsi
callq _addReplyLongLong
LBB0_19:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _C_OK,8,3 ## @C_OK
.comm _shared,4,2 ## @shared
.comm _OBJ_LIST,4,2 ## @OBJ_LIST
.comm _LIST_HEAD,4,2 ## @LIST_HEAD
.comm _LIST_TAIL,4,2 ## @LIST_TAIL
.comm _server,4,2 ## @server
.comm _NOTIFY_LIST,4,2 ## @NOTIFY_LIST
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "lrem"
.comm _NOTIFY_GENERIC,4,2 ## @NOTIFY_GENERIC
L_.str.1: ## @.str.1
.asciz "del"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _lremCommand ; -- Begin function lremCommand
.p2align 2
_lremCommand: ; @lremCommand
.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, x0
ldr x8, [x0, #8]
ldp x1, x21, [x8, #16]
add x2, sp, #8
mov x3, #0
bl _getLongFromObjectOrReply
Lloh0:
adrp x8, _C_OK@GOTPAGE
Lloh1:
ldr x8, [x8, _C_OK@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_17
; %bb.1:
ldr x8, [x19, #8]
ldr x1, [x8, #8]
Lloh3:
adrp x8, _shared@GOTPAGE
Lloh4:
ldr x8, [x8, _shared@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
mov x0, x19
bl _lookupKeyWriteOrReply
cbz x0, LBB0_17
; %bb.2:
mov x20, x0
Lloh6:
adrp x8, _OBJ_LIST@GOTPAGE
Lloh7:
ldr x8, [x8, _OBJ_LIST@GOTPAGEOFF]
Lloh8:
ldr w2, [x8]
mov x0, x19
mov x1, x20
bl _checkType
cbnz x0, LBB0_17
; %bb.3:
ldr x8, [sp, #8]
tbnz x8, #63, LBB0_5
; %bb.4:
mov w1, #0
Lloh9:
adrp x8, _LIST_TAIL@GOTPAGE
Lloh10:
ldr x8, [x8, _LIST_TAIL@GOTPAGEOFF]
b LBB0_6
LBB0_5:
neg x8, x8
str x8, [sp, #8]
mov w1, #-1
Lloh11:
adrp x8, _LIST_HEAD@GOTPAGE
Lloh12:
ldr x8, [x8, _LIST_HEAD@GOTPAGEOFF]
LBB0_6:
ldr w2, [x8]
mov x0, x20
bl _listTypeInitIterator
mov x23, x0
add x1, sp, #4
bl _listTypeNext
cbz x0, LBB0_13
; %bb.7:
mov x22, #0
Lloh13:
adrp x24, _server@GOTPAGE
Lloh14:
ldr x24, [x24, _server@GOTPAGEOFF]
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_9 Depth=1
add x1, sp, #4
mov x0, x23
bl _listTypeNext
cbz x0, LBB0_11
LBB0_9: ; =>This Inner Loop Header: Depth=1
add x0, sp, #4
mov x1, x21
bl _listTypeEqual
cbz x0, LBB0_8
; %bb.10: ; in Loop: Header=BB0_9 Depth=1
add x1, sp, #4
mov x0, x23
bl _listTypeDelete
ldr w8, [x24]
add w8, w8, #1
str w8, [x24]
add x22, x22, #1
ldr x8, [sp, #8]
cmp x8, #0
ccmp x22, x8, #0, ne
b.ne LBB0_8
LBB0_11:
mov x0, x23
bl _listTypeReleaseIterator
cbz x22, LBB0_14
; %bb.12:
ldp x0, x8, [x19]
ldr x1, [x8, #8]
bl _signalModifiedKey
Lloh15:
adrp x8, _NOTIFY_LIST@GOTPAGE
Lloh16:
ldr x8, [x8, _NOTIFY_LIST@GOTPAGEOFF]
Lloh17:
ldr w0, [x8]
ldp x9, x8, [x19]
ldr x2, [x8, #8]
ldr w3, [x9]
Lloh18:
adrp x1, l_.str@PAGE
Lloh19:
add x1, x1, l_.str@PAGEOFF
bl _notifyKeyspaceEvent
b LBB0_14
LBB0_13:
mov x0, x23
bl _listTypeReleaseIterator
mov x22, #0
LBB0_14:
mov x0, x20
bl _listTypeLength
cbnz x0, LBB0_16
; %bb.15:
ldp x0, x8, [x19]
ldr x1, [x8, #8]
bl _dbDelete
Lloh20:
adrp x8, _NOTIFY_GENERIC@GOTPAGE
Lloh21:
ldr x8, [x8, _NOTIFY_GENERIC@GOTPAGEOFF]
Lloh22:
ldr w0, [x8]
ldp x9, x8, [x19]
ldr x2, [x8, #8]
ldr w3, [x9]
Lloh23:
adrp x1, l_.str.1@PAGE
Lloh24:
add x1, x1, l_.str.1@PAGEOFF
bl _notifyKeyspaceEvent
LBB0_16:
mov x0, x19
mov x1, x22
bl _addReplyLongLong
LBB0_17:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.cfi_endproc
; -- End function
.comm _C_OK,8,3 ; @C_OK
.comm _shared,4,2 ; @shared
.comm _OBJ_LIST,4,2 ; @OBJ_LIST
.comm _LIST_HEAD,4,2 ; @LIST_HEAD
.comm _LIST_TAIL,4,2 ; @LIST_TAIL
.comm _server,4,2 ; @server
.comm _NOTIFY_LIST,4,2 ; @NOTIFY_LIST
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "lrem"
.comm _NOTIFY_GENERIC,4,2 ; @NOTIFY_GENERIC
l_.str.1: ; @.str.1
.asciz "del"
.subsections_via_symbols
| AnghaBench/redis/src/extr_t_list.c_lremCommand.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _SXNET_get_id_asc ## -- Begin function SXNET_get_id_asc
.p2align 4, 0x90
_SXNET_get_id_asc: ## @SXNET_get_id_asc
.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
xorl %edi, %edi
callq _s2i_ASN1_INTEGER
testq %rax, %rax
je LBB0_1
## %bb.3:
movq %rax, %rbx
movq %r14, %rdi
movq %rax, %rsi
callq _SXNET_get_id_INTEGER
movq %rax, %r14
movq %rbx, %rdi
callq _ASN1_INTEGER_free
movq %r14, %rax
jmp LBB0_2
LBB0_1:
movq _X509V3_F_SXNET_GET_ID_ASC@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _X509V3_R_ERROR_CONVERTING_ZONE@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _X509V3err
xorl %eax, %eax
LBB0_2:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _X509V3_F_SXNET_GET_ID_ASC,4,2 ## @X509V3_F_SXNET_GET_ID_ASC
.comm _X509V3_R_ERROR_CONVERTING_ZONE,4,2 ## @X509V3_R_ERROR_CONVERTING_ZONE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _SXNET_get_id_asc ; -- Begin function SXNET_get_id_asc
.p2align 2
_SXNET_get_id_asc: ; @SXNET_get_id_asc
.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 x0, #0
bl _s2i_ASN1_INTEGER
cbz x0, LBB0_2
; %bb.1:
mov x20, x0
mov x0, x19
mov x1, x20
bl _SXNET_get_id_INTEGER
mov x19, x0
mov x0, x20
bl _ASN1_INTEGER_free
mov x0, x19
b LBB0_3
LBB0_2:
Lloh0:
adrp x8, _X509V3_F_SXNET_GET_ID_ASC@GOTPAGE
Lloh1:
ldr x8, [x8, _X509V3_F_SXNET_GET_ID_ASC@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x8, _X509V3_R_ERROR_CONVERTING_ZONE@GOTPAGE
Lloh4:
ldr x8, [x8, _X509V3_R_ERROR_CONVERTING_ZONE@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _X509V3err
mov x0, #0
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _X509V3_F_SXNET_GET_ID_ASC,4,2 ; @X509V3_F_SXNET_GET_ID_ASC
.comm _X509V3_R_ERROR_CONVERTING_ZONE,4,2 ; @X509V3_R_ERROR_CONVERTING_ZONE
.subsections_via_symbols
| AnghaBench/openssl/crypto/x509/extr_v3_sxnet.c_SXNET_get_id_asc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nr_queue_rx_frame
_nr_queue_rx_frame: ## @nr_queue_rx_frame
.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, %ebx
movq %rsi, %r15
movq %rdi, %r14
callq _nr_sk
movq %rax, %r12
movq %rax, %r13
movq _NR_NETWORK_LEN@GOTPCREL(%rip), %rax
movq _NR_TRANSPORT_LEN@GOTPCREL(%rip), %rcx
movq (%rcx), %rsi
addq (%rax), %rsi
movq %r15, %rdi
callq _skb_pull
movq %r14, %rdi
callq _nr_start_idletimer
testl %ebx, %ebx
je LBB0_3
## %bb.1:
movq (%r15), %rax
addq %rax, (%r13)
addq $8, %r12
movq %r12, %rdi
movq %r15, %rsi
callq _skb_queue_tail
xorl %eax, %eax
LBB0_2:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_3:
movq (%r13), %rax
testq %rax, %rax
jle LBB0_10
## %bb.4:
addq (%r15), %rax
movq %rax, (%r13)
addq $8, %r12
movq %r12, %rdi
movq %r15, %rsi
callq _skb_queue_tail
movq (%r13), %rdi
movq _GFP_ATOMIC@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _alloc_skb
testq %rax, %rax
je LBB0_5
## %bb.6:
movq %rax, %r15
movq %rax, %rdi
callq _skb_reset_transport_header
movq %r12, %rdi
callq _skb_dequeue
testq %rax, %rax
je LBB0_9
## %bb.7:
movq %rax, %rbx
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movq (%rbx), %rsi
movq %r15, %rdi
callq _skb_put
movq (%rbx), %rdx
movq %rbx, %rdi
movl %eax, %esi
callq _skb_copy_from_linear_data
movq %rbx, %rdi
callq _kfree_skb
movq %r12, %rdi
callq _skb_dequeue
movq %rax, %rbx
testq %rax, %rax
jne LBB0_8
LBB0_9:
movq $0, (%r13)
LBB0_10:
movq %r14, %rdi
movq %r15, %rsi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _sock_queue_rcv_skb ## TAILCALL
LBB0_5:
movl $1, %eax
jmp LBB0_2
.cfi_endproc
## -- End function
.comm _NR_NETWORK_LEN,8,3 ## @NR_NETWORK_LEN
.comm _NR_TRANSPORT_LEN,8,3 ## @NR_TRANSPORT_LEN
.comm _GFP_ATOMIC,4,2 ## @GFP_ATOMIC
.no_dead_strip _nr_queue_rx_frame
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nr_queue_rx_frame
_nr_queue_rx_frame: ; @nr_queue_rx_frame
.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 x22, x2
mov x20, x1
mov x19, x0
bl _nr_sk
mov x21, x0
Lloh0:
adrp x8, _NR_NETWORK_LEN@GOTPAGE
Lloh1:
ldr x8, [x8, _NR_NETWORK_LEN@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x9, _NR_TRANSPORT_LEN@GOTPAGE
Lloh4:
ldr x9, [x9, _NR_TRANSPORT_LEN@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
add x1, x9, x8
mov x0, x20
bl _skb_pull
mov x0, x19
bl _nr_start_idletimer
cbz w22, LBB0_3
; %bb.1:
ldr x8, [x20]
ldr x9, [x21]
add x8, x9, x8
str x8, [x21], #8
mov x0, x21
mov x1, x20
bl _skb_queue_tail
mov w0, #0
LBB0_2:
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_3:
ldr x8, [x21]
cmp x8, #1
b.lt LBB0_9
; %bb.4:
ldr x9, [x20]
add x8, x9, x8
str x8, [x21]
add x22, x21, #8
mov x0, x22
mov x1, x20
bl _skb_queue_tail
ldr x0, [x21]
Lloh6:
adrp x8, _GFP_ATOMIC@GOTPAGE
Lloh7:
ldr x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
bl _alloc_skb
cbz x0, LBB0_10
; %bb.5:
mov x20, x0
bl _skb_reset_transport_header
mov x0, x22
bl _skb_dequeue
cbz x0, LBB0_8
; %bb.6:
mov x23, x0
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr x1, [x23]
mov x0, x20
bl _skb_put
mov x1, x0
ldr x2, [x23]
mov x0, x23
bl _skb_copy_from_linear_data
mov x0, x23
bl _kfree_skb
mov x0, x22
bl _skb_dequeue
mov x23, x0
cbnz x0, LBB0_7
LBB0_8:
str xzr, [x21]
LBB0_9:
mov x0, x19
mov x1, 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 _sock_queue_rcv_skb
LBB0_10:
mov w0, #1
b LBB0_2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _NR_NETWORK_LEN,8,3 ; @NR_NETWORK_LEN
.comm _NR_TRANSPORT_LEN,8,3 ; @NR_TRANSPORT_LEN
.comm _GFP_ATOMIC,4,2 ; @GFP_ATOMIC
.no_dead_strip _nr_queue_rx_frame
.subsections_via_symbols
| AnghaBench/linux/net/netrom/extr_nr_in.c_nr_queue_rx_frame.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _execute_action_list ## -- Begin function execute_action_list
.p2align 4, 0x90
_execute_action_list: ## @execute_action_list
.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
testl %edx, %edx
setne %al
testl %esi, %esi
sets %cl
xorl %r15d, %r15d
orb %al, %cl
jne LBB0_5
## %bb.1:
movq %rdi, %rbx
movl %esi, %r13d
leaq L_.str(%rip), %r12
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
movl %r14d, %esi
xorl %eax, %eax
callq _T_LOG
movq %rbx, %rdi
callq _execute_action
movl (%rax), %r15d
testl %r15d, %r15d
jne LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
xorl %r15d, %r15d
leaq L_.str.2(%rip), %rdi
movl %r14d, %esi
xorl %eax, %eax
callq _T_LOG
decq %r14
addq $-4, %rbx
cmpq %r13, %r14
jle LBB0_2
jmp LBB0_5
LBB0_3:
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl %ebx, %edi
callq _strerror
leaq L_.str.1(%rip), %rdi
movl %r14d, %esi
movl %r15d, %edx
movl %ebx, %ecx
movl %eax, %r8d
xorl %eax, %eax
callq _T_LOG
LBB0_5:
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Starting prep action %d\n"
L_.str.1: ## @.str.1
.asciz "Action list failed on step %d. res = %d errno = %d (%s)\n"
.comm _errno,4,2 ## @errno
L_.str.2: ## @.str.2
.asciz "Action list work succeeded on step %d.\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _execute_action_list ; -- Begin function execute_action_list
.p2align 2
_execute_action_list: ; @execute_action_list
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov w21, #0 ; =0x0
cbnz w2, LBB0_7
; %bb.1:
tbnz w1, #31, LBB0_7
; %bb.2:
mov x20, x0
mov x19, #0 ; =0x0
mov w24, w1
Lloh0:
adrp x22, l_.str@PAGE
Lloh1:
add x22, x22, l_.str@PAGEOFF
Lloh2:
adrp x23, l_.str.2@PAGE
Lloh3:
add x23, x23, l_.str.2@PAGEOFF
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x22
mov x1, x19
bl _T_LOG
mov x0, x20
bl _execute_action
ldr w21, [x0]
cbnz w21, LBB0_6
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x0, x23
mov x1, x19
bl _T_LOG
sub x19, x19, #1
sub x20, x20, #4
cmp x19, x24
b.le LBB0_3
; %bb.5:
mov w21, #0 ; =0x0
b LBB0_7
LBB0_6:
Lloh4:
adrp x8, _errno@GOTPAGE
Lloh5:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh6:
ldr w20, [x8]
mov x0, x20
bl _strerror
; kill: def $w0 killed $w0 def $x0
stp x20, x0, [sp, #8]
str x21, [sp]
Lloh7:
adrp x0, l_.str.1@PAGE
Lloh8:
add x0, x0, l_.str.1@PAGEOFF
mov x1, x19
bl _T_LOG
LBB0_7:
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
add sp, sp, #96
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Starting prep action %d\n"
l_.str.1: ; @.str.1
.asciz "Action list failed on step %d. res = %d errno = %d (%s)\n"
.comm _errno,4,2 ; @errno
l_.str.2: ; @.str.2
.asciz "Action list work succeeded on step %d.\n"
.subsections_via_symbols
| assembly_file_134537.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function parse_hex4
_parse_hex4: ## @parse_hex4
.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
.cfi_offset %rbx, -24
movzbl (%rdi), %r8d
leal -48(%r8), %eax
movl $-48, %edx
movl $-48, %r11d
cmpb $10, %al
jb LBB0_3
## %bb.1:
leal -65(%r8), %eax
movl $-55, %r11d
cmpb $6, %al
jb LBB0_3
## %bb.2:
leal -97(%r8), %ecx
xorl %eax, %eax
movl $-87, %r11d
cmpb $5, %cl
ja LBB0_13
LBB0_3:
movzbl 1(%rdi), %r9d
leal -48(%r9), %eax
cmpb $10, %al
jb LBB0_6
## %bb.4:
leal -65(%r9), %eax
movl $-55, %edx
cmpb $6, %al
jb LBB0_6
## %bb.5:
leal -97(%r9), %ecx
xorl %eax, %eax
movl $-87, %edx
cmpb $5, %cl
ja LBB0_13
LBB0_6:
movzbl 2(%rdi), %r10d
leal -48(%r10), %eax
movl $-48, %ecx
movl $-48, %esi
cmpb $10, %al
jb LBB0_9
## %bb.7:
leal -65(%r10), %eax
movl $-55, %esi
cmpb $6, %al
jb LBB0_9
## %bb.8:
leal -97(%r10), %ebx
xorl %eax, %eax
movl $-87, %esi
cmpb $5, %bl
ja LBB0_13
LBB0_9:
movzbl 3(%rdi), %edi
leal -48(%rdi), %eax
cmpb $10, %al
jb LBB0_12
## %bb.10:
leal -65(%rdi), %eax
movl $-55, %ecx
cmpb $6, %al
jb LBB0_12
## %bb.11:
leal -97(%rdi), %ebx
xorl %eax, %eax
movl $-87, %ecx
cmpb $5, %bl
ja LBB0_13
LBB0_12:
addl %r8d, %r11d
shll $4, %r11d
addl %r9d, %edx
addl %r11d, %edx
shll $4, %edx
addl %r10d, %esi
addl %edx, %esi
shll $4, %esi
addl %edi, %ecx
addl %esi, %ecx
movl %ecx, %eax
LBB0_13:
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _parse_hex4
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function parse_hex4
_parse_hex4: ; @parse_hex4
.cfi_startproc
; %bb.0:
ldrb w8, [x0]
sub w9, w8, #48
cmp w9, #10
b.hs LBB0_2
; %bb.1:
mov w9, #-48
b LBB0_6
LBB0_2:
sub w9, w8, #65
cmp w9, #6
b.hs LBB0_4
; %bb.3:
mov w9, #-55
b LBB0_6
LBB0_4:
sub w9, w8, #97
cmp w9, #5
b.hi LBB0_25
; %bb.5:
mov w9, #-87
LBB0_6:
ldrb w10, [x0, #1]
sub w11, w10, #48
cmp w11, #10
b.hs LBB0_8
; %bb.7:
mov w11, #-48
b LBB0_12
LBB0_8:
sub w11, w10, #65
cmp w11, #6
b.hs LBB0_10
; %bb.9:
mov w11, #-55
b LBB0_12
LBB0_10:
sub w11, w10, #97
cmp w11, #5
b.hi LBB0_25
; %bb.11:
mov w11, #-87
LBB0_12:
ldrb w12, [x0, #2]
sub w13, w12, #48
cmp w13, #10
b.hs LBB0_14
; %bb.13:
mov w13, #-48
b LBB0_18
LBB0_14:
sub w13, w12, #65
cmp w13, #6
b.hs LBB0_16
; %bb.15:
mov w13, #-55
b LBB0_18
LBB0_16:
sub w13, w12, #97
cmp w13, #5
b.hi LBB0_25
; %bb.17:
mov w13, #-87
LBB0_18:
ldrb w14, [x0, #3]
sub w15, w14, #48
cmp w15, #10
b.hs LBB0_20
; %bb.19:
mov w15, #-48
b LBB0_24
LBB0_20:
sub w15, w14, #65
cmp w15, #6
b.hs LBB0_22
; %bb.21:
mov w15, #-55
b LBB0_24
LBB0_22:
sub w15, w14, #97
cmp w15, #5
b.hi LBB0_25
; %bb.23:
mov w15, #-87
LBB0_24:
add w8, w9, w8
lsl w8, w8, #4
add w9, w11, w10
add w8, w9, w8
lsl w8, w8, #4
add w9, w13, w12
add w8, w9, w8
lsl w8, w8, #4
add w9, w15, w14
add w0, w9, w8
ret
LBB0_25:
mov w0, #0
ret
.cfi_endproc
; -- End function
.no_dead_strip _parse_hex4
.subsections_via_symbols
| AnghaBench/TDengine/src/modules/http/src/extr_cJSON.c_parse_hex4.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function reader_parse_whitespace
_reader_parse_whitespace: ## @reader_parse_whitespace
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movl (%rdi), %eax
cmpl $128, %eax
je LBB0_3
## %bb.1:
cmpl $129, %eax
jne LBB0_5
## %bb.2:
movq %rbx, %rdi
callq _reader_shrink
movl $128, (%rbx)
movq %rbx, %rdi
callq _reader_get_cur
movq 8(%rbx), %rcx
movq _XmlReadResume_Body@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %rax, (%rcx,%rdx,8)
movq _XmlNodeType_Whitespace@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 16(%rbx)
movq _StringValue_LocalName@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _strval_empty@GOTPCREL(%rip), %r14
movq %rbx, %rdi
movq %r14, %rdx
callq _reader_set_strvalue
movq _StringValue_QualifiedName@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
movq %r14, %rdx
callq _reader_set_strvalue
movq _StringValue_Value@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
movq %r14, %rdx
callq _reader_set_strvalue
LBB0_3:
movq %rbx, %rdi
callq _reader_skipspaces
movq %rbx, %rdi
callq _is_reader_pending
testl %eax, %eax
jne LBB0_5
## %bb.4:
movq 8(%rbx), %rax
movq _XmlReadResume_Body@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq (%rax,%rcx,8), %r14
movq %rbx, %rdi
callq _reader_get_cur
subq %r14, %rax
leaq -28(%rbp), %r15
movq %r14, %rdi
movq %rax, %rsi
movq %r15, %rdx
callq _reader_init_strvalue
movq _StringValue_Value@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
movq %r15, %rdx
callq _reader_set_strvalue
movq %rbx, %rdi
movq %r15, %rsi
callq _debug_strval
leaq L_.str(%rip), %rdi
movl %eax, %esi
callq _TRACE
movl $129, (%rbx)
LBB0_5:
movq _S_OK@GOTPCREL(%rip), %rax
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _XmlReadResume_Body,8,3 ## @XmlReadResume_Body
.comm _XmlNodeType_Whitespace,4,2 ## @XmlNodeType_Whitespace
.comm _StringValue_LocalName,4,2 ## @StringValue_LocalName
.comm _strval_empty,4,2 ## @strval_empty
.comm _StringValue_QualifiedName,4,2 ## @StringValue_QualifiedName
.comm _StringValue_Value,4,2 ## @StringValue_Value
.comm _S_OK,4,2 ## @S_OK
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s\n"
.no_dead_strip _reader_parse_whitespace
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function reader_parse_whitespace
_reader_parse_whitespace: ; @reader_parse_whitespace
.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 w8, [x0]
cmp w8, #128
b.eq LBB0_3
; %bb.1:
cmp w8, #129
b.ne LBB0_5
; %bb.2:
mov x0, x19
bl _reader_shrink
mov w8, #128
str w8, [x19]
mov x0, x19
bl _reader_get_cur
Lloh0:
adrp x8, _XmlReadResume_Body@GOTPAGE
Lloh1:
ldr x8, [x8, _XmlReadResume_Body@GOTPAGEOFF]
ldr x9, [x19, #8]
Lloh2:
ldr x8, [x8]
str x0, [x9, x8, lsl #3]
Lloh3:
adrp x8, _XmlNodeType_Whitespace@GOTPAGE
Lloh4:
ldr x8, [x8, _XmlNodeType_Whitespace@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
str w8, [x19, #16]
Lloh6:
adrp x8, _StringValue_LocalName@GOTPAGE
Lloh7:
ldr x8, [x8, _StringValue_LocalName@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
Lloh9:
adrp x20, _strval_empty@GOTPAGE
Lloh10:
ldr x20, [x20, _strval_empty@GOTPAGEOFF]
mov x0, x19
mov x2, x20
bl _reader_set_strvalue
Lloh11:
adrp x8, _StringValue_QualifiedName@GOTPAGE
Lloh12:
ldr x8, [x8, _StringValue_QualifiedName@GOTPAGEOFF]
Lloh13:
ldr w1, [x8]
mov x0, x19
mov x2, x20
bl _reader_set_strvalue
Lloh14:
adrp x8, _StringValue_Value@GOTPAGE
Lloh15:
ldr x8, [x8, _StringValue_Value@GOTPAGEOFF]
Lloh16:
ldr w1, [x8]
mov x0, x19
mov x2, x20
bl _reader_set_strvalue
LBB0_3:
mov x0, x19
bl _reader_skipspaces
mov x0, x19
bl _is_reader_pending
cbnz w0, LBB0_5
; %bb.4:
ldr x8, [x19, #8]
Lloh17:
adrp x9, _XmlReadResume_Body@GOTPAGE
Lloh18:
ldr x9, [x9, _XmlReadResume_Body@GOTPAGEOFF]
Lloh19:
ldr x9, [x9]
ldr x20, [x8, x9, lsl #3]
mov x0, x19
bl _reader_get_cur
sub x1, x0, x20
add x2, sp, #12
mov x0, x20
bl _reader_init_strvalue
Lloh20:
adrp x8, _StringValue_Value@GOTPAGE
Lloh21:
ldr x8, [x8, _StringValue_Value@GOTPAGEOFF]
Lloh22:
ldr w1, [x8]
add x2, sp, #12
mov x0, x19
bl _reader_set_strvalue
add x1, sp, #12
mov x0, x19
bl _debug_strval
mov x1, x0
Lloh23:
adrp x0, l_.str@PAGE
Lloh24:
add x0, x0, l_.str@PAGEOFF
bl _TRACE
mov w8, #129
str w8, [x19]
LBB0_5:
Lloh25:
adrp x8, _S_OK@GOTPAGE
Lloh26:
ldr x8, [x8, _S_OK@GOTPAGEOFF]
Lloh27:
ldr w0, [x8]
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 Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.cfi_endproc
; -- End function
.comm _XmlReadResume_Body,8,3 ; @XmlReadResume_Body
.comm _XmlNodeType_Whitespace,4,2 ; @XmlNodeType_Whitespace
.comm _StringValue_LocalName,4,2 ; @StringValue_LocalName
.comm _strval_empty,4,2 ; @strval_empty
.comm _StringValue_QualifiedName,4,2 ; @StringValue_QualifiedName
.comm _StringValue_Value,4,2 ; @StringValue_Value
.comm _S_OK,4,2 ; @S_OK
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s\n"
.no_dead_strip _reader_parse_whitespace
.subsections_via_symbols
| AnghaBench/reactos/dll/win32/xmllite/extr_reader.c_reader_parse_whitespace.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ag71xx_rings_init
_ag71xx_rings_init: ## @ag71xx_rings_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 %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
addq $4, %rdi
movq _AG71XX_TX_RING_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _ag71xx_ring_alloc
testl %eax, %eax
jne LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _ag71xx_ring_tx_init
movq _AG71XX_RX_RING_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _ag71xx_ring_alloc
testl %eax, %eax
je LBB0_3
LBB0_2:
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_3:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _ag71xx_ring_rx_init ## TAILCALL
.cfi_endproc
## -- End function
.comm _AG71XX_TX_RING_SIZE,4,2 ## @AG71XX_TX_RING_SIZE
.comm _AG71XX_RX_RING_SIZE,4,2 ## @AG71XX_RX_RING_SIZE
.no_dead_strip _ag71xx_rings_init
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ag71xx_rings_init
_ag71xx_rings_init: ; @ag71xx_rings_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 x19, x0
add x0, x0, #4
Lloh0:
adrp x8, _AG71XX_TX_RING_SIZE@GOTPAGE
Lloh1:
ldr x8, [x8, _AG71XX_TX_RING_SIZE@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _ag71xx_ring_alloc
cbnz w0, LBB0_2
; %bb.1:
mov x0, x19
bl _ag71xx_ring_tx_init
Lloh3:
adrp x8, _AG71XX_RX_RING_SIZE@GOTPAGE
Lloh4:
ldr x8, [x8, _AG71XX_RX_RING_SIZE@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x0, x19
bl _ag71xx_ring_alloc
cbz w0, LBB0_3
LBB0_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_3:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _ag71xx_ring_rx_init
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _AG71XX_TX_RING_SIZE,4,2 ; @AG71XX_TX_RING_SIZE
.comm _AG71XX_RX_RING_SIZE,4,2 ; @AG71XX_RX_RING_SIZE
.no_dead_strip _ag71xx_rings_init
.subsections_via_symbols
| AnghaBench/lede/package/boot/uboot-ar71xx/src/drivers/net/extr_ag71xx.c_ag71xx_rings_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function AddOnePixel
LCPI0_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_AddOnePixel: ## @AddOnePixel
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movsd (%rdi), %xmm1 ## xmm1 = mem[0],zero
addsd %xmm0, %xmm1
movsd %xmm1, (%rdi)
movapd %xmm0, %xmm1
mulsd %xmm0, %xmm1
addsd 8(%rdi), %xmm1
movsd %xmm1, 8(%rdi)
movsd 16(%rdi), %xmm1 ## xmm1 = mem[0],zero
addsd LCPI0_0(%rip), %xmm1
movsd %xmm1, 16(%rdi)
ucomisd 24(%rdi), %xmm0
jbe LBB0_2
## %bb.1:
movsd %xmm0, 24(%rdi)
LBB0_2:
movsd 32(%rdi), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
jbe LBB0_4
## %bb.3:
movsd %xmm0, 32(%rdi)
LBB0_4:
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _g_aug_volatile_1633 ## @g_aug_volatile_1633
.p2align 2, 0x0
_g_aug_volatile_1633:
.long 8 ## 0x8
.no_dead_strip _AddOnePixel
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function AddOnePixel
_AddOnePixel: ; @AddOnePixel
.cfi_startproc
; %bb.0:
ldp d1, d2, [x0]
fadd d1, d1, d0
fmadd d2, d0, d0, d2
stp d1, d2, [x0]
fmov d1, #1.00000000
ldp d2, d3, [x0, #16]
fadd d1, d2, d1
str d1, [x0, #16]
fcmp d3, d0
b.pl LBB0_2
; %bb.1:
str d0, [x0, #24]
LBB0_2:
ldr d1, [x0, #32]
fcmp d1, d0
b.le LBB0_4
; %bb.3:
str d0, [x0, #32]
LBB0_4:
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _g_aug_volatile_1633 ; @g_aug_volatile_1633
.p2align 2, 0x0
_g_aug_volatile_1633:
.long 8 ; 0x8
.no_dead_strip _AddOnePixel
.subsections_via_symbols
| assembly_file_126920.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rndis_filter_open_device
_rndis_filter_open_device: ## @rndis_filter_open_device
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq (%rdi), %rcx
movq _RNDIS_DEV_INITIALIZED@GOTPCREL(%rip), %rdx
xorl %eax, %eax
cmpq (%rdx), %rcx
jne LBB0_3
## %bb.1:
movq %rdi, %rbx
movq _NDIS_PACKET_TYPE_BROADCAST@GOTPCREL(%rip), %rax
movq _NDIS_PACKET_TYPE_ALL_MULTICAST@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
orl (%rax), %esi
movq _NDIS_PACKET_TYPE_DIRECTED@GOTPCREL(%rip), %rax
orl (%rax), %esi
callq _rndis_filter_set_packet_filter
testl %eax, %eax
jne LBB0_3
## %bb.2:
movq _RNDIS_DEV_DATAINITIALIZED@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, (%rbx)
xorl %eax, %eax
LBB0_3:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _RNDIS_DEV_INITIALIZED,8,3 ## @RNDIS_DEV_INITIALIZED
.comm _NDIS_PACKET_TYPE_BROADCAST,4,2 ## @NDIS_PACKET_TYPE_BROADCAST
.comm _NDIS_PACKET_TYPE_ALL_MULTICAST,4,2 ## @NDIS_PACKET_TYPE_ALL_MULTICAST
.comm _NDIS_PACKET_TYPE_DIRECTED,4,2 ## @NDIS_PACKET_TYPE_DIRECTED
.comm _RNDIS_DEV_DATAINITIALIZED,8,3 ## @RNDIS_DEV_DATAINITIALIZED
.no_dead_strip _rndis_filter_open_device
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rndis_filter_open_device
_rndis_filter_open_device: ; @rndis_filter_open_device
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldr x8, [x0]
Lloh0:
adrp x9, _RNDIS_DEV_INITIALIZED@GOTPAGE
Lloh1:
ldr x9, [x9, _RNDIS_DEV_INITIALIZED@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_3
; %bb.1:
mov x19, x0
Lloh3:
adrp x8, _NDIS_PACKET_TYPE_BROADCAST@GOTPAGE
Lloh4:
ldr x8, [x8, _NDIS_PACKET_TYPE_BROADCAST@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
Lloh6:
adrp x9, _NDIS_PACKET_TYPE_ALL_MULTICAST@GOTPAGE
Lloh7:
ldr x9, [x9, _NDIS_PACKET_TYPE_ALL_MULTICAST@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
orr w8, w9, w8
Lloh9:
adrp x9, _NDIS_PACKET_TYPE_DIRECTED@GOTPAGE
Lloh10:
ldr x9, [x9, _NDIS_PACKET_TYPE_DIRECTED@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
orr w1, w8, w9
bl _rndis_filter_set_packet_filter
cbnz w0, LBB0_4
; %bb.2:
Lloh12:
adrp x8, _RNDIS_DEV_DATAINITIALIZED@GOTPAGE
Lloh13:
ldr x8, [x8, _RNDIS_DEV_DATAINITIALIZED@GOTPAGEOFF]
Lloh14:
ldr x8, [x8]
str x8, [x19]
b LBB0_4
LBB0_3:
mov w0, #0
LBB0_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _RNDIS_DEV_INITIALIZED,8,3 ; @RNDIS_DEV_INITIALIZED
.comm _NDIS_PACKET_TYPE_BROADCAST,4,2 ; @NDIS_PACKET_TYPE_BROADCAST
.comm _NDIS_PACKET_TYPE_ALL_MULTICAST,4,2 ; @NDIS_PACKET_TYPE_ALL_MULTICAST
.comm _NDIS_PACKET_TYPE_DIRECTED,4,2 ; @NDIS_PACKET_TYPE_DIRECTED
.comm _RNDIS_DEV_DATAINITIALIZED,8,3 ; @RNDIS_DEV_DATAINITIALIZED
.no_dead_strip _rndis_filter_open_device
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/hyperv/extr_rndis_filter.c_rndis_filter_open_device.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _aarch64_get_operand_modifier_value ## -- Begin function aarch64_get_operand_modifier_value
.p2align 4, 0x90
_aarch64_get_operand_modifier_value: ## @aarch64_get_operand_modifier_value
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _aarch64_operand_modifiers@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl %edi, %ecx
movl (%rax,%rcx,4), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _aarch64_operand_modifiers,8,3 ## @aarch64_operand_modifiers
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _aarch64_get_operand_modifier_value ; -- Begin function aarch64_get_operand_modifier_value
.p2align 2
_aarch64_get_operand_modifier_value: ; @aarch64_get_operand_modifier_value
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _aarch64_operand_modifiers@GOTPAGE
Lloh1:
ldr x8, [x8, _aarch64_operand_modifiers@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldr w0, [x8, w0, uxtw #2]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _aarch64_operand_modifiers,8,3 ; @aarch64_operand_modifiers
.subsections_via_symbols
| AnghaBench/radare2/libr/asm/arch/arm/aarch64/extr_aarch64-opc.c_aarch64_get_operand_modifier_value.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_.str(%rip), %rbx
movq %rbx, %rdi
movl $97, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $98, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $99, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $100, %esi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
movq %rbx, %rdi
movl $97, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $98, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $99, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $100, %esi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%c "
.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 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 w20, #97
str x20, [sp]
Lloh0:
adrp x19, l_.str@PAGE
Lloh1:
add x19, x19, l_.str@PAGEOFF
mov x0, x19
bl _printf
mov w21, #98
str x21, [sp]
mov x0, x19
bl _printf
mov w22, #99
str x22, [sp]
mov x0, x19
bl _printf
mov w23, #100
str x23, [sp]
mov x0, x19
bl _printf
mov w0, #10
bl _putchar
str x20, [sp]
mov x0, x19
bl _printf
str x21, [sp]
mov x0, x19
bl _printf
str x22, [sp]
mov x0, x19
bl _printf
str x23, [sp]
mov x0, x19
bl _printf
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%c "
.subsections_via_symbols
| the_stack_data/150142421.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function filter_for
_filter_for: ## @filter_for
.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, %rcx
movq _g_repo@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _GIT_FILTER_TO_WORKTREE@GOTPCREL(%rip), %rax
movl (%rax), %r8d
leaq -16(%rbp), %rdi
xorl %edx, %edx
xorl %r9d, %r9d
callq _git_filter_list_load
movl %eax, %edi
callq _cl_git_pass
movq -16(%rbp), %rdi
movq %rbx, %rsi
callq _git_filter_list_contains
movl %eax, %ebx
movq -16(%rbp), %rdi
callq _git_filter_list_free
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _g_repo,4,2 ## @g_repo
.comm _GIT_FILTER_TO_WORKTREE,4,2 ## @GIT_FILTER_TO_WORKTREE
.no_dead_strip _filter_for
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function filter_for
_filter_for: ; @filter_for
.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 x3, x0
Lloh0:
adrp x8, _g_repo@GOTPAGE
Lloh1:
ldr x8, [x8, _g_repo@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x8, _GIT_FILTER_TO_WORKTREE@GOTPAGE
Lloh4:
ldr x8, [x8, _GIT_FILTER_TO_WORKTREE@GOTPAGEOFF]
Lloh5:
ldr w4, [x8]
add x0, sp, #8
mov x2, #0
mov w5, #0
bl _git_filter_list_load
bl _cl_git_pass
ldr x0, [sp, #8]
mov x1, x19
bl _git_filter_list_contains
mov x19, x0
ldr x0, [sp, #8]
bl _git_filter_list_free
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 AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _g_repo,4,2 ; @g_repo
.comm _GIT_FILTER_TO_WORKTREE,4,2 ; @GIT_FILTER_TO_WORKTREE
.no_dead_strip _filter_for
.subsections_via_symbols
| AnghaBench/libgit2/tests/filter/extr_query.c_filter_for.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _BM_Config ## -- Begin function BM_Config
.p2align 4, 0x90
_BM_Config: ## @BM_Config
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq _E_INVALID_HANDLE@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %edx, %edx
callq _SANITY_CHECK_RETURN_VALUE
movl $72, %edi
callq _XX_Malloc
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %rbx
movq %rax, %rdi
xorl %esi, %esi
movl $72, %edx
callq _memset
movl $72, %edi
callq _XX_Malloc
movq %rax, 8(%rbx)
testq %rax, %rax
je LBB0_3
## %bb.4:
movq %rax, %rdi
xorl %esi, %esi
movl $72, %edx
callq _memset
movl (%r14), %eax
movl %eax, (%rbx)
movl 36(%r14), %eax
movq 8(%rbx), %rcx
movl %eax, 68(%rcx)
movl 32(%r14), %eax
movl %eax, 64(%rcx)
movl 28(%r14), %edi
callq _UINT_TO_PTR
movq %rax, 56(%rbx)
movl (%rbx), %eax
movq _NCSW_MASTER_ID@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_6
## %bb.5:
movq _DEFAULT_exceptions@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 52(%rbx)
movl 24(%r14), %eax
movl %eax, 48(%rbx)
movl 20(%r14), %eax
movl %eax, 44(%rbx)
movl 16(%r14), %eax
movl %eax, 40(%rbx)
movl 12(%r14), %eax
movq 8(%rbx), %rcx
movl %eax, 36(%rcx)
movl 8(%r14), %eax
movl %eax, 32(%rcx)
movq _DEFAULT_fbprThreshold@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 28(%rcx)
movl 4(%r14), %eax
movl %eax, 24(%rcx)
LBB0_6:
movq 16(%rbx), %rdi
movq _MODULE_NAME_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %edx
xorl %esi, %esi
callq _memset
movq 16(%rbx), %rdi
movl (%rbx), %edx
leaq L_.str.2(%rip), %rsi
callq _Sprint
xorl %ecx, %ecx
cmpl $10, (%rbx)
setl %cl
xorl $7, %ecx
cmpl %ecx, %eax
je LBB0_10
## %bb.7:
movq 8(%rbx), %rdi
callq _XX_Free
leaq L_.str.3(%rip), %r14
movq _E_INVALID_STATE@GOTPCREL(%rip), %r15
jmp LBB0_8
LBB0_1:
leaq L_.str(%rip), %r14
movq _E_NO_MEMORY@GOTPCREL(%rip), %r15
jmp LBB0_9
LBB0_3:
leaq L_.str.1(%rip), %r14
movq _E_NO_MEMORY@GOTPCREL(%rip), %r15
LBB0_8:
movq %rbx, %rdi
callq _XX_Free
LBB0_9:
movq _MAJOR@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl (%r15), %esi
movq %r14, %rdx
callq _REPORT_ERROR
xorl %ebx, %ebx
LBB0_10:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _E_INVALID_HANDLE,4,2 ## @E_INVALID_HANDLE
.comm _MAJOR,4,2 ## @MAJOR
.comm _E_NO_MEMORY,4,2 ## @E_NO_MEMORY
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "BM obj!!!"
L_.str.1: ## @.str.1
.asciz "Bm driver parameters"
.comm _NCSW_MASTER_ID,4,2 ## @NCSW_MASTER_ID
.comm _DEFAULT_exceptions,4,2 ## @DEFAULT_exceptions
.comm _DEFAULT_fbprThreshold,4,2 ## @DEFAULT_fbprThreshold
.comm _MODULE_NAME_SIZE,4,2 ## @MODULE_NAME_SIZE
L_.str.2: ## @.str.2
.asciz "BM_0_%d"
.comm _E_INVALID_STATE,4,2 ## @E_INVALID_STATE
L_.str.3: ## @.str.3
.asciz "Sprint failed"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _BM_Config ; -- Begin function BM_Config
.p2align 2
_BM_Config: ; @BM_Config
.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 x8, _E_INVALID_HANDLE@GOTPAGE
Lloh1:
ldr x8, [x8, _E_INVALID_HANDLE@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x2, #0
bl _SANITY_CHECK_RETURN_VALUE
mov w0, #72
bl _XX_Malloc
cbz x0, LBB0_6
; %bb.1:
mov x19, x0
mov w1, #0
mov w2, #72
bl _memset
mov w0, #72
bl _XX_Malloc
str x0, [x19, #8]
cbz x0, LBB0_7
; %bb.2:
mov w1, #0
mov w2, #72
bl _memset
ldr w8, [x20]
str w8, [x19]
ldr x8, [x19, #8]
ldr d0, [x20, #32]
str d0, [x8, #64]
ldr w0, [x20, #28]
bl _UINT_TO_PTR
str x0, [x19, #56]
ldr w8, [x19]
Lloh3:
adrp x9, _NCSW_MASTER_ID@GOTPAGE
Lloh4:
ldr x9, [x9, _NCSW_MASTER_ID@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
cmp w8, w9
b.ne LBB0_4
; %bb.3:
Lloh6:
adrp x8, _DEFAULT_exceptions@GOTPAGE
Lloh7:
ldr x8, [x8, _DEFAULT_exceptions@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
ldr w9, [x20, #24]
stp w9, w8, [x19, #48]
ldr d0, [x20, #16]
str d0, [x19, #40]
ldr x8, [x19, #8]
ldr d0, [x20, #8]
str d0, [x8, #32]
Lloh9:
adrp x9, _DEFAULT_fbprThreshold@GOTPAGE
Lloh10:
ldr x9, [x9, _DEFAULT_fbprThreshold@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
ldr w10, [x20, #4]
stp w10, w9, [x8, #24]
LBB0_4:
ldr x0, [x19, #16]
Lloh12:
adrp x8, _MODULE_NAME_SIZE@GOTPAGE
Lloh13:
ldr x8, [x8, _MODULE_NAME_SIZE@GOTPAGEOFF]
Lloh14:
ldr w2, [x8]
mov w1, #0
bl _memset
ldr x0, [x19, #16]
ldr w2, [x19]
Lloh15:
adrp x1, l_.str.2@PAGE
Lloh16:
add x1, x1, l_.str.2@PAGEOFF
bl _Sprint
ldr w8, [x19]
cmp w8, #10
mov w8, #6
cinc w8, w8, ge
cmp w0, w8
b.eq LBB0_10
; %bb.5:
ldr x0, [x19, #8]
bl _XX_Free
Lloh17:
adrp x20, l_.str.3@PAGE
Lloh18:
add x20, x20, l_.str.3@PAGEOFF
Lloh19:
adrp x21, _E_INVALID_STATE@GOTPAGE
Lloh20:
ldr x21, [x21, _E_INVALID_STATE@GOTPAGEOFF]
b LBB0_8
LBB0_6:
Lloh21:
adrp x20, l_.str@PAGE
Lloh22:
add x20, x20, l_.str@PAGEOFF
Lloh23:
adrp x21, _E_NO_MEMORY@GOTPAGE
Lloh24:
ldr x21, [x21, _E_NO_MEMORY@GOTPAGEOFF]
b LBB0_9
LBB0_7:
Lloh25:
adrp x20, l_.str.1@PAGE
Lloh26:
add x20, x20, l_.str.1@PAGEOFF
Lloh27:
adrp x21, _E_NO_MEMORY@GOTPAGE
Lloh28:
ldr x21, [x21, _E_NO_MEMORY@GOTPAGEOFF]
LBB0_8:
mov x0, x19
bl _XX_Free
LBB0_9:
Lloh29:
adrp x8, _MAJOR@GOTPAGE
Lloh30:
ldr x8, [x8, _MAJOR@GOTPAGEOFF]
Lloh31:
ldr w0, [x8]
ldr w1, [x21]
mov x2, x20
bl _REPORT_ERROR
mov x19, #0
LBB0_10:
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
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpLdrGot Lloh27, Lloh28
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.cfi_endproc
; -- End function
.comm _E_INVALID_HANDLE,4,2 ; @E_INVALID_HANDLE
.comm _MAJOR,4,2 ; @MAJOR
.comm _E_NO_MEMORY,4,2 ; @E_NO_MEMORY
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "BM obj!!!"
l_.str.1: ; @.str.1
.asciz "Bm driver parameters"
.comm _NCSW_MASTER_ID,4,2 ; @NCSW_MASTER_ID
.comm _DEFAULT_exceptions,4,2 ; @DEFAULT_exceptions
.comm _DEFAULT_fbprThreshold,4,2 ; @DEFAULT_fbprThreshold
.comm _MODULE_NAME_SIZE,4,2 ; @MODULE_NAME_SIZE
l_.str.2: ; @.str.2
.asciz "BM_0_%d"
.comm _E_INVALID_STATE,4,2 ; @E_INVALID_STATE
l_.str.3: ; @.str.3
.asciz "Sprint failed"
.subsections_via_symbols
| AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/BM/extr_bm.c_BM_Config.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _erofs_map_blocks ## -- Begin function erofs_map_blocks
.p2align 4, 0x90
_erofs_map_blocks: ## @erofs_map_blocks
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movq %rsi, %r15
movq %rdi, %rbx
callq _EROFS_I
movl (%rax), %edi
callq _erofs_inode_is_data_compressed
movq %rbx, %rdi
testq %rax, %rax
je LBB0_4
## %bb.1:
movq %r15, %rsi
movl %r14d, %edx
callq _z_erofs_map_blocks_iter
movl %eax, %ebx
movq (%r15), %rdi
testq %rdi, %rdi
je LBB0_3
## %bb.2:
callq _put_page
movq $0, (%r15)
LBB0_3:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
movq %r15, %rsi
movl %r14d, %edx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _erofs_map_blocks_flatmode ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _erofs_map_blocks ; -- Begin function erofs_map_blocks
.p2align 2
_erofs_map_blocks: ; @erofs_map_blocks
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x2
mov x19, x1
mov x21, x0
bl _EROFS_I
ldr w0, [x0]
bl _erofs_inode_is_data_compressed
cbz x0, LBB0_4
; %bb.1:
mov x0, x21
mov x1, x19
mov x2, x20
bl _z_erofs_map_blocks_iter
mov x20, x0
ldr x0, [x19]
cbz x0, LBB0_3
; %bb.2:
bl _put_page
str xzr, [x19]
LBB0_3:
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
LBB0_4:
mov x0, x21
mov x1, x19
mov x2, 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 _erofs_map_blocks_flatmode
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/fs/erofs/extr_data.c_erofs_map_blocks.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function armada_370_xp_irq_unmask
_armada_370_xp_irq_unmask: ## @armada_370_xp_irq_unmask
.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
callq _irqd_to_hwirq
movl %eax, %ebx
movl %eax, %edi
callq _is_percpu_irq
testl %eax, %eax
movq _per_cpu_int_base@GOTPCREL(%rip), %rax
cmoveq _main_int_base@GOTPCREL(%rip), %rax
movq _ARMADA_370_XP_INT_CLEAR_MASK_OFFS@GOTPCREL(%rip), %rcx
cmoveq _ARMADA_370_XP_INT_SET_ENABLE_OFFS@GOTPCREL(%rip), %rcx
movq (%rcx), %rsi
addq (%rax), %rsi
movl %ebx, %edi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _writel ## TAILCALL
.cfi_endproc
## -- End function
.comm _main_int_base,8,3 ## @main_int_base
.comm _ARMADA_370_XP_INT_SET_ENABLE_OFFS,8,3 ## @ARMADA_370_XP_INT_SET_ENABLE_OFFS
.comm _per_cpu_int_base,8,3 ## @per_cpu_int_base
.comm _ARMADA_370_XP_INT_CLEAR_MASK_OFFS,8,3 ## @ARMADA_370_XP_INT_CLEAR_MASK_OFFS
.no_dead_strip _armada_370_xp_irq_unmask
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function armada_370_xp_irq_unmask
_armada_370_xp_irq_unmask: ; @armada_370_xp_irq_unmask
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
bl _irqd_to_hwirq
mov x19, x0
bl _is_percpu_irq
Lloh0:
adrp x8, _main_int_base@GOTPAGE
Lloh1:
ldr x8, [x8, _main_int_base@GOTPAGEOFF]
Lloh2:
adrp x9, _per_cpu_int_base@GOTPAGE
Lloh3:
ldr x9, [x9, _per_cpu_int_base@GOTPAGEOFF]
cmp w0, #0
csel x8, x8, x9, eq
Lloh4:
adrp x9, _ARMADA_370_XP_INT_SET_ENABLE_OFFS@GOTPAGE
Lloh5:
ldr x9, [x9, _ARMADA_370_XP_INT_SET_ENABLE_OFFS@GOTPAGEOFF]
Lloh6:
adrp x10, _ARMADA_370_XP_INT_CLEAR_MASK_OFFS@GOTPAGE
Lloh7:
ldr x10, [x10, _ARMADA_370_XP_INT_CLEAR_MASK_OFFS@GOTPAGEOFF]
ldr x8, [x8]
csel x9, x9, x10, eq
ldr x9, [x9]
add x1, x9, x8
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _writel
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _main_int_base,8,3 ; @main_int_base
.comm _ARMADA_370_XP_INT_SET_ENABLE_OFFS,8,3 ; @ARMADA_370_XP_INT_SET_ENABLE_OFFS
.comm _per_cpu_int_base,8,3 ; @per_cpu_int_base
.comm _ARMADA_370_XP_INT_CLEAR_MASK_OFFS,8,3 ; @ARMADA_370_XP_INT_CLEAR_MASK_OFFS
.no_dead_strip _armada_370_xp_irq_unmask
.subsections_via_symbols
| AnghaBench/linux/drivers/irqchip/extr_irq-armada-370-xp.c_armada_370_xp_irq_unmask.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function uart_opal_probe_node
_uart_opal_probe_node: ## @uart_opal_probe_node
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $96, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
movl 8(%rdi), %r14d
xorps %xmm0, %xmm0
movups %xmm0, 16(%rdi)
leaq L_.str(%rip), %rsi
leaq -96(%rbp), %rdx
movl %r14d, %edi
movl $64, %ecx
callq _OF_getprop
testq %rax, %rax
jle LBB0_9
## %bb.1:
leaq L_.str.1(%rip), %rsi
leaq -96(%rbp), %rdi
callq _strcmp
testq %rax, %rax
je LBB0_2
LBB0_9:
movq _ENXIO@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_10:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -24(%rbp), %rcx
jne LBB0_12
## %bb.11:
addq $96, %rsp
popq %rbx
popq %r14
popq %rbp
retq
LBB0_2:
movl $-1, -100(%rbp)
leaq L_.str.2(%rip), %rsi
leaq -100(%rbp), %rdx
movl %r14d, %edi
movl $4, %ecx
callq _OF_getencprop
movl -100(%rbp), %eax
cmpl $-1, %eax
je LBB0_9
## %bb.3:
movl %eax, (%rbx)
movl %r14d, 8(%rbx)
leaq L_.str.3(%rip), %rsi
leaq -96(%rbp), %rdx
movl %r14d, %edi
movl $64, %ecx
callq _OF_getprop
testq %rax, %rax
jle LBB0_9
## %bb.4:
leaq L_.str.4(%rip), %rsi
leaq -96(%rbp), %rdi
callq _strcmp
testq %rax, %rax
je LBB0_5
## %bb.7:
leaq L_.str.5(%rip), %rsi
leaq -96(%rbp), %rdi
callq _strcmp
testq %rax, %rax
jne LBB0_9
## %bb.8:
movq _OPAL_HVSI@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_5:
movq _OPAL_RAW@GOTPCREL(%rip), %rax
LBB0_6:
movl (%rax), %eax
movl %eax, 4(%rbx)
xorl %eax, %eax
jmp LBB0_10
LBB0_12:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "device_type"
.comm _ENXIO,4,2 ## @ENXIO
L_.str.1: ## @.str.1
.asciz "serial"
L_.str.2: ## @.str.2
.asciz "reg"
L_.str.3: ## @.str.3
.asciz "compatible"
L_.str.4: ## @.str.4
.asciz "ibm,opal-console-raw"
.comm _OPAL_RAW,4,2 ## @OPAL_RAW
L_.str.5: ## @.str.5
.asciz "ibm,opal-console-hvsi"
.comm _OPAL_HVSI,4,2 ## @OPAL_HVSI
.no_dead_strip _uart_opal_probe_node
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function uart_opal_probe_node
_uart_opal_probe_node: ; @uart_opal_probe_node
.cfi_startproc
; %bb.0:
sub sp, sp, #112
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
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-24]
ldr w20, [x0, #8]
stp xzr, xzr, [x0, #16]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
add x2, sp, #8
mov x0, x20
mov w3, #64 ; =0x40
bl _OF_getprop
cmp x0, #0
b.le LBB0_2
; %bb.1:
Lloh5:
adrp x1, l_.str.1@PAGE
Lloh6:
add x1, x1, l_.str.1@PAGEOFF
add x0, sp, #8
bl _strcmp
cbz x0, LBB0_5
LBB0_2:
Lloh7:
adrp x8, _ENXIO@GOTPAGE
Lloh8:
ldr x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh9:
ldr w0, [x8]
LBB0_3:
ldur x8, [x29, #-24]
Lloh10:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh11:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_12
; %bb.4:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_5:
mov w8, #-1 ; =0xffffffff
str w8, [sp, #4]
Lloh13:
adrp x1, l_.str.2@PAGE
Lloh14:
add x1, x1, l_.str.2@PAGEOFF
add x2, sp, #4
mov x0, x20
mov w3, #4 ; =0x4
bl _OF_getencprop
ldr w8, [sp, #4]
cmn w8, #1
b.eq LBB0_2
; %bb.6:
str w8, [x19]
str w20, [x19, #8]
Lloh15:
adrp x1, l_.str.3@PAGE
Lloh16:
add x1, x1, l_.str.3@PAGEOFF
add x2, sp, #8
mov x0, x20
mov w3, #64 ; =0x40
bl _OF_getprop
cmp x0, #0
b.le LBB0_2
; %bb.7:
Lloh17:
adrp x1, l_.str.4@PAGE
Lloh18:
add x1, x1, l_.str.4@PAGEOFF
add x0, sp, #8
bl _strcmp
cbz x0, LBB0_10
; %bb.8:
Lloh19:
adrp x1, l_.str.5@PAGE
Lloh20:
add x1, x1, l_.str.5@PAGEOFF
add x0, sp, #8
bl _strcmp
cbnz x0, LBB0_2
; %bb.9:
Lloh21:
adrp x8, _OPAL_HVSI@GOTPAGE
Lloh22:
ldr x8, [x8, _OPAL_HVSI@GOTPAGEOFF]
b LBB0_11
LBB0_10:
Lloh23:
adrp x8, _OPAL_RAW@GOTPAGE
Lloh24:
ldr x8, [x8, _OPAL_RAW@GOTPAGEOFF]
LBB0_11:
ldr w8, [x8]
str w8, [x19, #4]
b LBB0_3
LBB0_12:
bl ___stack_chk_fail
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGot Lloh23, Lloh24
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "device_type"
.comm _ENXIO,4,2 ; @ENXIO
l_.str.1: ; @.str.1
.asciz "serial"
l_.str.2: ; @.str.2
.asciz "reg"
l_.str.3: ; @.str.3
.asciz "compatible"
l_.str.4: ; @.str.4
.asciz "ibm,opal-console-raw"
.comm _OPAL_RAW,4,2 ; @OPAL_RAW
l_.str.5: ; @.str.5
.asciz "ibm,opal-console-hvsi"
.comm _OPAL_HVSI,4,2 ; @OPAL_HVSI
.no_dead_strip _uart_opal_probe_node
.subsections_via_symbols
| assembly_file_103529.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pthread_attr_getdetachstate ## -- Begin function pthread_attr_getdetachstate
.p2align 4, 0x90
_pthread_attr_getdetachstate: ## @pthread_attr_getdetachstate
.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
callq _ptw32_is_attr
testq %r14, %r14
je LBB0_2
## %bb.1:
testq %rax, %rax
jne LBB0_2
## %bb.3:
movq (%rbx), %rax
movl (%rax), %eax
movl %eax, (%r14)
xorl %eax, %eax
jmp LBB0_4
LBB0_2:
movq _EINVAL@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_4:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pthread_attr_getdetachstate ; -- Begin function pthread_attr_getdetachstate
.p2align 2
_pthread_attr_getdetachstate: ; @pthread_attr_getdetachstate
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
bl _ptw32_is_attr
cbz x19, LBB0_3
; %bb.1:
cbnz x0, LBB0_3
; %bb.2:
ldr x8, [x20]
ldr w8, [x8]
str w8, [x19]
b LBB0_4
LBB0_3:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
LBB0_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.subsections_via_symbols
| AnghaBench/obs-studio/deps/w32-pthreads/extr_pthread_attr_getdetachstate.c_pthread_attr_getdetachstate.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function test_fcvt
LCPI0_0:
.quad 0x3f1a36e2eb1c432d ## double 1.0E-4
LCPI0_1:
.quad 0xc05bc001a36e2eb2 ## double -111.0001
LCPI0_2:
.quad 0x405bc001a36e2eb2 ## double 111.0001
LCPI0_3:
.quad 0xc05ec001a36e2eb2 ## double -123.0001
LCPI0_4:
.quad 0x4058ff5c28f5c28f ## double 99.989999999999994
LCPI0_5:
.quad 0x3f7a0cf1800a7c5b ## double 0.0063600000000000002
LCPI0_6:
.quad 0x3fb99999996d9e9a ## double 0.099999999960000002
LCPI0_7:
.quad 0x3fe3333333333333 ## double 0.59999999999999998
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_test_fcvt: ## @test_fcvt
.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 $100, -48(%rbp)
movl $100, -44(%rbp)
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = [1.0E-4,0.0E+0]
leaq -48(%rbp), %rbx
leaq -44(%rbp), %r15
movl $1, %edi
movq %rbx, %rsi
movq %r15, %rdx
callq __fcvt
movq %rax, %r12
leaq L_.str(%rip), %rsi
movq %rax, %rdi
callq _strcmp
xorl %edi, %edi
testq %rax, %rax
sete %dil
leaq L_.str.1(%rip), %rsi
movq %r12, %rdx
xorl %eax, %eax
callq _ok
movl -48(%rbp), %edx
xorl %edi, %edi
cmpl $-3, %edx
sete %dil
leaq L_.str.2(%rip), %r14
movq %r14, %rsi
xorl %eax, %eax
callq _ok
xorl %edi, %edi
cmpl $0, -44(%rbp)
sete %dil
leaq L_.str.3(%rip), %r13
movq %r13, %rsi
xorl %eax, %eax
callq _ok
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = [1.0E-4,0.0E+0]
movl $-10, %edi
movq %rbx, %rsi
movq %r15, %rdx
callq __fcvt
movq %rax, %r12
movq %rax, %rdi
leaq L_.str(%rip), %rsi
callq _strcmp
xorl %edi, %edi
testq %rax, %rax
sete %dil
leaq L_.str.1(%rip), %rsi
movq %r12, %rdx
xorl %eax, %eax
callq _ok
movl -48(%rbp), %edx
xorl %edi, %edi
cmpl $-3, %edx
sete %dil
movq %r14, %rsi
xorl %eax, %eax
callq _ok
xorl %edi, %edi
cmpl $0, -44(%rbp)
sete %dil
movq %r13, %rsi
xorl %eax, %eax
callq _ok
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = [1.0E-4,0.0E+0]
movl $10, %edi
movq %rbx, %rsi
movq %r15, %rdx
callq __fcvt
movq %rax, %r12
leaq L_.str.4(%rip), %rsi
movq %rax, %rdi
callq _strcmp
xorl %edi, %edi
testq %rax, %rax
sete %dil
leaq L_.str.1(%rip), %rsi
movq %r12, %rdx
xorl %eax, %eax
callq _ok
movl -48(%rbp), %edx
xorl %edi, %edi
cmpl $-3, %edx
sete %dil
movq %r14, %rsi
xorl %eax, %eax
callq _ok
xorl %edi, %edi
cmpl $0, -44(%rbp)
sete %dil
movq %r13, %r12
movq %r13, %rsi
xorl %eax, %eax
callq _ok
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = [-1.110001E+2,0.0E+0]
movl $5, %edi
movq %rbx, %rsi
movq %r15, %rdx
callq __fcvt
movq %rax, %rbx
leaq L_.str.5(%rip), %rsi
movq %rax, %rdi
callq _strcmp
xorl %edi, %edi
testq %rax, %rax
sete %dil
leaq L_.str.1(%rip), %r13
movq %r13, %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq _ok
movl -48(%rbp), %edx
xorl %edi, %edi
cmpl $3, %edx
sete %dil
movq %r14, %rsi
xorl %eax, %eax
callq _ok
xorl %edi, %edi
cmpl $1, -44(%rbp)
sete %dil
movq %r12, %rsi
xorl %eax, %eax
callq _ok
movsd LCPI0_2(%rip), %xmm0 ## xmm0 = [1.110001E+2,0.0E+0]
movl $5, %edi
leaq -48(%rbp), %rsi
movq %rsi, %r14
movq %r15, %rdx
callq __fcvt
movq %rax, %rbx
movq %rax, %rdi
leaq L_.str.5(%rip), %rsi
callq _strcmp
xorl %edi, %edi
testq %rax, %rax
sete %dil
movq %r13, %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq _ok
xorl %edi, %edi
cmpl $3, -48(%rbp)
sete %dil
leaq L_.str.6(%rip), %rsi
xorl %eax, %eax
callq _ok
xorl %edi, %edi
cmpl $0, -44(%rbp)
sete %dil
movq %r12, %rsi
xorl %eax, %eax
callq _ok
xorps %xmm0, %xmm0
movl $5, %edi
movq %r14, %rsi
movq %r15, %rdx
callq __fcvt
movq %rax, %rbx
leaq L_.str.7(%rip), %rsi
movq %rax, %rdi
callq _strcmp
xorl %edi, %edi
testq %rax, %rax
sete %dil
movq %r13, %rsi
movq %r13, %r15
movq %rbx, %rdx
xorl %eax, %eax
callq _ok
movl -48(%rbp), %edx
xorl %edi, %edi
testl %edx, %edx
sete %dil
leaq L_.str.2(%rip), %r13
movq %r13, %rsi
xorl %eax, %eax
callq _ok
xorl %edi, %edi
cmpl $0, -44(%rbp)
sete %dil
movq %r12, %rsi
xorl %eax, %eax
callq _ok
xorps %xmm0, %xmm0
xorl %edi, %edi
movq %r14, %rsi
leaq -44(%rbp), %rdx
callq __fcvt
movq %rax, %rbx
movq %rax, %rdi
leaq L_.str(%rip), %r14
movq %r14, %rsi
callq _strcmp
xorl %edi, %edi
testq %rax, %rax
sete %dil
movq %r15, %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq _ok
movl -48(%rbp), %edx
xorl %edi, %edi
testl %edx, %edx
sete %dil
movq %r13, %rsi
xorl %eax, %eax
callq _ok
xorl %edi, %edi
cmpl $0, -44(%rbp)
sete %dil
movq %r12, %rsi
movq %r12, %r15
xorl %eax, %eax
callq _ok
xorps %xmm0, %xmm0
movl $-1, %edi
leaq -48(%rbp), %rsi
movq %rsi, %r12
leaq -44(%rbp), %rdx
callq __fcvt
movq %rax, %rbx
movq %rax, %rdi
movq %r14, %rsi
callq _strcmp
xorl %edi, %edi
testq %rax, %rax
sete %dil
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq _ok
movl -48(%rbp), %edx
xorl %edi, %edi
testl %edx, %edx
sete %dil
movq %r13, %rsi
movq %r13, %r14
xorl %eax, %eax
callq _ok
xorl %edi, %edi
cmpl $0, -44(%rbp)
sete %dil
movq %r15, %rsi
movq %r15, %r13
xorl %eax, %eax
callq _ok
movsd LCPI0_3(%rip), %xmm0 ## xmm0 = [-1.230001E+2,0.0E+0]
xorl %edi, %edi
movq %r12, %rsi
movq %r12, %r15
leaq -44(%rbp), %rdx
callq __fcvt
movq %rax, %rbx
leaq L_.str.8(%rip), %rsi
movq %rax, %rdi
callq _strcmp
xorl %edi, %edi
testq %rax, %rax
sete %dil
leaq L_.str.1(%rip), %rsi
movq %rsi, %r12
movq %rbx, %rdx
xorl %eax, %eax
callq _ok
movl -48(%rbp), %edx
xorl %edi, %edi
cmpl $3, %edx
sete %dil
movq %r14, %rsi
xorl %eax, %eax
callq _ok
xorl %edi, %edi
cmpl $1, -44(%rbp)
sete %dil
movq %r13, %rsi
xorl %eax, %eax
callq _ok
movsd LCPI0_3(%rip), %xmm0 ## xmm0 = [-1.230001E+2,0.0E+0]
movl $-1, %edi
movq %r15, %rsi
leaq -44(%rbp), %rdx
callq __fcvt
movq %rax, %rbx
leaq L_.str.9(%rip), %rsi
movq %rax, %rdi
callq _strcmp
xorl %edi, %edi
testq %rax, %rax
sete %dil
movq %r12, %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq _ok
movl -48(%rbp), %edx
xorl %edi, %edi
cmpl $3, %edx
sete %dil
movq %r14, %rsi
xorl %eax, %eax
callq _ok
xorl %edi, %edi
cmpl $1, -44(%rbp)
sete %dil
movq %r13, %rsi
movq %r13, %r12
xorl %eax, %eax
callq _ok
movsd LCPI0_3(%rip), %xmm0 ## xmm0 = [-1.230001E+2,0.0E+0]
movl $-2, %edi
movq %r15, %rsi
movq %r15, %r13
leaq -44(%rbp), %rdx
callq __fcvt
movq %rax, %rbx
leaq L_.str.10(%rip), %rsi
movq %rax, %rdi
callq _strcmp
xorl %edi, %edi
testq %rax, %rax
sete %dil
leaq L_.str.1(%rip), %rsi
movq %rsi, %r15
movq %rbx, %rdx
xorl %eax, %eax
callq _ok
movl -48(%rbp), %edx
xorl %edi, %edi
cmpl $3, %edx
sete %dil
movq %r14, %rsi
xorl %eax, %eax
callq _ok
xorl %edi, %edi
cmpl $1, -44(%rbp)
sete %dil
movq %r12, %rsi
xorl %eax, %eax
callq _ok
movsd LCPI0_3(%rip), %xmm0 ## xmm0 = [-1.230001E+2,0.0E+0]
movl $-3, %edi
movq %r13, %rsi
leaq -44(%rbp), %rdx
callq __fcvt
movq %rax, %rbx
movq %rax, %rdi
leaq L_.str(%rip), %rsi
callq _strcmp
xorl %edi, %edi
testq %rax, %rax
sete %dil
movq %r15, %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq _ok
movl -48(%rbp), %edx
xorl %edi, %edi
cmpl $3, %edx
sete %dil
movq %r14, %rsi
xorl %eax, %eax
callq _ok
xorl %edi, %edi
cmpl $1, -44(%rbp)
sete %dil
movq %r12, %rsi
xorl %eax, %eax
callq _ok
movsd LCPI0_4(%rip), %xmm0 ## xmm0 = [9.9989999999999994E+1,0.0E+0]
movl $1, %edi
movq %r13, %rsi
leaq -44(%rbp), %rdx
callq __fcvt
movq %rax, %rbx
leaq L_.str.11(%rip), %rsi
movq %rax, %rdi
callq _strcmp
xorl %edi, %edi
testq %rax, %rax
sete %dil
movq %r15, %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq _ok
movl -48(%rbp), %edx
xorl %edi, %edi
cmpl $3, %edx
sete %dil
movq %r14, %rsi
xorl %eax, %eax
callq _ok
xorl %edi, %edi
cmpl $0, -44(%rbp)
sete %dil
movq %r12, %rsi
xorl %eax, %eax
callq _ok
movsd LCPI0_5(%rip), %xmm0 ## xmm0 = [6.3600000000000002E-3,0.0E+0]
movl $2, %edi
movq %r13, %rsi
leaq -44(%rbp), %rdx
movq %rdx, %r12
callq __fcvt
movq %rax, %rbx
movq %rax, %rdi
leaq L_.str.10(%rip), %rsi
callq _strcmp
xorl %edi, %edi
testq %rax, %rax
sete %dil
movq %r15, %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq _ok
movl -48(%rbp), %edx
xorl %edi, %edi
cmpl $-1, %edx
sete %dil
movq %r14, %rsi
xorl %eax, %eax
callq _ok
xorl %edi, %edi
cmpl $0, -44(%rbp)
sete %dil
leaq L_.str.3(%rip), %rsi
movq %rsi, %r15
xorl %eax, %eax
callq _ok
movsd LCPI0_5(%rip), %xmm0 ## xmm0 = [6.3600000000000002E-3,0.0E+0]
movl $3, %edi
movq %r13, %rsi
movq %r12, %rdx
callq __fcvt
movq %rax, %rbx
leaq L_.str.12(%rip), %rsi
movq %rax, %rdi
callq _strcmp
xorl %edi, %edi
testq %rax, %rax
sete %dil
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq _ok
movl -48(%rbp), %edx
xorl %edi, %edi
cmpl $-2, %edx
sete %dil
movq %r14, %rsi
xorl %eax, %eax
callq _ok
xorl %edi, %edi
cmpl $0, -44(%rbp)
sete %dil
movq %r15, %rsi
xorl %eax, %eax
callq _ok
movsd LCPI0_6(%rip), %xmm0 ## xmm0 = [9.9999999960000002E-2,0.0E+0]
movl $2, %edi
movq %r13, %rsi
movq %r12, %rdx
callq __fcvt
movq %rax, %rbx
leaq L_.str.13(%rip), %rsi
movq %rax, %rdi
callq _strcmp
xorl %edi, %edi
testq %rax, %rax
sete %dil
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq _ok
movl -48(%rbp), %edx
xorl %edi, %edi
testl %edx, %edx
sete %dil
movq %r14, %rsi
xorl %eax, %eax
callq _ok
xorl %edi, %edi
cmpl $0, -44(%rbp)
sete %dil
movq %r15, %rsi
xorl %eax, %eax
callq _ok
movsd LCPI0_7(%rip), %xmm0 ## xmm0 = [5.9999999999999998E-1,0.0E+0]
xorl %edi, %edi
movq %r13, %rsi
movq %r12, %rdx
callq __fcvt
movq %rax, %rbx
movq %rax, %rdi
leaq L_.str.10(%rip), %rsi
callq _strcmp
xorl %edi, %edi
testq %rax, %rax
sete %dil
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq _ok
movl -48(%rbp), %edx
xorl %edi, %edi
cmpl $1, %edx
sete %dil
movq %r14, %rsi
xorl %eax, %eax
callq _ok
xorl %edi, %edi
cmpl $0, -44(%rbp)
sete %dil
movq %r15, %rsi
xorl %eax, %eax
callq _ok
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.space 1
L_.str.1: ## @.str.1
.asciz "bad return '%s'\n"
L_.str.2: ## @.str.2
.asciz "dec wrong %d\n"
L_.str.3: ## @.str.3
.asciz "sign wrong\n"
L_.str.4: ## @.str.4
.asciz "1000000"
L_.str.5: ## @.str.5
.asciz "11100010"
L_.str.6: ## @.str.6
.asciz "dec wrong\n"
L_.str.7: ## @.str.7
.asciz "00000"
L_.str.8: ## @.str.8
.asciz "123"
L_.str.9: ## @.str.9
.asciz "12"
L_.str.10: ## @.str.10
.asciz "1"
L_.str.11: ## @.str.11
.asciz "1000"
L_.str.12: ## @.str.12
.asciz "6"
L_.str.13: ## @.str.13
.asciz "10"
.no_dead_strip _test_fcvt
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function test_fcvt
_test_fcvt: ; @test_fcvt
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp d9, d8, [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 b8, -72
.cfi_offset b9, -80
mov w8, #100 ; =0x64
stp w8, w8, [sp, #8]
mov x8, #17197 ; =0x432d
movk x8, #60188, lsl #16
movk x8, #14050, lsl #32
movk x8, #16154, lsl #48
fmov d8, x8
add x1, sp, #12
add x2, sp, #8
fmov d0, d8
mov w0, #1 ; =0x1
bl __fcvt
mov x19, x0
Lloh0:
adrp x22, l_.str@PAGE
Lloh1:
add x22, x22, l_.str@PAGEOFF
mov x1, x22
bl _strcmp
cmp x0, #0
cset w0, eq
str x19, [sp]
Lloh2:
adrp x19, l_.str.1@PAGE
Lloh3:
add x19, x19, l_.str.1@PAGEOFF
mov x1, x19
bl _ok
ldr w8, [sp, #12]
cmn w8, #3
cset w0, eq
str x8, [sp]
Lloh4:
adrp x20, l_.str.2@PAGE
Lloh5:
add x20, x20, l_.str.2@PAGEOFF
mov x1, x20
bl _ok
ldr w8, [sp, #8]
cmp w8, #0
cset w0, eq
Lloh6:
adrp x21, l_.str.3@PAGE
Lloh7:
add x21, x21, l_.str.3@PAGEOFF
mov x1, x21
bl _ok
add x1, sp, #12
add x2, sp, #8
fmov d0, d8
mov w0, #-10 ; =0xfffffff6
bl __fcvt
mov x23, x0
mov x1, x22
bl _strcmp
cmp x0, #0
cset w0, eq
str x23, [sp]
mov x1, x19
bl _ok
ldr w8, [sp, #12]
cmn w8, #3
cset w0, eq
str x8, [sp]
mov x1, x20
bl _ok
ldr w8, [sp, #8]
cmp w8, #0
cset w0, eq
mov x1, x21
bl _ok
add x1, sp, #12
add x2, sp, #8
fmov d0, d8
mov w0, #10 ; =0xa
bl __fcvt
mov x23, x0
Lloh8:
adrp x1, l_.str.4@PAGE
Lloh9:
add x1, x1, l_.str.4@PAGEOFF
bl _strcmp
cmp x0, #0
cset w0, eq
str x23, [sp]
mov x1, x19
bl _ok
ldr w8, [sp, #12]
cmn w8, #3
cset w0, eq
str x8, [sp]
mov x1, x20
bl _ok
ldr w8, [sp, #8]
cmp w8, #0
cset w0, eq
mov x1, x21
bl _ok
mov x8, #11954 ; =0x2eb2
movk x8, #41838, lsl #16
movk x8, #49153, lsl #32
movk x8, #49243, lsl #48
fmov d0, x8
add x1, sp, #12
add x2, sp, #8
mov w0, #5 ; =0x5
bl __fcvt
mov x23, x0
Lloh10:
adrp x24, l_.str.5@PAGE
Lloh11:
add x24, x24, l_.str.5@PAGEOFF
mov x1, x24
bl _strcmp
cmp x0, #0
cset w0, eq
str x23, [sp]
mov x1, x19
bl _ok
ldr w8, [sp, #12]
cmp w8, #3
cset w0, eq
str x8, [sp]
mov x1, x20
bl _ok
ldr w8, [sp, #8]
cmp w8, #1
cset w0, eq
mov x1, x21
bl _ok
mov x8, #11954 ; =0x2eb2
movk x8, #41838, lsl #16
movk x8, #49153, lsl #32
movk x8, #16475, lsl #48
fmov d0, x8
add x1, sp, #12
add x2, sp, #8
mov w0, #5 ; =0x5
bl __fcvt
mov x23, x0
mov x1, x24
bl _strcmp
cmp x0, #0
cset w0, eq
str x23, [sp]
mov x1, x19
bl _ok
ldr w8, [sp, #12]
cmp w8, #3
cset w0, eq
Lloh12:
adrp x1, l_.str.6@PAGE
Lloh13:
add x1, x1, l_.str.6@PAGEOFF
bl _ok
ldr w8, [sp, #8]
cmp w8, #0
cset w0, eq
mov x1, x21
bl _ok
movi d0, #0000000000000000
add x1, sp, #12
add x2, sp, #8
mov w0, #5 ; =0x5
bl __fcvt
mov x23, x0
Lloh14:
adrp x1, l_.str.7@PAGE
Lloh15:
add x1, x1, l_.str.7@PAGEOFF
bl _strcmp
cmp x0, #0
cset w0, eq
str x23, [sp]
mov x1, x19
bl _ok
ldr w8, [sp, #12]
cmp w8, #0
cset w0, eq
str x8, [sp]
mov x1, x20
bl _ok
ldr w8, [sp, #8]
cmp w8, #0
cset w0, eq
mov x1, x21
bl _ok
movi d0, #0000000000000000
add x1, sp, #12
add x2, sp, #8
mov w0, #0 ; =0x0
bl __fcvt
mov x23, x0
mov x1, x22
bl _strcmp
cmp x0, #0
cset w0, eq
str x23, [sp]
mov x1, x19
bl _ok
ldr w8, [sp, #12]
cmp w8, #0
cset w0, eq
str x8, [sp]
mov x1, x20
bl _ok
ldr w8, [sp, #8]
cmp w8, #0
cset w0, eq
mov x1, x21
bl _ok
movi d0, #0000000000000000
add x1, sp, #12
add x2, sp, #8
mov w0, #-1 ; =0xffffffff
bl __fcvt
mov x23, x0
mov x1, x22
bl _strcmp
cmp x0, #0
cset w0, eq
str x23, [sp]
mov x1, x19
bl _ok
ldr w8, [sp, #12]
cmp w8, #0
cset w0, eq
str x8, [sp]
mov x1, x20
bl _ok
ldr w8, [sp, #8]
cmp w8, #0
cset w0, eq
mov x1, x21
bl _ok
mov x8, #11954 ; =0x2eb2
movk x8, #41838, lsl #16
movk x8, #49153, lsl #32
movk x8, #49246, lsl #48
fmov d8, x8
add x1, sp, #12
add x2, sp, #8
fmov d0, d8
mov w0, #0 ; =0x0
bl __fcvt
mov x23, x0
Lloh16:
adrp x1, l_.str.8@PAGE
Lloh17:
add x1, x1, l_.str.8@PAGEOFF
bl _strcmp
cmp x0, #0
cset w0, eq
str x23, [sp]
mov x1, x19
bl _ok
ldr w8, [sp, #12]
cmp w8, #3
cset w0, eq
str x8, [sp]
mov x1, x20
bl _ok
ldr w8, [sp, #8]
cmp w8, #1
cset w0, eq
mov x1, x21
bl _ok
add x1, sp, #12
add x2, sp, #8
fmov d0, d8
mov w0, #-1 ; =0xffffffff
bl __fcvt
mov x23, x0
Lloh18:
adrp x1, l_.str.9@PAGE
Lloh19:
add x1, x1, l_.str.9@PAGEOFF
bl _strcmp
cmp x0, #0
cset w0, eq
str x23, [sp]
mov x1, x19
bl _ok
ldr w8, [sp, #12]
cmp w8, #3
cset w0, eq
str x8, [sp]
mov x1, x20
bl _ok
ldr w8, [sp, #8]
cmp w8, #1
cset w0, eq
mov x1, x21
bl _ok
add x1, sp, #12
add x2, sp, #8
fmov d0, d8
mov w0, #-2 ; =0xfffffffe
bl __fcvt
mov x24, x0
Lloh20:
adrp x23, l_.str.10@PAGE
Lloh21:
add x23, x23, l_.str.10@PAGEOFF
mov x1, x23
bl _strcmp
cmp x0, #0
cset w0, eq
str x24, [sp]
mov x1, x19
bl _ok
ldr w8, [sp, #12]
cmp w8, #3
cset w0, eq
str x8, [sp]
mov x1, x20
bl _ok
ldr w8, [sp, #8]
cmp w8, #1
cset w0, eq
mov x1, x21
bl _ok
add x1, sp, #12
add x2, sp, #8
fmov d0, d8
mov w0, #-3 ; =0xfffffffd
bl __fcvt
mov x24, x0
mov x1, x22
bl _strcmp
cmp x0, #0
cset w0, eq
str x24, [sp]
mov x1, x19
bl _ok
ldr w8, [sp, #12]
cmp w8, #3
cset w0, eq
str x8, [sp]
mov x1, x20
bl _ok
ldr w8, [sp, #8]
cmp w8, #1
cset w0, eq
mov x1, x21
bl _ok
mov x8, #49807 ; =0xc28f
movk x8, #10485, lsl #16
movk x8, #65372, lsl #32
movk x8, #16472, lsl #48
fmov d0, x8
add x1, sp, #12
add x2, sp, #8
mov w0, #1 ; =0x1
bl __fcvt
mov x22, x0
Lloh22:
adrp x1, l_.str.11@PAGE
Lloh23:
add x1, x1, l_.str.11@PAGEOFF
bl _strcmp
cmp x0, #0
cset w0, eq
str x22, [sp]
mov x1, x19
bl _ok
ldr w8, [sp, #12]
cmp w8, #3
cset w0, eq
str x8, [sp]
mov x1, x20
bl _ok
ldr w8, [sp, #8]
cmp w8, #0
cset w0, eq
mov x1, x21
bl _ok
mov x8, #31835 ; =0x7c5b
movk x8, #32778, lsl #16
movk x8, #3313, lsl #32
movk x8, #16250, lsl #48
fmov d8, x8
add x1, sp, #12
add x2, sp, #8
fmov d0, d8
mov w0, #2 ; =0x2
bl __fcvt
mov x22, x0
mov x1, x23
bl _strcmp
cmp x0, #0
cset w0, eq
str x22, [sp]
mov x1, x19
bl _ok
ldr w8, [sp, #12]
cmn w8, #1
cset w0, eq
str x8, [sp]
mov x1, x20
bl _ok
ldr w8, [sp, #8]
cmp w8, #0
cset w0, eq
mov x1, x21
bl _ok
add x1, sp, #12
add x2, sp, #8
fmov d0, d8
mov w0, #3 ; =0x3
bl __fcvt
mov x22, x0
Lloh24:
adrp x1, l_.str.12@PAGE
Lloh25:
add x1, x1, l_.str.12@PAGEOFF
bl _strcmp
cmp x0, #0
cset w0, eq
str x22, [sp]
mov x1, x19
bl _ok
ldr w8, [sp, #12]
cmn w8, #2
cset w0, eq
str x8, [sp]
mov x1, x20
bl _ok
ldr w8, [sp, #8]
cmp w8, #0
cset w0, eq
mov x1, x21
bl _ok
mov x8, #40602 ; =0x9e9a
movk x8, #39277, lsl #16
movk x8, #39321, lsl #32
movk x8, #16313, lsl #48
fmov d0, x8
add x1, sp, #12
add x2, sp, #8
mov w0, #2 ; =0x2
bl __fcvt
mov x22, x0
Lloh26:
adrp x1, l_.str.13@PAGE
Lloh27:
add x1, x1, l_.str.13@PAGEOFF
bl _strcmp
cmp x0, #0
cset w0, eq
str x22, [sp]
mov x1, x19
bl _ok
ldr w8, [sp, #12]
cmp w8, #0
cset w0, eq
str x8, [sp]
mov x1, x20
bl _ok
ldr w8, [sp, #8]
cmp w8, #0
cset w0, eq
mov x1, x21
bl _ok
mov x8, #3689348814741910323 ; =0x3333333333333333
movk x8, #16355, lsl #48
fmov d0, x8
add x1, sp, #12
add x2, sp, #8
mov w0, #0 ; =0x0
bl __fcvt
mov x22, x0
mov x1, x23
bl _strcmp
cmp x0, #0
cset w0, eq
str x22, [sp]
mov x1, x19
bl _ok
ldr w8, [sp, #12]
cmp w8, #1
cset w0, eq
str x8, [sp]
mov x1, x20
bl _ok
ldr w8, [sp, #8]
cmp w8, #0
cset w0, eq
mov x1, x21
bl _ok
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 d9, d8, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd 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
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.space 1
l_.str.1: ; @.str.1
.asciz "bad return '%s'\n"
l_.str.2: ; @.str.2
.asciz "dec wrong %d\n"
l_.str.3: ; @.str.3
.asciz "sign wrong\n"
l_.str.4: ; @.str.4
.asciz "1000000"
l_.str.5: ; @.str.5
.asciz "11100010"
l_.str.6: ; @.str.6
.asciz "dec wrong\n"
l_.str.7: ; @.str.7
.asciz "00000"
l_.str.8: ; @.str.8
.asciz "123"
l_.str.9: ; @.str.9
.asciz "12"
l_.str.10: ; @.str.10
.asciz "1"
l_.str.11: ; @.str.11
.asciz "1000"
l_.str.12: ; @.str.12
.asciz "6"
l_.str.13: ; @.str.13
.asciz "10"
.no_dead_strip _test_fcvt
.subsections_via_symbols
| assembly_file_147047.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _DeleteXkey ## -- Begin function DeleteXkey
.p2align 4, 0x90
_DeleteXkey: ## @DeleteXkey
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq (%rdi), %rax
movq %rax, -16(%rbp)
testq %rax, %rax
je LBB0_1
## %bb.2:
movq _Xmap@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
cmpq $0, (%rax)
je LBB0_4
## %bb.3:
movq _Xmap@GOTPCREL(%rip), %rdi
leaq -16(%rbp), %rsi
callq _TryDeleteNode
jmp LBB0_4
LBB0_1:
leaq L_.str.1(%rip), %rdx
movl $9, %edi
movl $3, %esi
callq _CGETS
leaq L_.str(%rip), %rdi
movl %eax, %esi
callq _xprintf
movl $-1, %ebx
LBB0_4:
movl %ebx, %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 "DeleteXkey: Null extended-key not allowed.\n"
.comm _Xmap,8,3 ## @Xmap
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _DeleteXkey ; -- Begin function DeleteXkey
.p2align 2
_DeleteXkey: ; @DeleteXkey
.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
ldr x8, [x0]
str x8, [sp, #8]
cbz x8, LBB0_4
; %bb.1:
Lloh0:
adrp x8, _Xmap@GOTPAGE
Lloh1:
ldr x8, [x8, _Xmap@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cbz x8, LBB0_3
; %bb.2:
Lloh3:
adrp x0, _Xmap@GOTPAGE
Lloh4:
ldr x0, [x0, _Xmap@GOTPAGEOFF]
add x1, sp, #8
bl _TryDeleteNode
LBB0_3:
mov w0, #0
b LBB0_5
LBB0_4:
Lloh5:
adrp x2, l_.str.1@PAGE
Lloh6:
add x2, x2, l_.str.1@PAGEOFF
mov w0, #9
mov w1, #3
bl _CGETS
mov x1, x0
Lloh7:
adrp x0, l_.str@PAGE
Lloh8:
add x0, x0, l_.str@PAGEOFF
bl _xprintf
mov w0, #-1
LBB0_5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s"
l_.str.1: ; @.str.1
.asciz "DeleteXkey: Null extended-key not allowed.\n"
.comm _Xmap,8,3 ; @Xmap
.subsections_via_symbols
| AnghaBench/freebsd/contrib/tcsh/extr_ed.xmap.c_DeleteXkey.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function create_ShiftOpcodeExtension_X1
_create_ShiftOpcodeExtension_X1: ## @create_ShiftOpcodeExtension_X1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _create_ShiftOpcodeExtension_X1
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function create_ShiftOpcodeExtension_X1
_create_ShiftOpcodeExtension_X1: ; @create_ShiftOpcodeExtension_X1
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip _create_ShiftOpcodeExtension_X1
.subsections_via_symbols
| AnghaBench/php-src/ext/pcre/pcre2lib/sljit/extr_sljitNativeTILEGX-encoder.c_create_ShiftOpcodeExtension_X1.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function fmtuint64
_fmtuint64: ## @fmtuint64
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r8d, %r14d
movl %edx, %r15d
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %rdx, -48(%rbp)
testl %esi, %esi
je LBB0_6
## %bb.1:
movl %esi, %eax
movq _fz_hex_digits@GOTPCREL(%rip), %rdx
movq (%rdx), %rsi
xorl %r8d, %r8d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
cltd
idivl %r9d
movslq %edx, %rdx
movzbl (%rsi,%rdx), %edx
movb %dl, -128(%rbp,%r8)
incq %r8
testl %eax, %eax
jne LBB0_2
## %bb.3:
testl %r15d, %r15d
je LBB0_4
LBB0_7:
cmpl $48, %ecx
jne LBB0_11
## %bb.8:
leal -1(%r14), %r12d
cmpl %r12d, %r8d
jge LBB0_11
## %bb.9:
movslq %r8d, %rax
leaq (%rax,%rbp), %rdi
addq $-128, %rdi
movl %r14d, %edx
subl %r8d, %edx
addl $-2, %edx
incq %rdx
movl $48, %esi
movl %ecx, %r13d
callq _memset
movl %r13d, %ecx
jmp LBB0_12
LBB0_11:
movl %r8d, %r12d
LBB0_12:
movslq %r12d, %rax
incl %r12d
movb %r15b, -128(%rbp,%rax)
movl %r12d, %r8d
cmpl %r14d, %r8d
jl LBB0_5
LBB0_13:
movl %r8d, %r14d
testl %r14d, %r14d
jg LBB0_14
jmp LBB0_16
LBB0_6:
movb $48, -128(%rbp)
movl $-1, %r8d
testl %r15d, %r15d
jne LBB0_7
LBB0_4:
cmpl %r14d, %r8d
jge LBB0_13
LBB0_5:
movslq %r8d, %rax
leaq (%rax,%rbp), %rdi
addq $-128, %rdi
notl %r8d
addl %r14d, %r8d
incq %r8
movl %ecx, %esi
movq %r8, %rdx
callq _memset
testl %r14d, %r14d
jle LBB0_16
LBB0_14:
movl %r14d, %r14d
incq %r14
.p2align 4, 0x90
LBB0_15: ## =>This Inner Loop Header: Depth=1
movsbl -130(%rbp,%r14), %esi
movq %rbx, %rdi
callq _fmtputc
decq %r14
cmpq $1, %r14
ja LBB0_15
LBB0_16:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_18
## %bb.17:
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_18:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _fz_hex_digits,8,3 ## @fz_hex_digits
.no_dead_strip _fmtuint64
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function fmtuint64
_fmtuint64: ; @fmtuint64
.cfi_startproc
; %bb.0:
sub sp, sp, #160
stp x24, x23, [sp, #96] ; 16-byte Folded Spill
stp x22, x21, [sp, #112] ; 16-byte Folded Spill
stp x20, x19, [sp, #128] ; 16-byte Folded Spill
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x4
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
cbz w1, LBB0_6
; %bb.1:
mov x8, #0 ; =0x0
Lloh3:
adrp x9, _fz_hex_digits@GOTPAGE
Lloh4:
ldr x9, [x9, _fz_hex_digits@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
add x10, sp, #8
LBB0_2: ; =>This Inner Loop Header: Depth=1
sdiv w11, w1, w5
msub w12, w11, w5, w1
ldrb w12, [x9, w12, sxtw]
strb w12, [x10, x8]
add x8, x8, #1
mov x1, x11
cbnz w11, LBB0_2
; %bb.3:
cbnz w2, LBB0_7
LBB0_4:
cmp w8, w20
b.ge LBB0_11
LBB0_5:
add x9, sp, #8
add x0, x9, w8, sxtw
mvn w8, w8
add w8, w8, w20
add x2, x8, #1
mov x1, x3
bl _memset
cmp w20, #1
b.ge LBB0_12
b LBB0_14
LBB0_6:
mov w8, #48 ; =0x30
strb w8, [sp, #8]
mov w8, #-1 ; =0xffffffff
cbz w2, LBB0_4
LBB0_7:
cmp w3, #48
b.ne LBB0_10
; %bb.8:
sub w21, w20, #1
cmp w8, w21
b.ge LBB0_10
; %bb.9:
add x9, sp, #8
add x0, x9, w8, sxtw
sub w8, w20, w8
sub w8, w8, #2
mov x22, x2
add x2, x8, #1
mov w1, #48 ; =0x30
mov x23, x3
bl _memset
mov x2, x22
mov x3, x23
mov x8, x21
LBB0_10:
add x9, sp, #8
strb w2, [x9, w8, sxtw]
add w8, w8, #1
; kill: def $w8 killed $w8 def $x8
cmp w8, w20
b.lt LBB0_5
LBB0_11:
mov x20, x8
cmp w20, #1
b.lt LBB0_14
LBB0_12:
mov w20, w20
add x8, sp, #8
sub x21, x8, #1
LBB0_13: ; =>This Inner Loop Header: Depth=1
ldrsb w1, [x21, x20]
mov x0, x19
bl _fmtputc
subs x20, x20, #1
b.hi LBB0_13
LBB0_14:
ldur x8, [x29, #-56]
Lloh6:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh7:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_16
; %bb.15:
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #160
ret
LBB0_16:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _fz_hex_digits,8,3 ; @fz_hex_digits
.no_dead_strip _fmtuint64
.subsections_via_symbols
| assembly_file_181484.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function if_cs_disable_ints
_if_cs_disable_ints: ## @if_cs_disable_ints
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _IF_CS_HOST_INT_MASK@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _IF_CS_BIT_MASK@GOTPCREL(%rip), %rax
movl (%rax), %edx
popq %rbp
jmp _if_cs_write16 ## TAILCALL
.cfi_endproc
## -- End function
.comm _IF_CS_HOST_INT_MASK,4,2 ## @IF_CS_HOST_INT_MASK
.comm _IF_CS_BIT_MASK,4,2 ## @IF_CS_BIT_MASK
.no_dead_strip _if_cs_disable_ints
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function if_cs_disable_ints
_if_cs_disable_ints: ; @if_cs_disable_ints
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _IF_CS_HOST_INT_MASK@GOTPAGE
Lloh1:
ldr x8, [x8, _IF_CS_HOST_INT_MASK@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x8, _IF_CS_BIT_MASK@GOTPAGE
Lloh4:
ldr x8, [x8, _IF_CS_BIT_MASK@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
b _if_cs_write16
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _IF_CS_HOST_INT_MASK,4,2 ; @IF_CS_HOST_INT_MASK
.comm _IF_CS_BIT_MASK,4,2 ; @IF_CS_BIT_MASK
.no_dead_strip _if_cs_disable_ints
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/marvell/libertas/extr_if_cs.c_if_cs_disable_ints.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ml86v7667_probe
_ml86v7667_probe: ## @ml86v7667_probe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
movq (%rdi), %rdi
movq _I2C_FUNC_SMBUS_BYTE_DATA@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _i2c_check_functionality
testl %eax, %eax
je LBB0_1
## %bb.3:
leaq 12(%r15), %rdi
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $16, %esi
callq _devm_kzalloc
testq %rax, %rax
je LBB0_4
## %bb.5:
movq %rax, %r14
movq _ml86v7667_subdev_ops@GOTPCREL(%rip), %rdx
movq %rax, %rdi
movq %r15, %rsi
callq _v4l2_i2c_subdev_init
movq %r14, %r13
addq $8, %r13
movq %r13, %rdi
movl $8, %esi
callq _v4l2_ctrl_handler_init
movq _V4L2_CID_BRIGHTNESS@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $0, (%rsp)
movq _ml86v7667_ctrl_ops@GOTPCREL(%rip), %r12
movq %r13, %rdi
movq %r12, %rsi
movl $-64, %ecx
movl $63, %r8d
movl $1, %r9d
callq _v4l2_ctrl_new_std
movq _V4L2_CID_CONTRAST@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $0, (%rsp)
movq %r13, %rdi
movq %r12, %rsi
movl $-8, %ecx
movl $7, %r8d
movl $1, %r9d
callq _v4l2_ctrl_new_std
movq _V4L2_CID_CHROMA_GAIN@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $0, (%rsp)
movq %r13, %rdi
movq %r12, %rsi
movl $-32, %ecx
movl $31, %r8d
movl $1, %r9d
callq _v4l2_ctrl_new_std
movq _V4L2_CID_HUE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $0, (%rsp)
movq %r13, %rdi
movq %r12, %rsi
movl $-128, %ecx
movl $127, %r8d
movl $1, %r9d
callq _v4l2_ctrl_new_std
movq _V4L2_CID_RED_BALANCE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $0, (%rsp)
movq %r13, %rdi
movq %r12, %rsi
movl $-4, %ecx
movl $3, %r8d
movl $1, %r9d
callq _v4l2_ctrl_new_std
movq _V4L2_CID_BLUE_BALANCE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $0, (%rsp)
movq %r13, %rdi
movq %r12, %rsi
movl $-4, %ecx
movl $3, %r8d
movl $1, %r9d
callq _v4l2_ctrl_new_std
movq _V4L2_CID_SHARPNESS@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $0, (%rsp)
movq %r13, %rdi
movq %r12, %rsi
xorl %ecx, %ecx
movl $1, %r8d
movl $1, %r9d
callq _v4l2_ctrl_new_std
movq _V4L2_CID_COLOR_KILLER@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $0, (%rsp)
movq %r13, %rdi
movq %r12, %rsi
xorl %ecx, %ecx
movl $1, %r8d
movl $1, %r9d
callq _v4l2_ctrl_new_std
movq %r13, (%r14)
movl 8(%r14), %ebx
testl %ebx, %ebx
jne LBB0_8
## %bb.6:
movq %r13, %rdi
callq _v4l2_ctrl_handler_setup
movq %r14, %rdi
callq _ml86v7667_init
movl %eax, %ebx
testl %eax, %eax
je LBB0_7
LBB0_8:
movq %r13, %rdi
callq _v4l2_ctrl_handler_free
movq %r14, %rdi
callq _v4l2_device_unregister_subdev
movl 8(%r15), %edx
movq (%r15), %rax
movl (%rax), %ecx
leaq L_.str.1(%rip), %rsi
movq %r15, %rdi
callq _v4l_err
jmp LBB0_9
LBB0_1:
movq _EIO@GOTPCREL(%rip), %rax
jmp LBB0_2
LBB0_4:
movq _ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
xorl %ebx, %ebx
subl (%rax), %ebx
LBB0_9:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_7:
movl 8(%r15), %edx
movq (%r15), %rax
movl (%rax), %ecx
leaq L_.str(%rip), %rsi
movq %r15, %rdi
callq _v4l_info
xorl %ebx, %ebx
jmp LBB0_9
.cfi_endproc
## -- End function
.comm _I2C_FUNC_SMBUS_BYTE_DATA,4,2 ## @I2C_FUNC_SMBUS_BYTE_DATA
.comm _EIO,4,2 ## @EIO
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _ml86v7667_subdev_ops,4,2 ## @ml86v7667_subdev_ops
.comm _ml86v7667_ctrl_ops,4,2 ## @ml86v7667_ctrl_ops
.comm _V4L2_CID_BRIGHTNESS,4,2 ## @V4L2_CID_BRIGHTNESS
.comm _V4L2_CID_CONTRAST,4,2 ## @V4L2_CID_CONTRAST
.comm _V4L2_CID_CHROMA_GAIN,4,2 ## @V4L2_CID_CHROMA_GAIN
.comm _V4L2_CID_HUE,4,2 ## @V4L2_CID_HUE
.comm _V4L2_CID_RED_BALANCE,4,2 ## @V4L2_CID_RED_BALANCE
.comm _V4L2_CID_BLUE_BALANCE,4,2 ## @V4L2_CID_BLUE_BALANCE
.comm _V4L2_CID_SHARPNESS,4,2 ## @V4L2_CID_SHARPNESS
.comm _V4L2_CID_COLOR_KILLER,4,2 ## @V4L2_CID_COLOR_KILLER
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "chip found @ 0x%02x (%s)\n"
L_.str.1: ## @.str.1
.asciz "failed to probe @ 0x%02x (%s)\n"
.no_dead_strip _ml86v7667_probe
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ml86v7667_probe
_ml86v7667_probe: ; @ml86v7667_probe
.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 x0, [x0]
Lloh0:
adrp x8, _I2C_FUNC_SMBUS_BYTE_DATA@GOTPAGE
Lloh1:
ldr x8, [x8, _I2C_FUNC_SMBUS_BYTE_DATA@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _i2c_check_functionality
cbz w0, LBB0_5
; %bb.1:
add x0, x19, #12
Lloh3:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh4:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
mov w1, #16
bl _devm_kzalloc
cbz x0, LBB0_6
; %bb.2:
mov x20, x0
Lloh6:
adrp x2, _ml86v7667_subdev_ops@GOTPAGE
Lloh7:
ldr x2, [x2, _ml86v7667_subdev_ops@GOTPAGEOFF]
mov x1, x19
bl _v4l2_i2c_subdev_init
add x21, x20, #8
mov x0, x21
mov w1, #8
bl _v4l2_ctrl_handler_init
Lloh8:
adrp x8, _V4L2_CID_BRIGHTNESS@GOTPAGE
Lloh9:
ldr x8, [x8, _V4L2_CID_BRIGHTNESS@GOTPAGEOFF]
Lloh10:
ldr w2, [x8]
Lloh11:
adrp x22, _ml86v7667_ctrl_ops@GOTPAGE
Lloh12:
ldr x22, [x22, _ml86v7667_ctrl_ops@GOTPAGEOFF]
mov x0, x21
mov x1, x22
mov w3, #-64
mov w4, #63
mov w5, #1
mov w6, #0
bl _v4l2_ctrl_new_std
Lloh13:
adrp x8, _V4L2_CID_CONTRAST@GOTPAGE
Lloh14:
ldr x8, [x8, _V4L2_CID_CONTRAST@GOTPAGEOFF]
Lloh15:
ldr w2, [x8]
mov x0, x21
mov x1, x22
mov w3, #-8
mov w4, #7
mov w5, #1
mov w6, #0
bl _v4l2_ctrl_new_std
Lloh16:
adrp x8, _V4L2_CID_CHROMA_GAIN@GOTPAGE
Lloh17:
ldr x8, [x8, _V4L2_CID_CHROMA_GAIN@GOTPAGEOFF]
Lloh18:
ldr w2, [x8]
mov x0, x21
mov x1, x22
mov w3, #-32
mov w4, #31
mov w5, #1
mov w6, #0
bl _v4l2_ctrl_new_std
Lloh19:
adrp x8, _V4L2_CID_HUE@GOTPAGE
Lloh20:
ldr x8, [x8, _V4L2_CID_HUE@GOTPAGEOFF]
Lloh21:
ldr w2, [x8]
mov x0, x21
mov x1, x22
mov w3, #-128
mov w4, #127
mov w5, #1
mov w6, #0
bl _v4l2_ctrl_new_std
Lloh22:
adrp x8, _V4L2_CID_RED_BALANCE@GOTPAGE
Lloh23:
ldr x8, [x8, _V4L2_CID_RED_BALANCE@GOTPAGEOFF]
Lloh24:
ldr w2, [x8]
mov x0, x21
mov x1, x22
mov w3, #-4
mov w4, #3
mov w5, #1
mov w6, #0
bl _v4l2_ctrl_new_std
Lloh25:
adrp x8, _V4L2_CID_BLUE_BALANCE@GOTPAGE
Lloh26:
ldr x8, [x8, _V4L2_CID_BLUE_BALANCE@GOTPAGEOFF]
Lloh27:
ldr w2, [x8]
mov x0, x21
mov x1, x22
mov w3, #-4
mov w4, #3
mov w5, #1
mov w6, #0
bl _v4l2_ctrl_new_std
Lloh28:
adrp x8, _V4L2_CID_SHARPNESS@GOTPAGE
Lloh29:
ldr x8, [x8, _V4L2_CID_SHARPNESS@GOTPAGEOFF]
Lloh30:
ldr w2, [x8]
mov x0, x21
mov x1, x22
mov w3, #0
mov w4, #1
mov w5, #1
mov w6, #0
bl _v4l2_ctrl_new_std
Lloh31:
adrp x8, _V4L2_CID_COLOR_KILLER@GOTPAGE
Lloh32:
ldr x8, [x8, _V4L2_CID_COLOR_KILLER@GOTPAGEOFF]
Lloh33:
ldr w2, [x8]
mov x0, x21
mov x1, x22
mov w3, #0
mov w4, #1
mov w5, #1
mov w6, #0
bl _v4l2_ctrl_new_std
str x21, [x20]
ldr w22, [x20, #8]
cbnz w22, LBB0_4
; %bb.3:
mov x0, x21
bl _v4l2_ctrl_handler_setup
mov x0, x20
bl _ml86v7667_init
mov x22, x0
cbz w0, LBB0_9
LBB0_4:
mov x0, x21
bl _v4l2_ctrl_handler_free
mov x0, x20
bl _v4l2_device_unregister_subdev
ldr w2, [x19, #8]
ldr x8, [x19]
ldr w3, [x8]
Lloh34:
adrp x1, l_.str.1@PAGE
Lloh35:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _v4l_err
b LBB0_8
LBB0_5:
Lloh36:
adrp x8, _EIO@GOTPAGE
Lloh37:
ldr x8, [x8, _EIO@GOTPAGEOFF]
b LBB0_7
LBB0_6:
Lloh38:
adrp x8, _ENOMEM@GOTPAGE
Lloh39:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_7:
ldr w8, [x8]
neg w22, w8
LBB0_8:
mov x0, x22
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_9:
ldr w2, [x19, #8]
ldr x8, [x19]
ldr w3, [x8]
Lloh40:
adrp x1, l_.str@PAGE
Lloh41:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _v4l_info
b LBB0_8
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpLdrGot Lloh36, Lloh37
.loh AdrpLdrGot Lloh38, Lloh39
.loh AdrpAdd Lloh40, Lloh41
.cfi_endproc
; -- End function
.comm _I2C_FUNC_SMBUS_BYTE_DATA,4,2 ; @I2C_FUNC_SMBUS_BYTE_DATA
.comm _EIO,4,2 ; @EIO
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _ml86v7667_subdev_ops,4,2 ; @ml86v7667_subdev_ops
.comm _ml86v7667_ctrl_ops,4,2 ; @ml86v7667_ctrl_ops
.comm _V4L2_CID_BRIGHTNESS,4,2 ; @V4L2_CID_BRIGHTNESS
.comm _V4L2_CID_CONTRAST,4,2 ; @V4L2_CID_CONTRAST
.comm _V4L2_CID_CHROMA_GAIN,4,2 ; @V4L2_CID_CHROMA_GAIN
.comm _V4L2_CID_HUE,4,2 ; @V4L2_CID_HUE
.comm _V4L2_CID_RED_BALANCE,4,2 ; @V4L2_CID_RED_BALANCE
.comm _V4L2_CID_BLUE_BALANCE,4,2 ; @V4L2_CID_BLUE_BALANCE
.comm _V4L2_CID_SHARPNESS,4,2 ; @V4L2_CID_SHARPNESS
.comm _V4L2_CID_COLOR_KILLER,4,2 ; @V4L2_CID_COLOR_KILLER
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "chip found @ 0x%02x (%s)\n"
l_.str.1: ; @.str.1
.asciz "failed to probe @ 0x%02x (%s)\n"
.no_dead_strip _ml86v7667_probe
.subsections_via_symbols
| AnghaBench/linux/drivers/media/i2c/extr_ml86v7667.c_ml86v7667_probe.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function parse_value
_parse_value: ## @parse_value
.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
## kill: def $esi killed $esi def $rsi
movq %rdi, %rbx
leal 1(%rsi), %edi
callq _heap_alloc
testq %rax, %rax
je LBB0_3
## %bb.1:
xorl %ecx, %ecx
cmpb $34, (%rbx)
sete %cl
subq %rcx, %rbx
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movzbl (%rbx,%rcx), %edx
movl %ecx, %esi
movb %dl, (%rax,%rsi)
incq %rcx
jmp LBB0_2
LBB0_3:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FALSE,8,3 ## @FALSE
.comm _TRUE,8,3 ## @TRUE
.no_dead_strip _parse_value
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function parse_value
_parse_value: ; @parse_value
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
add w0, w1, #1
bl _heap_alloc
cbz x0, LBB0_3
; %bb.1:
mov x8, #0 ; =0x0
ldrb w9, [x19]
cmp w9, #34
cset w9, eq
sub x9, x19, x9
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldrb w10, [x9, x8]
strb w10, [x0, w8, uxtw]
add x8, x8, #1
b LBB0_2
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.comm _FALSE,8,3 ; @FALSE
.comm _TRUE,8,3 ; @TRUE
.no_dead_strip _parse_value
.subsections_via_symbols
| assembly_file_39993.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _renamefile ## -- Begin function renamefile
.p2align 4, 0x90
_renamefile: ## @renamefile
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
cmpl $1, %edi
jg LBB0_3
## %bb.1:
leaq L_.str(%rip), %rdx
leaq -4(%rbp), %rdi
leaq -16(%rbp), %rsi
callq _another
testl %eax, %eax
je LBB0_5
## %bb.2:
movl -4(%rbp), %edi
LBB0_3:
cmpl $2, %edi
jg LBB0_6
## %bb.4:
leaq L_.str.1(%rip), %rdx
leaq -4(%rbp), %rdi
leaq -16(%rbp), %rsi
callq _another
testl %eax, %eax
je LBB0_5
LBB0_6:
movq -16(%rbp), %rax
movq 8(%rax), %rsi
leaq L_.str.3(%rip), %rdi
callq _command
movq _CONTINUE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_8
## %bb.7:
movq -16(%rbp), %rax
movq 16(%rax), %rsi
leaq L_.str.4(%rip), %rdi
callq _command
jmp LBB0_8
LBB0_5:
movq -16(%rbp), %rax
movq (%rax), %rsi
leaq L_.str.2(%rip), %rdi
callq _printf
movq _code@GOTPCREL(%rip), %rax
movl $-1, (%rax)
LBB0_8:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "from-name"
L_.str.1: ## @.str.1
.asciz "to-name"
L_.str.2: ## @.str.2
.asciz "%s from-name to-name\n"
.comm _code,4,2 ## @code
L_.str.3: ## @.str.3
.asciz "RNFR %s"
.comm _CONTINUE,8,3 ## @CONTINUE
L_.str.4: ## @.str.4
.asciz "RNTO %s"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _renamefile ; -- Begin function renamefile
.p2align 2
_renamefile: ; @renamefile
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
str x1, [sp]
cmp w0, #2
b.ge LBB0_3
; %bb.1:
Lloh0:
adrp x2, l_.str@PAGE
Lloh1:
add x2, x2, l_.str@PAGEOFF
sub x0, x29, #4
mov x1, sp
bl _another
cbz w0, LBB0_7
; %bb.2:
ldur w0, [x29, #-4]
LBB0_3:
cmp w0, #2
b.gt LBB0_5
; %bb.4:
Lloh2:
adrp x2, l_.str.1@PAGE
Lloh3:
add x2, x2, l_.str.1@PAGEOFF
sub x0, x29, #4
mov x1, sp
bl _another
cbz w0, LBB0_7
LBB0_5:
ldr x8, [sp]
ldr x1, [x8, #8]
Lloh4:
adrp x0, l_.str.3@PAGE
Lloh5:
add x0, x0, l_.str.3@PAGEOFF
bl _command
Lloh6:
adrp x8, _CONTINUE@GOTPAGE
Lloh7:
ldr x8, [x8, _CONTINUE@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_8
; %bb.6:
ldr x8, [sp]
ldr x1, [x8, #16]
Lloh9:
adrp x0, l_.str.4@PAGE
Lloh10:
add x0, x0, l_.str.4@PAGEOFF
bl _command
b LBB0_8
LBB0_7:
ldr x8, [sp]
ldr x1, [x8]
Lloh11:
adrp x0, l_.str.2@PAGE
Lloh12:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
Lloh13:
adrp x8, _code@GOTPAGE
Lloh14:
ldr x8, [x8, _code@GOTPAGEOFF]
mov w9, #-1
Lloh15:
str w9, [x8]
LBB0_8:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotStr Lloh13, Lloh14, Lloh15
.loh AdrpAdd Lloh11, Lloh12
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "from-name"
l_.str.1: ; @.str.1
.asciz "to-name"
l_.str.2: ; @.str.2
.asciz "%s from-name to-name\n"
.comm _code,4,2 ; @code
l_.str.3: ; @.str.3
.asciz "RNFR %s"
.comm _CONTINUE,8,3 ; @CONTINUE
l_.str.4: ; @.str.4
.asciz "RNTO %s"
.subsections_via_symbols
| AnghaBench/freebsd/crypto/heimdal/appl/ftp/ftp/extr_cmds.c_renamefile.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function get_wideport_bitmap_v2_hw
_get_wideport_bitmap_v2_hw: ## @get_wideport_bitmap_v2_hw
.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 _PHY_PORT_NUM_MA@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _hisi_sas_read32
movq _PHY_STATE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _hisi_sas_read32
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PHY_PORT_NUM_MA,4,2 ## @PHY_PORT_NUM_MA
.comm _PHY_STATE,4,2 ## @PHY_STATE
.comm _PORT_STATE,4,2 ## @PORT_STATE
.comm _PORT_STATE_PHY8_PORT_NUM_MSK,4,2 ## @PORT_STATE_PHY8_PORT_NUM_MSK
.comm _PORT_STATE_PHY8_PORT_NUM_OFF,4,2 ## @PORT_STATE_PHY8_PORT_NUM_OFF
.no_dead_strip _get_wideport_bitmap_v2_hw
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function get_wideport_bitmap_v2_hw
_get_wideport_bitmap_v2_hw: ; @get_wideport_bitmap_v2_hw
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x8, _PHY_PORT_NUM_MA@GOTPAGE
Lloh1:
ldr x8, [x8, _PHY_PORT_NUM_MA@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _hisi_sas_read32
Lloh3:
adrp x8, _PHY_STATE@GOTPAGE
Lloh4:
ldr x8, [x8, _PHY_STATE@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x0, x19
bl _hisi_sas_read32
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _PHY_PORT_NUM_MA,4,2 ; @PHY_PORT_NUM_MA
.comm _PHY_STATE,4,2 ; @PHY_STATE
.comm _PORT_STATE,4,2 ; @PORT_STATE
.comm _PORT_STATE_PHY8_PORT_NUM_MSK,4,2 ; @PORT_STATE_PHY8_PORT_NUM_MSK
.comm _PORT_STATE_PHY8_PORT_NUM_OFF,4,2 ; @PORT_STATE_PHY8_PORT_NUM_OFF
.no_dead_strip _get_wideport_bitmap_v2_hw
.subsections_via_symbols
| assembly_file_6323.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function s390_image_probe
_s390_image_probe: ## @s390_image_probe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _s390_image_probe
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function s390_image_probe
_s390_image_probe: ; @s390_image_probe
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.no_dead_strip _s390_image_probe
.subsections_via_symbols
| AnghaBench/linux/arch/s390/kernel/extr_kexec_image.c_s390_image_probe.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function core99_ide_reset
_core99_ide_reset: ## @core99_ide_reset
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpq $2, %rsi
je LBB0_6
## %bb.1:
cmpq $1, %rsi
je LBB0_5
## %bb.2:
testq %rsi, %rsi
jne LBB0_7
## %bb.3:
movq _macio_unknown@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _KEYLARGO_FCR1@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _KL1_EIDE0_RESET_N@GOTPCREL(%rip), %rcx
jmp LBB0_4
LBB0_6:
movq _macio_unknown@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _KEYLARGO_FCR1@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _KL1_UIDE_RESET_N@GOTPCREL(%rip), %rcx
jmp LBB0_4
LBB0_5:
movq _macio_unknown@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _KEYLARGO_FCR1@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _KL1_EIDE1_RESET_N@GOTPCREL(%rip), %rcx
LBB0_4:
movl (%rcx), %ecx
xorl %r8d, %r8d
testq %rdx, %rdx
sete %r8b
movl %eax, %edx
popq %rbp
jmp _simple_feature_tweak ## TAILCALL
LBB0_7:
movq _ENODEV@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subq (%rcx), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _macio_unknown,4,2 ## @macio_unknown
.comm _KEYLARGO_FCR1,4,2 ## @KEYLARGO_FCR1
.comm _KL1_EIDE0_RESET_N,4,2 ## @KL1_EIDE0_RESET_N
.comm _KL1_EIDE1_RESET_N,4,2 ## @KL1_EIDE1_RESET_N
.comm _KL1_UIDE_RESET_N,4,2 ## @KL1_UIDE_RESET_N
.comm _ENODEV,8,3 ## @ENODEV
.no_dead_strip _core99_ide_reset
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function core99_ide_reset
_core99_ide_reset: ; @core99_ide_reset
.cfi_startproc
; %bb.0:
cmp x1, #2
b.eq LBB0_4
; %bb.1:
cmp x1, #1
b.eq LBB0_5
; %bb.2:
cbnz x1, LBB0_7
; %bb.3:
Lloh0:
adrp x8, _macio_unknown@GOTPAGE
Lloh1:
ldr x8, [x8, _macio_unknown@GOTPAGEOFF]
Lloh2:
adrp x9, _KEYLARGO_FCR1@GOTPAGE
Lloh3:
ldr x9, [x9, _KEYLARGO_FCR1@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
Lloh5:
ldr w8, [x9]
Lloh6:
adrp x9, _KL1_EIDE0_RESET_N@GOTPAGE
Lloh7:
ldr x9, [x9, _KL1_EIDE0_RESET_N@GOTPAGEOFF]
b LBB0_6
LBB0_4:
Lloh8:
adrp x8, _macio_unknown@GOTPAGE
Lloh9:
ldr x8, [x8, _macio_unknown@GOTPAGEOFF]
Lloh10:
adrp x9, _KEYLARGO_FCR1@GOTPAGE
Lloh11:
ldr x9, [x9, _KEYLARGO_FCR1@GOTPAGEOFF]
Lloh12:
ldr w1, [x8]
Lloh13:
ldr w8, [x9]
Lloh14:
adrp x9, _KL1_UIDE_RESET_N@GOTPAGE
Lloh15:
ldr x9, [x9, _KL1_UIDE_RESET_N@GOTPAGEOFF]
b LBB0_6
LBB0_5:
Lloh16:
adrp x8, _macio_unknown@GOTPAGE
Lloh17:
ldr x8, [x8, _macio_unknown@GOTPAGEOFF]
Lloh18:
adrp x9, _KEYLARGO_FCR1@GOTPAGE
Lloh19:
ldr x9, [x9, _KEYLARGO_FCR1@GOTPAGEOFF]
Lloh20:
ldr w1, [x8]
Lloh21:
ldr w8, [x9]
Lloh22:
adrp x9, _KL1_EIDE1_RESET_N@GOTPAGE
Lloh23:
ldr x9, [x9, _KL1_EIDE1_RESET_N@GOTPAGEOFF]
LBB0_6:
ldr w3, [x9]
cmp x2, #0
cset w4, eq
mov x2, x8
b _simple_feature_tweak
LBB0_7:
Lloh24:
adrp x8, _ENODEV@GOTPAGE
Lloh25:
ldr x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh26:
ldr x8, [x8]
neg x0, x8
ret
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh12
.loh AdrpLdrGot Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh21
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh20
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.cfi_endproc
; -- End function
.comm _macio_unknown,4,2 ; @macio_unknown
.comm _KEYLARGO_FCR1,4,2 ; @KEYLARGO_FCR1
.comm _KL1_EIDE0_RESET_N,4,2 ; @KL1_EIDE0_RESET_N
.comm _KL1_EIDE1_RESET_N,4,2 ; @KL1_EIDE1_RESET_N
.comm _KL1_UIDE_RESET_N,4,2 ; @KL1_UIDE_RESET_N
.comm _ENODEV,8,3 ; @ENODEV
.no_dead_strip _core99_ide_reset
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/arch/powerpc/platforms/powermac/extr_feature.c_core99_ide_reset.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _exit ## -- Begin function exit
.p2align 4, 0x90
_exit: ## @exit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
jmp LBB0_1
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _exit ; -- Begin function exit
.p2align 2
_exit: ; @exit
.cfi_startproc
; %bb.0:
LBB0_1: ; =>This Inner Loop Header: Depth=1
b LBB0_1
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/arch/xtensa/boot/lib/extr_zmem.c_exit.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
leaq L_.str(%rip), %rdi
leaq -24(%rbp), %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq _scandir$INODE64
cmpl $-1, %eax
je LBB0_5
## %bb.1:
movl %eax, %ebx
leaq L_.str.2(%rip), %rdi
movl %eax, %esi
xorl %eax, %eax
callq _printf
testl %ebx, %ebx
jle LBB0_4
## %bb.2:
movl %ebx, %r14d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
movq (%rax,%rbx,8), %rdi
addq $21, %rdi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
movq -24(%rbp), %rax
movq (%rax,%rbx,8), %rdi
callq _free
incq %rbx
cmpq %rbx, %r14
jne LBB0_3
LBB0_4:
movq -24(%rbp), %rdi
callq _free
xorl %eax, %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
LBB0_5:
leaq L_str(%rip), %rdi
callq _puts
movl $-1, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "."
L_.str.2: ## @.str.2
.asciz "There are %d entries\n"
L_str: ## @str
.asciz "ERROR! scandir() faield!"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
add x1, sp, #8
mov x2, #0
mov x3, #0
bl _scandir
cmn w0, #1
b.eq LBB0_5
; %bb.1:
mov x19, x0
str x19, [sp]
Lloh2:
adrp x0, l_.str.2@PAGE
Lloh3:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
cmp w19, #1
b.lt LBB0_4
; %bb.2:
mov x20, #0
mov w8, w19
lsl x19, x8, #3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldr x8, [x8, x20]
add x0, x8, #21
bl _printf
mov w0, #10
bl _putchar
ldr x8, [sp, #8]
ldr x0, [x8, x20]
bl _free
add x20, x20, #8
cmp x19, x20
b.ne LBB0_3
LBB0_4:
ldr x0, [sp, #8]
bl _free
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
LBB0_5:
Lloh4:
adrp x0, l_str@PAGE
Lloh5:
add x0, x0, l_str@PAGEOFF
bl _puts
mov w0, #-1
bl _exit
.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 "."
l_.str.2: ; @.str.2
.asciz "There are %d entries\n"
l_str: ; @str
.asciz "ERROR! scandir() faield!"
.subsections_via_symbols
| the_stack_data/62637563.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Type_ColorantTable_Write
_Type_ColorantTable_Write: ## @Type_ColorantTable_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 $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r12
movl %edi, %r13d
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq %rcx, -88(%rbp) ## 8-byte Spill
movq %rcx, %rsi
callq _cmsNamedColorCount
movq %rax, %rbx
movl %r13d, %edi
movq %r12, %rsi
movq %rax, %rdx
callq __cmsWriteUInt32Number
testl %eax, %eax
je LBB0_10
## %bb.1:
testq %rbx, %rbx
jle LBB0_11
## %bb.2:
xorl %r15d, %r15d
movq %rbx, -80(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq %r12, %rbx
movq %rsp, -72(%rbp) ## 8-byte Spill
movl %r13d, %r12d
movq _cmsMAX_PATH@GOTPCREL(%rip), %rax
movl (%rax), %r13d
movq %r13, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
movq %r14, %rdi
xorl %esi, %esi
movl %r13d, %edx
movl %r12d, %r13d
callq _memset
movl %r12d, %edi
movq -88(%rbp), %rsi ## 8-byte Reload
movq %r15, %rdx
movq %r14, %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq $0
leaq -60(%rbp), %rax
pushq %rax
callq _cmsNamedColorInfo
addq $16, %rsp
testl %eax, %eax
je LBB0_5
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
movb $0, 32(%r14)
movl %r13d, %edi
movq %rbx, %r12
movq %rbx, %rsi
movl $32, %edx
movq %r14, %rcx
callq *(%rbx)
testl %eax, %eax
je LBB0_7
## %bb.9: ## in Loop: Header=BB0_4 Depth=1
movl %r13d, %edi
movq %r12, %rsi
movl $3, %edx
leaq -60(%rbp), %rcx
callq __cmsWriteUInt16Array
testl %eax, %eax
movq -72(%rbp), %rsp ## 8-byte Reload
je LBB0_10
## %bb.3: ## in Loop: Header=BB0_4 Depth=1
incq %r15
movq -80(%rbp), %rbx ## 8-byte Reload
cmpq %r15, %rbx
jne LBB0_4
LBB0_11:
movq _TRUE@GOTPCREL(%rip), %rax
jmp LBB0_12
LBB0_10:
movq _FALSE@GOTPCREL(%rip), %rax
LBB0_12:
movl (%rax), %eax
jmp LBB0_13
LBB0_5:
xorl %eax, %eax
jmp LBB0_8
LBB0_7:
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_8:
movq -72(%rbp), %rcx ## 8-byte Reload
movq %rcx, %rsp
LBB0_13:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_15
## %bb.14:
## kill: def $eax killed $eax killed $rax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_15:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _FALSE,4,2 ## @FALSE
.comm _cmsMAX_PATH,4,2 ## @cmsMAX_PATH
.comm _TRUE,4,2 ## @TRUE
.no_dead_strip _Type_ColorantTable_Write
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Type_ColorantTable_Write
_Type_ColorantTable_Write: ; @Type_ColorantTable_Write
.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, #32
mov x19, x3
mov x20, x2
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, #-88]
mov x1, x3
bl _cmsNamedColorCount
mov x22, x0
mov x0, x21
mov x1, x20
mov x2, x22
bl __cmsWriteUInt32Number
cbz w0, LBB0_8
; %bb.1:
cmp x22, #1
b.lt LBB0_7
; %bb.2:
mov x23, #0
Lloh3:
adrp x25, _cmsMAX_PATH@GOTPAGE
Lloh4:
ldr x25, [x25, _cmsMAX_PATH@GOTPAGEOFF]
Lloh5:
adrp x26, _FALSE@GOTPAGE
Lloh6:
ldr x26, [x26, _FALSE@GOTPAGEOFF]
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x27, sp
ldr w2, [x25]
mov x9, x2
Lloh7:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh8:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
add x9, x2, #15
and x9, x9, #0x1fffffff0
sub x24, x8, x9
mov sp, x24
mov x0, x24
mov w1, #0
; kill: def $w2 killed $w2 killed $x2
bl _memset
sub x6, x29, #100
mov x0, x21
mov x1, x19
mov x2, x23
mov x3, x24
mov x4, #0
mov x5, #0
mov x7, #0
bl _cmsNamedColorInfo
cbz w0, LBB0_11
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
strb wzr, [x24, #32]
ldr x8, [x20]
mov x0, x21
mov x1, x20
mov w2, #32
mov x3, x24
blr x8
cbz w0, LBB0_10
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
sub x3, x29, #100
mov x0, x21
mov x1, x20
mov w2, #3
bl __cmsWriteUInt16Array
mov sp, x27
cbz w0, LBB0_12
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
add x23, x23, #1
cmp x22, x23
b.ne LBB0_3
LBB0_7:
Lloh9:
adrp x8, _TRUE@GOTPAGE
Lloh10:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
b LBB0_9
LBB0_8:
Lloh11:
adrp x8, _FALSE@GOTPAGE
Lloh12:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_9:
ldr w0, [x8]
b LBB0_13
LBB0_10:
ldr w0, [x26]
LBB0_11:
mov sp, x27
b LBB0_13
LBB0_12:
ldr w0, [x26]
LBB0_13:
ldur x8, [x29, #-88]
Lloh13:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh14:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_15
; %bb.14:
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_15:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.cfi_endproc
; -- End function
.comm _FALSE,4,2 ; @FALSE
.comm _cmsMAX_PATH,4,2 ; @cmsMAX_PATH
.comm _TRUE,4,2 ; @TRUE
.no_dead_strip _Type_ColorantTable_Write
.subsections_via_symbols
| AnghaBench/sumatrapdf/ext/lcms2/src/extr_cmstypes.c_Type_ColorantTable_Write.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pin_ggtt_status_page
_pin_ggtt_status_page: ## @pin_ggtt_status_page
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq _PIN_GLOBAL@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl (%rdi), %edi
callq _HAS_LLC
testl %eax, %eax
jne LBB0_1
## %bb.2:
movq _PIN_MAPPABLE@GOTPCREL(%rip), %rax
jmp LBB0_3
LBB0_1:
movq _PIN_HIGH@GOTPCREL(%rip), %rax
LBB0_3:
orl (%rax), %ebx
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
movl %ebx, %ecx
popq %rbx
popq %r14
popq %rbp
jmp _i915_vma_pin ## TAILCALL
.cfi_endproc
## -- End function
.comm _PIN_GLOBAL,4,2 ## @PIN_GLOBAL
.comm _PIN_MAPPABLE,4,2 ## @PIN_MAPPABLE
.comm _PIN_HIGH,4,2 ## @PIN_HIGH
.no_dead_strip _pin_ggtt_status_page
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pin_ggtt_status_page
_pin_ggtt_status_page: ; @pin_ggtt_status_page
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
Lloh0:
adrp x8, _PIN_GLOBAL@GOTPAGE
Lloh1:
ldr x8, [x8, _PIN_GLOBAL@GOTPAGEOFF]
Lloh2:
ldr w20, [x8]
ldr w0, [x0]
bl _HAS_LLC
Lloh3:
adrp x8, _PIN_MAPPABLE@GOTPAGE
Lloh4:
ldr x8, [x8, _PIN_MAPPABLE@GOTPAGEOFF]
Lloh5:
adrp x9, _PIN_HIGH@GOTPAGE
Lloh6:
ldr x9, [x9, _PIN_HIGH@GOTPAGEOFF]
cmp w0, #0
csel x8, x8, x9, eq
ldr w8, [x8]
orr w3, w8, w20
mov x0, x19
mov w1, #0
mov w2, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _i915_vma_pin
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _PIN_GLOBAL,4,2 ; @PIN_GLOBAL
.comm _PIN_MAPPABLE,4,2 ; @PIN_MAPPABLE
.comm _PIN_HIGH,4,2 ; @PIN_HIGH
.no_dead_strip _pin_ggtt_status_page
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/i915/gt/extr_intel_engine_cs.c_pin_ggtt_status_page.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dpu_encoder_late_register
_dpu_encoder_late_register: ## @dpu_encoder_late_register
.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 __dpu_encoder_init_debugfs ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _dpu_encoder_late_register
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dpu_encoder_late_register
_dpu_encoder_late_register: ; @dpu_encoder_late_register
.cfi_startproc
; %bb.0:
b __dpu_encoder_init_debugfs
.cfi_endproc
; -- End function
.no_dead_strip _dpu_encoder_late_register
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/msm/disp/dpu1/extr_dpu_encoder.c_dpu_encoder_late_register.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ieee80211_wake_queue ## -- Begin function ieee80211_wake_queue
.p2align 4, 0x90
_ieee80211_wake_queue: ## @ieee80211_wake_queue
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
leaq 16(%rdi), %rbx
movq %rbx, %rdi
callq _spin_lock_irqsave
cmpq $0, 32(%r14)
je LBB0_11
## %bb.1:
movq $0, 32(%r14)
movq _IEEE_SOFTMAC_SINGLE_QUEUE@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl (%r14), %eax
je LBB0_7
## %bb.2:
xorl %r12d, %r12d
xorl %eax, %eax
## implicit-def: $r15
jmp LBB0_3
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movq (%r15), %r13
movq 8(%r14), %rax
movl (%rax), %edi
shll $4, %edi
callq _cpu_to_le16
movl %eax, (%r13)
movq 8(%r14), %rax
movl (%rax), %ecx
leal -1(%rcx), %edx
cmpl $4095, %ecx ## imm = 0xFFF
cmovel %r12d, %edx
movl %edx, (%rax)
movl 20(%r14), %esi
movl 48(%r14), %edx
movq %r15, %rdi
callq *56(%r14)
movq 32(%r14), %rax
LBB0_3: ## =>This Inner Loop Header: Depth=1
testq %rax, %rax
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq %r14, %rdi
callq _dequeue_mgmt
movq %rax, %r15
testq %rax, %rax
jne LBB0_5
## %bb.6:
cmpq $0, 32(%r14)
jne LBB0_11
LBB0_7:
cmpq $0, 40(%r14)
je LBB0_9
## %bb.8:
movq %r14, %rdi
callq _ieee80211_resume_tx
cmpq $0, 32(%r14)
jne LBB0_11
LBB0_9:
movl 20(%r14), %edi
callq _netif_queue_stopped
testq %rax, %rax
je LBB0_11
## %bb.10:
incl 24(%r14)
movl 20(%r14), %edi
callq _netif_wake_queue
LBB0_11:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _spin_unlock_irqrestore ## TAILCALL
.cfi_endproc
## -- End function
.comm _IEEE_SOFTMAC_SINGLE_QUEUE,4,2 ## @IEEE_SOFTMAC_SINGLE_QUEUE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ieee80211_wake_queue ; -- Begin function ieee80211_wake_queue
.p2align 2
_ieee80211_wake_queue: ; @ieee80211_wake_queue
.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
add x0, x0, #16
bl _spin_lock_irqsave
ldr x8, [x19, #32]
cbz x8, LBB0_11
; %bb.1:
str xzr, [x19, #32]
ldr w8, [x19]
Lloh0:
adrp x9, _IEEE_SOFTMAC_SINGLE_QUEUE@GOTPAGE
Lloh1:
ldr x9, [x9, _IEEE_SOFTMAC_SINGLE_QUEUE@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
orr w8, w9, w8
cbz w8, LBB0_7
; %bb.2:
mov x8, #0 ; =0x0
; implicit-def: $x20
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
ldr x21, [x20]
ldr x8, [x19, #8]
ldr w8, [x8]
lsl w0, w8, #4
bl _cpu_to_le16
str w0, [x21]
ldr x8, [x19, #8]
ldr w9, [x8]
sub w10, w9, #1
cmp w9, #4095
csel w9, wzr, w10, eq
str w9, [x8]
ldr x8, [x19, #56]
ldr w1, [x19, #20]
ldr w2, [x19, #48]
mov x0, x20
blr x8
ldr x8, [x19, #32]
LBB0_4: ; =>This Inner Loop Header: Depth=1
cbz x8, LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov x0, x19
bl _dequeue_mgmt
mov x20, x0
cbnz x0, LBB0_3
; %bb.6:
ldr x8, [x19, #32]
cbnz x8, LBB0_11
LBB0_7:
ldr x8, [x19, #40]
cbz x8, LBB0_9
; %bb.8:
mov x0, x19
bl _ieee80211_resume_tx
ldr x8, [x19, #32]
cbnz x8, LBB0_11
LBB0_9:
ldr w0, [x19, #20]
bl _netif_queue_stopped
cbz x0, LBB0_11
; %bb.10:
ldp w0, w8, [x19, #20]
add w8, w8, #1
str w8, [x19, #24]
bl _netif_wake_queue
LBB0_11:
add x0, x19, #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 _spin_unlock_irqrestore
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _IEEE_SOFTMAC_SINGLE_QUEUE,4,2 ; @IEEE_SOFTMAC_SINGLE_QUEUE
.subsections_via_symbols
| assembly_file_158959.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function libipw_is_eapol_frame
_libipw_is_eapol_frame: ## @libipw_is_eapol_frame
.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
xorl %r14d, %r14d
cmpl $24, (%rsi)
jl LBB0_8
## %bb.1:
movq %rsi, %rbx
movq (%rdi), %r12
movq 8(%rsi), %r13
movl 8(%r13), %edi
callq _le16_to_cpu
movl %eax, %r15d
movq _IEEE80211_FCTL_TODS@GOTPCREL(%rip), %rdx
movl (%rdx), %eax
movq _IEEE80211_FCTL_FROMDS@GOTPCREL(%rip), %rsi
movl (%rsi), %ecx
orl %eax, %ecx
andl %r15d, %ecx
cmpl %eax, %ecx
jne LBB0_4
## %bb.2:
movl (%r13), %edi
movl (%r12), %esi
callq _ether_addr_equal
movq _IEEE80211_FCTL_FROMDS@GOTPCREL(%rip), %rsi
movq _IEEE80211_FCTL_TODS@GOTPCREL(%rip), %rdx
testq %rax, %rax
je LBB0_4
## %bb.3:
movl 4(%r13), %edi
movl (%r12), %esi
callq _ether_addr_equal
movq _IEEE80211_FCTL_FROMDS@GOTPCREL(%rip), %rsi
movq _IEEE80211_FCTL_TODS@GOTPCREL(%rip), %rdx
testq %rax, %rax
jne LBB0_6
LBB0_4:
movl (%rsi), %eax
movl (%rdx), %ecx
orl %eax, %ecx
andl %r15d, %ecx
cmpl %eax, %ecx
jne LBB0_8
## %bb.5:
movl (%r13), %edi
movl (%r12), %esi
callq _ether_addr_equal
testq %rax, %rax
je LBB0_8
LBB0_6:
cmpl $32, (%rbx)
jl LBB0_8
## %bb.7:
movq 8(%rbx), %rax
movl 120(%rax), %ecx
shll $8, %ecx
orl 124(%rax), %ecx
movq _ETH_P_PAE@GOTPCREL(%rip), %rax
xorl %r14d, %r14d
cmpl (%rax), %ecx
sete %r14b
LBB0_8:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IEEE80211_FCTL_TODS,4,2 ## @IEEE80211_FCTL_TODS
.comm _IEEE80211_FCTL_FROMDS,4,2 ## @IEEE80211_FCTL_FROMDS
.comm _ETH_P_PAE,4,2 ## @ETH_P_PAE
.no_dead_strip _libipw_is_eapol_frame
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function libipw_is_eapol_frame
_libipw_is_eapol_frame: ; @libipw_is_eapol_frame
.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 w8, [x1]
cmp w8, #24
b.lt LBB0_7
; %bb.1:
mov x19, x1
ldr x21, [x0]
ldr x22, [x1, #8]
ldr w0, [x22, #8]
bl _le16_to_cpu
mov x20, x0
Lloh0:
adrp x23, _IEEE80211_FCTL_TODS@GOTPAGE
Lloh1:
ldr x23, [x23, _IEEE80211_FCTL_TODS@GOTPAGEOFF]
ldr w8, [x23]
Lloh2:
adrp x24, _IEEE80211_FCTL_FROMDS@GOTPAGE
Lloh3:
ldr x24, [x24, _IEEE80211_FCTL_FROMDS@GOTPAGEOFF]
ldr w9, [x24]
orr w9, w9, w8
and w9, w9, w0
cmp w9, w8
b.ne LBB0_4
; %bb.2:
ldr w0, [x22]
ldr w1, [x21]
bl _ether_addr_equal
cbz x0, LBB0_4
; %bb.3:
ldr w0, [x22, #4]
ldr w1, [x21]
bl _ether_addr_equal
cbnz x0, LBB0_6
LBB0_4:
ldr w8, [x23]
ldr w9, [x24]
orr w8, w9, w8
and w8, w8, w20
cmp w8, w9
b.ne LBB0_7
; %bb.5:
ldr w0, [x22]
ldr w1, [x21]
bl _ether_addr_equal
cbz x0, LBB0_8
LBB0_6:
ldr w8, [x19]
cmp w8, #32
b.ge LBB0_9
LBB0_7:
mov w0, #0
LBB0_8:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_9:
ldr x8, [x19, #8]
ldp w9, w8, [x8, #120]
orr w8, w8, w9, lsl #8
Lloh4:
adrp x9, _ETH_P_PAE@GOTPAGE
Lloh5:
ldr x9, [x9, _ETH_P_PAE@GOTPAGEOFF]
Lloh6:
ldr w9, [x9]
cmp w8, w9
cset w0, eq
b LBB0_8
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _IEEE80211_FCTL_TODS,4,2 ; @IEEE80211_FCTL_TODS
.comm _IEEE80211_FCTL_FROMDS,4,2 ; @IEEE80211_FCTL_FROMDS
.comm _ETH_P_PAE,4,2 ; @ETH_P_PAE
.no_dead_strip _libipw_is_eapol_frame
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/wireless/ipw2x00/extr_libipw_rx.c_libipw_is_eapol_frame.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function window_copy_cmd_copy_line
_window_copy_cmd_copy_line: ## @window_copy_cmd_copy_line
.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 32(%rdi), %r12
movq (%rdi), %rax
movq 16(%rdi), %r14
movl (%r12), %ebx
cmpl $2, (%rax)
jne LBB0_1
## %bb.2:
movq 8(%r12), %r9
movq 8(%rdi), %r8
movq 24(%rdi), %rdx
movq 8(%rax), %rax
movl 4(%rax), %esi
xorl %edi, %edi
movq %r14, %rcx
callq _format_single
movq %rax, %r15
jmp LBB0_3
LBB0_1:
xorl %r15d, %r15d
LBB0_3:
movq %r12, %rdi
callq _window_copy_cursor_start_of_line
movq %r12, %rdi
callq _window_copy_start_selection
cmpl $2, %ebx
jl LBB0_6
## %bb.4:
incl %ebx
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
xorl %esi, %esi
callq _window_copy_cursor_down
decl %ebx
cmpl $2, %ebx
ja LBB0_5
LBB0_6:
movq %r12, %rdi
callq _window_copy_cursor_end_of_line
testq %r14, %r14
je LBB0_7
## %bb.8:
movq %r12, %rdi
movq %r15, %rsi
callq _window_copy_copy_selection
movq _WINDOW_COPY_CMD_CANCEL@GOTPCREL(%rip), %rbx
jmp LBB0_9
LBB0_7:
movq _WINDOW_COPY_CMD_REDRAW@GOTPCREL(%rip), %rbx
LBB0_9:
movq %r15, %rdi
callq _free
movl (%rbx), %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _WINDOW_COPY_CMD_CANCEL,4,2 ## @WINDOW_COPY_CMD_CANCEL
.comm _WINDOW_COPY_CMD_REDRAW,4,2 ## @WINDOW_COPY_CMD_REDRAW
.no_dead_strip _window_copy_cmd_copy_line
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function window_copy_cmd_copy_line
_window_copy_cmd_copy_line: ; @window_copy_cmd_copy_line
.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 x19, [x0, #32]
ldr x20, [x0, #16]
ldr w22, [x19]
ldr x8, [x0]
ldr w9, [x8]
cmp w9, #2
b.ne LBB0_2
; %bb.1:
ldr x5, [x19, #8]
ldr x4, [x0, #8]
ldr x2, [x0, #24]
ldr x8, [x8, #8]
ldr w1, [x8, #4]
mov x0, #0
mov x3, x20
bl _format_single
mov x21, x0
b LBB0_3
LBB0_2:
mov x21, #0
LBB0_3:
mov x0, x19
bl _window_copy_cursor_start_of_line
mov x0, x19
bl _window_copy_start_selection
cmp w22, #2
b.lt LBB0_6
; %bb.4:
add w22, w22, #1
LBB0_5: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov w1, #0
bl _window_copy_cursor_down
sub w22, w22, #1
cmp w22, #2
b.hi LBB0_5
LBB0_6:
mov x0, x19
bl _window_copy_cursor_end_of_line
cbz x20, LBB0_8
; %bb.7:
mov x0, x19
mov x1, x21
bl _window_copy_copy_selection
Lloh0:
adrp x19, _WINDOW_COPY_CMD_CANCEL@GOTPAGE
Lloh1:
ldr x19, [x19, _WINDOW_COPY_CMD_CANCEL@GOTPAGEOFF]
b LBB0_9
LBB0_8:
Lloh2:
adrp x19, _WINDOW_COPY_CMD_REDRAW@GOTPAGE
Lloh3:
ldr x19, [x19, _WINDOW_COPY_CMD_REDRAW@GOTPAGEOFF]
LBB0_9:
mov x0, x21
bl _free
ldr w0, [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 AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _WINDOW_COPY_CMD_CANCEL,4,2 ; @WINDOW_COPY_CMD_CANCEL
.comm _WINDOW_COPY_CMD_REDRAW,4,2 ; @WINDOW_COPY_CMD_REDRAW
.no_dead_strip _window_copy_cmd_copy_line
.subsections_via_symbols
| AnghaBench/tmux/extr_window-copy.c_window_copy_cmd_copy_line.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function xprt_switch_set_next_cursor
_xprt_switch_set_next_cursor: ## @xprt_switch_set_next_cursor
.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 %rdx, %r14
movq %rsi, %r12
movq %rdi, %r15
movq %rsi, %rdi
callq _smp_load_acquire
movq %r15, %rdi
movq %rax, %rsi
callq *%r14
movq %rax, %rbx
movq %r12, %rdi
movq %rax, %rsi
callq _smp_store_release
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _xprt_switch_set_next_cursor
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function xprt_switch_set_next_cursor
_xprt_switch_set_next_cursor: ; @xprt_switch_set_next_cursor
.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
mov x0, x1
bl _smp_load_acquire
mov x1, x0
mov x0, x21
blr x19
mov x19, x0
mov x0, x20
mov x1, x19
bl _smp_store_release
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
.cfi_endproc
; -- End function
.no_dead_strip _xprt_switch_set_next_cursor
.subsections_via_symbols
| AnghaBench/linux/net/sunrpc/extr_xprtmultipath.c_xprt_switch_set_next_cursor.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rdev_assoc
_rdev_assoc: ## @rdev_assoc
.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 _trace_rdev_assoc
movq 8(%rbx), %rax
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq *(%rax)
movl %eax, %r14d
movq %rbx, %rdi
movl %eax, %esi
callq _trace_rdev_return_int
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _rdev_assoc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rdev_assoc
_rdev_assoc: ; @rdev_assoc
.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 _trace_rdev_assoc
ldr x8, [x21, #8]
ldr x8, [x8]
mov x0, x21
mov x1, x20
mov x2, x19
blr x8
mov x19, x0
mov x0, x21
mov x1, x19
bl _trace_rdev_return_int
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
.cfi_endproc
; -- End function
.no_dead_strip _rdev_assoc
.subsections_via_symbols
| AnghaBench/linux/net/wireless/extr_rdev-ops.h_rdev_assoc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _esp_transport_ssl_set_cert_data ## -- Begin function esp_transport_ssl_set_cert_data
.p2align 4, 0x90
_esp_transport_ssl_set_cert_data: ## @esp_transport_ssl_set_cert_data
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r15d
movq %rsi, %r14
movq %rdi, %rbx
callq _esp_transport_get_context_data
testq %rbx, %rbx
je LBB0_3
## %bb.1:
testq %rax, %rax
je LBB0_3
## %bb.2:
movq %r14, 8(%rax)
incl %r15d
movl %r15d, (%rax)
LBB0_3:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _esp_transport_ssl_set_cert_data ; -- Begin function esp_transport_ssl_set_cert_data
.p2align 2
_esp_transport_ssl_set_cert_data: ; @esp_transport_ssl_set_cert_data
.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 _esp_transport_get_context_data
cbz x21, LBB0_3
; %bb.1:
cbz x0, LBB0_3
; %bb.2:
str x20, [x0, #8]
add w8, w19, #1
str w8, [x0]
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
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/esp-idf/components/tcp_transport/extr_transport_ssl.c_esp_transport_ssl_set_cert_data.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dai_srt_set_drat
_dai_srt_set_drat: ## @dai_srt_set_drat
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %esi, %edx
movq %rdi, %rbx
addq $4, %rdi
movq _SRTCTL_DRAT@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _set_field
movl $1, (%rbx)
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SRTCTL_DRAT,4,2 ## @SRTCTL_DRAT
.no_dead_strip _dai_srt_set_drat
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dai_srt_set_drat
_dai_srt_set_drat: ; @dai_srt_set_drat
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x2, x1
mov x19, x0
add x0, x0, #4
Lloh0:
adrp x8, _SRTCTL_DRAT@GOTPAGE
Lloh1:
ldr x8, [x8, _SRTCTL_DRAT@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _set_field
mov w8, #1
str w8, [x19]
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SRTCTL_DRAT,4,2 ; @SRTCTL_DRAT
.no_dead_strip _dai_srt_set_drat
.subsections_via_symbols
| AnghaBench/linux/sound/pci/ctxfi/extr_cthw20k2.c_dai_srt_set_drat.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ar7_wdt_shutdown
_ar7_wdt_shutdown: ## @ar7_wdt_shutdown
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _nowayout@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB0_2
## %bb.1:
popq %rbp
retq
LBB0_2:
xorl %eax, %eax
popq %rbp
jmp _ar7_wdt_disable_wdt ## TAILCALL
.cfi_endproc
## -- End function
.comm _nowayout,4,2 ## @nowayout
.no_dead_strip _ar7_wdt_shutdown
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ar7_wdt_shutdown
_ar7_wdt_shutdown: ; @ar7_wdt_shutdown
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _nowayout@GOTPAGE
Lloh1:
ldr x8, [x8, _nowayout@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cbz w8, LBB0_2
; %bb.1:
ret
LBB0_2:
b _ar7_wdt_disable_wdt
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _nowayout,4,2 ; @nowayout
.no_dead_strip _ar7_wdt_shutdown
.subsections_via_symbols
| AnghaBench/linux/drivers/watchdog/extr_ar7_wdt.c_ar7_wdt_shutdown.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _smscore_registry_setmode ## -- Begin function smscore_registry_setmode
.p2align 4, 0x90
_smscore_registry_setmode: ## @smscore_registry_setmode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %esi, %ebx
callq _smscore_find_registry
testq %rax, %rax
je LBB0_2
## %bb.1:
movl %ebx, (%rax)
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_2:
leaq L_.str(%rip), %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _sms_err ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "No registry found."
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _smscore_registry_setmode ; -- Begin function smscore_registry_setmode
.p2align 2
_smscore_registry_setmode: ; @smscore_registry_setmode
.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 _smscore_find_registry
cbz x0, LBB0_2
; %bb.1:
str w19, [x0]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_2:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _sms_err
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "No registry found."
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/media/dvb/siano/extr_smscoreapi.c_smscore_registry_setmode.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
callq _initscr
callq _start_color
callq _cbreak
callq _noecho
movq _stdscr@GOTPCREL(%rip), %r13
movq (%r13), %rdi
movl $1, %esi
callq _keypad
movl $1, %edi
movl $1, %esi
xorl %edx, %edx
callq _init_pair
movl $6, %edi
movl $8, %esi
callq _calloc
movq %rax, %r14
movq _choices(%rip), %rdi
movq %rdi, %rsi
callq _new_item
movq %rax, (%r14)
movq _choices+8(%rip), %rdi
movq %rdi, %rsi
callq _new_item
movq %rax, 8(%r14)
movq _choices+16(%rip), %rdi
movq %rdi, %rsi
callq _new_item
movq %rax, 16(%r14)
movq _choices+24(%rip), %rdi
movq %rdi, %rsi
callq _new_item
movq %rax, 24(%r14)
movq _choices+32(%rip), %rdi
movq %rdi, %rsi
callq _new_item
movq %rax, 32(%r14)
movq _choices+40(%rip), %rdi
movq %rdi, %rsi
callq _new_item
movq %rax, 40(%r14)
movq %r14, %rdi
callq _new_menu
movq %rax, %r15
movl $10, %edi
movl $40, %esi
movl $4, %edx
movl $4, %ecx
callq _newwin
movq %rax, %rbx
movq %rax, %rdi
movl $1, %esi
callq _keypad
movq %r15, %rdi
movq %rbx, %rsi
callq _set_menu_win
movq %rbx, %rdi
movl $6, %esi
movl $38, %edx
movl $3, %ecx
movl $1, %r8d
callq _derwin
movq %r15, %rdi
movq %rax, %rsi
callq _set_menu_sub
leaq L_.str.5(%rip), %rsi
movq %r15, %rdi
callq _set_menu_mark
subq $8, %rsp
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq $0
pushq $0
pushq $0
callq _wborder
addq $32, %rsp
movq %rbx, %r12
testq %rbx, %rbx
jne LBB0_2
## %bb.1:
movq (%r13), %r12
LBB0_2:
movq %r12, %rdi
callq _getcury
movq %r12, %rdi
callq _getcurx
movq %r12, %rdi
movl $256, %esi ## imm = 0x100
xorl %edx, %edx
callq _wattr_on
leaq L_.str.8(%rip), %rcx
leaq L_.str.6(%rip), %r8
movq %r12, %rdi
movl $1, %esi
movl $16, %edx
xorl %eax, %eax
callq _mvwprintw
movq %r12, %rdi
movl $256, %esi ## imm = 0x100
xorl %edx, %edx
callq _wattr_off
movq (%r13), %rdi
callq _wrefresh
movq %rbx, %rdi
movl $2, %esi
xorl %edx, %edx
callq _wmove
cmpl $-1, %eax
je LBB0_4
## %bb.3:
movq _acs_map@GOTPCREL(%rip), %rax
movl 464(%rax), %esi
movq %rbx, %rdi
callq _waddch
LBB0_4:
movq %rbx, %rdi
movl $2, %esi
movl $1, %edx
callq _wmove
cmpl $-1, %eax
je LBB0_6
## %bb.5:
movq _acs_map@GOTPCREL(%rip), %rax
movl 452(%rax), %esi
movq %rbx, %rdi
movl $38, %edx
callq _whline
LBB0_6:
movq %rbx, %rdi
movl $2, %esi
movl $39, %edx
callq _wmove
cmpl $-1, %eax
je LBB0_8
## %bb.7:
movq _acs_map@GOTPCREL(%rip), %rax
movl 468(%rax), %esi
movq %rbx, %rdi
callq _waddch
LBB0_8:
movq _LINES@GOTPCREL(%rip), %rax
movl (%rax), %edi
addl $-2, %edi
leaq L_.str.7(%rip), %rdx
xorl %esi, %esi
xorl %eax, %eax
callq _mvprintw
movq (%r13), %rdi
callq _wrefresh
movq %r15, %rdi
callq _post_menu
jmp LBB0_9
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_9 Depth=1
movl $514, %esi ## imm = 0x202
LBB0_15: ## in Loop: Header=BB0_9 Depth=1
movq %r15, %rdi
callq _menu_driver
LBB0_9: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _wrefresh
movq %rbx, %rdi
callq _wgetch
cmpl $258, %eax ## imm = 0x102
je LBB0_10
## %bb.11: ## in Loop: Header=BB0_9 Depth=1
cmpl $259, %eax ## imm = 0x103
je LBB0_14
## %bb.12: ## in Loop: Header=BB0_9 Depth=1
cmpl $265, %eax ## imm = 0x109
jne LBB0_9
jmp LBB0_13
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_9 Depth=1
movl $515, %esi ## imm = 0x203
jmp LBB0_15
LBB0_13:
movq %r15, %rdi
callq _unpost_menu
movq %r15, %rdi
callq _free_menu
movq (%r14), %rdi
callq _free_item
movq 8(%r14), %rdi
callq _free_item
movq 16(%r14), %rdi
callq _free_item
movq 24(%r14), %rdi
callq _free_item
movq 32(%r14), %rdi
callq _free_item
movq 40(%r14), %rdi
callq _free_item
callq _endwin
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_in_middle ## -- Begin function print_in_middle
.p2align 4, 0x90
_print_in_middle: ## @print_in_middle
.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 %r9d, -48(%rbp) ## 4-byte Spill
movq %r8, -56(%rbp) ## 8-byte Spill
movl %ecx, %r12d
movl %edx, -44(%rbp) ## 4-byte Spill
movl %esi, %r14d
movq %rdi, %r15
movq _stdscr@GOTPCREL(%rip), %rax
testq %rdi, %rdi
jne LBB1_2
## %bb.1:
movq (%rax), %r15
LBB1_2:
movq %r15, %rdi
callq _getcury
movl %eax, %r13d
movq %r15, %rdi
callq _getcurx
testl %r14d, %r14d
cmovnel %r14d, %r13d
testl %r12d, %r12d
movl $80, %ebx
cmovnel %r12d, %ebx
movq -56(%rbp), %r12 ## 8-byte Reload
movq %r12, %rdi
callq _strlen
subl %eax, %ebx
movl %ebx, %eax
shrl $31, %eax
addl %ebx, %eax
sarl %eax
cvtsi2ss %eax, %xmm0
cvttss2si %xmm0, %ebx
addl -44(%rbp), %ebx ## 4-byte Folded Reload
movq %r15, %rdi
movl -48(%rbp), %r14d ## 4-byte Reload
movl %r14d, %esi
xorl %edx, %edx
callq _wattr_on
leaq L_.str.8(%rip), %rcx
movq %r15, %rdi
movl %r13d, %esi
movl %ebx, %edx
movq %r12, %r8
xorl %eax, %eax
callq _mvwprintw
movq %r15, %rdi
movl %r14d, %esi
xorl %edx, %edx
callq _wattr_off
movq _stdscr@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _wrefresh ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Choice 1"
L_.str.1: ## @.str.1
.asciz "Choice 2"
L_.str.2: ## @.str.2
.asciz "Choice 3"
L_.str.3: ## @.str.3
.asciz "Choice 4"
L_.str.4: ## @.str.4
.asciz "Exit"
.section __DATA,__data
.globl _choices ## @choices
.p2align 4
_choices:
.quad L_.str
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.quad L_.str.4
.quad 0
.section __TEXT,__cstring,cstring_literals
L_.str.5: ## @.str.5
.asciz " * "
L_.str.6: ## @.str.6
.asciz "My Menu"
L_.str.7: ## @.str.7
.asciz "F1 to exit"
L_.str.8: ## @.str.8
.asciz "%s"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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
bl _initscr
bl _start_color
bl _cbreak
bl _noecho
Lloh0:
adrp x23, _stdscr@GOTPAGE
Lloh1:
ldr x23, [x23, _stdscr@GOTPAGEOFF]
ldr x0, [x23]
mov w1, #1
bl _keypad
mov w0, #1
mov w1, #1
mov w2, #0
bl _init_pair
mov w0, #6
mov w1, #8
bl _calloc
mov x19, x0
Lloh2:
adrp x20, _choices@PAGE
Lloh3:
add x20, x20, _choices@PAGEOFF
ldr x0, [x20]
mov x1, x0
bl _new_item
str x0, [x19]
ldr x0, [x20, #8]
mov x1, x0
bl _new_item
str x0, [x19, #8]
ldr x0, [x20, #16]
mov x1, x0
bl _new_item
str x0, [x19, #16]
ldr x0, [x20, #24]
mov x1, x0
bl _new_item
str x0, [x19, #24]
ldr x0, [x20, #32]
mov x1, x0
bl _new_item
str x0, [x19, #32]
ldr x0, [x20, #40]
mov x1, x0
bl _new_item
str x0, [x19, #40]
mov x0, x19
bl _new_menu
mov x20, x0
mov w0, #10
mov w1, #40
mov w2, #4
mov w3, #4
bl _newwin
mov x21, x0
mov w1, #1
bl _keypad
mov x0, x20
mov x1, x21
bl _set_menu_win
mov x0, x21
mov w1, #6
mov w2, #38
mov w3, #3
mov w4, #1
bl _derwin
mov x1, x0
mov x0, x20
bl _set_menu_sub
Lloh4:
adrp x1, l_.str.5@PAGE
Lloh5:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x20
bl _set_menu_mark
str wzr, [sp]
mov x0, x21
mov w1, #0
mov w2, #0
mov w3, #0
mov w4, #0
mov w5, #0
mov w6, #0
mov w7, #0
bl _wborder
ldr x8, [x23]
cmp x21, #0
csel x22, x8, x21, eq
mov x0, x22
bl _getcury
mov x0, x22
bl _getcurx
mov x0, x22
mov w1, #256
mov x2, #0
bl _wattr_on
Lloh6:
adrp x8, l_.str.6@PAGE
Lloh7:
add x8, x8, l_.str.6@PAGEOFF
str x8, [sp]
Lloh8:
adrp x3, l_.str.8@PAGE
Lloh9:
add x3, x3, l_.str.8@PAGEOFF
mov x0, x22
mov w1, #1
mov w2, #16
bl _mvwprintw
mov x0, x22
mov w1, #256
mov x2, #0
bl _wattr_off
ldr x0, [x23]
bl _wrefresh
mov x0, x21
mov w1, #2
mov w2, #0
bl _wmove
Lloh10:
adrp x22, _acs_map@GOTPAGE
Lloh11:
ldr x22, [x22, _acs_map@GOTPAGEOFF]
cmn w0, #1
b.eq LBB0_2
; %bb.1:
ldr w1, [x22, #464]
mov x0, x21
bl _waddch
LBB0_2:
mov x0, x21
mov w1, #2
mov w2, #1
bl _wmove
cmn w0, #1
b.eq LBB0_4
; %bb.3:
ldr w1, [x22, #452]
mov x0, x21
mov w2, #38
bl _whline
LBB0_4:
mov x0, x21
mov w1, #2
mov w2, #39
bl _wmove
cmn w0, #1
b.eq LBB0_6
; %bb.5:
ldr w1, [x22, #468]
mov x0, x21
bl _waddch
LBB0_6:
Lloh12:
adrp x8, _LINES@GOTPAGE
Lloh13:
ldr x8, [x8, _LINES@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
sub w0, w8, #2
Lloh15:
adrp x2, l_.str.7@PAGE
Lloh16:
add x2, x2, l_.str.7@PAGEOFF
mov w1, #0
bl _mvprintw
ldr x0, [x23]
bl _wrefresh
mov x0, x20
bl _post_menu
b LBB0_9
LBB0_7: ; in Loop: Header=BB0_9 Depth=1
mov w1, #514
LBB0_8: ; in Loop: Header=BB0_9 Depth=1
mov x0, x20
bl _menu_driver
LBB0_9: ; =>This Inner Loop Header: Depth=1
mov x0, x21
bl _wrefresh
mov x0, x21
bl _wgetch
cmp w0, #258
b.eq LBB0_12
; %bb.10: ; in Loop: Header=BB0_9 Depth=1
cmp w0, #259
b.eq LBB0_7
; %bb.11: ; in Loop: Header=BB0_9 Depth=1
cmp w0, #265
b.ne LBB0_9
b LBB0_13
LBB0_12: ; in Loop: Header=BB0_9 Depth=1
mov w1, #515
b LBB0_8
LBB0_13:
mov x0, x20
bl _unpost_menu
mov x0, x20
bl _free_menu
ldr x0, [x19]
bl _free_item
ldr x0, [x19, #8]
bl _free_item
ldr x0, [x19, #16]
bl _free_item
ldr x0, [x19, #24]
bl _free_item
ldr x0, [x19, #32]
bl _free_item
ldr x0, [x19, #40]
bl _free_item
bl _endwin
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.cfi_endproc
; -- End function
.globl _print_in_middle ; -- Begin function print_in_middle
.p2align 2
_print_in_middle: ; @print_in_middle
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x5
mov x20, x4
mov x21, x3
mov x22, x2
mov x23, x1
Lloh17:
adrp x26, _stdscr@GOTPAGE
Lloh18:
ldr x26, [x26, _stdscr@GOTPAGEOFF]
ldr x8, [x26]
cmp x0, #0
csel x24, x8, x0, eq
mov x0, x24
bl _getcury
mov x25, x0
mov x0, x24
bl _getcurx
cmp w23, #0
csel w23, w25, w23, eq
mov w8, #80
cmp w21, #0
csel w21, w8, w21, eq
mov x0, x20
bl _strlen
sub w8, w21, w0
cmp w8, #0
cinc w8, w8, lt
asr w8, w8, #1
scvtf s0, w8
fcvtzs w8, s0
add w21, w8, w22
mov x0, x24
mov x1, x19
mov x2, #0
bl _wattr_on
str x20, [sp]
Lloh19:
adrp x3, l_.str.8@PAGE
Lloh20:
add x3, x3, l_.str.8@PAGEOFF
mov x0, x24
mov x1, x23
mov x2, x21
bl _mvwprintw
mov x0, x24
mov x1, x19
mov x2, #0
bl _wattr_off
ldr x0, [x26]
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
b _wrefresh
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdrGot Lloh17, Lloh18
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Choice 1"
l_.str.1: ; @.str.1
.asciz "Choice 2"
l_.str.2: ; @.str.2
.asciz "Choice 3"
l_.str.3: ; @.str.3
.asciz "Choice 4"
l_.str.4: ; @.str.4
.asciz "Exit"
.section __DATA,__data
.globl _choices ; @choices
.p2align 3
_choices:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.quad 0
.section __TEXT,__cstring,cstring_literals
l_.str.5: ; @.str.5
.asciz " * "
l_.str.6: ; @.str.6
.asciz "My Menu"
l_.str.7: ; @.str.7
.asciz "F1 to exit"
l_.str.8: ; @.str.8
.asciz "%s"
.subsections_via_symbols
| the_stack_data/43161.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _process_record_user ## -- Begin function process_record_user
.p2align 4, 0x90
_process_record_user: ## @process_record_user
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _process_record_user ; -- Begin function process_record_user
.p2align 2
_process_record_user: ; @process_record_user
.cfi_startproc
; %bb.0:
mov w0, #1
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/qmk_firmware/keyboards/1upkeyboards/1up60rgb/keymaps/tsangan/extr_keymap.c_process_record_user.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function REG_A4XX_VSC_PIPE_DATA_ADDRESS
_REG_A4XX_VSC_PIPE_DATA_ADDRESS: ## @REG_A4XX_VSC_PIPE_DATA_ADDRESS
.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 3088(%rdi), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _REG_A4XX_VSC_PIPE_DATA_ADDRESS
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function REG_A4XX_VSC_PIPE_DATA_ADDRESS
_REG_A4XX_VSC_PIPE_DATA_ADDRESS: ; @REG_A4XX_VSC_PIPE_DATA_ADDRESS
.cfi_startproc
; %bb.0:
add w0, w0, #3088
ret
.cfi_endproc
; -- End function
.no_dead_strip _REG_A4XX_VSC_PIPE_DATA_ADDRESS
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a4xx.xml.h_REG_A4XX_VSC_PIPE_DATA_ADDRESS.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x41dfffffffc00000 ## double 2147483647
LCPI0_1:
.quad 0x4024000000000000 ## double 10
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
xorl %edi, %edi
callq _time
movl %eax, %edi
callq _srand
movl $100000, %ebx ## imm = 0x186A0
leaq L_.str(%rip), %r14
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
callq _rand
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
divsd LCPI0_0(%rip), %xmm0
mulsd LCPI0_1(%rip), %xmm0
cvttsd2si %xmm0, %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
decl %ebx
jne LBB0_1
## %bb.2:
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp d9, d8, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset b8, -56
.cfi_offset b9, -64
mov x0, #0
bl _time
; kill: def $w0 killed $w0 killed $x0
bl _srand
mov w20, #34464
movk w20, #1, lsl #16
mov x21, #281474972516352
movk x21, #16863, lsl #48
fmov d8, #10.00000000
Lloh0:
adrp x19, l_.str@PAGE
Lloh1:
add x19, x19, l_.str@PAGEOFF
LBB0_1: ; =>This Inner Loop Header: Depth=1
bl _rand
scvtf d0, w0
fmov d1, x21
fdiv d0, d0, d1
fmul d0, d0, d8
fcvtzs w8, d0
str x8, [sp]
mov x0, x19
bl _printf
subs w20, w20, #1
b.ne LBB0_1
; %bb.2:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp d9, d8, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/145452964.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function dsmatchselect
_dsmatchselect: ## @dsmatchselect
.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
## kill: def $edx killed $edx def $rdx
## kill: def $esi killed $esi def $rsi
testq %rdi, %rdi
je LBB0_1
## %bb.2:
movq %rcx, -48(%rbp) ## 8-byte Spill
movq %rdx, -56(%rbp) ## 8-byte Spill
movq %rsi, -64(%rbp) ## 8-byte Spill
callq _strdup
movq %rax, %r13
movq %rax, -72(%rbp)
movl $1, %r15d
leaq L_.str.1(%rip), %rbx
leaq -72(%rbp), %r14
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %rbx, %rsi
callq _strsep
decl %r15d
testq %rax, %rax
je LBB0_3
## %bb.4:
movq %rax, %r12
movq %r13, %rdi
callq _free
movq _num_matches@GOTPCREL(%rip), %rbx
cmpq $0, (%rbx)
jle LBB0_6
## %bb.5:
movq _matches@GOTPCREL(%rip), %r14
movq (%r14), %rdi
callq _free
movq $0, (%r14)
movq $0, (%rbx)
LBB0_6:
testl %r15d, %r15d
jle LBB0_13
## %bb.7:
movq _matches@GOTPCREL(%rip), %rbx
movq _num_matches@GOTPCREL(%rip), %r13
movq %r12, %rdi
movq %rbx, %rsi
movq %r13, %rdx
callq _devstat_buildmatch
testq %rax, %rax
je LBB0_9
## %bb.8:
movq _devstat_errbuf@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _warnx
xorl %eax, %eax
jmp LBB0_14
LBB0_1:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _warnx
LBB0_13:
movl $1, %eax
LBB0_14:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_9:
movq _DS_MATCHTYPE_PATTERN@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _last_type@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq _generation@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movq -48(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
movl (%rax), %r9d
movq _num_devices@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _dev_select@GOTPCREL(%rip), %rdi
movq _num_selected@GOTPCREL(%rip), %rsi
movq _num_selections@GOTPCREL(%rip), %rdx
movq _select_generation@GOTPCREL(%rip), %rcx
pushq $0
pushq -56(%rbp) ## 8-byte Folded Reload
pushq -64(%rbp) ## 8-byte Folded Reload
pushq $0
pushq $0
pushq (%r13)
pushq (%rbx)
pushq %rax
callq _devstat_selectdevs
addq $64, %rsp
cmpl $1, %eax
je LBB0_10
## %bb.11:
cmpl $-1, %eax
jne LBB0_13
## %bb.12:
leaq L_.str.4(%rip), %rsi
movl $1, %edi
callq _err
jmp LBB0_13
LBB0_10:
movl $2, %eax
jmp LBB0_14
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "dsmatchselect: no arguments"
L_.str.1: ## @.str.1
.asciz "|"
.comm _num_matches,8,3 ## @num_matches
.comm _matches,8,3 ## @matches
L_.str.3: ## @.str.3
.asciz "%s"
.comm _devstat_errbuf,4,2 ## @devstat_errbuf
.comm _DS_MATCHTYPE_PATTERN,4,2 ## @DS_MATCHTYPE_PATTERN
.comm _last_type,4,2 ## @last_type
.comm _dev_select,4,2 ## @dev_select
.comm _num_selected,4,2 ## @num_selected
.comm _num_selections,4,2 ## @num_selections
.comm _select_generation,4,2 ## @select_generation
.comm _generation,4,2 ## @generation
.comm _num_devices,4,2 ## @num_devices
L_.str.4: ## @.str.4
.asciz "device selection error"
.no_dead_strip _dsmatchselect
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function dsmatchselect
_dsmatchselect: ; @dsmatchselect
.cfi_startproc
; %bb.0:
sub sp, sp, #128
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
cbz x0, LBB0_8
; %bb.1:
mov x21, x3
mov x20, x2
mov x19, x1
bl _strdup
mov x22, x0
str x0, [sp, #40]
mov w24, #1 ; =0x1
Lloh0:
adrp x23, l_.str.1@PAGE
Lloh1:
add x23, x23, l_.str.1@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
add x0, sp, #40
mov x1, x23
bl _strsep
sub w24, w24, #1
cbz x0, LBB0_2
; %bb.3:
mov x23, x0
mov x0, x22
bl _free
Lloh2:
adrp x22, _num_matches@GOTPAGE
Lloh3:
ldr x22, [x22, _num_matches@GOTPAGEOFF]
ldr x8, [x22]
cmp x8, #1
b.lt LBB0_5
; %bb.4:
Lloh4:
adrp x25, _matches@GOTPAGE
Lloh5:
ldr x25, [x25, _matches@GOTPAGEOFF]
ldr x0, [x25]
bl _free
str xzr, [x25]
str xzr, [x22]
LBB0_5:
cmp w24, #1
b.lt LBB0_9
; %bb.6:
mov x0, x23
Lloh6:
adrp x22, _matches@GOTPAGE
Lloh7:
ldr x22, [x22, _matches@GOTPAGEOFF]
Lloh8:
adrp x23, _num_matches@GOTPAGE
Lloh9:
ldr x23, [x23, _num_matches@GOTPAGEOFF]
mov x1, x22
mov x2, x23
bl _devstat_buildmatch
cbz x0, LBB0_11
; %bb.7:
Lloh10:
adrp x8, _devstat_errbuf@GOTPAGE
Lloh11:
ldr x8, [x8, _devstat_errbuf@GOTPAGEOFF]
Lloh12:
ldr w8, [x8]
str x8, [sp]
Lloh13:
adrp x0, l_.str.3@PAGE
Lloh14:
add x0, x0, l_.str.3@PAGEOFF
bl _warnx
mov w0, #0 ; =0x0
b LBB0_10
LBB0_8:
Lloh15:
adrp x0, l_.str@PAGE
Lloh16:
add x0, x0, l_.str@PAGEOFF
bl _warnx
LBB0_9:
mov w0, #1 ; =0x1
LBB0_10:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB0_11:
Lloh17:
adrp x8, _DS_MATCHTYPE_PATTERN@GOTPAGE
Lloh18:
ldr x8, [x8, _DS_MATCHTYPE_PATTERN@GOTPAGEOFF]
Lloh19:
adrp x9, _last_type@GOTPAGE
Lloh20:
ldr x9, [x9, _last_type@GOTPAGEOFF]
Lloh21:
ldr w8, [x8]
Lloh22:
str w8, [x9]
Lloh23:
adrp x8, _generation@GOTPAGE
Lloh24:
ldr x8, [x8, _generation@GOTPAGEOFF]
Lloh25:
ldr w4, [x8]
ldr x8, [x21]
ldr w5, [x8]
Lloh26:
adrp x8, _num_devices@GOTPAGE
Lloh27:
ldr x8, [x8, _num_devices@GOTPAGEOFF]
Lloh28:
ldr w6, [x8]
ldr x7, [x22]
ldr x8, [x23]
stp w20, wzr, [sp, #24]
stp wzr, w19, [sp, #16]
stp x8, xzr, [sp]
Lloh29:
adrp x0, _dev_select@GOTPAGE
Lloh30:
ldr x0, [x0, _dev_select@GOTPAGEOFF]
Lloh31:
adrp x1, _num_selected@GOTPAGE
Lloh32:
ldr x1, [x1, _num_selected@GOTPAGEOFF]
Lloh33:
adrp x2, _num_selections@GOTPAGE
Lloh34:
ldr x2, [x2, _num_selections@GOTPAGEOFF]
Lloh35:
adrp x3, _select_generation@GOTPAGE
Lloh36:
ldr x3, [x3, _select_generation@GOTPAGEOFF]
bl _devstat_selectdevs
cmp w0, #1
b.eq LBB0_14
; %bb.12:
cmn w0, #1
b.ne LBB0_9
; %bb.13:
Lloh37:
adrp x1, l_.str.4@PAGE
Lloh38:
add x1, x1, l_.str.4@PAGEOFF
mov w0, #1 ; =0x1
bl _err
b LBB0_9
LBB0_14:
mov w0, #2 ; =0x2
b LBB0_10
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGot Lloh35, Lloh36
.loh AdrpLdrGot Lloh33, Lloh34
.loh AdrpLdrGot Lloh31, Lloh32
.loh AdrpLdrGot Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotStr Lloh19, Lloh20, Lloh22
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh21
.loh AdrpAdd Lloh37, Lloh38
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "dsmatchselect: no arguments"
l_.str.1: ; @.str.1
.asciz "|"
.comm _num_matches,8,3 ; @num_matches
.comm _matches,8,3 ; @matches
l_.str.3: ; @.str.3
.asciz "%s"
.comm _devstat_errbuf,4,2 ; @devstat_errbuf
.comm _DS_MATCHTYPE_PATTERN,4,2 ; @DS_MATCHTYPE_PATTERN
.comm _last_type,4,2 ; @last_type
.comm _dev_select,4,2 ; @dev_select
.comm _num_selected,4,2 ; @num_selected
.comm _num_selections,4,2 ; @num_selections
.comm _select_generation,4,2 ; @select_generation
.comm _generation,4,2 ; @generation
.comm _num_devices,4,2 ; @num_devices
l_.str.4: ; @.str.4
.asciz "device selection error"
.no_dead_strip _dsmatchselect
.subsections_via_symbols
| assembly_file_23795.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lm3560_flash_brt_ctrl
_lm3560_flash_brt_ctrl: ## @lm3560_flash_brt_ctrl
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %r15
movq _LM3560_FLASH_BRT_MIN@GOTPCREL(%rip), %rax
cmpl %edx, (%rax)
jbe LBB0_1
## %bb.5:
movq %r15, %rdi
movl %r14d, %esi
xorl %edx, %edx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _lm3560_enable_ctrl ## TAILCALL
LBB0_1:
movl %edx, %ebx
movq %r15, %rdi
movl %r14d, %esi
movl $1, %edx
callq _lm3560_enable_ctrl
movl %ebx, %edi
callq _LM3560_FLASH_BRT_uA_TO_REG
movq _LM3560_LED0@GOTPCREL(%rip), %rcx
movl (%r15), %edi
movq _REG_FLASH_BR@GOTPCREL(%rip), %rdx
movl (%rdx), %esi
cmpl %r14d, (%rcx)
jne LBB0_4
## %bb.2:
movl $15, %edx
jmp LBB0_3
LBB0_4:
shll $4, %eax
movl $240, %edx
LBB0_3:
movl %eax, %ecx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _regmap_update_bits ## TAILCALL
.cfi_endproc
## -- End function
.comm _LM3560_FLASH_BRT_MIN,4,2 ## @LM3560_FLASH_BRT_MIN
.comm _LM3560_LED0,4,2 ## @LM3560_LED0
.comm _REG_FLASH_BR,4,2 ## @REG_FLASH_BR
.no_dead_strip _lm3560_flash_brt_ctrl
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lm3560_flash_brt_ctrl
_lm3560_flash_brt_ctrl: ; @lm3560_flash_brt_ctrl
.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
Lloh0:
adrp x8, _LM3560_FLASH_BRT_MIN@GOTPAGE
Lloh1:
ldr x8, [x8, _LM3560_FLASH_BRT_MIN@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w8, w2
b.ls LBB0_2
; %bb.1:
mov x0, x20
mov x1, x19
mov w2, #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 _lm3560_enable_ctrl
LBB0_2:
mov x21, x2
mov x0, x20
mov x1, x19
mov w2, #1
bl _lm3560_enable_ctrl
mov x0, x21
bl _LM3560_FLASH_BRT_uA_TO_REG
mov x3, x0
Lloh3:
adrp x8, _LM3560_LED0@GOTPAGE
Lloh4:
ldr x8, [x8, _LM3560_LED0@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
ldr w0, [x20]
Lloh6:
adrp x9, _REG_FLASH_BR@GOTPAGE
Lloh7:
ldr x9, [x9, _REG_FLASH_BR@GOTPAGEOFF]
Lloh8:
ldr w1, [x9]
cmp w8, w19
b.ne LBB0_4
; %bb.3:
mov w2, #15
b LBB0_5
LBB0_4:
lsl w3, w3, #4
mov w2, #240
LBB0_5:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _regmap_update_bits
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _LM3560_FLASH_BRT_MIN,4,2 ; @LM3560_FLASH_BRT_MIN
.comm _LM3560_LED0,4,2 ; @LM3560_LED0
.comm _REG_FLASH_BR,4,2 ; @REG_FLASH_BR
.no_dead_strip _lm3560_flash_brt_ctrl
.subsections_via_symbols
| AnghaBench/linux/drivers/media/i2c/extr_lm3560.c_lm3560_flash_brt_ctrl.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ivb_sprite_ctl_crtc
_ivb_sprite_ctl_crtc: ## @ivb_sprite_ctl_crtc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
cmpq $0, 8(%rdi)
movl $0, %ecx
je LBB0_2
## %bb.1:
movq _SPRITE_GAMMA_ENABLE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
LBB0_2:
cmpq $0, (%rdi)
je LBB0_4
## %bb.3:
movq _SPRITE_PIPE_CSC_ENABLE@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_4:
orl %ecx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SPRITE_GAMMA_ENABLE,4,2 ## @SPRITE_GAMMA_ENABLE
.comm _SPRITE_PIPE_CSC_ENABLE,4,2 ## @SPRITE_PIPE_CSC_ENABLE
.no_dead_strip _ivb_sprite_ctl_crtc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ivb_sprite_ctl_crtc
_ivb_sprite_ctl_crtc: ; @ivb_sprite_ctl_crtc
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _SPRITE_GAMMA_ENABLE@GOTPAGE
Lloh1:
ldr x8, [x8, _SPRITE_GAMMA_ENABLE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
ldp x10, x9, [x0]
cmp x9, #0
Lloh3:
adrp x9, _SPRITE_PIPE_CSC_ENABLE@GOTPAGE
Lloh4:
ldr x9, [x9, _SPRITE_PIPE_CSC_ENABLE@GOTPAGEOFF]
csel w8, wzr, w8, eq
Lloh5:
ldr w9, [x9]
cmp x10, #0
csel w9, wzr, w9, eq
orr w0, w9, w8
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SPRITE_GAMMA_ENABLE,4,2 ; @SPRITE_GAMMA_ENABLE
.comm _SPRITE_PIPE_CSC_ENABLE,4,2 ; @SPRITE_PIPE_CSC_ENABLE
.no_dead_strip _ivb_sprite_ctl_crtc
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_sprite.c_ivb_sprite_ctl_crtc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mtk_drm_crtc_enable_vblank
_mtk_drm_crtc_enable_vblank: ## @mtk_drm_crtc_enable_vblank
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _to_mtk_crtc
movq 8(%rax), %rcx
movq (%rcx), %rdi
movq %rax, %rsi
callq _mtk_ddp_comp_enable_vblank
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _mtk_drm_crtc_enable_vblank
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mtk_drm_crtc_enable_vblank
_mtk_drm_crtc_enable_vblank: ; @mtk_drm_crtc_enable_vblank
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _to_mtk_crtc
mov x1, x0
ldr x8, [x0, #8]
ldr x0, [x8]
bl _mtk_ddp_comp_enable_vblank
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _mtk_drm_crtc_enable_vblank
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/mediatek/extr_mtk_drm_crtc.c_mtk_drm_crtc_enable_vblank.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function l2_clear_own_busy
_l2_clear_own_busy: ## @l2_clear_own_busy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdx, %r14
movq (%rdi), %rbx
movq _FLG_OWN_BUSY@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %rbx, %rsi
callq _test_and_clear_bit
testl %eax, %eax
je LBB0_1
## %bb.2:
testq %r14, %r14
je LBB0_3
LBB0_4:
movq %r14, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _dev_kfree_skb ## TAILCALL
LBB0_1:
movq _RR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _RSP@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
xorl %ecx, %ecx
callq _enquiry_cr
movq _FLG_ACK_PEND@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %rbx, %rsi
callq _test_and_clear_bit
testq %r14, %r14
jne LBB0_4
LBB0_3:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FLG_OWN_BUSY,4,2 ## @FLG_OWN_BUSY
.comm _RR,4,2 ## @RR
.comm _RSP,4,2 ## @RSP
.comm _FLG_ACK_PEND,4,2 ## @FLG_ACK_PEND
.no_dead_strip _l2_clear_own_busy
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function l2_clear_own_busy
_l2_clear_own_busy: ; @l2_clear_own_busy
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x2
ldr x20, [x0]
Lloh0:
adrp x8, _FLG_OWN_BUSY@GOTPAGE
Lloh1:
ldr x8, [x8, _FLG_OWN_BUSY@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
mov x1, x20
bl _test_and_clear_bit
cbz w0, LBB0_3
; %bb.1:
cbz x19, LBB0_4
LBB0_2:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _dev_kfree_skb
LBB0_3:
Lloh3:
adrp x8, _RR@GOTPAGE
Lloh4:
ldr x8, [x8, _RR@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
Lloh6:
adrp x8, _RSP@GOTPAGE
Lloh7:
ldr x8, [x8, _RSP@GOTPAGEOFF]
Lloh8:
ldr w2, [x8]
mov x0, x20
mov w3, #0
bl _enquiry_cr
Lloh9:
adrp x8, _FLG_ACK_PEND@GOTPAGE
Lloh10:
ldr x8, [x8, _FLG_ACK_PEND@GOTPAGEOFF]
Lloh11:
ldr w0, [x8]
mov x1, x20
bl _test_and_clear_bit
cbnz x19, LBB0_2
LBB0_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _FLG_OWN_BUSY,4,2 ; @FLG_OWN_BUSY
.comm _RR,4,2 ; @RR
.comm _RSP,4,2 ; @RSP
.comm _FLG_ACK_PEND,4,2 ; @FLG_ACK_PEND
.no_dead_strip _l2_clear_own_busy
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/isdn/mISDN/extr_layer2.c_l2_clear_own_busy.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function digest_async_update
_digest_async_update: ## @digest_async_update
.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 16(%rdi), %rdi
movl 8(%rbx), %eax
movl %eax, -16(%rbp)
callq ___crypto_hash_cast
movl %eax, -12(%rbp)
movl (%rbx), %edx
movl 4(%rbx), %esi
leaq -16(%rbp), %rdi
callq _update
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _digest_async_update
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function digest_async_update
_digest_async_update: ; @digest_async_update
.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 x0, [x0, #16]
ldr w8, [x19, #8]
str w8, [sp, #8]
bl ___crypto_hash_cast
str w0, [sp, #12]
ldp w2, w1, [x19]
add x0, sp, #8
bl _update
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
.cfi_endproc
; -- End function
.no_dead_strip _digest_async_update
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/crypto/extr_digest.c_digest_async_update.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function orion_gpio_set
_orion_gpio_set: ## @orion_gpio_set
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movl %esi, %r15d
callq _gpiochip_get_data
movq %rax, %rbx
movq %rax, %rdi
callq _spin_lock_irqsave
movq %rbx, %rdi
movl %r15d, %esi
movl %r14d, %edx
callq ___set_level
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _spin_unlock_irqrestore ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _orion_gpio_set
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function orion_gpio_set
_orion_gpio_set: ; @orion_gpio_set
.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 _gpiochip_get_data
mov x21, x0
bl _spin_lock_irqsave
mov x0, x21
mov x1, x20
mov x2, x19
bl ___set_level
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
.no_dead_strip _orion_gpio_set
.subsections_via_symbols
| AnghaBench/linux/arch/arm/plat-orion/extr_gpio.c_orion_gpio_set.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function main
LCPI0_0:
.space 16
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movabsq $4294967296, %r12 ## imm = 0x100000000
leaq L_str(%rip), %rdi
callq _puts
movq $0, -48(%rbp)
leaq L_str.31(%rip), %r13
leaq L_str.38(%rip), %r14
jmp LBB0_5
LBB0_1: ## in Loop: Header=BB0_5 Depth=1
leaq L_str.55(%rip), %rdi
LBB0_2: ## in Loop: Header=BB0_5 Depth=1
callq _puts
LBB0_3: ## in Loop: Header=BB0_5 Depth=1
leaq L_str.31(%rip), %r13
LBB0_4: ## in Loop: Header=BB0_5 Depth=1
cmpb $54, %r15b
je LBB0_119
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
## Child Loop BB0_8 Depth 3
## Child Loop BB0_42 Depth 2
## Child Loop BB0_79 Depth 2
## Child Loop BB0_82 Depth 3
## Child Loop BB0_84 Depth 3
## Child Loop BB0_89 Depth 3
## Child Loop BB0_35 Depth 2
## Child Loop BB0_64 Depth 2
## Child Loop BB0_67 Depth 3
## Child Loop BB0_69 Depth 3
## Child Loop BB0_74 Depth 3
## Child Loop BB0_99 Depth 2
## Child Loop BB0_100 Depth 3
## Child Loop BB0_106 Depth 2
## Child Loop BB0_110 Depth 2
## Child Loop BB0_115 Depth 2
## Child Loop BB0_24 Depth 2
## Child Loop BB0_28 Depth 2
## Child Loop BB0_31 Depth 2
## Child Loop BB0_17 Depth 2
## Child Loop BB0_49 Depth 2
## Child Loop BB0_52 Depth 3
## Child Loop BB0_54 Depth 3
## Child Loop BB0_59 Depth 3
## Child Loop BB0_13 Depth 2
movq %r13, %rdi
callq _puts
leaq L_str.32(%rip), %rdi
callq _puts
leaq L_str.33(%rip), %rdi
callq _puts
leaq L_str.34(%rip), %rdi
callq _puts
leaq L_str.35(%rip), %rdi
callq _puts
leaq L_str.36(%rip), %rdi
callq _puts
leaq L_str.37(%rip), %rdi
callq _puts
jmp LBB0_7
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_7 Depth=2
movl %r15d, %eax
shll $24, %eax
addl $-905969665, %eax ## imm = 0xC9FFFFFF
cmpl $-83886081, %eax ## imm = 0xFAFFFFFF
jae LBB0_10
LBB0_7: ## Parent Loop BB0_5 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_8 Depth 3
movq %r14, %rdi
callq _puts
callq _getchar
movl %eax, %r15d
.p2align 4, 0x90
LBB0_8: ## Parent Loop BB0_5 Depth=1
## Parent Loop BB0_7 Depth=2
## => This Inner Loop Header: Depth=3
callq _getchar
shll $24, %eax
cmpl $167772160, %eax ## imm = 0xA000000
je LBB0_6
## %bb.9: ## in Loop: Header=BB0_8 Depth=3
cmpl $-16777216, %eax ## imm = 0xFF000000
jne LBB0_8
jmp LBB0_6
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
leal -49(%r15), %eax
cmpb $4, %al
ja LBB0_14
## %bb.11: ## in Loop: Header=BB0_5 Depth=1
movzbl %al, %eax
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_12: ## in Loop: Header=BB0_5 Depth=1
movq -48(%rbp), %rbx
leaq L_str.57(%rip), %rdi
callq _puts
testq %rbx, %rbx
leaq L_.str.27(%rip), %r13
je LBB0_1
.p2align 4, 0x90
LBB0_13: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movq (%rbx), %rsi
movq 8(%rbx), %rdx
movq %r13, %rdi
xorl %eax, %eax
callq _printf
movq 24(%rbx), %rbx
testq %rbx, %rbx
jne LBB0_13
jmp LBB0_1
LBB0_14: ## in Loop: Header=BB0_5 Depth=1
leaq L_str.53(%rip), %rdi
callq _puts
jmp LBB0_4
LBB0_15: ## in Loop: Header=BB0_5 Depth=1
leaq L_str.52(%rip), %rdi
callq _puts
movl $15, %edi
callq _malloc
movq %rax, %r13
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movq %r13, %rdi
movl $15, %esi
callq _fgets
movq %r13, %rdi
movl $10, %esi
callq _strchr
testq %rax, %rax
je LBB0_17
## %bb.16: ## in Loop: Header=BB0_5 Depth=1
movb $0, (%rax)
.p2align 4, 0x90
LBB0_17: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
callq _getchar
shll $24, %eax
cmpl $167772160, %eax ## imm = 0xA000000
je LBB0_19
## %bb.18: ## in Loop: Header=BB0_17 Depth=2
cmpl $-16777216, %eax ## imm = 0xFF000000
jne LBB0_17
LBB0_19: ## in Loop: Header=BB0_5 Depth=1
movq -48(%rbp), %r14
testq %r14, %r14
movabsq $-4294967296, %r9 ## imm = 0xFFFFFFFF00000000
jne LBB0_49
LBB0_20: ## in Loop: Header=BB0_5 Depth=1
leaq L_str.56(%rip), %rdi
callq _puts
LBB0_21: ## in Loop: Header=BB0_5 Depth=1
leaq L_str.38(%rip), %r14
movq %r13, %rdi
callq _free
jmp LBB0_3
LBB0_22: ## in Loop: Header=BB0_5 Depth=1
movl $15, %edi
callq _malloc
movq %rax, %rbx
leaq L_str.49(%rip), %rdi
callq _puts
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movq %rbx, %rdi
movl $15, %esi
callq _fgets
movq %rbx, -56(%rbp) ## 8-byte Spill
movq %rbx, %rdi
movl $10, %esi
callq _strchr
testq %rax, %rax
je LBB0_24
## %bb.23: ## in Loop: Header=BB0_5 Depth=1
movb $0, (%rax)
.p2align 4, 0x90
LBB0_24: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
callq _getchar
shll $24, %eax
cmpl $167772160, %eax ## imm = 0xA000000
je LBB0_26
## %bb.25: ## in Loop: Header=BB0_24 Depth=2
cmpl $-16777216, %eax ## imm = 0xFF000000
jne LBB0_24
LBB0_26: ## in Loop: Header=BB0_5 Depth=1
movl $13, %edi
callq _malloc
movq %rax, %rbx
leaq L_str.50(%rip), %rdi
callq _puts
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movq %rbx, %rdi
movl $13, %esi
callq _fgets
movq %rbx, %rdi
movl $10, %esi
callq _strchr
testq %rax, %rax
je LBB0_28
## %bb.27: ## in Loop: Header=BB0_5 Depth=1
movb $0, (%rax)
.p2align 4, 0x90
LBB0_28: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
callq _getchar
shll $24, %eax
cmpl $167772160, %eax ## imm = 0xA000000
je LBB0_30
## %bb.29: ## in Loop: Header=BB0_28 Depth=2
cmpl $-16777216, %eax ## imm = 0xFF000000
jne LBB0_28
LBB0_30: ## in Loop: Header=BB0_5 Depth=1
movq -48(%rbp), %r13
movq %r13, %rax
testq %r13, %r13
je LBB0_93
.p2align 4, 0x90
LBB0_31: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movq %rax, %r14
movq 24(%rax), %rax
testq %rax, %rax
jne LBB0_31
## %bb.32: ## in Loop: Header=BB0_5 Depth=1
movl $32, %edi
callq _malloc
movq -56(%rbp), %rcx ## 8-byte Reload
movq %rcx, (%rax)
movq %rbx, 8(%rax)
movq %rax, 24(%r14)
movq %r14, 16(%rax)
movq $0, 24(%rax)
jmp LBB0_94
LBB0_33: ## in Loop: Header=BB0_5 Depth=1
leaq L_str.40(%rip), %rdi
callq _puts
movl $15, %edi
callq _malloc
movq %rax, %r14
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movq %r14, %rdi
movl $15, %esi
callq _fgets
movq %r14, %rdi
movl $10, %esi
callq _strchr
testq %rax, %rax
je LBB0_35
## %bb.34: ## in Loop: Header=BB0_5 Depth=1
movb $0, (%rax)
.p2align 4, 0x90
LBB0_35: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
callq _getchar
shll $24, %eax
cmpl $167772160, %eax ## imm = 0xA000000
je LBB0_37
## %bb.36: ## in Loop: Header=BB0_35 Depth=2
cmpl $-16777216, %eax ## imm = 0xFF000000
jne LBB0_35
LBB0_37: ## in Loop: Header=BB0_5 Depth=1
movq -48(%rbp), %r13
testq %r13, %r13
movabsq $-4294967296, %r9 ## imm = 0xFFFFFFFF00000000
jne LBB0_64
LBB0_38: ## in Loop: Header=BB0_5 Depth=1
leaq L_.str.14(%rip), %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _printf
LBB0_39: ## in Loop: Header=BB0_5 Depth=1
movq %r14, %rdi
callq _free
leaq L_str.31(%rip), %r13
leaq L_str.38(%rip), %r14
jmp LBB0_4
LBB0_40: ## in Loop: Header=BB0_5 Depth=1
leaq L_str.39(%rip), %rdi
callq _puts
movl $15, %edi
callq _malloc
movq %rax, %r14
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movq %r14, %rdi
movl $15, %esi
callq _fgets
movq %r14, %rdi
movl $10, %esi
callq _strchr
testq %rax, %rax
je LBB0_42
## %bb.41: ## in Loop: Header=BB0_5 Depth=1
movb $0, (%rax)
.p2align 4, 0x90
LBB0_42: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
callq _getchar
shll $24, %eax
cmpl $167772160, %eax ## imm = 0xA000000
je LBB0_44
## %bb.43: ## in Loop: Header=BB0_42 Depth=2
cmpl $-16777216, %eax ## imm = 0xFF000000
jne LBB0_42
LBB0_44: ## in Loop: Header=BB0_5 Depth=1
movq -48(%rbp), %rdi
testq %rdi, %rdi
je LBB0_91
## %bb.45: ## in Loop: Header=BB0_5 Depth=1
movabsq $-4294967296, %r10 ## imm = 0xFFFFFFFF00000000
jmp LBB0_79
LBB0_46: ## in Loop: Header=BB0_49 Depth=2
movq %rax, %rdi
LBB0_47: ## in Loop: Header=BB0_49 Depth=2
cmpq %rcx, %rdi
jge LBB0_95
.p2align 4, 0x90
LBB0_48: ## in Loop: Header=BB0_49 Depth=2
movq 24(%r14), %r14
testq %r14, %r14
je LBB0_20
LBB0_49: ## Parent Loop BB0_5 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_52 Depth 3
## Child Loop BB0_54 Depth 3
## Child Loop BB0_59 Depth 3
testq %r13, %r13
je LBB0_48
## %bb.50: ## in Loop: Header=BB0_49 Depth=2
movq (%r14), %r8
testq %r8, %r8
je LBB0_48
## %bb.51: ## in Loop: Header=BB0_49 Depth=2
movq $-1, %rdx
movl $1, %edi
xorl %eax, %eax
movq %r9, %rcx
.p2align 4, 0x90
LBB0_52: ## Parent Loop BB0_5 Depth=1
## Parent Loop BB0_49 Depth=2
## => This Inner Loop Header: Depth=3
addq %r12, %rcx
cmpb $0, 1(%r13,%rdx)
movl %edi, %ebx
movl %eax, %esi
leaq 1(%rdx), %rdx
leal 1(%rbx), %edi
leal 1(%rsi), %eax
jne LBB0_52
## %bb.53: ## in Loop: Header=BB0_49 Depth=2
movq %r8, %rax
.p2align 4, 0x90
LBB0_54: ## Parent Loop BB0_5 Depth=1
## Parent Loop BB0_49 Depth=2
## => This Inner Loop Header: Depth=3
decl %ebx
cmpb $0, (%rax)
leaq 1(%rax), %rax
jne LBB0_54
## %bb.55: ## in Loop: Header=BB0_49 Depth=2
testl %ebx, %ebx
jne LBB0_48
## %bb.56: ## in Loop: Header=BB0_49 Depth=2
testl %edx, %edx
jle LBB0_95
## %bb.57: ## in Loop: Header=BB0_49 Depth=2
movb (%r13), %al
cmpb (%r8), %al
jne LBB0_48
## %bb.58: ## in Loop: Header=BB0_49 Depth=2
sarq $32, %rcx
movl %edx, %eax
movl %esi, %edx
decq %rdx
xorl %esi, %esi
.p2align 4, 0x90
LBB0_59: ## Parent Loop BB0_5 Depth=1
## Parent Loop BB0_49 Depth=2
## => This Inner Loop Header: Depth=3
cmpq %rsi, %rdx
je LBB0_46
## %bb.60: ## in Loop: Header=BB0_59 Depth=3
movzbl 1(%r13,%rsi), %ebx
leaq 1(%rsi), %rdi
cmpb 1(%r8,%rsi), %bl
movq %rdi, %rsi
je LBB0_59
jmp LBB0_47
LBB0_61: ## in Loop: Header=BB0_64 Depth=2
movq %rax, %rdi
LBB0_62: ## in Loop: Header=BB0_64 Depth=2
cmpq %rcx, %rdi
jge LBB0_97
.p2align 4, 0x90
LBB0_63: ## in Loop: Header=BB0_64 Depth=2
movq 24(%r13), %r13
testq %r13, %r13
je LBB0_38
LBB0_64: ## Parent Loop BB0_5 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_67 Depth 3
## Child Loop BB0_69 Depth 3
## Child Loop BB0_74 Depth 3
testq %r14, %r14
je LBB0_63
## %bb.65: ## in Loop: Header=BB0_64 Depth=2
movq (%r13), %r8
testq %r8, %r8
je LBB0_63
## %bb.66: ## in Loop: Header=BB0_64 Depth=2
movq $-1, %rdx
movl $1, %edi
xorl %ebx, %ebx
movq %r9, %rcx
.p2align 4, 0x90
LBB0_67: ## Parent Loop BB0_5 Depth=1
## Parent Loop BB0_64 Depth=2
## => This Inner Loop Header: Depth=3
addq %r12, %rcx
cmpb $0, 1(%r14,%rdx)
movl %edi, %eax
movl %ebx, %esi
leaq 1(%rdx), %rdx
leal 1(%rax), %edi
leal 1(%rsi), %ebx
jne LBB0_67
## %bb.68: ## in Loop: Header=BB0_64 Depth=2
movq %r8, %rdi
.p2align 4, 0x90
LBB0_69: ## Parent Loop BB0_5 Depth=1
## Parent Loop BB0_64 Depth=2
## => This Inner Loop Header: Depth=3
decl %eax
cmpb $0, (%rdi)
leaq 1(%rdi), %rdi
jne LBB0_69
## %bb.70: ## in Loop: Header=BB0_64 Depth=2
testl %eax, %eax
jne LBB0_63
## %bb.71: ## in Loop: Header=BB0_64 Depth=2
testl %edx, %edx
jle LBB0_97
## %bb.72: ## in Loop: Header=BB0_64 Depth=2
movb (%r14), %al
cmpb (%r8), %al
jne LBB0_63
## %bb.73: ## in Loop: Header=BB0_64 Depth=2
sarq $32, %rcx
movl %edx, %eax
movl %esi, %edx
decq %rdx
xorl %esi, %esi
.p2align 4, 0x90
LBB0_74: ## Parent Loop BB0_5 Depth=1
## Parent Loop BB0_64 Depth=2
## => This Inner Loop Header: Depth=3
cmpq %rsi, %rdx
je LBB0_61
## %bb.75: ## in Loop: Header=BB0_74 Depth=3
movzbl 1(%r14,%rsi), %ebx
leaq 1(%rsi), %rdi
cmpb 1(%r8,%rsi), %bl
movq %rdi, %rsi
je LBB0_74
jmp LBB0_62
LBB0_76: ## in Loop: Header=BB0_79 Depth=2
movq %r9, %rax
LBB0_77: ## in Loop: Header=BB0_79 Depth=2
cmpq %rcx, %rax
jge LBB0_92
.p2align 4, 0x90
LBB0_78: ## in Loop: Header=BB0_79 Depth=2
movq 24(%rdi), %rdi
testq %rdi, %rdi
je LBB0_91
LBB0_79: ## Parent Loop BB0_5 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_82 Depth 3
## Child Loop BB0_84 Depth 3
## Child Loop BB0_89 Depth 3
testq %r14, %r14
je LBB0_78
## %bb.80: ## in Loop: Header=BB0_79 Depth=2
movq (%rdi), %r8
testq %r8, %r8
je LBB0_78
## %bb.81: ## in Loop: Header=BB0_79 Depth=2
movq $-1, %r9
movl $1, %eax
xorl %ebx, %ebx
movq %r10, %rcx
.p2align 4, 0x90
LBB0_82: ## Parent Loop BB0_5 Depth=1
## Parent Loop BB0_79 Depth=2
## => This Inner Loop Header: Depth=3
addq %r12, %rcx
cmpb $0, 1(%r14,%r9)
movl %eax, %edx
movl %ebx, %esi
leaq 1(%r9), %r9
leal 1(%rdx), %eax
leal 1(%rsi), %ebx
jne LBB0_82
## %bb.83: ## in Loop: Header=BB0_79 Depth=2
movq %r8, %rax
.p2align 4, 0x90
LBB0_84: ## Parent Loop BB0_5 Depth=1
## Parent Loop BB0_79 Depth=2
## => This Inner Loop Header: Depth=3
decl %edx
cmpb $0, (%rax)
leaq 1(%rax), %rax
jne LBB0_84
## %bb.85: ## in Loop: Header=BB0_79 Depth=2
testl %edx, %edx
jne LBB0_78
## %bb.86: ## in Loop: Header=BB0_79 Depth=2
testl %r9d, %r9d
jle LBB0_92
## %bb.87: ## in Loop: Header=BB0_79 Depth=2
movb (%r14), %al
cmpb (%r8), %al
jne LBB0_78
## %bb.88: ## in Loop: Header=BB0_79 Depth=2
sarq $32, %rcx
movl %r9d, %r9d
movl %esi, %edx
decq %rdx
xorl %esi, %esi
.p2align 4, 0x90
LBB0_89: ## Parent Loop BB0_5 Depth=1
## Parent Loop BB0_79 Depth=2
## => This Inner Loop Header: Depth=3
cmpq %rsi, %rdx
je LBB0_76
## %bb.90: ## in Loop: Header=BB0_89 Depth=3
movzbl 1(%r14,%rsi), %ebx
leaq 1(%rsi), %rax
cmpb 1(%r8,%rsi), %bl
movq %rax, %rsi
je LBB0_89
jmp LBB0_77
LBB0_91: ## in Loop: Header=BB0_5 Depth=1
xorl %edi, %edi
LBB0_92: ## in Loop: Header=BB0_5 Depth=1
leaq -48(%rbp), %rsi
callq _DeleteContact
movq %r14, %rdi
callq _free
leaq L_str.38(%rip), %r14
jmp LBB0_4
LBB0_93: ## in Loop: Header=BB0_5 Depth=1
movl $32, %edi
callq _malloc
movq %rax, %r13
movq -56(%rbp), %rax ## 8-byte Reload
movq %rax, (%r13)
movq %rbx, 8(%r13)
xorps %xmm0, %xmm0
movups %xmm0, 16(%r13)
LBB0_94: ## in Loop: Header=BB0_5 Depth=1
leaq L_str.38(%rip), %r14
movq %r13, -48(%rbp)
leaq L_str.51(%rip), %rdi
jmp LBB0_2
LBB0_95: ## in Loop: Header=BB0_5 Depth=1
testq %r14, %r14
je LBB0_20
## %bb.96: ## in Loop: Header=BB0_5 Depth=1
leaq L_str.57(%rip), %rdi
callq _puts
movq (%r14), %rsi
movq 8(%r14), %rdx
leaq L_.str.25(%rip), %rdi
xorl %eax, %eax
callq _printf
jmp LBB0_21
LBB0_97: ## in Loop: Header=BB0_5 Depth=1
testq %r13, %r13
je LBB0_38
## %bb.98: ## in Loop: Header=BB0_5 Depth=1
leaq L_str.41(%rip), %rdi
callq _puts
.p2align 4, 0x90
LBB0_99: ## Parent Loop BB0_5 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_100 Depth 3
leaq L_str.44(%rip), %rdi
callq _puts
callq _getchar
movl %eax, %ebx
.p2align 4, 0x90
LBB0_100: ## Parent Loop BB0_5 Depth=1
## Parent Loop BB0_99 Depth=2
## => This Inner Loop Header: Depth=3
callq _getchar
shll $24, %eax
cmpl $167772160, %eax ## imm = 0xA000000
je LBB0_102
## %bb.101: ## in Loop: Header=BB0_100 Depth=3
cmpl $-16777216, %eax ## imm = 0xFF000000
jne LBB0_100
LBB0_102: ## in Loop: Header=BB0_99 Depth=2
shll $24, %ebx
cmpl $1845493760, %ebx ## imm = 0x6E000000
je LBB0_109
## %bb.103: ## in Loop: Header=BB0_99 Depth=2
cmpl $2030043136, %ebx ## imm = 0x79000000
jne LBB0_99
## %bb.104: ## in Loop: Header=BB0_5 Depth=1
leaq L_str.47(%rip), %rdi
callq _puts
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movq %r14, %rdi
movl $15, %esi
callq _fgets
movq %r14, %rdi
movl $10, %esi
callq _strchr
testq %rax, %rax
je LBB0_106
## %bb.105: ## in Loop: Header=BB0_5 Depth=1
movb $0, (%rax)
.p2align 4, 0x90
LBB0_106: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
callq _getchar
shll $24, %eax
cmpl $167772160, %eax ## imm = 0xA000000
je LBB0_108
## %bb.107: ## in Loop: Header=BB0_106 Depth=2
cmpl $-16777216, %eax ## imm = 0xFF000000
jne LBB0_106
LBB0_108: ## in Loop: Header=BB0_5 Depth=1
movq (%r13), %rdi
movq %r14, %rsi
callq _strcpy
leaq L_str.48(%rip), %rdi
callq _puts
LBB0_109: ## in Loop: Header=BB0_5 Depth=1
leaq L_str.43(%rip), %rdi
callq _puts
.p2align 4, 0x90
LBB0_110: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
leaq L_str.44(%rip), %rdi
callq _puts
callq _getchar
movl %eax, %ebx
callq _getchar
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fflush
shll $24, %ebx
cmpl $2030043136, %ebx ## imm = 0x79000000
je LBB0_112
## %bb.111: ## in Loop: Header=BB0_110 Depth=2
cmpl $1845493760, %ebx ## imm = 0x6E000000
jne LBB0_110
LBB0_112: ## in Loop: Header=BB0_5 Depth=1
movl $13, %edi
callq _malloc
cmpl $2030043136, %ebx ## imm = 0x79000000
movq %rax, %rbx
jne LBB0_118
## %bb.113: ## in Loop: Header=BB0_5 Depth=1
leaq L_str.45(%rip), %rdi
callq _puts
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movq %rbx, %rdi
movl $13, %esi
callq _fgets
movq %rbx, %rdi
movl $10, %esi
callq _strchr
testq %rax, %rax
je LBB0_115
## %bb.114: ## in Loop: Header=BB0_5 Depth=1
movb $0, (%rax)
.p2align 4, 0x90
LBB0_115: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
callq _getchar
shll $24, %eax
cmpl $167772160, %eax ## imm = 0xA000000
je LBB0_117
## %bb.116: ## in Loop: Header=BB0_115 Depth=2
cmpl $-16777216, %eax ## imm = 0xFF000000
jne LBB0_115
LBB0_117: ## in Loop: Header=BB0_5 Depth=1
movq 8(%r13), %rdi
movq %rbx, %rsi
callq _strcpy
leaq L_str.46(%rip), %rdi
callq _puts
LBB0_118: ## in Loop: Header=BB0_5 Depth=1
movq %rbx, %rdi
callq _free
jmp LBB0_39
LBB0_119:
xorl %eax, %eax
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_12, LBB0_12-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_40, LBB0_40-LJTI0_0
LJTI0_0:
.long L0_0_set_12
.long L0_0_set_15
.long L0_0_set_22
.long L0_0_set_33
.long L0_0_set_40
.end_data_region
## -- End function
.globl _ShowAll ## -- Begin function ShowAll
.p2align 4, 0x90
_ShowAll: ## @ShowAll
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
leaq L_str.57(%rip), %rdi
callq _puts
testq %rbx, %rbx
je LBB1_3
## %bb.1:
leaq L_.str.27(%rip), %r14
.p2align 4, 0x90
LBB1_2: ## =>This Inner Loop Header: Depth=1
movq (%rbx), %rsi
movq 8(%rbx), %rdx
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq 24(%rbx), %rbx
testq %rbx, %rbx
jne LBB1_2
LBB1_3:
leaq L_str.55(%rip), %rdi
popq %rbx
popq %r14
popq %rbp
jmp _puts ## TAILCALL
.cfi_endproc
## -- End function
.globl _GetString ## -- Begin function GetString
.p2align 4, 0x90
_GetString: ## @GetString
.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 ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
callq _fgets
movq %rbx, %rdi
movl $10, %esi
callq _strchr
testq %rax, %rax
je LBB2_2
## %bb.1:
movb $0, (%rax)
LBB2_2:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _FindByName ## -- Begin function FindByName
.p2align 4, 0x90
_FindByName: ## @FindByName
.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
testq %rsi, %rsi
je LBB3_16
## %bb.1:
movq %rsi, %rax
movabsq $-4294967296, %r8 ## imm = 0xFFFFFFFF00000000
movabsq $4294967296, %r10 ## imm = 0x100000000
jmp LBB3_2
LBB3_14: ## in Loop: Header=BB3_2 Depth=1
cmpq %r14, %rdx
jge LBB3_17
.p2align 4, 0x90
LBB3_15: ## in Loop: Header=BB3_2 Depth=1
movq 24(%rax), %rax
testq %rax, %rax
je LBB3_16
LBB3_2: ## =>This Loop Header: Depth=1
## Child Loop BB3_5 Depth 2
## Child Loop BB3_7 Depth 2
## Child Loop BB3_12 Depth 2
testq %rdi, %rdi
je LBB3_15
## %bb.3: ## in Loop: Header=BB3_2 Depth=1
movq (%rax), %r9
testq %r9, %r9
je LBB3_15
## %bb.4: ## in Loop: Header=BB3_2 Depth=1
movq $-1, %rdx
movl $1, %esi
xorl %ebx, %ebx
movq %r8, %r14
.p2align 4, 0x90
LBB3_5: ## Parent Loop BB3_2 Depth=1
## => This Inner Loop Header: Depth=2
addq %r10, %r14
cmpb $0, 1(%rdi,%rdx)
movl %esi, %ecx
movl %ebx, %r11d
leaq 1(%rdx), %rdx
leal 1(%rcx), %esi
leal 1(%r11), %ebx
jne LBB3_5
## %bb.6: ## in Loop: Header=BB3_2 Depth=1
movq %r9, %rsi
.p2align 4, 0x90
LBB3_7: ## Parent Loop BB3_2 Depth=1
## => This Inner Loop Header: Depth=2
decl %ecx
cmpb $0, (%rsi)
leaq 1(%rsi), %rsi
jne LBB3_7
## %bb.8: ## in Loop: Header=BB3_2 Depth=1
testl %ecx, %ecx
jne LBB3_15
## %bb.9: ## in Loop: Header=BB3_2 Depth=1
testl %edx, %edx
jle LBB3_17
## %bb.10: ## in Loop: Header=BB3_2 Depth=1
movb (%rdi), %cl
cmpb (%r9), %cl
jne LBB3_15
## %bb.11: ## in Loop: Header=BB3_2 Depth=1
sarq $32, %r14
movl %r11d, %ecx
movl $1, %esi
.p2align 4, 0x90
LBB3_12: ## Parent Loop BB3_2 Depth=1
## => This Inner Loop Header: Depth=2
movq %rsi, %rdx
cmpq %rsi, %rcx
je LBB3_14
## %bb.13: ## in Loop: Header=BB3_12 Depth=2
movzbl (%rdi,%rdx), %ebx
leaq 1(%rdx), %rsi
cmpb (%r9,%rdx), %bl
je LBB3_12
jmp LBB3_14
LBB3_16:
xorl %eax, %eax
LBB3_17:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _Show ## -- Begin function Show
.p2align 4, 0x90
_Show: ## @Show
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB4_2
## %bb.1:
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
leaq L_str.57(%rip), %rdi
callq _puts
movq (%rbx), %rsi
movq 8(%rbx), %rdx
leaq L_.str.25(%rip), %rdi
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
jmp _printf ## TAILCALL
LBB4_2:
leaq L_str.56(%rip), %rdi
jmp _puts ## TAILCALL
.cfi_endproc
## -- End function
.globl _AddContact ## -- Begin function AddContact
.p2align 4, 0x90
_AddContact: ## @AddContact
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %r15
testq %rdx, %rdx
je LBB5_4
## %bb.1:
movq %rdx, %r12
movq %rdx, %rax
.p2align 4, 0x90
LBB5_2: ## =>This Inner Loop Header: Depth=1
movq %rax, %rbx
movq 24(%rax), %rax
testq %rax, %rax
jne LBB5_2
## %bb.3:
movl $32, %edi
callq _malloc
movq %r15, (%rax)
movq %r14, 8(%rax)
movq %rax, 24(%rbx)
movq %rbx, 16(%rax)
movq $0, 24(%rax)
movq %r12, %rax
jmp LBB5_5
LBB5_4:
movl $32, %edi
callq _malloc
movq %r15, (%rax)
movq %r14, 8(%rax)
xorps %xmm0, %xmm0
movups %xmm0, 16(%rax)
LBB5_5:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _DeleteContact ## -- Begin function DeleteContact
.p2align 4, 0x90
_DeleteContact: ## @DeleteContact
.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
testq %rdi, %rdi
je LBB6_10
## %bb.1:
movq %rdi, %rbx
movq 16(%rdi), %rcx
movq 24(%rdi), %rax
testq %rcx, %rcx
je LBB6_2
## %bb.5:
testq %rax, %rax
je LBB6_6
## %bb.9:
movq %rax, 24(%rcx)
movq 24(%rbx), %rax
movq %rcx, 16(%rax)
jmp LBB6_7
LBB6_10:
leaq L_str.58(%rip), %rdi
popq %rbx
popq %r14
popq %rbp
jmp _puts ## TAILCALL
LBB6_2:
movq %rsi, %r14
testq %rax, %rax
je LBB6_3
## %bb.4:
movq $0, 16(%rax)
movq %rax, (%r14)
jmp LBB6_7
LBB6_6:
movq $0, 24(%rcx)
LBB6_7:
movq (%rbx), %rsi
leaq L_.str.30(%rip), %rdi
xorl %eax, %eax
callq _printf
LBB6_8:
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _free ## TAILCALL
LBB6_3:
movq (%rbx), %rsi
leaq L_.str.30(%rip), %rdi
xorl %eax, %eax
callq _printf
movq $0, (%r14)
jmp LBB6_8
.cfi_endproc
## -- End function
.globl _StrEqual ## -- Begin function StrEqual
.p2align 4, 0x90
_StrEqual: ## @StrEqual
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
testq %rdi, %rdi
je LBB7_14
## %bb.1:
testq %rsi, %rsi
je LBB7_14
## %bb.2:
movabsq $-4294967296, %rcx ## imm = 0xFFFFFFFF00000000
xorl %r9d, %r9d
movabsq $4294967296, %rax ## imm = 0x100000000
.p2align 4, 0x90
LBB7_3: ## =>This Inner Loop Header: Depth=1
addq %rax, %rcx
cmpb $0, (%rdi,%r9)
leaq 1(%r9), %r9
jne LBB7_3
## %bb.4:
leaq -1(%r9), %r8
xorl %edx, %edx
.p2align 4, 0x90
LBB7_5: ## =>This Inner Loop Header: Depth=1
cmpb $0, (%rsi,%rdx)
leaq 1(%rdx), %rdx
jne LBB7_5
## %bb.6:
xorl %eax, %eax
cmpl %edx, %r9d
jne LBB7_14
## %bb.7:
testl %r8d, %r8d
jle LBB7_8
## %bb.9:
movb (%rdi), %dl
cmpb (%rsi), %dl
jne LBB7_14
## %bb.10:
sarq $32, %rcx
decl %r9d
movl $1, %eax
.p2align 4, 0x90
LBB7_11: ## =>This Inner Loop Header: Depth=1
movq %rax, %r8
cmpq %rax, %r9
je LBB7_13
## %bb.12: ## in Loop: Header=BB7_11 Depth=1
movzbl (%rdi,%r8), %edx
leaq 1(%r8), %rax
cmpb (%rsi,%r8), %dl
je LBB7_11
LBB7_13:
xorl %eax, %eax
cmpq %rcx, %r8
setge %al
LBB7_14:
popq %rbp
retq
LBB7_8:
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _FindByNumber ## -- Begin function FindByNumber
.p2align 4, 0x90
_FindByNumber: ## @FindByNumber
.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
testq %rsi, %rsi
je LBB8_16
## %bb.1:
movq %rsi, %rax
movabsq $-4294967296, %r8 ## imm = 0xFFFFFFFF00000000
movabsq $4294967296, %r10 ## imm = 0x100000000
jmp LBB8_2
LBB8_14: ## in Loop: Header=BB8_2 Depth=1
cmpq %r14, %rdx
jge LBB8_17
.p2align 4, 0x90
LBB8_15: ## in Loop: Header=BB8_2 Depth=1
movq 24(%rax), %rax
testq %rax, %rax
je LBB8_16
LBB8_2: ## =>This Loop Header: Depth=1
## Child Loop BB8_5 Depth 2
## Child Loop BB8_7 Depth 2
## Child Loop BB8_12 Depth 2
testq %rdi, %rdi
je LBB8_15
## %bb.3: ## in Loop: Header=BB8_2 Depth=1
movq 8(%rax), %r9
testq %r9, %r9
je LBB8_15
## %bb.4: ## in Loop: Header=BB8_2 Depth=1
movq $-1, %rdx
movl $1, %esi
xorl %ebx, %ebx
movq %r8, %r14
.p2align 4, 0x90
LBB8_5: ## Parent Loop BB8_2 Depth=1
## => This Inner Loop Header: Depth=2
addq %r10, %r14
cmpb $0, 1(%rdi,%rdx)
movl %esi, %ecx
movl %ebx, %r11d
leaq 1(%rdx), %rdx
leal 1(%rcx), %esi
leal 1(%r11), %ebx
jne LBB8_5
## %bb.6: ## in Loop: Header=BB8_2 Depth=1
movq %r9, %rsi
.p2align 4, 0x90
LBB8_7: ## Parent Loop BB8_2 Depth=1
## => This Inner Loop Header: Depth=2
decl %ecx
cmpb $0, (%rsi)
leaq 1(%rsi), %rsi
jne LBB8_7
## %bb.8: ## in Loop: Header=BB8_2 Depth=1
testl %ecx, %ecx
jne LBB8_15
## %bb.9: ## in Loop: Header=BB8_2 Depth=1
testl %edx, %edx
jle LBB8_17
## %bb.10: ## in Loop: Header=BB8_2 Depth=1
movb (%rdi), %cl
cmpb (%r9), %cl
jne LBB8_15
## %bb.11: ## in Loop: Header=BB8_2 Depth=1
sarq $32, %r14
movl %r11d, %ecx
movl $1, %esi
.p2align 4, 0x90
LBB8_12: ## Parent Loop BB8_2 Depth=1
## => This Inner Loop Header: Depth=2
movq %rsi, %rdx
cmpq %rsi, %rcx
je LBB8_14
## %bb.13: ## in Loop: Header=BB8_12 Depth=2
movzbl (%rdi,%rdx), %ebx
leaq 1(%rdx), %rsi
cmpb (%r9,%rdx), %bl
je LBB8_12
jmp LBB8_14
LBB8_16:
xorl %eax, %eax
LBB8_17:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _TotalNumberOfContacts ## -- Begin function TotalNumberOfContacts
.p2align 4, 0x90
_TotalNumberOfContacts: ## @TotalNumberOfContacts
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
testq %rdi, %rdi
je LBB9_3
.p2align 4, 0x90
LBB9_1: ## =>This Inner Loop Header: Depth=1
movq 24(%rdi), %rdi
incl %eax
testq %rdi, %rdi
jne LBB9_1
LBB9_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _GetLength ## -- Begin function GetLength
.p2align 4, 0x90
_GetLength: ## @GetLength
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testq %rdi, %rdi
je LBB10_1
## %bb.2:
movl $-1, %eax
.p2align 4, 0x90
LBB10_3: ## =>This Inner Loop Header: Depth=1
incl %eax
cmpb $0, (%rdi)
leaq 1(%rdi), %rdi
jne LBB10_3
## %bb.4:
popq %rbp
retq
LBB10_1:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.14: ## @.str.14
.asciz "\350\257\245\350\201\224\347\263\273\344\272\272\"%s\"\344\270\215\345\255\230\345\234\250!\n"
L_.str.25: ## @.str.25
.asciz "%s\t\t\t%s\n\n"
L_.str.27: ## @.str.27
.asciz "%s\t\t\t%s\n"
L_.str.30: ## @.str.30
.asciz "\350\201\224\347\263\273\344\272\272%s\345\210\240\351\231\244\346\210\220\345\212\237\357\274\201\n"
L_str: ## @str
.asciz "\346\254\242\350\277\216\344\275\277\347\224\250\351\200\232\350\256\257\345\275\225\345\260\217\347\250\213\345\272\217\357\274\201\n"
L_str.31: ## @str.31
.asciz "\350\257\267\350\276\223\345\205\245\346\202\250\351\234\200\350\246\201\350\277\233\350\241\214\347\232\204\346\223\215\344\275\234\347\232\204\345\272\217\345\217\267"
L_str.32: ## @str.32
.asciz "1.\346\237\245\347\234\213\346\211\200\346\234\211\344\272\272\347\232\204\347\233\270\345\205\263\344\277\241\346\201\257"
L_str.33: ## @str.33
.asciz "2.\346\237\245\347\234\213\346\237\220\344\270\252\344\272\272\347\232\204\347\233\270\345\205\263\344\277\241\346\201\257"
L_str.34: ## @str.34
.asciz "3.\346\267\273\345\212\240\346\226\260\347\232\204\350\201\224\347\263\273\344\272\272"
L_str.35: ## @str.35
.asciz "4.\344\277\256\346\224\271\350\201\224\347\263\273\344\272\272\347\232\204\347\233\270\345\205\263\344\277\241\346\201\257"
L_str.36: ## @str.36
.asciz "5.\345\210\240\351\231\244\350\201\224\347\263\273\344\272\272"
L_str.37: ## @str.37
.asciz "6.\351\200\200\345\207\272\347\250\213\345\272\217"
L_str.38: ## @str.38
.asciz "\350\257\267\350\276\223\345\205\2451-6\344\270\255\347\232\204\346\225\260\345\255\227\357\274\201"
L_str.39: ## @str.39
.asciz "\350\257\267\350\276\223\345\205\245\346\202\250\350\246\201\346\211\200\345\210\240\351\231\244\350\201\224\347\263\273\344\272\272\347\232\204\345\247\223\345\220\215:"
L_str.40: ## @str.40
.asciz "\350\257\267\350\276\223\345\205\245\346\202\250\350\246\201\346\211\200\344\277\256\346\224\271\347\232\204\350\201\224\347\263\273\344\272\272\345\247\223\345\220\215:"
L_str.41: ## @str.41
.asciz "\346\202\250\350\246\201\344\277\256\346\224\271\350\257\245\350\201\224\347\263\273\344\272\272\347\232\204\345\247\223\345\220\215\345\220\227\357\274\237[y/n]"
L_str.43: ## @str.43
.asciz "\346\202\250\350\246\201\344\277\256\346\224\271\350\257\245\350\201\224\347\263\273\344\272\272\347\232\204\350\201\224\347\263\273\346\226\271\345\274\217\345\220\227\357\274\237[y/n]"
L_str.44: ## @str.44
.asciz "\350\257\267\350\276\223\345\205\245y/n"
L_str.45: ## @str.45
.asciz "\350\257\267\350\276\223\345\205\245\350\201\224\347\263\273\344\272\272\346\226\260\347\232\204\350\201\224\347\263\273\346\226\271\345\274\217\357\274\201"
L_str.46: ## @str.46
.asciz "\344\277\256\346\224\271\350\257\245\350\201\224\347\263\273\344\272\272\350\201\224\347\263\273\346\226\271\345\274\217\346\210\220\345\212\237\357\274\201\n"
L_str.47: ## @str.47
.asciz "\350\257\267\350\276\223\345\205\245\350\201\224\347\263\273\344\272\272\346\226\260\347\232\204\345\247\223\345\220\215\357\274\201"
L_str.48: ## @str.48
.asciz "\344\277\256\346\224\271\350\257\245\350\201\224\347\263\273\344\272\272\345\247\223\345\220\215\346\210\220\345\212\237\357\274\201\n"
L_str.49: ## @str.49
.asciz "\350\257\267\350\276\223\345\205\245\346\202\250\350\246\201\346\226\260\346\267\273\345\212\240\350\201\224\347\263\273\344\272\272\347\232\204\345\247\223\345\220\215:"
L_str.50: ## @str.50
.asciz "\350\257\267\350\276\223\345\205\245\346\202\250\350\246\201\346\226\260\346\267\273\345\212\240\350\201\224\347\263\273\344\272\272\347\232\204\346\211\213\346\234\272\345\217\267\347\240\201:"
L_str.51: ## @str.51
.asciz "\346\267\273\345\212\240\346\210\220\345\212\237"
L_str.52: ## @str.52
.asciz "\350\257\267\350\276\223\345\205\245\346\202\250\350\246\201\346\211\200\346\237\245\346\211\276\347\232\204\345\247\223\345\220\215:"
L_str.53: ## @str.53
.asciz "\346\254\242\350\277\216\344\270\213\346\254\241\344\275\277\347\224\250"
L_str.55: ## @str.55
.asciz "\n"
L_str.56: ## @str.56
.asciz "\344\270\215\345\255\230\345\234\250\350\257\245\350\201\224\347\263\273\344\272\272\357\274\201\n"
L_str.57: ## @str.57
.asciz "\345\247\223\345\220\215\t\t\t\346\211\213\346\234\272\345\217\267\347\240\201"
L_str.58: ## @str.58
.asciz "\346\202\250\345\275\223\345\211\215\346\262\241\346\234\211\350\201\224\347\263\273\344\272\272\346\210\226\350\200\205\350\257\245\350\201\224\347\263\273\344\272\272\344\270\215\345\255\230\345\234\250\357\274\214\344\270\215\350\203\275\350\277\233\350\241\214\345\210\240\351\231\244"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
Lloh2:
adrp x21, l_str.31@PAGE
Lloh3:
add x21, x21, l_str.31@PAGEOFF
Lloh4:
adrp x20, l_str.32@PAGE
Lloh5:
add x20, x20, l_str.32@PAGEOFF
str xzr, [sp, #24]
Lloh6:
adrp x26, l_str.38@PAGE
Lloh7:
add x26, x26, l_str.38@PAGEOFF
mov w22, #167772160
mov w23, #-16777216
mov w24, #-905969665
Lloh8:
adrp x19, l_.str.27@PAGE
Lloh9:
add x19, x19, l_.str.27@PAGEOFF
mov w25, #-83886081
mov x27, #4294967296
b LBB0_4
LBB0_1: ; in Loop: Header=BB0_4 Depth=1
add x1, sp, #24
bl _DeleteContact
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
mov x0, x19
bl _free
Lloh10:
adrp x19, l_.str.27@PAGE
Lloh11:
add x19, x19, l_.str.27@PAGEOFF
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
and w8, w28, #0xff
cmp w8, #54
b.eq LBB0_110
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
; Child Loop BB0_6 Depth 3
; Child Loop BB0_35 Depth 2
; Child Loop BB0_71 Depth 2
; Child Loop BB0_74 Depth 3
; Child Loop BB0_76 Depth 3
; Child Loop BB0_81 Depth 3
; Child Loop BB0_30 Depth 2
; Child Loop BB0_56 Depth 2
; Child Loop BB0_59 Depth 3
; Child Loop BB0_61 Depth 3
; Child Loop BB0_66 Depth 3
; Child Loop BB0_91 Depth 2
; Child Loop BB0_92 Depth 3
; Child Loop BB0_97 Depth 2
; Child Loop BB0_100 Depth 2
; Child Loop BB0_105 Depth 2
; Child Loop BB0_21 Depth 2
; Child Loop BB0_24 Depth 2
; Child Loop BB0_26 Depth 2
; Child Loop BB0_16 Depth 2
; Child Loop BB0_41 Depth 2
; Child Loop BB0_44 Depth 3
; Child Loop BB0_46 Depth 3
; Child Loop BB0_51 Depth 3
; Child Loop BB0_11 Depth 2
mov x0, x21
bl _puts
mov x0, x20
bl _puts
Lloh12:
adrp x0, l_str.33@PAGE
Lloh13:
add x0, x0, l_str.33@PAGEOFF
bl _puts
Lloh14:
adrp x0, l_str.34@PAGE
Lloh15:
add x0, x0, l_str.34@PAGEOFF
bl _puts
Lloh16:
adrp x0, l_str.35@PAGE
Lloh17:
add x0, x0, l_str.35@PAGEOFF
bl _puts
Lloh18:
adrp x0, l_str.36@PAGE
Lloh19:
add x0, x0, l_str.36@PAGEOFF
bl _puts
Lloh20:
adrp x0, l_str.37@PAGE
Lloh21:
add x0, x0, l_str.37@PAGEOFF
bl _puts
LBB0_5: ; Parent Loop BB0_4 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_6 Depth 3
mov x0, x26
bl _puts
bl _getchar
mov x28, x0
LBB0_6: ; Parent Loop BB0_4 Depth=1
; Parent Loop BB0_5 Depth=2
; => This Inner Loop Header: Depth=3
bl _getchar
lsl w8, w0, #24
cmp w8, w22
ccmp w8, w23, #4, ne
b.ne LBB0_6
; %bb.7: ; in Loop: Header=BB0_5 Depth=2
add w8, w24, w28, lsl #24
cmp w8, w25
b.lo LBB0_5
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
and w8, w28, #0xff
sub w8, w8, #49
cmp w8, #4
b.hi LBB0_13
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
Lloh22:
adrp x11, lJTI0_0@PAGE
Lloh23:
add x11, x11, lJTI0_0@PAGEOFF
adr x9, LBB0_10
ldrb w10, [x11, x8]
add x9, x9, x10, lsl #2
br x9
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
mov x21, x20
mov x20, x19
ldr x19, [sp, #24]
Lloh24:
adrp x0, l_str.57@PAGE
Lloh25:
add x0, x0, l_str.57@PAGEOFF
bl _puts
cbz x19, LBB0_12
LBB0_11: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldp x8, x9, [x19]
stp x8, x9, [sp]
mov x0, x20
bl _printf
ldr x19, [x19, #24]
cbnz x19, LBB0_11
LBB0_12: ; in Loop: Header=BB0_4 Depth=1
Lloh26:
adrp x0, l_str.55@PAGE
Lloh27:
add x0, x0, l_str.55@PAGEOFF
bl _puts
mov x19, x20
mov x20, x21
Lloh28:
adrp x21, l_str.31@PAGE
Lloh29:
add x21, x21, l_str.31@PAGEOFF
b LBB0_3
LBB0_13: ; in Loop: Header=BB0_4 Depth=1
Lloh30:
adrp x0, l_str.53@PAGE
Lloh31:
add x0, x0, l_str.53@PAGEOFF
bl _puts
b LBB0_3
LBB0_14: ; in Loop: Header=BB0_4 Depth=1
Lloh32:
adrp x0, l_str.52@PAGE
Lloh33:
add x0, x0, l_str.52@PAGEOFF
bl _puts
mov w0, #15
bl _malloc
mov x19, x0
Lloh34:
adrp x8, ___stdinp@GOTPAGE
Lloh35:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh36:
ldr x2, [x8]
mov w1, #15
bl _fgets
mov x0, x19
mov w1, #10
bl _strchr
cbz x0, LBB0_16
; %bb.15: ; in Loop: Header=BB0_4 Depth=1
strb wzr, [x0]
LBB0_16: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
bl _getchar
lsl w8, w0, #24
cmp w8, w22
ccmp w8, w23, #4, ne
b.ne LBB0_16
; %bb.17: ; in Loop: Header=BB0_4 Depth=1
ldr x20, [sp, #24]
cbz x20, LBB0_87
; %bb.18: ; in Loop: Header=BB0_4 Depth=1
add x8, x19, #1
b LBB0_41
LBB0_19: ; in Loop: Header=BB0_4 Depth=1
mov w0, #15
bl _malloc
mov x19, x0
Lloh37:
adrp x0, l_str.49@PAGE
Lloh38:
add x0, x0, l_str.49@PAGEOFF
bl _puts
Lloh39:
adrp x8, ___stdinp@GOTPAGE
Lloh40:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh41:
ldr x2, [x8]
mov x0, x19
mov w1, #15
bl _fgets
str x19, [sp, #16] ; 8-byte Folded Spill
mov x0, x19
mov w1, #10
bl _strchr
cbz x0, LBB0_21
; %bb.20: ; in Loop: Header=BB0_4 Depth=1
strb wzr, [x0]
LBB0_21: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
bl _getchar
lsl w8, w0, #24
cmp w8, w22
ccmp w8, w23, #4, ne
b.ne LBB0_21
; %bb.22: ; in Loop: Header=BB0_4 Depth=1
mov w0, #13
bl _malloc
mov x20, x0
Lloh42:
adrp x0, l_str.50@PAGE
Lloh43:
add x0, x0, l_str.50@PAGEOFF
bl _puts
Lloh44:
adrp x8, ___stdinp@GOTPAGE
Lloh45:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh46:
ldr x2, [x8]
mov x0, x20
mov w1, #13
bl _fgets
mov x0, x20
mov w1, #10
bl _strchr
cbz x0, LBB0_24
; %bb.23: ; in Loop: Header=BB0_4 Depth=1
strb wzr, [x0]
LBB0_24: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
bl _getchar
lsl w8, w0, #24
cmp w8, w22
ccmp w8, w23, #4, ne
b.ne LBB0_24
; %bb.25: ; in Loop: Header=BB0_4 Depth=1
ldr x21, [sp, #24]
mov x8, x21
cbz x21, LBB0_83
LBB0_26: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
mov x19, x8
ldr x8, [x8, #24]
cbnz x8, LBB0_26
; %bb.27: ; in Loop: Header=BB0_4 Depth=1
mov w0, #32
bl _malloc
ldr x8, [sp, #16] ; 8-byte Folded Reload
stp x8, x20, [x0]
str x0, [x19, #24]
stp x19, xzr, [x0, #16]
b LBB0_84
LBB0_28: ; in Loop: Header=BB0_4 Depth=1
Lloh47:
adrp x0, l_str.40@PAGE
Lloh48:
add x0, x0, l_str.40@PAGEOFF
bl _puts
mov w0, #15
bl _malloc
mov x19, x0
Lloh49:
adrp x8, ___stdinp@GOTPAGE
Lloh50:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh51:
ldr x2, [x8]
mov w1, #15
bl _fgets
mov x0, x19
mov w1, #10
bl _strchr
cbz x0, LBB0_30
; %bb.29: ; in Loop: Header=BB0_4 Depth=1
strb wzr, [x0]
LBB0_30: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
bl _getchar
lsl w8, w0, #24
cmp w8, w22
ccmp w8, w23, #4, ne
b.ne LBB0_30
; %bb.31: ; in Loop: Header=BB0_4 Depth=1
ldr x21, [sp, #24]
cbz x21, LBB0_108
; %bb.32: ; in Loop: Header=BB0_4 Depth=1
add x8, x19, #1
b LBB0_56
LBB0_33: ; in Loop: Header=BB0_4 Depth=1
Lloh52:
adrp x0, l_str.39@PAGE
Lloh53:
add x0, x0, l_str.39@PAGEOFF
bl _puts
mov w0, #15
bl _malloc
mov x19, x0
Lloh54:
adrp x8, ___stdinp@GOTPAGE
Lloh55:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh56:
ldr x2, [x8]
mov w1, #15
bl _fgets
mov x0, x19
mov w1, #10
bl _strchr
cbz x0, LBB0_35
; %bb.34: ; in Loop: Header=BB0_4 Depth=1
strb wzr, [x0]
LBB0_35: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
bl _getchar
lsl w8, w0, #24
cmp w8, w22
ccmp w8, w23, #4, ne
b.ne LBB0_35
; %bb.36: ; in Loop: Header=BB0_4 Depth=1
ldr x0, [sp, #24]
cbz x0, LBB0_1
; %bb.37: ; in Loop: Header=BB0_4 Depth=1
add x8, x19, #1
b LBB0_71
LBB0_38: ; in Loop: Header=BB0_41 Depth=2
mov x13, x12
LBB0_39: ; in Loop: Header=BB0_41 Depth=2
cmp x13, x11
b.ge LBB0_85
LBB0_40: ; in Loop: Header=BB0_41 Depth=2
ldr x20, [x20, #24]
cbz x20, LBB0_87
LBB0_41: ; Parent Loop BB0_4 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_44 Depth 3
; Child Loop BB0_46 Depth 3
; Child Loop BB0_51 Depth 3
cbz x19, LBB0_40
; %bb.42: ; in Loop: Header=BB0_41 Depth=2
ldr x9, [x20]
cbz x9, LBB0_40
; %bb.43: ; in Loop: Header=BB0_41 Depth=2
mov x12, #0
mov x11, #-4294967296
LBB0_44: ; Parent Loop BB0_4 Depth=1
; Parent Loop BB0_41 Depth=2
; => This Inner Loop Header: Depth=3
mov x10, x12
ldrb w13, [x19, x12]
add x12, x12, #1
add x11, x11, x27
cbnz w13, LBB0_44
; %bb.45: ; in Loop: Header=BB0_41 Depth=2
mov x13, #0
sub x12, x12, #1
LBB0_46: ; Parent Loop BB0_4 Depth=1
; Parent Loop BB0_41 Depth=2
; => This Inner Loop Header: Depth=3
ldrb w14, [x9, x13]
add x13, x13, #1
cbnz w14, LBB0_46
; %bb.47: ; in Loop: Header=BB0_41 Depth=2
add w14, w10, #1
cmp w14, w13
b.ne LBB0_40
; %bb.48: ; in Loop: Header=BB0_41 Depth=2
cmp w12, #1
b.lt LBB0_85
; %bb.49: ; in Loop: Header=BB0_41 Depth=2
ldrb w13, [x19]
ldrb w14, [x9]
cmp w13, w14
b.ne LBB0_40
; %bb.50: ; in Loop: Header=BB0_41 Depth=2
mov x13, #0
asr x11, x11, #32
and x12, x12, #0xffffffff
add x9, x9, #1
and x10, x10, #0xffffffff
sub x10, x10, #1
LBB0_51: ; Parent Loop BB0_4 Depth=1
; Parent Loop BB0_41 Depth=2
; => This Inner Loop Header: Depth=3
cmp x10, x13
b.eq LBB0_38
; %bb.52: ; in Loop: Header=BB0_51 Depth=3
ldrb w14, [x8, x13]
ldrb w15, [x9, x13]
add x13, x13, #1
cmp w14, w15
b.eq LBB0_51
b LBB0_39
LBB0_53: ; in Loop: Header=BB0_56 Depth=2
mov x13, x12
LBB0_54: ; in Loop: Header=BB0_56 Depth=2
cmp x13, x11
b.ge LBB0_89
LBB0_55: ; in Loop: Header=BB0_56 Depth=2
ldr x21, [x21, #24]
cbz x21, LBB0_108
LBB0_56: ; Parent Loop BB0_4 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_59 Depth 3
; Child Loop BB0_61 Depth 3
; Child Loop BB0_66 Depth 3
cbz x19, LBB0_55
; %bb.57: ; in Loop: Header=BB0_56 Depth=2
ldr x9, [x21]
cbz x9, LBB0_55
; %bb.58: ; in Loop: Header=BB0_56 Depth=2
mov x12, #0
mov x11, #-4294967296
LBB0_59: ; Parent Loop BB0_4 Depth=1
; Parent Loop BB0_56 Depth=2
; => This Inner Loop Header: Depth=3
mov x10, x12
ldrb w13, [x19, x12]
add x12, x12, #1
add x11, x11, x27
cbnz w13, LBB0_59
; %bb.60: ; in Loop: Header=BB0_56 Depth=2
mov x13, #0
sub x12, x12, #1
LBB0_61: ; Parent Loop BB0_4 Depth=1
; Parent Loop BB0_56 Depth=2
; => This Inner Loop Header: Depth=3
ldrb w14, [x9, x13]
add x13, x13, #1
cbnz w14, LBB0_61
; %bb.62: ; in Loop: Header=BB0_56 Depth=2
add w14, w10, #1
cmp w14, w13
b.ne LBB0_55
; %bb.63: ; in Loop: Header=BB0_56 Depth=2
cmp w12, #1
b.lt LBB0_89
; %bb.64: ; in Loop: Header=BB0_56 Depth=2
ldrb w13, [x19]
ldrb w14, [x9]
cmp w13, w14
b.ne LBB0_55
; %bb.65: ; in Loop: Header=BB0_56 Depth=2
mov x13, #0
asr x11, x11, #32
and x12, x12, #0xffffffff
add x9, x9, #1
and x10, x10, #0xffffffff
sub x10, x10, #1
LBB0_66: ; Parent Loop BB0_4 Depth=1
; Parent Loop BB0_56 Depth=2
; => This Inner Loop Header: Depth=3
cmp x10, x13
b.eq LBB0_53
; %bb.67: ; in Loop: Header=BB0_66 Depth=3
ldrb w14, [x8, x13]
ldrb w15, [x9, x13]
add x13, x13, #1
cmp w14, w15
b.eq LBB0_66
b LBB0_54
LBB0_68: ; in Loop: Header=BB0_71 Depth=2
mov x13, x12
LBB0_69: ; in Loop: Header=BB0_71 Depth=2
cmp x13, x11
b.ge LBB0_1
LBB0_70: ; in Loop: Header=BB0_71 Depth=2
ldr x0, [x0, #24]
cbz x0, LBB0_1
LBB0_71: ; Parent Loop BB0_4 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_74 Depth 3
; Child Loop BB0_76 Depth 3
; Child Loop BB0_81 Depth 3
cbz x19, LBB0_70
; %bb.72: ; in Loop: Header=BB0_71 Depth=2
ldr x9, [x0]
cbz x9, LBB0_70
; %bb.73: ; in Loop: Header=BB0_71 Depth=2
mov x12, #0
mov x11, #-4294967296
LBB0_74: ; Parent Loop BB0_4 Depth=1
; Parent Loop BB0_71 Depth=2
; => This Inner Loop Header: Depth=3
mov x10, x12
ldrb w13, [x19, x12]
add x12, x12, #1
add x11, x11, x27
cbnz w13, LBB0_74
; %bb.75: ; in Loop: Header=BB0_71 Depth=2
mov x13, #0
sub x12, x12, #1
LBB0_76: ; Parent Loop BB0_4 Depth=1
; Parent Loop BB0_71 Depth=2
; => This Inner Loop Header: Depth=3
ldrb w14, [x9, x13]
add x13, x13, #1
cbnz w14, LBB0_76
; %bb.77: ; in Loop: Header=BB0_71 Depth=2
add w14, w10, #1
cmp w14, w13
b.ne LBB0_70
; %bb.78: ; in Loop: Header=BB0_71 Depth=2
cmp w12, #1
b.lt LBB0_1
; %bb.79: ; in Loop: Header=BB0_71 Depth=2
ldrb w13, [x19]
ldrb w14, [x9]
cmp w13, w14
b.ne LBB0_70
; %bb.80: ; in Loop: Header=BB0_71 Depth=2
mov x13, #0
asr x11, x11, #32
and x12, x12, #0xffffffff
add x9, x9, #1
and x10, x10, #0xffffffff
sub x10, x10, #1
LBB0_81: ; Parent Loop BB0_4 Depth=1
; Parent Loop BB0_71 Depth=2
; => This Inner Loop Header: Depth=3
cmp x10, x13
b.eq LBB0_68
; %bb.82: ; in Loop: Header=BB0_81 Depth=3
ldrb w14, [x8, x13]
ldrb w15, [x9, x13]
add x13, x13, #1
cmp w14, w15
b.eq LBB0_81
b LBB0_69
LBB0_83: ; in Loop: Header=BB0_4 Depth=1
mov w0, #32
bl _malloc
mov x21, x0
ldr x8, [sp, #16] ; 8-byte Folded Reload
stp x8, x20, [x0]
stp xzr, xzr, [x0, #16]
LBB0_84: ; in Loop: Header=BB0_4 Depth=1
Lloh57:
adrp x19, l_.str.27@PAGE
Lloh58:
add x19, x19, l_.str.27@PAGEOFF
str x21, [sp, #24]
Lloh59:
adrp x0, l_str.51@PAGE
Lloh60:
add x0, x0, l_str.51@PAGEOFF
bl _puts
Lloh61:
adrp x21, l_str.31@PAGE
Lloh62:
add x21, x21, l_str.31@PAGEOFF
Lloh63:
adrp x20, l_str.32@PAGE
Lloh64:
add x20, x20, l_str.32@PAGEOFF
b LBB0_3
LBB0_85: ; in Loop: Header=BB0_4 Depth=1
cbz x20, LBB0_87
; %bb.86: ; in Loop: Header=BB0_4 Depth=1
Lloh65:
adrp x0, l_str.57@PAGE
Lloh66:
add x0, x0, l_str.57@PAGEOFF
bl _puts
ldp x8, x9, [x20]
stp x8, x9, [sp]
Lloh67:
adrp x0, l_.str.25@PAGE
Lloh68:
add x0, x0, l_.str.25@PAGEOFF
bl _printf
b LBB0_88
LBB0_87: ; in Loop: Header=BB0_4 Depth=1
Lloh69:
adrp x0, l_str.56@PAGE
Lloh70:
add x0, x0, l_str.56@PAGEOFF
bl _puts
LBB0_88: ; in Loop: Header=BB0_4 Depth=1
Lloh71:
adrp x20, l_str.32@PAGE
Lloh72:
add x20, x20, l_str.32@PAGEOFF
b LBB0_2
LBB0_89: ; in Loop: Header=BB0_4 Depth=1
cbz x21, LBB0_108
; %bb.90: ; in Loop: Header=BB0_4 Depth=1
Lloh73:
adrp x0, l_str.41@PAGE
Lloh74:
add x0, x0, l_str.41@PAGEOFF
bl _puts
LBB0_91: ; Parent Loop BB0_4 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_92 Depth 3
Lloh75:
adrp x0, l_str.44@PAGE
Lloh76:
add x0, x0, l_str.44@PAGEOFF
bl _puts
bl _getchar
mov x20, x0
LBB0_92: ; Parent Loop BB0_4 Depth=1
; Parent Loop BB0_91 Depth=2
; => This Inner Loop Header: Depth=3
bl _getchar
lsl w8, w0, #24
cmp w8, w22
ccmp w8, w23, #4, ne
b.ne LBB0_92
; %bb.93: ; in Loop: Header=BB0_91 Depth=2
lsl w8, w20, #24
mov w9, #1845493760
cmp w8, w9
b.eq LBB0_99
; %bb.94: ; in Loop: Header=BB0_91 Depth=2
mov w9, #2030043136
cmp w8, w9
b.ne LBB0_91
; %bb.95: ; in Loop: Header=BB0_4 Depth=1
Lloh77:
adrp x0, l_str.47@PAGE
Lloh78:
add x0, x0, l_str.47@PAGEOFF
bl _puts
Lloh79:
adrp x8, ___stdinp@GOTPAGE
Lloh80:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh81:
ldr x2, [x8]
mov x0, x19
mov w1, #15
bl _fgets
mov x0, x19
mov w1, #10
bl _strchr
cbz x0, LBB0_97
; %bb.96: ; in Loop: Header=BB0_4 Depth=1
strb wzr, [x0]
LBB0_97: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
bl _getchar
lsl w8, w0, #24
cmp w8, w22
ccmp w8, w23, #4, ne
b.ne LBB0_97
; %bb.98: ; in Loop: Header=BB0_4 Depth=1
ldr x0, [x21]
mov x1, x19
bl _strcpy
Lloh82:
adrp x0, l_str.48@PAGE
Lloh83:
add x0, x0, l_str.48@PAGEOFF
bl _puts
LBB0_99: ; in Loop: Header=BB0_4 Depth=1
Lloh84:
adrp x0, l_str.43@PAGE
Lloh85:
add x0, x0, l_str.43@PAGEOFF
bl _puts
LBB0_100: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
Lloh86:
adrp x0, l_str.44@PAGE
Lloh87:
add x0, x0, l_str.44@PAGEOFF
bl _puts
bl _getchar
mov x20, x0
bl _getchar
Lloh88:
adrp x8, ___stdinp@GOTPAGE
Lloh89:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh90:
ldr x0, [x8]
bl _fflush
lsl w20, w20, #24
mov w8, #2030043136
cmp w20, w8
b.eq LBB0_102
; %bb.101: ; in Loop: Header=BB0_100 Depth=2
mov w8, #1845493760
cmp w20, w8
b.ne LBB0_100
LBB0_102: ; in Loop: Header=BB0_4 Depth=1
mov w0, #13
bl _malloc
mov w8, #2030043136
cmp w20, w8
Lloh91:
adrp x20, l_str.32@PAGE
Lloh92:
add x20, x20, l_str.32@PAGEOFF
b.ne LBB0_107
; %bb.103: ; in Loop: Header=BB0_4 Depth=1
str x0, [sp, #16] ; 8-byte Folded Spill
Lloh93:
adrp x0, l_str.45@PAGE
Lloh94:
add x0, x0, l_str.45@PAGEOFF
bl _puts
Lloh95:
adrp x8, ___stdinp@GOTPAGE
Lloh96:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh97:
ldr x2, [x8]
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov w1, #13
bl _fgets
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov w1, #10
bl _strchr
cbz x0, LBB0_105
; %bb.104: ; in Loop: Header=BB0_4 Depth=1
strb wzr, [x0]
LBB0_105: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
bl _getchar
lsl w8, w0, #24
cmp w8, w22
ccmp w8, w23, #4, ne
b.ne LBB0_105
; %bb.106: ; in Loop: Header=BB0_4 Depth=1
ldr x0, [x21, #8]
ldr x21, [sp, #16] ; 8-byte Folded Reload
mov x1, x21
bl _strcpy
Lloh98:
adrp x0, l_str.46@PAGE
Lloh99:
add x0, x0, l_str.46@PAGEOFF
bl _puts
mov x0, x21
LBB0_107: ; in Loop: Header=BB0_4 Depth=1
bl _free
b LBB0_109
LBB0_108: ; in Loop: Header=BB0_4 Depth=1
str x19, [sp]
Lloh100:
adrp x0, l_.str.14@PAGE
Lloh101:
add x0, x0, l_.str.14@PAGEOFF
bl _printf
LBB0_109: ; in Loop: Header=BB0_4 Depth=1
Lloh102:
adrp x21, l_str.31@PAGE
Lloh103:
add x21, x21, l_str.31@PAGEOFF
b LBB0_2
LBB0_110:
mov w0, #0
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56
.loh AdrpAdd Lloh52, Lloh53
.loh AdrpAdd Lloh63, Lloh64
.loh AdrpAdd Lloh61, Lloh62
.loh AdrpAdd Lloh59, Lloh60
.loh AdrpAdd Lloh57, Lloh58
.loh AdrpAdd Lloh67, Lloh68
.loh AdrpAdd Lloh65, Lloh66
.loh AdrpAdd Lloh69, Lloh70
.loh AdrpAdd Lloh71, Lloh72
.loh AdrpAdd Lloh73, Lloh74
.loh AdrpAdd Lloh75, Lloh76
.loh AdrpLdrGotLdr Lloh79, Lloh80, Lloh81
.loh AdrpAdd Lloh77, Lloh78
.loh AdrpAdd Lloh82, Lloh83
.loh AdrpAdd Lloh84, Lloh85
.loh AdrpLdrGotLdr Lloh88, Lloh89, Lloh90
.loh AdrpAdd Lloh86, Lloh87
.loh AdrpAdd Lloh91, Lloh92
.loh AdrpLdrGotLdr Lloh95, Lloh96, Lloh97
.loh AdrpAdd Lloh93, Lloh94
.loh AdrpAdd Lloh98, Lloh99
.loh AdrpAdd Lloh100, Lloh101
.loh AdrpAdd Lloh102, Lloh103
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_10-LBB0_10)>>2
.byte (LBB0_14-LBB0_10)>>2
.byte (LBB0_19-LBB0_10)>>2
.byte (LBB0_28-LBB0_10)>>2
.byte (LBB0_33-LBB0_10)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _ShowAll ; -- Begin function ShowAll
.p2align 2
_ShowAll: ; @ShowAll
.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
Lloh104:
adrp x0, l_str.57@PAGE
Lloh105:
add x0, x0, l_str.57@PAGEOFF
bl _puts
cbz x19, LBB1_3
; %bb.1:
Lloh106:
adrp x20, l_.str.27@PAGE
Lloh107:
add x20, x20, l_.str.27@PAGEOFF
LBB1_2: ; =>This Inner Loop Header: Depth=1
ldp x8, x9, [x19]
stp x8, x9, [sp]
mov x0, x20
bl _printf
ldr x19, [x19, #24]
cbnz x19, LBB1_2
LBB1_3:
Lloh108:
adrp x0, l_str.55@PAGE
Lloh109:
add x0, x0, l_str.55@PAGEOFF
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
b _puts
.loh AdrpAdd Lloh104, Lloh105
.loh AdrpAdd Lloh106, Lloh107
.loh AdrpAdd Lloh108, Lloh109
.cfi_endproc
; -- End function
.globl _GetString ; -- Begin function GetString
.p2align 2
_GetString: ; @GetString
.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
Lloh110:
adrp x8, ___stdinp@GOTPAGE
Lloh111:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh112:
ldr x2, [x8]
bl _fgets
mov x0, x19
mov w1, #10
bl _strchr
cbz x0, LBB2_2
; %bb.1:
strb wzr, [x0]
LBB2_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh110, Lloh111, Lloh112
.cfi_endproc
; -- End function
.globl _FindByName ; -- Begin function FindByName
.p2align 2
_FindByName: ; @FindByName
.cfi_startproc
; %bb.0:
cbz x1, LBB3_16
; %bb.1:
mov x8, #4294967296
b LBB3_4
LBB3_2: ; in Loop: Header=BB3_4 Depth=1
cmp x12, x10
b.ge LBB3_16
LBB3_3: ; in Loop: Header=BB3_4 Depth=1
ldr x1, [x1, #24]
cbz x1, LBB3_16
LBB3_4: ; =>This Loop Header: Depth=1
; Child Loop BB3_7 Depth 2
; Child Loop BB3_9 Depth 2
; Child Loop BB3_14 Depth 2
cbz x0, LBB3_3
; %bb.5: ; in Loop: Header=BB3_4 Depth=1
ldr x9, [x1]
cbz x9, LBB3_3
; %bb.6: ; in Loop: Header=BB3_4 Depth=1
mov x12, #0
mov x10, #-4294967296
LBB3_7: ; Parent Loop BB3_4 Depth=1
; => This Inner Loop Header: Depth=2
mov x11, x12
ldrb w13, [x0, x12]
add x12, x12, #1
add x10, x10, x8
cbnz w13, LBB3_7
; %bb.8: ; in Loop: Header=BB3_4 Depth=1
mov x13, #0
LBB3_9: ; Parent Loop BB3_4 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w14, [x9, x13]
add x13, x13, #1
cbnz w14, LBB3_9
; %bb.10: ; in Loop: Header=BB3_4 Depth=1
add w14, w11, #1
cmp w14, w13
b.ne LBB3_3
; %bb.11: ; in Loop: Header=BB3_4 Depth=1
sub x12, x12, #1
cmp w12, #1
b.lt LBB3_16
; %bb.12: ; in Loop: Header=BB3_4 Depth=1
ldrb w12, [x0]
ldrb w13, [x9]
cmp w12, w13
b.ne LBB3_3
; %bb.13: ; in Loop: Header=BB3_4 Depth=1
asr x10, x10, #32
and x11, x11, #0xffffffff
mov w13, #1
LBB3_14: ; Parent Loop BB3_4 Depth=1
; => This Inner Loop Header: Depth=2
mov x12, x13
cmp x11, x13
b.eq LBB3_2
; %bb.15: ; in Loop: Header=BB3_14 Depth=2
ldrb w14, [x0, x12]
ldrb w15, [x9, x12]
add x13, x12, #1
cmp w14, w15
b.eq LBB3_14
b LBB3_2
LBB3_16:
mov x0, x1
ret
.cfi_endproc
; -- End function
.globl _Show ; -- Begin function Show
.p2align 2
_Show: ; @Show
.cfi_startproc
; %bb.0:
cbz x0, LBB4_2
; %bb.1:
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
Lloh113:
adrp x0, l_str.57@PAGE
Lloh114:
add x0, x0, l_str.57@PAGEOFF
bl _puts
ldp x8, x9, [x19]
stp x8, x9, [sp]
Lloh115:
adrp x0, l_.str.25@PAGE
Lloh116:
add x0, x0, l_.str.25@PAGEOFF
bl _printf
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
LBB4_2:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
Lloh117:
adrp x0, l_str.56@PAGE
Lloh118:
add x0, x0, l_str.56@PAGEOFF
b _puts
.loh AdrpAdd Lloh115, Lloh116
.loh AdrpAdd Lloh113, Lloh114
.loh AdrpAdd Lloh117, Lloh118
.cfi_endproc
; -- End function
.globl _AddContact ; -- Begin function AddContact
.p2align 2
_AddContact: ; @AddContact
.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
cbz x2, LBB5_4
; %bb.1:
mov x21, x2
mov x8, x2
LBB5_2: ; =>This Inner Loop Header: Depth=1
mov x22, x8
ldr x8, [x8, #24]
cbnz x8, LBB5_2
; %bb.3:
mov w0, #32
bl _malloc
stp x20, x19, [x0]
str x0, [x22, #24]
stp x22, xzr, [x0, #16]
mov x0, x21
b LBB5_5
LBB5_4:
mov w0, #32
bl _malloc
stp x20, x19, [x0]
stp xzr, xzr, [x0, #16]
LBB5_5:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _DeleteContact ; -- Begin function DeleteContact
.p2align 2
_DeleteContact: ; @DeleteContact
.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
cbz x0, LBB6_4
; %bb.1:
mov x19, x0
ldp x9, x8, [x0, #16]
cbz x9, LBB6_5
; %bb.2:
cbz x8, LBB6_7
; %bb.3:
str x8, [x9, #24]
ldr x8, [x19, #24]
str x9, [x8, #16]
b LBB6_8
LBB6_4:
Lloh119:
adrp x0, l_str.58@PAGE
Lloh120:
add x0, x0, l_str.58@PAGEOFF
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
b _puts
LBB6_5:
mov x20, x1
cbz x8, LBB6_10
; %bb.6:
str xzr, [x8, #16]
str x8, [x20]
b LBB6_8
LBB6_7:
str xzr, [x9, #24]
LBB6_8:
ldr x8, [x19]
str x8, [sp]
Lloh121:
adrp x0, l_.str.30@PAGE
Lloh122:
add x0, x0, l_.str.30@PAGEOFF
bl _printf
LBB6_9:
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
b _free
LBB6_10:
ldr x8, [x19]
str x8, [sp]
Lloh123:
adrp x0, l_.str.30@PAGE
Lloh124:
add x0, x0, l_.str.30@PAGEOFF
bl _printf
str xzr, [x20]
b LBB6_9
.loh AdrpAdd Lloh119, Lloh120
.loh AdrpAdd Lloh121, Lloh122
.loh AdrpAdd Lloh123, Lloh124
.cfi_endproc
; -- End function
.globl _StrEqual ; -- Begin function StrEqual
.p2align 2
_StrEqual: ; @StrEqual
.cfi_startproc
; %bb.0:
mov w8, #0
cbz x0, LBB7_13
; %bb.1:
cbz x1, LBB7_13
; %bb.2:
mov w10, #0
mov x8, #-4294967296
mov x9, #4294967296
mov x11, x0
LBB7_3: ; =>This Inner Loop Header: Depth=1
ldrb w12, [x11], #1
add w10, w10, #1
add x8, x8, x9
cbnz w12, LBB7_3
; %bb.4:
mov x11, #0
sub w9, w10, #1
LBB7_5: ; =>This Inner Loop Header: Depth=1
ldrb w12, [x1, x11]
add x11, x11, #1
cbnz w12, LBB7_5
; %bb.6:
cmp w10, w11
b.ne LBB7_14
; %bb.7:
cmp w9, #1
b.lt LBB7_15
; %bb.8:
ldrb w10, [x0]
ldrb w11, [x1]
cmp w10, w11
b.ne LBB7_14
; %bb.9:
asr x8, x8, #32
mov w11, #1
LBB7_10: ; =>This Inner Loop Header: Depth=1
mov x10, x11
cmp x9, x11
b.eq LBB7_12
; %bb.11: ; in Loop: Header=BB7_10 Depth=1
ldrb w12, [x0, x10]
ldrb w13, [x1, x10]
add x11, x10, #1
cmp w12, w13
b.eq LBB7_10
LBB7_12:
cmp x10, x8
cset w8, ge
LBB7_13:
mov x0, x8
ret
LBB7_14:
mov w0, #0
ret
LBB7_15:
mov w0, #1
ret
.cfi_endproc
; -- End function
.globl _FindByNumber ; -- Begin function FindByNumber
.p2align 2
_FindByNumber: ; @FindByNumber
.cfi_startproc
; %bb.0:
cbz x1, LBB8_16
; %bb.1:
mov x8, #4294967296
b LBB8_4
LBB8_2: ; in Loop: Header=BB8_4 Depth=1
cmp x12, x10
b.ge LBB8_16
LBB8_3: ; in Loop: Header=BB8_4 Depth=1
ldr x1, [x1, #24]
cbz x1, LBB8_16
LBB8_4: ; =>This Loop Header: Depth=1
; Child Loop BB8_7 Depth 2
; Child Loop BB8_9 Depth 2
; Child Loop BB8_14 Depth 2
cbz x0, LBB8_3
; %bb.5: ; in Loop: Header=BB8_4 Depth=1
ldr x9, [x1, #8]
cbz x9, LBB8_3
; %bb.6: ; in Loop: Header=BB8_4 Depth=1
mov x12, #0
mov x10, #-4294967296
LBB8_7: ; Parent Loop BB8_4 Depth=1
; => This Inner Loop Header: Depth=2
mov x11, x12
ldrb w13, [x0, x12]
add x12, x12, #1
add x10, x10, x8
cbnz w13, LBB8_7
; %bb.8: ; in Loop: Header=BB8_4 Depth=1
mov x13, #0
LBB8_9: ; Parent Loop BB8_4 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w14, [x9, x13]
add x13, x13, #1
cbnz w14, LBB8_9
; %bb.10: ; in Loop: Header=BB8_4 Depth=1
add w14, w11, #1
cmp w14, w13
b.ne LBB8_3
; %bb.11: ; in Loop: Header=BB8_4 Depth=1
sub x12, x12, #1
cmp w12, #1
b.lt LBB8_16
; %bb.12: ; in Loop: Header=BB8_4 Depth=1
ldrb w12, [x0]
ldrb w13, [x9]
cmp w12, w13
b.ne LBB8_3
; %bb.13: ; in Loop: Header=BB8_4 Depth=1
asr x10, x10, #32
and x11, x11, #0xffffffff
mov w13, #1
LBB8_14: ; Parent Loop BB8_4 Depth=1
; => This Inner Loop Header: Depth=2
mov x12, x13
cmp x11, x13
b.eq LBB8_2
; %bb.15: ; in Loop: Header=BB8_14 Depth=2
ldrb w14, [x0, x12]
ldrb w15, [x9, x12]
add x13, x12, #1
cmp w14, w15
b.eq LBB8_14
b LBB8_2
LBB8_16:
mov x0, x1
ret
.cfi_endproc
; -- End function
.globl _TotalNumberOfContacts ; -- Begin function TotalNumberOfContacts
.p2align 2
_TotalNumberOfContacts: ; @TotalNumberOfContacts
.cfi_startproc
; %bb.0:
mov w8, #0
cbz x0, LBB9_2
LBB9_1: ; =>This Inner Loop Header: Depth=1
ldr x0, [x0, #24]
add w8, w8, #1
cbnz x0, LBB9_1
LBB9_2:
mov x0, x8
ret
.cfi_endproc
; -- End function
.globl _GetLength ; -- Begin function GetLength
.p2align 2
_GetLength: ; @GetLength
.cfi_startproc
; %bb.0:
cbz x0, LBB10_3
; %bb.1:
mov x8, x0
mov w0, #-1
LBB10_2: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x8], #1
add w0, w0, #1
cbnz w9, LBB10_2
LBB10_3:
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.14: ; @.str.14
.asciz "\350\257\245\350\201\224\347\263\273\344\272\272\"%s\"\344\270\215\345\255\230\345\234\250!\n"
l_.str.25: ; @.str.25
.asciz "%s\t\t\t%s\n\n"
l_.str.27: ; @.str.27
.asciz "%s\t\t\t%s\n"
l_.str.30: ; @.str.30
.asciz "\350\201\224\347\263\273\344\272\272%s\345\210\240\351\231\244\346\210\220\345\212\237\357\274\201\n"
l_str: ; @str
.asciz "\346\254\242\350\277\216\344\275\277\347\224\250\351\200\232\350\256\257\345\275\225\345\260\217\347\250\213\345\272\217\357\274\201\n"
l_str.31: ; @str.31
.asciz "\350\257\267\350\276\223\345\205\245\346\202\250\351\234\200\350\246\201\350\277\233\350\241\214\347\232\204\346\223\215\344\275\234\347\232\204\345\272\217\345\217\267"
l_str.32: ; @str.32
.asciz "1.\346\237\245\347\234\213\346\211\200\346\234\211\344\272\272\347\232\204\347\233\270\345\205\263\344\277\241\346\201\257"
l_str.33: ; @str.33
.asciz "2.\346\237\245\347\234\213\346\237\220\344\270\252\344\272\272\347\232\204\347\233\270\345\205\263\344\277\241\346\201\257"
l_str.34: ; @str.34
.asciz "3.\346\267\273\345\212\240\346\226\260\347\232\204\350\201\224\347\263\273\344\272\272"
l_str.35: ; @str.35
.asciz "4.\344\277\256\346\224\271\350\201\224\347\263\273\344\272\272\347\232\204\347\233\270\345\205\263\344\277\241\346\201\257"
l_str.36: ; @str.36
.asciz "5.\345\210\240\351\231\244\350\201\224\347\263\273\344\272\272"
l_str.37: ; @str.37
.asciz "6.\351\200\200\345\207\272\347\250\213\345\272\217"
l_str.38: ; @str.38
.asciz "\350\257\267\350\276\223\345\205\2451-6\344\270\255\347\232\204\346\225\260\345\255\227\357\274\201"
l_str.39: ; @str.39
.asciz "\350\257\267\350\276\223\345\205\245\346\202\250\350\246\201\346\211\200\345\210\240\351\231\244\350\201\224\347\263\273\344\272\272\347\232\204\345\247\223\345\220\215:"
l_str.40: ; @str.40
.asciz "\350\257\267\350\276\223\345\205\245\346\202\250\350\246\201\346\211\200\344\277\256\346\224\271\347\232\204\350\201\224\347\263\273\344\272\272\345\247\223\345\220\215:"
l_str.41: ; @str.41
.asciz "\346\202\250\350\246\201\344\277\256\346\224\271\350\257\245\350\201\224\347\263\273\344\272\272\347\232\204\345\247\223\345\220\215\345\220\227\357\274\237[y/n]"
l_str.43: ; @str.43
.asciz "\346\202\250\350\246\201\344\277\256\346\224\271\350\257\245\350\201\224\347\263\273\344\272\272\347\232\204\350\201\224\347\263\273\346\226\271\345\274\217\345\220\227\357\274\237[y/n]"
l_str.44: ; @str.44
.asciz "\350\257\267\350\276\223\345\205\245y/n"
l_str.45: ; @str.45
.asciz "\350\257\267\350\276\223\345\205\245\350\201\224\347\263\273\344\272\272\346\226\260\347\232\204\350\201\224\347\263\273\346\226\271\345\274\217\357\274\201"
l_str.46: ; @str.46
.asciz "\344\277\256\346\224\271\350\257\245\350\201\224\347\263\273\344\272\272\350\201\224\347\263\273\346\226\271\345\274\217\346\210\220\345\212\237\357\274\201\n"
l_str.47: ; @str.47
.asciz "\350\257\267\350\276\223\345\205\245\350\201\224\347\263\273\344\272\272\346\226\260\347\232\204\345\247\223\345\220\215\357\274\201"
l_str.48: ; @str.48
.asciz "\344\277\256\346\224\271\350\257\245\350\201\224\347\263\273\344\272\272\345\247\223\345\220\215\346\210\220\345\212\237\357\274\201\n"
l_str.49: ; @str.49
.asciz "\350\257\267\350\276\223\345\205\245\346\202\250\350\246\201\346\226\260\346\267\273\345\212\240\350\201\224\347\263\273\344\272\272\347\232\204\345\247\223\345\220\215:"
l_str.50: ; @str.50
.asciz "\350\257\267\350\276\223\345\205\245\346\202\250\350\246\201\346\226\260\346\267\273\345\212\240\350\201\224\347\263\273\344\272\272\347\232\204\346\211\213\346\234\272\345\217\267\347\240\201:"
l_str.51: ; @str.51
.asciz "\346\267\273\345\212\240\346\210\220\345\212\237"
l_str.52: ; @str.52
.asciz "\350\257\267\350\276\223\345\205\245\346\202\250\350\246\201\346\211\200\346\237\245\346\211\276\347\232\204\345\247\223\345\220\215:"
l_str.53: ; @str.53
.asciz "\346\254\242\350\277\216\344\270\213\346\254\241\344\275\277\347\224\250"
l_str.55: ; @str.55
.asciz "\n"
l_str.56: ; @str.56
.asciz "\344\270\215\345\255\230\345\234\250\350\257\245\350\201\224\347\263\273\344\272\272\357\274\201\n"
l_str.57: ; @str.57
.asciz "\345\247\223\345\220\215\t\t\t\346\211\213\346\234\272\345\217\267\347\240\201"
l_str.58: ; @str.58
.asciz "\346\202\250\345\275\223\345\211\215\346\262\241\346\234\211\350\201\224\347\263\273\344\272\272\346\210\226\350\200\205\350\257\245\350\201\224\347\263\273\344\272\272\344\270\215\345\255\230\345\234\250\357\274\214\344\270\215\350\203\275\350\277\233\350\241\214\345\210\240\351\231\244"
.subsections_via_symbols
| the_stack_data/286401.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function main
LCPI0_0:
.long 0x447a0000 ## float 1000
.section __TEXT,__literal8,8byte_literals
.p2align 3
LCPI0_1:
.quad 0x3fd380346dc5d639 ## double 0.30470000000000003
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
movl $0, -56(%rbp)
movl $0, -52(%rbp)
leaq L_str(%rip), %rdi
callq _puts
leaq L_.str.1(%rip), %rdi
leaq -48(%rbp), %rbx
movq %rbx, %rsi
xorl %eax, %eax
callq _scanf
leaq L_str.7(%rip), %rdi
callq _puts
leaq L_.str.3(%rip), %rdi
leaq -52(%rbp), %rsi
xorl %eax, %eax
callq _scanf
leaq L_str.8(%rip), %rdi
callq _puts
leaq L_.str.5(%rip), %rdi
leaq -56(%rbp), %rsi
xorl %eax, %eax
callq _scanf
callq _getchar
movss -56(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss LCPI0_0(%rip), %xmm0
cvttss2si %xmm0, %edx
movss -52(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
mulsd LCPI0_1(%rip), %xmm0
cvtsd2ss %xmm0, %xmm0
cvtss2sd %xmm0, %xmm0
leaq L_.str.6(%rip), %rdi
movq %rbx, %rsi
movb $1, %al
callq _printf
callq _getchar
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -16(%rbp), %rax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
addq $56, %rsp
popq %rbx
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%s"
L_.str.3: ## @.str.3
.asciz " %f"
L_.str.5: ## @.str.5
.asciz "%f"
L_.str.6: ## @.str.6
.asciz "\n=======================================\nEstimad@ %s\n\nSu Peso es de %d Kilogramos !\nSu Estatura es de %.2f Metros !\n\n\n\n"
L_str: ## @str
.asciz "\nIngrese el Nombre del Dinosaurio"
L_str.7: ## @str.7
.asciz "\nIngrese su Estatura en Pies (Ft)"
L_str.8: ## @str.8
.asciz "\nIngrese su Peso en Toneladas (Ton)"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp 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
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-24]
str xzr, [sp, #32]
Lloh3:
adrp x0, l_str@PAGE
Lloh4:
add x0, x0, l_str@PAGEOFF
bl _puts
add x19, sp, #42
str x19, [sp]
Lloh5:
adrp x0, l_.str.1@PAGE
Lloh6:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
Lloh7:
adrp x0, l_str.7@PAGE
Lloh8:
add x0, x0, l_str.7@PAGEOFF
bl _puts
add x8, sp, #32
str x8, [sp]
Lloh9:
adrp x0, l_.str.3@PAGE
Lloh10:
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
Lloh11:
adrp x0, l_str.8@PAGE
Lloh12:
add x0, x0, l_str.8@PAGEOFF
bl _puts
add x8, sp, #36
str x8, [sp]
Lloh13:
adrp x0, l_.str.5@PAGE
Lloh14:
add x0, x0, l_.str.5@PAGEOFF
bl _scanf
bl _getchar
ldr s0, [sp, #36]
mov w8, #1148846080
fmov s1, w8
fmul s0, s0, s1
fcvtzs w8, s0
ldr s0, [sp, #32]
fcvt d0, s0
mov x9, #54841
movk x9, #28101, lsl #16
movk x9, #32820, lsl #32
movk x9, #16339, lsl #48
fmov d1, x9
fmul d0, d0, d1
fcvt s0, d0
fcvt d0, s0
stp x19, x8, [sp]
str d0, [sp, #16]
Lloh15:
adrp x0, l_.str.6@PAGE
Lloh16:
add x0, x0, l_.str.6@PAGEOFF
bl _printf
bl _getchar
ldur x8, [x29, #-24]
Lloh17:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh18:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_2
; %bb.1:
mov w0, #0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.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.1: ; @.str.1
.asciz "%s"
l_.str.3: ; @.str.3
.asciz " %f"
l_.str.5: ; @.str.5
.asciz "%f"
l_.str.6: ; @.str.6
.asciz "\n=======================================\nEstimad@ %s\n\nSu Peso es de %d Kilogramos !\nSu Estatura es de %.2f Metros !\n\n\n\n"
l_str: ; @str
.asciz "\nIngrese el Nombre del Dinosaurio"
l_str.7: ; @str.7
.asciz "\nIngrese su Estatura en Pies (Ft)"
l_str.8: ; @str.8
.asciz "\nIngrese su Peso en Toneladas (Ton)"
.subsections_via_symbols
| the_stack_data/48576272.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function at76_get_op_mode
_at76_get_op_mode: ## @at76_get_op_mode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq _GFP_NOIO@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $1, %edi
callq _kmalloc
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %r15
movq %r14, %rdi
xorl %esi, %esi
callq _usb_rcvctrlpipe
movq _USB_TYPE_VENDOR@GOTPCREL(%rip), %rdx
movq _USB_DIR_IN@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rdx), %ecx
movq _USB_RECIP_INTERFACE@GOTPCREL(%rip), %rdx
orl (%rdx), %ecx
movq _USB_CTRL_GET_TIMEOUT@GOTPCREL(%rip), %rdx
movl (%rdx), %ebx
subq $8, %rsp
movq %r14, %rdi
movl %eax, %esi
movl $51, %edx
movl $1, %r8d
xorl %r9d, %r9d
pushq %rbx
pushq $1
pushq %r15
callq _usb_control_msg
addq $32, %rsp
movl %eax, %r14d
movl (%r15), %ebx
movq %r15, %rdi
callq _kfree
testl %r14d, %r14d
js LBB0_3
## %bb.4:
jne LBB0_7
## %bb.5:
movq _EIO@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_1:
movq _ENOMEM@GOTPCREL(%rip), %rax
LBB0_6:
xorl %ebx, %ebx
subl (%rax), %ebx
jmp LBB0_7
LBB0_3:
movl %r14d, %ebx
LBB0_7:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GFP_NOIO,4,2 ## @GFP_NOIO
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _USB_TYPE_VENDOR,4,2 ## @USB_TYPE_VENDOR
.comm _USB_DIR_IN,4,2 ## @USB_DIR_IN
.comm _USB_RECIP_INTERFACE,4,2 ## @USB_RECIP_INTERFACE
.comm _USB_CTRL_GET_TIMEOUT,4,2 ## @USB_CTRL_GET_TIMEOUT
.comm _EIO,4,2 ## @EIO
.no_dead_strip _at76_get_op_mode
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function at76_get_op_mode
_at76_get_op_mode: ; @at76_get_op_mode
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x0
Lloh0:
adrp x8, _GFP_NOIO@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_NOIO@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov w0, #1
bl _kmalloc
cbz x0, LBB0_4
; %bb.1:
mov x19, x0
mov x0, x20
mov w1, #0
bl _usb_rcvctrlpipe
mov x1, x0
Lloh3:
adrp x8, _USB_TYPE_VENDOR@GOTPAGE
Lloh4:
ldr x8, [x8, _USB_TYPE_VENDOR@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
Lloh6:
adrp x9, _USB_DIR_IN@GOTPAGE
Lloh7:
ldr x9, [x9, _USB_DIR_IN@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
Lloh9:
adrp x10, _USB_RECIP_INTERFACE@GOTPAGE
Lloh10:
ldr x10, [x10, _USB_RECIP_INTERFACE@GOTPAGEOFF]
orr w8, w9, w8
Lloh11:
ldr w9, [x10]
orr w3, w8, w9
Lloh12:
adrp x8, _USB_CTRL_GET_TIMEOUT@GOTPAGE
Lloh13:
ldr x8, [x8, _USB_CTRL_GET_TIMEOUT@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
str w8, [sp]
mov x0, x20
mov w2, #51
mov w4, #1
mov w5, #0
mov x6, x19
mov w7, #1
bl _usb_control_msg
mov x21, x0
ldr w20, [x19]
mov x0, x19
bl _kfree
tbnz w21, #31, LBB0_6
; %bb.2:
cbnz w21, LBB0_7
; %bb.3:
Lloh15:
adrp x8, _EIO@GOTPAGE
Lloh16:
ldr x8, [x8, _EIO@GOTPAGEOFF]
b LBB0_5
LBB0_4:
Lloh17:
adrp x8, _ENOMEM@GOTPAGE
Lloh18:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_5:
ldr w8, [x8]
neg w20, w8
b LBB0_7
LBB0_6:
mov x20, x21
LBB0_7:
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 Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGot Lloh17, Lloh18
.cfi_endproc
; -- End function
.comm _GFP_NOIO,4,2 ; @GFP_NOIO
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _USB_TYPE_VENDOR,4,2 ; @USB_TYPE_VENDOR
.comm _USB_DIR_IN,4,2 ; @USB_DIR_IN
.comm _USB_RECIP_INTERFACE,4,2 ; @USB_RECIP_INTERFACE
.comm _USB_CTRL_GET_TIMEOUT,4,2 ; @USB_CTRL_GET_TIMEOUT
.comm _EIO,4,2 ; @EIO
.no_dead_strip _at76_get_op_mode
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/atmel/extr_at76c50x-usb.c_at76_get_op_mode.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function atl1_get_pauseparam
_atl1_get_pauseparam: ## @atl1_get_pauseparam
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rsi, %rbx
callq _netdev_priv
movq (%rax), %rax
movq _MEDIA_TYPE_AUTO_SENSOR@GOTPCREL(%rip), %rcx
movq _MEDIA_TYPE_1000M_FULL@GOTPCREL(%rip), %rdi
movq _AUTONEG_ENABLE@GOTPCREL(%rip), %rdx
movq %rdx, %rsi
cmpq (%rdi), %rax
je LBB0_2
## %bb.1:
movq _AUTONEG_DISABLE@GOTPCREL(%rip), %rsi
LBB0_2:
cmpq (%rcx), %rax
cmoveq %rdx, %rsi
movl (%rsi), %eax
movl %eax, 8(%rbx)
movabsq $4294967297, %rax ## imm = 0x100000001
movq %rax, (%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MEDIA_TYPE_AUTO_SENSOR,8,3 ## @MEDIA_TYPE_AUTO_SENSOR
.comm _MEDIA_TYPE_1000M_FULL,8,3 ## @MEDIA_TYPE_1000M_FULL
.comm _AUTONEG_ENABLE,4,2 ## @AUTONEG_ENABLE
.comm _AUTONEG_DISABLE,4,2 ## @AUTONEG_DISABLE
.no_dead_strip _atl1_get_pauseparam
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function atl1_get_pauseparam
_atl1_get_pauseparam: ; @atl1_get_pauseparam
.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
ldr x8, [x0]
Lloh0:
adrp x9, _MEDIA_TYPE_AUTO_SENSOR@GOTPAGE
Lloh1:
ldr x9, [x9, _MEDIA_TYPE_AUTO_SENSOR@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
Lloh3:
adrp x10, _MEDIA_TYPE_1000M_FULL@GOTPAGE
Lloh4:
ldr x10, [x10, _MEDIA_TYPE_1000M_FULL@GOTPAGEOFF]
Lloh5:
ldr x10, [x10]
cmp x8, x10
Lloh6:
adrp x10, _AUTONEG_ENABLE@GOTPAGE
Lloh7:
ldr x10, [x10, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh8:
adrp x11, _AUTONEG_DISABLE@GOTPAGE
Lloh9:
ldr x11, [x11, _AUTONEG_DISABLE@GOTPAGEOFF]
ccmp x8, x9, #4, ne
csel x8, x10, x11, eq
ldr w8, [x8]
str w8, [x19, #8]
movi.2s v0, #1
str d0, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MEDIA_TYPE_AUTO_SENSOR,8,3 ; @MEDIA_TYPE_AUTO_SENSOR
.comm _MEDIA_TYPE_1000M_FULL,8,3 ; @MEDIA_TYPE_1000M_FULL
.comm _AUTONEG_ENABLE,4,2 ; @AUTONEG_ENABLE
.comm _AUTONEG_DISABLE,4,2 ; @AUTONEG_DISABLE
.no_dead_strip _atl1_get_pauseparam
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/atlx/extr_atl1.c_atl1_get_pauseparam.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _simple_strtoul ## -- Begin function simple_strtoul
.p2align 4, 0x90
_simple_strtoul: ## @simple_strtoul
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
testl %edx, %edx
je LBB0_2
## %bb.1:
movl %edx, %r15d
jmp LBB0_7
LBB0_2:
movl $10, %r15d
cmpb $48, (%r14)
jne LBB0_7
## %bb.3:
cmpb $120, 1(%r14)
je LBB0_6
## %bb.4:
movsbl 2(%r14), %edi
callq _isxdigit
testq %rax, %rax
je LBB0_5
LBB0_6:
addq $2, %r14
movl $16, %r15d
LBB0_7:
movsbl (%r14), %edi
callq _isxdigit
testq %rax, %rax
je LBB0_8
## %bb.9:
movl %r15d, %r12d
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
movsbl (%r14), %edi
callq _isdigit
movq %rax, %rcx
movzbl (%r14), %eax
movq $-48, %rdx
testq %rcx, %rcx
jne LBB0_12
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
movsbl %al, %edi
callq _toupper
movq $-55, %rdx
LBB0_12: ## in Loop: Header=BB0_10 Depth=1
movsbq %al, %rax
addq %rdx, %rax
cmpq %r12, %rax
jae LBB0_14
## %bb.13: ## in Loop: Header=BB0_10 Depth=1
imulq %r12, %r15
subq %rax, %r15
movsbl 1(%r14), %edi
incq %r14
callq _isxdigit
testq %rax, %rax
jne LBB0_10
LBB0_14:
testq %rbx, %rbx
je LBB0_16
LBB0_15:
movq %r14, (%rbx)
LBB0_16:
movq %r15, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_8:
xorl %r15d, %r15d
testq %rbx, %rbx
jne LBB0_15
jmp LBB0_16
LBB0_5:
incq %r14
movl $8, %r15d
jmp LBB0_7
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _simple_strtoul ; -- Begin function simple_strtoul
.p2align 2
_simple_strtoul: ; @simple_strtoul
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
cbz w2, LBB0_2
; %bb.1:
mov x22, x2
b LBB0_7
LBB0_2:
ldrb w8, [x20]
cmp w8, #48
b.ne LBB0_6
; %bb.3:
mov x21, x20
ldrb w8, [x21, #1]!
cmp w8, #120
b.eq LBB0_5
; %bb.4:
ldrsb w0, [x20, #2]
bl _isxdigit
cbz x0, LBB0_17
LBB0_5:
add x20, x20, #2
mov w22, #16 ; =0x10
b LBB0_7
LBB0_6:
mov w22, #10 ; =0xa
LBB0_7:
ldrsb w0, [x20]
bl _isxdigit
mov x21, #0 ; =0x0
cbz x0, LBB0_14
; %bb.8:
mov w22, w22
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldrsb w0, [x20]
bl _isdigit
mov x8, x0
ldrsb w0, [x20]
cbz x8, LBB0_11
; %bb.10: ; in Loop: Header=BB0_9 Depth=1
mov x8, #-48 ; =0xffffffffffffffd0
b LBB0_12
LBB0_11: ; in Loop: Header=BB0_9 Depth=1
bl _toupper
mov x8, #-55 ; =0xffffffffffffffc9
LBB0_12: ; in Loop: Header=BB0_9 Depth=1
add x8, x8, w0, sxtw
cmp x8, x22
b.hs LBB0_14
; %bb.13: ; in Loop: Header=BB0_9 Depth=1
mul x9, x21, x22
sub x21, x9, x8
ldrsb w0, [x20, #1]!
bl _isxdigit
cbnz x0, LBB0_9
LBB0_14:
cbz x19, LBB0_16
; %bb.15:
str x20, [x19]
LBB0_16:
mov x0, x21
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_17:
mov w22, #8 ; =0x8
mov x20, x21
b LBB0_7
.cfi_endproc
; -- End function
.subsections_via_symbols
| assembly_file_10275.c | assembly_dataset |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.