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
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function lpc32xx_slc_ecc_copy
LCPI0_0:
.long 16777212 ## 0xfffffc
.long 16777212 ## 0xfffffc
.space 4
.space 4
LCPI0_1:
.long 16777215 ## 0xffffff
.long 16777215 ## 0xffffff
.space 4
.space 4
LCPI0_2:
.byte 0 ## 0x0
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 4 ## 0x4
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 128 ## 0x80
LCPI0_3:
.byte 1 ## 0x1
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 5 ## 0x5
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 128 ## 0x80
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_lpc32xx_slc_ecc_copy: ## @lpc32xx_slc_ecc_copy
.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
## kill: def $edx killed $edx def $rdx
testl %edx, %edx
jle LBB0_8
## %bb.1:
leal (%rdx,%rdx,2), %eax
movslq %eax, %r10
cmpq $4, %r10
movl $3, %ecx
cmovgeq %r10, %rcx
decq %rcx
movabsq $-6148914691236517205, %r11 ## imm = 0xAAAAAAAAAAAAAAAB
movq %rcx, %rax
mulq %r11
cmpq $3, %rcx
jae LBB0_3
## %bb.2:
xorl %r9d, %r9d
jmp LBB0_6
LBB0_3:
movq %rdx, %r8
shrq %r8
incq %r8
movabsq $9223372036854775806, %r14 ## imm = 0x7FFFFFFFFFFFFFFE
andq %r8, %r14
leaq (%r14,%r14,2), %r9
xorl %ecx, %ecx
movdqa LCPI0_0(%rip), %xmm0 ## xmm0 = <16777212,16777212,u,u>
movdqa LCPI0_1(%rip), %xmm1 ## xmm1 = <16777215,16777215,u,u>
movdqa LCPI0_2(%rip), %xmm2 ## xmm2 = [0,128,128,128,128,128,128,128,4,128,128,128,128,128,128,128]
movdqa LCPI0_3(%rip), %xmm3 ## xmm3 = [1,128,128,128,128,128,128,128,5,128,128,128,128,128,128,128]
movq %r14, %rbx
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq %rcx, %rax
mulq %r11
andq $-2, %rdx
movq (%rsi,%rdx,2), %xmm4 ## xmm4 = mem[0],zero
pslld $2, %xmm4
pand %xmm0, %xmm4
pxor %xmm1, %xmm4
movdqa %xmm4, %xmm5
pshufb %xmm2, %xmm5
movdqa %xmm4, %xmm6
pshufb %xmm3, %xmm6
psrld $16, %xmm4
pmovzxdq %xmm4, %xmm4 ## xmm4 = xmm4[0],zero,xmm4[1],zero
movdqa %xmm5, %xmm7
pblendw $240, %xmm4, %xmm7 ## xmm7 = xmm7[0,1,2,3],xmm4[4,5,6,7]
punpcklqdq %xmm6, %xmm4 ## xmm4 = xmm4[0],xmm6[0]
punpckhqdq %xmm5, %xmm6 ## xmm6 = xmm6[1],xmm5[1]
movdqu %xmm6, 32(%rdi,%rcx,8)
movdqu %xmm7, 16(%rdi,%rcx,8)
movdqu %xmm4, (%rdi,%rcx,8)
addq $6, %rcx
addq $-2, %rbx
jne LBB0_4
## %bb.5:
cmpq %r14, %r8
je LBB0_8
LBB0_6:
movq %r9, %rax
mulq %r11
andq $-2, %rdx
leaq (%rsi,%rdx,2), %rax
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movl (%rax), %ecx
shll $2, %ecx
andl $16777212, %ecx ## imm = 0xFFFFFC
xorq $16777215, %rcx ## imm = 0xFFFFFF
movzbl %cl, %edx
movq %rdx, 16(%rdi,%r9,8)
movzbl %ch, %edx
movq %rdx, 8(%rdi,%r9,8)
shrl $16, %ecx
movq %rcx, (%rdi,%r9,8)
addq $3, %r9
addq $4, %rax
cmpq %r10, %r9
jl LBB0_7
LBB0_8:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _lpc32xx_slc_ecc_copy
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lpc32xx_slc_ecc_copy
_lpc32xx_slc_ecc_copy: ; @lpc32xx_slc_ecc_copy
.cfi_startproc
; %bb.0:
cmp w2, #1
b.lt LBB0_8
; %bb.1:
add w8, w2, w2, lsl #1
sxtw x8, w8
mov w9, #3
cmp x8, #3
csel x9, x8, x9, gt
sub x9, x9, #1
mov x10, #-6148914691236517206
movk x10, #43691
cmp x9, #3
b.hs LBB0_3
; %bb.2:
mov x9, #0
b LBB0_6
LBB0_3:
mov x11, #0
umulh x9, x9, x10
lsr x9, x9, #1
add x12, x9, #1
and x13, x12, #0x7ffffffffffffffe
add x9, x13, x13, lsl #1
mov w14, #16777212
dup.2s v0, w14
movi d1, #0xffffff00ffffff
movi d2, #0x0000ff000000ff
mov x14, x0
mov x15, x13
LBB0_4: ; =>This Inner Loop Header: Depth=1
umulh x16, x11, x10
lsl x16, x16, #1
and x16, x16, #0xfffffffffffffffc
ldr d3, [x1, x16]
shl.2s v3, v3, #2
and.8b v3, v3, v0
eor.8b v3, v3, v1
and.8b v4, v3, v2
ushll.2d v6, v4, #0
ushr.2s v7, v3, #8
and.8b v7, v7, v2
ushll.2d v5, v7, #0
ushr.2s v3, v3, #16
ushll.2d v4, v3, #0
st3.2d { v4, v5, v6 }, [x14], #48
add x11, x11, #6
subs x15, x15, #2
b.ne LBB0_4
; %bb.5:
cmp x12, x13
b.eq LBB0_8
LBB0_6:
umulh x10, x9, x10
lsl x10, x10, #1
and x10, x10, #0xfffffffffffffffc
add x10, x1, x10
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr w11, [x10], #4
lsl w11, w11, #2
and x11, x11, #0xfffffc
eor x11, x11, #0xffffff
and x14, x11, #0xff
add x13, x0, x9, lsl #3
ubfx w12, w11, #8, #8
ubfx x11, x11, #16, #16
; kill: def $w11 killed $w11 killed $x11 def $x11
stp x12, x14, [x13, #8]
str x11, [x13]
add x9, x9, #3
cmp x9, x8
b.lt LBB0_7
LBB0_8:
ret
.cfi_endproc
; -- End function
.no_dead_strip _lpc32xx_slc_ecc_copy
.subsections_via_symbols
| AnghaBench/linux/drivers/mtd/nand/raw/extr_lpc32xx_slc.c_lpc32xx_slc_ecc_copy.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cb_poll
_cb_poll: ## @cb_poll
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq _consin_fd@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _FIONREAD@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -4(%rbp), %rdx
callq _ioctl
testq %rax, %rax
setns %al
cmpl $0, -4(%rbp)
setg %cl
andb %al, %cl
movzbl %cl, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _consin_fd,4,2 ## @consin_fd
.comm _FIONREAD,4,2 ## @FIONREAD
.no_dead_strip _cb_poll
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cb_poll
_cb_poll: ; @cb_poll
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x8, _consin_fd@GOTPAGE
Lloh1:
ldr x8, [x8, _consin_fd@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x8, _FIONREAD@GOTPAGE
Lloh4:
ldr x8, [x8, _FIONREAD@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
sub x2, x29, #4
bl _ioctl
cmp x0, #0
ldur w8, [x29, #-4]
ccmp w8, #0, #4, ge
cset w0, gt
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _consin_fd,4,2 ; @consin_fd
.comm _FIONREAD,4,2 ; @FIONREAD
.no_dead_strip _cb_poll
.subsections_via_symbols
| AnghaBench/freebsd/usr.sbin/bhyveload/extr_bhyveload.c_cb_poll.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _source_command ## -- Begin function source_command
.p2align 4, 0x90
_source_command: ## @source_command
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %rbx
testq %rdi, %rdi
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
callq _error
LBB0_2:
movq %rbx, %rdi
callq _tilde_expand
movq %rax, %rbx
movq _xfree@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %rbx, %rsi
callq _make_cleanup
movq %rax, %r15
movq _FOPEN_RT@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _fopen
movq %rax, %r12
testq %rax, %rax
jne LBB0_5
## %bb.3:
testl %r14d, %r14d
je LBB0_6
## %bb.4:
movq %rbx, %rdi
callq _perror_with_name
LBB0_5:
movq %r12, %rdi
movq %rbx, %rsi
callq _script_from_file
movq %r15, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _do_cleanups ## TAILCALL
LBB0_6:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "source command requires pathname of file to source."
.comm _xfree,4,2 ## @xfree
.comm _FOPEN_RT,4,2 ## @FOPEN_RT
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _source_command ; -- Begin function source_command
.p2align 2
_source_command: ; @source_command
.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
cbnz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _error
LBB0_2:
mov x0, x20
bl _tilde_expand
mov x20, x0
Lloh2:
adrp x8, _xfree@GOTPAGE
Lloh3:
ldr x8, [x8, _xfree@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
mov x1, x20
bl _make_cleanup
mov x21, x0
Lloh5:
adrp x8, _FOPEN_RT@GOTPAGE
Lloh6:
ldr x8, [x8, _FOPEN_RT@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
mov x0, x20
bl _fopen
mov x22, x0
cbnz x0, LBB0_5
; %bb.3:
cbz w19, LBB0_6
; %bb.4:
mov x0, x20
bl _perror_with_name
LBB0_5:
mov x0, x22
mov x1, x20
bl _script_from_file
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 _do_cleanups
LBB0_6:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "source command requires pathname of file to source."
.comm _xfree,4,2 ; @xfree
.comm _FOPEN_RT,4,2 ; @FOPEN_RT
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gdb/gdb/cli/extr_cli-cmds.c_source_command.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hci_read_node_list ## -- Begin function hci_read_node_list
.p2align 4, 0x90
_hci_read_node_list: ## @hci_read_node_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
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %ebx
movq _MAX_NODE_NUM@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl %edi, -56(%rbp)
movl $16, %esi
callq _calloc
movq %rax, -48(%rbp)
testq %rax, %rax
je LBB0_1
## %bb.2:
movq _SIOC_HCI_RAW_NODE_LIST_NAMES@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -56(%rbp), %rdx
movl %ebx, %edi
movl $16, %ecx
callq _ioctl
testq %rax, %rax
js LBB0_3
## %bb.4:
movq _stdout@GOTPCREL(%rip), %r15
movl (%r15), %edi
leaq L_.str(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movq _OK@GOTPCREL(%rip), %r14
cmpl $0, -56(%rbp)
jle LBB0_7
## %bb.5:
movl $12, %ebx
leaq L_.str.1(%rip), %r12
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movl (%r15), %edi
movq -48(%rbp), %rax
movq -12(%rax,%rbx), %rdx
movl -4(%rax,%rbx), %ecx
movl (%rax,%rbx), %r8d
movq %r12, %rsi
xorl %eax, %eax
callq _fprintf
incq %r13
movslq -56(%rbp), %rax
addq $16, %rbx
cmpq %rax, %r13
jl LBB0_6
jmp LBB0_7
LBB0_1:
movq _ERROR@GOTPCREL(%rip), %r14
jmp LBB0_8
LBB0_3:
movq _ERROR@GOTPCREL(%rip), %r14
LBB0_7:
movq -48(%rbp), %rdi
callq _free
LBB0_8:
movl (%r14), %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MAX_NODE_NUM,4,2 ## @MAX_NODE_NUM
.comm _ERROR,4,2 ## @ERROR
.comm _SIOC_HCI_RAW_NODE_LIST_NAMES,4,2 ## @SIOC_HCI_RAW_NODE_LIST_NAMES
.comm _stdout,4,2 ## @stdout
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Name ID Num hooks\n"
L_.str.1: ## @.str.1
.asciz "%-15s %08x %9d\n"
.comm _OK,4,2 ## @OK
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hci_read_node_list ; -- Begin function hci_read_node_list
.p2align 2
_hci_read_node_list: ; @hci_read_node_list
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
Lloh0:
adrp x8, _MAX_NODE_NUM@GOTPAGE
Lloh1:
ldr x8, [x8, _MAX_NODE_NUM@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
str w0, [sp, #32]
mov w1, #16
bl _calloc
str x0, [sp, #40]
cbz x0, LBB0_5
; %bb.1:
Lloh3:
adrp x8, _SIOC_HCI_RAW_NODE_LIST_NAMES@GOTPAGE
Lloh4:
ldr x8, [x8, _SIOC_HCI_RAW_NODE_LIST_NAMES@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
add x2, sp, #32
mov x0, x19
mov w3, #16
bl _ioctl
tbnz x0, #63, LBB0_6
; %bb.2:
Lloh6:
adrp x21, _stdout@GOTPAGE
Lloh7:
ldr x21, [x21, _stdout@GOTPAGEOFF]
ldr w0, [x21]
Lloh8:
adrp x1, l_.str@PAGE
Lloh9:
add x1, x1, l_.str@PAGEOFF
bl _fprintf
ldr w8, [sp, #32]
cmp w8, #1
b.lt LBB0_7
; %bb.3:
mov x22, #0
mov x23, #0
Lloh10:
adrp x20, _OK@GOTPAGE
Lloh11:
ldr x20, [x20, _OK@GOTPAGEOFF]
Lloh12:
adrp x19, l_.str.1@PAGE
Lloh13:
add x19, x19, l_.str.1@PAGEOFF
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w0, [x21]
ldr x8, [sp, #40]
add x8, x8, x22
ldr x9, [x8]
ldp w10, w8, [x8, #8]
stp x10, x8, [sp, #8]
str x9, [sp]
mov x1, x19
bl _fprintf
add x23, x23, #1
ldrsw x8, [sp, #32]
add x22, x22, #16
cmp x23, x8
b.lt LBB0_4
b LBB0_8
LBB0_5:
Lloh14:
adrp x20, _ERROR@GOTPAGE
Lloh15:
ldr x20, [x20, _ERROR@GOTPAGEOFF]
b LBB0_9
LBB0_6:
Lloh16:
adrp x20, _ERROR@GOTPAGE
Lloh17:
ldr x20, [x20, _ERROR@GOTPAGEOFF]
b LBB0_8
LBB0_7:
Lloh18:
adrp x20, _OK@GOTPAGE
Lloh19:
ldr x20, [x20, _OK@GOTPAGEOFF]
LBB0_8:
ldr x0, [sp, #40]
bl _free
LBB0_9:
ldr w0, [x20]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh18, Lloh19
.cfi_endproc
; -- End function
.comm _MAX_NODE_NUM,4,2 ; @MAX_NODE_NUM
.comm _ERROR,4,2 ; @ERROR
.comm _SIOC_HCI_RAW_NODE_LIST_NAMES,4,2 ; @SIOC_HCI_RAW_NODE_LIST_NAMES
.comm _stdout,4,2 ; @stdout
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Name ID Num hooks\n"
l_.str.1: ; @.str.1
.asciz "%-15s %08x %9d\n"
.comm _OK,4,2 ; @OK
.subsections_via_symbols
| AnghaBench/freebsd/usr.sbin/bluetooth/hccontrol/extr_node.c_hci_read_node_list.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _setclassenvironment ## -- Begin function setclassenvironment
.p2align 4, 0x90
_setclassenvironment: ## @setclassenvironment
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r13d
movq %rsi, -64(%rbp) ## 8-byte Spill
movq %rdi, %r12
testl %edx, %edx
jne LBB0_1
## %bb.2:
movq _envars@GOTPCREL(%rip), %rax
jmp LBB0_3
LBB0_1:
movq _pathvars@GOTPCREL(%rip), %rax
LBB0_3:
movq (%rax), %rbx
movl $0, -52(%rbp) ## 4-byte Folded Spill
movl $0, -48(%rbp) ## 4-byte Folded Spill
cmpq $0, -64(%rbp) ## 8-byte Folded Reload
je LBB0_5
## %bb.4:
movq -64(%rbp), %r15 ## 8-byte Reload
movq (%r15), %rdi
callq _strlen
movl %eax, %r14d
movq 8(%r15), %rdi
callq _strlen
movl %eax, -48(%rbp) ## 4-byte Spill
testl %r14d, %r14d
jne LBB0_6
LBB0_5:
movq -64(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
cmpb $47, -1(%rax)
movl $0, %r14d
movl $0, -44(%rbp) ## 4-byte Folded Spill
je LBB0_7
LBB0_6:
movb $1, %al
movl %eax, -44(%rbp) ## 4-byte Spill
movl %r14d, -52(%rbp) ## 4-byte Spill
LBB0_7:
cmpq $0, 24(%rbx)
je LBB0_8
LBB0_17:
testl %r13d, %r13d
je LBB0_18
LBB0_25:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_8:
movzbl -44(%rbp), %r14d ## 1-byte Folded Reload
jmp LBB0_9
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_9 Depth=1
movq %rax, %r15
movq (%rbx), %rdi
movl 8(%rbx), %edx
movq %rax, %rsi
callq _setenv
movq %r15, %rdi
callq _free
LBB0_16: ## in Loop: Header=BB0_9 Depth=1
cmpq $0, 56(%rbx)
leaq 32(%rbx), %rbx
jne LBB0_17
LBB0_9: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
testl %r13d, %r13d
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
callq _login_getpath
jmp LBB0_12
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_9 Depth=1
xorl %ecx, %ecx
callq _login_getcapstr
LBB0_12: ## in Loop: Header=BB0_9 Depth=1
movq %rax, %rdi
movq -64(%rbp), %rsi ## 8-byte Reload
movl -52(%rbp), %edx ## 4-byte Reload
movl %r14d, %ecx
movl -48(%rbp), %r8d ## 4-byte Reload
callq _substvar
testq %rax, %rax
jne LBB0_13
## %bb.14: ## in Loop: Header=BB0_9 Depth=1
movq 16(%rbx), %rsi
testq %rsi, %rsi
je LBB0_16
## %bb.15: ## in Loop: Header=BB0_9 Depth=1
movq (%rbx), %rdi
xorl %edx, %edx
callq _setenv
jmp LBB0_16
LBB0_18:
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rdx
movq %r12, %rdi
callq _login_getcaplist
testq %rax, %rax
je LBB0_25
## %bb.19:
movq %rax, %r14
movq (%rax), %rdi
testq %rdi, %rdi
je LBB0_25
## %bb.20:
addq $8, %r14
movzbl -44(%rbp), %r12d ## 1-byte Folded Reload
jmp LBB0_21
.p2align 4, 0x90
LBB0_24: ## in Loop: Header=BB0_21 Depth=1
movq (%r14), %rdi
addq $8, %r14
testq %rdi, %rdi
je LBB0_25
LBB0_21: ## =>This Inner Loop Header: Depth=1
movl $61, %esi
callq _strchr
testq %rax, %rax
je LBB0_24
## %bb.22: ## in Loop: Header=BB0_21 Depth=1
movq %rax, %rdi
incq %rdi
movb $0, (%rax)
movq -64(%rbp), %rsi ## 8-byte Reload
movl -52(%rbp), %edx ## 4-byte Reload
movl %r12d, %ecx
movl -48(%rbp), %r8d ## 4-byte Reload
callq _substvar
testq %rax, %rax
je LBB0_24
## %bb.23: ## in Loop: Header=BB0_21 Depth=1
movq -8(%r14), %rdi
movq %rax, %rsi
movl $1, %edx
movq %rax, %r15
callq _setenv
movq %r15, %rdi
callq _free
jmp LBB0_24
.cfi_endproc
## -- End function
.comm _pathvars,8,3 ## @pathvars
.comm _envars,8,3 ## @envars
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "setenv"
L_.str.1: ## @.str.1
.asciz ","
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _setclassenvironment ; -- Begin function setclassenvironment
.p2align 2
_setclassenvironment: ; @setclassenvironment
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x24, x2
mov x19, x1
mov x23, x0
Lloh0:
adrp x8, _pathvars@GOTPAGE
Lloh1:
ldr x8, [x8, _pathvars@GOTPAGEOFF]
Lloh2:
adrp x9, _envars@GOTPAGE
Lloh3:
ldr x9, [x9, _envars@GOTPAGEOFF]
cmp w2, #0
csel x8, x9, x8, eq
ldr x26, [x8]
cbz x1, LBB0_2
; %bb.1:
ldr x0, [x19]
bl _strlen
mov x25, x0
ldr x0, [x19, #8]
bl _strlen
mov x20, x0
cbnz w25, LBB0_4
b LBB0_3
LBB0_2:
mov w20, #0 ; =0x0
LBB0_3:
mov w25, #0 ; =0x0
mov w22, #0 ; =0x0
mov w21, #0 ; =0x0
ldr x8, [x19]
ldurb w8, [x8, #-1]
cmp w8, #47
b.eq LBB0_5
LBB0_4:
mov w21, #1 ; =0x1
mov x22, x25
LBB0_5:
ldr x8, [x26, #24]
cbz x8, LBB0_10
LBB0_6:
cbz w24, LBB0_16
LBB0_7:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_8: ; in Loop: Header=BB0_10 Depth=1
mov x25, x0
ldr x0, [x26]
ldr w2, [x26, #8]
mov x1, x25
bl _setenv
mov x0, x25
bl _free
LBB0_9: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [x26, #56]
add x26, x26, #32
cbnz x8, LBB0_6
LBB0_10: ; =>This Inner Loop Header: Depth=1
mov x0, x23
mov x1, #0 ; =0x0
mov x2, #0 ; =0x0
cbz w24, LBB0_12
; %bb.11: ; in Loop: Header=BB0_10 Depth=1
bl _login_getpath
b LBB0_13
LBB0_12: ; in Loop: Header=BB0_10 Depth=1
mov x3, #0 ; =0x0
bl _login_getcapstr
LBB0_13: ; in Loop: Header=BB0_10 Depth=1
mov x1, x19
mov x2, x22
mov x3, x21
mov x4, x20
bl _substvar
cbnz x0, LBB0_8
; %bb.14: ; in Loop: Header=BB0_10 Depth=1
ldr x1, [x26, #16]
cbz x1, LBB0_9
; %bb.15: ; in Loop: Header=BB0_10 Depth=1
ldr x0, [x26]
mov w2, #0 ; =0x0
bl _setenv
b LBB0_9
LBB0_16:
Lloh4:
adrp x1, l_.str@PAGE
Lloh5:
add x1, x1, l_.str@PAGEOFF
Lloh6:
adrp x2, l_.str.1@PAGE
Lloh7:
add x2, x2, l_.str.1@PAGEOFF
mov x0, x23
bl _login_getcaplist
cbz x0, LBB0_7
; %bb.17:
mov x8, x0
ldr x0, [x0]
cbz x0, LBB0_7
; %bb.18:
add x24, x8, #8
b LBB0_20
LBB0_19: ; in Loop: Header=BB0_20 Depth=1
ldr x0, [x24], #8
cbz x0, LBB0_7
LBB0_20: ; =>This Inner Loop Header: Depth=1
mov w1, #61 ; =0x3d
bl _strchr
cbz x0, LBB0_19
; %bb.21: ; in Loop: Header=BB0_20 Depth=1
strb wzr, [x0], #1
mov x1, x19
mov x2, x22
mov x3, x21
mov x4, x20
bl _substvar
cbz x0, LBB0_19
; %bb.22: ; in Loop: Header=BB0_20 Depth=1
mov x23, x0
ldur x0, [x24, #-8]
mov x1, x23
mov w2, #1 ; =0x1
bl _setenv
mov x0, x23
bl _free
b LBB0_19
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _pathvars,8,3 ; @pathvars
.comm _envars,8,3 ; @envars
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "setenv"
l_.str.1: ; @.str.1
.asciz ","
.subsections_via_symbols
| assembly_file_94626.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _archive_entry_set_uname ## -- Begin function archive_entry_set_uname
.p2align 4, 0x90
_archive_entry_set_uname: ## @archive_entry_set_uname
.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 _archive_mstring_copy_mbs ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _archive_entry_set_uname ; -- Begin function archive_entry_set_uname
.p2align 2
_archive_entry_set_uname: ; @archive_entry_set_uname
.cfi_startproc
; %bb.0:
b _archive_mstring_copy_mbs
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_entry.c_archive_entry_set_uname.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cw_bmove
_cw_bmove: ## @cw_bmove
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r9d, -44(%rbp) ## 4-byte Spill
movl %r8d, %r13d
movl %ecx, %r15d
movl %edx, %ebx
movq %rsi, %r12
movq %rdi, %r14
movq 8(%rsi), %rax
movq (%rax), %rax
movl (%rax), %edi
callq _GETVXRES
movl 16(%rbp), %ecx
addl %ecx, %ebx
addl %ecx, %r13d
movl %ecx, %edi
movq (%r14), %rcx
movq %rcx, %xmm0
pshufd $69, %xmm0, %xmm0 ## xmm0 = xmm0[1,1,0,1]
imull %ecx, %ebx
movslq %ebx, %rdx
movq %rax, %rsi
subq %rdx, %rsi
movq %rsi, -56(%rbp)
imull %ecx, %r13d
movslq %r13d, %rcx
subq %rcx, %rax
movd %r15d, %xmm1
pinsrd $1, -44(%rbp), %xmm1 ## 4-byte Folded Reload
pinsrd $2, %edi, %xmm1
pinsrd $3, 24(%rbp), %xmm1
movq %rax, -64(%rbp)
pmulld %xmm0, %xmm1
movdqa %xmm1, -80(%rbp)
movq (%r12), %rax
leaq -80(%rbp), %rsi
movq %r12, %rdi
callq *(%rax)
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _cw_bmove
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cw_bmove
_cw_bmove: ; @cw_bmove
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x7
mov x20, x6
mov x21, x5
mov x22, x4
mov x23, x3
mov x24, x2
mov x25, x1
mov x26, x0
ldr x8, [x1, #8]
ldr x8, [x8]
ldr w0, [x8]
bl _GETVXRES
add w8, w20, w24
ldp w9, w10, [x26]
mul w8, w9, w8
sub x8, x0, w8, sxtw
mul w11, w10, w23
add w12, w20, w22
mul w12, w9, w12
sub x12, x0, w12, sxtw
stp x12, x8, [sp, #16]
mul w8, w10, w21
stp w11, w8, [sp]
mul w8, w9, w20
mul w9, w10, w19
stp w8, w9, [sp, #8]
ldr x8, [x25]
ldr x8, [x8]
mov x1, sp
mov x0, x25
blr x8
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.no_dead_strip _cw_bmove
.subsections_via_symbols
| AnghaBench/linux/drivers/video/fbdev/core/extr_fbcon_cw.c_cw_bmove.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _a ## -- Begin function a
.p2align 4, 0x90
_a: ## @a
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
xorl %r14d, %r14d
testl %esi, %esi
jle LBB0_11
## %bb.1:
movl %edi, %r15d
testl %edi, %edi
jle LBB0_11
## %bb.2:
movl %esi, %r12d
cmpl %esi, %r15d
jl LBB0_11
## %bb.3:
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
cmpl $1, %r12d
je LBB0_5
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
cmpl %r12d, %r15d
je LBB0_7
## %bb.8: ## in Loop: Header=BB0_4 Depth=1
leal -1(%r15), %ebx
movl %ebx, %edi
movl %r12d, %esi
callq _a
addl %eax, %r14d
xorl %eax, %eax
cmpl $2, %r15d
jl LBB0_10
## %bb.9: ## in Loop: Header=BB0_4 Depth=1
leal -1(%r12), %ecx
cmpl %r12d, %r15d
movl %ecx, %r12d
movl %ebx, %r15d
jge LBB0_4
jmp LBB0_10
LBB0_5:
movl %r15d, %eax
jmp LBB0_10
LBB0_7:
movl $1, %eax
LBB0_10:
addl %eax, %r14d
LBB0_11:
movl %r14d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
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
subq $16, %rsp
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
leaq -4(%rbp), %rdx
xorl %eax, %eax
callq _scanf
movl -8(%rbp), %edi
movl -4(%rbp), %esi
callq _a
leaq L_.str.1(%rip), %rdi
movl %eax, %esi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%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 _a ; -- Begin function a
.p2align 2
_a: ; @a
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
mov w0, #0
cmp w1, #1
b.lt LBB0_11
; %bb.1:
cmp w19, #1
b.lt LBB0_11
; %bb.2:
mov x20, x1
cmp w19, w1
b.lt LBB0_11
; %bb.3:
mov w22, #0
LBB0_4: ; =>This Inner Loop Header: Depth=1
subs w23, w20, #1
b.eq LBB0_8
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
cmp w19, w20
b.eq LBB0_9
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
sub w21, w19, #1
mov x0, x21
mov x1, x20
bl _a
mov w8, #0
add w22, w0, w22
cmp w19, #2
b.lt LBB0_10
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
cmp w19, w20
mov x20, x23
mov x19, x21
b.ge LBB0_4
b LBB0_10
LBB0_8:
mov x8, x19
b LBB0_10
LBB0_9:
mov w8, #1
LBB0_10:
add w0, w8, w22
LBB0_11:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp 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
sub x8, x29, #8
sub x9, x29, #4
stp x9, x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldp w1, w0, [x29, #-8]
bl _a
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.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/106089.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __dwarf_reloc_section_finalize ## -- Begin function _dwarf_reloc_section_finalize
.p2align 4, 0x90
__dwarf_reloc_section_finalize: ## @_dwarf_reloc_section_finalize
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
movq %rsi, -48(%rbp)
xorl %edi, %edi
testq %r15, %r15
je LBB0_4
## %bb.1:
testq %rbx, %rbx
je LBB0_4
## %bb.2:
cmpq $0, 24(%rbx)
je LBB0_4
## %bb.3:
xorl %edi, %edi
cmpq $0, 8(%rbx)
setne %dil
LBB0_4:
callq _assert
movq 24(%rbx), %r13
xorl %edi, %edi
cmpq $0, (%r13)
sete %dil
callq _assert
movslq (%rbx), %r12
testq %r12, %r12
je LBB0_5
## %bb.6:
shlq $2, %r12
movq _DW_DLC_SYMBOLIC_RELOCATIONS@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%r15)
jne LBB0_10
## %bb.7:
movl %r12d, 8(%r13)
movq 24(%r13), %rdi
movq %r12, %rsi
callq _realloc
movq %rax, 24(%r13)
testq %rax, %rax
je LBB0_8
LBB0_10:
movl 20(%r13), %esi
cmpq $0, 16(%rbx)
jne LBB0_11
## %bb.12:
movq _SHT_REL@GOTPCREL(%rip), %rax
jmp LBB0_13
LBB0_5:
leaq -48(%rbp), %rsi
movq %r15, %rdi
callq __dwarf_reloc_section_free
jmp LBB0_16
LBB0_11:
movq _SHT_RELA@GOTPCREL(%rip), %rax
LBB0_13:
movl (%rax), %ecx
movq 8(%rbx), %rax
movl (%rax), %eax
leaq 16(%r13), %rbx
subq $8, %rsp
movq %r15, %rdi
movl %r12d, %edx
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq $0
pushq %rbx
pushq %rax
callq __dwarf_pro_callback
addq $32, %rsp
testl %eax, %eax
js LBB0_14
## %bb.15:
movl %eax, 12(%r13)
LBB0_16:
movq _DW_DLE_NONE@GOTPCREL(%rip), %rbx
jmp LBB0_17
LBB0_14:
movq _DW_DLE_ELF_SECT_ERR@GOTPCREL(%rip), %rbx
jmp LBB0_9
LBB0_8:
movq _DW_DLE_MEMORY@GOTPCREL(%rip), %rbx
LBB0_9:
movl (%rbx), %edx
movq %r15, %rdi
movq %r14, %rsi
callq _DWARF_SET_ERROR
LBB0_17:
movl (%rbx), %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DW_DLC_SIZE_64,4,2 ## @DW_DLC_SIZE_64
.comm _DW_DLE_NONE,4,2 ## @DW_DLE_NONE
.comm _DW_DLC_SYMBOLIC_RELOCATIONS,4,2 ## @DW_DLC_SYMBOLIC_RELOCATIONS
.comm _DW_DLE_MEMORY,4,2 ## @DW_DLE_MEMORY
.comm _SHT_RELA,4,2 ## @SHT_RELA
.comm _SHT_REL,4,2 ## @SHT_REL
.comm _DW_DLE_ELF_SECT_ERR,4,2 ## @DW_DLE_ELF_SECT_ERR
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __dwarf_reloc_section_finalize ; -- Begin function _dwarf_reloc_section_finalize
.p2align 2
__dwarf_reloc_section_finalize: ; @_dwarf_reloc_section_finalize
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x2
mov x21, x1
mov x19, x0
mov w0, #0
str x1, [sp, #8]
cbz x19, LBB0_5
; %bb.1:
cbz x21, LBB0_5
; %bb.2:
ldr x8, [x21, #24]
cbz x8, LBB0_4
; %bb.3:
ldr x8, [x21, #8]
cmp x8, #0
cset w0, ne
b LBB0_5
LBB0_4:
mov w0, #0
LBB0_5:
bl _assert
ldr x23, [x21, #24]
ldr x8, [x23]
cmp x8, #0
cset w0, eq
bl _assert
ldrsw x8, [x21]
cbz w8, LBB0_10
; %bb.6:
lsl x22, x8, #2
ldr w8, [x19]
Lloh0:
adrp x9, _DW_DLC_SYMBOLIC_RELOCATIONS@GOTPAGE
Lloh1:
ldr x9, [x9, _DW_DLC_SYMBOLIC_RELOCATIONS@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_8
; %bb.7:
str w22, [x23, #8]
ldr x0, [x23, #24]
mov x1, x22
bl _realloc
str x0, [x23, #24]
cbz x0, LBB0_13
LBB0_8:
ldr w1, [x23, #20]
Lloh3:
adrp x8, _SHT_RELA@GOTPAGE
Lloh4:
ldr x8, [x8, _SHT_RELA@GOTPAGEOFF]
Lloh5:
adrp x9, _SHT_REL@GOTPAGE
Lloh6:
ldr x9, [x9, _SHT_REL@GOTPAGEOFF]
ldp x11, x10, [x21, #8]
cmp x10, #0
csel x8, x9, x8, eq
ldr w3, [x8]
ldr w6, [x11]
add x7, x23, #16
str xzr, [sp]
mov x0, x19
mov x2, x22
mov w4, #0
mov w5, #0
bl __dwarf_pro_callback
tbnz w0, #31, LBB0_12
; %bb.9:
str w0, [x23, #12]
b LBB0_11
LBB0_10:
add x1, sp, #8
mov x0, x19
bl __dwarf_reloc_section_free
LBB0_11:
Lloh7:
adrp x21, _DW_DLE_NONE@GOTPAGE
Lloh8:
ldr x21, [x21, _DW_DLE_NONE@GOTPAGEOFF]
b LBB0_15
LBB0_12:
Lloh9:
adrp x21, _DW_DLE_ELF_SECT_ERR@GOTPAGE
Lloh10:
ldr x21, [x21, _DW_DLE_ELF_SECT_ERR@GOTPAGEOFF]
b LBB0_14
LBB0_13:
Lloh11:
adrp x21, _DW_DLE_MEMORY@GOTPAGE
Lloh12:
ldr x21, [x21, _DW_DLE_MEMORY@GOTPAGEOFF]
LBB0_14:
ldr w2, [x21]
mov x0, x19
mov x1, x20
bl _DWARF_SET_ERROR
LBB0_15:
ldr w0, [x21]
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 AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh11, Lloh12
.cfi_endproc
; -- End function
.comm _DW_DLC_SIZE_64,4,2 ; @DW_DLC_SIZE_64
.comm _DW_DLE_NONE,4,2 ; @DW_DLE_NONE
.comm _DW_DLC_SYMBOLIC_RELOCATIONS,4,2 ; @DW_DLC_SYMBOLIC_RELOCATIONS
.comm _DW_DLE_MEMORY,4,2 ; @DW_DLE_MEMORY
.comm _SHT_RELA,4,2 ; @SHT_RELA
.comm _SHT_REL,4,2 ; @SHT_REL
.comm _DW_DLE_ELF_SECT_ERR,4,2 ; @DW_DLE_ELF_SECT_ERR
.subsections_via_symbols
| AnghaBench/freebsd/contrib/elftoolchain/libdwarf/extr_libdwarf_reloc.c__dwarf_reloc_section_finalize.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ql_get_ets_regs
_ql_get_ets_regs: ## @ql_get_ets_regs
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
movq _NIC_ETS@GOTPCREL(%rip), %r15
movl (%r15), %esi
movl $134217728, %edx ## imm = 0x8000000
callq _ql_write32
movl (%r15), %esi
movq %rbx, %rdi
callq _ql_read32
movl %eax, (%r14)
movl (%r15), %esi
movq %rbx, %rdi
movl $671088640, %edx ## imm = 0x28000000
callq _ql_write32
movl (%r15), %esi
movq %rbx, %rdi
callq _ql_read32
movl %eax, 4(%r14)
movl (%r15), %esi
movq %rbx, %rdi
movl $1207959552, %edx ## imm = 0x48000000
callq _ql_write32
movl (%r15), %esi
movq %rbx, %rdi
callq _ql_read32
movl %eax, 8(%r14)
movl (%r15), %esi
movq %rbx, %rdi
movl $1744830464, %edx ## imm = 0x68000000
callq _ql_write32
movl (%r15), %esi
movq %rbx, %rdi
callq _ql_read32
movl %eax, 12(%r14)
movl (%r15), %esi
movq %rbx, %rdi
movl $-2013265920, %edx ## imm = 0x88000000
callq _ql_write32
movl (%r15), %esi
movq %rbx, %rdi
callq _ql_read32
movl %eax, 16(%r14)
movl (%r15), %esi
movq %rbx, %rdi
movl $-1476395008, %edx ## imm = 0xA8000000
callq _ql_write32
movl (%r15), %esi
movq %rbx, %rdi
callq _ql_read32
movl %eax, 20(%r14)
movl (%r15), %esi
movq %rbx, %rdi
movl $-939524096, %edx ## imm = 0xC8000000
callq _ql_write32
movl (%r15), %esi
movq %rbx, %rdi
callq _ql_read32
movl %eax, 24(%r14)
movl (%r15), %esi
movq %rbx, %rdi
movl $-402653184, %edx ## imm = 0xE8000000
callq _ql_write32
movl (%r15), %esi
movq %rbx, %rdi
callq _ql_read32
movl %eax, 28(%r14)
movq _CNA_ETS@GOTPCREL(%rip), %r15
movl (%r15), %esi
movq %rbx, %rdi
movl $134217728, %edx ## imm = 0x8000000
callq _ql_write32
movl (%r15), %esi
movq %rbx, %rdi
callq _ql_read32
movl %eax, 32(%r14)
movl (%r15), %esi
movq %rbx, %rdi
movl $671088640, %edx ## imm = 0x28000000
callq _ql_write32
movl (%r15), %esi
movq %rbx, %rdi
callq _ql_read32
movl %eax, 36(%r14)
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NIC_ETS,4,2 ## @NIC_ETS
.comm _CNA_ETS,4,2 ## @CNA_ETS
.no_dead_strip _ql_get_ets_regs
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ql_get_ets_regs
_ql_get_ets_regs: ; @ql_get_ets_regs
.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 x21, _NIC_ETS@GOTPAGE
Lloh1:
ldr x21, [x21, _NIC_ETS@GOTPAGEOFF]
ldr w1, [x21]
mov w2, #134217728
bl _ql_write32
ldr w1, [x21]
mov x0, x20
bl _ql_read32
str w0, [x19]
ldr w1, [x21]
mov x0, x20
mov w2, #671088640
bl _ql_write32
ldr w1, [x21]
mov x0, x20
bl _ql_read32
str w0, [x19, #4]
ldr w1, [x21]
mov x0, x20
mov w2, #1207959552
bl _ql_write32
ldr w1, [x21]
mov x0, x20
bl _ql_read32
str w0, [x19, #8]
ldr w1, [x21]
mov x0, x20
mov w2, #1744830464
bl _ql_write32
ldr w1, [x21]
mov x0, x20
bl _ql_read32
str w0, [x19, #12]
ldr w1, [x21]
mov x0, x20
mov w2, #-2013265920
bl _ql_write32
ldr w1, [x21]
mov x0, x20
bl _ql_read32
str w0, [x19, #16]
ldr w1, [x21]
mov x0, x20
mov w2, #-1476395008
bl _ql_write32
ldr w1, [x21]
mov x0, x20
bl _ql_read32
str w0, [x19, #20]
ldr w1, [x21]
mov x0, x20
mov w2, #-939524096
bl _ql_write32
ldr w1, [x21]
mov x0, x20
bl _ql_read32
str w0, [x19, #24]
ldr w1, [x21]
mov x0, x20
mov w2, #-402653184
bl _ql_write32
ldr w1, [x21]
mov x0, x20
bl _ql_read32
str w0, [x19, #28]
Lloh2:
adrp x21, _CNA_ETS@GOTPAGE
Lloh3:
ldr x21, [x21, _CNA_ETS@GOTPAGEOFF]
ldr w1, [x21]
mov x0, x20
mov w2, #134217728
bl _ql_write32
ldr w1, [x21]
mov x0, x20
bl _ql_read32
str w0, [x19, #32]
ldr w1, [x21]
mov x0, x20
mov w2, #671088640
bl _ql_write32
ldr w1, [x21]
mov x0, x20
bl _ql_read32
str w0, [x19, #36]
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _NIC_ETS,4,2 ; @NIC_ETS
.comm _CNA_ETS,4,2 ; @CNA_ETS
.no_dead_strip _ql_get_ets_regs
.subsections_via_symbols
| AnghaBench/linux/drivers/staging/qlge/extr_qlge_dbg.c_ql_get_ets_regs.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _qla82xx_load_risc ## -- Begin function qla82xx_load_risc
.p2align 4, 0x90
_qla82xx_load_risc: ## @qla82xx_load_risc
.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 _qla82xx_device_state_handler ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _qla82xx_load_risc ; -- Begin function qla82xx_load_risc
.p2align 2
_qla82xx_load_risc: ; @qla82xx_load_risc
.cfi_startproc
; %bb.0:
b _qla82xx_device_state_handler
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/scsi/qla2xxx/extr_qla_nx.c_qla82xx_load_risc.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 $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq -56(%rbp), %rsi
xorl %edi, %edi
callq _clock_gettime
cmpl $-1, %eax
je LBB0_7
## %bb.1:
movq -56(%rbp), %r12
movq -48(%rbp), %rbx
leaq -72(%rbp), %rsi
xorl %edi, %edi
callq _clock_gettime
cmpl $-1, %eax
je LBB0_7
## %bb.2:
movq -64(%rbp), %r14
movabsq $4835703278458516699, %r13 ## imm = 0x431BDE82D7B634DB
movq %r13, %rax
imulq -56(%rbp)
movq %rdx, %rdi
movq %rdx, %rsi
shrq $63, %rsi
movq %r13, %rax
imulq -48(%rbp)
movq %rdx, %rcx
sarq $18, %rdi
addq %rdi, %rsi
movq %rdx, %rax
shrq $63, %rax
sarq $18, %rcx
addq %rax, %rcx
movq %r13, %rax
imulq -72(%rbp)
movq %rdx, %r15
leaq L_.str(%rip), %rdi
movq %rcx, %rdx
xorl %eax, %eax
callq _printf
movq %r12, %rax
imulq %r13
movq %rdx, %rcx
movq %rdx, %rsi
shrq $63, %rsi
sarq $18, %rcx
movq %rbx, %rax
imulq %r13
addq %rcx, %rsi
movq %rdx, %rax
shrq $63, %rax
sarq $18, %rdx
addq %rax, %rdx
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _printf
movq %r13, %rax
imulq -72(%rbp)
movq %rdx, %rcx
movq %r13, %rax
imulq -64(%rbp)
movq %rcx, %rsi
shrq $63, %rsi
sarq $18, %rcx
addq %rcx, %rsi
movq %rdx, %rax
shrq $63, %rax
sarq $18, %rdx
addq %rax, %rdx
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
movq %r15, %rcx
shrq $63, %rcx
sarq $18, %r15
movq %r14, -88(%rbp) ## 8-byte Spill
movq %r14, %rax
imulq %r13
movq %rdx, %r14
addq %rcx, %r15
movq %rdx, %rax
shrq $63, %rax
sarq $18, %r14
addq %rax, %r14
leaq L_.str.3(%rip), %rdi
movq %r15, -80(%rbp) ## 8-byte Spill
movq %r15, %rsi
movq %r14, %rdx
xorl %eax, %eax
callq _printf
movl $11, %r15d
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
xorl %edi, %edi
leaq -56(%rbp), %rsi
callq _clock_gettime
cmpl $-1, %eax
je LBB0_7
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
xorl %edi, %edi
leaq -72(%rbp), %rsi
callq _clock_gettime
cmpl $-1, %eax
je LBB0_7
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
leal -2(%r15), %esi
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _printf
movq %r13, %rax
imulq -56(%rbp)
movq %rdx, %rcx
movq %r13, %rax
imulq -48(%rbp)
movq %rcx, %rsi
shrq $63, %rsi
sarq $18, %rcx
addq %rcx, %rsi
movq %rdx, %rax
shrq $63, %rax
sarq $18, %rdx
addq %rax, %rdx
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
movq %r12, %rax
imulq %r13
movq %rdx, %rcx
movq %rdx, %rsi
shrq $63, %rsi
sarq $18, %rcx
movq %rbx, %rax
imulq %r13
addq %rcx, %rsi
movq %rdx, %rax
shrq $63, %rax
sarq $18, %rdx
addq %rax, %rdx
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _printf
movq %r13, %rax
imulq -72(%rbp)
movq %rdx, %rcx
movq %r13, %rax
imulq -64(%rbp)
movq %rcx, %rsi
shrq $63, %rsi
sarq $18, %rcx
addq %rcx, %rsi
movq %rdx, %rax
shrq $63, %rax
sarq $18, %rdx
addq %rax, %rdx
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.3(%rip), %rdi
movq -80(%rbp), %rsi ## 8-byte Reload
movq %r14, %rdx
xorl %eax, %eax
callq _printf
movq -56(%rbp), %r12
movq -48(%rbp), %rbx
movq -88(%rbp), %rax ## 8-byte Reload
movq %rax, -64(%rbp)
decl %r15d
cmpl $1, %r15d
ja LBB0_3
## %bb.6:
xorl %eax, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_7:
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "T1cur: %ld [s]| %ld [ns]\n"
L_.str.1: ## @.str.1
.asciz "T1ant: %ld [s]| %ld [ns]\n"
L_.str.2: ## @.str.2
.asciz "T2cur: %ld [s]| %ld [ns]\n"
L_.str.3: ## @.str.3
.asciz "T2ant: %ld [s]| %ld [ns]\n"
L_.str.4: ## @.str.4
.asciz "iter %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, #144
.cfi_def_cfa_offset 144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
add x1, sp, #32
mov w0, #0
bl _clock_gettime
cmn w0, #1
b.eq LBB0_7
; %bb.1:
ldp x27, x26, [sp, #32]
add x1, sp, #16
mov w0, #0
bl _clock_gettime
cmn w0, #1
b.eq LBB0_7
; %bb.2:
mov w24, #16960
movk w24, #15, lsl #16
ldp x19, x25, [sp, #16]
mov x20, #13531
movk x20, #55222, lsl #16
movk x20, #56962, lsl #32
movk x20, #17179, lsl #48
ldp x8, x9, [sp, #32]
smulh x8, x8, x20
asr x10, x8, #18
add x8, x10, x8, lsr #63
smulh x9, x9, x20
asr x10, x9, #18
add x9, x10, x9, lsr #63
stp x8, x9, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
smulh x8, x27, x20
asr x9, x8, #18
add x8, x9, x8, lsr #63
smulh x9, x26, x20
asr x10, x9, #18
add x9, x10, x9, lsr #63
stp x8, x9, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldp x8, x9, [sp, #16]
smulh x8, x8, x20
asr x10, x8, #18
add x8, x10, x8, lsr #63
smulh x9, x9, x20
asr x10, x9, #18
add x9, x10, x9, lsr #63
stp x8, x9, [sp]
Lloh4:
adrp x21, l_.str.2@PAGE
Lloh5:
add x21, x21, l_.str.2@PAGEOFF
mov x0, x21
bl _printf
smulh x8, x19, x20
asr x9, x8, #18
add x28, x9, x8, lsr #63
smulh x8, x25, x20
asr x9, x8, #18
add x19, x9, x8, lsr #63
stp x28, x19, [sp]
Lloh6:
adrp x22, l_.str.3@PAGE
Lloh7:
add x22, x22, l_.str.3@PAGEOFF
mov x0, x22
bl _printf
mov w20, #11
Lloh8:
adrp x23, l_.str.4@PAGE
Lloh9:
add x23, x23, l_.str.4@PAGEOFF
LBB0_3: ; =>This Inner Loop Header: Depth=1
add x1, sp, #32
mov w0, #0
bl _clock_gettime
cmn w0, #1
b.eq LBB0_7
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
add x1, sp, #16
mov w0, #0
bl _clock_gettime
cmn w0, #1
b.eq LBB0_7
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
sub w8, w20, #2
str x8, [sp]
mov x0, x23
bl _printf
ldp x8, x9, [sp, #32]
sdiv x8, x8, x24
sdiv x9, x9, x24
stp x8, x9, [sp]
Lloh10:
adrp x0, l_.str@PAGE
Lloh11:
add x0, x0, l_.str@PAGEOFF
bl _printf
sdiv x8, x27, x24
sdiv x9, x26, x24
stp x8, x9, [sp]
Lloh12:
adrp x0, l_.str.1@PAGE
Lloh13:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldp x8, x9, [sp, #16]
sdiv x8, x8, x24
sdiv x9, x9, x24
stp x8, x9, [sp]
mov x0, x21
bl _printf
stp x28, x19, [sp]
mov x0, x22
bl _printf
ldp x27, x26, [sp, #32]
str x25, [sp, #24]
sub w20, w20, #1
cmp w20, #1
b.hi LBB0_3
; %bb.6:
mov w0, #0
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #144
ret
LBB0_7:
mov w0, #1
bl _exit
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "T1cur: %ld [s]| %ld [ns]\n"
l_.str.1: ; @.str.1
.asciz "T1ant: %ld [s]| %ld [ns]\n"
l_.str.2: ; @.str.2
.asciz "T2cur: %ld [s]| %ld [ns]\n"
l_.str.3: ; @.str.3
.asciz "T2ant: %ld [s]| %ld [ns]\n"
l_.str.4: ; @.str.4
.asciz "iter %d\n"
.subsections_via_symbols
| the_stack_data/37638893.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _InitStack ## -- Begin function InitStack
.p2align 4, 0x90
_InitStack: ## @InitStack
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq $0, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _IsEmpty ## -- Begin function IsEmpty
.p2align 4, 0x90
_IsEmpty: ## @IsEmpty
.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, (%rdi)
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _Peek ## -- Begin function Peek
.p2align 4, 0x90
_Peek: ## @Peek
.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
testq %rax, %rax
je LBB2_2
## %bb.1:
movl (%rax), %eax
popq %rbp
retq
LBB2_2:
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _Push ## -- Begin function Push
.p2align 4, 0x90
_Push: ## @Push
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %esi, %r14d
movq %rdi, %rbx
movl $16, %edi
callq _malloc
movl %r14d, (%rax)
movq (%rbx), %rcx
movq %rcx, 8(%rax)
movq %rax, (%rbx)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _Pop ## -- Begin function Pop
.p2align 4, 0x90
_Pop: ## @Pop
.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 (%rdi), %rdi
testq %rdi, %rdi
je LBB4_1
## %bb.2:
movq 8(%rdi), %rcx
movq %rcx, (%rax)
popq %rbp
jmp _free ## TAILCALL
LBB4_1:
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _InitStack ; -- Begin function InitStack
.p2align 2
_InitStack: ; @InitStack
.cfi_startproc
; %bb.0:
str xzr, [x0]
ret
.cfi_endproc
; -- End function
.globl _IsEmpty ; -- Begin function IsEmpty
.p2align 2
_IsEmpty: ; @IsEmpty
.cfi_startproc
; %bb.0:
ldr x8, [x0]
cmp x8, #0
cset w0, eq
ret
.cfi_endproc
; -- End function
.globl _Peek ; -- Begin function Peek
.p2align 2
_Peek: ; @Peek
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
ldr x8, [x0]
cbz x8, LBB2_2
; %bb.1:
ldr w0, [x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB2_2:
mov w0, #1
bl _exit
.cfi_endproc
; -- End function
.globl _Push ; -- Begin function Push
.p2align 2
_Push: ; @Push
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
mov w0, #16
bl _malloc
str w19, [x0]
ldr x8, [x20]
str x8, [x0, #8]
str x0, [x20]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _Pop ; -- Begin function Pop
.p2align 2
_Pop: ; @Pop
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
ldr x8, [x0]
cbz x8, LBB4_2
; %bb.1:
ldr x9, [x8, #8]
str x9, [x0]
mov x0, x8
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _free
LBB4_2:
mov w0, #1
bl _exit
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/200143434.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _length ## -- Begin function length
.p2align 4, 0x90
_length: ## @length
.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
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
incl %eax
cmpb $0, (%rdi)
leaq 1(%rdi), %rdi
jne LBB0_1
## %bb.2:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _last_occurancy_of_i ## -- Begin function last_occurancy_of_i
.p2align 4, 0x90
_last_occurancy_of_i: ## @last_occurancy_of_i
.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
.p2align 4, 0x90
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpb $0, (%rdi,%rax)
leaq 1(%rax), %rax
jne LBB1_1
## %bb.2:
movslq %esi, %rcx
movb (%rdi,%rcx), %cl
leal -1(%rax), %edx
movslq %edx, %rsi
addq %rdi, %rsi
xorl %edx, %edx
.p2align 4, 0x90
LBB1_3: ## =>This Inner Loop Header: Depth=1
movq %rdx, %rdi
decq %rdx
cmpb %cl, (%rsi,%rdi)
jne LBB1_3
## %bb.4:
addl %edx, %eax
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _match ## -- Begin function match
.p2align 4, 0x90
_match: ## @match
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movb (%rdi), %cl
movb (%rsi), %r11b
movl $1, %eax
movl %ecx, %edx
orb %r11b, %dl
je LBB2_18
## %bb.1:
movabsq $-4294967296, %r8 ## imm = 0xFFFFFFFF00000000
xorl %r9d, %r9d
movabsq $4294967296, %r10 ## imm = 0x100000000
xorl %ebx, %ebx
xorl %r15d, %r15d
jmp LBB2_2
.p2align 4, 0x90
LBB2_16: ## in Loop: Header=BB2_2 Depth=1
cmpb %r11b, %cl
jne LBB2_17
LBB2_15: ## in Loop: Header=BB2_2 Depth=1
movslq %r15d, %rcx
movb (%rdi,%rcx), %cl
movslq %ebx, %r9
movb (%rsi,%r9), %r11b
movl %ecx, %edx
orb %r11b, %dl
je LBB2_18
LBB2_2: ## =>This Loop Header: Depth=1
## Child Loop BB2_3 Depth 2
## Child Loop BB2_4 Depth 3
## Child Loop BB2_7 Depth 3
## Child Loop BB2_9 Depth 3
cmpb $42, %r11b
jne LBB2_12
.p2align 4, 0x90
LBB2_3: ## Parent Loop BB2_2 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB2_4 Depth 3
## Child Loop BB2_7 Depth 3
## Child Loop BB2_9 Depth 3
movb 1(%rsi,%r9), %r11b
incq %r9
movslq %r15d, %rcx
addq %rdi, %rcx
.p2align 4, 0x90
LBB2_4: ## Parent Loop BB2_2 Depth=1
## Parent Loop BB2_3 Depth=2
## => This Inner Loop Header: Depth=3
movzbl (%rcx), %r14d
cmpb %r14b, %r11b
je LBB2_6
## %bb.5: ## in Loop: Header=BB2_4 Depth=3
incq %rcx
testb %r14b, %r14b
jne LBB2_4
LBB2_6: ## in Loop: Header=BB2_3 Depth=2
xorl %r12d, %r12d
movl $1, %r13d
movq %rdi, %rbx
movq %r8, %rdx
.p2align 4, 0x90
LBB2_7: ## Parent Loop BB2_2 Depth=1
## Parent Loop BB2_3 Depth=2
## => This Inner Loop Header: Depth=3
addq %r10, %rdx
cmpb $0, (%rbx)
movl %r12d, %ecx
movl %r13d, %r15d
leaq 1(%rbx), %rbx
leal 1(%rcx), %r12d
leal 1(%r15), %r13d
jne LBB2_7
## %bb.8: ## in Loop: Header=BB2_3 Depth=2
movslq %ecx, %rbx
leaq (%rdi,%rbx), %rcx
shlq $32, %rbx
addq %r10, %rbx
.p2align 4, 0x90
LBB2_9: ## Parent Loop BB2_2 Depth=1
## Parent Loop BB2_3 Depth=2
## => This Inner Loop Header: Depth=3
addq %r8, %rbx
decl %r15d
leaq -1(%rcx), %rdx
cmpb %r14b, (%rcx)
movq %rdx, %rcx
jne LBB2_9
## %bb.10: ## in Loop: Header=BB2_3 Depth=2
cmpb $42, %r11b
je LBB2_3
## %bb.11: ## in Loop: Header=BB2_2 Depth=1
sarq $32, %rbx
movb (%rdi,%rbx), %cl
movl %r9d, %ebx
LBB2_12: ## in Loop: Header=BB2_2 Depth=1
cmpb %r11b, %cl
jne LBB2_16
## %bb.13: ## in Loop: Header=BB2_2 Depth=1
testb %cl, %cl
je LBB2_16
## %bb.14: ## in Loop: Header=BB2_2 Depth=1
incl %r15d
incl %ebx
jmp LBB2_15
LBB2_17:
xorl %eax, %eax
LBB2_18:
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _length ; -- Begin function length
.p2align 2
_length: ; @length
.cfi_startproc
; %bb.0:
mov x8, x0
mov w0, #-1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x8], #1
add w0, w0, #1
cbnz w9, LBB0_1
; %bb.2:
ret
.cfi_endproc
; -- End function
.globl _last_occurancy_of_i ; -- Begin function last_occurancy_of_i
.p2align 2
_last_occurancy_of_i: ; @last_occurancy_of_i
.cfi_startproc
; %bb.0:
mov x8, #0
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x0, x8]
add x8, x8, #1
cbnz w9, LBB1_1
; %bb.2:
mov x9, #0
ldrb w10, [x0, w1, sxtw]
sub w11, w8, #1
add x11, x0, w11, sxtw
LBB1_3: ; =>This Inner Loop Header: Depth=1
ldrb w12, [x11, x9]
sub x9, x9, #1
cmp w12, w10
b.ne LBB1_3
; %bb.4:
add w0, w8, w9
ret
.cfi_endproc
; -- End function
.globl _match ; -- Begin function match
.p2align 2
_match: ; @match
.cfi_startproc
; %bb.0:
ldrb w14, [x0]
ldrb w10, [x1]
orr w8, w14, w10
cbnz w8, LBB2_2
LBB2_1:
mov w0, #1
ret
LBB2_2:
mov x12, #0
mov w13, #0
mov w11, #0
mov x8, #4294967296
mov x9, #-4294967296
b LBB2_5
LBB2_3: ; in Loop: Header=BB2_5 Depth=1
cmp w14, w10
b.ne LBB2_17
LBB2_4: ; in Loop: Header=BB2_5 Depth=1
ldrb w14, [x0, w11, sxtw]
sxtw x12, w13
ldrb w10, [x1, x12]
orr w15, w14, w10
cbz w15, LBB2_1
LBB2_5: ; =>This Loop Header: Depth=1
; Child Loop BB2_6 Depth 2
; Child Loop BB2_7 Depth 3
; Child Loop BB2_9 Depth 3
; Child Loop BB2_11 Depth 3
cmp w10, #42
b.ne LBB2_14
LBB2_6: ; Parent Loop BB2_5 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB2_7 Depth 3
; Child Loop BB2_9 Depth 3
; Child Loop BB2_11 Depth 3
add x12, x12, #1
ldrb w10, [x1, x12]
add x11, x0, w11, sxtw
LBB2_7: ; Parent Loop BB2_5 Depth=1
; Parent Loop BB2_6 Depth=2
; => This Inner Loop Header: Depth=3
ldrb w13, [x11], #1
cmp w10, w13
ccmp w13, #0, #4, ne
b.ne LBB2_7
; %bb.8: ; in Loop: Header=BB2_6 Depth=2
mov w15, #0
mov x14, #-4294967296
mov w2, #1
mov x16, x0
LBB2_9: ; Parent Loop BB2_5 Depth=1
; Parent Loop BB2_6 Depth=2
; => This Inner Loop Header: Depth=3
mov x17, x15
mov x11, x2
ldrb w3, [x16], #1
add x14, x14, x8
add w15, w15, #1
add w2, w2, #1
cbnz w3, LBB2_9
; %bb.10: ; in Loop: Header=BB2_6 Depth=2
sxtw x15, w17
add x14, x8, x15, lsl #32
add x15, x0, x15
LBB2_11: ; Parent Loop BB2_5 Depth=1
; Parent Loop BB2_6 Depth=2
; => This Inner Loop Header: Depth=3
ldrb w16, [x15], #-1
add x14, x14, x9
sub w11, w11, #1
cmp w16, w13
b.ne LBB2_11
; %bb.12: ; in Loop: Header=BB2_6 Depth=2
cmp w10, #42
b.eq LBB2_6
; %bb.13: ; in Loop: Header=BB2_5 Depth=1
asr x13, x14, #32
ldrb w14, [x0, x13]
mov x13, x12
LBB2_14: ; in Loop: Header=BB2_5 Depth=1
cmp w14, w10
b.ne LBB2_3
; %bb.15: ; in Loop: Header=BB2_5 Depth=1
cbz w14, LBB2_3
; %bb.16: ; in Loop: Header=BB2_5 Depth=1
add w11, w11, #1
add w13, w13, #1
b LBB2_4
LBB2_17:
mov w0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/162643771.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _png_write_iTXt ## -- Begin function png_write_iTXt
.p2align 4, 0x90
_png_write_iTXt: ## @png_write_iTXt
.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 $408, %rsp ## imm = 0x198
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, -400(%rbp) ## 8-byte Spill
movq %r8, %r12
movq %rcx, -408(%rbp) ## 8-byte Spill
movq %rdx, %r15
movl %esi, %r14d
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq L_.str(%rip), %rsi
movl $1, %edi
callq _png_debug
leaq -384(%rbp), %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq _png_check_keyword
movq %rax, %r13
testq %rax, %rax
jne LBB0_2
## %bb.1:
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
callq _png_error
LBB0_2:
leal -128(%r14), %eax
cmpl $3, %eax
ja LBB0_6
## %bb.3:
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_5:
movl $1, -380(%rbp,%r13,4)
incq %r13
movl $0, -388(%rbp) ## 4-byte Folded Spill
jmp LBB0_8
LBB0_4:
movl $0, -388(%rbp,%r13,4)
decq %r13
movb $1, %al
jmp LBB0_7
LBB0_6:
leaq L_.str.2(%rip), %rsi
movq %rbx, %rdi
callq _png_error
testl %r14d, %r14d
sete %al
LBB0_7:
movl %eax, -388(%rbp) ## 4-byte Spill
LBB0_8:
movq _PNG_COMPRESSION_TYPE_BASE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -380(%rbp,%r13,4)
addq $2, %r13
movq -408(%rbp), %rdi ## 8-byte Reload
testq %rdi, %rdi
leaq L_.str.3(%rip), %r14
cmoveq %r14, %rdi
movq %rdi, -408(%rbp) ## 8-byte Spill
callq _strlen
movq %rax, %r15
incq %r15
testq %r12, %r12
cmoveq %r14, %r12
movq %r12, -432(%rbp) ## 8-byte Spill
movq %r12, %rdi
callq _strlen
movq -400(%rbp), %r12 ## 8-byte Reload
testq %r12, %r12
cmoveq %r14, %r12
movq _PNG_UINT_31_MAX@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rcx, %rdx
subq %r13, %rdx
movq %r13, %rsi
subq %r15, %rsi
cmpq %rdx, %r15
cmovaeq %rcx, %rsi
leaq 1(%rax), %rdi
movq %rcx, %rdx
subq %rsi, %rdx
movq %rdi, -440(%rbp) ## 8-byte Spill
cmpq %rdx, %rdi
leaq 1(%rsi,%rax), %r14
cmovaq %rcx, %r14
movq %r12, %rdi
callq _strlen
leaq -424(%rbp), %rdi
movq %r12, -400(%rbp) ## 8-byte Spill
movq %r12, %rsi
movq %rax, %rdx
callq _png_text_compress_init
movl -388(%rbp), %eax ## 4-byte Reload
testb %al, %al
je LBB0_9
## %bb.11:
movq -424(%rbp), %rax
movq _PNG_UINT_31_MAX@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
subq %r14, %rcx
cmpq %rcx, %rax
jbe LBB0_13
## %bb.12:
leaq L_.str.4(%rip), %rsi
movq %rbx, %rdi
callq _png_error
movq -424(%rbp), %rax
LBB0_13:
movq %rax, -416(%rbp)
movq -432(%rbp), %r12 ## 8-byte Reload
jmp LBB0_14
LBB0_9:
movq _png_iTXt@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -424(%rbp), %rdx
movq %rbx, %rdi
movq %r14, %rcx
callq _png_text_compress
movq _Z_OK@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
movq -432(%rbp), %r12 ## 8-byte Reload
je LBB0_14
## %bb.10:
movq (%rbx), %rsi
movq %rbx, %rdi
callq _png_error
LBB0_14:
movq _png_iTXt@GOTPCREL(%rip), %rax
movl (%rax), %esi
addq -416(%rbp), %r14
movq %rbx, %rdi
movq %r14, %rdx
callq _png_write_chunk_header
leaq -384(%rbp), %rsi
movq %rbx, %rdi
movq %r13, %rdx
callq _png_write_chunk_data
movq %rbx, %rdi
movq -408(%rbp), %rsi ## 8-byte Reload
movq %r15, %rdx
callq _png_write_chunk_data
movq %rbx, %rdi
movq %r12, %rsi
movq -440(%rbp), %rdx ## 8-byte Reload
callq _png_write_chunk_data
cmpb $0, -388(%rbp) ## 1-byte Folded Reload
je LBB0_15
## %bb.16:
movq -416(%rbp), %rdx
movq %rbx, %rdi
movq -400(%rbp), %rsi ## 8-byte Reload
callq _png_write_chunk_data
jmp LBB0_17
LBB0_15:
leaq -424(%rbp), %rsi
movq %rbx, %rdi
callq _png_write_compressed_data_out
LBB0_17:
movq %rbx, %rdi
callq _png_write_chunk_end
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_19
## %bb.18:
addq $408, %rsp ## imm = 0x198
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_19:
callq ___stack_chk_fail
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
.long L0_0_set_5
.long L0_0_set_4
.long L0_0_set_5
.long L0_0_set_4
.end_data_region
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "in png_write_iTXt"
L_.str.1: ## @.str.1
.asciz "iTXt: invalid keyword"
L_.str.2: ## @.str.2
.asciz "iTXt: invalid compression"
.comm _PNG_COMPRESSION_TYPE_BASE,4,2 ## @PNG_COMPRESSION_TYPE_BASE
L_.str.3: ## @.str.3
.space 1
.comm _PNG_UINT_31_MAX,8,3 ## @PNG_UINT_31_MAX
.comm _png_iTXt,4,2 ## @png_iTXt
.comm _Z_OK,8,3 ## @Z_OK
L_.str.4: ## @.str.4
.asciz "iTXt: uncompressed text too long"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _png_write_iTXt ; -- Begin function png_write_iTXt
.p2align 2
_png_write_iTXt: ; @png_write_iTXt
.cfi_startproc
; %bb.0:
sub sp, sp, #464
stp x28, x27, [sp, #368] ; 16-byte Folded Spill
stp x26, x25, [sp, #384] ; 16-byte Folded Spill
stp x24, x23, [sp, #400] ; 16-byte Folded Spill
stp x22, x21, [sp, #416] ; 16-byte Folded Spill
stp x20, x19, [sp, #432] ; 16-byte Folded Spill
stp x29, x30, [sp, #448] ; 16-byte Folded Spill
add x29, sp, #448
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x20, x5
mov x23, x4
mov x21, x3
mov x22, x2
mov x24, x1
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-96]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov w0, #1 ; =0x1
bl _png_debug
add x2, sp, #24
mov x0, x19
mov x1, x22
bl _png_check_keyword
mov x22, x0
cbz x0, LBB0_5
; %bb.1:
cmp w24, #129
b.gt LBB0_6
LBB0_2:
cmp w24, #128
b.eq LBB0_9
; %bb.3:
cmp w24, #129
b.eq LBB0_8
LBB0_4:
Lloh5:
adrp x1, l_.str.2@PAGE
Lloh6:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
bl _png_error
cmp w24, #0
cset w27, eq
b LBB0_10
LBB0_5:
Lloh7:
adrp x1, l_.str.1@PAGE
Lloh8:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _png_error
cmp w24, #129
b.le LBB0_2
LBB0_6:
cmp w24, #130
b.eq LBB0_9
; %bb.7:
cmp w24, #131
b.ne LBB0_4
LBB0_8:
sub x22, x22, #1
add x8, sp, #24
str wzr, [x8, x22, lsl #2]
mov w27, #1 ; =0x1
b LBB0_10
LBB0_9:
mov w27, #0 ; =0x0
add x22, x22, #1
add x8, sp, #24
mov w9, #1 ; =0x1
str w9, [x8, x22, lsl #2]
LBB0_10:
Lloh9:
adrp x8, _PNG_COMPRESSION_TYPE_BASE@GOTPAGE
Lloh10:
ldr x8, [x8, _PNG_COMPRESSION_TYPE_BASE@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
add x9, sp, #24
add x9, x9, x22, lsl #2
str w8, [x9, #4]
add x22, x22, #2
Lloh12:
adrp x26, l_.str.3@PAGE
Lloh13:
add x26, x26, l_.str.3@PAGEOFF
cmp x21, #0
csel x21, x26, x21, eq
mov x0, x21
bl _strlen
add x24, x0, #1
cmp x23, #0
csel x23, x26, x23, eq
mov x0, x23
bl _strlen
add x25, x0, #1
cmp x20, #0
csel x20, x26, x20, eq
Lloh14:
adrp x28, _PNG_UINT_31_MAX@GOTPAGE
Lloh15:
ldr x28, [x28, _PNG_UINT_31_MAX@GOTPAGEOFF]
ldr x8, [x28]
sub x9, x22, x24
sub x10, x8, x22
cmp x24, x10
csel x9, x9, x8, lo
add x10, x9, x25
sub x9, x8, x9
cmp x25, x9
csel x26, x8, x10, hi
mov x0, x20
bl _strlen
mov x2, x0
add x0, sp, #8
mov x1, x20
bl _png_text_compress_init
Lloh16:
adrp x8, _png_iTXt@GOTPAGE
Lloh17:
ldr x8, [x8, _png_iTXt@GOTPAGEOFF]
str w27, [sp, #4] ; 4-byte Folded Spill
tbz w27, #0, LBB0_14
; %bb.11:
mov x27, x8
ldr x8, [sp, #8]
ldr x9, [x28]
sub x9, x9, x26
cmp x8, x9
b.ls LBB0_13
; %bb.12:
Lloh18:
adrp x1, l_.str.4@PAGE
Lloh19:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x19
bl _png_error
ldr x8, [sp, #8]
LBB0_13:
str x8, [sp, #16]
b LBB0_16
LBB0_14:
mov x27, x8
ldr w1, [x8]
add x2, sp, #8
mov x0, x19
mov x3, x26
bl _png_text_compress
Lloh20:
adrp x8, _Z_OK@GOTPAGE
Lloh21:
ldr x8, [x8, _Z_OK@GOTPAGEOFF]
Lloh22:
ldr x8, [x8]
cmp x0, x8
b.eq LBB0_16
; %bb.15:
ldr x1, [x19]
mov x0, x19
bl _png_error
LBB0_16:
ldr w1, [x27]
ldr x8, [sp, #16]
add x2, x8, x26
mov x0, x19
bl _png_write_chunk_header
add x1, sp, #24
mov x0, x19
mov x2, x22
bl _png_write_chunk_data
mov x0, x19
mov x1, x21
mov x2, x24
bl _png_write_chunk_data
mov x0, x19
mov x1, x23
mov x2, x25
bl _png_write_chunk_data
ldr w8, [sp, #4] ; 4-byte Folded Reload
tbz w8, #0, LBB0_18
; %bb.17:
ldr x2, [sp, #16]
mov x0, x19
mov x1, x20
bl _png_write_chunk_data
b LBB0_19
LBB0_18:
add x1, sp, #8
mov x0, x19
bl _png_write_compressed_data_out
LBB0_19:
mov x0, x19
bl _png_write_chunk_end
ldur x8, [x29, #-96]
Lloh23:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh24:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_21
; %bb.20:
ldp x29, x30, [sp, #448] ; 16-byte Folded Reload
ldp x20, x19, [sp, #432] ; 16-byte Folded Reload
ldp x22, x21, [sp, #416] ; 16-byte Folded Reload
ldp x24, x23, [sp, #400] ; 16-byte Folded Reload
ldp x26, x25, [sp, #384] ; 16-byte Folded Reload
ldp x28, x27, [sp, #368] ; 16-byte Folded Reload
add sp, sp, #464
ret
LBB0_21:
bl ___stack_chk_fail
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "in png_write_iTXt"
l_.str.1: ; @.str.1
.asciz "iTXt: invalid keyword"
l_.str.2: ; @.str.2
.asciz "iTXt: invalid compression"
.comm _PNG_COMPRESSION_TYPE_BASE,4,2 ; @PNG_COMPRESSION_TYPE_BASE
l_.str.3: ; @.str.3
.space 1
.comm _PNG_UINT_31_MAX,8,3 ; @PNG_UINT_31_MAX
.comm _png_iTXt,4,2 ; @png_iTXt
.comm _Z_OK,8,3 ; @Z_OK
l_.str.4: ; @.str.4
.asciz "iTXt: uncompressed text too long"
.subsections_via_symbols
| assembly_file_128761.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $3, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
mov w0, #3
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/145453392.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function sh_vou_hw_init
_sh_vou_hw_init: ## @sh_vou_hw_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movq 8(%rdi), %rax
movl 4(%rax), %edi
callq _sh_vou_ntsc_mode
movq _VOUIR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
xorl %edx, %edx
callq _sh_vou_reg_a_write
movq _VOUSRR@GOTPCREL(%rip), %r14
movl (%r14), %esi
movq %rbx, %rdi
movl $257, %edx ## imm = 0x101
callq _sh_vou_reg_a_write
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl (%r14), %esi
movq %rbx, %rdi
callq _sh_vou_reg_a_read
movl $1, %edi
callq _udelay
jmp LBB0_1
.cfi_endproc
## -- End function
.comm _VOUIR,4,2 ## @VOUIR
.comm _VOUSRR,4,2 ## @VOUSRR
.comm _ETIMEDOUT,4,2 ## @ETIMEDOUT
.comm _SH_VOU_PCLK_FALLING,4,2 ## @SH_VOU_PCLK_FALLING
.comm _SH_VOU_HSYNC_LOW,4,2 ## @SH_VOU_HSYNC_LOW
.comm _SH_VOU_VSYNC_LOW,4,2 ## @SH_VOU_VSYNC_LOW
.comm _VOUCR,4,2 ## @VOUCR
.comm _VOURCR,4,2 ## @VOURCR
.comm _VOUMSR,4,2 ## @VOUMSR
.no_dead_strip _sh_vou_hw_init
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function sh_vou_hw_init
_sh_vou_hw_init: ; @sh_vou_hw_init
.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
ldr x8, [x0, #8]
ldr w0, [x8, #4]
bl _sh_vou_ntsc_mode
Lloh0:
adrp x8, _VOUIR@GOTPAGE
Lloh1:
ldr x8, [x8, _VOUIR@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x19
mov w2, #0 ; =0x0
bl _sh_vou_reg_a_write
Lloh3:
adrp x20, _VOUSRR@GOTPAGE
Lloh4:
ldr x20, [x20, _VOUSRR@GOTPAGEOFF]
ldr w1, [x20]
mov x0, x19
mov w2, #257 ; =0x101
bl _sh_vou_reg_a_write
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w1, [x20]
mov x0, x19
bl _sh_vou_reg_a_read
mov w0, #1 ; =0x1
bl _udelay
b LBB0_1
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _VOUIR,4,2 ; @VOUIR
.comm _VOUSRR,4,2 ; @VOUSRR
.comm _ETIMEDOUT,4,2 ; @ETIMEDOUT
.comm _SH_VOU_PCLK_FALLING,4,2 ; @SH_VOU_PCLK_FALLING
.comm _SH_VOU_HSYNC_LOW,4,2 ; @SH_VOU_HSYNC_LOW
.comm _SH_VOU_VSYNC_LOW,4,2 ; @SH_VOU_VSYNC_LOW
.comm _VOUCR,4,2 ; @VOUCR
.comm _VOURCR,4,2 ; @VOURCR
.comm _VOUMSR,4,2 ; @VOUMSR
.no_dead_strip _sh_vou_hw_init
.subsections_via_symbols
| assembly_file_43047.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl ___wgetmainargs ## -- Begin function __wgetmainargs
.p2align 4, 0x90
___wgetmainargs: ## @__wgetmainargs
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r14d
movq ___wargv@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq ___winitenv@GOTPCREL(%rip), %rcx
testq %rax, %rax
je LBB0_2
## %bb.1:
cmpq $0, (%rcx)
je LBB0_2
## %bb.47:
movq %rax, (%rsi)
movq (%rcx), %rax
movq %rax, (%rdx)
movq ___argc@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%rdi)
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
movq %rdi, -96(%rbp) ## 8-byte Spill
movq %rsi, -104(%rbp) ## 8-byte Spill
movq %rdx, -112(%rbp) ## 8-byte Spill
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movq ___argc@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq __wcmdln@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _wcslen
movq %rax, %r13
movl %r13d, %edi
callq _malloc
movq %rax, -80(%rbp) ## 8-byte Spill
movl $0, -44(%rbp) ## 4-byte Folded Spill
xorl %eax, %eax
movl %r14d, -84(%rbp) ## 4-byte Spill
movl %r14d, -68(%rbp) ## 4-byte Spill
xorl %esi, %esi
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
## Child Loop BB0_5 Depth 3
## Child Loop BB0_7 Depth 4
## Child Loop BB0_20 Depth 3
movl $0, -48(%rbp) ## 4-byte Folded Spill
LBB0_4: ## Parent Loop BB0_3 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_5 Depth 3
## Child Loop BB0_7 Depth 4
## Child Loop BB0_20 Depth 3
movl %r15d, -64(%rbp) ## 4-byte Spill
LBB0_5: ## Parent Loop BB0_3 Depth=1
## Parent Loop BB0_4 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_7 Depth 4
movl %ebx, %r15d
movl %eax, -88(%rbp) ## 4-byte Spill
cltq
movq %rax, -56(%rbp) ## 8-byte Spill
movl %esi, -60(%rbp) ## 4-byte Spill
movslq %esi, %r12
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl -44(%rbp), %r14d ## 4-byte Reload
testl %ebx, %ebx
jne LBB0_7
jmp LBB0_39
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_7 Depth=4
cmpq %r12, %r13
ja LBB0_19
## %bb.6: ## in Loop: Header=BB0_7 Depth=4
testl %ebx, %ebx
je LBB0_39
LBB0_7: ## Parent Loop BB0_3 Depth=1
## Parent Loop BB0_4 Depth=2
## Parent Loop BB0_5 Depth=3
## => This Inner Loop Header: Depth=4
cmpq %r12, %r13
jbe LBB0_16
## %bb.8: ## in Loop: Header=BB0_7 Depth=4
movq __wcmdln@GOTPCREL(%rip), %rax
movq (%rax), %rax
movzbl (%rax,%r12), %ecx
cmpl $32, %ecx
jne LBB0_9
## %bb.15: ## in Loop: Header=BB0_7 Depth=4
testl %r14d, %r14d
je LBB0_16
jmp LBB0_38
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_7 Depth=4
cmpb $9, %cl
jne LBB0_11
## %bb.10: ## in Loop: Header=BB0_7 Depth=4
testl %r14d, %r14d
jne LBB0_11
LBB0_16: ## in Loop: Header=BB0_7 Depth=4
testl %r15d, %r15d
je LBB0_18
## %bb.17: ## in Loop: Header=BB0_7 Depth=4
movq -80(%rbp), %rdi ## 8-byte Reload
movq -56(%rbp), %rsi ## 8-byte Reload
## kill: def $esi killed $esi killed $rsi
callq _wcsndup
movl %eax, %edi
movl -68(%rbp), %esi ## 4-byte Reload
callq _wexpand
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %ebx
jmp LBB0_18
LBB0_11: ## in Loop: Header=BB0_7 Depth=4
cmpl $34, %ecx
jne LBB0_12
## %bb.24: ## in Loop: Header=BB0_7 Depth=4
movl -48(%rbp), %ecx ## 4-byte Reload
testl %ecx, %ecx
jg LBB0_25
## %bb.28: ## in Loop: Header=BB0_7 Depth=4
testl %r14d, %r14d
jne LBB0_34
## %bb.29: ## in Loop: Header=BB0_7 Depth=4
cmpl $0, -60(%rbp) ## 4-byte Folded Reload
jle LBB0_34
## %bb.30: ## in Loop: Header=BB0_7 Depth=4
cmpb $34, -1(%rax,%r12)
jne LBB0_32
## %bb.31: ## in Loop: Header=BB0_7 Depth=4
cmpl $0, -64(%rbp) ## 4-byte Folded Reload
jne LBB0_32
## %bb.33: ## in Loop: Header=BB0_7 Depth=4
movq -80(%rbp), %rax ## 8-byte Reload
movq -56(%rbp), %rcx ## 8-byte Reload
movb $34, (%rax,%rcx)
incq %rcx
movq %rcx, -56(%rbp) ## 8-byte Spill
incq %r12
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl $1, %r15d
xorl %r14d, %r14d
movl %ebx, -64(%rbp) ## 4-byte Spill
testl %ebx, %ebx
jne LBB0_7
jmp LBB0_39
LBB0_25: ## in Loop: Header=BB0_5 Depth=3
movl %ecx, %eax
shrl %ecx
testb $1, %al
je LBB0_26
## %bb.27: ## in Loop: Header=BB0_5 Depth=3
movl %ecx, %eax
notl %eax
movl -88(%rbp), %edx ## 4-byte Reload
addl %edx, %eax
subl %ecx, %edx
cltq
movq -80(%rbp), %rcx ## 8-byte Reload
movb $34, (%rcx,%rax)
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -64(%rbp) ## 4-byte Spill
movl %edx, %eax
movl -60(%rbp), %esi ## 4-byte Reload
incl %esi
movl $0, -48(%rbp) ## 4-byte Folded Spill
jmp LBB0_5
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_4 Depth=2
movq __wcmdln@GOTPCREL(%rip), %rax
movq (%rax), %rax
jmp LBB0_20
.p2align 4, 0x90
LBB0_22: ## in Loop: Header=BB0_20 Depth=3
decq %r12
LBB0_20: ## Parent Loop BB0_3 Depth=1
## Parent Loop BB0_4 Depth=2
## => This Inner Loop Header: Depth=3
movzbl (%rax,%r12), %ecx
cmpl $32, %ecx
je LBB0_22
## %bb.21: ## in Loop: Header=BB0_20 Depth=3
cmpl $9, %ecx
je LBB0_22
## %bb.23: ## in Loop: Header=BB0_4 Depth=2
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movl $0, -48(%rbp) ## 4-byte Folded Spill
movl %r14d, -44(%rbp) ## 4-byte Spill
xorl %eax, %eax
movl %r15d, %ebx
movl %r12d, %esi
jmp LBB0_4
LBB0_12: ## in Loop: Header=BB0_4 Depth=2
cmpl $92, %ecx
jne LBB0_38
## %bb.13: ## in Loop: Header=BB0_4 Depth=2
movq -56(%rbp), %rax ## 8-byte Reload
leal 1(%rax), %edx
cltq
movq -80(%rbp), %rcx ## 8-byte Reload
movb $92, (%rcx,%rax)
incl -48(%rbp) ## 4-byte Folded Spill
incl %r12d
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movl %edx, %eax
jmp LBB0_14
LBB0_38: ## in Loop: Header=BB0_4 Depth=2
movq -56(%rbp), %rax ## 8-byte Reload
leal 1(%rax), %esi
cltq
movq -80(%rbp), %rdx ## 8-byte Reload
movb %cl, (%rdx,%rax)
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movl %esi, %eax
incl %r12d
movl $0, -48(%rbp) ## 4-byte Folded Spill
LBB0_14: ## in Loop: Header=BB0_4 Depth=2
movl %r14d, -44(%rbp) ## 4-byte Spill
movl %r12d, %esi
jmp LBB0_4
LBB0_34: ## in Loop: Header=BB0_3 Depth=1
movl %r12d, %esi
movl %r14d, %edx
movl -84(%rbp), %eax ## 4-byte Reload
LBB0_35: ## in Loop: Header=BB0_3 Depth=1
movq _FALSE@GOTPCREL(%rip), %rcx
movl (%rcx), %r15d
xorl $1, %edx
movl %eax, -68(%rbp) ## 4-byte Spill
testl %r14d, %r14d
jne LBB0_37
jmp LBB0_36
LBB0_32: ## in Loop: Header=BB0_3 Depth=1
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movl %r12d, %esi
movl $1, %edx
LBB0_36: ## in Loop: Header=BB0_3 Depth=1
movl %r15d, -68(%rbp) ## 4-byte Spill
LBB0_37: ## in Loop: Header=BB0_3 Depth=1
movl %edx, -44(%rbp) ## 4-byte Spill
incl %esi
movq -56(%rbp), %rax ## 8-byte Reload
## kill: def $eax killed $eax killed $rax
jmp LBB0_3
LBB0_26: ## in Loop: Header=BB0_3 Depth=1
movl -88(%rbp), %eax ## 4-byte Reload
subl %ecx, %eax
movl -44(%rbp), %edx ## 4-byte Reload
movl %edx, %r14d
## kill: def $eax killed $eax def $rax
movq %rax, -56(%rbp) ## 8-byte Spill
movl -84(%rbp), %eax ## 4-byte Reload
movl -60(%rbp), %esi ## 4-byte Reload
jmp LBB0_35
LBB0_39:
movq -80(%rbp), %rdi ## 8-byte Reload
callq _free
movq ___argc@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq -96(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx)
movq ___wargv@GOTPCREL(%rip), %r15
movq (%r15), %rax
testq %rax, %rax
jne LBB0_41
## %bb.40:
movl $8, %edi
callq _malloc
movq %rax, (%r15)
movq $0, (%rax)
movq (%r15), %rax
LBB0_41:
movq -104(%rbp), %rcx ## 8-byte Reload
movq %rax, (%rcx)
movq ___winitenv@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -112(%rbp), %rcx ## 8-byte Reload
movq %rax, (%rcx)
movq _MAX_PATH@GOTPCREL(%rip), %rbx
movl (%rbx), %edi
callq _malloc
movq __wpgmptr@GOTPCREL(%rip), %r14
movq %rax, (%r14)
testq %rax, %rax
je LBB0_45
## %bb.42:
movl (%rbx), %edx
xorl %edi, %edi
movq %rax, %rsi
callq _GetModuleFileNameW
movq (%r14), %rcx
testl %eax, %eax
je LBB0_43
## %bb.44:
movslq (%rbx), %rax
movb $0, -1(%rcx,%rax)
jmp LBB0_46
LBB0_45:
movq (%r15), %rax
movq (%rax), %rdi
callq __wcsdup
movq %rax, (%r14)
jmp LBB0_46
LBB0_43:
movb $0, (%rcx)
LBB0_46:
xorl %eax, %eax
callq _GetProcessHeap
movl %eax, %edi
xorl %esi, %esi
xorl %edx, %edx
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _HeapValidate ## TAILCALL
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _g_aug_volatile_6164 ## @g_aug_volatile_6164
.p2align 2, 0x0
_g_aug_volatile_6164:
.long 6 ## 0x6
.comm _FALSE,4,2 ## @FALSE
.comm _TRUE,4,2 ## @TRUE
.comm ___wargv,8,3 ## @__wargv
.comm ___winitenv,8,3 ## @__winitenv
.comm ___argc,4,2 ## @__argc
.comm __wcmdln,8,3 ## @_wcmdln
.comm _MAX_PATH,4,2 ## @MAX_PATH
.comm __wpgmptr,8,3 ## @_wpgmptr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl ___wgetmainargs ; -- Begin function __wgetmainargs
.p2align 2
___wgetmainargs: ; @__wgetmainargs
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, ___wargv@GOTPAGE
Lloh1:
ldr x8, [x8, ___wargv@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x10, ___winitenv@GOTPAGE
Lloh4:
ldr x10, [x10, ___winitenv@GOTPAGEOFF]
ldr x9, [x10]
cmp x8, #0
ccmp x9, #0, #4, ne
b.ne LBB0_34
; %bb.1:
sub sp, sp, #160
stp x28, x27, [sp, #64] ; 16-byte Folded Spill
stp x26, x25, [sp, #80] ; 16-byte Folded Spill
stp x24, x23, [sp, #96] ; 16-byte Folded Spill
stp x22, x21, [sp, #112] ; 16-byte Folded Spill
stp x20, x19, [sp, #128] ; 16-byte Folded Spill
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x25, x3
stp x0, x1, [sp, #16] ; 16-byte Folded Spill
str x2, [sp, #32] ; 8-byte Folded Spill
Lloh5:
adrp x27, _TRUE@GOTPAGE
Lloh6:
ldr x27, [x27, _TRUE@GOTPAGEOFF]
ldr w28, [x27]
Lloh7:
adrp x8, _FALSE@GOTPAGE
Lloh8:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh9:
ldr w20, [x8]
Lloh10:
adrp x8, ___argc@GOTPAGE
Lloh11:
ldr x8, [x8, ___argc@GOTPAGEOFF]
Lloh12:
str wzr, [x8]
Lloh13:
adrp x8, __wcmdln@GOTPAGE
Lloh14:
ldr x8, [x8, __wcmdln@GOTPAGEOFF]
Lloh15:
ldr x0, [x8]
bl _wcslen
mov x23, x0
bl _malloc
mov x24, x0
mov w21, #0 ; =0x0
mov w8, #0 ; =0x0
mov w10, #0 ; =0x0
str w25, [sp, #12] ; 4-byte Folded Spill
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
; Child Loop BB0_4 Depth 3
; Child Loop BB0_7 Depth 4
; Child Loop BB0_22 Depth 3
str wzr, [sp, #44] ; 4-byte Folded Spill
LBB0_3: ; Parent Loop BB0_2 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_4 Depth 3
; Child Loop BB0_7 Depth 4
; Child Loop BB0_22 Depth 3
str w20, [sp, #60] ; 4-byte Folded Spill
str w21, [sp, #40] ; 4-byte Folded Spill
LBB0_4: ; Parent Loop BB0_2 Depth=1
; Parent Loop BB0_3 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_7 Depth 4
mov x22, x28
sxtw x20, w8
str x10, [sp, #48] ; 8-byte Folded Spill
sxtw x19, w10
ldr w28, [x27]
mov x26, x20
cbnz w28, LBB0_7
b LBB0_35
LBB0_5: ; in Loop: Header=BB0_7 Depth=4
cmp x23, x19
b.hi LBB0_21
; %bb.6: ; in Loop: Header=BB0_7 Depth=4
cbz w28, LBB0_35
LBB0_7: ; Parent Loop BB0_2 Depth=1
; Parent Loop BB0_3 Depth=2
; Parent Loop BB0_4 Depth=3
; => This Inner Loop Header: Depth=4
cmp x23, x19
b.ls LBB0_11
; %bb.8: ; in Loop: Header=BB0_7 Depth=4
Lloh16:
adrp x8, __wcmdln@GOTPAGE
Lloh17:
ldr x8, [x8, __wcmdln@GOTPAGEOFF]
Lloh18:
ldr x8, [x8]
ldrb w9, [x8, x19]
cmp w9, #32
b.ne LBB0_10
; %bb.9: ; in Loop: Header=BB0_7 Depth=4
cbz w21, LBB0_11
b LBB0_27
LBB0_10: ; in Loop: Header=BB0_7 Depth=4
cmp w9, #9
ccmp w21, #0, #0, eq
b.ne LBB0_13
LBB0_11: ; in Loop: Header=BB0_7 Depth=4
cbz w22, LBB0_5
; %bb.12: ; in Loop: Header=BB0_7 Depth=4
mov x0, x24
mov x1, x26
bl _wcsndup
mov x1, x25
bl _wexpand
ldr w28, [x27]
b LBB0_5
LBB0_13: ; in Loop: Header=BB0_7 Depth=4
cmp w9, #34
b.ne LBB0_25
; %bb.14: ; in Loop: Header=BB0_7 Depth=4
ldr w9, [sp, #44] ; 4-byte Folded Reload
cmp w9, #1
b.ge LBB0_19
; %bb.15: ; in Loop: Header=BB0_7 Depth=4
cbnz w21, LBB0_28
; %bb.16: ; in Loop: Header=BB0_7 Depth=4
ldr x9, [sp, #48] ; 8-byte Folded Reload
cmp w9, #1
b.lt LBB0_28
; %bb.17: ; in Loop: Header=BB0_7 Depth=4
add x8, x8, x19
ldurb w8, [x8, #-1]
cmp w8, #34
ldr w8, [sp, #60] ; 4-byte Folded Reload
ccmp w8, #0, #0, eq
b.ne LBB0_30
; %bb.18: ; in Loop: Header=BB0_7 Depth=4
mov w21, #0 ; =0x0
mov w8, #34 ; =0x22
strb w8, [x24, x26]
add x26, x26, #1
add x19, x19, #1
ldr w28, [x27]
mov w22, #1 ; =0x1
str w28, [sp, #60] ; 4-byte Folded Spill
cbnz w28, LBB0_7
b LBB0_35
LBB0_19: ; in Loop: Header=BB0_4 Depth=3
ldr w9, [sp, #44] ; 4-byte Folded Reload
lsr w8, w9, #1
tbz w9, #0, LBB0_33
; %bb.20: ; in Loop: Header=BB0_4 Depth=3
str wzr, [sp, #44] ; 4-byte Folded Spill
mvn w9, w8
add w9, w20, w9
sub w8, w20, w8
mov w10, #34 ; =0x22
strb w10, [x24, w9, sxtw]
ldr w9, [x27]
str w9, [sp, #60] ; 4-byte Folded Spill
ldr x10, [sp, #48] ; 8-byte Folded Reload
add w10, w10, #1
ldr w21, [sp, #40] ; 4-byte Folded Reload
b LBB0_4
LBB0_21: ; in Loop: Header=BB0_3 Depth=2
Lloh19:
adrp x8, __wcmdln@GOTPAGE
Lloh20:
ldr x8, [x8, __wcmdln@GOTPAGEOFF]
Lloh21:
ldr x8, [x8]
LBB0_22: ; Parent Loop BB0_2 Depth=1
; Parent Loop BB0_3 Depth=2
; => This Inner Loop Header: Depth=3
ldrb w9, [x8, x19]
cmp w9, #32
ccmp w9, #9, #4, ne
b.ne LBB0_24
; %bb.23: ; in Loop: Header=BB0_22 Depth=3
sub x19, x19, #1
b LBB0_22
LBB0_24: ; in Loop: Header=BB0_3 Depth=2
str wzr, [sp, #44] ; 4-byte Folded Spill
mov w8, #0 ; =0x0
Lloh22:
adrp x9, _FALSE@GOTPAGE
Lloh23:
ldr x9, [x9, _FALSE@GOTPAGEOFF]
Lloh24:
ldr w20, [x9]
mov x28, x20
mov x10, x19
b LBB0_3
LBB0_25: ; in Loop: Header=BB0_3 Depth=2
cmp w9, #92
b.ne LBB0_27
; %bb.26: ; in Loop: Header=BB0_3 Depth=2
add w8, w26, #1
strb w9, [x24, w26, sxtw]
ldr w9, [sp, #44] ; 4-byte Folded Reload
add w9, w9, #1
str w9, [sp, #44] ; 4-byte Folded Spill
add w10, w19, #1
Lloh25:
adrp x9, _FALSE@GOTPAGE
Lloh26:
ldr x9, [x9, _FALSE@GOTPAGEOFF]
Lloh27:
ldr w20, [x9]
b LBB0_3
LBB0_27: ; in Loop: Header=BB0_3 Depth=2
str wzr, [sp, #44] ; 4-byte Folded Spill
add w8, w26, #1
strb w9, [x24, w26, sxtw]
Lloh28:
adrp x9, _FALSE@GOTPAGE
Lloh29:
ldr x9, [x9, _FALSE@GOTPAGEOFF]
Lloh30:
ldr w20, [x9]
add w10, w19, #1
b LBB0_3
LBB0_28: ; in Loop: Header=BB0_2 Depth=1
; kill: def $w19 killed $w19 killed $x19 def $x19
str x19, [sp, #48] ; 8-byte Folded Spill
LBB0_29: ; in Loop: Header=BB0_2 Depth=1
Lloh31:
adrp x8, _FALSE@GOTPAGE
Lloh32:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh33:
ldr w20, [x8]
eor w9, w21, #0x1
ldr w25, [sp, #12] ; 4-byte Folded Reload
cbnz w21, LBB0_32
b LBB0_31
LBB0_30: ; in Loop: Header=BB0_2 Depth=1
Lloh34:
adrp x8, _FALSE@GOTPAGE
Lloh35:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh36:
ldr w20, [x8]
mov w9, #1 ; =0x1
; kill: def $w19 killed $w19 killed $x19 def $x19
str x19, [sp, #48] ; 8-byte Folded Spill
LBB0_31: ; in Loop: Header=BB0_2 Depth=1
mov x25, x20
LBB0_32: ; in Loop: Header=BB0_2 Depth=1
ldr x10, [sp, #48] ; 8-byte Folded Reload
add w10, w10, #1
mov x8, x26
mov x21, x9
b LBB0_2
LBB0_33: ; in Loop: Header=BB0_2 Depth=1
sub w26, w20, w8
ldr w21, [sp, #40] ; 4-byte Folded Reload
b LBB0_29
LBB0_34:
str x8, [x1]
ldr x8, [x10]
str x8, [x2]
Lloh37:
adrp x8, ___argc@GOTPAGE
Lloh38:
ldr x8, [x8, ___argc@GOTPAGEOFF]
Lloh39:
ldr w8, [x8]
str w8, [x0]
ret
LBB0_35:
mov x0, x24
bl _free
Lloh40:
adrp x8, ___argc@GOTPAGE
Lloh41:
ldr x8, [x8, ___argc@GOTPAGEOFF]
Lloh42:
ldr w8, [x8]
ldr x9, [sp, #16] ; 8-byte Folded Reload
str w8, [x9]
Lloh43:
adrp x21, ___wargv@GOTPAGE
Lloh44:
ldr x21, [x21, ___wargv@GOTPAGEOFF]
ldr x8, [x21]
cbnz x8, LBB0_37
; %bb.36:
mov w0, #8 ; =0x8
bl _malloc
str x0, [x21]
str xzr, [x0]
ldr x8, [x21]
LBB0_37:
ldp x10, x9, [sp, #24] ; 16-byte Folded Reload
str x8, [x10]
Lloh45:
adrp x8, ___winitenv@GOTPAGE
Lloh46:
ldr x8, [x8, ___winitenv@GOTPAGEOFF]
Lloh47:
ldr x8, [x8]
str x8, [x9]
Lloh48:
adrp x19, _MAX_PATH@GOTPAGE
Lloh49:
ldr x19, [x19, _MAX_PATH@GOTPAGEOFF]
ldr w0, [x19]
bl _malloc
Lloh50:
adrp x20, __wpgmptr@GOTPAGE
Lloh51:
ldr x20, [x20, __wpgmptr@GOTPAGEOFF]
str x0, [x20]
cbz x0, LBB0_40
; %bb.38:
mov x1, x0
ldr w2, [x19]
mov x0, #0 ; =0x0
bl _GetModuleFileNameW
ldr x8, [x20]
cbz w0, LBB0_41
; %bb.39:
ldrsw x9, [x19]
add x8, x8, x9
sturb wzr, [x8, #-1]
b LBB0_42
LBB0_40:
ldr x8, [x21]
ldr x0, [x8]
bl __wcsdup
str x0, [x20]
b LBB0_42
LBB0_41:
strb wzr, [x8]
LBB0_42:
bl _GetProcessHeap
mov w1, #0 ; =0x0
mov x2, #0 ; =0x0
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
ldp x26, x25, [sp, #80] ; 16-byte Folded Reload
ldp x28, x27, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #160
b _HeapValidate
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotStr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39
.loh AdrpLdrGot Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42
.loh AdrpLdrGot Lloh50, Lloh51
.loh AdrpLdrGot Lloh48, Lloh49
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _g_aug_volatile_6164 ; @g_aug_volatile_6164
.p2align 2, 0x0
_g_aug_volatile_6164:
.long 6 ; 0x6
.comm _FALSE,4,2 ; @FALSE
.comm _TRUE,4,2 ; @TRUE
.comm ___wargv,8,3 ; @__wargv
.comm ___winitenv,8,3 ; @__winitenv
.comm ___argc,4,2 ; @__argc
.comm __wcmdln,8,3 ; @_wcmdln
.comm _MAX_PATH,4,2 ; @MAX_PATH
.comm __wpgmptr,8,3 ; @_wpgmptr
.subsections_via_symbols
| assembly_file_90358.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _monotime_ts ## -- Begin function monotime_ts
.p2align 4, 0x90
_monotime_ts: ## @monotime_ts
.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 %rdi, %rbx
leaq -24(%rbp), %rdi
xorl %esi, %esi
callq _gettimeofday
movl -16(%rbp), %eax
movl %eax, 8(%rbx)
imulq $1000, -24(%rbp), %rax ## imm = 0x3E8
movq %rax, (%rbx)
addq $24, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CLOCK_BOOTTIME,4,2 ## @CLOCK_BOOTTIME
.comm _CLOCK_MONOTONIC,4,2 ## @CLOCK_MONOTONIC
.comm _CLOCK_REALTIME,4,2 ## @CLOCK_REALTIME
.comm _errno,4,2 ## @errno
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _monotime_ts ; -- Begin function monotime_ts
.p2align 2
_monotime_ts: ; @monotime_ts
.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
mov x0, sp
mov x1, #0
bl _gettimeofday
ldr w8, [sp, #8]
str w8, [x19, #8]
ldr x8, [sp]
mov w9, #1000
mul x8, x8, x9
str x8, [x19]
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
.comm _CLOCK_BOOTTIME,4,2 ; @CLOCK_BOOTTIME
.comm _CLOCK_MONOTONIC,4,2 ; @CLOCK_MONOTONIC
.comm _CLOCK_REALTIME,4,2 ; @CLOCK_REALTIME
.comm _errno,4,2 ; @errno
.subsections_via_symbols
| AnghaBench/freebsd/crypto/openssh/extr_misc.c_monotime_ts.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rtl8225z2_b_rf_set_tx_power
_rtl8225z2_b_rf_set_tx_power: ## @rtl8225z2_b_rf_set_tx_power
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r13d
movq %rdi, %r14
movq (%rdi), %r12
movq 24(%r12), %rax
movslq %esi, %rcx
movl -4(%rax,%rcx,4), %ebx
movl %ebx, %eax
andl $15, %eax
movq (%r12), %rcx
movq _RTL8187BvB@GOTPCREL(%rip), %r15
leal 7(%rax), %edx
cmpq (%r15), %rcx
cmovel %eax, %edx
movl 8(%r12), %edi
andl $15, %edi
addl %edx, %edi
movl $35, %esi
callq _min
movl %eax, -48(%rbp) ## 4-byte Spill
cmpl $256, %ebx ## imm = 0x100
jl LBB0_2
## %bb.1:
movq (%r12), %rax
xorl %ecx, %ecx
cmpq (%r15), %rax
setne %cl
leal 17(,%rcx,8), %eax
jmp LBB0_3
LBB0_2:
sarl $4, %ebx
movq (%r12), %rax
xorl %ecx, %ecx
cmpq (%r15), %rax
setne %cl
leal (%rbx,%rcx,8), %eax
addl $2, %eax
LBB0_3:
movl 8(%r12), %edi
shrl $4, %edi
andl $15, %edi
addl %eax, %edi
movl $35, %esi
callq _min
movl %eax, -44(%rbp) ## 4-byte Spill
cmpl $14, %r13d
movl -48(%rbp), %r15d ## 4-byte Reload
jne LBB0_5
## %bb.4:
movq _rtl8225z2_tx_power_cck_ch14@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_5:
movq _rtl8225z2_tx_power_cck@GOTPCREL(%rip), %rax
LBB0_6:
movq _RTL8187BvB@GOTPCREL(%rip), %r13
movq (%rax), %rbx
movq (%r12), %rax
cmpq (%r13), %rax
jne LBB0_10
## %bb.7:
cmpl $7, %r15d
jl LBB0_17
## %bb.8:
cmpl $11, %r15d
ja LBB0_13
jmp LBB0_9
LBB0_10:
cmpl $6, %r15d
jl LBB0_17
## %bb.11:
cmpl $11, %r15d
ja LBB0_14
LBB0_9:
addq $32, %rbx
jmp LBB0_17
LBB0_14:
cmpl $17, %r15d
ja LBB0_16
LBB0_13:
addq $64, %rbx
jmp LBB0_17
LBB0_16:
addq $96, %rbx
LBB0_17:
movl (%rbx), %edx
movq %r14, %rdi
movl $68, %esi
callq _rtl8225_write_phy_cck
movl 4(%rbx), %edx
movq %r14, %rdi
movl $69, %esi
callq _rtl8225_write_phy_cck
movl 8(%rbx), %edx
movq %r14, %rdi
movl $70, %esi
callq _rtl8225_write_phy_cck
movl 12(%rbx), %edx
movq %r14, %rdi
movl $71, %esi
callq _rtl8225_write_phy_cck
movl 16(%rbx), %edx
movq %r14, %rdi
movl $72, %esi
callq _rtl8225_write_phy_cck
movl 20(%rbx), %edx
movq %r14, %rdi
movl $73, %esi
callq _rtl8225_write_phy_cck
movl 24(%rbx), %edx
movq %r14, %rdi
movl $74, %esi
callq _rtl8225_write_phy_cck
movl 28(%rbx), %edx
movq %r14, %rdi
movl $75, %esi
callq _rtl8225_write_phy_cck
movq 16(%r12), %rsi
addq $4, %rsi
movq _rtl8225z2_tx_gain_cck_ofdm@GOTPCREL(%rip), %rbx
movq (%rbx), %rax
movslq %r15d, %rcx
movl (%rax,%rcx,4), %edx
addl %edx, %edx
movq %r12, %rdi
callq _rtl818x_iowrite8
movl $1, %edi
callq _msleep
movq 16(%r12), %rsi
movq (%rbx), %rax
movl -44(%rbp), %r15d ## 4-byte Reload
movslq %r15d, %rcx
movl (%rax,%rcx,4), %edx
addl %edx, %edx
movq %r12, %rdi
callq _rtl818x_iowrite8
movq (%r12), %rax
cmpq (%r13), %rax
jne LBB0_19
## %bb.18:
xorl %eax, %eax
cmpl $12, %r15d
setl %al
leal 92(,%rax,4), %ebx
jmp LBB0_21
LBB0_19:
movl $92, %ebx
cmpl $12, %r15d
jl LBB0_21
## %bb.20:
xorl %eax, %eax
cmpl $18, %r15d
setb %al
leal 80(,%rax,4), %ebx
LBB0_21:
movq %r14, %rdi
movl $135, %esi
movl %ebx, %edx
callq _rtl8225_write_phy_ofdm
movq %r14, %rdi
movl $137, %esi
movl %ebx, %edx
callq _rtl8225_write_phy_ofdm
movl $1, %edi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _msleep ## TAILCALL
.cfi_endproc
## -- End function
.comm _RTL8187BvB,8,3 ## @RTL8187BvB
.comm _rtl8225z2_tx_power_cck_ch14,8,3 ## @rtl8225z2_tx_power_cck_ch14
.comm _rtl8225z2_tx_power_cck,8,3 ## @rtl8225z2_tx_power_cck
.comm _rtl8225z2_tx_gain_cck_ofdm,8,3 ## @rtl8225z2_tx_gain_cck_ofdm
.no_dead_strip _rtl8225z2_b_rf_set_tx_power
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rtl8225z2_b_rf_set_tx_power
_rtl8225z2_b_rf_set_tx_power: ; @rtl8225z2_b_rf_set_tx_power
.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, x1
mov x19, x0
ldr x20, [x0]
ldr x8, [x20, #24]
add x8, x8, w1, sxtw #2
ldur w21, [x8, #-4]
and w8, w21, #0xf
ldr x9, [x20]
Lloh0:
adrp x24, _RTL8187BvB@GOTPAGE
Lloh1:
ldr x24, [x24, _RTL8187BvB@GOTPAGEOFF]
ldr x10, [x24]
cmp x9, x10
mov w9, #7
csel w9, wzr, w9, eq
ldr w10, [x20, #8]
and w10, w10, #0xf
add w8, w9, w8
add w0, w8, w10
mov w1, #35
bl _min
mov x22, x0
cmp w21, #256
b.lt LBB0_2
; %bb.1:
ldr x8, [x20]
ldr x9, [x24]
cmp x8, x9
mov w8, #25
mov w9, #17
csel w8, w9, w8, eq
b LBB0_3
LBB0_2:
ldr x8, [x20]
ldr x9, [x24]
cmp x8, x9
mov w8, #10
mov w9, #2
csel w8, w9, w8, eq
add w8, w8, w21, asr #4
LBB0_3:
ldr w9, [x20, #8]
ubfx w9, w9, #4, #4
add w0, w9, w8
mov w1, #35
bl _min
mov x21, x0
Lloh2:
adrp x8, _rtl8225z2_tx_power_cck_ch14@GOTPAGE
Lloh3:
ldr x8, [x8, _rtl8225z2_tx_power_cck_ch14@GOTPAGEOFF]
Lloh4:
adrp x9, _rtl8225z2_tx_power_cck@GOTPAGE
Lloh5:
ldr x9, [x9, _rtl8225z2_tx_power_cck@GOTPAGEOFF]
cmp w23, #14
csel x8, x8, x9, eq
ldr x23, [x8]
ldr x8, [x20]
ldr x9, [x24]
cmp x8, x9
b.ne LBB0_6
; %bb.4:
cmp w22, #7
b.lt LBB0_12
; %bb.5:
cmp w22, #11
b.hi LBB0_10
b LBB0_8
LBB0_6:
cmp w22, #6
b.lt LBB0_12
; %bb.7:
cmp w22, #11
b.hi LBB0_9
LBB0_8:
add x23, x23, #32
b LBB0_12
LBB0_9:
cmp w22, #17
b.hi LBB0_11
LBB0_10:
add x23, x23, #64
b LBB0_12
LBB0_11:
add x23, x23, #96
LBB0_12:
ldr w2, [x23]
mov x0, x19
mov w1, #68
bl _rtl8225_write_phy_cck
ldr w2, [x23, #4]
mov x0, x19
mov w1, #69
bl _rtl8225_write_phy_cck
ldr w2, [x23, #8]
mov x0, x19
mov w1, #70
bl _rtl8225_write_phy_cck
ldr w2, [x23, #12]
mov x0, x19
mov w1, #71
bl _rtl8225_write_phy_cck
ldr w2, [x23, #16]
mov x0, x19
mov w1, #72
bl _rtl8225_write_phy_cck
ldr w2, [x23, #20]
mov x0, x19
mov w1, #73
bl _rtl8225_write_phy_cck
ldr w2, [x23, #24]
mov x0, x19
mov w1, #74
bl _rtl8225_write_phy_cck
ldr w2, [x23, #28]
mov x0, x19
mov w1, #75
bl _rtl8225_write_phy_cck
ldr x8, [x20, #16]
add x1, x8, #4
Lloh6:
adrp x23, _rtl8225z2_tx_gain_cck_ofdm@GOTPAGE
Lloh7:
ldr x23, [x23, _rtl8225z2_tx_gain_cck_ofdm@GOTPAGEOFF]
ldr x8, [x23]
ldr w8, [x8, w22, sxtw #2]
lsl w2, w8, #1
mov x0, x20
bl _rtl818x_iowrite8
mov w0, #1
bl _msleep
ldr x1, [x20, #16]
ldr x8, [x23]
ldr w8, [x8, w21, sxtw #2]
lsl w2, w8, #1
mov x0, x20
bl _rtl818x_iowrite8
ldr x8, [x20]
ldr x9, [x24]
cmp x8, x9
b.ne LBB0_14
; %bb.13:
mov w8, #92
mov w9, #96
cmp w21, #12
csel w20, w9, w8, lt
b LBB0_17
LBB0_14:
cmp w21, #12
b.ge LBB0_16
; %bb.15:
mov w20, #92
b LBB0_17
LBB0_16:
mov w8, #80
mov w9, #84
cmp w21, #18
csel w20, w9, w8, lo
LBB0_17:
mov x0, x19
mov w1, #135
mov x2, x20
bl _rtl8225_write_phy_ofdm
mov x0, x19
mov w1, #137
mov x2, x20
bl _rtl8225_write_phy_ofdm
mov w0, #1
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 _msleep
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _RTL8187BvB,8,3 ; @RTL8187BvB
.comm _rtl8225z2_tx_power_cck_ch14,8,3 ; @rtl8225z2_tx_power_cck_ch14
.comm _rtl8225z2_tx_power_cck,8,3 ; @rtl8225z2_tx_power_cck
.comm _rtl8225z2_tx_gain_cck_ofdm,8,3 ; @rtl8225z2_tx_gain_cck_ofdm
.no_dead_strip _rtl8225z2_b_rf_set_tx_power
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/realtek/rtl818x/rtl8187/extr_rtl8225.c_rtl8225z2_b_rf_set_tx_power.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Compare ## -- Begin function Compare
.p2align 4, 0x90
_Compare: ## @Compare
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl 44(%rsi), %eax
subl 44(%rdi), %eax
jne LBB0_1
## %bb.2:
addq $21, %rdi
addq $21, %rsi
popq %rbp
jmp _strcmp ## TAILCALL
LBB0_1:
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 %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str(%rip), %rdi
leaq -44(%rbp), %rsi
xorl %eax, %eax
callq _scanf
callq _getchar
movslq -44(%rbp), %r12
movq %r12, %rax
shlq $4, %rax
leaq (%rax,%rax,2), %rdi
callq _malloc
testq %rax, %rax
je LBB1_8
## %bb.1:
movq %rax, %r14
testl %r12d, %r12d
jle LBB1_4
## %bb.2:
leaq L_.str(%rip), %r15
movq %r14, %rbx
xorl %r13d, %r13d
.p2align 4, 0x90
LBB1_3: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _gets
leaq 21(%rbx), %rdi
callq _gets
leaq 44(%rbx), %rsi
movq %r15, %rdi
xorl %eax, %eax
callq _scanf
callq _getchar
incq %r13
movslq -44(%rbp), %r12
addq $48, %rbx
cmpq %r12, %r13
jl LBB1_3
LBB1_4:
leaq _Compare(%rip), %rcx
movl $48, %edx
movq %r14, %rdi
movq %r12, %rsi
callq _qsort
cmpl $0, -44(%rbp)
jle LBB1_7
## %bb.5:
leaq L_.str.2(%rip), %r15
movq %r14, %rbx
xorl %r12d, %r12d
.p2align 4, 0x90
LBB1_6: ## =>This Inner Loop Header: Depth=1
movl 44(%rbx), %edx
movq %r15, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
incq %r12
movslq -44(%rbp), %rax
addq $48, %rbx
cmpq %rax, %r12
jl LBB1_6
LBB1_7:
movq %r14, %rdi
callq _free
xorl %eax, %eax
jmp LBB1_9
LBB1_8:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leaq L_.str.1(%rip), %rdi
movl $34, %esi
movl $1, %edx
callq _fwrite
movl $1, %eax
LBB1_9:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "main | Memory allocation Error !!!"
L_.str.2: ## @.str.2
.asciz "%s\n%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Compare ; -- Begin function Compare
.p2align 2
_Compare: ; @Compare
.cfi_startproc
; %bb.0:
ldr w8, [x0, #44]
ldr w9, [x1, #44]
subs w8, w9, w8
b.ne LBB0_2
; %bb.1:
add x0, x0, #21
add x1, x1, #21
b _strcmp
LBB0_2:
mov x0, x8
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
add x8, sp, #28
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
bl _getchar
ldrsw x21, [sp, #28]
add x8, x21, x21, lsl #1
lsl x0, x8, #4
bl _malloc
cbz x0, LBB1_8
; %bb.1:
mov x19, x0
cmp w21, #1
b.lt LBB1_4
; %bb.2:
mov x23, #0
Lloh2:
adrp x20, l_.str@PAGE
Lloh3:
add x20, x20, l_.str@PAGEOFF
mov x22, x19
LBB1_3: ; =>This Inner Loop Header: Depth=1
mov x0, x22
bl _gets
add x0, x22, #21
bl _gets
add x8, x22, #44
str x8, [sp]
mov x0, x20
bl _scanf
bl _getchar
add x23, x23, #1
ldrsw x21, [sp, #28]
add x22, x22, #48
cmp x23, x21
b.lt LBB1_3
LBB1_4:
Lloh4:
adrp x3, _Compare@PAGE
Lloh5:
add x3, x3, _Compare@PAGEOFF
mov x0, x19
mov x1, x21
mov w2, #48
bl _qsort
ldr w8, [sp, #28]
cmp w8, #1
b.lt LBB1_7
; %bb.5:
mov x21, #0
Lloh6:
adrp x20, l_.str.2@PAGE
Lloh7:
add x20, x20, l_.str.2@PAGEOFF
mov x22, x19
LBB1_6: ; =>This Inner Loop Header: Depth=1
ldr w8, [x22, #44]
stp x22, x8, [sp]
mov x0, x20
bl _printf
add x21, x21, #1
ldrsw x8, [sp, #28]
add x22, x22, #48
cmp x21, x8
b.lt LBB1_6
LBB1_7:
mov x0, x19
bl _free
mov w19, #0
b LBB1_9
LBB1_8:
Lloh8:
adrp x8, ___stderrp@GOTPAGE
Lloh9:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh10:
ldr x3, [x8]
Lloh11:
adrp x0, l_.str.1@PAGE
Lloh12:
add x0, x0, l_.str.1@PAGEOFF
mov w19, #1
mov w1, #34
mov w2, #1
bl _fwrite
LBB1_9:
mov x0, x19
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "main | Memory allocation Error !!!"
l_.str.2: ; @.str.2
.asciz "%s\n%d\n"
.subsections_via_symbols
| the_stack_data/82950941.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sc16is7xx_start_tx
_sc16is7xx_start_tx: ## @sc16is7xx_start_tx
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movl (%rdi), %edi
callq _dev_get_drvdata
movq %rax, %r14
movq %rbx, %rdi
movq %rbx, %rsi
callq _to_sc16is7xx_one
movq %r14, %rdi
movq %rax, %rsi
popq %rbx
popq %r14
popq %rbp
jmp _kthread_queue_work ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _sc16is7xx_start_tx
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sc16is7xx_start_tx
_sc16is7xx_start_tx: ; @sc16is7xx_start_tx
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w0, [x0]
bl _dev_get_drvdata
mov x20, x0
mov x0, x19
mov x1, x19
bl _to_sc16is7xx_one
mov x1, x0
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _kthread_queue_work
.cfi_endproc
; -- End function
.no_dead_strip _sc16is7xx_start_tx
.subsections_via_symbols
| AnghaBench/linux/drivers/tty/serial/extr_sc16is7xx.c_sc16is7xx_start_tx.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test ## -- Begin function test
.p2align 4, 0x90
_test: ## @test
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq _libtest_arg2@GOTPCREL(%rip), %r15
movq (%r15), %rdi
testq %rdi, %rdi
je LBB0_7
## %bb.1:
leaq L_.str.1(%rip), %rsi
callq _fopen
testq %rax, %rax
je LBB0_8
## %bb.2:
movq %rax, %r12
movq %rax, %rdi
callq _fileno
leaq -48(%rbp), %rsi
movl %eax, %edi
callq _fstat
cmpl $-1, %eax
je LBB0_9
## %bb.3:
cmpl $0, -48(%rbp)
je LBB0_10
## %bb.4:
movq _CURL_GLOBAL_ALL@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _curl_global_init
movq _CURLE_OK@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_12
## %bb.5:
xorl %eax, %eax
callq _curl_easy_init
testq %rax, %rax
je LBB0_13
## %bb.6:
movq %rax, %r15
movq _CURLOPT_UPLOAD@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $1, %edx
movq %r15, %rdi
xorl %eax, %eax
callq _test_setopt
movq _CURLOPT_VERBOSE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $1, %edx
movq %r15, %rdi
xorl %eax, %eax
callq _test_setopt
movq _CURLOPT_URL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq _test_setopt
movq _CURLOPT_READDATA@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
movq %r12, %rdx
xorl %eax, %eax
callq _test_setopt
movq %r15, %rdi
callq _curl_easy_perform
movq %r15, %rdi
callq _curl_easy_perform
movl %eax, %ebx
movq %r12, %rdi
callq _fclose
movq %r15, %rdi
callq _curl_easy_cleanup
xorl %eax, %eax
callq _curl_global_cleanup
movl %ebx, %eax
jmp LBB0_16
LBB0_7:
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movq _TEST_ERR_USAGE@GOTPCREL(%rip), %rax
jmp LBB0_15
LBB0_8:
movq _stderr@GOTPCREL(%rip), %r12
movl (%r12), %r14d
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl %ebx, %edi
callq _strerror
leaq L_.str.2(%rip), %rsi
movl %r14d, %edi
movl %ebx, %edx
movq %rax, %rcx
xorl %eax, %eax
callq _fprintf
movl (%r12), %edi
movq (%r15), %rdx
leaq L_.str.3(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movl $-2, %eax
jmp LBB0_16
LBB0_9:
movq _stderr@GOTPCREL(%rip), %r13
movl (%r13), %r14d
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl %ebx, %edi
callq _strerror
leaq L_.str.4(%rip), %rsi
movl %r14d, %edi
movl %ebx, %edx
movq %rax, %rcx
xorl %eax, %eax
callq _fprintf
movl (%r13), %edi
movq (%r15), %rdx
leaq L_.str.5(%rip), %rsi
jmp LBB0_11
LBB0_10:
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq (%r15), %rdx
leaq L_.str.6(%rip), %rsi
LBB0_11:
xorl %eax, %eax
callq _fprintf
jmp LBB0_14
LBB0_12:
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.7(%rip), %rsi
xorl %eax, %eax
callq _fprintf
jmp LBB0_14
LBB0_13:
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.8(%rip), %rsi
xorl %eax, %eax
callq _fprintf
xorl %eax, %eax
callq _curl_global_cleanup
LBB0_14:
movq %r12, %rdi
callq _fclose
movq _TEST_ERR_MAJOR_BAD@GOTPCREL(%rip), %rax
LBB0_15:
movl (%rax), %eax
LBB0_16:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CURLE_OK,8,3 ## @CURLE_OK
.comm _libtest_arg2,8,3 ## @libtest_arg2
.comm _stderr,4,2 ## @stderr
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Usage: <url> <file-to-upload>\n"
.comm _TEST_ERR_USAGE,4,2 ## @TEST_ERR_USAGE
L_.str.1: ## @.str.1
.asciz "rb"
L_.str.2: ## @.str.2
.asciz "fopen failed with error: %d %s\n"
.comm _errno,4,2 ## @errno
L_.str.3: ## @.str.3
.asciz "Error opening file: %s\n"
L_.str.4: ## @.str.4
.asciz "fstat() failed with error: %d %s\n"
L_.str.5: ## @.str.5
.asciz "ERROR: cannot open file %s\n"
.comm _TEST_ERR_MAJOR_BAD,4,2 ## @TEST_ERR_MAJOR_BAD
L_.str.6: ## @.str.6
.asciz "ERROR: file %s has zero size!\n"
.comm _CURL_GLOBAL_ALL,4,2 ## @CURL_GLOBAL_ALL
L_.str.7: ## @.str.7
.asciz "curl_global_init() failed\n"
L_.str.8: ## @.str.8
.asciz "curl_easy_init() failed\n"
.comm _CURLOPT_UPLOAD,4,2 ## @CURLOPT_UPLOAD
.comm _CURLOPT_VERBOSE,4,2 ## @CURLOPT_VERBOSE
.comm _CURLOPT_URL,4,2 ## @CURLOPT_URL
.comm _CURLOPT_READDATA,4,2 ## @CURLOPT_READDATA
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test ; -- Begin function test
.p2align 2
_test: ; @test
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x0
Lloh0:
adrp x22, _libtest_arg2@GOTPAGE
Lloh1:
ldr x22, [x22, _libtest_arg2@GOTPAGEOFF]
ldr x0, [x22]
cbz x0, LBB0_7
; %bb.1:
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
cbz x0, LBB0_8
; %bb.2:
mov x19, x0
bl _fileno
add x1, sp, #24
bl _fstat
cmn w0, #1
b.eq LBB0_9
; %bb.3:
ldr w8, [sp, #24]
cbz w8, LBB0_10
; %bb.4:
Lloh4:
adrp x8, _CURL_GLOBAL_ALL@GOTPAGE
Lloh5:
ldr x8, [x8, _CURL_GLOBAL_ALL@GOTPAGEOFF]
Lloh6:
ldr w0, [x8]
bl _curl_global_init
Lloh7:
adrp x8, _CURLE_OK@GOTPAGE
Lloh8:
ldr x8, [x8, _CURLE_OK@GOTPAGEOFF]
Lloh9:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_11
; %bb.5:
bl _curl_easy_init
cbz x0, LBB0_16
; %bb.6:
mov x21, x0
Lloh10:
adrp x8, _CURLOPT_UPLOAD@GOTPAGE
Lloh11:
ldr x8, [x8, _CURLOPT_UPLOAD@GOTPAGEOFF]
Lloh12:
ldr w1, [x8]
mov w22, #1
str x22, [sp]
bl _test_setopt
Lloh13:
adrp x8, _CURLOPT_VERBOSE@GOTPAGE
Lloh14:
ldr x8, [x8, _CURLOPT_VERBOSE@GOTPAGEOFF]
Lloh15:
ldr w1, [x8]
str x22, [sp]
mov x0, x21
bl _test_setopt
Lloh16:
adrp x8, _CURLOPT_URL@GOTPAGE
Lloh17:
ldr x8, [x8, _CURLOPT_URL@GOTPAGEOFF]
Lloh18:
ldr w1, [x8]
str x20, [sp]
mov x0, x21
bl _test_setopt
Lloh19:
adrp x8, _CURLOPT_READDATA@GOTPAGE
Lloh20:
ldr x8, [x8, _CURLOPT_READDATA@GOTPAGEOFF]
Lloh21:
ldr w1, [x8]
str x19, [sp]
mov x0, x21
bl _test_setopt
mov x0, x21
bl _curl_easy_perform
mov x0, x21
bl _curl_easy_perform
mov x20, x0
mov x0, x19
bl _fclose
mov x0, x21
bl _curl_easy_cleanup
bl _curl_global_cleanup
mov x0, x20
b LBB0_15
LBB0_7:
Lloh22:
adrp x8, _stderr@GOTPAGE
Lloh23:
ldr x8, [x8, _stderr@GOTPAGEOFF]
Lloh24:
ldr w0, [x8]
Lloh25:
adrp x1, l_.str@PAGE
Lloh26:
add x1, x1, l_.str@PAGEOFF
bl _fprintf
Lloh27:
adrp x8, _TEST_ERR_USAGE@GOTPAGE
Lloh28:
ldr x8, [x8, _TEST_ERR_USAGE@GOTPAGEOFF]
b LBB0_14
LBB0_8:
Lloh29:
adrp x21, _stderr@GOTPAGE
Lloh30:
ldr x21, [x21, _stderr@GOTPAGEOFF]
ldr w19, [x21]
Lloh31:
adrp x8, _errno@GOTPAGE
Lloh32:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh33:
ldr w20, [x8]
mov x0, x20
bl _strerror
stp x20, x0, [sp]
Lloh34:
adrp x1, l_.str.2@PAGE
Lloh35:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
bl _fprintf
ldr w0, [x21]
ldr x8, [x22]
str x8, [sp]
Lloh36:
adrp x1, l_.str.3@PAGE
Lloh37:
add x1, x1, l_.str.3@PAGEOFF
bl _fprintf
mov w0, #-2
b LBB0_15
LBB0_9:
Lloh38:
adrp x23, _stderr@GOTPAGE
Lloh39:
ldr x23, [x23, _stderr@GOTPAGEOFF]
ldr w20, [x23]
Lloh40:
adrp x8, _errno@GOTPAGE
Lloh41:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh42:
ldr w21, [x8]
mov x0, x21
bl _strerror
stp x21, x0, [sp]
Lloh43:
adrp x1, l_.str.4@PAGE
Lloh44:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x20
bl _fprintf
ldr w0, [x23]
ldr x8, [x22]
str x8, [sp]
Lloh45:
adrp x1, l_.str.5@PAGE
Lloh46:
add x1, x1, l_.str.5@PAGEOFF
b LBB0_12
LBB0_10:
Lloh47:
adrp x8, _stderr@GOTPAGE
Lloh48:
ldr x8, [x8, _stderr@GOTPAGEOFF]
Lloh49:
ldr w0, [x8]
ldr x8, [x22]
str x8, [sp]
Lloh50:
adrp x1, l_.str.6@PAGE
Lloh51:
add x1, x1, l_.str.6@PAGEOFF
b LBB0_12
LBB0_11:
Lloh52:
adrp x8, _stderr@GOTPAGE
Lloh53:
ldr x8, [x8, _stderr@GOTPAGEOFF]
Lloh54:
ldr w0, [x8]
Lloh55:
adrp x1, l_.str.7@PAGE
Lloh56:
add x1, x1, l_.str.7@PAGEOFF
LBB0_12:
bl _fprintf
LBB0_13:
mov x0, x19
bl _fclose
Lloh57:
adrp x8, _TEST_ERR_MAJOR_BAD@GOTPAGE
Lloh58:
ldr x8, [x8, _TEST_ERR_MAJOR_BAD@GOTPAGEOFF]
LBB0_14:
ldr w0, [x8]
LBB0_15:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_16:
Lloh59:
adrp x8, _stderr@GOTPAGE
Lloh60:
ldr x8, [x8, _stderr@GOTPAGEOFF]
Lloh61:
ldr w0, [x8]
Lloh62:
adrp x1, l_.str.8@PAGE
Lloh63:
add x1, x1, l_.str.8@PAGEOFF
bl _fprintf
bl _curl_global_cleanup
b LBB0_13
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGot Lloh27, Lloh28
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGot Lloh29, Lloh30
.loh AdrpAdd Lloh45, Lloh46
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42
.loh AdrpLdrGot Lloh38, Lloh39
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpLdrGotLdr Lloh52, Lloh53, Lloh54
.loh AdrpLdrGot Lloh57, Lloh58
.loh AdrpAdd Lloh62, Lloh63
.loh AdrpLdrGotLdr Lloh59, Lloh60, Lloh61
.cfi_endproc
; -- End function
.comm _CURLE_OK,8,3 ; @CURLE_OK
.comm _libtest_arg2,8,3 ; @libtest_arg2
.comm _stderr,4,2 ; @stderr
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Usage: <url> <file-to-upload>\n"
.comm _TEST_ERR_USAGE,4,2 ; @TEST_ERR_USAGE
l_.str.1: ; @.str.1
.asciz "rb"
l_.str.2: ; @.str.2
.asciz "fopen failed with error: %d %s\n"
.comm _errno,4,2 ; @errno
l_.str.3: ; @.str.3
.asciz "Error opening file: %s\n"
l_.str.4: ; @.str.4
.asciz "fstat() failed with error: %d %s\n"
l_.str.5: ; @.str.5
.asciz "ERROR: cannot open file %s\n"
.comm _TEST_ERR_MAJOR_BAD,4,2 ; @TEST_ERR_MAJOR_BAD
l_.str.6: ; @.str.6
.asciz "ERROR: file %s has zero size!\n"
.comm _CURL_GLOBAL_ALL,4,2 ; @CURL_GLOBAL_ALL
l_.str.7: ; @.str.7
.asciz "curl_global_init() failed\n"
l_.str.8: ; @.str.8
.asciz "curl_easy_init() failed\n"
.comm _CURLOPT_UPLOAD,4,2 ; @CURLOPT_UPLOAD
.comm _CURLOPT_VERBOSE,4,2 ; @CURLOPT_VERBOSE
.comm _CURLOPT_URL,4,2 ; @CURLOPT_URL
.comm _CURLOPT_READDATA,4,2 ; @CURLOPT_READDATA
.subsections_via_symbols
| AnghaBench/curl/tests/libtest/extr_lib541.c_test.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function process_directory
_process_directory: ## @process_directory
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movl %esi, %r15d
movq %rdi, %rbx
callq _cache_name_pos
movl %eax, %r12d
testl %eax, %eax
js LBB0_4
## %bb.1:
movq _active_cache@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl %r12d, %ecx
movq (%rax,%rcx,8), %r12
movl 8(%r12), %edi
callq _S_ISGITLINK
testq %rax, %rax
je LBB0_12
## %bb.2:
leaq L_.str(%rip), %rsi
leaq -44(%rbp), %rdx
movq %rbx, %rdi
callq _resolve_gitlink_ref
testq %rax, %rax
js LBB0_13
## %bb.3:
movq %r12, %rdi
movq %rbx, %rsi
movl %r15d, %edx
movq %r14, %rcx
jmp LBB0_15
LBB0_4:
movq %r14, -56(%rbp) ## 8-byte Spill
notl %r12d
movslq %r15d, %r13
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq _active_nr@GOTPCREL(%rip), %rax
cmpl %r12d, (%rax)
jl LBB0_10
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq _active_cache@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax,%r12,8), %r14
movq (%r14), %rdi
movq %rbx, %rsi
movl %r15d, %edx
callq _strncmp
testq %rax, %rax
jne LBB0_10
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movq (%r14), %rax
movzbl (%rax,%r13), %eax
cmpb $47, %al
jg LBB0_10
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
incq %r12
cmpb $47, %al
jne LBB0_5
## %bb.9:
leaq L_.str.1(%rip), %rdi
movq %rbx, %rsi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _error ## TAILCALL
LBB0_10:
leaq L_.str(%rip), %rsi
leaq -44(%rbp), %rdx
movq %rbx, %rdi
callq _resolve_gitlink_ref
testq %rax, %rax
je LBB0_14
## %bb.11:
leaq L_.str.2(%rip), %rdi
movq %rbx, %rsi
callq _error
jmp LBB0_16
LBB0_12:
movq %rbx, %rdi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _remove_one_path ## TAILCALL
LBB0_13:
xorl %eax, %eax
jmp LBB0_16
LBB0_14:
xorl %edi, %edi
movq %rbx, %rsi
movl %r15d, %edx
movq -56(%rbp), %rcx ## 8-byte Reload
LBB0_15:
callq _add_one_path
LBB0_16:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _active_cache,8,3 ## @active_cache
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "HEAD"
.comm _active_nr,4,2 ## @active_nr
L_.str.1: ## @.str.1
.asciz "%s: is a directory - add individual files instead"
L_.str.2: ## @.str.2
.asciz "%s: is a directory - add files inside instead"
.no_dead_strip _process_directory
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function process_directory
_process_directory: ; @process_directory
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x20, x2
mov x21, x1
mov x19, x0
bl _cache_name_pos
tbnz w0, #31, LBB0_4
; %bb.1:
Lloh0:
adrp x8, _active_cache@GOTPAGE
Lloh1:
ldr x8, [x8, _active_cache@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldr x22, [x8, w0, uxtw #3]
ldr w0, [x22, #8]
bl _S_ISGITLINK
cbz x0, LBB0_13
; %bb.2:
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
add x2, sp, #12
mov x0, x19
bl _resolve_gitlink_ref
tbnz x0, #63, LBB0_14
; %bb.3:
mov x0, x22
b LBB0_12
LBB0_4:
mvn w22, w0
Lloh5:
adrp x23, _active_nr@GOTPAGE
Lloh6:
ldr x23, [x23, _active_nr@GOTPAGEOFF]
Lloh7:
adrp x24, _active_cache@GOTPAGE
Lloh8:
ldr x24, [x24, _active_cache@GOTPAGEOFF]
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [x23]
cmp w8, w22
b.lt LBB0_10
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x24]
ldr x25, [x8, x22, lsl #3]
ldr x0, [x25]
mov x1, x19
mov x2, x21
bl _strncmp
cbnz x0, LBB0_10
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x25]
ldrsb w8, [x8, w21, sxtw]
cmp w8, #47
b.gt LBB0_10
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
add x22, x22, #1
b.ne LBB0_5
; %bb.9:
Lloh9:
adrp x0, l_.str.1@PAGE
Lloh10:
add x0, x0, l_.str.1@PAGEOFF
mov x1, x19
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
b _error
LBB0_10:
Lloh11:
adrp x1, l_.str@PAGE
Lloh12:
add x1, x1, l_.str@PAGEOFF
add x2, sp, #12
mov x0, x19
bl _resolve_gitlink_ref
cbz x0, LBB0_12
; %bb.11:
Lloh13:
adrp x0, l_.str.2@PAGE
Lloh14:
add x0, x0, l_.str.2@PAGEOFF
mov x1, x19
bl _error
b LBB0_15
LBB0_12:
mov x1, x19
mov x2, x21
mov x3, x20
bl _add_one_path
b LBB0_15
LBB0_13:
mov x0, x19
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
b _remove_one_path
LBB0_14:
mov w0, #0 ; =0x0
LBB0_15:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _active_cache,8,3 ; @active_cache
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "HEAD"
.comm _active_nr,4,2 ; @active_nr
l_.str.1: ; @.str.1
.asciz "%s: is a directory - add individual files instead"
l_.str.2: ; @.str.2
.asciz "%s: is a directory - add files inside instead"
.no_dead_strip _process_directory
.subsections_via_symbols
| assembly_file_93067.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function nvkm_volt_parse_bios
_nvkm_volt_parse_bios: ## @nvkm_volt_parse_bios
.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 $80, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %rbx
movq %rdi, %r14
leaq -32(%rbp), %rsi
leaq -28(%rbp), %rdx
leaq -24(%rbp), %rcx
leaq -20(%rbp), %r8
leaq -88(%rbp), %r9
callq _nvbios_volt_parse
testq %rax, %rax
jne LBB0_5
## %bb.1:
cmpl $0, -88(%rbp)
je LBB0_12
## %bb.2:
cmpq $0, -80(%rbp)
je LBB0_12
## %bb.3:
cmpq $0, -72(%rbp)
je LBB0_12
## %bb.4:
cmpq $0, -40(%rbp)
je LBB0_12
LBB0_5:
leaq L_.str(%rip), %rsi
movq %r14, %rdi
callq _nvkm_debug
movq -64(%rbp), %rcx
movq %rcx, (%rbx)
movl -88(%rbp), %eax
cmpl $2, %eax
jl LBB0_11
## %bb.6:
movq %rcx, %xmm0
movd %xmm0, %ecx
movslq %ecx, %rcx
movq -80(%rbp), %rdx
movq -72(%rbp), %rsi
leal -1(%rax), %edi
xorl %r8d, %r8d
jmp LBB0_7
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_7 Depth=1
incl %r8d
addq %rsi, %rdx
cmpl %r8d, %edi
je LBB0_11
LBB0_7: ## =>This Inner Loop Header: Depth=1
cmpq %rcx, %rdx
jl LBB0_10
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movslq -60(%rbp), %r9
cmpq %r9, %rdx
jg LBB0_10
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
movq 8(%rbx), %r9
movq 24(%rbx), %r10
movq %r9, %r11
shlq $4, %r11
movq %rdx, (%r10,%r11)
movl %r8d, 8(%r10,%r11)
incq %r9
movq %r9, 8(%rbx)
jmp LBB0_10
LBB0_11:
movl %eax, 16(%rbx)
LBB0_12:
addq $80, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "found ranged based VIDs\n"
.comm _NVBIOS_VOLT_PWM,8,3 ## @NVBIOS_VOLT_PWM
.no_dead_strip _nvkm_volt_parse_bios
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function nvkm_volt_parse_bios
_nvkm_volt_parse_bios: ; @nvkm_volt_parse_bios
.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, x1
mov x20, x0
add x1, sp, #20
add x2, sp, #16
add x3, sp, #12
add x4, sp, #8
add x5, sp, #24
bl _nvbios_volt_parse
cbnz x0, LBB0_2
; %bb.1:
ldr w8, [sp, #24]
ldp x9, x10, [sp, #32]
ldr x11, [sp, #72]
cmp w8, #0
ccmp x9, #0, #4, ne
ccmp x10, #0, #4, ne
ccmp x11, #0, #4, ne
b.eq LBB0_9
LBB0_2:
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
bl _nvkm_debug
ldr d0, [sp, #48]
str d0, [x19]
ldr w8, [sp, #24]
cmp w8, #2
b.lt LBB0_8
; %bb.3:
mov w9, #0 ; =0x0
smov.s x10, v0[0]
sub w11, w8, #1
ldp x13, x12, [sp, #32]
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add w9, w9, #1
add x13, x13, x12
cmp w11, w9
b.eq LBB0_8
LBB0_5: ; =>This Inner Loop Header: Depth=1
cmp x13, x10
b.lt LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldrsw x14, [sp, #52]
cmp x13, x14
b.gt LBB0_4
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
ldr x14, [x19, #24]
ldr x15, [x19, #8]
add x14, x14, x15, lsl #4
str x13, [x14]
str w9, [x14, #8]
add x14, x15, #1
str x14, [x19, #8]
b LBB0_4
LBB0_8:
str w8, [x19, #16]
LBB0_9:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "found ranged based VIDs\n"
.comm _NVBIOS_VOLT_PWM,8,3 ; @NVBIOS_VOLT_PWM
.no_dead_strip _nvkm_volt_parse_bios
.subsections_via_symbols
| assembly_file_96022.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function p256_add_mixed
_p256_add_mixed: ## @p256_add_mixed
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $408, %rsp ## imm = 0x198
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %rsi
leaq -352(%rbp), %rdi
movl $80, %edx
callq _memcpy
movq 8(%r14), %rsi
leaq -192(%rbp), %rdi
movl $80, %edx
callq _memcpy
movq 16(%r14), %rsi
leaq -112(%rbp), %r15
movq %r15, %rdi
callq _square_f256
movq (%rbx), %rsi
leaq -272(%rbp), %rdi
movq %r15, %rdx
callq _mul_f256
movq 16(%r14), %rsi
leaq -432(%rbp), %r14
movq %r14, %rdi
movq %r15, %rdx
callq _mul_f256
movq 8(%rbx), %rsi
movq %r15, %rdi
movq %r14, %rdx
callq _mul_f256
movq _F256@GOTPCREL(%rip), %rax
movq (%rax), %rax
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl (%rax,%rcx), %edx
addl %edx, %edx
subl -352(%rbp,%rcx), %edx
addl %edx, -272(%rbp,%rcx)
movl (%rax,%rcx), %edx
addl %edx, %edx
subl -192(%rbp,%rcx), %edx
addl %edx, -112(%rbp,%rcx)
addq $-4, %rcx
jmp LBB0_1
.cfi_endproc
## -- End function
.comm _F256,8,3 ## @F256
.no_dead_strip _p256_add_mixed
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function p256_add_mixed
_p256_add_mixed: ; @p256_add_mixed
.cfi_startproc
; %bb.0:
sub sp, sp, #480
stp x28, x27, [sp, #400] ; 16-byte Folded Spill
stp x24, x23, [sp, #416] ; 16-byte Folded Spill
stp x22, x21, [sp, #432] ; 16-byte Folded Spill
stp x20, x19, [sp, #448] ; 16-byte Folded Spill
stp x29, x30, [sp, #464] ; 16-byte Folded Spill
add x29, sp, #464
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w27, -72
.cfi_offset w28, -80
mov x19, x1
mov x20, x0
ldr x1, [x0]
sub x21, x29, #144
sub x0, x29, #144
mov w2, #80 ; =0x50
bl _memcpy
ldr x1, [x20, #8]
add x22, sp, #160
add x0, sp, #160
mov w2, #80 ; =0x50
bl _memcpy
ldr x1, [x20, #16]
add x23, sp, #80
add x0, sp, #80
bl _square_f256
ldr x1, [x19]
sub x24, x29, #224
sub x0, x29, #224
add x2, sp, #80
bl _mul_f256
ldr x1, [x20, #16]
mov x0, sp
add x2, sp, #80
bl _mul_f256
ldr x1, [x19, #8]
add x0, sp, #80
mov x2, sp
bl _mul_f256
Lloh0:
adrp x8, _F256@GOTPAGE
Lloh1:
ldr x8, [x8, _F256@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w9, [x8]
ldr w10, [x21], #-4
ldr w11, [x24]
sub w10, w11, w10
add w9, w10, w9, lsl #1
str w9, [x24], #-4
ldr w9, [x8], #-4
ldr w10, [x22], #-4
ldr w11, [x23]
sub w10, w11, w10
add w9, w10, w9, lsl #1
str w9, [x23], #-4
b LBB0_1
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _F256,8,3 ; @F256
.no_dead_strip _p256_add_mixed
.subsections_via_symbols
| assembly_file_41721.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function init_free_segmap
_init_free_segmap: ## @init_free_segmap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
callq _MAIN_SEGS
testl %eax, %eax
je LBB0_6
## %bb.1:
xorl %ebx, %ebx
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
callq _SIT_I
addl %r15d, (%rax)
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
incl %ebx
movq %r14, %rdi
callq _MAIN_SEGS
cmpl %eax, %ebx
jae LBB0_6
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movl %ebx, %esi
callq _get_seg_entry
movq (%rax), %r15
movq %r14, %rdi
testq %r15, %r15
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl %ebx, %esi
callq ___set_free
jmp LBB0_5
LBB0_6:
movq _CURSEG_HOT_DATA@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq _CURSEG_COLD_NODE@GOTPCREL(%rip), %r15
cmpl (%r15), %ebx
jg LBB0_8
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movl %ebx, %esi
callq _CURSEG_I
movl (%rax), %esi
movq %r14, %rdi
callq ___set_test_and_inuse
leal 1(%rbx), %eax
cmpl (%r15), %ebx
movl %eax, %ebx
jl LBB0_7
LBB0_8:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CURSEG_HOT_DATA,4,2 ## @CURSEG_HOT_DATA
.comm _CURSEG_COLD_NODE,4,2 ## @CURSEG_COLD_NODE
.no_dead_strip _init_free_segmap
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function init_free_segmap
_init_free_segmap: ; @init_free_segmap
.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 _MAIN_SEGS
cbz w0, LBB0_6
; %bb.1:
mov w20, #0
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
mov x0, x19
bl _SIT_I
ldr w8, [x0]
add w8, w8, w21
str w8, [x0]
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add w20, w20, #1
mov x0, x19
bl _MAIN_SEGS
cmp w20, w0
b.hs LBB0_6
LBB0_4: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov x1, x20
bl _get_seg_entry
ldr x21, [x0]
cbnz x21, LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov x0, x19
mov x1, x20
bl ___set_free
b LBB0_3
LBB0_6:
Lloh0:
adrp x8, _CURSEG_HOT_DATA@GOTPAGE
Lloh1:
ldr x8, [x8, _CURSEG_HOT_DATA@GOTPAGEOFF]
Lloh2:
ldr w20, [x8]
Lloh3:
adrp x21, _CURSEG_COLD_NODE@GOTPAGE
Lloh4:
ldr x21, [x21, _CURSEG_COLD_NODE@GOTPAGEOFF]
ldr w8, [x21]
cmp w20, w8
b.gt LBB0_8
LBB0_7: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov x1, x20
bl _CURSEG_I
ldr w1, [x0]
mov x0, x19
bl ___set_test_and_inuse
add w8, w20, #1
ldr w9, [x21]
cmp w20, w9
mov x20, x8
b.lt LBB0_7
LBB0_8:
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 Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _CURSEG_HOT_DATA,4,2 ; @CURSEG_HOT_DATA
.comm _CURSEG_COLD_NODE,4,2 ; @CURSEG_COLD_NODE
.no_dead_strip _init_free_segmap
.subsections_via_symbols
| AnghaBench/linux/fs/f2fs/extr_segment.c_init_free_segmap.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nvmem_reg_read
_nvmem_reg_read: ## @nvmem_reg_read
.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
testq %rax, %rax
je LBB0_1
## %bb.2:
movl 8(%rdi), %edi
popq %rbp
jmpq *%rax ## TAILCALL
LBB0_1:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _nvmem_reg_read
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nvmem_reg_read
_nvmem_reg_read: ; @nvmem_reg_read
.cfi_startproc
; %bb.0:
ldr x4, [x0]
cbz x4, LBB0_2
; %bb.1:
ldr w0, [x0, #8]
br x4
LBB0_2:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _nvmem_reg_read
.subsections_via_symbols
| AnghaBench/linux/drivers/nvmem/extr_core.c_nvmem_reg_read.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 cache_download_next_file
LCPI0_0:
.quad 0xbff0000000000000 ## double -1
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_cache_download_next_file: ## @cache_download_next_file
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %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 _simulation_stats@GOTPCREL(%rip), %r14
cmpl $0, 12(%r14)
je LBB0_27
## %bb.1:
movq _next_download_file_time@GOTPCREL(%rip), %r12
movq (%r12), %r15
leaq L_.str(%rip), %rsi
movl $3, %edi
movq %r15, %rdx
callq _vkprintf
movq _uncached_ptr@GOTPCREL(%rip), %rbx
movq (%rbx), %rax
testq %rax, %rax
je LBB0_2
## %bb.3:
movq _heap_uncached@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq (%rcx,%rax,8), %rdi
movl %r15d, %esi
callq _cache_add
movq (%rbx), %rax
cmpq %rax, (%r14)
jae LBB0_5
## %bb.4:
movq %rax, (%r14)
jmp LBB0_5
LBB0_2:
xorl %eax, %eax
LBB0_5:
leaq -1(%rax), %rdx
movq %rdx, (%rbx)
movq _heap_uncached_files@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq %rcx, %rdx
jbe LBB0_10
## %bb.6:
testq %rcx, %rcx
je LBB0_9
## %bb.7:
movl %r15d, %edi
jmp LBB0_8
LBB0_10:
movq %r15, -48(%rbp) ## 8-byte Spill
movq _heap_uncached@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq -8(%rcx,%rax,8), %r14
movq %r14, %rdi
movl $1, %esi
callq _cache_get_uri_size
movq %rax, %r15
movq _simulation_params@GOTPCREL(%rip), %r13
movq (%r13), %rcx
orq %rcx, %rax
shrq $32, %rax
je LBB0_11
## %bb.12:
movq %r15, %rax
cqto
idivq %rcx
movq %rax, %r12
jmp LBB0_13
LBB0_9:
movq _INT_MAX@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, (%r12)
jmp LBB0_27
LBB0_11:
movl %r15d, %eax
xorl %edx, %edx
divl %ecx
## kill: def $edx killed $edx def $rdx
movl %eax, %r12d
LBB0_13:
cmpq $1, %rdx
sbbq $-1, %r12
movq %r12, %rax
movq _next_download_file_time@GOTPCREL(%rip), %rbx
subq (%rbx), %rax
movq _INT_MAX@GOTPCREL(%rip), %rcx
xorl %edi, %edi
cmpq (%rcx), %rax
setle %dil
callq _assert
addq (%rbx), %r12
movq %r12, (%rbx)
movq _next_priority_lists_request_time@GOTPCREL(%rip), %rax
cmpq (%rax), %r12
jge LBB0_27
## %bb.14:
movq 8(%r13), %r13
xorl %edi, %edi
subq %r15, %r13
setns %dil
callq _assert
movq _cached_ptr@GOTPCREL(%rip), %rax
movq %r14, %rdi
movl (%rax), %r14d
callq _cache_get_uri_heuristic
movq _cached_bytes@GOTPCREL(%rip), %rax
cmpq %r13, (%rax)
setg %cl
movq _heap_cached_files@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl %eax, %r14d
setle %dl
andb %cl, %dl
cmpb $1, %dl
jne LBB0_20
## %bb.15:
movslq %r14d, %r12
addsd LCPI0_0(%rip), %xmm0
movsd %xmm0, -56(%rbp) ## 8-byte Spill
xorl %r15d, %r15d
movq _heap_cached@GOTPCREL(%rip), %rbx
.p2align 4, 0x90
LBB0_16: ## =>This Inner Loop Header: Depth=1
movq (%rbx), %rax
movq (%rax,%r12,8), %rdi
callq _cache_get_uri_heuristic
ucomisd -56(%rbp), %xmm0 ## 8-byte Folded Reload
jae LBB0_17
## %bb.18: ## in Loop: Header=BB0_16 Depth=1
movq (%rbx), %rax
movq (%rax,%r12,8), %rdi
movl $1, %esi
callq _cache_get_uri_size
addq %rax, %r15
leaq 1(%r12), %r14
movq _cached_bytes@GOTPCREL(%rip), %rax
movq (%rax), %rcx
subq %r15, %rcx
movq _heap_cached_files@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpq %r13, %rcx
setg %cl
jle LBB0_20
## %bb.19: ## in Loop: Header=BB0_16 Depth=1
movslq %eax, %rdx
cmpq %rdx, %r12
movq %r14, %r12
jl LBB0_16
LBB0_20:
testb %cl, %cl
je LBB0_22
## %bb.21:
cmpl %eax, %r14d
jle LBB0_22
## %bb.28:
movq -48(%rbp), %rdi ## 8-byte Reload
## kill: def $edi killed $edi killed $rdi
LBB0_8:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _resend_priority_lists_request ## TAILCALL
LBB0_22:
movq _cached_ptr@GOTPCREL(%rip), %r12
movl (%r12), %eax
cmpl %r14d, %eax
movq -48(%rbp), %r15 ## 8-byte Reload
jge LBB0_25
## %bb.23:
movq _heap_cached@GOTPCREL(%rip), %rbx
.p2align 4, 0x90
LBB0_24: ## =>This Inner Loop Header: Depth=1
movq (%rbx), %rcx
leal 1(%rax), %edx
movl %edx, (%r12)
cltq
movq (%rcx,%rax,8), %rdi
movl %r15d, %esi
callq _cache_remove
movl (%r12), %eax
cmpl %r14d, %eax
jl LBB0_24
LBB0_25:
decl %eax
movq _simulation_stats@GOTPCREL(%rip), %rcx
cmpl %eax, 8(%rcx)
jge LBB0_27
## %bb.26:
movl %eax, 8(%rcx)
jmp LBB0_27
LBB0_17:
movq _INT_MAX@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _next_download_file_time@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
LBB0_27:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _simulation_stats,16,3 ## @simulation_stats
.comm _next_download_file_time,8,3 ## @next_download_file_time
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "<%d> cache_download_next_file\n"
.comm _uncached_ptr,8,3 ## @uncached_ptr
.comm _heap_uncached,8,3 ## @heap_uncached
.comm _heap_uncached_files,8,3 ## @heap_uncached_files
.comm _INT_MAX,8,3 ## @INT_MAX
.comm _simulation_params,16,3 ## @simulation_params
.comm _next_priority_lists_request_time,8,3 ## @next_priority_lists_request_time
.comm _cached_ptr,4,2 ## @cached_ptr
.comm _cached_bytes,8,3 ## @cached_bytes
.comm _heap_cached_files,4,2 ## @heap_cached_files
.comm _heap_cached,8,3 ## @heap_cached
.no_dead_strip _cache_download_next_file
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function cache_download_next_file
_cache_download_next_file: ; @cache_download_next_file
.cfi_startproc
; %bb.0:
stp d9, d8, [sp, #-112]! ; 16-byte Folded Spill
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
.cfi_offset b8, -104
.cfi_offset b9, -112
Lloh0:
adrp x22, _simulation_stats@GOTPAGE
Lloh1:
ldr x22, [x22, _simulation_stats@GOTPAGEOFF]
ldr w8, [x22, #12]
cbz w8, LBB0_19
; %bb.1:
Lloh2:
adrp x23, _next_download_file_time@GOTPAGE
Lloh3:
ldr x23, [x23, _next_download_file_time@GOTPAGEOFF]
ldr x19, [x23]
Lloh4:
adrp x1, l_.str@PAGE
Lloh5:
add x1, x1, l_.str@PAGEOFF
mov w0, #3 ; =0x3
mov x2, x19
bl _vkprintf
Lloh6:
adrp x21, _uncached_ptr@GOTPAGE
Lloh7:
ldr x21, [x21, _uncached_ptr@GOTPAGEOFF]
ldr x8, [x21]
Lloh8:
adrp x20, _heap_uncached@GOTPAGE
Lloh9:
ldr x20, [x20, _heap_uncached@GOTPAGEOFF]
cbz x8, LBB0_4
; %bb.2:
ldr x9, [x20]
ldr x0, [x9, x8, lsl #3]
mov x1, x19
bl _cache_add
ldr x8, [x21]
ldr x9, [x22]
cmp x9, x8
b.hs LBB0_4
; %bb.3:
str x8, [x22]
LBB0_4:
sub x8, x8, #1
str x8, [x21]
Lloh10:
adrp x9, _heap_uncached_files@GOTPAGE
Lloh11:
ldr x9, [x9, _heap_uncached_files@GOTPAGEOFF]
Lloh12:
ldr x9, [x9]
cmp x8, x9
b.ls LBB0_7
; %bb.5:
cbnz x9, LBB0_20
LBB0_6:
Lloh13:
adrp x8, _INT_MAX@GOTPAGE
Lloh14:
ldr x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh15:
ldr x8, [x8]
str x8, [x23]
b LBB0_19
LBB0_7:
ldr x9, [x20]
ldr x20, [x9, x8, lsl #3]
mov x0, x20
mov w1, #1 ; =0x1
bl _cache_get_uri_size
mov x21, x0
Lloh16:
adrp x24, _simulation_params@GOTPAGE
Lloh17:
ldr x24, [x24, _simulation_params@GOTPAGEOFF]
ldr x8, [x24]
sdiv x9, x0, x8
msub x8, x9, x8, x0
cmp x8, #0
cinc x25, x9, ne
ldr x8, [x23]
Lloh18:
adrp x9, _INT_MAX@GOTPAGE
Lloh19:
ldr x9, [x9, _INT_MAX@GOTPAGEOFF]
Lloh20:
ldr x9, [x9]
sub x8, x25, x8
cmp x8, x9
cset w0, le
bl _assert
ldr x8, [x23]
Lloh21:
adrp x9, _next_priority_lists_request_time@GOTPAGE
Lloh22:
ldr x9, [x9, _next_priority_lists_request_time@GOTPAGEOFF]
Lloh23:
ldr x9, [x9]
add x8, x8, x25
cmp x8, x9
str x8, [x23]
b.ge LBB0_19
; %bb.8:
ldr x8, [x24, #8]
sub x25, x8, x21
lsr x8, x25, #63
eor w0, w8, #0x1
bl _assert
Lloh24:
adrp x21, _cached_ptr@GOTPAGE
Lloh25:
ldr x21, [x21, _cached_ptr@GOTPAGEOFF]
ldr w26, [x21]
mov x0, x20
bl _cache_get_uri_heuristic
Lloh26:
adrp x20, _cached_bytes@GOTPAGE
Lloh27:
ldr x20, [x20, _cached_bytes@GOTPAGEOFF]
ldr x8, [x20]
cmp x8, x25
cset w8, gt
Lloh28:
adrp x27, _heap_cached_files@GOTPAGE
Lloh29:
ldr x27, [x27, _heap_cached_files@GOTPAGEOFF]
ldr w9, [x27]
ccmp w26, w9, #0, gt
b.gt LBB0_13
; %bb.9:
mov x28, #0 ; =0x0
sxtw x26, w26
fmov d1, #-1.00000000
fadd d8, d0, d1
Lloh30:
adrp x24, _heap_cached@GOTPAGE
Lloh31:
ldr x24, [x24, _heap_cached@GOTPAGEOFF]
LBB0_10: ; =>This Inner Loop Header: Depth=1
ldr x8, [x24]
ldr x0, [x8, x26, lsl #3]
bl _cache_get_uri_heuristic
fcmp d0, d8
b.ge LBB0_6
; %bb.11: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [x24]
ldr x0, [x8, x26, lsl #3]
mov w1, #1 ; =0x1
bl _cache_get_uri_size
add x10, x26, #1
ldr x8, [x20]
add x28, x0, x28
sub x8, x8, x28
cmp x8, x25
cset w8, gt
ldr w9, [x27]
sxtw x11, w9
ccmp x26, x11, #0, gt
mov x26, x10
b.lt LBB0_10
; %bb.12:
mov x26, x10
LBB0_13:
cmp w8, #0
ccmp w26, w9, #4, ne
b.gt LBB0_20
; %bb.14:
ldr w8, [x21]
cmp w8, w26
b.ge LBB0_17
; %bb.15:
Lloh32:
adrp x20, _heap_cached@GOTPAGE
Lloh33:
ldr x20, [x20, _heap_cached@GOTPAGEOFF]
LBB0_16: ; =>This Inner Loop Header: Depth=1
ldr x9, [x20]
add w10, w8, #1
str w10, [x21]
ldr x0, [x9, w8, sxtw #3]
mov x1, x19
bl _cache_remove
ldr w8, [x21]
cmp w8, w26
b.lt LBB0_16
LBB0_17:
ldr w9, [x22, #8]
sub w8, w8, #1
cmp w9, w8
b.ge LBB0_19
; %bb.18:
str w8, [x22, #8]
LBB0_19:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
ldp d9, d8, [sp], #112 ; 16-byte Folded Reload
ret
LBB0_20:
mov x0, x19
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
ldp d9, d8, [sp], #112 ; 16-byte Folded Reload
b _resend_priority_lists_request
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh28, Lloh29
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGot Lloh30, Lloh31
.loh AdrpLdrGot Lloh32, Lloh33
.cfi_endproc
; -- End function
.comm _simulation_stats,16,3 ; @simulation_stats
.comm _next_download_file_time,8,3 ; @next_download_file_time
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "<%d> cache_download_next_file\n"
.comm _uncached_ptr,8,3 ; @uncached_ptr
.comm _heap_uncached,8,3 ; @heap_uncached
.comm _heap_uncached_files,8,3 ; @heap_uncached_files
.comm _INT_MAX,8,3 ; @INT_MAX
.comm _simulation_params,16,3 ; @simulation_params
.comm _next_priority_lists_request_time,8,3 ; @next_priority_lists_request_time
.comm _cached_ptr,4,2 ; @cached_ptr
.comm _cached_bytes,8,3 ; @cached_bytes
.comm _heap_cached_files,4,2 ; @heap_cached_files
.comm _heap_cached,8,3 ; @heap_cached
.no_dead_strip _cache_download_next_file
.subsections_via_symbols
| assembly_file_47779.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _brcms_c_set_nmode ## -- Begin function brcms_c_set_nmode
.p2align 4, 0x90
_brcms_c_set_nmode: ## @brcms_c_set_nmode
.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 24(%rdi), %rax
movq _WL_11N_3x3@GOTPCREL(%rip), %r15
movq (%r15), %rbx
cmpq %rbx, (%rax)
je LBB0_2
## %bb.1:
movq _WL_11N_2x2@GOTPCREL(%rip), %rax
movq (%rax), %rbx
LBB0_2:
movq _GMODE_AUTO@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
movl $1, %edx
callq _brcms_c_set_gmode
cmpq (%r15), %rbx
jne LBB0_3
## %bb.4:
movq _SUPPORT_HT@GOTPCREL(%rip), %rax
jmp LBB0_5
LBB0_3:
movq _SUPPORT_11N@GOTPCREL(%rip), %rax
LBB0_5:
movl (%rax), %eax
movq 16(%r14), %rcx
movl %eax, 8(%rcx)
movq _BRCMS_BSS_HT@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq (%r14), %rdi
orl %eax, 4(%rdi)
movq 24(%r14), %rax
movq (%rax), %rsi
callq _brcms_c_rateset_mcs_build
movq 16(%r14), %rax
cmpq $0, (%rax)
je LBB0_8
## %bb.6:
xorl %ebx, %ebx
movq _MCSSET_LEN@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movq (%r14), %rax
movq 8(%r14), %rcx
movq (%rcx,%rbx,8), %rcx
movl (%rcx), %edi
movl (%rax), %esi
movl (%r15), %edx
callq _memcpy
incq %rbx
movq 16(%r14), %rax
cmpq (%rax), %rbx
jb LBB0_7
LBB0_8:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AUTO,8,3 ## @AUTO
.comm _WL_11N_3x3,8,3 ## @WL_11N_3x3
.comm _WL_11N_2x2,8,3 ## @WL_11N_2x2
.comm _GMODE_AUTO,4,2 ## @GMODE_AUTO
.comm _SUPPORT_HT,4,2 ## @SUPPORT_HT
.comm _SUPPORT_11N,4,2 ## @SUPPORT_11N
.comm _BRCMS_BSS_HT,4,2 ## @BRCMS_BSS_HT
.comm _MCSSET_LEN,4,2 ## @MCSSET_LEN
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _brcms_c_set_nmode ; -- Begin function brcms_c_set_nmode
.p2align 2
_brcms_c_set_nmode: ; @brcms_c_set_nmode
.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 x8, [x0, #24]
ldr x8, [x8]
Lloh0:
adrp x20, _WL_11N_3x3@GOTPAGE
Lloh1:
ldr x20, [x20, _WL_11N_3x3@GOTPAGEOFF]
ldr x9, [x20]
Lloh2:
adrp x10, _WL_11N_2x2@GOTPAGE
Lloh3:
ldr x10, [x10, _WL_11N_2x2@GOTPAGEOFF]
Lloh4:
ldr x10, [x10]
cmp x8, x9
csel x21, x9, x10, eq
Lloh5:
adrp x8, _GMODE_AUTO@GOTPAGE
Lloh6:
ldr x8, [x8, _GMODE_AUTO@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
mov w2, #1
bl _brcms_c_set_gmode
ldr x8, [x20]
Lloh8:
adrp x9, _SUPPORT_HT@GOTPAGE
Lloh9:
ldr x9, [x9, _SUPPORT_HT@GOTPAGEOFF]
Lloh10:
adrp x10, _SUPPORT_11N@GOTPAGE
Lloh11:
ldr x10, [x10, _SUPPORT_11N@GOTPAGEOFF]
cmp x21, x8
csel x8, x9, x10, eq
ldr w8, [x8]
ldp x9, x10, [x19, #16]
str w8, [x9, #8]
Lloh12:
adrp x8, _BRCMS_BSS_HT@GOTPAGE
Lloh13:
ldr x8, [x8, _BRCMS_BSS_HT@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
ldr x0, [x19]
ldr w9, [x0, #4]
orr w8, w9, w8
str w8, [x0, #4]
ldr x1, [x10]
bl _brcms_c_rateset_mcs_build
ldr x8, [x19, #16]
ldr x8, [x8]
cbz x8, LBB0_3
; %bb.1:
mov x20, #0
Lloh15:
adrp x21, _MCSSET_LEN@GOTPAGE
Lloh16:
ldr x21, [x21, _MCSSET_LEN@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldp x9, x8, [x19]
ldr x8, [x8, x20, lsl #3]
ldr w0, [x8]
ldr w1, [x9]
ldr w2, [x21]
bl _memcpy
add x20, x20, #1
ldr x8, [x19, #16]
ldr x8, [x8]
cmp x20, x8
b.lo LBB0_2
LBB0_3:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh15, Lloh16
.cfi_endproc
; -- End function
.comm _AUTO,8,3 ; @AUTO
.comm _WL_11N_3x3,8,3 ; @WL_11N_3x3
.comm _WL_11N_2x2,8,3 ; @WL_11N_2x2
.comm _GMODE_AUTO,4,2 ; @GMODE_AUTO
.comm _SUPPORT_HT,4,2 ; @SUPPORT_HT
.comm _SUPPORT_11N,4,2 ; @SUPPORT_11N
.comm _BRCMS_BSS_HT,4,2 ; @BRCMS_BSS_HT
.comm _MCSSET_LEN,4,2 ; @MCSSET_LEN
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/extr_main.c_brcms_c_set_nmode.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function append_param
_append_param: ## @append_param
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
movq _NAMECH@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _strspn
movq %rax, %r15
movq %r14, %rdi
callq _strlen
movq (%rbx), %rdi
cmpq %rax, %r15
jne LBB0_2
## %bb.1:
movq %r14, %rsi
callq _talloc_strdup_append
jmp LBB0_3
LBB0_2:
leaq L_.str(%rip), %rsi
movq %rax, %rdx
movq %r14, %rcx
callq _talloc_asprintf_append
LBB0_3:
movq %rax, (%rbx)
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NAMECH,4,2 ## @NAMECH
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%%%zd%%%s"
.no_dead_strip _append_param
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function append_param
_append_param: ; @append_param
.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 x20, x1
mov x19, x0
Lloh0:
adrp x8, _NAMECH@GOTPAGE
Lloh1:
ldr x8, [x8, _NAMECH@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x20
bl _strspn
mov x21, x0
mov x0, x20
bl _strlen
mov x2, x0
ldr x0, [x19]
cmp x21, x2
b.ne LBB0_2
; %bb.1:
mov x1, x20
bl _talloc_strdup_append
b LBB0_3
LBB0_2:
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov x3, x20
bl _talloc_asprintf_append
LBB0_3:
str 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 AdrpAdd Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _NAMECH,4,2 ; @NAMECH
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%%%zd%%%s"
.no_dead_strip _append_param
.subsections_via_symbols
| assembly_file_181216.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_.str(%rip), %rbx
movq %rbx, %rdi
xorl %esi, %esi
movl $1, %edx
xorl %ecx, %ecx
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
xorl %esi, %esi
movl $2, %edx
movl $1, %ecx
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
xorl %esi, %esi
movl $3, %edx
movl $2, %ecx
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
xorl %esi, %esi
movl $4, %edx
movl $3, %ecx
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
xorl %esi, %esi
movl $5, %edx
movl $4, %ecx
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 "Thread %d has a value of a = %d for i = %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp 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
mov w20, #1
stp x20, xzr, [sp, #8]
str xzr, [sp]
Lloh0:
adrp x19, l_.str@PAGE
Lloh1:
add x19, x19, l_.str@PAGEOFF
mov x0, x19
bl _printf
str x20, [sp, #16]
mov w20, #2
stp xzr, x20, [sp]
mov x0, x19
bl _printf
str x20, [sp, #16]
mov w20, #3
stp xzr, x20, [sp]
mov x0, x19
bl _printf
str x20, [sp, #16]
mov w20, #4
stp xzr, x20, [sp]
mov x0, x19
bl _printf
mov w8, #5
stp x8, x20, [sp, #8]
str xzr, [sp]
mov x0, x19
bl _printf
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Thread %d has a value of a = %d for i = %d\n"
.subsections_via_symbols
| the_stack_data/215767316.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _slide_audio_render ## -- Begin function slide_audio_render
.p2align 4, 0x90
_slide_audio_render: ## @slide_audio_render
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %edi
movq _mix_a@GOTPCREL(%rip), %rax
movl (%rax), %r10d
movq _mix_b@GOTPCREL(%rip), %rax
movl (%rax), %eax
pushq %rax
pushq %r10
callq _obs_transition_audio_render
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _mix_a,4,2 ## @mix_a
.comm _mix_b,4,2 ## @mix_b
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _slide_audio_render ; -- Begin function slide_audio_render
.p2align 2
_slide_audio_render: ; @slide_audio_render
.cfi_startproc
; %bb.0:
ldr w0, [x0]
Lloh0:
adrp x8, _mix_a@GOTPAGE
Lloh1:
ldr x8, [x8, _mix_a@GOTPAGEOFF]
Lloh2:
ldr w6, [x8]
Lloh3:
adrp x8, _mix_b@GOTPAGE
Lloh4:
ldr x8, [x8, _mix_b@GOTPAGEOFF]
Lloh5:
ldr w7, [x8]
b _obs_transition_audio_render
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _mix_a,4,2 ; @mix_a
.comm _mix_b,4,2 ; @mix_b
.subsections_via_symbols
| AnghaBench/obs-studio/plugins/obs-transitions/extr_transition-slide.c_slide_audio_render.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function msg_session
_msg_session: ## @msg_session
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $5, %esi
movl $16, %edx
movl $65535, %ecx ## imm = 0xFFFF
popq %rbp
jmp _msg_bits ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _msg_session
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function msg_session
_msg_session: ; @msg_session
.cfi_startproc
; %bb.0:
mov w1, #5
mov w2, #16
mov w3, #65535
b _msg_bits
.cfi_endproc
; -- End function
.no_dead_strip _msg_session
.subsections_via_symbols
| AnghaBench/linux/net/tipc/extr_msg.h_msg_session.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function gui_ph_resize_container
_gui_ph_resize_container: ## @gui_ph_resize_container
.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 _gui@GOTPCREL(%rip), %rbx
movl 4(%rbx), %edi
leaq -24(%rbp), %r14
movq %r14, %rsi
callq _PtWidgetArea
movl (%rbx), %edi
movq %r14, %rsi
callq _PtWidgetPos
movl (%rbx), %edi
movq _Pt_ARG_AREA@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdx
xorl %ecx, %ecx
callq _PtSetResource
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _gui,8,2 ## @gui
.comm _Pt_ARG_AREA,4,2 ## @Pt_ARG_AREA
.no_dead_strip _gui_ph_resize_container
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function gui_ph_resize_container
_gui_ph_resize_container: ; @gui_ph_resize_container
.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 x19, _gui@GOTPAGE
Lloh1:
ldr x19, [x19, _gui@GOTPAGEOFF]
ldr w0, [x19, #4]
add x1, sp, #8
bl _PtWidgetArea
ldr w0, [x19]
add x1, sp, #8
bl _PtWidgetPos
ldr w0, [x19]
Lloh2:
adrp x8, _Pt_ARG_AREA@GOTPAGE
Lloh3:
ldr x8, [x8, _Pt_ARG_AREA@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
add x2, sp, #8
mov w3, #0
bl _PtSetResource
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 Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _gui,8,2 ; @gui
.comm _Pt_ARG_AREA,4,2 ; @Pt_ARG_AREA
.no_dead_strip _gui_ph_resize_container
.subsections_via_symbols
| AnghaBench/macvim/src/extr_gui_photon.c_gui_ph_resize_container.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _dlg_show_string ## -- Begin function dlg_show_string
.p2align 4, 0x90
_dlg_show_string: ## @dlg_show_string
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r9d, %r12d
movl %r8d, -44(%rbp) ## 4-byte Spill
movl %ecx, -72(%rbp) ## 4-byte Spill
movl %edx, -64(%rbp) ## 4-byte Spill
movq %rsi, -112(%rbp) ## 8-byte Spill
movq %rdi, %rbx
movl 32(%rbp), %r15d
movl 24(%rbp), %r13d
movl 16(%rbp), %r14d
subl %r9d, %r14d
callq _getmaxx
movl %r14d, %edi
movl %eax, %esi
callq _MIN
movl %eax, %r14d
movq _dialog_vars@GOTPCREL(%rip), %rax
movl %r13d, -88(%rbp) ## 4-byte Spill
testl %r13d, %r13d
je LBB0_4
## %bb.1:
cmpq $0, (%rax)
jne LBB0_4
## %bb.2:
testl %r15d, %r15d
je LBB0_23
## %bb.3:
movq %rbx, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r12d, %edx
callq _wmove
movq %rbx, %rdi
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _wrefresh ## TAILCALL
LBB0_4:
subl %r12d, %r14d
movq -112(%rbp), %r15 ## 8-byte Reload
movq %r15, %rdi
callq _dlg_index_columns
movq %rax, %r13
movq %r15, %rdi
callq _dlg_index_wchars
movq %rax, -120(%rbp) ## 8-byte Spill
movq %r15, %rdi
callq _dlg_count_wchars
movl %eax, -80(%rbp) ## 4-byte Spill
leaq -92(%rbp), %rcx
leaq -48(%rbp), %r8
movq %r15, %rdi
movl -64(%rbp), %esi ## 4-byte Reload
movl %r14d, %edx
callq _compute_edit_offset
movsbl -72(%rbp), %esi ## 1-byte Folded Reload
movq %rbx, %rdi
callq _dlg_attrset
movq %rbx, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r12d, -84(%rbp) ## 4-byte Spill
movl %r12d, %edx
callq _wmove
movl -80(%rbp), %esi ## 4-byte Reload
movslq -48(%rbp), %rdx
cmpl %esi, %edx
setle %al
testl %r14d, %r14d
setg %cl
andb %al, %cl
xorl %r15d, %r15d
cmpb $1, %cl
jne LBB0_21
## %bb.5:
movl 4(%r13,%rdx,4), %eax
movslq -48(%rbp), %rcx
subl (%r13,%rcx,4), %eax
cmpl %r14d, %eax
jg LBB0_21
## %bb.6:
movslq %esi, %rcx
movq %rcx, -80(%rbp) ## 8-byte Spill
leaq 1(%rdx), %r12
leaq 4(,%rdx,4), %rcx
addq %r13, %rcx
movq %rcx, -64(%rbp) ## 8-byte Spill
movl %r14d, -52(%rbp) ## 4-byte Spill
movq %r13, -104(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_9: ## =>This Loop Header: Depth=1
## Child Loop BB0_10 Depth 2
## Child Loop BB0_15 Depth 3
movl %eax, %r15d
movq -120(%rbp), %rax ## 8-byte Reload
movq %rdx, -72(%rbp) ## 8-byte Spill
movslq (%rax,%rdx,4), %r13
cmpl (%rax,%r12,4), %r13d
jl LBB0_10
LBB0_18: ## in Loop: Header=BB0_9 Depth=1
movq -72(%rbp), %r12 ## 8-byte Reload
leaq -1(%r12), %rcx
cmpq -80(%rbp), %rcx ## 8-byte Folded Reload
jg LBB0_19
## %bb.7: ## in Loop: Header=BB0_9 Depth=1
movl -52(%rbp), %r14d ## 4-byte Reload
cmpl %r14d, %r15d
jge LBB0_21
## %bb.8: ## in Loop: Header=BB0_9 Depth=1
movq -104(%rbp), %r13 ## 8-byte Reload
movl (%r13,%r12,4), %eax
movslq -48(%rbp), %rdx
subl (%r13,%rdx,4), %eax
leaq (,%r12,4), %rdx
addq %r13, %rdx
movq %rdx, -64(%rbp) ## 8-byte Spill
movq %rcx, %rdx
cmpl %r14d, %eax
jle LBB0_9
jmp LBB0_21
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_10 Depth=2
movsbl %cl, %esi
movq %rbx, %rdi
callq _waddch
LBB0_17: ## in Loop: Header=BB0_10 Depth=2
incq %r13
movq -120(%rbp), %rax ## 8-byte Reload
movslq (%rax,%r12,4), %rax
cmpq %rax, %r13
jge LBB0_18
LBB0_10: ## Parent Loop BB0_9 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_15 Depth 3
movq -112(%rbp), %rax ## 8-byte Reload
movsbl (%rax,%r13), %edi
callq _UCH
cmpl $0, -88(%rbp) ## 4-byte Folded Reload
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_10 Depth=2
movb $42, %cl
movq _dialog_vars@GOTPCREL(%rip), %rdx
cmpq $0, (%rdx)
jne LBB0_16
LBB0_12: ## in Loop: Header=BB0_10 Depth=2
movl %eax, %ecx
movq _TAB@GOTPCREL(%rip), %rdx
cmpb (%rdx), %al
jne LBB0_16
## %bb.13: ## in Loop: Header=BB0_10 Depth=2
movq -64(%rbp), %rax ## 8-byte Reload
movl (%rax), %r14d
movq -104(%rbp), %rax ## 8-byte Reload
movq -72(%rbp), %rcx ## 8-byte Reload
subl (%rax,%rcx,4), %r14d
jle LBB0_17
## %bb.14: ## in Loop: Header=BB0_10 Depth=2
incl %r14d
.p2align 4, 0x90
LBB0_15: ## Parent Loop BB0_9 Depth=1
## Parent Loop BB0_10 Depth=2
## => This Inner Loop Header: Depth=3
movq %rbx, %rdi
movl $32, %esi
callq _waddch
decl %r14d
cmpl $1, %r14d
ja LBB0_15
jmp LBB0_17
LBB0_19:
movl -52(%rbp), %r14d ## 4-byte Reload
jmp LBB0_21
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_21 Depth=1
incl %r15d
movq %rbx, %rdi
movl $32, %esi
callq _waddch
LBB0_21: ## =>This Inner Loop Header: Depth=1
cmpl %r14d, %r15d
jl LBB0_20
## %bb.22:
movl -84(%rbp), %edx ## 4-byte Reload
addl -92(%rbp), %edx
movq %rbx, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
callq _wmove
movq %rbx, %rdi
callq _wrefresh
LBB0_23:
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _dialog_vars,8,3 ## @dialog_vars
.comm _TAB,1,0 ## @TAB
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _dlg_show_string ; -- Begin function dlg_show_string
.p2align 2
_dlg_show_string: ; @dlg_show_string
.cfi_startproc
; %bb.0:
sub sp, sp, #144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.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 x23, x7
mov x25, x5
mov x22, x4
mov x27, x3
mov x28, x2
mov x24, x1
mov x19, x0
ldr w21, [x29, #16]
sub w20, w6, w5
bl _getmaxx
mov x1, x0
mov x0, x20
bl _MIN
Lloh0:
adrp x8, _dialog_vars@GOTPAGE
Lloh1:
ldr x8, [x8, _dialog_vars@GOTPAGEOFF]
cbz w23, LBB0_4
; %bb.1:
ldr x8, [x8]
cbnz x8, LBB0_4
; %bb.2:
cbz w21, LBB0_27
; %bb.3:
mov x0, x19
mov x1, x22
mov x2, x25
bl _wmove
mov x0, x19
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #144
b _wrefresh
LBB0_4:
sub w20, w0, w25
mov x0, x24
bl _dlg_index_columns
str x0, [sp, #32] ; 8-byte Folded Spill
mov x0, x24
bl _dlg_index_wchars
mov x26, x0
mov x0, x24
bl _dlg_count_wchars
mov x21, x0
add x3, sp, #44
add x4, sp, #40
mov x0, x24
mov x1, x28
mov x2, x20
bl _compute_edit_offset
mov x0, x19
mov x1, x27
bl _dlg_attrset
mov x0, x19
stp w25, w22, [sp, #12] ; 8-byte Folded Spill
mov x1, x22
mov x2, x25
bl _wmove
mov x11, x21
mov w27, #0 ; =0x0
ldrsw x21, [sp, #40]
cmp w21, w11
b.gt LBB0_8
; %bb.5:
cmp w20, #1
mov x22, x20
b.lt LBB0_25
; %bb.6:
add x28, x21, #1
ldr x10, [sp, #32] ; 8-byte Folded Reload
add x20, x10, x28, lsl #2
ldr w8, [x20]
ldrsw x9, [sp, #40]
ldr w9, [x10, x9, lsl #2]
sub w8, w8, w9
cmp w8, w22
b.le LBB0_9
; %bb.7:
mov w27, #0 ; =0x0
b LBB0_25
LBB0_8:
mov x22, x20
b LBB0_25
LBB0_9:
sxtw x9, w11
str x9, [sp, #24] ; 8-byte Folded Spill
str w22, [sp, #20] ; 4-byte Folded Spill
LBB0_10: ; =>This Loop Header: Depth=1
; Child Loop BB0_17 Depth 2
; Child Loop BB0_22 Depth 3
mov x27, x8
ldrsw x22, [x26, x21, lsl #2]
ldr w8, [x26, x28, lsl #2]
cmp w22, w8
b.lt LBB0_17
LBB0_11: ; in Loop: Header=BB0_10 Depth=1
sub x9, x21, #1
ldr x8, [sp, #24] ; 8-byte Folded Reload
cmp x9, x8
b.gt LBB0_23
; %bb.12: ; in Loop: Header=BB0_10 Depth=1
ldr w22, [sp, #20] ; 4-byte Folded Reload
cmp w27, w22
b.ge LBB0_25
; %bb.13: ; in Loop: Header=BB0_10 Depth=1
ldr x11, [sp, #32] ; 8-byte Folded Reload
add x20, x11, x21, lsl #2
ldr w8, [x20]
ldrsw x10, [sp, #40]
ldr w10, [x11, x10, lsl #2]
sub w8, w8, w10
cmp w8, w22
mov x28, x21
mov x21, x9
b.le LBB0_10
b LBB0_25
LBB0_14: ; in Loop: Header=BB0_17 Depth=2
mov w1, #42 ; =0x2a
LBB0_15: ; in Loop: Header=BB0_17 Depth=2
mov x0, x19
bl _waddch
LBB0_16: ; in Loop: Header=BB0_17 Depth=2
add x22, x22, #1
ldrsw x8, [x26, x28, lsl #2]
cmp x22, x8
b.ge LBB0_11
LBB0_17: ; Parent Loop BB0_10 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_22 Depth 3
ldrsb w0, [x24, x22]
bl _UCH
mov x1, x0
cbz w23, LBB0_19
; %bb.18: ; in Loop: Header=BB0_17 Depth=2
Lloh2:
adrp x8, _dialog_vars@GOTPAGE
Lloh3:
ldr x8, [x8, _dialog_vars@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
cbnz x8, LBB0_14
LBB0_19: ; in Loop: Header=BB0_17 Depth=2
Lloh5:
adrp x8, _TAB@GOTPAGE
Lloh6:
ldr x8, [x8, _TAB@GOTPAGEOFF]
ldrb w8, [x8]
cmp w8, w1, uxtb
b.ne LBB0_15
; %bb.20: ; in Loop: Header=BB0_17 Depth=2
ldr w8, [x20]
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w9, [x9, x21, lsl #2]
sub w8, w8, w9
cmp w8, #1
b.lt LBB0_16
; %bb.21: ; in Loop: Header=BB0_17 Depth=2
add w25, w8, #1
LBB0_22: ; Parent Loop BB0_10 Depth=1
; Parent Loop BB0_17 Depth=2
; => This Inner Loop Header: Depth=3
mov x0, x19
mov w1, #32 ; =0x20
bl _waddch
sub w25, w25, #1
cmp w25, #1
b.hi LBB0_22
b LBB0_16
LBB0_23:
ldr w22, [sp, #20] ; 4-byte Folded Reload
b LBB0_25
LBB0_24: ; in Loop: Header=BB0_25 Depth=1
add w27, w27, #1
mov x0, x19
mov w1, #32 ; =0x20
bl _waddch
LBB0_25: ; =>This Inner Loop Header: Depth=1
cmp w27, w22
b.lt LBB0_24
; %bb.26:
ldr w8, [sp, #44]
ldp w9, w1, [sp, #12] ; 8-byte Folded Reload
add w2, w8, w9
mov x0, x19
bl _wmove
mov x0, x19
bl _wrefresh
LBB0_27:
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #144
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _dialog_vars,8,3 ; @dialog_vars
.comm _TAB,1,0 ; @TAB
.subsections_via_symbols
| assembly_file_77563.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| the_stack_data/159516276.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _Field_CompleteCommand ## -- Begin function Field_CompleteCommand
.p2align 4, 0x90
_Field_CompleteCommand: ## @Field_CompleteCommand
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %rax
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %rax, %rdi
leaq L_.str(%rip), %rsi
callq _Com_SkipCharset
movq %rax, %r12
movq %rax, %rdi
callq _Cmd_TokenizeStringIgnoreQuotes
xorl %eax, %eax
callq _Cmd_Argc
movl %eax, %r15d
movq %r12, %rdi
callq _strlen
leal -1(%r15), %r13d
cmpb $32, -1(%r12,%rax)
jne LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.1(%rip), %rax
jmp LBB0_4
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movl %r13d, %edi
callq _Cmd_Argv
movl %r15d, %r13d
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq _completionString@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movq _con_autochat@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq $0, (%rax)
movq _completionField@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax), %r15
movzbl (%r15), %eax
je LBB0_5
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
cmpl $47, %eax
jne LBB0_9
jmp LBB0_11
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
testl %eax, %eax
je LBB0_12
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
cmpl $47, %eax
je LBB0_11
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
cmpl $92, %eax
je LBB0_12
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rdi
callq _strlen
incq %rax
cmpq $7, %rax
ja LBB0_31
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
leaq 1(%r15), %rdi
movq %r15, %rsi
movq %rax, %rdx
callq _memmove
movq _completionField@GOTPCREL(%rip), %rax
movq (%rax), %rax
incl 8(%rax)
movq (%rax), %r15
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
movb $92, (%r15)
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
cmpl $2, %r13d
jl LBB0_19
## %bb.13: ## in Loop: Header=BB0_1 Depth=1
xorl %edi, %edi
callq _Cmd_Argv
movq %rax, %rbx
movzbl (%rax), %eax
cmpl $92, %eax
je LBB0_15
## %bb.14: ## in Loop: Header=BB0_1 Depth=1
cmpl $47, %eax
jne LBB0_16
LBB0_15: ## in Loop: Header=BB0_1 Depth=1
incq %rbx
LBB0_16: ## in Loop: Header=BB0_1 Depth=1
movq %r12, %rdi
callq _Field_FindFirstSeparator
testq %rax, %rax
je LBB0_18
## %bb.17: ## in Loop: Header=BB0_1 Depth=1
incq %rax
movq _qtrue@GOTPCREL(%rip), %rcx
movq (%rcx), %r14
movq %r14, %rbx
jmp LBB0_1
LBB0_19:
movq _completionString@GOTPCREL(%rip), %rax
movq (%rax), %rax
movzbl (%rax), %ecx
cmpl $92, %ecx
je LBB0_21
## %bb.20:
cmpl $47, %ecx
jne LBB0_22
LBB0_21:
incq %rax
movq _completionString@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
LBB0_22:
movq _matchCount@GOTPCREL(%rip), %rcx
movq $0, (%rcx)
movq _shortestMatch@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq $0, (%rcx)
cmpb $0, (%rax)
je LBB0_31
## %bb.23:
testq %r14, %r14
je LBB0_25
## %bb.24:
movq _FindMatches@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _Cmd_CommandCompletion
LBB0_25:
testq %rbx, %rbx
je LBB0_27
## %bb.26:
movq _FindMatches@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _Cvar_CommandCompletion
LBB0_27:
xorl %eax, %eax
callq _Field_Complete
testl %eax, %eax
je LBB0_28
LBB0_31:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_18:
movq %rbx, %rdi
movq %r12, %rsi
movl %r13d, %edx
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _Cmd_CompleteArgument ## TAILCALL
LBB0_28:
testq %r14, %r14
je LBB0_30
## %bb.29:
movq _PrintMatches@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _Cmd_CommandCompletion
LBB0_30:
testq %rbx, %rbx
je LBB0_31
## %bb.32:
movq _PrintCvarMatches@GOTPCREL(%rip), %rax
movl (%rax), %edi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _Cvar_CommandCompletion ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz " \""
L_.str.1: ## @.str.1
.space 1
.comm _completionString,8,3 ## @completionString
.comm _con_autochat,8,3 ## @con_autochat
.comm _completionField,8,3 ## @completionField
.comm _qtrue,8,3 ## @qtrue
.comm _matchCount,8,3 ## @matchCount
.comm _shortestMatch,8,3 ## @shortestMatch
.comm _FindMatches,4,2 ## @FindMatches
.comm _PrintMatches,4,2 ## @PrintMatches
.comm _PrintCvarMatches,4,2 ## @PrintCvarMatches
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _Field_CompleteCommand ; -- Begin function Field_CompleteCommand
.p2align 2
_Field_CompleteCommand: ; @Field_CompleteCommand
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x2
mov x20, x1
Lloh0:
adrp x21, l_.str@PAGE
Lloh1:
add x21, x21, l_.str@PAGEOFF
Lloh2:
adrp x25, _completionString@GOTPAGE
Lloh3:
ldr x25, [x25, _completionString@GOTPAGEOFF]
Lloh4:
adrp x26, _con_autochat@GOTPAGE
Lloh5:
ldr x26, [x26, _con_autochat@GOTPAGEOFF]
Lloh6:
adrp x27, _completionField@GOTPAGE
Lloh7:
ldr x27, [x27, _completionField@GOTPAGEOFF]
Lloh8:
adrp x28, _qtrue@GOTPAGE
Lloh9:
ldr x28, [x28, _qtrue@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x1, x21
bl _Com_SkipCharset
mov x22, x0
bl _Cmd_TokenizeStringIgnoreQuotes
bl _Cmd_Argc
mov x24, x0
mov x0, x22
bl _strlen
add x8, x22, x0
ldurb w8, [x8, #-1]
sub w23, w24, #1
cmp w8, #32
b.ne LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
Lloh10:
adrp x0, l_.str.1@PAGE
Lloh11:
add x0, x0, l_.str.1@PAGEOFF
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
mov x0, x23
bl _Cmd_Argv
mov x23, x24
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
str x0, [x25]
ldr x8, [x26]
ldr x9, [x8]
ldr x8, [x27]
ldr x24, [x8]
ldrb w8, [x24]
cbz x9, LBB0_6
; %bb.5: ; in Loop: Header=BB0_1 Depth=1
cmp w8, #47
b.ne LBB0_9
b LBB0_11
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
cbz w8, LBB0_12
; %bb.7: ; in Loop: Header=BB0_1 Depth=1
cmp w8, #47
b.eq LBB0_11
; %bb.8: ; in Loop: Header=BB0_1 Depth=1
cmp w8, #92
b.eq LBB0_12
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
mov x0, x24
bl _strlen
add x2, x0, #1
cmp x2, #7
b.hi LBB0_27
; %bb.10: ; in Loop: Header=BB0_1 Depth=1
add x0, x24, #1
mov x1, x24
bl _memmove
ldr x8, [x27]
ldr w9, [x8, #8]
add w9, w9, #1
str w9, [x8, #8]
ldr x24, [x8]
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
mov w8, #92 ; =0x5c
strb w8, [x24]
LBB0_12: ; in Loop: Header=BB0_1 Depth=1
cmp w23, #2
b.lt LBB0_18
; %bb.13: ; in Loop: Header=BB0_1 Depth=1
mov w0, #0 ; =0x0
bl _Cmd_Argv
mov x19, x0
ldrb w8, [x0]
cmp w8, #92
b.eq LBB0_15
; %bb.14: ; in Loop: Header=BB0_1 Depth=1
cmp w8, #47
b.ne LBB0_16
LBB0_15: ; in Loop: Header=BB0_1 Depth=1
add x19, x19, #1
LBB0_16: ; in Loop: Header=BB0_1 Depth=1
mov x0, x22
bl _Field_FindFirstSeparator
cbz x0, LBB0_28
; %bb.17: ; in Loop: Header=BB0_1 Depth=1
add x0, x0, #1
ldr x20, [x28]
mov x19, x20
b LBB0_1
LBB0_18:
ldr x8, [x25]
ldrb w9, [x8]
cmp w9, #92
b.eq LBB0_20
; %bb.19:
cmp w9, #47
b.ne LBB0_21
LBB0_20:
add x8, x8, #1
str x8, [x25]
LBB0_21:
Lloh12:
adrp x9, _matchCount@GOTPAGE
Lloh13:
ldr x9, [x9, _matchCount@GOTPAGEOFF]
Lloh14:
str xzr, [x9]
Lloh15:
adrp x9, _shortestMatch@GOTPAGE
Lloh16:
ldr x9, [x9, _shortestMatch@GOTPAGEOFF]
Lloh17:
ldr x9, [x9]
str xzr, [x9]
ldrb w8, [x8]
cbz w8, LBB0_27
; %bb.22:
Lloh18:
adrp x21, _FindMatches@GOTPAGE
Lloh19:
ldr x21, [x21, _FindMatches@GOTPAGEOFF]
cbz x20, LBB0_24
; %bb.23:
ldr w0, [x21]
bl _Cmd_CommandCompletion
LBB0_24:
cbz x19, LBB0_26
; %bb.25:
ldr w0, [x21]
bl _Cvar_CommandCompletion
LBB0_26:
bl _Field_Complete
cbz w0, LBB0_29
LBB0_27:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_28:
mov x0, x19
mov x1, x22
mov x2, x23
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
b _Cmd_CompleteArgument
LBB0_29:
cbz x20, LBB0_31
; %bb.30:
Lloh20:
adrp x8, _PrintMatches@GOTPAGE
Lloh21:
ldr x8, [x8, _PrintMatches@GOTPAGEOFF]
Lloh22:
ldr w0, [x8]
bl _Cmd_CommandCompletion
LBB0_31:
cbz x19, LBB0_27
; %bb.32:
Lloh23:
adrp x8, _PrintCvarMatches@GOTPAGE
Lloh24:
ldr x8, [x8, _PrintCvarMatches@GOTPAGEOFF]
Lloh25:
ldr w0, [x8]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
b _Cvar_CommandCompletion
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotStr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz " \""
l_.str.1: ; @.str.1
.space 1
.comm _completionString,8,3 ; @completionString
.comm _con_autochat,8,3 ; @con_autochat
.comm _completionField,8,3 ; @completionField
.comm _qtrue,8,3 ; @qtrue
.comm _matchCount,8,3 ; @matchCount
.comm _shortestMatch,8,3 ; @shortestMatch
.comm _FindMatches,4,2 ; @FindMatches
.comm _PrintMatches,4,2 ; @PrintMatches
.comm _PrintCvarMatches,4,2 ; @PrintCvarMatches
.subsections_via_symbols
| assembly_file_115454.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function crypto_givcipher_show
_crypto_givcipher_show: ## @crypto_givcipher_show
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
leaq L_.str(%rip), %rsi
xorl %eax, %eax
callq _seq_printf
movq _CRYPTO_ALG_ASYNC@GOTPCREL(%rip), %rax
movl (%rax), %eax
andl (%r14), %eax
leaq L_.str.3(%rip), %rax
leaq L_.str.2(%rip), %rdx
cmoveq %rax, %rdx
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _seq_printf
movq 8(%r14), %rdx
leaq L_.str.4(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _seq_printf
movq 16(%r14), %rdx
leaq L_.str.5(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _seq_printf
movq 24(%r14), %rdx
leaq L_.str.6(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _seq_printf
movq 32(%r14), %rdx
leaq L_.str.7(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _seq_printf
movq 40(%r14), %rax
testq %rax, %rax
leaq L_.str.9(%rip), %rdx
cmovneq %rax, %rdx
leaq L_.str.8(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp _seq_printf ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "type : givcipher\n"
L_.str.1: ## @.str.1
.asciz "async : %s\n"
.comm _CRYPTO_ALG_ASYNC,4,2 ## @CRYPTO_ALG_ASYNC
L_.str.2: ## @.str.2
.asciz "yes"
L_.str.3: ## @.str.3
.asciz "no"
L_.str.4: ## @.str.4
.asciz "blocksize : %u\n"
L_.str.5: ## @.str.5
.asciz "min keysize : %u\n"
L_.str.6: ## @.str.6
.asciz "max keysize : %u\n"
L_.str.7: ## @.str.7
.asciz "ivsize : %u\n"
L_.str.8: ## @.str.8
.asciz "geniv : %s\n"
L_.str.9: ## @.str.9
.asciz "<built-in>"
.no_dead_strip _crypto_givcipher_show
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function crypto_givcipher_show
_crypto_givcipher_show: ; @crypto_givcipher_show
.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 x20, x1
mov x19, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _seq_printf
ldr w8, [x20]
Lloh2:
adrp x9, _CRYPTO_ALG_ASYNC@GOTPAGE
Lloh3:
ldr x9, [x9, _CRYPTO_ALG_ASYNC@GOTPAGEOFF]
Lloh4:
ldr w9, [x9]
Lloh5:
adrp x10, l_.str.2@PAGE
Lloh6:
add x10, x10, l_.str.2@PAGEOFF
Lloh7:
adrp x11, l_.str.3@PAGE
Lloh8:
add x11, x11, l_.str.3@PAGEOFF
tst w9, w8
csel x8, x11, x10, eq
str x8, [sp]
Lloh9:
adrp x1, l_.str.1@PAGE
Lloh10:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _seq_printf
ldr x8, [x20, #8]
str x8, [sp]
Lloh11:
adrp x1, l_.str.4@PAGE
Lloh12:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x19
bl _seq_printf
ldr x8, [x20, #16]
str x8, [sp]
Lloh13:
adrp x1, l_.str.5@PAGE
Lloh14:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x19
bl _seq_printf
ldr x8, [x20, #24]
str x8, [sp]
Lloh15:
adrp x1, l_.str.6@PAGE
Lloh16:
add x1, x1, l_.str.6@PAGEOFF
mov x0, x19
bl _seq_printf
ldr x8, [x20, #32]
str x8, [sp]
Lloh17:
adrp x1, l_.str.7@PAGE
Lloh18:
add x1, x1, l_.str.7@PAGEOFF
mov x0, x19
bl _seq_printf
ldr x8, [x20, #40]
Lloh19:
adrp x9, l_.str.9@PAGE
Lloh20:
add x9, x9, l_.str.9@PAGEOFF
cmp x8, #0
csel x8, x9, x8, eq
str x8, [sp]
Lloh21:
adrp x1, l_.str.8@PAGE
Lloh22:
add x1, x1, l_.str.8@PAGEOFF
mov x0, x19
bl _seq_printf
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 Lloh21, Lloh22
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.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 AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "type : givcipher\n"
l_.str.1: ; @.str.1
.asciz "async : %s\n"
.comm _CRYPTO_ALG_ASYNC,4,2 ; @CRYPTO_ALG_ASYNC
l_.str.2: ; @.str.2
.asciz "yes"
l_.str.3: ; @.str.3
.asciz "no"
l_.str.4: ; @.str.4
.asciz "blocksize : %u\n"
l_.str.5: ; @.str.5
.asciz "min keysize : %u\n"
l_.str.6: ; @.str.6
.asciz "max keysize : %u\n"
l_.str.7: ; @.str.7
.asciz "ivsize : %u\n"
l_.str.8: ; @.str.8
.asciz "geniv : %s\n"
l_.str.9: ; @.str.9
.asciz "<built-in>"
.no_dead_strip _crypto_givcipher_show
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/crypto/extr_ablkcipher.c_crypto_givcipher_show.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 0xbff0000000000000 ## double -1
.section __TEXT,__literal16,16byte_literals
.p2align 4
LCPI0_1:
.quad 0x8000000000000000 ## double -0
.quad 0x8000000000000000 ## double -0
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
leaq L_str(%rip), %rdi
callq _puts
leaq L_str.4(%rip), %rdi
callq _puts
leaq L_.str.2(%rip), %rdi
leaq -32(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _cosh
movsd %xmm0, -16(%rbp) ## 8-byte Spill
movapd %xmm0, %xmm1
mulsd %xmm0, %xmm1
addsd LCPI0_0(%rip), %xmm1
sqrtsd %xmm1, %xmm1
movsd %xmm1, -8(%rbp) ## 8-byte Spill
subsd %xmm1, %xmm0
callq _log
movsd %xmm0, -24(%rbp) ## 8-byte Spill
movsd -16(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
addsd -8(%rbp), %xmm0 ## 8-byte Folded Reload
callq _log
movapd %xmm0, %xmm1
xorpd LCPI0_1(%rip), %xmm1
leaq L_.str.3(%rip), %rdi
movsd -24(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movb $2, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "%lf"
L_.str.3: ## @.str.3
.asciz "El valor que dona la formula de l'exercici es %.16f\nEl valor que dona la formula arreglada es %.16f\n"
L_str: ## @str
.asciz "Calcularem l'error que es comet amb la formula donada a l'exercici de l'arccosh() i amb la formula millorada en comparacio amb el valor que hauria de donar."
L_str.4: ## @str.4
.asciz "Quin valor hauria de donar?"
.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 d11, d10, [sp, #32] ; 16-byte Folded Spill
stp d9, d8, [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 b8, -24
.cfi_offset b9, -32
.cfi_offset b10, -40
.cfi_offset b11, -48
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
Lloh2:
adrp x0, l_str.4@PAGE
Lloh3:
add x0, x0, l_str.4@PAGEOFF
bl _puts
add x8, sp, #24
str x8, [sp]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
ldr d0, [sp, #24]
bl _cosh
fmov d8, d0
fmov d0, #-1.00000000
fmadd d0, d8, d8, d0
fsqrt d10, d0
fsub d0, d8, d10
bl _log
fmov d9, d0
fadd d0, d8, d10
bl _log
fneg d0, d0
stp d9, d0, [sp]
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp d9, d8, [sp, #48] ; 16-byte Folded Reload
ldp d11, d10, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "%lf"
l_.str.3: ; @.str.3
.asciz "El valor que dona la formula de l'exercici es %.16f\nEl valor que dona la formula arreglada es %.16f\n"
l_str: ; @str
.asciz "Calcularem l'error que es comet amb la formula donada a l'exercici de l'arccosh() i amb la formula millorada en comparacio amb el valor que hauria de donar."
l_str.4: ; @str.4
.asciz "Quin valor hauria de donar?"
.subsections_via_symbols
| the_stack_data/289078.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ccnet_sha1_hash ## -- Begin function ccnet_sha1_hash
.p2align 4, 0x90
_ccnet_sha1_hash: ## @ccnet_sha1_hash
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movzbl (%rdi), %eax
movl %eax, %ecx
shll $5, %ecx
subl %eax, %ecx
movzbl 1(%rdi), %eax
addl %ecx, %eax
movl %eax, %ecx
shll $5, %ecx
subl %eax, %ecx
movzbl 2(%rdi), %eax
addl %ecx, %eax
movl %eax, %ecx
shll $5, %ecx
subl %eax, %ecx
movzbl 3(%rdi), %eax
addl %ecx, %eax
movl %eax, %ecx
shll $5, %ecx
subl %eax, %ecx
movzbl 4(%rdi), %eax
addl %ecx, %eax
movl %eax, %ecx
shll $5, %ecx
subl %eax, %ecx
movzbl 5(%rdi), %eax
addl %ecx, %eax
movl %eax, %ecx
shll $5, %ecx
subl %eax, %ecx
movzbl 6(%rdi), %eax
addl %ecx, %eax
movl %eax, %ecx
shll $5, %ecx
subl %eax, %ecx
movzbl 7(%rdi), %eax
addl %ecx, %eax
movl %eax, %ecx
shll $5, %ecx
subl %eax, %ecx
movzbl 8(%rdi), %eax
addl %ecx, %eax
movl %eax, %ecx
shll $5, %ecx
subl %eax, %ecx
movzbl 9(%rdi), %eax
addl %ecx, %eax
movl %eax, %ecx
shll $5, %ecx
subl %eax, %ecx
movzbl 10(%rdi), %eax
addl %ecx, %eax
movl %eax, %ecx
shll $5, %ecx
subl %eax, %ecx
movzbl 11(%rdi), %eax
addl %ecx, %eax
movl %eax, %ecx
shll $5, %ecx
subl %eax, %ecx
movzbl 12(%rdi), %eax
addl %ecx, %eax
movl %eax, %ecx
shll $5, %ecx
subl %eax, %ecx
movzbl 13(%rdi), %eax
addl %ecx, %eax
movl %eax, %ecx
shll $5, %ecx
subl %eax, %ecx
movzbl 14(%rdi), %eax
addl %ecx, %eax
movl %eax, %ecx
shll $5, %ecx
subl %eax, %ecx
movzbl 15(%rdi), %eax
addl %ecx, %eax
movl %eax, %ecx
shll $5, %ecx
subl %eax, %ecx
movzbl 16(%rdi), %eax
addl %ecx, %eax
movl %eax, %ecx
shll $5, %ecx
subl %eax, %ecx
movzbl 17(%rdi), %eax
addl %ecx, %eax
movl %eax, %ecx
shll $5, %ecx
subl %eax, %ecx
movzbl 18(%rdi), %eax
addl %ecx, %eax
movl %eax, %ecx
shll $5, %ecx
subl %eax, %ecx
movzbl 19(%rdi), %eax
addl %ecx, %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 _ccnet_sha1_hash ; -- Begin function ccnet_sha1_hash
.p2align 2
_ccnet_sha1_hash: ; @ccnet_sha1_hash
.cfi_startproc
; %bb.0:
ldrb w8, [x0]
lsl w9, w8, #5
ldrb w10, [x0, #1]
sub w8, w9, w8
add w8, w8, w10
lsl w9, w8, #5
ldrb w10, [x0, #2]
sub w8, w9, w8
add w8, w8, w10
lsl w9, w8, #5
ldrb w10, [x0, #3]
sub w8, w9, w8
add w8, w8, w10
lsl w9, w8, #5
ldrb w10, [x0, #4]
sub w8, w9, w8
add w8, w8, w10
lsl w9, w8, #5
ldrb w10, [x0, #5]
sub w8, w9, w8
add w8, w8, w10
lsl w9, w8, #5
ldrb w10, [x0, #6]
sub w8, w9, w8
add w8, w8, w10
lsl w9, w8, #5
ldrb w10, [x0, #7]
sub w8, w9, w8
add w8, w8, w10
lsl w9, w8, #5
ldrb w10, [x0, #8]
sub w8, w9, w8
add w8, w8, w10
lsl w9, w8, #5
ldrb w10, [x0, #9]
sub w8, w9, w8
add w8, w8, w10
lsl w9, w8, #5
ldrb w10, [x0, #10]
sub w8, w9, w8
add w8, w8, w10
lsl w9, w8, #5
ldrb w10, [x0, #11]
sub w8, w9, w8
add w8, w8, w10
lsl w9, w8, #5
ldrb w10, [x0, #12]
sub w8, w9, w8
add w8, w8, w10
lsl w9, w8, #5
ldrb w10, [x0, #13]
sub w8, w9, w8
add w8, w8, w10
lsl w9, w8, #5
ldrb w10, [x0, #14]
sub w8, w9, w8
add w8, w8, w10
lsl w9, w8, #5
ldrb w10, [x0, #15]
sub w8, w9, w8
add w8, w8, w10
lsl w9, w8, #5
ldrb w10, [x0, #16]
sub w8, w9, w8
add w8, w8, w10
lsl w9, w8, #5
ldrb w10, [x0, #17]
sub w8, w9, w8
add w8, w8, w10
lsl w9, w8, #5
ldrb w10, [x0, #18]
sub w8, w9, w8
add w8, w8, w10
lsl w9, w8, #5
ldrb w10, [x0, #19]
sub w8, w9, w8
add w0, w8, w10
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/seafile/lib/extr_utils.c_ccnet_sha1_hash.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mrb_random_mt_rand
_mrb_random_mt_rand: ## @mrb_random_mt_rand
.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, %ebx
movq %rsi, %r15
movq %rdi, %r14
movl %edx, %edi
callq _mrb_fixnum
movq %r15, %rdi
testl %eax, %eax
je LBB0_1
## %bb.2:
callq _mt_rand
movl %eax, %r14d
movl %ebx, %edi
callq _mrb_fixnum
movl %eax, %ecx
movl %r14d, %eax
cltd
idivl %ecx
movl %edx, %edi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _mrb_fixnum_value ## TAILCALL
LBB0_1:
callq _mt_rand_real
movq %r14, %rdi
movl %eax, %esi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _mrb_float_value ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _mrb_random_mt_rand
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mrb_random_mt_rand
_mrb_random_mt_rand: ; @mrb_random_mt_rand
.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 x21, x1
mov x20, x0
mov x0, x2
bl _mrb_fixnum
cbz w0, LBB0_2
; %bb.1:
mov x0, x21
bl _mt_rand
mov x20, x0
mov x0, x19
bl _mrb_fixnum
sdiv w8, w20, w0
msub w0, w8, w0, w20
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 _mrb_fixnum_value
LBB0_2:
mov x0, x21
bl _mt_rand_real
mov x1, x0
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
b _mrb_float_value
.cfi_endproc
; -- End function
.no_dead_strip _mrb_random_mt_rand
.subsections_via_symbols
| AnghaBench/h2o/deps/mruby/mrbgems/mruby-random/src/extr_random.c_mrb_random_mt_rand.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function fsl_espi_fill_fifo
_fsl_espi_fill_fifo: ## @fsl_espi_fill_fifo
.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
movq 16(%rdi), %r14
movq _ESPI_SPIE@GOTPCREL(%rip), %r15
movl (%r15), %esi
callq _FSL_ESPI_READ
movq (%rbx), %rcx
cmpq 8(%rbx), %rcx
jge LBB0_7
## %bb.1:
movq _ESPI_SPIE_TNF@GOTPCREL(%rip), %r12
orq (%r12), %rax
je LBB0_7
## %bb.2:
movq _ESPI_SPITF@GOTPCREL(%rip), %r13
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq 16(%r14), %rax
leaq -1(%rcx), %rdx
movq %rdx, (%rbx)
movq %rcx, %rdx
subq (%r14), %rdx
jb LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq 8(%r14), %rax
movq %rdx, %rcx
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movl (%r13), %esi
movl (%rax,%rcx,4), %edx
movq %rbx, %rdi
callq _FSL_ESPI_WRITE_FIFO
movl (%r15), %esi
movq %rbx, %rdi
callq _FSL_ESPI_READ
movq (%rbx), %rcx
cmpq 8(%rbx), %rcx
jge LBB0_7
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
orq (%r12), %rax
jne LBB0_3
LBB0_7:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ESPI_SPIE,4,2 ## @ESPI_SPIE
.comm _ESPI_SPIE_TNF,8,3 ## @ESPI_SPIE_TNF
.comm _ESPI_SPITF,4,2 ## @ESPI_SPITF
.no_dead_strip _fsl_espi_fill_fifo
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function fsl_espi_fill_fifo
_fsl_espi_fill_fifo: ; @fsl_espi_fill_fifo
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
ldr x20, [x0, #16]
Lloh0:
adrp x21, _ESPI_SPIE@GOTPAGE
Lloh1:
ldr x21, [x21, _ESPI_SPIE@GOTPAGEOFF]
ldr w1, [x21]
bl _FSL_ESPI_READ
ldp x8, x9, [x19]
Lloh2:
adrp x22, _ESPI_SPIE_TNF@GOTPAGE
Lloh3:
ldr x22, [x22, _ESPI_SPIE_TNF@GOTPAGEOFF]
ldr x10, [x22]
orr x10, x10, x0
cmp x8, x9
ccmp x10, #0, #4, lt
b.eq LBB0_6
; %bb.1:
Lloh4:
adrp x23, _ESPI_SPITF@GOTPAGE
Lloh5:
ldr x23, [x23, _ESPI_SPITF@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x9, [x20, #16]
sub x10, x8, #1
str x10, [x19]
ldr x10, [x20]
subs x10, x8, x10
b.lo LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr x9, [x20, #8]
mov x8, x10
LBB0_4: ; in Loop: Header=BB0_2 Depth=1
ldr w1, [x23]
ldr w2, [x9, x8, lsl #2]
mov x0, x19
bl _FSL_ESPI_WRITE_FIFO
ldr w1, [x21]
mov x0, x19
bl _FSL_ESPI_READ
ldp x8, x9, [x19]
cmp x8, x9
b.ge LBB0_6
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
ldr x9, [x22]
orr x9, x9, x0
cbnz x9, LBB0_2
LBB0_6:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _ESPI_SPIE,4,2 ; @ESPI_SPIE
.comm _ESPI_SPIE_TNF,8,3 ; @ESPI_SPIE_TNF
.comm _ESPI_SPITF,4,2 ; @ESPI_SPITF
.no_dead_strip _fsl_espi_fill_fifo
.subsections_via_symbols
| assembly_file_132801.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
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 $1, %ebx
leaq L_.str.1(%rip), %r15
leaq -48(%rbp), %r12
leaq -44(%rbp), %r13
leaq L_.str.2(%rip), %r14
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
leaq L_.str(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
movq %r15, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq _scanf
movq %r15, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq _scanf
movl -44(%rbp), %esi
addl -48(%rbp), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
incl %ebx
cmpl $21, %ebx
jne LBB0_1
## %bb.2:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\302\252 soma:\n"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.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 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 w22, #1
Lloh0:
adrp x19, l_.str@PAGE
Lloh1:
add x19, x19, l_.str@PAGEOFF
add x23, sp, #12
Lloh2:
adrp x20, l_.str.1@PAGE
Lloh3:
add x20, x20, l_.str.1@PAGEOFF
add x24, sp, #8
Lloh4:
adrp x21, l_.str.2@PAGE
Lloh5:
add x21, x21, l_.str.2@PAGEOFF
LBB0_1: ; =>This Inner Loop Header: Depth=1
str x22, [sp]
mov x0, x19
bl _printf
str x23, [sp]
mov x0, x20
bl _scanf
str x24, [sp]
mov x0, x20
bl _scanf
ldp w9, w8, [sp, #8]
add w8, w9, w8
str x8, [sp]
mov x0, x21
bl _printf
add w22, w22, #1
cmp w22, #21
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 x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\302\252 soma:\n"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/263278.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _array15 ## -- Begin function array15
.p2align 4, 0x90
_array15: ## @array15
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1090519040, 12(%rdi) ## imm = 0x41000000
movl $1090519040, 24(%rdi) ## imm = 0x41000000
movl $1, %eax
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
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _d,60,4 ## @d
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _array15 ; -- Begin function array15
.p2align 2
_array15: ; @array15
.cfi_startproc
; %bb.0:
mov w8, #1090519040
str w8, [x0, #12]
str w8, [x0, #24]
mov w0, #1
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
mov w0, #1
ret
.cfi_endproc
; -- End function
.comm _d,60,2 ; @d
.subsections_via_symbols
| the_stack_data/86075452.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function pass_blame
_pass_blame: ## @pass_blame
.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 $152, %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
movq %rdx, -112(%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 40(%rdi), %r15
movq 24(%rsi), %r12
movq _MAXSG@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq %rax, -120(%rbp) ## 8-byte Spill
leaq (,%rax,8), %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rbx
movq $0, -88(%rbp)
leaq -192(%rbp), %rax
movq %rax, -128(%rbp)
movl 16(%r14), %edx
movq %r15, -104(%rbp) ## 8-byte Spill
movq %r15, %rdi
movq %r12, -96(%rbp) ## 8-byte Spill
movq %r12, %rsi
callq _num_scapegoats
movl %eax, %r15d
testl %eax, %eax
movq %rbx, -152(%rbp) ## 8-byte Spill
je LBB0_1
## %bb.2:
movq %rbx, %rdi
callq _ARRAY_SIZE
cmpl %eax, %r15d
movq %r13, -72(%rbp) ## 8-byte Spill
jle LBB0_3
## %bb.4:
movl %r15d, %edi
movl $8, %esi
callq _xcalloc
movq %rax, %r12
jmp LBB0_5
LBB0_1:
movq %rbx, %r12
jmp LBB0_65
LBB0_3:
movq -120(%rbp), %rdx ## 8-byte Reload
shll $3, %edx
movq %rbx, %rdi
xorl %esi, %esi
## kill: def $edx killed $edx killed $rdx
callq _memset
movq %rbx, %r12
LBB0_5:
cmpl $-1, (%r14)
movq %r14, -64(%rbp) ## 8-byte Spill
movl %r15d, -52(%rbp) ## 4-byte Spill
jl LBB0_26
## %bb.6:
movq -72(%rbp), %rax ## 8-byte Reload
addq $16, %rax
movq %rax, -160(%rbp) ## 8-byte Spill
movslq %r15d, %rax
movq %rax, -184(%rbp) ## 8-byte Spill
xorl %eax, %eax
jmp LBB0_7
.p2align 4, 0x90
LBB0_25: ## in Loop: Header=BB0_7 Depth=1
movl (%r14), %eax
addl $2, %eax
cmpl %eax, -132(%rbp) ## 4-byte Folded Reload
movl -52(%rbp), %r15d ## 4-byte Reload
movq -176(%rbp), %rax ## 8-byte Reload
jg LBB0_26
LBB0_7: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
## Child Loop BB0_17 Depth 3
movl %eax, -132(%rbp) ## 4-byte Spill
testl %r15d, %r15d
setg %bl
movq _find_rename@GOTPCREL(%rip), %rcx
movq %rcx, -144(%rbp) ## 8-byte Spill
subl $1, %eax
movq %rax, -176(%rbp) ## 8-byte Spill
jae LBB0_9
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movq _find_origin@GOTPCREL(%rip), %rax
movq %rax, -144(%rbp) ## 8-byte Spill
LBB0_9: ## in Loop: Header=BB0_7 Depth=1
movl 16(%r14), %edx
movq -104(%rbp), %rdi ## 8-byte Reload
movq -96(%rbp), %rsi ## 8-byte Reload
callq _first_scapegoat
movq %rax, %r13
testq %rax, %rax
setne %al
andb %al, %bl
cmpb $1, %bl
jne LBB0_25
## %bb.10: ## in Loop: Header=BB0_7 Depth=1
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_11: ## Parent Loop BB0_7 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_17 Depth 3
cmpq $0, (%r12,%r15,8)
jne LBB0_23
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
movq (%r13), %rbx
movq %rbx, %rdi
callq _parse_commit
testq %rax, %rax
je LBB0_13
LBB0_23: ## in Loop: Header=BB0_11 Depth=2
incq %r15
cmpq -184(%rbp), %r15 ## 8-byte Folded Reload
jge LBB0_25
## %bb.24: ## in Loop: Header=BB0_11 Depth=2
movq 8(%r13), %r13
testq %r13, %r13
jne LBB0_11
jmp LBB0_25
LBB0_13: ## in Loop: Header=BB0_11 Depth=2
movq 8(%r14), %rdi
movq %rbx, %rsi
movq -72(%rbp), %rdx ## 8-byte Reload
callq *-144(%rbp) ## 8-byte Folded Reload
testq %rax, %rax
je LBB0_23
## %bb.14: ## in Loop: Header=BB0_11 Depth=2
movq %rax, %rbx
movq %rax, %rdi
addq $16, %rdi
movq %rdi, -120(%rbp) ## 8-byte Spill
movq -160(%rbp), %rsi ## 8-byte Reload
callq _oideq
testq %rax, %rax
jne LBB0_79
## %bb.15: ## in Loop: Header=BB0_11 Depth=2
testq %r15, %r15
je LBB0_21
## %bb.16: ## in Loop: Header=BB0_11 Depth=2
movq %rbx, -168(%rbp) ## 8-byte Spill
movq %r12, %r14
xorl %ebx, %ebx
xorl %r12d, %r12d
jmp LBB0_17
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_17 Depth=3
incq %rbx
cmpq %rbx, %r15
je LBB0_20
LBB0_17: ## Parent Loop BB0_7 Depth=1
## Parent Loop BB0_11 Depth=2
## => This Inner Loop Header: Depth=3
movq (%r14,%rbx,8), %rdi
testq %rdi, %rdi
je LBB0_19
## %bb.18: ## in Loop: Header=BB0_17 Depth=3
addq $16, %rdi
movq -120(%rbp), %rsi ## 8-byte Reload
callq _oideq
testq %rax, %rax
movl $1, %eax
cmovnel %eax, %r12d
jmp LBB0_19
LBB0_20: ## in Loop: Header=BB0_11 Depth=2
testl %r12d, %r12d
movq %r14, %r12
movq -64(%rbp), %r14 ## 8-byte Reload
movq -168(%rbp), %rbx ## 8-byte Reload
je LBB0_21
## %bb.22: ## in Loop: Header=BB0_11 Depth=2
movq %rbx, %rdi
callq _blame_origin_decref
jmp LBB0_23
LBB0_21: ## in Loop: Header=BB0_11 Depth=2
movq %rbx, (%r12,%r15,8)
jmp LBB0_23
LBB0_26:
movq %r12, -80(%rbp) ## 8-byte Spill
incl 32(%r14)
movl 16(%r14), %edx
movq -104(%rbp), %rdi ## 8-byte Reload
movq -96(%rbp), %rsi ## 8-byte Reload
callq _first_scapegoat
movq %rax, %r14
testl %r15d, %r15d
setg %al
testq %r14, %r14
setne %cl
andb %al, %cl
cmpb $1, %cl
movq -72(%rbp), %r13 ## 8-byte Reload
jne LBB0_35
## %bb.27:
movl -52(%rbp), %r15d ## 4-byte Reload
movl $1, %r12d
.p2align 4, 0x90
LBB0_28: ## =>This Inner Loop Header: Depth=1
movq -80(%rbp), %rax ## 8-byte Reload
movq -8(%rax,%r12,8), %rbx
testq %rbx, %rbx
je LBB0_33
## %bb.29: ## in Loop: Header=BB0_28 Depth=1
cmpq $0, 8(%r13)
jne LBB0_31
## %bb.30: ## in Loop: Header=BB0_28 Depth=1
movq %rbx, %rdi
callq _blame_origin_incref
movq %rbx, 8(%r13)
LBB0_31: ## in Loop: Header=BB0_28 Depth=1
movq -64(%rbp), %rdi ## 8-byte Reload
movq %r13, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
callq _pass_blame_to_parent
cmpq $0, (%r13)
je LBB0_32
LBB0_33: ## in Loop: Header=BB0_28 Depth=1
cmpq %r15, %r12
jae LBB0_35
## %bb.34: ## in Loop: Header=BB0_28 Depth=1
movq 8(%r14), %r14
incq %r12
testq %r14, %r14
jne LBB0_28
LBB0_35:
movq -64(%rbp), %rax ## 8-byte Reload
leaq 28(%rax), %rdi
movq -96(%rbp), %rsi ## 8-byte Reload
callq _oidset_contains
testq %rax, %rax
je LBB0_42
## %bb.36:
cmpl $0, -52(%rbp) ## 4-byte Folded Reload
setg %r14b
movq -64(%rbp), %rax ## 8-byte Reload
movl 16(%rax), %edx
movq -104(%rbp), %rdi ## 8-byte Reload
movq -96(%rbp), %rsi ## 8-byte Reload
callq _first_scapegoat
movq %rax, %rbx
testq %rax, %rax
setne %al
andb %r14b, %al
cmpb $1, %al
jne LBB0_42
## %bb.37:
movl -52(%rbp), %r15d ## 4-byte Reload
movl $1, %r12d
.p2align 4, 0x90
LBB0_38: ## =>This Inner Loop Header: Depth=1
movq -80(%rbp), %rax ## 8-byte Reload
movq -8(%rax,%r12,8), %r14
testq %r14, %r14
je LBB0_40
## %bb.39: ## in Loop: Header=BB0_38 Depth=1
movq -64(%rbp), %rdi ## 8-byte Reload
movq %r13, %rsi
movq %r14, %rdx
movl $1, %ecx
callq _pass_blame_to_parent
movq %r14, %rdi
callq _drop_origin_blob
cmpq $0, (%r13)
je LBB0_32
LBB0_40: ## in Loop: Header=BB0_38 Depth=1
cmpq %r15, %r12
jae LBB0_42
## %bb.41: ## in Loop: Header=BB0_38 Depth=1
movq 8(%rbx), %rbx
incq %r12
testq %rbx, %rbx
jne LBB0_38
LBB0_42:
movq _PICKAXE_BLAME_MOVE@GOTPCREL(%rip), %rax
movq -112(%rbp), %rcx ## 8-byte Reload
testl %ecx, (%rax)
movq -64(%rbp), %r14 ## 8-byte Reload
je LBB0_50
## %bb.43:
movl 24(%r14), %ecx
leaq -88(%rbp), %rsi
movq %r14, %rdi
movq -72(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdx
callq _filter_small
cmpq $0, (%rbx)
je LBB0_50
## %bb.44:
cmpl $0, -52(%rbp) ## 4-byte Folded Reload
setg %r14b
movq -64(%rbp), %rax ## 8-byte Reload
movl 16(%rax), %edx
movq -104(%rbp), %rdi ## 8-byte Reload
movq -96(%rbp), %rsi ## 8-byte Reload
callq _first_scapegoat
movq %rax, %rbx
testq %rax, %rax
setne %al
andb %r14b, %al
movq -64(%rbp), %r14 ## 8-byte Reload
cmpb $1, %al
jne LBB0_50
## %bb.45:
movl -52(%rbp), %r15d ## 4-byte Reload
movl $1, %r12d
leaq -88(%rbp), %r13
.p2align 4, 0x90
LBB0_46: ## =>This Inner Loop Header: Depth=1
movq -80(%rbp), %rax ## 8-byte Reload
movq -8(%rax,%r12,8), %r8
testq %r8, %r8
je LBB0_48
## %bb.47: ## in Loop: Header=BB0_46 Depth=1
movq %r14, %rdi
leaq -128(%rbp), %rsi
movq %r13, %rdx
movq -72(%rbp), %r14 ## 8-byte Reload
movq %r14, %rcx
callq _find_move_in_parent
cmpq $0, (%r14)
movq -64(%rbp), %r14 ## 8-byte Reload
je LBB0_50
LBB0_48: ## in Loop: Header=BB0_46 Depth=1
cmpq %r15, %r12
jae LBB0_50
## %bb.49: ## in Loop: Header=BB0_46 Depth=1
movq 8(%rbx), %rbx
incq %r12
testq %rbx, %rbx
jne LBB0_46
LBB0_50:
movq _PICKAXE_BLAME_COPY@GOTPCREL(%rip), %rax
movq -112(%rbp), %rcx ## 8-byte Reload
testl %ecx, (%rax)
je LBB0_63
## %bb.51:
movl 20(%r14), %ecx
cmpl 24(%r14), %ecx
movq -72(%rbp), %r13 ## 8-byte Reload
movq -80(%rbp), %r12 ## 8-byte Reload
movl -52(%rbp), %r15d ## 4-byte Reload
jg LBB0_54
## %bb.52:
jge LBB0_55
## %bb.53:
movq (%r13), %rdi
movq -88(%rbp), %rsi
callq _blame_merge
movq %rax, (%r13)
movq $0, -88(%rbp)
movl 20(%r14), %ecx
LBB0_54:
leaq -88(%rbp), %rsi
movq %r14, %rdi
movq %r13, %rdx
callq _filter_small
LBB0_55:
cmpq $0, (%r13)
je LBB0_65
## %bb.56:
testl %r15d, %r15d
movq %r14, %rax
setg %r14b
movl 16(%rax), %edx
movq -104(%rbp), %rdi ## 8-byte Reload
movq -96(%rbp), %rsi ## 8-byte Reload
callq _first_scapegoat
movq %rax, %rbx
testq %rax, %rax
setne %al
andb %r14b, %al
cmpb $1, %al
jne LBB0_57
## %bb.58:
movl %r15d, %r15d
movl $1, %r12d
leaq -88(%rbp), %r13
movq -64(%rbp), %r14 ## 8-byte Reload
.p2align 4, 0x90
LBB0_59: ## =>This Inner Loop Header: Depth=1
movq -80(%rbp), %rax ## 8-byte Reload
movq -8(%rax,%r12,8), %r9
movq (%rbx), %r8
subq $8, %rsp
movq %r14, %rdi
leaq -128(%rbp), %rsi
movq %r13, %rdx
movq -72(%rbp), %r14 ## 8-byte Reload
movq %r14, %rcx
pushq -112(%rbp) ## 8-byte Folded Reload
callq _find_copy_in_parent
addq $16, %rsp
cmpq $0, (%r14)
je LBB0_60
## %bb.61: ## in Loop: Header=BB0_59 Depth=1
cmpq %r15, %r12
jae LBB0_60
## %bb.62: ## in Loop: Header=BB0_59 Depth=1
movq 8(%rbx), %rbx
incq %r12
testq %rbx, %rbx
movq -64(%rbp), %r14 ## 8-byte Reload
jne LBB0_59
LBB0_63:
movq -72(%rbp), %r13 ## 8-byte Reload
movq -80(%rbp), %r12 ## 8-byte Reload
jmp LBB0_64
LBB0_79:
movq %r14, %rdi
movq -72(%rbp), %r13 ## 8-byte Reload
movq %r13, %rsi
movq %rbx, %rdx
callq _pass_whole_blame
movq %rbx, %rdi
callq _blame_origin_decref
jmp LBB0_64
LBB0_57:
movq -64(%rbp), %r14 ## 8-byte Reload
jmp LBB0_65
LBB0_60:
movq -72(%rbp), %r13 ## 8-byte Reload
LBB0_32:
movq -80(%rbp), %r12 ## 8-byte Reload
movq -64(%rbp), %r14 ## 8-byte Reload
LBB0_64:
movl -52(%rbp), %r15d ## 4-byte Reload
LBB0_65:
movq -128(%rbp), %rax
movq $0, (%rax)
movq -192(%rbp), %rsi
movq %r14, %rdi
callq _distribute_blame
movq -88(%rbp), %rax
testq %rax, %rax
je LBB0_68
.p2align 4, 0x90
LBB0_66: ## =>This Inner Loop Header: Depth=1
movq %rax, %rcx
movq (%rax), %rax
testq %rax, %rax
jne LBB0_66
## %bb.67:
movq (%r13), %rax
movq %rax, (%rcx)
movq -88(%rbp), %rax
movq %rax, (%r13)
LBB0_68:
testl %r15d, %r15d
jle LBB0_75
## %bb.69:
movl %r15d, %ebx
xorl %r14d, %r14d
jmp LBB0_70
.p2align 4, 0x90
LBB0_73: ## in Loop: Header=BB0_70 Depth=1
callq _blame_origin_decref
LBB0_74: ## in Loop: Header=BB0_70 Depth=1
incq %r14
cmpq %r14, %rbx
je LBB0_75
LBB0_70: ## =>This Inner Loop Header: Depth=1
movq (%r12,%r14,8), %rdi
testq %rdi, %rdi
je LBB0_74
## %bb.71: ## in Loop: Header=BB0_70 Depth=1
cmpq $0, (%rdi)
jne LBB0_73
## %bb.72: ## in Loop: Header=BB0_70 Depth=1
callq _drop_origin_blob
movq (%r12,%r14,8), %rdi
jmp LBB0_73
LBB0_75:
movq %r13, %rdi
callq _drop_origin_blob
cmpq %r12, -152(%rbp) ## 8-byte Folded Reload
je LBB0_77
## %bb.76:
movq %r12, %rdi
callq _free
LBB0_77:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_80
## %bb.78:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_80:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MAXSG,4,2 ## @MAXSG
.comm _PICKAXE_BLAME_MOVE,4,2 ## @PICKAXE_BLAME_MOVE
.comm _PICKAXE_BLAME_COPY,4,2 ## @PICKAXE_BLAME_COPY
.no_dead_strip _pass_blame
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function pass_blame
_pass_blame: ; @pass_blame
.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, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x21, x2
mov x19, x1
mov x26, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
ldr x0, [x0, #40]
ldr x1, [x1, #24]
Lloh3:
adrp x8, _MAXSG@GOTPAGE
Lloh4:
ldr x8, [x8, _MAXSG@GOTPAGEOFF]
Lloh5:
ldr w20, [x8]
lsl x8, x20, #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 x23, x9, x8
mov sp, x23
stur xzr, [x29, #-96]
sub x8, x29, #104
stp x1, x8, [x29, #-120] ; 8-byte Folded Spill
ldr w2, [x26, #16]
stur x0, [x29, #-128] ; 8-byte Folded Spill
bl _num_scapegoats
mov x25, x0
cbz w0, LBB0_3
; %bb.1:
mov x0, x23
bl _ARRAY_SIZE
cmp w25, w0
stur x23, [x29, #-152] ; 8-byte Folded Spill
stur w21, [x29, #-156] ; 4-byte Folded Spill
mov x22, x19
b.le LBB0_4
; %bb.2:
mov x0, x25
mov w1, #8 ; =0x8
bl _xcalloc
mov x21, x0
b LBB0_5
LBB0_3:
mov x21, x23
b LBB0_69
LBB0_4:
lsl w2, w20, #3
mov x0, x23
mov w1, #0 ; =0x0
bl _memset
mov x21, x23
LBB0_5:
ldr w8, [x26]
cmn w8, #1
stur x25, [x29, #-136] ; 8-byte Folded Spill
b.lt LBB0_26
; %bb.6:
mov w24, #0 ; =0x0
sxtw x20, w25
stur x22, [x29, #-144] ; 8-byte Folded Spill
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_8 Depth=1
sub w8, w24, #1
mov x26, x19
ldr w9, [x19]
add w9, w9, #2
cmp w24, w9
mov x24, x8
ldur x25, [x29, #-136] ; 8-byte Folded Reload
b.gt LBB0_26
LBB0_8: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
; Child Loop BB0_18 Depth 3
cmp w24, #0
Lloh8:
adrp x8, _find_rename@GOTPAGE
Lloh9:
ldr x8, [x8, _find_rename@GOTPAGEOFF]
Lloh10:
adrp x9, _find_origin@GOTPAGE
Lloh11:
ldr x9, [x9, _find_origin@GOTPAGEOFF]
csel x23, x9, x8, eq
mov x19, x26
ldr w2, [x26, #16]
ldp x0, x1, [x29, #-128] ; 16-byte Folded Reload
bl _first_scapegoat
cmp w25, #1
b.lt LBB0_7
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
mov x27, x0
cbz x0, LBB0_7
; %bb.10: ; in Loop: Header=BB0_8 Depth=1
mov x26, #0 ; =0x0
LBB0_11: ; Parent Loop BB0_8 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_18 Depth 3
ldr x8, [x21, x26, lsl #3]
cbnz x8, LBB0_24
; %bb.12: ; in Loop: Header=BB0_11 Depth=2
ldr x28, [x27]
mov x0, x28
bl _parse_commit
cbnz x0, LBB0_24
; %bb.13: ; in Loop: Header=BB0_11 Depth=2
ldr x0, [x19, #8]
mov x1, x28
mov x2, x22
blr x23
cbz x0, LBB0_24
; %bb.14: ; in Loop: Header=BB0_11 Depth=2
mov x28, x0
add x0, x0, #16
add x1, x22, #16
bl _oideq
cbnz x0, LBB0_55
; %bb.15: ; in Loop: Header=BB0_11 Depth=2
mov x25, x23
cbz x26, LBB0_22
; %bb.16: ; in Loop: Header=BB0_11 Depth=2
mov x22, #0 ; =0x0
mov w23, #0 ; =0x0
b LBB0_18
LBB0_17: ; in Loop: Header=BB0_18 Depth=3
add x22, x22, #1
cmp x26, x22
b.eq LBB0_20
LBB0_18: ; Parent Loop BB0_8 Depth=1
; Parent Loop BB0_11 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [x21, x22, lsl #3]
cbz x8, LBB0_17
; %bb.19: ; in Loop: Header=BB0_18 Depth=3
add x0, x8, #16
add x1, x28, #16
bl _oideq
cmp x0, #0
csinc w23, w23, wzr, eq
b LBB0_17
LBB0_20: ; in Loop: Header=BB0_11 Depth=2
ldur x22, [x29, #-144] ; 8-byte Folded Reload
cbz w23, LBB0_22
; %bb.21: ; in Loop: Header=BB0_11 Depth=2
mov x0, x28
bl _blame_origin_decref
b LBB0_23
LBB0_22: ; in Loop: Header=BB0_11 Depth=2
str x28, [x21, x26, lsl #3]
LBB0_23: ; in Loop: Header=BB0_11 Depth=2
mov x23, x25
LBB0_24: ; in Loop: Header=BB0_11 Depth=2
add x26, x26, #1
cmp x26, x20
b.ge LBB0_7
; %bb.25: ; in Loop: Header=BB0_11 Depth=2
ldr x27, [x27, #8]
cbnz x27, LBB0_11
b LBB0_7
LBB0_26:
ldr w8, [x26, #32]
add w8, w8, #1
str w8, [x26, #32]
ldr w2, [x26, #16]
ldp x0, x1, [x29, #-128] ; 16-byte Folded Reload
bl _first_scapegoat
cmp w25, #1
mov x19, x22
b.lt LBB0_35
; %bb.27:
mov x27, x0
cbz x0, LBB0_35
; %bb.28:
mov x20, #0 ; =0x0
mov w24, w25
LBB0_29: ; =>This Inner Loop Header: Depth=1
ldr x28, [x21, x20, lsl #3]
cbz x28, LBB0_33
; %bb.30: ; in Loop: Header=BB0_29 Depth=1
ldr x8, [x19, #8]
cbnz x8, LBB0_32
; %bb.31: ; in Loop: Header=BB0_29 Depth=1
mov x0, x28
bl _blame_origin_incref
str x28, [x19, #8]
LBB0_32: ; in Loop: Header=BB0_29 Depth=1
mov x0, x26
mov x1, x19
mov x2, x28
mov w3, #0 ; =0x0
bl _pass_blame_to_parent
ldr x8, [x19]
cbz x8, LBB0_56
LBB0_33: ; in Loop: Header=BB0_29 Depth=1
add x20, x20, #1
cmp x20, x24
b.hs LBB0_35
; %bb.34: ; in Loop: Header=BB0_29 Depth=1
ldr x27, [x27, #8]
cbnz x27, LBB0_29
LBB0_35:
add x0, x26, #28
ldur x1, [x29, #-120] ; 8-byte Folded Reload
bl _oidset_contains
cbz x0, LBB0_43
; %bb.36:
ldr w2, [x26, #16]
ldp x0, x1, [x29, #-128] ; 16-byte Folded Reload
bl _first_scapegoat
cmp w25, #1
b.lt LBB0_43
; %bb.37:
mov x27, x0
cbz x0, LBB0_43
; %bb.38:
mov x20, #0 ; =0x0
mov w24, w25
LBB0_39: ; =>This Inner Loop Header: Depth=1
ldr x28, [x21, x20, lsl #3]
cbz x28, LBB0_41
; %bb.40: ; in Loop: Header=BB0_39 Depth=1
mov x0, x26
mov x1, x19
mov x2, x28
mov w3, #1 ; =0x1
bl _pass_blame_to_parent
mov x0, x28
bl _drop_origin_blob
ldr x8, [x19]
cbz x8, LBB0_56
LBB0_41: ; in Loop: Header=BB0_39 Depth=1
add x20, x20, #1
cmp x20, x24
b.hs LBB0_43
; %bb.42: ; in Loop: Header=BB0_39 Depth=1
ldr x27, [x27, #8]
cbnz x27, LBB0_39
LBB0_43:
mov x22, x26
Lloh12:
adrp x8, _PICKAXE_BLAME_MOVE@GOTPAGE
Lloh13:
ldr x8, [x8, _PICKAXE_BLAME_MOVE@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
ldur w26, [x29, #-156] ; 4-byte Folded Reload
tst w8, w26
b.eq LBB0_52
; %bb.44:
mov x0, x22
ldr w3, [x22, #24]
sub x1, x29, #96
mov x2, x19
bl _filter_small
ldr x8, [x19]
cbz x8, LBB0_52
; %bb.45:
ldr w2, [x22, #16]
ldp x0, x1, [x29, #-128] ; 16-byte Folded Reload
bl _first_scapegoat
ldur x8, [x29, #-136] ; 8-byte Folded Reload
cmp w8, #1
b.lt LBB0_52
; %bb.46:
mov x27, x0
cbz x0, LBB0_52
; %bb.47:
ldur x8, [x29, #-136] ; 8-byte Folded Reload
mov w20, w8
mov w24, #1 ; =0x1
mov x25, x21
LBB0_48: ; =>This Inner Loop Header: Depth=1
ldr x4, [x25]
cbz x4, LBB0_50
; %bb.49: ; in Loop: Header=BB0_48 Depth=1
sub x1, x29, #112
sub x2, x29, #96
mov x0, x22
mov x3, x19
bl _find_move_in_parent
ldr x8, [x19]
cbz x8, LBB0_52
LBB0_50: ; in Loop: Header=BB0_48 Depth=1
cmp x24, x20
b.hs LBB0_52
; %bb.51: ; in Loop: Header=BB0_48 Depth=1
ldr x27, [x27, #8]
add x25, x25, #8
add x24, x24, #1
cbnz x27, LBB0_48
LBB0_52:
Lloh15:
adrp x8, _PICKAXE_BLAME_COPY@GOTPAGE
Lloh16:
ldr x8, [x8, _PICKAXE_BLAME_COPY@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
tst w8, w26
b.eq LBB0_57
; %bb.53:
ldp w3, w8, [x22, #20]
cmp w3, w8
ldur x23, [x29, #-152] ; 8-byte Folded Reload
b.le LBB0_58
; %bb.54:
mov x0, x22
b LBB0_60
LBB0_55:
mov x26, x19
mov x0, x19
mov x1, x22
mov x2, x28
bl _pass_whole_blame
mov x0, x28
bl _blame_origin_decref
ldur x23, [x29, #-152] ; 8-byte Folded Reload
ldur x25, [x29, #-136] ; 8-byte Folded Reload
mov x19, x22
b LBB0_69
LBB0_56:
ldur x23, [x29, #-152] ; 8-byte Folded Reload
b LBB0_69
LBB0_57:
ldur x23, [x29, #-152] ; 8-byte Folded Reload
b LBB0_68
LBB0_58:
b.ge LBB0_61
; %bb.59:
ldr x0, [x19]
ldur x1, [x29, #-96]
bl _blame_merge
str x0, [x19]
stur xzr, [x29, #-96]
mov x0, x22
ldr w3, [x22, #20]
LBB0_60:
sub x1, x29, #96
mov x2, x19
bl _filter_small
LBB0_61:
ldr x8, [x19]
cbz x8, LBB0_68
; %bb.62:
ldr w2, [x22, #16]
ldp x0, x1, [x29, #-128] ; 16-byte Folded Reload
bl _first_scapegoat
ldur x8, [x29, #-136] ; 8-byte Folded Reload
cmp w8, #1
b.lt LBB0_68
; %bb.63:
mov x25, x0
cbz x0, LBB0_68
; %bb.64:
mov x20, #0 ; =0x0
ldur x8, [x29, #-136] ; 8-byte Folded Reload
mov w24, w8
LBB0_65: ; =>This Inner Loop Header: Depth=1
ldr x5, [x21, x20, lsl #3]
ldr x4, [x25]
sub x1, x29, #112
sub x2, x29, #96
mov x0, x22
mov x3, x19
mov x6, x26
bl _find_copy_in_parent
ldr x8, [x19]
cbz x8, LBB0_68
; %bb.66: ; in Loop: Header=BB0_65 Depth=1
add x20, x20, #1
cmp x20, x24
b.hs LBB0_68
; %bb.67: ; in Loop: Header=BB0_65 Depth=1
ldr x25, [x25, #8]
cbnz x25, LBB0_65
LBB0_68:
ldur x25, [x29, #-136] ; 8-byte Folded Reload
mov x26, x22
LBB0_69:
ldur x8, [x29, #-112]
str xzr, [x8]
ldur x1, [x29, #-104]
mov x0, x26
bl _distribute_blame
ldur x8, [x29, #-96]
cbz x8, LBB0_72
LBB0_70: ; =>This Inner Loop Header: Depth=1
mov x9, x8
ldr x8, [x8]
cbnz x8, LBB0_70
; %bb.71:
ldr x8, [x19]
str x8, [x9]
ldur x8, [x29, #-96]
str x8, [x19]
LBB0_72:
cmp w25, #1
b.lt LBB0_79
; %bb.73:
mov w20, w25
mov x22, x21
b LBB0_76
LBB0_74: ; in Loop: Header=BB0_76 Depth=1
bl _blame_origin_decref
LBB0_75: ; in Loop: Header=BB0_76 Depth=1
add x22, x22, #8
subs x20, x20, #1
b.eq LBB0_79
LBB0_76: ; =>This Inner Loop Header: Depth=1
ldr x0, [x22]
cbz x0, LBB0_75
; %bb.77: ; in Loop: Header=BB0_76 Depth=1
ldr x8, [x0]
cbnz x8, LBB0_74
; %bb.78: ; in Loop: Header=BB0_76 Depth=1
bl _drop_origin_blob
ldr x0, [x22]
b LBB0_74
LBB0_79:
mov x0, x19
bl _drop_origin_blob
cmp x23, x21
b.eq LBB0_81
; %bb.80:
mov x0, x21
bl _free
LBB0_81:
ldur x8, [x29, #-88]
Lloh18:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh19:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_83
; %bb.82:
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_83:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _MAXSG,4,2 ; @MAXSG
.comm _PICKAXE_BLAME_MOVE,4,2 ; @PICKAXE_BLAME_MOVE
.comm _PICKAXE_BLAME_COPY,4,2 ; @PICKAXE_BLAME_COPY
.no_dead_strip _pass_blame
.subsections_via_symbols
| assembly_file_178446.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function _hpcopy
__hpcopy: ## @_hpcopy
.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
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TRY_AGAIN,4,2 ## @TRY_AGAIN
.no_dead_strip __hpcopy
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function _hpcopy
__hpcopy: ; @_hpcopy
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.comm _TRY_AGAIN,4,2 ; @TRY_AGAIN
.no_dead_strip __hpcopy
.subsections_via_symbols
| assembly_file_80831.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pmCPUStateInit ## -- Begin function pmCPUStateInit
.p2align 4, 0x90
_pmCPUStateInit: ## @pmCPUStateInit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _pmDispatch@GOTPCREL(%rip), %rax
movq (%rax), %rax
testq %rax, %rax
je LBB0_2
## %bb.1:
movq (%rax), %rcx
testq %rcx, %rcx
je LBB0_2
## %bb.3:
xorl %eax, %eax
popq %rbp
jmpq *%rcx ## TAILCALL
LBB0_2:
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _earlyTopology@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _pmDispatch,8,3 ## @pmDispatch
.comm _TRUE,4,2 ## @TRUE
.comm _earlyTopology,4,2 ## @earlyTopology
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pmCPUStateInit ; -- Begin function pmCPUStateInit
.p2align 2
_pmCPUStateInit: ; @pmCPUStateInit
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _pmDispatch@GOTPAGE
Lloh1:
ldr x8, [x8, _pmDispatch@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cbz x8, LBB0_3
; %bb.1:
ldr x0, [x8]
cbz x0, LBB0_3
; %bb.2:
br x0
LBB0_3:
Lloh3:
adrp x8, _TRUE@GOTPAGE
Lloh4:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
Lloh6:
adrp x9, _earlyTopology@GOTPAGE
Lloh7:
ldr x9, [x9, _earlyTopology@GOTPAGEOFF]
Lloh8:
str w8, [x9]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotStr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _pmDispatch,8,3 ; @pmDispatch
.comm _TRUE,4,2 ; @TRUE
.comm _earlyTopology,4,2 ; @earlyTopology
.subsections_via_symbols
| AnghaBench/darwin-xnu/osfmk/i386/extr_pmCPU.c_pmCPUStateInit.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function alloc_session
_alloc_session: ## @alloc_session
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, -48(%rbp) ## 8-byte Spill
movq %rdi, %r12
movl (%rdi), %r15d
callq _slot_bytes
movl %eax, %r14d
movq _NFSD_MAX_SLOTS_PER_SESSION@GOTPCREL(%rip), %rax
movslq (%rax), %rax
leaq 16(,%rax,8), %rax
movq _PAGE_SIZE@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
xorl %edi, %edi
cmpq %rcx, %rax
seta %dil
callq _BUILD_BUG_ON
leal 16(,%r15,8), %edi
movq _GFP_KERNEL@GOTPCREL(%rip), %r13
movl (%r13), %esi
callq _kzalloc
testq %rax, %rax
je LBB0_7
## %bb.1:
movq %rax, %rbx
testl %r15d, %r15d
jle LBB0_9
## %bb.2:
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r15, %r12
movl (%r13), %esi
movl %r14d, %edi
callq _kzalloc
movq (%rbx), %rcx
movq %rax, (%rcx,%r15,8)
movq (%rbx), %rax
decq %r15
cmpq $0, (%rax,%r12,8)
jne LBB0_3
## %bb.4:
cmpq $-1, %r15
je LBB0_6
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq (%rbx), %rax
movq (%rax,%r15,8), %rdi
callq _kfree
addq $-1, %r15
jb LBB0_5
LBB0_6:
movq %rbx, %rdi
callq _kfree
LBB0_7:
xorl %ebx, %ebx
jmp LBB0_8
LBB0_9:
leaq 12(%rbx), %rdi
movq %r12, %rsi
movl $4, %edx
callq _memcpy
movq %rbx, %rdi
addq $8, %rdi
movq -48(%rbp), %rsi ## 8-byte Reload
movl $4, %edx
callq _memcpy
LBB0_8:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NFSD_MAX_SLOTS_PER_SESSION,4,2 ## @NFSD_MAX_SLOTS_PER_SESSION
.comm _PAGE_SIZE,4,2 ## @PAGE_SIZE
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.no_dead_strip _alloc_session
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function alloc_session
_alloc_session: ; @alloc_session
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x21, x1
mov x22, x0
ldr w24, [x0]
bl _slot_bytes
mov x20, x0
Lloh0:
adrp x8, _NFSD_MAX_SLOTS_PER_SESSION@GOTPAGE
Lloh1:
ldr x8, [x8, _NFSD_MAX_SLOTS_PER_SESSION@GOTPAGEOFF]
Lloh2:
ldrsw x8, [x8]
lsl x8, x8, #3
add x8, x8, #16
Lloh3:
adrp x9, _PAGE_SIZE@GOTPAGE
Lloh4:
ldr x9, [x9, _PAGE_SIZE@GOTPAGEOFF]
Lloh5:
ldrsw x9, [x9]
cmp x8, x9
cset w0, hi
bl _BUILD_BUG_ON
lsl w8, w24, #3
Lloh6:
adrp x23, _GFP_KERNEL@GOTPAGE
Lloh7:
ldr x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
ldr w1, [x23]
add w0, w8, #16
bl _kzalloc
mov x19, x0
cbz x0, LBB0_8
; %bb.1:
cmp w24, #1
b.lt LBB0_7
; %bb.2:
mov x21, #0 ; =0x0
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w1, [x23]
mov x0, x20
bl _kzalloc
ldr x8, [x19]
str x0, [x8, x21, lsl #3]
ldr x8, [x19]
ldr x8, [x8, x21, lsl #3]
sub x21, x21, #1
cbnz x8, LBB0_3
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x19]
ldr x0, [x8, x21, lsl #3]
bl _kfree
sub x21, x21, #1
LBB0_5: ; =>This Inner Loop Header: Depth=1
cmn x21, #1
b.ne LBB0_4
; %bb.6:
mov x0, x19
bl _kfree
mov x19, #0 ; =0x0
b LBB0_8
LBB0_7:
add x0, x19, #12
mov x1, x22
mov w2, #4 ; =0x4
bl _memcpy
add x0, x19, #8
mov x1, x21
mov w2, #4 ; =0x4
bl _memcpy
LBB0_8:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _NFSD_MAX_SLOTS_PER_SESSION,4,2 ; @NFSD_MAX_SLOTS_PER_SESSION
.comm _PAGE_SIZE,4,2 ; @PAGE_SIZE
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.no_dead_strip _alloc_session
.subsections_via_symbols
| assembly_file_180941.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function autofs_can_expire
_autofs_can_expire: ## @autofs_can_expire
.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, %ebx
movq %rsi, %r14
callq _autofs_dentry_ino
xorl %r15d, %r15d
testq %rax, %rax
je LBB0_5
## %bb.1:
movq _AUTOFS_EXP_IMMEDIATE@GOTPCREL(%rip), %rcx
testl %ebx, (%rcx)
je LBB0_2
LBB0_4:
movl $1, %r15d
LBB0_5:
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
testq %r14, %r14
je LBB0_5
## %bb.3:
addq (%rax), %r14
movq _jiffies@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _time_after
testq %rax, %rax
jne LBB0_5
jmp LBB0_4
.cfi_endproc
## -- End function
.comm _AUTOFS_EXP_IMMEDIATE,4,2 ## @AUTOFS_EXP_IMMEDIATE
.comm _jiffies,4,2 ## @jiffies
.no_dead_strip _autofs_can_expire
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function autofs_can_expire
_autofs_can_expire: ; @autofs_can_expire
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x2
mov x19, x1
bl _autofs_dentry_ino
cbz x0, LBB0_6
; %bb.1:
Lloh0:
adrp x8, _AUTOFS_EXP_IMMEDIATE@GOTPAGE
Lloh1:
ldr x8, [x8, _AUTOFS_EXP_IMMEDIATE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
tst w8, w20
b.eq LBB0_3
LBB0_2:
mov w0, #1
b LBB0_6
LBB0_3:
cbz x19, LBB0_5
; %bb.4:
ldr x8, [x0]
add x0, x8, x19
Lloh3:
adrp x8, _jiffies@GOTPAGE
Lloh4:
ldr x8, [x8, _jiffies@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _time_after
cbz x0, LBB0_2
LBB0_5:
mov w0, #0
LBB0_6:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _AUTOFS_EXP_IMMEDIATE,4,2 ; @AUTOFS_EXP_IMMEDIATE
.comm _jiffies,4,2 ; @jiffies
.no_dead_strip _autofs_can_expire
.subsections_via_symbols
| AnghaBench/linux/fs/autofs/extr_expire.c_autofs_can_expire.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _FS_GetModList ## -- Begin function FS_GetModList
.p2align 4, 0x90
_FS_GetModList: ## @FS_GetModList
.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 $184, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, -164(%rbp) ## 4-byte Spill
movq %rdi, %rbx
movq %rsp, -192(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MAX_INSTALL_PATH@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq %rax, -208(%rbp) ## 8-byte Spill
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -200(%rbp) ## 8-byte Spill
movq _qfalse@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -112(%rbp) ## 8-byte Spill
movq _fs_basepath@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax), %rax
movq %rax, -96(%rbp)
movq _fs_homepath@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax), %rax
movq %rax, -88(%rbp)
movq _fs_steampath@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax), %rax
movq %rax, -80(%rbp)
movq _fs_gogpath@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax), %rax
movq %rax, -72(%rbp)
movq _fs_temporarypath@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax), %rax
movq %rax, -64(%rbp)
movq %rbx, -176(%rbp) ## 8-byte Spill
movb $0, (%rbx)
leaq -96(%rbp), %rdi
callq _ARRAY_LEN
movq $0, -128(%rbp) ## 8-byte Folded Spill
testl %eax, %eax
js LBB0_1
## %bb.2:
movq $-1, %r15
xorl %r13d, %r13d
movq _qtrue@GOTPCREL(%rip), %r12
leaq -220(%rbp), %rbx
leaq -96(%rbp), %r14
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq -88(%rbp,%r15,8), %rdi
movq (%r12), %r8
xorl %esi, %esi
xorl %edx, %edx
movq %rbx, %rcx
callq _Sys_ListFiles
movq %r13, %rdi
movq %rax, %rsi
callq _Sys_ConcatenateFileLists
movq %rax, %r13
movq %r14, %rdi
callq _ARRAY_LEN
cltq
incq %r15
cmpq %rax, %r15
jl LBB0_3
jmp LBB0_4
LBB0_1:
xorl %r13d, %r13d
LBB0_4:
movq %r13, -160(%rbp) ## 8-byte Spill
movq %r13, %rdi
callq _Sys_CountFileList
testl %eax, %eax
movq -112(%rbp), %r15 ## 8-byte Reload
jle LBB0_29
## %bb.5:
movl %eax, %eax
movq %rax, -216(%rbp) ## 8-byte Spill
xorl %ecx, %ecx
movq $0, -128(%rbp) ## 8-byte Folded Spill
movq $0, -120(%rbp) ## 8-byte Folded Spill
## implicit-def: $r13d
jmp LBB0_6
.p2align 4, 0x90
LBB0_27: ## in Loop: Header=BB0_6 Depth=1
movq -136(%rbp), %rcx ## 8-byte Reload
LBB0_28: ## in Loop: Header=BB0_6 Depth=1
incq %rcx
cmpq -216(%rbp), %rcx ## 8-byte Folded Reload
je LBB0_29
LBB0_6: ## =>This Loop Header: Depth=1
## Child Loop BB0_8 Depth 2
## Child Loop BB0_17 Depth 2
## Child Loop BB0_19 Depth 3
movq -160(%rbp), %rax ## 8-byte Reload
movq (%rax,%rcx,8), %rsi
testq %rcx, %rcx
je LBB0_11
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movq _qfalse@GOTPCREL(%rip), %rax
movq (%rax), %r15
xorl %ebx, %ebx
jmp LBB0_8
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_8 Depth=2
incq %rbx
movq %r14, %rcx
cmpq %rbx, %r14
movq %r12, %rsi
je LBB0_11
LBB0_8: ## Parent Loop BB0_6 Depth=1
## => This Inner Loop Header: Depth=2
movq %rcx, %r14
movq -160(%rbp), %rax ## 8-byte Reload
movq (%rax,%rbx,8), %rdi
movq %rsi, %r12
callq _Q_stricmp
testq %rax, %rax
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_8 Depth=2
movq _qtrue@GOTPCREL(%rip), %rax
movq (%rax), %r15
jmp LBB0_10
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_6 Depth=1
testq %r15, %r15
jne LBB0_28
## %bb.12: ## in Loop: Header=BB0_6 Depth=1
movq %rcx, -136(%rbp) ## 8-byte Spill
movq _com_basegame@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rsi, %rbx
movq (%rax), %rsi
movq %rbx, %rdi
callq _Q_stricmp
testq %rax, %rax
je LBB0_27
## %bb.13: ## in Loop: Header=BB0_6 Depth=1
movq %rbx, -184(%rbp) ## 8-byte Spill
movq %rbx, %rdi
leaq L_.str(%rip), %rsi
movl $1, %edx
callq _Q_stricmpn
testq %rax, %rax
je LBB0_27
## %bb.14: ## in Loop: Header=BB0_6 Depth=1
leaq -96(%rbp), %rdi
callq _ARRAY_LEN
testl %eax, %eax
movq %r15, -112(%rbp) ## 8-byte Spill
jle LBB0_23
## %bb.15: ## in Loop: Header=BB0_6 Depth=1
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_17: ## Parent Loop BB0_6 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_19 Depth 3
movq %rbx, -144(%rbp) ## 8-byte Spill
movq -96(%rbp,%rbx,8), %rdi
movq -184(%rbp), %rsi ## 8-byte Reload
leaq L_.str.1(%rip), %rdx
callq _FS_BuildOSPath
movq %rax, %r15
movl $0, -100(%rbp)
movl $0, -104(%rbp)
movq _qfalse@GOTPCREL(%rip), %rbx
movq (%rbx), %r8
xorl %r13d, %r13d
movq %rax, %rdi
leaq L_.str.2(%rip), %rsi
xorl %edx, %edx
leaq -104(%rbp), %rcx
callq _Sys_ListFiles
movq %rax, -152(%rbp) ## 8-byte Spill
movq (%rbx), %r8
movq %r15, %rdi
leaq L_.str.3(%rip), %rsi
xorl %edx, %edx
leaq -100(%rbp), %rcx
callq _Sys_ListFiles
movq %rax, %r15
cmpl $0, -100(%rbp)
leaq L_.str.4(%rip), %r12
jle LBB0_20
## %bb.18: ## in Loop: Header=BB0_17 Depth=2
xorl %r14d, %r14d
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_19: ## Parent Loop BB0_6 Depth=1
## Parent Loop BB0_17 Depth=2
## => This Inner Loop Header: Depth=3
movq (%r15,%r14,8), %rbx
movq %rbx, %rdi
callq _strlen
movq %rbx, %rdi
movq %r12, %rsi
movl %eax, %edx
callq _FS_IsExt
cmpq $1, %rax
sbbl $-1, %r13d
incq %r14
movslq -100(%rbp), %rax
cmpq %rax, %r14
jl LBB0_19
LBB0_20: ## in Loop: Header=BB0_17 Depth=2
movq -152(%rbp), %rdi ## 8-byte Reload
callq _Sys_FreeFileList
movq %r15, %rdi
callq _Sys_FreeFileList
cmpl $0, -104(%rbp)
jg LBB0_21
## %bb.22: ## in Loop: Header=BB0_17 Depth=2
testl %r13d, %r13d
movq -112(%rbp), %r15 ## 8-byte Reload
jg LBB0_23
## %bb.16: ## in Loop: Header=BB0_17 Depth=2
movq -144(%rbp), %rbx ## 8-byte Reload
incq %rbx
leaq -96(%rbp), %rdi
callq _ARRAY_LEN
cltq
cmpq %rax, %rbx
jl LBB0_17
jmp LBB0_23
LBB0_21: ## in Loop: Header=BB0_6 Depth=1
movq -112(%rbp), %r15 ## 8-byte Reload
LBB0_23: ## in Loop: Header=BB0_6 Depth=1
cmpl $0, -104(%rbp)
movq -184(%rbp), %r12 ## 8-byte Reload
jg LBB0_25
## %bb.24: ## in Loop: Header=BB0_6 Depth=1
testl %r13d, %r13d
jle LBB0_27
LBB0_25: ## in Loop: Header=BB0_6 Depth=1
movq %r12, %rdi
callq _strlen
movl %eax, %r14d
movq %r12, %rdi
movq -200(%rbp), %r15 ## 8-byte Reload
movq %r15, %rsi
movq -208(%rbp), %rdx ## 8-byte Reload
## kill: def $edx killed $edx killed $rdx
callq _FS_GetModDescription
movq %r15, %rdi
callq _strlen
movl %eax, %ebx
movq -120(%rbp), %rcx ## 8-byte Reload
addl %r14d, %ecx
leal (%rbx,%rcx), %eax
addl $2, %eax
cmpl -164(%rbp), %eax ## 4-byte Folded Reload
jge LBB0_29
## %bb.26: ## in Loop: Header=BB0_6 Depth=1
leal 1(%rbx), %eax
movl %eax, -152(%rbp) ## 4-byte Spill
movslq %r14d, %rax
movq %rax, -120(%rbp) ## 8-byte Spill
movq -176(%rbp), %r14 ## 8-byte Reload
addq %r14, %rax
movq %rax, -144(%rbp) ## 8-byte Spill
movq %r14, %rdi
movq %r12, %rsi
movq %rcx, %r12
callq _strcpy
movq -120(%rbp), %rax ## 8-byte Reload
leaq (%rax,%r14), %rdi
decq %rdi
movq %r15, %rsi
callq _strcpy
movslq -152(%rbp), %rax ## 4-byte Folded Reload
movq -144(%rbp), %rcx ## 8-byte Reload
addq %rcx, %rax
decq %rax
movq %rax, -176(%rbp) ## 8-byte Spill
addl %ebx, %r12d
movq %r12, -120(%rbp) ## 8-byte Spill
movq -128(%rbp), %rax ## 8-byte Reload
incl %eax
movq %rax, -128(%rbp) ## 8-byte Spill
movq -112(%rbp), %r15 ## 8-byte Reload
jmp LBB0_27
LBB0_29:
movq -160(%rbp), %rdi ## 8-byte Reload
callq _Sys_FreeFileList
movq -192(%rbp), %rsp ## 8-byte Reload
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_31
## %bb.30:
movq -128(%rbp), %rax ## 8-byte Reload
## 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_31:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MAX_INSTALL_PATH,4,2 ## @MAX_INSTALL_PATH
.comm _qfalse,8,3 ## @qfalse
.comm _fs_basepath,8,3 ## @fs_basepath
.comm _fs_homepath,8,3 ## @fs_homepath
.comm _fs_steampath,8,3 ## @fs_steampath
.comm _fs_gogpath,8,3 ## @fs_gogpath
.comm _fs_temporarypath,8,3 ## @fs_temporarypath
.comm _qtrue,8,3 ## @qtrue
.comm _com_basegame,8,3 ## @com_basegame
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "."
L_.str.1: ## @.str.1
.space 1
L_.str.2: ## @.str.2
.asciz ".pk3"
L_.str.3: ## @.str.3
.asciz "/"
L_.str.4: ## @.str.4
.asciz ".pk3dir"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _FS_GetModList ; -- Begin function FS_GetModList
.p2align 2
_FS_GetModList: ; @FS_GetModList
.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, #128
.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
stur w1, [x29, #-180] ; 4-byte Folded Spill
mov x22, x0
mov x8, sp
stur x8, [x29, #-200] ; 8-byte Folded Spill
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
Lloh3:
adrp x8, _MAX_INSTALL_PATH@GOTPAGE
Lloh4:
ldr x8, [x8, _MAX_INSTALL_PATH@GOTPAGEOFF]
Lloh5:
ldr w12, [x8]
mov x9, x12
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
stur x12, [x29, #-192] ; 8-byte Folded Spill
add x9, x12, #15
and x9, x9, #0x1fffffff0
sub x24, x8, x9
mov sp, x24
Lloh8:
adrp x8, _qfalse@GOTPAGE
Lloh9:
ldr x8, [x8, _qfalse@GOTPAGEOFF]
Lloh10:
ldr x26, [x8]
Lloh11:
adrp x8, _fs_basepath@GOTPAGE
Lloh12:
ldr x8, [x8, _fs_basepath@GOTPAGEOFF]
Lloh13:
ldr x8, [x8]
ldr x8, [x8]
stur x8, [x29, #-128]
Lloh14:
adrp x8, _fs_homepath@GOTPAGE
Lloh15:
ldr x8, [x8, _fs_homepath@GOTPAGEOFF]
Lloh16:
ldr x8, [x8]
ldr x8, [x8]
stur x8, [x29, #-120]
Lloh17:
adrp x8, _fs_steampath@GOTPAGE
Lloh18:
ldr x8, [x8, _fs_steampath@GOTPAGEOFF]
Lloh19:
ldr x8, [x8]
ldr x8, [x8]
stur x8, [x29, #-112]
Lloh20:
adrp x8, _fs_gogpath@GOTPAGE
Lloh21:
ldr x8, [x8, _fs_gogpath@GOTPAGEOFF]
Lloh22:
ldr x8, [x8]
ldr x8, [x8]
stur x8, [x29, #-104]
Lloh23:
adrp x8, _fs_temporarypath@GOTPAGE
Lloh24:
ldr x8, [x8, _fs_temporarypath@GOTPAGEOFF]
Lloh25:
ldr x8, [x8]
ldr x8, [x8]
stur x8, [x29, #-96]
strb wzr, [x0]
sub x19, x29, #128
sub x0, x29, #128
bl _ARRAY_LEN
Lloh26:
adrp x27, _qtrue@GOTPAGE
Lloh27:
ldr x27, [x27, _qtrue@GOTPAGEOFF]
tbnz w0, #31, LBB0_3
; %bb.1:
mov x20, #0 ; =0x0
mov x23, #0 ; =0x0
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x0, [x19, x20, lsl #3]
ldr x4, [x27]
sub x3, x29, #140
mov x1, #0 ; =0x0
mov x2, #0 ; =0x0
bl _Sys_ListFiles
mov x1, x0
mov x0, x23
bl _Sys_ConcatenateFileLists
mov x23, x0
add x21, x20, #1
sub x0, x29, #128
bl _ARRAY_LEN
cmp x20, w0, sxtw
mov x20, x21
b.lt LBB0_2
b LBB0_4
LBB0_3:
mov x23, #0 ; =0x0
LBB0_4:
mov x0, x23
bl _Sys_CountFileList
cmp w0, #1
b.lt LBB0_27
; %bb.5:
stur x24, [x29, #-208] ; 8-byte Folded Spill
stp x22, xzr, [x29, #-176] ; 16-byte Folded Spill
mov x28, #0 ; =0x0
mov w8, w0
stur x8, [x29, #-160] ; 8-byte Folded Spill
; implicit-def: $w22
Lloh28:
adrp x19, l_.str.4@PAGE
Lloh29:
add x19, x19, l_.str.4@PAGEOFF
b LBB0_8
LBB0_6: ; in Loop: Header=BB0_8 Depth=1
Lloh30:
adrp x27, _qtrue@GOTPAGE
Lloh31:
ldr x27, [x27, _qtrue@GOTPAGEOFF]
LBB0_7: ; in Loop: Header=BB0_8 Depth=1
add x28, x28, #1
ldur x8, [x29, #-160] ; 8-byte Folded Reload
cmp x28, x8
b.eq LBB0_28
LBB0_8: ; =>This Loop Header: Depth=1
; Child Loop BB0_10 Depth 2
; Child Loop BB0_16 Depth 2
; Child Loop BB0_18 Depth 3
ldr x25, [x23, x28, lsl #3]
cbz x28, LBB0_11
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
mov x20, #0 ; =0x0
Lloh32:
adrp x8, _qfalse@GOTPAGE
Lloh33:
ldr x8, [x8, _qfalse@GOTPAGEOFF]
Lloh34:
ldr x26, [x8]
LBB0_10: ; Parent Loop BB0_8 Depth=1
; => This Inner Loop Header: Depth=2
ldr x0, [x23, x20, lsl #3]
mov x1, x25
bl _Q_stricmp
ldr x8, [x27]
cmp x0, #0
csel x26, x8, x26, eq
add x20, x20, #1
cmp x28, x20
b.ne LBB0_10
LBB0_11: ; in Loop: Header=BB0_8 Depth=1
cbnz x26, LBB0_7
; %bb.12: ; in Loop: Header=BB0_8 Depth=1
Lloh35:
adrp x8, _com_basegame@GOTPAGE
Lloh36:
ldr x8, [x8, _com_basegame@GOTPAGEOFF]
Lloh37:
ldr x8, [x8]
ldr x1, [x8]
mov x0, x25
bl _Q_stricmp
cbz x0, LBB0_7
; %bb.13: ; in Loop: Header=BB0_8 Depth=1
mov x0, x25
Lloh38:
adrp x1, l_.str@PAGE
Lloh39:
add x1, x1, l_.str@PAGEOFF
mov w2, #1 ; =0x1
bl _Q_stricmpn
cbz x0, LBB0_7
; %bb.14: ; in Loop: Header=BB0_8 Depth=1
sub x0, x29, #128
bl _ARRAY_LEN
cmp w0, #1
b.lt LBB0_23
; %bb.15: ; in Loop: Header=BB0_8 Depth=1
mov x27, #0 ; =0x0
LBB0_16: ; Parent Loop BB0_8 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_18 Depth 3
sub x8, x29, #128
ldr x0, [x8, x27, lsl #3]
mov x1, x25
Lloh40:
adrp x2, l_.str.1@PAGE
Lloh41:
add x2, x2, l_.str.1@PAGEOFF
bl _FS_BuildOSPath
mov x24, x0
stur xzr, [x29, #-136]
Lloh42:
adrp x20, _qfalse@GOTPAGE
Lloh43:
ldr x20, [x20, _qfalse@GOTPAGEOFF]
ldr x4, [x20]
sub x3, x29, #132
Lloh44:
adrp x1, l_.str.2@PAGE
Lloh45:
add x1, x1, l_.str.2@PAGEOFF
mov x2, #0 ; =0x0
bl _Sys_ListFiles
stur x0, [x29, #-152] ; 8-byte Folded Spill
ldr x4, [x20]
sub x3, x29, #136
mov x0, x24
Lloh46:
adrp x1, l_.str.3@PAGE
Lloh47:
add x1, x1, l_.str.3@PAGEOFF
mov x2, #0 ; =0x0
bl _Sys_ListFiles
mov x24, x0
ldur w8, [x29, #-136]
cmp w8, #1
b.lt LBB0_19
; %bb.17: ; in Loop: Header=BB0_16 Depth=2
mov x20, #0 ; =0x0
mov w22, #0 ; =0x0
LBB0_18: ; Parent Loop BB0_8 Depth=1
; Parent Loop BB0_16 Depth=2
; => This Inner Loop Header: Depth=3
ldr x21, [x24, x20, lsl #3]
mov x0, x21
bl _strlen
mov x2, x0
mov x0, x21
mov x1, x19
bl _FS_IsExt
cmp x0, #0
cinc w22, w22, ne
add x20, x20, #1
ldursw x8, [x29, #-136]
cmp x20, x8
b.lt LBB0_18
b LBB0_20
LBB0_19: ; in Loop: Header=BB0_16 Depth=2
mov w22, #0 ; =0x0
LBB0_20: ; in Loop: Header=BB0_16 Depth=2
ldur x0, [x29, #-152] ; 8-byte Folded Reload
bl _Sys_FreeFileList
mov x0, x24
bl _Sys_FreeFileList
ldur w8, [x29, #-132]
cmp w8, #0
b.gt LBB0_23
; %bb.21: ; in Loop: Header=BB0_16 Depth=2
cmp w22, #1
b.ge LBB0_23
; %bb.22: ; in Loop: Header=BB0_16 Depth=2
add x27, x27, #1
sub x0, x29, #128
bl _ARRAY_LEN
cmp x27, w0, sxtw
b.lt LBB0_16
LBB0_23: ; in Loop: Header=BB0_8 Depth=1
ldur w8, [x29, #-132]
cmp w8, #0
b.gt LBB0_25
; %bb.24: ; in Loop: Header=BB0_8 Depth=1
cmp w22, #1
b.lt LBB0_6
LBB0_25: ; in Loop: Header=BB0_8 Depth=1
mov x0, x25
bl _strlen
mov x20, x0
mov x0, x25
ldur x27, [x29, #-208] ; 8-byte Folded Reload
mov x1, x27
ldur x2, [x29, #-192] ; 8-byte Folded Reload
; kill: def $w2 killed $w2 killed $x2
bl _FS_GetModDescription
mov x0, x27
bl _strlen
add w11, w0, #1
ldur w10, [x29, #-164] ; 4-byte Folded Reload
add w8, w10, w11
add w8, w8, w20
add w8, w8, #1
ldur w9, [x29, #-180] ; 4-byte Folded Reload
cmp w8, w9
b.ge LBB0_28
; %bb.26: ; in Loop: Header=BB0_8 Depth=1
mov x24, x0
sub w8, w20, #1
stur w8, [x29, #-152] ; 4-byte Folded Spill
ldur x21, [x29, #-176] ; 8-byte Folded Reload
stur w10, [x29, #-164] ; 4-byte Folded Spill
mov x0, x21
mov x1, x25
mov x25, x11
bl _strcpy
ldur w8, [x29, #-152] ; 4-byte Folded Reload
add x21, x21, w8, sxtw
mov x0, x21
mov x1, x27
bl _strcpy
ldur w8, [x29, #-164] ; 4-byte Folded Reload
add w8, w20, w8
add w8, w8, w24
stur w8, [x29, #-164] ; 4-byte Folded Spill
ldur w8, [x29, #-168] ; 4-byte Folded Reload
add w8, w8, #1
stur w8, [x29, #-168] ; 4-byte Folded Spill
add x8, x21, w25, sxtw
stur x8, [x29, #-176] ; 8-byte Folded Spill
b LBB0_6
LBB0_27:
stur wzr, [x29, #-168] ; 4-byte Folded Spill
LBB0_28:
mov x0, x23
bl _Sys_FreeFileList
ldur x8, [x29, #-200] ; 8-byte Folded Reload
mov sp, x8
ldur x8, [x29, #-88]
Lloh48:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh49:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh50:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_30
; %bb.29:
ldur w0, [x29, #-168] ; 4-byte Folded Reload
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_30:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpLdrGot Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpLdrGot Lloh42, Lloh43
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _MAX_INSTALL_PATH,4,2 ; @MAX_INSTALL_PATH
.comm _qfalse,8,3 ; @qfalse
.comm _fs_basepath,8,3 ; @fs_basepath
.comm _fs_homepath,8,3 ; @fs_homepath
.comm _fs_steampath,8,3 ; @fs_steampath
.comm _fs_gogpath,8,3 ; @fs_gogpath
.comm _fs_temporarypath,8,3 ; @fs_temporarypath
.comm _qtrue,8,3 ; @qtrue
.comm _com_basegame,8,3 ; @com_basegame
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "."
l_.str.1: ; @.str.1
.space 1
l_.str.2: ; @.str.2
.asciz ".pk3"
l_.str.3: ; @.str.3
.asciz "/"
l_.str.4: ; @.str.4
.asciz ".pk3dir"
.subsections_via_symbols
| assembly_file_42862.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dbg_gtype
_dbg_gtype: ## @dbg_gtype
.cfi_startproc
## %bb.0:
addl $-128, %edi
cmpl $2, %edi
ja LBB0_1
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq %edi, %rax
leaq l_reltable.dbg_gtype(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
popq %rbp
retq
LBB0_1:
leaq L_.str.3(%rip), %rax
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "no node group"
L_.str.1: ## @.str.1
.asciz "in node group"
L_.str.2: ## @.str.2
.asciz "last of node group"
L_.str.3: ## @.str.3
.asciz "unknown"
.no_dead_strip _dbg_gtype
.section __TEXT,__const
.p2align 2 ## @reltable.dbg_gtype
l_reltable.dbg_gtype:
.long L_.str-l_reltable.dbg_gtype
.long L_.str.2-l_reltable.dbg_gtype
.long L_.str.1-l_reltable.dbg_gtype
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dbg_gtype
_dbg_gtype: ; @dbg_gtype
.cfi_startproc
; %bb.0:
sub w8, w0, #128
cmp w8, #2
b.hi LBB0_2
; %bb.1:
Lloh0:
adrp x9, l_switch.table.dbg_gtype@PAGE
Lloh1:
add x9, x9, l_switch.table.dbg_gtype@PAGEOFF
ldr x0, [x9, w8, sxtw #3]
ret
LBB0_2:
Lloh2:
adrp x0, l_.str.3@PAGE
Lloh3:
add x0, x0, l_.str.3@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "no node group"
l_.str.1: ; @.str.1
.asciz "in node group"
l_.str.2: ; @.str.2
.asciz "last of node group"
l_.str.3: ; @.str.3
.asciz "unknown"
.no_dead_strip _dbg_gtype
.section __DATA,__const
.p2align 3 ; @switch.table.dbg_gtype
l_switch.table.dbg_gtype:
.quad l_.str
.quad l_.str.2
.quad l_.str.1
.subsections_via_symbols
| AnghaBench/linux/fs/ubifs/extr_debug.c_dbg_gtype.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vtd_create_mapping
_vtd_create_mapping: ## @vtd_create_mapping
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _CREATE_MAPPING@GOTPCREL(%rip), %rax
movl (%rax), %r8d
popq %rbp
jmp _vtd_update_mapping ## TAILCALL
.cfi_endproc
## -- End function
.comm _CREATE_MAPPING,4,2 ## @CREATE_MAPPING
.no_dead_strip _vtd_create_mapping
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vtd_create_mapping
_vtd_create_mapping: ; @vtd_create_mapping
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _CREATE_MAPPING@GOTPAGE
Lloh1:
ldr x8, [x8, _CREATE_MAPPING@GOTPAGEOFF]
Lloh2:
ldr w4, [x8]
b _vtd_update_mapping
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _CREATE_MAPPING,4,2 ; @CREATE_MAPPING
.no_dead_strip _vtd_create_mapping
.subsections_via_symbols
| AnghaBench/freebsd/sys/amd64/vmm/intel/extr_vtd.c_vtd_create_mapping.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _MPPC_Compress ## -- Begin function MPPC_Compress
.p2align 4, 0x90
_MPPC_Compress: ## @MPPC_Compress
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, -72(%rbp) ## 8-byte Spill
movl (%rdx), %edx
leal (%rdx,%rdx,8), %eax
leal (%rdx,%rdx,8), %esi
addl $7, %esi
testl %eax, %eax
cmovnsl %eax, %esi
sarl $3, %esi
addl $-2, %esi
xorl %ebx, %ebx
cmpl %esi, (%rcx)
jl LBB0_74
## %bb.1:
movq _MPPE_HIST_LEN@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl %eax, %edx
jg LBB0_74
## %bb.2:
movq %r8, %r15
movq _MPPC_OK@GOTPCREL(%rip), %rsi
movl (%rsi), %r11d
movslq %eax, %rsi
movq (%r8), %rdi
leaq (%rdi,%rsi,4), %rsi
movl 8(%r8), %r10d
leal (%r10,%rdx), %ebx
leal (%rax,%rax), %r8d
cmpl %r8d, %ebx
movq %rsi, -120(%rbp) ## 8-byte Spill
movq %rcx, -112(%rbp) ## 8-byte Spill
movl %r9d, -76(%rbp) ## 4-byte Spill
jge LBB0_4
## %bb.3:
movl %r11d, -60(%rbp) ## 4-byte Spill
jmp LBB0_5
LBB0_4:
movq _MPPC_RESTART_HISTORY@GOTPCREL(%rip), %rcx
orl (%rcx), %r11d
movl %r11d, -60(%rbp) ## 4-byte Spill
movl %eax, 8(%r15)
movl %eax, %edx
callq _memcpy
movq (%r15), %rdi
movl 8(%r15), %r10d
movl (%r12), %edx
LBB0_5:
movslq %r10d, %rax
leaq (%rdi,%rax,4), %rdi
movq -72(%rbp), %rax ## 8-byte Reload
movq (%rax), %rsi
movq %rdi, -96(%rbp) ## 8-byte Spill
## kill: def $edx killed $edx killed $rdx
callq _memcpy
movl (%r12), %eax
movq %r15, -104(%rbp) ## 8-byte Spill
addl %eax, 8(%r15)
movslq (%r12), %rcx
movl $0, -44(%rbp)
movq %r14, -56(%rbp) ## 8-byte Spill
movq (%r14), %rax
movl $0, (%rax)
movl $8, -48(%rbp)
movl (%r12), %eax
xorl %r15d, %r15d
cmpl $3, %eax
jl LBB0_25
## %bb.6:
movq -96(%rbp), %rax ## 8-byte Reload
leaq (%rax,%rcx,4), %r13
leaq -12(%r13), %rax
movq %rax, -88(%rbp) ## 8-byte Spill
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_7: ## =>This Loop Header: Depth=1
## Child Loop BB0_14 Depth 2
## Child Loop BB0_18 Depth 2
movslq %r15d, %rbx
movq -96(%rbp), %rax ## 8-byte Reload
leaq (%rax,%rbx,4), %r14
movq %r14, %rdi
callq _HASH
movq -104(%rbp), %rcx ## 8-byte Reload
movq 16(%rcx), %rcx
cltq
movslq (%rcx,%rax,4), %rdx
movq -120(%rbp), %rdi ## 8-byte Reload
leaq (%rdi,%rdx,4), %rdx
movq %r14, %rsi
subq %rdi, %rsi
shrq $2, %rsi
movl %esi, (%rcx,%rax,4)
movq _MPPE_HIST_LEN@GOTPCREL(%rip), %rax
movslq (%rax), %rcx
movq %rcx, %rax
negq %rax
cmpq %r14, %rdx
movl $0, %esi
cmovbeq %rsi, %rax
leaq (%rdx,%rax,4), %rax
movq %r14, %rsi
subq %rax, %rsi
shrq $2, %rsi
cmpl %esi, %ecx
setle %cl
testl %esi, %esi
setle %dl
testb %dl, %cl
jne LBB0_29
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movl (%rax), %ecx
cmpl (%r14), %ecx
jne LBB0_29
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
movl -4(%rax), %edx
cmpl 4(%r14), %edx
jne LBB0_29
## %bb.10: ## in Loop: Header=BB0_7 Depth=1
cmpl 8(%r14), %ecx
jne LBB0_29
## %bb.11: ## in Loop: Header=BB0_7 Depth=1
leaq 12(%r14), %rcx
leaq 4(%rax), %rdx
movl 4(%rax), %edi
cmpl 12(%r14), %edi
jne LBB0_17
## %bb.12: ## in Loop: Header=BB0_7 Depth=1
cmpq -88(%rbp), %rcx ## 8-byte Folded Reload
jae LBB0_17
## %bb.13: ## in Loop: Header=BB0_7 Depth=1
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_14: ## Parent Loop BB0_7 Depth=1
## => This Inner Loop Header: Depth=2
movl 20(%rax,%rcx), %edi
leaq 16(%rcx), %rdx
cmpl 28(%r14,%rcx), %edi
jne LBB0_16
## %bb.15: ## in Loop: Header=BB0_14 Depth=2
leaq (%r14,%rcx), %rdi
addq $28, %rdi
movq %rdx, %rcx
cmpq -88(%rbp), %rdi ## 8-byte Folded Reload
jb LBB0_14
LBB0_16: ## in Loop: Header=BB0_7 Depth=1
leaq (%r14,%rdx), %rcx
addq $12, %rcx
addq %rax, %rdx
addq $4, %rdx
LBB0_17: ## in Loop: Header=BB0_7 Depth=1
movq %rcx, %rbx
subq %r14, %rbx
addq $4, %rcx
.p2align 4, 0x90
LBB0_18: ## Parent Loop BB0_7 Depth=1
## => This Inner Loop Header: Depth=2
movl (%rdx), %eax
addq $4, %rbx
cmpl -4(%rcx), %eax
jne LBB0_20
## %bb.19: ## in Loop: Header=BB0_18 Depth=2
addq $4, %rdx
leaq 4(%rcx), %rax
cmpq %r13, %rcx
movq %rax, %rcx
jbe LBB0_18
LBB0_20: ## in Loop: Header=BB0_7 Depth=1
cmpl $63, %esi
jg LBB0_34
## %bb.21: ## in Loop: Header=BB0_7 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
orl $960, %esi ## imm = 0x3C0
## kill: def $esi killed $esi killed $rsi
movl $10, %edx
jmp LBB0_22
.p2align 4, 0x90
LBB0_29: ## in Loop: Header=BB0_7 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
movl (%rax,%rbx,4), %esi
movq -56(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
cmpl $127, %esi
jg LBB0_31
## %bb.30: ## in Loop: Header=BB0_7 Depth=1
movl $8, %edx
leaq -44(%rbp), %rcx
leaq -48(%rbp), %r8
callq _putbits8
jmp LBB0_32
.p2align 4, 0x90
LBB0_31: ## in Loop: Header=BB0_7 Depth=1
andl $127, %esi
orl $256, %esi ## imm = 0x100
movl $9, %edx
leaq -44(%rbp), %rcx
leaq -48(%rbp), %r8
callq _putbits16
LBB0_32: ## in Loop: Header=BB0_7 Depth=1
incl %r15d
LBB0_33: ## in Loop: Header=BB0_7 Depth=1
movl (%r12), %eax
leal -2(%rax), %ecx
cmpl %ecx, %r15d
jl LBB0_7
jmp LBB0_25
LBB0_34: ## in Loop: Header=BB0_7 Depth=1
cmpl $319, %esi ## imm = 0x13F
ja LBB0_36
## %bb.35: ## in Loop: Header=BB0_7 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
addl $-64, %esi
orl $3584, %esi ## imm = 0xE00
## kill: def $esi killed $esi killed $rsi
movl $12, %edx
jmp LBB0_22
LBB0_36: ## in Loop: Header=BB0_7 Depth=1
cmpl $8191, %esi ## imm = 0x1FFF
ja LBB0_62
## %bb.37: ## in Loop: Header=BB0_7 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
addl $-320, %esi ## imm = 0xFEC0
orl $49152, %esi ## imm = 0xC000
## kill: def $esi killed $esi killed $rsi
movl $16, %edx
LBB0_22: ## in Loop: Header=BB0_7 Depth=1
leaq -44(%rbp), %rcx
leaq -48(%rbp), %r8
callq _putbits16
shrq $2, %rbx
movl %ebx, %esi
decl %esi
addl %ebx, %r15d
decl %r15d
cmpl $3, %esi
jg LBB0_38
## %bb.23: ## in Loop: Header=BB0_7 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
xorl %esi, %esi
movl $1, %edx
jmp LBB0_24
LBB0_38: ## in Loop: Header=BB0_7 Depth=1
cmpl $7, %esi
ja LBB0_40
## %bb.39: ## in Loop: Header=BB0_7 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
andl $3, %esi
orl $8, %esi
movl $4, %edx
jmp LBB0_24
LBB0_40: ## in Loop: Header=BB0_7 Depth=1
cmpl $15, %esi
ja LBB0_42
## %bb.41: ## in Loop: Header=BB0_7 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
andl $7, %esi
orl $48, %esi
movl $6, %edx
jmp LBB0_24
LBB0_42: ## in Loop: Header=BB0_7 Depth=1
cmpl $31, %esi
ja LBB0_44
## %bb.43: ## in Loop: Header=BB0_7 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
andl $15, %esi
orl $224, %esi
movl $8, %edx
LBB0_24: ## in Loop: Header=BB0_7 Depth=1
leaq -44(%rbp), %rcx
leaq -48(%rbp), %r8
callq _putbits8
jmp LBB0_33
LBB0_44: ## in Loop: Header=BB0_7 Depth=1
cmpl $63, %esi
ja LBB0_47
## %bb.45: ## in Loop: Header=BB0_7 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
andl $31, %esi
orl $960, %esi ## imm = 0x3C0
movl $10, %edx
jmp LBB0_46
LBB0_47: ## in Loop: Header=BB0_7 Depth=1
cmpl $127, %esi
ja LBB0_49
## %bb.48: ## in Loop: Header=BB0_7 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
andl $63, %esi
orl $3968, %esi ## imm = 0xF80
movl $12, %edx
jmp LBB0_46
LBB0_49: ## in Loop: Header=BB0_7 Depth=1
cmpl $255, %esi
ja LBB0_51
## %bb.50: ## in Loop: Header=BB0_7 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
andl $127, %esi
orl $16128, %esi ## imm = 0x3F00
movl $14, %edx
jmp LBB0_46
LBB0_51: ## in Loop: Header=BB0_7 Depth=1
cmpl $511, %esi ## imm = 0x1FF
ja LBB0_53
## %bb.52: ## in Loop: Header=BB0_7 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
movzbl %sil, %esi
orl $65024, %esi ## imm = 0xFE00
movl $16, %edx
LBB0_46: ## in Loop: Header=BB0_7 Depth=1
leaq -44(%rbp), %rcx
leaq -48(%rbp), %r8
callq _putbits16
jmp LBB0_33
LBB0_53: ## in Loop: Header=BB0_7 Depth=1
cmpl $1023, %esi ## imm = 0x3FF
ja LBB0_56
## %bb.54: ## in Loop: Header=BB0_7 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
andl $511, %esi ## imm = 0x1FF
orl $261120, %esi ## imm = 0x3FC00
movl $18, %edx
jmp LBB0_55
LBB0_56: ## in Loop: Header=BB0_7 Depth=1
cmpl $2047, %esi ## imm = 0x7FF
ja LBB0_58
## %bb.57: ## in Loop: Header=BB0_7 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
andl $1023, %esi ## imm = 0x3FF
orl $1046528, %esi ## imm = 0xFF800
movl $20, %edx
jmp LBB0_55
LBB0_58: ## in Loop: Header=BB0_7 Depth=1
cmpl $4095, %esi ## imm = 0xFFF
ja LBB0_60
## %bb.59: ## in Loop: Header=BB0_7 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
andl $2047, %esi ## imm = 0x7FF
orl $4190208, %esi ## imm = 0x3FF000
movl $22, %edx
jmp LBB0_55
LBB0_60: ## in Loop: Header=BB0_7 Depth=1
cmpl $8191, %esi ## imm = 0x1FFF
ja LBB0_63
## %bb.61: ## in Loop: Header=BB0_7 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
andl $4095, %esi ## imm = 0xFFF
orl $16769024, %esi ## imm = 0xFFE000
movl $24, %edx
LBB0_55: ## in Loop: Header=BB0_7 Depth=1
leaq -44(%rbp), %rcx
leaq -48(%rbp), %r8
callq _putbits24
jmp LBB0_33
LBB0_25:
cmpl %r15d, %eax
movq -56(%rbp), %r13 ## 8-byte Reload
jle LBB0_66
## %bb.26:
movslq %r15d, %r15
leaq -44(%rbp), %rbx
leaq -48(%rbp), %r14
jmp LBB0_27
.p2align 4, 0x90
LBB0_64: ## in Loop: Header=BB0_27 Depth=1
andl $127, %esi
orl $256, %esi ## imm = 0x100
movl $9, %edx
movq %rbx, %rcx
movq %r14, %r8
callq _putbits16
LBB0_65: ## in Loop: Header=BB0_27 Depth=1
incq %r15
movslq (%r12), %rax
cmpq %rax, %r15
jge LBB0_66
LBB0_27: ## =>This Inner Loop Header: Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
movl (%rax,%r15,4), %esi
movq (%r13), %rdi
cmpl $127, %esi
jg LBB0_64
## %bb.28: ## in Loop: Header=BB0_27 Depth=1
movl $8, %edx
movq %rbx, %rcx
movq %r14, %r8
callq _putbits8
jmp LBB0_65
LBB0_66:
movl -48(%rbp), %edx
testl $-9, %edx
je LBB0_68
## %bb.67:
movq (%r13), %rdi
leaq -44(%rbp), %rcx
leaq -48(%rbp), %r8
xorl %esi, %esi
callq _putbits8
movl (%r12), %eax
LBB0_68:
movl -44(%rbp), %ecx
cmpl %ecx, %eax
movl -60(%rbp), %ebx ## 4-byte Reload
movq -112(%rbp), %r14 ## 8-byte Reload
jl LBB0_70
## %bb.69:
movq _MPPC_SAVE_HISTORY@GOTPCREL(%rip), %rdx
movl -76(%rbp), %esi ## 4-byte Reload
orl (%rdx), %esi
jne LBB0_73
LBB0_70:
xorl %edx, %edx
cmpl %ecx, %eax
jge LBB0_72
## %bb.71:
movq _MPPC_EXPANDED@GOTPCREL(%rip), %rax
movl (%rax), %edx
LBB0_72:
orl %edx, %ebx
movq -104(%rbp), %r15 ## 8-byte Reload
movq %r15, %rdi
movl $24, %esi
callq _bzero
movq _MPPE_HIST_LEN@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 8(%r15)
movl (%r12), %eax
movl -44(%rbp), %ecx
LBB0_73:
cltq
shlq $2, %rax
movq -72(%rbp), %rdx ## 8-byte Reload
addq %rax, (%rdx)
movl $0, (%r12)
movslq %ecx, %rax
leaq (,%rax,4), %rcx
addq %rcx, (%r13)
subl %eax, (%r14)
LBB0_74:
movl %ebx, %eax
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_62:
xorl %eax, %eax
callq ___unreachable
LBB0_63:
movq _MPPC_OK@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
movl -60(%rbp), %ebx ## 4-byte Reload
andl %eax, %ebx
jmp LBB0_74
.cfi_endproc
## -- End function
.comm _MPPC_OK,4,2 ## @MPPC_OK
.comm _MPPE_HIST_LEN,4,2 ## @MPPE_HIST_LEN
.comm _MPPC_RESTART_HISTORY,4,2 ## @MPPC_RESTART_HISTORY
.comm _MPPC_SAVE_HISTORY,4,2 ## @MPPC_SAVE_HISTORY
.comm _MPPC_EXPANDED,4,2 ## @MPPC_EXPANDED
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _MPPC_Compress ; -- Begin function MPPC_Compress
.p2align 2
_MPPC_Compress: ; @MPPC_Compress
.cfi_startproc
; %bb.0:
sub sp, sp, #144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.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 x21, x2
ldr w8, [x3]
ldr w2, [x2]
add w9, w2, w2, lsl #3
add w10, w9, #7
cmp w9, #0
csel w9, w10, w9, lt
asr w9, w9, #3
sub w9, w9, #2
cmp w8, w9
b.lt LBB0_2
; %bb.1:
Lloh0:
adrp x28, _MPPE_HIST_LEN@GOTPAGE
Lloh1:
ldr x28, [x28, _MPPE_HIST_LEN@GOTPAGEOFF]
ldr w8, [x28]
cmp w2, w8
b.le LBB0_3
LBB0_2:
mov w24, #0 ; =0x0
b LBB0_61
LBB0_3:
mov x23, x4
mov x20, x1
mov x22, x0
str w5, [sp, #28] ; 4-byte Folded Spill
Lloh2:
adrp x9, _MPPC_OK@GOTPAGE
Lloh3:
ldr x9, [x9, _MPPC_OK@GOTPAGEOFF]
Lloh4:
ldr w24, [x9]
sxtw x9, w8
ldr x0, [x4]
add x25, x0, x9, lsl #2
ldr w9, [x4, #8]
add w10, w9, w2
cmp w10, w8, lsl #1
str x3, [sp, #32] ; 8-byte Folded Spill
b.lt LBB0_5
; %bb.4:
Lloh5:
adrp x9, _MPPC_RESTART_HISTORY@GOTPAGE
Lloh6:
ldr x9, [x9, _MPPC_RESTART_HISTORY@GOTPAGEOFF]
Lloh7:
ldr w9, [x9]
orr w24, w9, w24
str w8, [x23, #8]
mov x1, x25
mov x2, x8
bl _memcpy
ldr x0, [x23]
ldr w9, [x23, #8]
ldr w2, [x21]
LBB0_5:
add x26, x0, w9, sxtw #2
ldr x1, [x22]
mov x0, x26
bl _memcpy
ldr w8, [x21]
ldr w9, [x23, #8]
add w8, w9, w8
str w8, [x23, #8]
ldrsw x9, [x21]
str wzr, [sp, #44]
ldr x8, [x20]
str wzr, [x8]
mov w8, #8 ; =0x8
str w8, [sp, #40]
ldr w8, [x21]
cmp w8, #3
b.lt LBB0_48
; %bb.6:
str w24, [sp, #12] ; 4-byte Folded Spill
mov w27, #0 ; =0x0
add x24, x26, x9, lsl #2
add x8, x25, #4
str x8, [sp, #16] ; 8-byte Folded Spill
LBB0_7: ; =>This Loop Header: Depth=1
; Child Loop BB0_12 Depth 2
sxtw x19, w27
add x27, x26, w27, sxtw #2
mov x0, x27
bl _HASH
ldr x8, [x23, #16]
ldrsw x9, [x8, w0, sxtw #2]
add x11, x25, x9, lsl #2
sub x10, x27, x25
lsr x10, x10, #2
str w10, [x8, w0, sxtw #2]
ldrsw x12, [x28]
cmp x11, x27
csneg x10, xzr, x12, ls
add x11, x11, x10, lsl #2
sub x8, x27, x11
lsr x8, x8, #2
cmp w12, w8
ccmp w8, #1, #0, le
b.lt LBB0_15
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
ldr w12, [x11]
ldr w13, [x27]
cmp w12, w13
b.ne LBB0_15
; %bb.9: ; in Loop: Header=BB0_7 Depth=1
ldur w11, [x11, #-4]
ldr w13, [x27, #4]
cmp w11, w13
b.ne LBB0_15
; %bb.10: ; in Loop: Header=BB0_7 Depth=1
ldr w11, [x27, #8]
cmp w12, w11
b.ne LBB0_15
; %bb.11: ; in Loop: Header=BB0_7 Depth=1
lsl x10, x10, #2
add x9, x10, x9, lsl #2
ldr x10, [sp, #16] ; 8-byte Folded Reload
add x9, x10, x9
mov w28, #12 ; =0xc
LBB0_12: ; Parent Loop BB0_7 Depth=1
; => This Inner Loop Header: Depth=2
ldr w10, [x9], #4
add x11, x27, x28
ldr w12, [x11], #4
add x28, x28, #4
cmp w10, w12
ccmp x11, x24, #2, eq
b.ls LBB0_12
; %bb.13: ; in Loop: Header=BB0_7 Depth=1
cmp w8, #63
b.gt LBB0_20
; %bb.14: ; in Loop: Header=BB0_7 Depth=1
ldr x0, [x20]
orr w1, w8, #0x3c0
add x3, sp, #44
add x4, sp, #40
mov w2, #10 ; =0xa
b LBB0_24
LBB0_15: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [x22]
ldr w1, [x8, x19, lsl #2]
ldr x0, [x20]
cmp w1, #127
b.gt LBB0_17
; %bb.16: ; in Loop: Header=BB0_7 Depth=1
add x3, sp, #44
add x4, sp, #40
mov w2, #8 ; =0x8
bl _putbits8
b LBB0_18
LBB0_17: ; in Loop: Header=BB0_7 Depth=1
mov w8, #256 ; =0x100
bfxil w8, w1, #0, #7
add x3, sp, #44
add x4, sp, #40
mov x1, x8
mov w2, #9 ; =0x9
bl _putbits16
LBB0_18: ; in Loop: Header=BB0_7 Depth=1
add w27, w19, #1
LBB0_19: ; in Loop: Header=BB0_7 Depth=1
ldr w8, [x21]
sub w9, w8, #2
cmp w27, w9
b.lt LBB0_7
b LBB0_49
LBB0_20: ; in Loop: Header=BB0_7 Depth=1
cmp w8, #319
b.hi LBB0_22
; %bb.21: ; in Loop: Header=BB0_7 Depth=1
ldr x0, [x20]
sub w8, w8, #64
orr w1, w8, #0xe00
add x3, sp, #44
add x4, sp, #40
mov w2, #12 ; =0xc
b LBB0_24
LBB0_22: ; in Loop: Header=BB0_7 Depth=1
lsr w9, w8, #13
cbnz w9, LBB0_62
; %bb.23: ; in Loop: Header=BB0_7 Depth=1
ldr x0, [x20]
sub w8, w8, #320
orr w1, w8, #0xc000
add x3, sp, #44
add x4, sp, #40
mov w2, #16 ; =0x10
LBB0_24: ; in Loop: Header=BB0_7 Depth=1
bl _putbits16
lsr x8, x28, #2
sub w8, w8, #1
add w27, w8, w19
cmp w8, #3
b.gt LBB0_26
; %bb.25: ; in Loop: Header=BB0_7 Depth=1
ldr x0, [x20]
add x3, sp, #44
add x4, sp, #40
mov w1, #0 ; =0x0
mov w2, #1 ; =0x1
bl _putbits8
Lloh8:
adrp x28, _MPPE_HIST_LEN@GOTPAGE
Lloh9:
ldr x28, [x28, _MPPE_HIST_LEN@GOTPAGEOFF]
b LBB0_19
LBB0_26: ; in Loop: Header=BB0_7 Depth=1
cmp w8, #7
Lloh10:
adrp x28, _MPPE_HIST_LEN@GOTPAGE
Lloh11:
ldr x28, [x28, _MPPE_HIST_LEN@GOTPAGEOFF]
b.hi LBB0_28
; %bb.27: ; in Loop: Header=BB0_7 Depth=1
ldr x0, [x20]
mov w1, #8 ; =0x8
bfxil w1, w8, #0, #2
add x3, sp, #44
add x4, sp, #40
mov w2, #4 ; =0x4
bl _putbits8
b LBB0_19
LBB0_28: ; in Loop: Header=BB0_7 Depth=1
cmp w8, #15
b.hi LBB0_30
; %bb.29: ; in Loop: Header=BB0_7 Depth=1
ldr x0, [x20]
mov w1, #48 ; =0x30
bfxil w1, w8, #0, #3
add x3, sp, #44
add x4, sp, #40
mov w2, #6 ; =0x6
bl _putbits8
b LBB0_19
LBB0_30: ; in Loop: Header=BB0_7 Depth=1
cmp w8, #31
b.hi LBB0_32
; %bb.31: ; in Loop: Header=BB0_7 Depth=1
ldr x0, [x20]
mov w1, #224 ; =0xe0
bfxil w1, w8, #0, #4
add x3, sp, #44
add x4, sp, #40
mov w2, #8 ; =0x8
bl _putbits8
b LBB0_19
LBB0_32: ; in Loop: Header=BB0_7 Depth=1
cmp w8, #63
b.hi LBB0_34
; %bb.33: ; in Loop: Header=BB0_7 Depth=1
ldr x0, [x20]
mov w1, #960 ; =0x3c0
bfxil w1, w8, #0, #5
add x3, sp, #44
add x4, sp, #40
mov w2, #10 ; =0xa
bl _putbits16
b LBB0_19
LBB0_34: ; in Loop: Header=BB0_7 Depth=1
cmp w8, #127
b.hi LBB0_36
; %bb.35: ; in Loop: Header=BB0_7 Depth=1
ldr x0, [x20]
mov w1, #3968 ; =0xf80
bfxil w1, w8, #0, #6
add x3, sp, #44
add x4, sp, #40
mov w2, #12 ; =0xc
bl _putbits16
b LBB0_19
LBB0_36: ; in Loop: Header=BB0_7 Depth=1
cmp w8, #255
b.hi LBB0_38
; %bb.37: ; in Loop: Header=BB0_7 Depth=1
ldr x0, [x20]
mov w1, #16128 ; =0x3f00
bfxil w1, w8, #0, #7
add x3, sp, #44
add x4, sp, #40
mov w2, #14 ; =0xe
bl _putbits16
b LBB0_19
LBB0_38: ; in Loop: Header=BB0_7 Depth=1
cmp w8, #511
b.hi LBB0_40
; %bb.39: ; in Loop: Header=BB0_7 Depth=1
ldr x0, [x20]
mov w1, #65024 ; =0xfe00
bfxil w1, w8, #0, #8
add x3, sp, #44
add x4, sp, #40
mov w2, #16 ; =0x10
bl _putbits16
b LBB0_19
LBB0_40: ; in Loop: Header=BB0_7 Depth=1
cmp w8, #1023
b.hi LBB0_42
; %bb.41: ; in Loop: Header=BB0_7 Depth=1
ldr x0, [x20]
mov w1, #261120 ; =0x3fc00
bfxil w1, w8, #0, #9
add x3, sp, #44
add x4, sp, #40
mov w2, #18 ; =0x12
bl _putbits24
b LBB0_19
LBB0_42: ; in Loop: Header=BB0_7 Depth=1
cmp w8, #2047
b.hi LBB0_44
; %bb.43: ; in Loop: Header=BB0_7 Depth=1
ldr x0, [x20]
mov w1, #1046528 ; =0xff800
bfxil w1, w8, #0, #10
add x3, sp, #44
add x4, sp, #40
mov w2, #20 ; =0x14
bl _putbits24
b LBB0_19
LBB0_44: ; in Loop: Header=BB0_7 Depth=1
cmp w8, #4095
b.hi LBB0_46
; %bb.45: ; in Loop: Header=BB0_7 Depth=1
ldr x0, [x20]
mov w1, #4190208 ; =0x3ff000
bfxil w1, w8, #0, #11
add x3, sp, #44
add x4, sp, #40
mov w2, #22 ; =0x16
bl _putbits24
b LBB0_19
LBB0_46: ; in Loop: Header=BB0_7 Depth=1
lsr w9, w8, #13
cbnz w9, LBB0_63
; %bb.47: ; in Loop: Header=BB0_7 Depth=1
ldr x0, [x20]
mov w1, #16769024 ; =0xffe000
bfxil w1, w8, #0, #12
add x3, sp, #44
add x4, sp, #40
mov w2, #24 ; =0x18
bl _putbits24
b LBB0_19
LBB0_48:
mov w27, #0 ; =0x0
cmp w8, w27
b.gt LBB0_50
b LBB0_55
LBB0_49:
ldr w24, [sp, #12] ; 4-byte Folded Reload
cmp w8, w27
b.le LBB0_55
LBB0_50:
; kill: def $w27 killed $w27 killed $x27 def $x27
sxtw x19, w27
b LBB0_53
LBB0_51: ; in Loop: Header=BB0_53 Depth=1
mov w8, #256 ; =0x100
bfxil w8, w1, #0, #7
add x3, sp, #44
add x4, sp, #40
mov x1, x8
mov w2, #9 ; =0x9
bl _putbits16
LBB0_52: ; in Loop: Header=BB0_53 Depth=1
add x19, x19, #1
ldrsw x8, [x21]
cmp x19, x8
b.ge LBB0_55
LBB0_53: ; =>This Inner Loop Header: Depth=1
ldr x8, [x22]
ldr w1, [x8, x19, lsl #2]
ldr x0, [x20]
cmp w1, #127
b.gt LBB0_51
; %bb.54: ; in Loop: Header=BB0_53 Depth=1
add x3, sp, #44
add x4, sp, #40
mov w2, #8 ; =0x8
bl _putbits8
b LBB0_52
LBB0_55:
ldr w2, [sp, #40]
tst w2, #0xfffffff7
b.eq LBB0_57
; %bb.56:
ldr x0, [x20]
add x3, sp, #44
add x4, sp, #40
mov w1, #0 ; =0x0
bl _putbits8
ldr w8, [x21]
LBB0_57:
ldr w9, [sp, #44]
cmp w8, w9
b.lt LBB0_59
; %bb.58:
Lloh12:
adrp x10, _MPPC_SAVE_HISTORY@GOTPAGE
Lloh13:
ldr x10, [x10, _MPPC_SAVE_HISTORY@GOTPAGEOFF]
Lloh14:
ldr w10, [x10]
ldr w11, [sp, #28] ; 4-byte Folded Reload
orr w10, w10, w11
cbnz w10, LBB0_60
LBB0_59:
Lloh15:
adrp x10, _MPPC_EXPANDED@GOTPAGE
Lloh16:
ldr x10, [x10, _MPPC_EXPANDED@GOTPAGEOFF]
Lloh17:
ldr w10, [x10]
cmp w8, w9
csel w8, w10, wzr, lt
orr w24, w8, w24
mov x0, x23
mov w1, #24 ; =0x18
bl _bzero
ldr w8, [x28]
str w8, [x23, #8]
ldr w8, [x21]
ldr w9, [sp, #44]
LBB0_60:
ldr x10, [x22]
add x8, x10, w8, sxtw #2
str x8, [x22]
str wzr, [x21]
ldr x8, [x20]
add x8, x8, w9, sxtw #2
str x8, [x20]
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr w10, [x8]
sub w9, w10, w9
str w9, [x8]
LBB0_61:
mov x0, x24
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #144
ret
LBB0_62:
bl ___unreachable
LBB0_63:
Lloh18:
adrp x8, _MPPC_OK@GOTPAGE
Lloh19:
ldr x8, [x8, _MPPC_OK@GOTPAGEOFF]
Lloh20:
ldr w8, [x8]
ldr w24, [sp, #12] ; 4-byte Folded Reload
bic w24, w24, w8
b LBB0_61
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.cfi_endproc
; -- End function
.comm _MPPC_OK,4,2 ; @MPPC_OK
.comm _MPPE_HIST_LEN,4,2 ; @MPPE_HIST_LEN
.comm _MPPC_RESTART_HISTORY,4,2 ; @MPPC_RESTART_HISTORY
.comm _MPPC_SAVE_HISTORY,4,2 ; @MPPC_SAVE_HISTORY
.comm _MPPC_EXPANDED,4,2 ; @MPPC_EXPANDED
.subsections_via_symbols
| assembly_file_166436.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _khrn_cache_lookup ## -- Begin function khrn_cache_lookup
.p2align 4, 0x90
_khrn_cache_lookup: ## @khrn_cache_lookup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %ebx
movq %rsi, %r15
movq %rdi, %r12
movq %rdx, -56(%rbp) ## 8-byte Spill
movq %rdx, %rdi
movl %ecx, %esi
movl %r8d, %edx
callq _hash
movl %eax, %r14d
leaq 24(%r15), %r13
movq %r13, %rdi
movl %eax, %esi
callq _khrn_pointer_map_lookup
testq %rax, %rax
movq %rax, -48(%rbp) ## 8-byte Spill
je LBB0_4
## %bb.1:
cmpl %ebx, (%rax)
jl LBB0_4
## %bb.2:
movq 8(%rax), %rdi
movq -56(%rbp), %rsi ## 8-byte Reload
movl %ebx, %edx
callq _memcmp
movq -48(%rbp), %rcx ## 8-byte Reload
testl %eax, %eax
je LBB0_3
LBB0_4:
movl %r14d, -64(%rbp) ## 4-byte Spill
movq %rbx, -72(%rbp) ## 8-byte Spill
leal 23(%rbx), %edi
callq __msb
movq _CACHE_LOG2_BLOCK_SIZE@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
subq %rcx, %rax
leaq 2(%rax), %rdi
movl $1, %esi
callq __max
movq -48(%rbp), %rdx ## 8-byte Reload
movl %eax, %r14d
testq %rdx, %rdx
je LBB0_6
## %bb.5:
movq %r12, %rdi
movq %r15, %rsi
callq _discard
LBB0_6:
movq %r13, -48(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movl %r14d, %esi
callq _heap_avail
testl %eax, %eax
jne LBB0_9
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movq %r12, %rdi
movq %r15, %rsi
callq _grow
testq %rax, %rax
jne LBB0_7
LBB0_9:
leaq 8(%r15), %r13
movq 32(%r15), %rbx
cmpq %r13, %rbx
je LBB0_13
.p2align 4, 0x90
LBB0_11: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movl %r14d, %esi
callq _heap_avail
testl %eax, %eax
jne LBB0_13
## %bb.12: ## in Loop: Header=BB0_11 Depth=1
movq %r12, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq _discard
movq 8(%rbx), %rbx
cmpq %r13, %rbx
jne LBB0_11
LBB0_13:
movq %r15, %rdi
movl %r14d, %esi
callq _heap_avail
movl $-1, %ecx
testl %eax, %eax
je LBB0_18
## %bb.14:
movq %r15, %rdi
movl %r14d, %esi
callq _heap_alloc
movl %eax, %edx
movq (%r15), %rax
movq _CACHE_LOG2_BLOCK_SIZE@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
movl %edx, -60(%rbp) ## 4-byte Spill
shll %cl, %edx
movslq %edx, %rcx
leaq (%rax,%rcx,4), %r14
movq -72(%rbp), %rdx ## 8-byte Reload
movl %edx, (%rax,%rcx,4)
movl -64(%rbp), %ebx ## 4-byte Reload
movl %ebx, 4(%rax,%rcx,4)
movq 8(%rax,%rcx,4), %rdi
movq -56(%rbp), %rsi ## 8-byte Reload
## kill: def $edx killed $edx killed $rdx
callq _platform_memcpy
movq -48(%rbp), %rdi ## 8-byte Reload
movl %ebx, %esi
movq %r14, %rdx
callq _khrn_pointer_map_insert
testl %eax, %eax
je LBB0_15
## %bb.16:
leaq 16(%r14), %rdi
movl 8(%r15), %esi
movq %r13, %rdx
callq _link_insert
movq %r14, %rsi
subq (%r15), %rsi
shrq $2, %rsi
movq %r12, %rdi
## kill: def $esi killed $esi killed $rsi
callq _send_create
movq 8(%r14), %rsi
subq (%r15), %rsi
shrq $2, %rsi
movq %r12, %rdi
## kill: def $esi killed $esi killed $rsi
movq -56(%rbp), %rdx ## 8-byte Reload
movq -72(%rbp), %rcx ## 8-byte Reload
## kill: def $ecx killed $ecx killed $rcx
callq _send_data
movq %r14, %rcx
jmp LBB0_17
LBB0_15:
movq %r15, %rdi
movl -60(%rbp), %esi ## 4-byte Reload
callq _heap_free
movl $-1, %ecx
jmp LBB0_18
LBB0_3:
movq %rcx, %r14
addq $16, %r14
movq %r14, %rdi
callq _link_remove
leaq 8(%r15), %rdx
movl 8(%r15), %esi
movq %r14, %rdi
callq _link_insert
movq -48(%rbp), %rcx ## 8-byte Reload
LBB0_17:
subq (%r15), %rcx
shrq $2, %rcx
LBB0_18:
movl %ecx, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CACHE_LOG2_BLOCK_SIZE,4,2 ## @CACHE_LOG2_BLOCK_SIZE
.comm _xxx_first,4,2 ## @xxx_first
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _khrn_cache_lookup ; -- Begin function khrn_cache_lookup
.p2align 2
_khrn_cache_lookup: ; @khrn_cache_lookup
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x20, x3
mov x21, x2
mov x19, x1
mov x22, x0
mov x0, x2
mov x1, x3
mov x2, x4
bl _hash
mov x23, x0
add x24, x19, #24
mov x0, x24
mov x1, x23
bl _khrn_pointer_map_lookup
mov x25, x0
cbz x0, LBB0_3
; %bb.1:
ldr w8, [x25]
cmp w8, w20
b.lt LBB0_3
; %bb.2:
ldr x0, [x25, #8]
mov x1, x21
mov x2, x20
bl _memcmp
cbz w0, LBB0_15
LBB0_3:
add w0, w20, #23
bl __msb
Lloh0:
adrp x28, _CACHE_LOG2_BLOCK_SIZE@GOTPAGE
Lloh1:
ldr x28, [x28, _CACHE_LOG2_BLOCK_SIZE@GOTPAGEOFF]
ldrsw x8, [x28]
sub x8, x0, x8
add x0, x8, #2
mov w1, #1
bl __max
mov x27, x0
cbz x25, LBB0_5
; %bb.4:
mov x0, x22
mov x1, x19
mov x2, x25
bl _discard
LBB0_5: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov x1, x27
bl _heap_avail
cbnz w0, LBB0_7
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
mov x0, x22
mov x1, x19
bl _grow
cbnz x0, LBB0_5
LBB0_7:
add x26, x19, #8
ldr x25, [x19, #32]
cmp x25, x26
b.eq LBB0_10
LBB0_8: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov x1, x27
bl _heap_avail
cbnz w0, LBB0_10
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
mov x0, x22
mov x1, x19
mov x2, x25
bl _discard
ldr x25, [x25, #8]
cmp x25, x26
b.ne LBB0_8
LBB0_10:
mov x0, x19
mov x1, x27
bl _heap_avail
cbz w0, LBB0_13
; %bb.11:
mov x0, x19
mov x1, x27
bl _heap_alloc
mov x27, x0
ldr x8, [x19]
ldr w9, [x28]
lsl w9, w0, w9
add x25, x8, w9, sxtw #2
stp w20, w23, [x25]
ldr x0, [x25, #8]
mov x1, x21
mov x2, x20
bl _platform_memcpy
mov x0, x24
mov x1, x23
mov x2, x25
bl _khrn_pointer_map_insert
cbz w0, LBB0_14
; %bb.12:
add x0, x25, #16
ldr w1, [x19, #8]
mov x2, x26
bl _link_insert
ldr x8, [x19]
sub x8, x25, x8
lsr x1, x8, #2
mov x0, x22
; kill: def $w1 killed $w1 killed $x1
bl _send_create
ldr x8, [x25, #8]
ldr x9, [x19]
sub x8, x8, x9
lsr x1, x8, #2
mov x0, x22
; kill: def $w1 killed $w1 killed $x1
mov x2, x21
mov x3, x20
bl _send_data
b LBB0_16
LBB0_13:
mov w0, #-1
b LBB0_17
LBB0_14:
mov x0, x19
mov x1, x27
bl _heap_free
mov w0, #-1
b LBB0_17
LBB0_15:
add x20, x25, #16
mov x0, x20
bl _link_remove
mov x2, x19
ldr w1, [x2, #8]!
mov x0, x20
bl _link_insert
LBB0_16:
ldr x8, [x19]
sub x8, x25, x8
lsr x0, x8, #2
LBB0_17:
; kill: def $w0 killed $w0 killed $x0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _CACHE_LOG2_BLOCK_SIZE,4,2 ; @CACHE_LOG2_BLOCK_SIZE
.comm _xxx_first,4,2 ; @xxx_first
.subsections_via_symbols
| AnghaBench/RetroArch/gfx/include/userland/interface/khronos/common/extr_khrn_client_cache.c_khrn_cache_lookup.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _archive_entry_unset_mtime ## -- Begin function archive_entry_unset_mtime
.p2align 4, 0x90
_archive_entry_unset_mtime: ## @archive_entry_unset_mtime
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
xorl %esi, %esi
xorl %edx, %edx
callq _archive_entry_set_mtime
movq _AE_SET_MTIME@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
andl %eax, (%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AE_SET_MTIME,4,2 ## @AE_SET_MTIME
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _archive_entry_unset_mtime ; -- Begin function archive_entry_unset_mtime
.p2align 2
_archive_entry_unset_mtime: ; @archive_entry_unset_mtime
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
mov w1, #0
mov w2, #0
bl _archive_entry_set_mtime
Lloh0:
adrp x8, _AE_SET_MTIME@GOTPAGE
Lloh1:
ldr x8, [x8, _AE_SET_MTIME@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
ldr w9, [x19]
bic w8, w9, w8
str w8, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _AE_SET_MTIME,4,2 ; @AE_SET_MTIME
.subsections_via_symbols
| AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_entry.c_archive_entry_unset_mtime.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function enforce_temp_range
_enforce_temp_range: ## @enforce_temp_range
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r15d
movq %rdi, %r14
movq _min_low_temp@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _max_high_temp@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl %r15d, %edi
callq _clamp_val
movl %eax, %ebx
cmpl %r15d, %eax
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rsi
movq %r14, %rdi
movl %r15d, %edx
movl %ebx, %ecx
callq _dev_info
LBB0_2:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _min_low_temp,4,2 ## @min_low_temp
.comm _max_high_temp,4,2 ## @max_high_temp
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "soctherm: trip temperature %d forced to %d\n"
.no_dead_strip _enforce_temp_range
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function enforce_temp_range
_enforce_temp_range: ; @enforce_temp_range
.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, _min_low_temp@GOTPAGE
Lloh1:
ldr x8, [x8, _min_low_temp@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x8, _max_high_temp@GOTPAGE
Lloh4:
ldr x8, [x8, _max_high_temp@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
mov x0, x19
bl _clamp_val
mov x21, x0
cmp w0, w19
b.eq LBB0_2
; %bb.1:
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
mov x2, x19
mov x3, x21
bl _dev_info
LBB0_2:
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 AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _min_low_temp,4,2 ; @min_low_temp
.comm _max_high_temp,4,2 ; @max_high_temp
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "soctherm: trip temperature %d forced to %d\n"
.no_dead_strip _enforce_temp_range
.subsections_via_symbols
| AnghaBench/linux/drivers/thermal/tegra/extr_soctherm.c_enforce_temp_range.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pt_qry_decode_pad ## -- Begin function pt_qry_decode_pad
.p2align 4, 0x90
_pt_qry_decode_pad: ## @pt_qry_decode_pad
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _pte_internal@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _pte_internal,4,2 ## @pte_internal
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pt_qry_decode_pad ; -- Begin function pt_qry_decode_pad
.p2align 2
_pt_qry_decode_pad: ; @pt_qry_decode_pad
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _pte_internal@GOTPAGE
Lloh1:
ldr x8, [x8, _pte_internal@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _pte_internal,4,2 ; @pte_internal
.subsections_via_symbols
| AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-fetch.c_pt_qry_decode_pad.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _testfunc ## -- Begin function testfunc
.p2align 4, 0x90
_testfunc: ## @testfunc
.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 _testfunc ; -- Begin function testfunc
.p2align 2
_testfunc: ; @testfunc
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/690902.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mlx5dr_ste_set_counter_id ## -- Begin function mlx5dr_ste_set_counter_id
.p2align 4, 0x90
_mlx5dr_ste_set_counter_id: ## @mlx5dr_ste_set_counter_id
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %ebx
movq %rdi, %r14
movq _ste_rx_steering_mult@GOTPCREL(%rip), %r15
movl (%r15), %edi
movq _counter_trigger_15_0@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r14, %rsi
movl %ebx, %ecx
callq _MLX5_SET
movl (%r15), %edi
movq _counter_trigger_23_16@GOTPCREL(%rip), %rax
movl (%rax), %edx
sarl $16, %ebx
movq %r14, %rsi
movl %ebx, %ecx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _MLX5_SET ## TAILCALL
.cfi_endproc
## -- End function
.comm _ste_rx_steering_mult,4,2 ## @ste_rx_steering_mult
.comm _counter_trigger_15_0,4,2 ## @counter_trigger_15_0
.comm _counter_trigger_23_16,4,2 ## @counter_trigger_23_16
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mlx5dr_ste_set_counter_id ; -- Begin function mlx5dr_ste_set_counter_id
.p2align 2
_mlx5dr_ste_set_counter_id: ; @mlx5dr_ste_set_counter_id
.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 x21, _ste_rx_steering_mult@GOTPAGE
Lloh1:
ldr x21, [x21, _ste_rx_steering_mult@GOTPAGEOFF]
ldr w0, [x21]
Lloh2:
adrp x8, _counter_trigger_15_0@GOTPAGE
Lloh3:
ldr x8, [x8, _counter_trigger_15_0@GOTPAGEOFF]
Lloh4:
ldr w2, [x8]
mov x1, x20
mov x3, x19
bl _MLX5_SET
ldr w0, [x21]
Lloh5:
adrp x8, _counter_trigger_23_16@GOTPAGE
Lloh6:
ldr x8, [x8, _counter_trigger_23_16@GOTPAGEOFF]
Lloh7:
ldr w2, [x8]
asr w3, w19, #16
mov x1, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _MLX5_SET
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _ste_rx_steering_mult,4,2 ; @ste_rx_steering_mult
.comm _counter_trigger_15_0,4,2 ; @counter_trigger_15_0
.comm _counter_trigger_23_16,4,2 ; @counter_trigger_23_16
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/extr_dr_ste.c_mlx5dr_ste_set_counter_id.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function web_connection_send_reply
_web_connection_send_reply: ## @web_connection_send_reply
.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 %r9, -104(%rbp) ## 8-byte Spill
## kill: def $ecx killed $ecx def $rcx
movq %rcx, -80(%rbp) ## 8-byte Spill
movq %rdx, -112(%rbp) ## 8-byte Spill
movl %esi, %r13d
movq %rdi, -88(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl $1000, %r14d ## imm = 0x3E8
xorl %r15d, %r15d
testq %r8, %r8
je LBB0_1
## %bb.2:
movq %r8, %rbx
movq %r8, %rdi
callq _wpabuf_head
movl %eax, %r12d
movq %rbx, %rdi
callq _wpabuf_len
leaq -64(%rbp), %rdx
movl %r12d, %edi
movl %eax, %esi
callq _base64_encode
testq %rax, %rax
je LBB0_1
## %bb.3:
movq %rax, -72(%rbp) ## 8-byte Spill
movq %rax, %rdi
callq _os_strlen
movl %eax, %r14d
addl $1000, %r14d ## imm = 0x3E8
movb $1, %r12b
jmp LBB0_4
LBB0_1:
xorl %r12d, %r12d
xorl %eax, %eax
movq %rax, -72(%rbp) ## 8-byte Spill
LBB0_4:
movq -80(%rbp), %rcx ## 8-byte Reload
leal (%rcx,%rcx), %eax
testl %ecx, %ecx
cmovgl %eax, %r15d
addl %r14d, %r15d
movl %r15d, %edi
callq _wpabuf_alloc
testq %rax, %rax
je LBB0_5
## %bb.6:
movq %rax, %rbx
movq _HTTP_OK@GOTPCREL(%rip), %r15
cmpl %r13d, (%r15)
jne LBB0_8
## %bb.7:
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
callq _wpabuf_put_str
jmp LBB0_9
LBB0_5:
movq _MSG_INFO@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _wpa_printf
movq -72(%rbp), %rdi ## 8-byte Reload
callq _os_free
movq -88(%rbp), %rdi ## 8-byte Reload
callq _http_request_deinit
jmp LBB0_18
LBB0_8:
leaq L_.str.2(%rip), %rsi
movq %rbx, %rdi
movl %r13d, %edx
xorl %eax, %eax
callq _wpabuf_printf
LBB0_9:
movq _http_connection_close@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq %rbx, %rdi
callq _wpabuf_put_str
leaq L_.str.3(%rip), %rsi
movq %rbx, %rdi
callq _wpabuf_put_str
movq %rbx, %rdi
xorl %esi, %esi
callq _wpabuf_put
movq %rax, -96(%rbp) ## 8-byte Spill
leaq L_.str.4(%rip), %rsi
movq %rbx, %rdi
callq _wpabuf_put_str
movq %rbx, %rdi
callq _http_put_date
leaq L_.str.5(%rip), %rsi
movq %rbx, %rdi
callq _wpabuf_put_str
movq %rbx, %rdi
xorl %esi, %esi
callq _wpabuf_put
movq %rax, %r14
movl (%r15), %r15d
movq _soap_prefix@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq %rbx, %rdi
callq _wpabuf_put_str
cmpl %r13d, %r15d
jne LBB0_13
## %bb.10:
leaq L_.str.6(%rip), %rsi
movq %rbx, %rdi
callq _wpabuf_put_str
movq %rbx, %rdi
movq -112(%rbp), %r13 ## 8-byte Reload
movq %r13, %rsi
movq -80(%rbp), %rdx ## 8-byte Reload
## kill: def $edx killed $edx killed $rdx
callq _wpabuf_put_data
leaq L_.str.7(%rip), %rsi
movq %rbx, %rdi
callq _wpabuf_put_str
movq _urn_wfawlanconfig@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq %rbx, %rdi
callq _wpabuf_put_str
leaq L_.str.8(%rip), %rsi
movq %rbx, %rdi
callq _wpabuf_put_str
movq -104(%rbp), %rdx ## 8-byte Reload
testq %rdx, %rdx
sete %al
xorb $1, %r12b
orb %al, %r12b
movq -72(%rbp), %r15 ## 8-byte Reload
jne LBB0_12
## %bb.11:
leaq L_.str.9(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
movq %rdx, %r12
callq _wpabuf_printf
movq %rbx, %rdi
movq %r15, %rsi
callq _wpabuf_put_str
leaq L_.str.10(%rip), %rsi
movq %rbx, %rdi
movq %r12, %rdx
xorl %eax, %eax
callq _wpabuf_printf
LBB0_12:
leaq L_.str.11(%rip), %rsi
movq %rbx, %rdi
callq _wpabuf_put_str
movq %rbx, %rdi
movq %r13, %rsi
movq -80(%rbp), %rdx ## 8-byte Reload
## kill: def $edx killed $edx killed $rdx
callq _wpabuf_put_data
leaq L_.str.12(%rip), %rsi
jmp LBB0_14
LBB0_13:
movq _soap_error_prefix@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq %rbx, %rdi
callq _wpabuf_put_str
leaq L_.str.13(%rip), %rsi
movq %rbx, %rdi
movl %r13d, %edx
xorl %eax, %eax
callq _wpabuf_printf
movq _soap_error_postfix@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq -72(%rbp), %r15 ## 8-byte Reload
LBB0_14:
movq %rbx, %rdi
callq _wpabuf_put_str
movq _soap_postfix@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq %rbx, %rdi
callq _wpabuf_put_str
movq %r15, %rdi
callq _os_free
testq %r14, %r14
movq -96(%rbp), %r15 ## 8-byte Reload
je LBB0_17
## %bb.15:
testq %r15, %r15
je LBB0_17
## %bb.16:
movq %rbx, %rdi
xorl %esi, %esi
callq _wpabuf_put
subl %r14d, %eax
leaq L_.str.14(%rip), %rdx
leaq -64(%rbp), %r14
movq %r14, %rdi
movl $10, %esi
movl %eax, %ecx
callq _os_snprintf
movq %r14, %rdi
callq _os_strlen
movq %r15, %rdi
movq %r14, %rsi
movl %eax, %edx
callq _os_memcpy
LBB0_17:
movq -88(%rbp), %rdi ## 8-byte Reload
movq %rbx, %rsi
callq _http_request_send_and_deinit
LBB0_18:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_20
## %bb.19:
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_20:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MSG_INFO,4,2 ## @MSG_INFO
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "WPS UPnP: Cannot allocate reply to POST"
.comm _HTTP_OK,4,2 ## @HTTP_OK
L_.str.1: ## @.str.1
.asciz "HTTP/1.1 200 OK\r\nContent-Type: text/xml; charset=\"utf-8\"\r\n"
L_.str.2: ## @.str.2
.asciz "HTTP/1.1 %d Error\r\n"
.comm _http_connection_close,8,3 ## @http_connection_close
L_.str.3: ## @.str.3
.asciz "Content-Length: "
L_.str.4: ## @.str.4
.asciz " \r\n"
L_.str.5: ## @.str.5
.asciz "\r\n"
.comm _soap_prefix,8,3 ## @soap_prefix
L_.str.6: ## @.str.6
.asciz "<u:"
L_.str.7: ## @.str.7
.asciz "Response xmlns:u=\""
.comm _urn_wfawlanconfig,8,3 ## @urn_wfawlanconfig
L_.str.8: ## @.str.8
.asciz "\">\n"
L_.str.9: ## @.str.9
.asciz "<%s>"
L_.str.10: ## @.str.10
.asciz "</%s>\n"
L_.str.11: ## @.str.11
.asciz "</u:"
L_.str.12: ## @.str.12
.asciz "Response>\n"
.comm _soap_postfix,8,3 ## @soap_postfix
.comm _soap_error_prefix,8,3 ## @soap_error_prefix
L_.str.13: ## @.str.13
.asciz "<errorCode>%d</errorCode>\n"
.comm _soap_error_postfix,8,3 ## @soap_error_postfix
L_.str.14: ## @.str.14
.asciz "%d"
.no_dead_strip _web_connection_send_reply
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function web_connection_send_reply
_web_connection_send_reply: ; @web_connection_send_reply
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
str x5, [sp, #16] ; 8-byte Folded Spill
mov x20, x4
mov x22, x3
mov x25, x2
mov x26, x1
mov x23, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #40]
cbz x4, LBB0_3
; %bb.1:
mov x0, x20
bl _wpabuf_head
mov x21, x0
mov x0, x20
bl _wpabuf_len
mov x1, x0
add x2, sp, #24
mov x0, x21
bl _base64_encode
mov x20, x0
cbz x0, LBB0_3
; %bb.2:
mov x0, x20
bl _os_strlen
add w8, w0, #1000
mov w28, #1
b LBB0_4
LBB0_3:
mov w28, #0
mov w8, #1000
LBB0_4:
lsl w9, w22, #1
cmp w22, #0
csel w9, w9, wzr, gt
add w0, w8, w9
bl _wpabuf_alloc
cbz x0, LBB0_7
; %bb.5:
mov x21, x0
Lloh3:
adrp x19, _HTTP_OK@GOTPAGE
Lloh4:
ldr x19, [x19, _HTTP_OK@GOTPAGEOFF]
ldr w8, [x19]
cmp w8, w26
b.ne LBB0_8
; %bb.6:
Lloh5:
adrp x1, l_.str.1@PAGE
Lloh6:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x21
bl _wpabuf_put_str
b LBB0_9
LBB0_7:
Lloh7:
adrp x8, _MSG_INFO@GOTPAGE
Lloh8:
ldr x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh9:
ldr w0, [x8]
Lloh10:
adrp x1, l_.str@PAGE
Lloh11:
add x1, x1, l_.str@PAGEOFF
bl _wpa_printf
mov x0, x20
bl _os_free
mov x0, x23
bl _http_request_deinit
b LBB0_18
LBB0_8:
str x26, [sp]
Lloh12:
adrp x1, l_.str.2@PAGE
Lloh13:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x21
bl _wpabuf_printf
LBB0_9:
Lloh14:
adrp x8, _http_connection_close@GOTPAGE
Lloh15:
ldr x8, [x8, _http_connection_close@GOTPAGEOFF]
Lloh16:
ldr x1, [x8]
mov x0, x21
bl _wpabuf_put_str
Lloh17:
adrp x1, l_.str.3@PAGE
Lloh18:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x21
bl _wpabuf_put_str
mov x0, x21
mov w1, #0
bl _wpabuf_put
mov x24, x0
Lloh19:
adrp x1, l_.str.4@PAGE
Lloh20:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x21
bl _wpabuf_put_str
mov x0, x21
bl _http_put_date
Lloh21:
adrp x1, l_.str.5@PAGE
Lloh22:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x21
bl _wpabuf_put_str
mov x0, x21
mov w1, #0
bl _wpabuf_put
mov x27, x0
ldr w19, [x19]
Lloh23:
adrp x8, _soap_prefix@GOTPAGE
Lloh24:
ldr x8, [x8, _soap_prefix@GOTPAGEOFF]
Lloh25:
ldr x1, [x8]
mov x0, x21
bl _wpabuf_put_str
cmp w19, w26
b.ne LBB0_13
; %bb.10:
Lloh26:
adrp x1, l_.str.6@PAGE
Lloh27:
add x1, x1, l_.str.6@PAGEOFF
mov x0, x21
bl _wpabuf_put_str
mov x0, x21
mov x1, x25
mov x2, x22
bl _wpabuf_put_data
Lloh28:
adrp x1, l_.str.7@PAGE
Lloh29:
add x1, x1, l_.str.7@PAGEOFF
mov x0, x21
bl _wpabuf_put_str
Lloh30:
adrp x8, _urn_wfawlanconfig@GOTPAGE
Lloh31:
ldr x8, [x8, _urn_wfawlanconfig@GOTPAGEOFF]
Lloh32:
ldr x1, [x8]
mov x0, x21
bl _wpabuf_put_str
Lloh33:
adrp x1, l_.str.8@PAGE
Lloh34:
add x1, x1, l_.str.8@PAGEOFF
mov x0, x21
bl _wpabuf_put_str
ldr x26, [sp, #16] ; 8-byte Folded Reload
cmp x26, #0
cset w8, eq
eor w9, w28, #0x1
orr w8, w8, w9
tbnz w8, #0, LBB0_12
; %bb.11:
str x26, [sp]
Lloh35:
adrp x1, l_.str.9@PAGE
Lloh36:
add x1, x1, l_.str.9@PAGEOFF
mov x0, x21
bl _wpabuf_printf
mov x0, x21
mov x1, x20
bl _wpabuf_put_str
str x26, [sp]
Lloh37:
adrp x1, l_.str.10@PAGE
Lloh38:
add x1, x1, l_.str.10@PAGEOFF
mov x0, x21
bl _wpabuf_printf
LBB0_12:
Lloh39:
adrp x1, l_.str.11@PAGE
Lloh40:
add x1, x1, l_.str.11@PAGEOFF
mov x0, x21
bl _wpabuf_put_str
mov x0, x21
mov x1, x25
mov x2, x22
bl _wpabuf_put_data
Lloh41:
adrp x1, l_.str.12@PAGE
Lloh42:
add x1, x1, l_.str.12@PAGEOFF
b LBB0_14
LBB0_13:
Lloh43:
adrp x8, _soap_error_prefix@GOTPAGE
Lloh44:
ldr x8, [x8, _soap_error_prefix@GOTPAGEOFF]
Lloh45:
ldr x1, [x8]
mov x0, x21
bl _wpabuf_put_str
; kill: def $w26 killed $w26 killed $x26 def $x26
str x26, [sp]
Lloh46:
adrp x1, l_.str.13@PAGE
Lloh47:
add x1, x1, l_.str.13@PAGEOFF
mov x0, x21
bl _wpabuf_printf
Lloh48:
adrp x8, _soap_error_postfix@GOTPAGE
Lloh49:
ldr x8, [x8, _soap_error_postfix@GOTPAGEOFF]
Lloh50:
ldr x1, [x8]
LBB0_14:
mov x0, x21
bl _wpabuf_put_str
Lloh51:
adrp x8, _soap_postfix@GOTPAGE
Lloh52:
ldr x8, [x8, _soap_postfix@GOTPAGEOFF]
Lloh53:
ldr x1, [x8]
mov x0, x21
bl _wpabuf_put_str
mov x0, x20
bl _os_free
cbz x27, LBB0_17
; %bb.15:
cbz x24, LBB0_17
; %bb.16:
mov x0, x21
mov w1, #0
bl _wpabuf_put
sub w3, w0, w27
Lloh54:
adrp x2, l_.str.14@PAGE
Lloh55:
add x2, x2, l_.str.14@PAGEOFF
add x0, sp, #24
mov w1, #10
bl _os_snprintf
add x0, sp, #24
bl _os_strlen
mov x2, x0
add x1, sp, #24
mov x0, x24
bl _os_memcpy
LBB0_17:
mov x0, x23
mov x1, x21
bl _http_request_send_and_deinit
LBB0_18:
ldr x8, [sp, #40]
Lloh56:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh57:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh58:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_20
; %bb.19:
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #144
ret
LBB0_20:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53
.loh AdrpAdd Lloh54, Lloh55
.loh AdrpLdrGotLdr Lloh56, Lloh57, Lloh58
.cfi_endproc
; -- End function
.comm _MSG_INFO,4,2 ; @MSG_INFO
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "WPS UPnP: Cannot allocate reply to POST"
.comm _HTTP_OK,4,2 ; @HTTP_OK
l_.str.1: ; @.str.1
.asciz "HTTP/1.1 200 OK\r\nContent-Type: text/xml; charset=\"utf-8\"\r\n"
l_.str.2: ; @.str.2
.asciz "HTTP/1.1 %d Error\r\n"
.comm _http_connection_close,8,3 ; @http_connection_close
l_.str.3: ; @.str.3
.asciz "Content-Length: "
l_.str.4: ; @.str.4
.asciz " \r\n"
l_.str.5: ; @.str.5
.asciz "\r\n"
.comm _soap_prefix,8,3 ; @soap_prefix
l_.str.6: ; @.str.6
.asciz "<u:"
l_.str.7: ; @.str.7
.asciz "Response xmlns:u=\""
.comm _urn_wfawlanconfig,8,3 ; @urn_wfawlanconfig
l_.str.8: ; @.str.8
.asciz "\">\n"
l_.str.9: ; @.str.9
.asciz "<%s>"
l_.str.10: ; @.str.10
.asciz "</%s>\n"
l_.str.11: ; @.str.11
.asciz "</u:"
l_.str.12: ; @.str.12
.asciz "Response>\n"
.comm _soap_postfix,8,3 ; @soap_postfix
.comm _soap_error_prefix,8,3 ; @soap_error_prefix
l_.str.13: ; @.str.13
.asciz "<errorCode>%d</errorCode>\n"
.comm _soap_error_postfix,8,3 ; @soap_error_postfix
l_.str.14: ; @.str.14
.asciz "%d"
.no_dead_strip _web_connection_send_reply
.subsections_via_symbols
| AnghaBench/freebsd/contrib/wpa/src/wps/extr_wps_upnp_web.c_web_connection_send_reply.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function wined3d_gl_type_to_enum
_wined3d_gl_type_to_enum: ## @wined3d_gl_type_to_enum
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, %esi
leal -128(%rsi), %eax
cmpl $7, %eax
ja LBB0_9
## %bb.1:
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_2:
movq _GL_TEXTURE_2D@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_3:
movq _GL_TEXTURE_RECTANGLE_ARB@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_4:
movq _GL_TEXTURE_CUBE_MAP_ARB@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_5:
movq _GL_TEXTURE_3D@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_6:
movq _GL_TEXTURE_1D@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_8:
movq _GL_RENDERBUFFER@GOTPCREL(%rip), %rax
LBB0_7:
movl (%rax), %eax
popq %rbp
retq
LBB0_9:
leaq L_.str(%rip), %rdi
## kill: def $esi killed $esi killed $rsi
callq _ERR
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
.long L0_0_set_3
.long L0_0_set_4
.long L0_0_set_5
.long L0_0_set_2
.long L0_0_set_6
.long L0_0_set_8
.long L0_0_set_9
.long L0_0_set_2
.end_data_region
## -- End function
.comm _GL_TEXTURE_1D,4,2 ## @GL_TEXTURE_1D
.comm _GL_TEXTURE_2D,4,2 ## @GL_TEXTURE_2D
.comm _GL_TEXTURE_3D,4,2 ## @GL_TEXTURE_3D
.comm _GL_TEXTURE_CUBE_MAP_ARB,4,2 ## @GL_TEXTURE_CUBE_MAP_ARB
.comm _GL_TEXTURE_RECTANGLE_ARB,4,2 ## @GL_TEXTURE_RECTANGLE_ARB
.comm _GL_RENDERBUFFER,4,2 ## @GL_RENDERBUFFER
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Unexpected GL resource type %u.\n"
.no_dead_strip _wined3d_gl_type_to_enum
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function wined3d_gl_type_to_enum
_wined3d_gl_type_to_enum: ; @wined3d_gl_type_to_enum
.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 x1, x0
sub w8, w0, #128
cmp w8, #7
b.hi LBB0_9
; %bb.1:
Lloh0:
adrp x9, lJTI0_0@PAGE
Lloh1:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_2
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_2:
Lloh2:
adrp x8, _GL_TEXTURE_2D@GOTPAGE
Lloh3:
ldr x8, [x8, _GL_TEXTURE_2D@GOTPAGEOFF]
b LBB0_8
LBB0_3:
Lloh4:
adrp x8, _GL_TEXTURE_RECTANGLE_ARB@GOTPAGE
Lloh5:
ldr x8, [x8, _GL_TEXTURE_RECTANGLE_ARB@GOTPAGEOFF]
b LBB0_8
LBB0_4:
Lloh6:
adrp x8, _GL_TEXTURE_CUBE_MAP_ARB@GOTPAGE
Lloh7:
ldr x8, [x8, _GL_TEXTURE_CUBE_MAP_ARB@GOTPAGEOFF]
b LBB0_8
LBB0_5:
Lloh8:
adrp x8, _GL_TEXTURE_3D@GOTPAGE
Lloh9:
ldr x8, [x8, _GL_TEXTURE_3D@GOTPAGEOFF]
b LBB0_8
LBB0_6:
Lloh10:
adrp x8, _GL_TEXTURE_1D@GOTPAGE
Lloh11:
ldr x8, [x8, _GL_TEXTURE_1D@GOTPAGEOFF]
b LBB0_8
LBB0_7:
Lloh12:
adrp x8, _GL_RENDERBUFFER@GOTPAGE
Lloh13:
ldr x8, [x8, _GL_RENDERBUFFER@GOTPAGEOFF]
LBB0_8:
ldr w0, [x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_9:
Lloh14:
adrp x0, l_.str@PAGE
Lloh15:
add x0, x0, l_.str@PAGEOFF
bl _ERR
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_3-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_5-LBB0_2)>>2
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_6-LBB0_2)>>2
.byte (LBB0_7-LBB0_2)>>2
.byte (LBB0_9-LBB0_2)>>2
.byte (LBB0_2-LBB0_2)>>2
; -- End function
.comm _GL_TEXTURE_1D,4,2 ; @GL_TEXTURE_1D
.comm _GL_TEXTURE_2D,4,2 ; @GL_TEXTURE_2D
.comm _GL_TEXTURE_3D,4,2 ; @GL_TEXTURE_3D
.comm _GL_TEXTURE_CUBE_MAP_ARB,4,2 ; @GL_TEXTURE_CUBE_MAP_ARB
.comm _GL_TEXTURE_RECTANGLE_ARB,4,2 ; @GL_TEXTURE_RECTANGLE_ARB
.comm _GL_RENDERBUFFER,4,2 ; @GL_RENDERBUFFER
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Unexpected GL resource type %u.\n"
.no_dead_strip _wined3d_gl_type_to_enum
.subsections_via_symbols
| AnghaBench/reactos/dll/directx/wine/wined3d/extr_utils.c_wined3d_gl_type_to_enum.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rndis_unbind ## -- Begin function rndis_unbind
.p2align 4, 0x90
_rndis_unbind: ## @rndis_unbind
.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
movq _CONTROL_BUFFER_SIZE@GOTPCREL(%rip), %r12
movl (%r12), %edi
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _kzalloc
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %rax, %rbx
movq _RNDIS_MSG_HALT@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _cpu_to_le32
movq %rax, 8(%rbx)
movl $16, %edi
callq _cpu_to_le32
movq %rax, (%rbx)
movl (%r12), %edx
movq %r15, %rdi
movq %rbx, %rsi
callq _rndis_command
movq %rbx, %rdi
callq _kfree
LBB0_2:
movq %r15, %rdi
movq %r14, %rsi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _usbnet_cdc_unbind ## TAILCALL
.cfi_endproc
## -- End function
.comm _CONTROL_BUFFER_SIZE,4,2 ## @CONTROL_BUFFER_SIZE
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _RNDIS_MSG_HALT,4,2 ## @RNDIS_MSG_HALT
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rndis_unbind ; -- Begin function rndis_unbind
.p2align 2
_rndis_unbind: ; @rndis_unbind
.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 x22, _CONTROL_BUFFER_SIZE@GOTPAGE
Lloh1:
ldr x22, [x22, _CONTROL_BUFFER_SIZE@GOTPAGEOFF]
ldr w0, [x22]
Lloh2:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh3:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
bl _kzalloc
cbz x0, LBB0_2
; %bb.1:
mov x21, x0
Lloh5:
adrp x8, _RNDIS_MSG_HALT@GOTPAGE
Lloh6:
ldr x8, [x8, _RNDIS_MSG_HALT@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
bl _cpu_to_le32
str x0, [x21, #8]
mov w0, #16
bl _cpu_to_le32
str x0, [x21]
ldr w2, [x22]
mov x0, x20
mov x1, x21
bl _rndis_command
mov x0, x21
bl _kfree
LBB0_2:
mov x0, x20
mov x1, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _usbnet_cdc_unbind
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _CONTROL_BUFFER_SIZE,4,2 ; @CONTROL_BUFFER_SIZE
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _RNDIS_MSG_HALT,4,2 ; @RNDIS_MSG_HALT
.subsections_via_symbols
| AnghaBench/linux/drivers/net/usb/extr_rndis_host.c_rndis_unbind.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function print_dec_ll
_print_dec_ll: ## @print_dec_ll
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testq %rdx, %rdx
je LBB0_4
## %bb.1:
testl %esi, %esi
jle LBB0_7
## %bb.2:
movq %rdx, %r8
xorl %ecx, %ecx
movabsq $-3689348814741910323, %rsi ## imm = 0xCCCCCCCCCCCCCCCD
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r8, %rax
mulq %rsi
shrq $3, %rdx
leal (%rdx,%rdx), %eax
leal (%rax,%rax,4), %eax
movl %r8d, %r9d
subl %eax, %r9d
orb $48, %r9b
movb %r9b, (%rdi,%rcx)
decq %rcx
cmpq $9, %r8
movq %rdx, %r8
ja LBB0_3
jmp LBB0_8
LBB0_4:
testl %esi, %esi
js LBB0_7
## %bb.5:
movb $48, (%rdi)
movl $1, %ecx
jmp LBB0_8
LBB0_7:
xorl %ecx, %ecx
LBB0_8:
movl %ecx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _print_dec_ll
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function print_dec_ll
_print_dec_ll: ; @print_dec_ll
.cfi_startproc
; %bb.0:
cbz x2, LBB0_5
; %bb.1:
cmp w1, #1
b.lt LBB0_7
; %bb.2:
mov x8, #0 ; =0x0
mov x9, #-3689348814741910324 ; =0xcccccccccccccccc
movk x9, #52429
mov w10, #10 ; =0xa
LBB0_3: ; =>This Inner Loop Header: Depth=1
umulh x11, x2, x9
lsr x11, x11, #3
msub w12, w11, w10, w2
orr w12, w12, #0x30
strb w12, [x0, x8]
sub x8, x8, #1
cmp x2, #9
mov x2, x11
b.hi LBB0_3
; %bb.4:
mov x0, x8
ret
LBB0_5:
tbnz w1, #31, LBB0_7
; %bb.6:
mov w8, #48 ; =0x30
strb w8, [x0]
mov w8, #1 ; =0x1
mov x0, x8
ret
LBB0_7:
mov w8, #0 ; =0x0
mov x0, x8
ret
.cfi_endproc
; -- End function
.no_dead_strip _print_dec_ll
.subsections_via_symbols
| assembly_file_80557.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _enumerate_Cookie ## -- Begin function enumerate_Cookie
.p2align 4, 0x90
_enumerate_Cookie: ## @enumerate_Cookie
.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), %r9
movq _id_last@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl %r9d, %eax
jbe LBB0_6
## %bb.1:
movl %r9d, %r8d
movq _cookies@GOTPCREL(%rip), %rdx
movq %r8, %rcx
shlq $4, %rcx
addq (%rdx), %rcx
subl %eax, %r9d
xorl %eax, %eax
xorl %edx, %edx
jmp LBB0_3
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_3 Depth=1
decq %rdx
addq $16, %rcx
cmpl %edx, %r9d
je LBB0_7
LBB0_3: ## =>This Inner Loop Header: Depth=1
cmpq $0, (%rcx)
je LBB0_2
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
cmpq %rdi, 8(%rcx)
jne LBB0_2
## %bb.5:
subl %edx, %r8d
incl %r8d
movq %r8, (%rsi)
movq (%rcx), %rax
popq %rbp
retq
LBB0_6:
xorl %eax, %eax
LBB0_7:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _id_last,4,2 ## @id_last
.comm _cookies,8,3 ## @cookies
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _enumerate_Cookie ; -- Begin function enumerate_Cookie
.p2align 2
_enumerate_Cookie: ; @enumerate_Cookie
.cfi_startproc
; %bb.0:
ldr x9, [x1]
Lloh0:
adrp x8, _id_last@GOTPAGE
Lloh1:
ldr x8, [x8, _id_last@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
subs w8, w8, w9
b.ls LBB0_6
; %bb.1:
and x9, x9, #0xffffffff
Lloh3:
adrp x10, _cookies@GOTPAGE
Lloh4:
ldr x10, [x10, _cookies@GOTPAGEOFF]
Lloh5:
ldr x11, [x10]
add x10, x9, #1
add x9, x11, x9, lsl #4
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x10, x10, #1
add x9, x9, #16
subs w8, w8, #1
b.eq LBB0_6
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x11, [x9]
cbz x11, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr x11, [x9, #8]
cmp x11, x0
b.ne LBB0_2
; %bb.5:
and x8, x10, #0xffffffff
str x8, [x1]
ldr x0, [x9]
ret
LBB0_6:
mov x0, #0
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _id_last,4,2 ; @id_last
.comm _cookies,8,3 ; @cookies
.subsections_via_symbols
| AnghaBench/reactos/dll/win32/msctf/extr_msctf.c_enumerate_Cookie.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function IFN_Beginning_Of_Field
_IFN_Beginning_Of_Field: ## @IFN_Beginning_Of_Field
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq (%rdi), %r14
leaq L_.str(%rip), %rdi
callq _T_CALLED
movl %ebx, %edi
callq _T
movq %rbx, %rdi
callq _Synchronize_Buffer
movl (%r14), %r15d
movq %r14, %rdi
callq _Buffer_Length
movl %r15d, %edi
movl %eax, %esi
callq _Get_Start_Of_Data
movq %rbx, %rdi
movl %eax, %esi
callq _Adjust_Cursor_Position
movq _E_OK@GOTPCREL(%rip), %rax
movl (%rax), %edi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _returnCode ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "IFN_Beginning_Of_Field(%p)"
.comm _E_OK,4,2 ## @E_OK
.no_dead_strip _IFN_Beginning_Of_Field
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function IFN_Beginning_Of_Field
_IFN_Beginning_Of_Field: ; @IFN_Beginning_Of_Field
.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 x20, [x0]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _T_CALLED
mov x0, x19
bl _T
mov x0, x19
bl _Synchronize_Buffer
ldr w21, [x20]
mov x0, x20
bl _Buffer_Length
mov x1, x0
mov x0, x21
bl _Get_Start_Of_Data
mov x1, x0
mov x0, x19
bl _Adjust_Cursor_Position
Lloh2:
adrp x8, _E_OK@GOTPAGE
Lloh3:
ldr x8, [x8, _E_OK@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _returnCode
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "IFN_Beginning_Of_Field(%p)"
.comm _E_OK,4,2 ; @E_OK
.no_dead_strip _IFN_Beginning_Of_Field
.subsections_via_symbols
| AnghaBench/freebsd/contrib/ncurses/form/extr_frm_driver.c_IFN_Beginning_Of_Field.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| the_stack_data/45451202.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pushnumint
_pushnumint: ## @pushnumint
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %esi, %ebx
movq %rdi, %r14
leaq -20(%rbp), %rsi
movl %ebx, %edi
callq _lua_numbertointeger
testq %rax, %rax
je LBB0_2
## %bb.1:
movl -20(%rbp), %esi
movq %r14, %rdi
callq _lua_pushinteger
jmp LBB0_3
LBB0_2:
movq %r14, %rdi
movl %ebx, %esi
callq _lua_pushnumber
LBB0_3:
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _pushnumint
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pushnumint
_pushnumint: ; @pushnumint
.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 x20, x1
mov x19, x0
add x1, sp, #12
mov x0, x20
bl _lua_numbertointeger
cbz x0, LBB0_2
; %bb.1:
ldr w1, [sp, #12]
mov x0, x19
bl _lua_pushinteger
b LBB0_3
LBB0_2:
mov x0, x19
mov x1, x20
bl _lua_pushnumber
LBB0_3:
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 _pushnumint
.subsections_via_symbols
| AnghaBench/xLua/WebGLPlugins/extr_lmathlib.c_pushnumint.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ug_raw_putc
_ug_raw_putc: ## @ug_raw_putc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
shll $20, %edi
orl $-1342177280, %edi ## imm = 0xB0000000
popq %rbp
jmp _ug_io_transaction ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _ug_raw_putc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ug_raw_putc
_ug_raw_putc: ; @ug_raw_putc
.cfi_startproc
; %bb.0:
mov w8, #-1342177280
orr w0, w8, w0, lsl #20
b _ug_io_transaction
.cfi_endproc
; -- End function
.no_dead_strip _ug_raw_putc
.subsections_via_symbols
| AnghaBench/linux/arch/powerpc/boot/extr_ugecon.c_ug_raw_putc.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 floor1_look
LCPI0_0:
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
LCPI0_1:
.quad 8 ## 0x8
.quad 8 ## 0x8
LCPI0_2:
.quad 16 ## 0x10
.quad 16 ## 0x10
LCPI0_3:
.quad 24 ## 0x18
.quad 24 ## 0x18
LCPI0_4:
.quad 32 ## 0x20
.quad 32 ## 0x20
LCPI0_5:
.quad 40 ## 0x28
.quad 40 ## 0x28
LCPI0_6:
.quad 48 ## 0x30
.quad 48 ## 0x30
LCPI0_7:
.quad 56 ## 0x38
.quad 56 ## 0x38
LCPI0_8:
.quad 4 ## 0x4
.quad 4 ## 0x4
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_floor1_look: ## @floor1_look
.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 %rdx, %r12
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _VIF_POSIT@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl $2, %eax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r13
movl $1, %edi
movl $48, %esi
callq __ogg_calloc
movq %rax, %r15
movq %r12, 40(%rax)
movq (%r12), %r8
movl 4(%r8), %eax
movl %eax, (%r15)
movl 8(%r12), %r10d
testl %r10d, %r10d
jle LBB0_1
## %bb.4:
movq 16(%r12), %rax
movq 32(%r12), %rcx
leaq -1(%r10), %rdi
movl %r10d, %r9d
andl $3, %r9d
cmpq $3, %rdi
jae LBB0_6
## %bb.5:
xorl %edi, %edi
xorl %ebx, %ebx
jmp LBB0_8
LBB0_1:
movl $2, 4(%r15)
xorl %ebx, %ebx
movl $2, %esi
jmp LBB0_2
LBB0_6:
andl $-4, %r10d
xorl %edi, %edi
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movq (%rax,%rdi,8), %rdx
movq 8(%rax,%rdi,8), %rsi
addl (%rcx,%rdx,8), %ebx
addl (%rcx,%rsi,8), %ebx
movq 16(%rax,%rdi,8), %rdx
addl (%rcx,%rdx,8), %ebx
movq 24(%rax,%rdi,8), %rdx
addl (%rcx,%rdx,8), %ebx
addq $4, %rdi
cmpq %rdi, %r10
jne LBB0_7
LBB0_8:
testq %r9, %r9
je LBB0_11
## %bb.9:
leaq (%rax,%rdi,8), %rax
xorl %esi, %esi
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
movq (%rax,%rsi,8), %rdx
addl (%rcx,%rdx,8), %ebx
incq %rsi
cmpq %rsi, %r9
jne LBB0_10
LBB0_11:
leal 2(%rbx), %esi
movl %esi, 4(%r15)
cmpl $-2, %ebx
jle LBB0_12
LBB0_2:
cmpl $2, %esi
movl $1, %r14d
cmovgel %esi, %r14d
cmpl $4, %r14d
jae LBB0_13
## %bb.3:
xorl %ecx, %ecx
jmp LBB0_21
LBB0_13:
movl %r14d, %ecx
andl $2147483644, %ecx ## imm = 0x7FFFFFFC
leaq -4(%rcx), %rax
movq %rax, %rdi
shrq $2, %rdi
incq %rdi
movl %edi, %edx
andl $3, %edx
movq %r8, %xmm8
cmpq $12, %rax
jae LBB0_15
## %bb.14:
movdqa LCPI0_0(%rip), %xmm5 ## xmm5 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
xorl %eax, %eax
jmp LBB0_17
LBB0_12:
movq _icomp@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r13, %rdi
movl $8, %edx
callq _qsort
jmp LBB0_33
LBB0_15:
movabsq $9223372036854775806, %rax ## imm = 0x7FFFFFFFFFFFFFFE
addq $-2, %rax
andq %rax, %rdi
movdqa LCPI0_0(%rip), %xmm5 ## xmm5 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
xorl %eax, %eax
pshufd $68, %xmm8, %xmm2 ## xmm2 = xmm8[0,1,0,1]
movdqa LCPI0_1(%rip), %xmm9 ## xmm9 = [8,8]
movdqa LCPI0_2(%rip), %xmm4 ## xmm4 = [16,16]
movdqa LCPI0_3(%rip), %xmm10 ## xmm10 = [24,24]
movdqa LCPI0_4(%rip), %xmm11 ## xmm11 = [32,32]
movdqa LCPI0_5(%rip), %xmm12 ## xmm12 = [40,40]
movdqa LCPI0_6(%rip), %xmm1 ## xmm1 = [48,48]
movdqa LCPI0_7(%rip), %xmm3 ## xmm3 = [56,56]
.p2align 4, 0x90
LBB0_16: ## =>This Inner Loop Header: Depth=1
movdqa %xmm5, %xmm0
psllq $2, %xmm0
paddq %xmm2, %xmm0
movdqa %xmm0, %xmm6
paddq %xmm9, %xmm6
movdqa %xmm0, (%r13,%rax,8)
movdqa %xmm6, 16(%r13,%rax,8)
movdqa %xmm0, %xmm6
paddq %xmm4, %xmm6
movdqa %xmm0, %xmm7
paddq %xmm10, %xmm7
movdqa %xmm6, 32(%r13,%rax,8)
movdqa %xmm7, 48(%r13,%rax,8)
movdqa %xmm0, %xmm6
paddq %xmm11, %xmm6
movdqa %xmm0, %xmm7
paddq %xmm12, %xmm7
movdqa %xmm6, 64(%r13,%rax,8)
movdqa %xmm7, 80(%r13,%rax,8)
movdqa %xmm0, %xmm6
paddq %xmm1, %xmm6
paddq %xmm3, %xmm0
movdqa %xmm6, 96(%r13,%rax,8)
movdqa %xmm0, 112(%r13,%rax,8)
addq $16, %rax
paddq %xmm4, %xmm5
addq $-4, %rdi
jne LBB0_16
LBB0_17:
testq %rdx, %rdx
je LBB0_20
## %bb.18:
leaq 16(,%rax,8), %rax
addq %r13, %rax
shlq $5, %rdx
xorl %edi, %edi
pshufd $68, %xmm8, %xmm1 ## xmm1 = xmm8[0,1,0,1]
movdqa LCPI0_1(%rip), %xmm2 ## xmm2 = [8,8]
movdqa LCPI0_8(%rip), %xmm3 ## xmm3 = [4,4]
.p2align 4, 0x90
LBB0_19: ## =>This Inner Loop Header: Depth=1
movdqa %xmm5, %xmm0
psllq $2, %xmm0
paddq %xmm1, %xmm0
movdqa %xmm0, -16(%rax,%rdi)
paddq %xmm2, %xmm0
movdqa %xmm0, (%rax,%rdi)
paddq %xmm3, %xmm5
addq $32, %rdi
cmpq %rdi, %rdx
jne LBB0_19
LBB0_20:
cmpq %r14, %rcx
je LBB0_23
LBB0_21:
leaq (%r8,%rcx,4), %rax
.p2align 4, 0x90
LBB0_22: ## =>This Inner Loop Header: Depth=1
movq %rax, (%r13,%rcx,8)
incq %rcx
addq $4, %rax
cmpq %rcx, %r14
jne LBB0_22
LBB0_23:
movq _icomp@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r13, %rdi
movl $8, %edx
callq _qsort
movq (%r12), %rax
movq 8(%r15), %rcx
cmpl $4, %r14d
jae LBB0_25
## %bb.24:
xorl %edx, %edx
jmp LBB0_32
LBB0_25:
movl %r14d, %edx
andl $2147483644, %edx ## imm = 0x7FFFFFFC
movq %rax, %xmm0
pshufd $68, %xmm0, %xmm0 ## xmm0 = xmm0[0,1,0,1]
leaq -4(%rdx), %rsi
movq %rsi, %r8
shrq $2, %r8
incq %r8
testq %rsi, %rsi
je LBB0_26
## %bb.27:
movq %r8, %rdi
movabsq $9223372036854775806, %rsi ## imm = 0x7FFFFFFFFFFFFFFE
andq %rsi, %rdi
xorl %esi, %esi
.p2align 4, 0x90
LBB0_28: ## =>This Inner Loop Header: Depth=1
movdqa (%r13,%rsi,8), %xmm1
movdqa 16(%r13,%rsi,8), %xmm2
psubq %xmm0, %xmm1
psubq %xmm0, %xmm2
psrlq $2, %xmm1
psrlq $2, %xmm2
pshufd $232, %xmm1, %xmm1 ## xmm1 = xmm1[0,2,2,3]
pshufd $232, %xmm2, %xmm2 ## xmm2 = xmm2[0,2,2,3]
punpcklqdq %xmm2, %xmm1 ## xmm1 = xmm1[0],xmm2[0]
movdqu %xmm1, (%rcx,%rsi,4)
movdqa 32(%r13,%rsi,8), %xmm1
movdqa 48(%r13,%rsi,8), %xmm2
psubq %xmm0, %xmm1
psubq %xmm0, %xmm2
psrlq $2, %xmm1
psrlq $2, %xmm2
pshufd $232, %xmm1, %xmm1 ## xmm1 = xmm1[0,2,2,3]
pshufd $232, %xmm2, %xmm2 ## xmm2 = xmm2[0,2,2,3]
punpcklqdq %xmm2, %xmm1 ## xmm1 = xmm1[0],xmm2[0]
movdqu %xmm1, 16(%rcx,%rsi,4)
addq $8, %rsi
addq $-2, %rdi
jne LBB0_28
## %bb.29:
testb $1, %r8b
je LBB0_31
LBB0_30:
movdqa (%r13,%rsi,8), %xmm1
movdqa 16(%r13,%rsi,8), %xmm2
psubq %xmm0, %xmm1
psubq %xmm0, %xmm2
psrlq $2, %xmm1
psrlq $2, %xmm2
pshufd $232, %xmm1, %xmm0 ## xmm0 = xmm1[0,2,2,3]
pshufd $232, %xmm2, %xmm1 ## xmm1 = xmm2[0,2,2,3]
punpcklqdq %xmm1, %xmm0 ## xmm0 = xmm0[0],xmm1[0]
movdqu %xmm0, (%rcx,%rsi,4)
LBB0_31:
cmpq %r14, %rdx
je LBB0_33
.p2align 4, 0x90
LBB0_32: ## =>This Inner Loop Header: Depth=1
movq (%r13,%rdx,8), %rsi
subq %rax, %rsi
shrq $2, %rsi
movl %esi, (%rcx,%rdx,4)
incq %rdx
cmpq %rdx, %r14
jne LBB0_32
LBB0_33:
movl 24(%r12), %eax
decl %eax
cmpl $3, %eax
ja LBB0_35
## %bb.34:
cltq
leaq L_switch.table.floor1_look(%rip), %rcx
movl (%rcx,%rax,4), %eax
movl %eax, 16(%r15)
LBB0_35:
testl %ebx, %ebx
jle LBB0_50
## %bb.36:
movq (%r12), %r11
movq 24(%r15), %rax
movq %rax, -88(%rbp) ## 8-byte Spill
movq 32(%r15), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
movl %ebx, %eax
movq %rax, -72(%rbp) ## 8-byte Spill
movl $2, %ebx
xorl %ecx, %ecx
movq %r15, -56(%rbp) ## 8-byte Spill
jmp LBB0_37
.p2align 4, 0x90
LBB0_49: ## in Loop: Header=BB0_37 Depth=1
movq -56(%rbp), %r15 ## 8-byte Reload
movq -64(%rbp), %rcx ## 8-byte Reload
movq -88(%rbp), %rax ## 8-byte Reload
movl %r14d, (%rax,%rcx,4)
movq -80(%rbp), %rax ## 8-byte Reload
movl %r9d, (%rax,%rcx,4)
incq %rcx
incq %rbx
cmpq -72(%rbp), %rcx ## 8-byte Folded Reload
je LBB0_50
LBB0_37: ## =>This Loop Header: Depth=1
## Child Loop BB0_38 Depth 2
movl (%r15), %r12d
movq %rcx, -64(%rbp) ## 8-byte Spill
movl 8(%r11,%rcx,4), %esi
movq %rbx, -96(%rbp) ## 8-byte Spill
movabsq $9223372036854775806, %rax ## imm = 0x7FFFFFFFFFFFFFFE
andq %rax, %rbx
movq %rbx, -104(%rbp) ## 8-byte Spill
movl $1, %r9d
xorl %edx, %edx
xorl %r10d, %r10d
xorl %r14d, %r14d
jmp LBB0_38
.p2align 4, 0x90
LBB0_46: ## in Loop: Header=BB0_38 Depth=2
leaq 2(%rdi), %rdx
cmpq -104(%rbp), %rdx ## 8-byte Folded Reload
je LBB0_47
LBB0_38: ## Parent Loop BB0_37 Depth=1
## => This Inner Loop Header: Depth=2
movl %r14d, %r8d
movq %rdx, %rdi
movq %r11, %rbx
movl (%r11,%rdx,4), %edx
cmpl %r10d, %edx
setg %al
movl %esi, %r14d
cmpl %esi, %edx
setl %cl
setg %r11b
movl %edi, %r13d
movl %edx, %r15d
testb %cl, %al
jne LBB0_40
## %bb.39: ## in Loop: Header=BB0_38 Depth=2
movl %r8d, %r13d
movl %r10d, %r15d
LBB0_40: ## in Loop: Header=BB0_38 Depth=2
cmpl %r12d, %edx
setl %al
movl %edi, %r8d
testb %r11b, %al
jne LBB0_42
## %bb.41: ## in Loop: Header=BB0_38 Depth=2
movl %r9d, %r8d
movl %r12d, %edx
LBB0_42: ## in Loop: Header=BB0_38 Depth=2
movq %rbx, %r11
movl 4(%rbx,%rdi,4), %r12d
cmpl %r15d, %r12d
setg %cl
leal 1(%rdi), %r9d
movl %r14d, %esi
cmpl %r14d, %r12d
setl %bl
setg %al
movl %r9d, %r14d
movl %r12d, %r10d
testb %bl, %cl
jne LBB0_44
## %bb.43: ## in Loop: Header=BB0_38 Depth=2
movl %r13d, %r14d
movl %r15d, %r10d
LBB0_44: ## in Loop: Header=BB0_38 Depth=2
cmpl %edx, %r12d
setl %cl
testb %al, %cl
jne LBB0_46
## %bb.45: ## in Loop: Header=BB0_38 Depth=2
movl %r8d, %r9d
movl %edx, %r12d
jmp LBB0_46
.p2align 4, 0x90
LBB0_47: ## in Loop: Header=BB0_37 Depth=1
movq -96(%rbp), %rbx ## 8-byte Reload
testb $1, %bl
je LBB0_49
## %bb.48: ## in Loop: Header=BB0_37 Depth=1
movl 8(%r11,%rdi,4), %eax
cmpl %esi, %eax
movl %r14d, %ecx
cmovll %edx, %ecx
cmovlel %r9d, %edx
cmpl %r10d, %eax
cmovgl %ecx, %r14d
cmpl %r12d, %eax
cmovgel %r9d, %edx
movl %edx, %r9d
jmp LBB0_49
LBB0_50:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_52
## %bb.51:
movq %r15, %rax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_26:
xorl %esi, %esi
testb $1, %r8b
jne LBB0_30
jmp LBB0_31
LBB0_52:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _VIF_POSIT,4,2 ## @VIF_POSIT
.comm _icomp,4,2 ## @icomp
.no_dead_strip _floor1_look
.section __TEXT,__literal16,16byte_literals
.p2align 2 ## @switch.table.floor1_look
L_switch.table.floor1_look:
.long 256 ## 0x100
.long 128 ## 0x80
.long 86 ## 0x56
.long 64 ## 0x40
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 4 ; -- Begin function floor1_look
lCPI0_0:
.quad 0 ; 0x0
.quad 1 ; 0x1
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_floor1_look: ; @floor1_look
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
sub sp, sp, #16
mov x20, x2
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, _VIF_POSIT@GOTPAGE
Lloh4:
ldr x8, [x8, _VIF_POSIT@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
add w8, w8, #2
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
mov w0, #1
mov w1, #48
bl __ogg_calloc
mov x19, x0
str x20, [x0, #40]
ldr x8, [x20]
ldr w9, [x8, #4]
str w9, [x0]
ldr w10, [x20, #8]
cmp w10, #0
b.le LBB0_3
; %bb.1:
ldr x9, [x20, #32]
ldr x11, [x20, #16]
cmp w10, #4
b.hs LBB0_4
; %bb.2:
mov x12, #0
mov w22, #0
b LBB0_7
LBB0_3:
mov w22, #0
mov w1, #2
str w1, [x19, #4]
b LBB0_10
LBB0_4:
mov w15, #0
mov w16, #0
mov w14, #0
mov w13, #0
and x12, x10, #0xfffffffc
add x17, x11, #16
mov x0, x12
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldp x1, x2, [x17, #-16]
ldp x3, x4, [x17], #32
ldr x1, [x9, x1, lsl #3]
ldr x2, [x9, x2, lsl #3]
ldr x3, [x9, x3, lsl #3]
ldr x4, [x9, x4, lsl #3]
add w15, w15, w1
add w16, w16, w2
add w14, w14, w3
add w13, w13, w4
subs x0, x0, #4
b.ne LBB0_5
; %bb.6:
add w15, w16, w15
add w14, w14, w15
add w22, w13, w14
cmp x12, x10
b.eq LBB0_9
LBB0_7:
add x11, x11, x12, lsl #3
sub x10, x10, x12
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr x12, [x11], #8
ldr x12, [x9, x12, lsl #3]
add w22, w22, w12
subs x10, x10, #1
b.ne LBB0_8
LBB0_9:
add w1, w22, #2
str w1, [x19, #4]
cmn w22, #2
b.le LBB0_24
LBB0_10:
cmp w1, #1
csinc w23, w1, wzr, gt
cmp w23, #8
b.hs LBB0_12
; %bb.11:
mov x9, #0
b LBB0_15
LBB0_12:
and x9, x23, #0x7ffffff8
Lloh8:
adrp x10, lCPI0_0@PAGE
Lloh9:
ldr q0, [x10, lCPI0_0@PAGEOFF]
add x10, x21, #32
mov w11, #24
dup.2d v1, x11
mov w11, #16
dup.2d v2, x11
dup.2d v3, x8
mov w11, #8
dup.2d v4, x11
mov x11, x9
LBB0_13: ; =>This Inner Loop Header: Depth=1
shl.2d v5, v0, #2
add.2d v5, v3, v5
add.2d v6, v5, v4
add.2d v7, v5, v2
add.2d v16, v5, v1
stp q5, q6, [x10, #-32]
stp q7, q16, [x10], #64
add.2d v0, v0, v4
subs x11, x11, #8
b.ne LBB0_13
; %bb.14:
cmp x9, x23
b.eq LBB0_17
LBB0_15:
add x10, x21, x9, lsl #3
sub x11, x23, x9
add x8, x8, x9, lsl #2
LBB0_16: ; =>This Inner Loop Header: Depth=1
str x8, [x10], #8
add x8, x8, #4
subs x11, x11, #1
b.ne LBB0_16
LBB0_17:
Lloh10:
adrp x8, _icomp@GOTPAGE
Lloh11:
ldr x8, [x8, _icomp@GOTPAGEOFF]
Lloh12:
ldr w3, [x8]
mov x0, x21
mov w2, #8
bl _qsort
ldr x8, [x20]
ldr x9, [x19, #8]
cmp w23, #8
b.hs LBB0_19
; %bb.18:
mov x10, #0
b LBB0_22
LBB0_19:
and x10, x23, #0x7ffffff8
dup.2d v0, x8
add x11, x9, #16
add x12, x21, #32
mov x13, x10
LBB0_20: ; =>This Inner Loop Header: Depth=1
ldp q1, q2, [x12, #-32]
ldp q3, q4, [x12], #64
sub.2d v1, v1, v0
sub.2d v2, v2, v0
sub.2d v3, v3, v0
sub.2d v4, v4, v0
shrn.2s v1, v1, #2
shrn.2s v2, v2, #2
shrn.2s v3, v3, #2
shrn.2s v4, v4, #2
stp d1, d2, [x11, #-16]
stp d3, d4, [x11], #32
subs x13, x13, #8
b.ne LBB0_20
; %bb.21:
cmp x10, x23
b.eq LBB0_25
LBB0_22:
add x9, x9, x10, lsl #2
sub x11, x23, x10
add x10, x21, x10, lsl #3
LBB0_23: ; =>This Inner Loop Header: Depth=1
ldr x12, [x10], #8
sub x12, x12, x8
lsr x12, x12, #2
str w12, [x9], #4
subs x11, x11, #1
b.ne LBB0_23
b LBB0_25
LBB0_24:
Lloh13:
adrp x8, _icomp@GOTPAGE
Lloh14:
ldr x8, [x8, _icomp@GOTPAGEOFF]
Lloh15:
ldr w3, [x8]
mov x0, x21
mov w2, #8
bl _qsort
LBB0_25:
ldr w8, [x20, #24]
sub w8, w8, #1
cmp w8, #3
b.hi LBB0_27
; %bb.26:
Lloh16:
adrp x9, l_switch.table.floor1_look@PAGE
Lloh17:
add x9, x9, l_switch.table.floor1_look@PAGEOFF
ldr w8, [x9, w8, sxtw #2]
str w8, [x19, #16]
LBB0_27:
cmp w22, #1
b.lt LBB0_32
; %bb.28:
mov x8, #0
ldr x9, [x20]
mov w10, w22
mov w11, #2
ldp x12, x13, [x19, #24]
LBB0_29: ; =>This Loop Header: Depth=1
; Child Loop BB0_30 Depth 2
mov x15, #0
mov w16, #0
mov w14, #0
ldr w17, [x19]
add x0, x9, x8, lsl #2
ldr w1, [x0, #8]
mov w0, #1
LBB0_30: ; Parent Loop BB0_29 Depth=1
; => This Inner Loop Header: Depth=2
ldr w2, [x9, x15, lsl #2]
cmp w2, w16
cset w3, gt
cmp w2, w1
cset w4, lt
cset w5, gt
tst w3, w4
csel w14, w15, w14, ne
csel w16, w2, w16, ne
cmp w2, w17
cset w3, lt
tst w3, w5
csel w0, w15, w0, ne
csel w17, w2, w17, ne
add x15, x15, #1
cmp x11, x15
b.ne LBB0_30
; %bb.31: ; in Loop: Header=BB0_29 Depth=1
lsl x15, x8, #2
str w14, [x12, x15]
str w0, [x13, x15]
add x8, x8, #1
add x11, x11, #1
cmp x8, x10
b.ne LBB0_29
LBB0_32:
ldur x8, [x29, #-56]
Lloh18:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh19:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_34
; %bb.33:
mov x0, x19
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_34:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdr Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.cfi_endproc
; -- End function
.comm _VIF_POSIT,4,2 ; @VIF_POSIT
.comm _icomp,4,2 ; @icomp
.no_dead_strip _floor1_look
.section __TEXT,__literal16,16byte_literals
.p2align 2 ; @switch.table.floor1_look
l_switch.table.floor1_look:
.long 256 ; 0x100
.long 128 ; 0x80
.long 86 ; 0x56
.long 64 ; 0x40
.subsections_via_symbols
| AnghaBench/Provenance/Cores/Mednafen/mednafen-1.21/src/tremor/extr_floor1.c_floor1_look.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function show_temp_crit_hyst
_show_temp_crit_hyst: ## @show_temp_crit_hyst
.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, %r15
callq _f71882fg_update_device
movq %rax, %r12
movq %r15, %rdi
callq _to_sensor_dev_attr_2
movslq (%rax), %rbx
leaq 16(%r12), %r15
movq %r15, %rdi
callq _mutex_lock
movl %ebx, %eax
shrl $31, %eax
addl %ebx, %eax
sarl %eax
cltq
movq (%r12), %rcx
movl (%rcx,%rax,4), %eax
movl %eax, %ecx
sarl $4, %ecx
andl $15, %eax
testb $1, %bl
cmovnel %ecx, %eax
movq 8(%r12), %rcx
movl (%rcx,%rbx,4), %ecx
subl %eax, %ecx
imull $1000, %ecx, %ebx ## imm = 0x3E8
movq %r15, %rdi
callq _mutex_unlock
leaq L_.str(%rip), %rsi
movq %r14, %rdi
movl %ebx, %edx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _sprintf ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
.no_dead_strip _show_temp_crit_hyst
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function show_temp_crit_hyst
_show_temp_crit_hyst: ; @show_temp_crit_hyst
.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 _f71882fg_update_device
mov x21, x0
mov x0, x20
bl _to_sensor_dev_attr_2
ldrsw x22, [x0]
add x20, x21, #16
mov x0, x20
bl _mutex_lock
cmp w22, #0
cinc w8, w22, lt
asr w8, w8, #1
ldp x9, x10, [x21]
ldr w8, [x9, w8, sxtw #2]
asr w9, w8, #4
and w8, w8, #0xf
tst w22, #0x1
csel w8, w8, w9, eq
ldr w9, [x10, x22, lsl #2]
sub w8, w9, w8
mov w9, #1000
mul w21, w8, w9
mov x0, x20
bl _mutex_unlock
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
mov x2, 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 _sprintf
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\n"
.no_dead_strip _show_temp_crit_hyst
.subsections_via_symbols
| AnghaBench/linux/drivers/hwmon/extr_f71882fg.c_show_temp_crit_hyst.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _acpi_ps_delete_parse_tree ## -- Begin function acpi_ps_delete_parse_tree
.p2align 4, 0x90
_acpi_ps_delete_parse_tree: ## @acpi_ps_delete_parse_tree
.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 _ps_delete_parse_tree@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %r14, %rsi
callq _ACPI_FUNCTION_TRACE_PTR
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
testq %r14, %r14
je LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq %r14, %rbx
cmpq %r15, %r14
je LBB0_3
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movq %rbx, %rdi
xorl %esi, %esi
callq _acpi_ps_get_arg
movq %rax, %r14
testq %rax, %rax
jne LBB0_1
jmp LBB0_5
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rbx
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movq (%rbx), %r15
movq 8(%rbx), %r14
movq %rbx, %rdi
callq _acpi_ps_free_op
testq %r14, %r14
cmoveq %r15, %r14
jmp LBB0_1
LBB0_6:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ps_delete_parse_tree,4,2 ## @ps_delete_parse_tree
.comm _return_VOID,4,2 ## @return_VOID
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _acpi_ps_delete_parse_tree ; -- Begin function acpi_ps_delete_parse_tree
.p2align 2
_acpi_ps_delete_parse_tree: ; @acpi_ps_delete_parse_tree
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x8, _ps_delete_parse_tree@GOTPAGE
Lloh1:
ldr x8, [x8, _ps_delete_parse_tree@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
mov x1, x19
bl _ACPI_FUNCTION_TRACE_PTR
mov x21, #0
LBB0_1: ; =>This Inner Loop Header: Depth=1
cbz x19, LBB0_6
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
mov x20, x19
cmp x19, x21
b.eq LBB0_4
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
mov x0, x20
mov w1, #0
bl _acpi_ps_get_arg
mov x19, x0
cbnz x0, LBB0_1
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
mov x20, x21
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldp x21, x19, [x20]
mov x0, x20
bl _acpi_ps_free_op
cmp x19, #0
csel x19, x21, x19, eq
b LBB0_1
LBB0_6:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ps_delete_parse_tree,4,2 ; @ps_delete_parse_tree
.comm _return_VOID,4,2 ; @return_VOID
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/acpi/acpica/extr_pswalk.c_acpi_ps_delete_parse_tree.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___VERIFIER_assert ## -- Begin function __VERIFIER_assert
.p2align 4, 0x90
___VERIFIER_assert: ## @__VERIFIER_assert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testl %edi, %edi
je LBB0_2
## %bb.1:
popq %rbp
retq
LBB0_2:
popq %rbp
jmp ___VERIFIER_error ## TAILCALL
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
xorl %eax, %eax
callq ___VERIFIER_nondet_int
testl %eax, %eax
jle LBB1_5
## %bb.1:
movl %eax, %ebx
jmp LBB1_2
.p2align 4, 0x90
LBB1_4: ## in Loop: Header=BB1_2 Depth=1
leal -1(%rbx), %eax
cmpl $1, %ebx
movl %eax, %ebx
jle LBB1_5
LBB1_2: ## =>This Inner Loop Header: Depth=1
testl %ebx, %ebx
jg LBB1_4
## %bb.3: ## in Loop: Header=BB1_2 Depth=1
callq ___VERIFIER_error
jmp LBB1_4
LBB1_5:
xorl %eax, %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 ___VERIFIER_assert ; -- Begin function __VERIFIER_assert
.p2align 2
___VERIFIER_assert: ; @__VERIFIER_assert
.cfi_startproc
; %bb.0:
cbz w0, LBB0_2
; %bb.1:
ret
LBB0_2:
b ___VERIFIER_error
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
bl ___VERIFIER_nondet_int
cmp w0, #1
b.lt LBB1_5
; %bb.1:
mov x19, x0
b LBB1_3
LBB1_2: ; in Loop: Header=BB1_3 Depth=1
subs w19, w19, #1
b.le LBB1_5
LBB1_3: ; =>This Inner Loop Header: Depth=1
cmp w19, #0
b.gt LBB1_2
; %bb.4: ; in Loop: Header=BB1_3 Depth=1
bl ___VERIFIER_error
b LBB1_2
LBB1_5:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/100139247.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function gptu_enable
_gptu_enable: ## @gptu_enable
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
movq _irqres@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rdi), %rcx
movl (%rax,%rcx,4), %edi
movq _timer_irq_handler@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _IRQF_TIMER@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str(%rip), %rcx
xorl %r8d, %r8d
callq _request_irq
movl %eax, %r14d
testl %eax, %eax
je LBB0_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
callq _pr_err
jmp LBB0_3
LBB0_2:
movq _CON_CNT@GOTPCREL(%rip), %rax
movq _CON_EDGE_ANY@GOTPCREL(%rip), %rcx
movl (%rcx), %ebx
orl (%rax), %ebx
movq _CON_SYNC@GOTPCREL(%rip), %rax
orl (%rax), %ebx
movq _CON_CLK_INT@GOTPCREL(%rip), %rax
orl (%rax), %ebx
movq (%r15), %rdi
callq _GPTU_CON
movl %ebx, %edi
movl %eax, %esi
callq _gptu_w32
movq (%r15), %rdi
callq _GPTU_RLD
movl $1, %edi
movl %eax, %esi
callq _gptu_w32
movq _GPTU_IRNEN@GOTPCREL(%rip), %r12
movl (%r12), %edi
callq _gptu_r32
movl %eax, %ebx
movq (%r15), %rdi
callq _BIT
orl %eax, %ebx
movl (%r12), %esi
movl %ebx, %edi
callq _gptu_w32
movq _RUN_SEN@GOTPCREL(%rip), %rax
movq _RUN_RL@GOTPCREL(%rip), %rcx
movl (%rcx), %ebx
orl (%rax), %ebx
movq (%r15), %rdi
callq _GPTU_RUN
movl %ebx, %edi
movl %eax, %esi
callq _gptu_w32
LBB0_3:
movl %r14d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _irqres,8,3 ## @irqres
.comm _timer_irq_handler,4,2 ## @timer_irq_handler
.comm _IRQF_TIMER,4,2 ## @IRQF_TIMER
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "gtpu"
L_.str.1: ## @.str.1
.asciz "gptu: failed to request irq\n"
.comm _CON_CNT,4,2 ## @CON_CNT
.comm _CON_EDGE_ANY,4,2 ## @CON_EDGE_ANY
.comm _CON_SYNC,4,2 ## @CON_SYNC
.comm _CON_CLK_INT,4,2 ## @CON_CLK_INT
.comm _GPTU_IRNEN,4,2 ## @GPTU_IRNEN
.comm _RUN_SEN,4,2 ## @RUN_SEN
.comm _RUN_RL,4,2 ## @RUN_RL
.no_dead_strip _gptu_enable
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function gptu_enable
_gptu_enable: ; @gptu_enable
.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, _irqres@GOTPAGE
Lloh1:
ldr x8, [x8, _irqres@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldr x9, [x0]
ldr w0, [x8, x9, lsl #2]
Lloh3:
adrp x8, _timer_irq_handler@GOTPAGE
Lloh4:
ldr x8, [x8, _timer_irq_handler@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
Lloh6:
adrp x8, _IRQF_TIMER@GOTPAGE
Lloh7:
ldr x8, [x8, _IRQF_TIMER@GOTPAGEOFF]
Lloh8:
ldr w2, [x8]
Lloh9:
adrp x3, l_.str@PAGE
Lloh10:
add x3, x3, l_.str@PAGEOFF
mov x4, #0
bl _request_irq
mov x19, x0
cbz w0, LBB0_2
; %bb.1:
Lloh11:
adrp x0, l_.str.1@PAGE
Lloh12:
add x0, x0, l_.str.1@PAGEOFF
bl _pr_err
b LBB0_3
LBB0_2:
Lloh13:
adrp x8, _CON_CNT@GOTPAGE
Lloh14:
ldr x8, [x8, _CON_CNT@GOTPAGEOFF]
Lloh15:
adrp x9, _CON_EDGE_ANY@GOTPAGE
Lloh16:
ldr x9, [x9, _CON_EDGE_ANY@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
Lloh18:
ldr w9, [x9]
orr w8, w9, w8
Lloh19:
adrp x9, _CON_SYNC@GOTPAGE
Lloh20:
ldr x9, [x9, _CON_SYNC@GOTPAGEOFF]
Lloh21:
ldr w9, [x9]
orr w8, w8, w9
Lloh22:
adrp x9, _CON_CLK_INT@GOTPAGE
Lloh23:
ldr x9, [x9, _CON_CLK_INT@GOTPAGEOFF]
Lloh24:
ldr w9, [x9]
orr w21, w8, w9
ldr x0, [x20]
bl _GPTU_CON
mov x1, x0
mov x0, x21
bl _gptu_w32
ldr x0, [x20]
bl _GPTU_RLD
mov x1, x0
mov w0, #1
bl _gptu_w32
Lloh25:
adrp x22, _GPTU_IRNEN@GOTPAGE
Lloh26:
ldr x22, [x22, _GPTU_IRNEN@GOTPAGEOFF]
ldr w0, [x22]
bl _gptu_r32
mov x21, x0
ldr x0, [x20]
bl _BIT
orr w0, w0, w21
ldr w1, [x22]
bl _gptu_w32
Lloh27:
adrp x8, _RUN_SEN@GOTPAGE
Lloh28:
ldr x8, [x8, _RUN_SEN@GOTPAGEOFF]
Lloh29:
ldr w8, [x8]
Lloh30:
adrp x9, _RUN_RL@GOTPAGE
Lloh31:
ldr x9, [x9, _RUN_RL@GOTPAGEOFF]
Lloh32:
ldr w9, [x9]
orr w21, w9, w8
ldr x0, [x20]
bl _GPTU_RUN
mov x1, x0
mov x0, x21
bl _gptu_w32
LBB0_3:
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 AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGot Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh18
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh17
.cfi_endproc
; -- End function
.comm _irqres,8,3 ; @irqres
.comm _timer_irq_handler,4,2 ; @timer_irq_handler
.comm _IRQF_TIMER,4,2 ; @IRQF_TIMER
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "gtpu"
l_.str.1: ; @.str.1
.asciz "gptu: failed to request irq\n"
.comm _CON_CNT,4,2 ; @CON_CNT
.comm _CON_EDGE_ANY,4,2 ; @CON_EDGE_ANY
.comm _CON_SYNC,4,2 ; @CON_SYNC
.comm _CON_CLK_INT,4,2 ; @CON_CLK_INT
.comm _GPTU_IRNEN,4,2 ; @GPTU_IRNEN
.comm _RUN_SEN,4,2 ; @RUN_SEN
.comm _RUN_RL,4,2 ; @RUN_RL
.no_dead_strip _gptu_enable
.subsections_via_symbols
| AnghaBench/linux/arch/mips/lantiq/xway/extr_gptu.c_gptu_enable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function module_verify_canonicalise
_module_verify_canonicalise: ## @module_verify_canonicalise
.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
movl 8(%rdi), %edi
shll $3, %edi
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _kmalloc
movq %rax, (%rbx)
testq %rax, %rax
je LBB0_1
## %bb.2:
movslq 8(%rbx), %rcx
leaq (%rax,%rcx,4), %rdx
movq %rdx, 16(%rbx)
testq %rcx, %rcx
jle LBB0_3
## %bb.4:
movq 48(%rbx), %rcx
movq _SHT_REL@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
leaq 48(%rcx), %rsi
xorl %r14d, %r14d
movl $1, %r9d
movq _SHF_ALLOC@GOTPCREL(%rip), %rdi
movq _SHT_RELA@GOTPCREL(%rip), %r8
jmp LBB0_5
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
movslq %r14d, %r10
incl %r14d
movl %r9d, (%rax,%r10,4)
LBB0_11: ## in Loop: Header=BB0_5 Depth=1
leaq 1(%r9), %r10
movslq 8(%rbx), %r11
addq $32, %rsi
cmpq %r11, %r9
movq %r10, %r9
jge LBB0_12
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl 24(%rbx), %r10d
cmpq %r10, %r9
je LBB0_12
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl (%rdi), %r10d
testl %r10d, -16(%rsi)
jne LBB0_10
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movq -8(%rsi), %r11
cmpq %rdx, %r11
jne LBB0_11
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
cmpq (%r8), %r11
jne LBB0_11
## %bb.9: ## in Loop: Header=BB0_5 Depth=1
movq (%rsi), %r11
shlq $5, %r11
testl %r10d, (%rcx,%r11)
jne LBB0_10
jmp LBB0_11
LBB0_1:
movq _ENOMEM@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_28
LBB0_3:
xorl %r14d, %r14d
LBB0_12:
cmpl $2, %r14d
jl LBB0_19
## %bb.13:
leal -1(%r14), %r15d
xorl %r12d, %r12d
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_14: ## =>This Inner Loop Header: Depth=1
movq (%rbx), %rax
movq 32(%rbx), %rcx
movq 48(%rbx), %rdx
movslq (%rax,%r12,4), %rsi
shlq $5, %rsi
movslq 24(%rdx,%rsi), %rdi
addq %rcx, %rdi
movslq 4(%rax,%r12,4), %rax
shlq $5, %rax
movslq 24(%rdx,%rax), %rsi
addq %rcx, %rsi
callq _strcmp
testq %rax, %rax
jle LBB0_16
## %bb.15: ## in Loop: Header=BB0_14 Depth=1
movq (%rbx), %rax
movq (%rax,%r12,4), %xmm0 ## xmm0 = mem[0],zero
pshufd $225, %xmm0, %xmm0 ## xmm0 = xmm0[1,0,2,3]
movq %xmm0, (%rax,%r12,4)
movl $1, %r13d
LBB0_16: ## in Loop: Header=BB0_14 Depth=1
incq %r12
cmpq %r15, %r12
jne LBB0_14
## %bb.17: ## in Loop: Header=BB0_14 Depth=1
testl %r13d, %r13d
je LBB0_19
## %bb.18: ## in Loop: Header=BB0_14 Depth=1
xorl %r12d, %r12d
movl $0, %r13d
cmpl $1, %r14d
jg LBB0_14
LBB0_19:
testl %r14d, %r14d
jle LBB0_27
## %bb.20:
movq (%rbx), %rsi
movq 16(%rbx), %rax
movl %r14d, %edi
movl %edi, %ecx
andl $3, %ecx
cmpl $4, %r14d
jae LBB0_22
## %bb.21:
xorl %edx, %edx
jmp LBB0_24
LBB0_22:
andl $2147483644, %edi ## imm = 0x7FFFFFFC
xorl %edx, %edx
.p2align 4, 0x90
LBB0_23: ## =>This Inner Loop Header: Depth=1
movslq (%rsi,%rdx,4), %r8
leal 1(%rdx), %r9d
movl %r9d, (%rax,%r8,4)
movslq 4(%rsi,%rdx,4), %r8
leal 2(%rdx), %r9d
movl %r9d, (%rax,%r8,4)
movslq 8(%rsi,%rdx,4), %r8
leal 3(%rdx), %r9d
movl %r9d, (%rax,%r8,4)
movslq 12(%rsi,%rdx,4), %r8
addq $4, %rdx
movl %edx, (%rax,%r8,4)
cmpq %rdx, %rdi
jne LBB0_23
LBB0_24:
testq %rcx, %rcx
je LBB0_27
## %bb.25:
leaq (%rsi,%rdx,4), %rsi
incq %rdx
xorl %edi, %edi
.p2align 4, 0x90
LBB0_26: ## =>This Inner Loop Header: Depth=1
movslq (%rsi,%rdi,4), %r8
leal (%rdx,%rdi), %r9d
movl %r9d, (%rax,%r8,4)
incq %rdi
cmpq %rdi, %rcx
jne LBB0_26
LBB0_27:
movl %r14d, 40(%rbx)
xorl %eax, %eax
LBB0_28:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _SHF_ALLOC,4,2 ## @SHF_ALLOC
.comm _SHT_REL,8,3 ## @SHT_REL
.comm _SHT_RELA,8,3 ## @SHT_RELA
.no_dead_strip _module_verify_canonicalise
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function module_verify_canonicalise
_module_verify_canonicalise: ; @module_verify_canonicalise
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
ldr w8, [x0, #8]
lsl w0, w8, #3
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _kmalloc
str x0, [x19]
cbz x0, LBB0_9
; %bb.1:
ldrsw x8, [x19, #8]
add x9, x0, x8, lsl #2
str x9, [x19, #16]
cmp w8, #1
b.lt LBB0_10
; %bb.2:
mov w20, #0 ; =0x0
ldr x8, [x19, #48]
Lloh3:
adrp x9, _SHT_REL@GOTPAGE
Lloh4:
ldr x9, [x9, _SHT_REL@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
add x10, x8, #48
mov w11, #1 ; =0x1
Lloh6:
adrp x12, _SHF_ALLOC@GOTPAGE
Lloh7:
ldr x12, [x12, _SHF_ALLOC@GOTPAGEOFF]
Lloh8:
adrp x13, _SHT_RELA@GOTPAGE
Lloh9:
ldr x13, [x13, _SHT_RELA@GOTPAGEOFF]
b LBB0_5
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
str w11, [x0, w20, sxtw #2]
add w20, w20, #1
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add x14, x11, #1
ldrsw x15, [x19, #8]
add x10, x10, #32
cmp x11, x15
mov x11, x14
b.ge LBB0_11
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w14, [x19, #24]
cmp x11, x14
b.eq LBB0_11
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldur w15, [x10, #-16]
ldr w14, [x12]
tst w14, w15
b.ne LBB0_3
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
ldur x15, [x10, #-8]
ldr x16, [x13]
cmp x15, x9
ccmp x15, x16, #0, eq
b.ne LBB0_4
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
ldr x15, [x10]
lsl x15, x15, #5
ldr w15, [x8, x15]
tst w15, w14
b.ne LBB0_3
b LBB0_4
LBB0_9:
Lloh10:
adrp x8, _ENOMEM@GOTPAGE
Lloh11:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
ldr w8, [x8]
neg w0, w8
b LBB0_22
LBB0_10:
mov w20, #0 ; =0x0
LBB0_11:
subs w21, w20, #1
b.le LBB0_18
; %bb.12:
mov x23, #0 ; =0x0
mov w22, #0 ; =0x0
LBB0_13: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #32]
ldr x9, [x19, #48]
ldr x10, [x19]
ldrsw x11, [x10, x23, lsl #2]
add x11, x9, x11, lsl #5
ldrsw x11, [x11, #24]
add x24, x23, #1
ldrsw x10, [x10, x24, lsl #2]
add x9, x9, x10, lsl #5
ldrsw x9, [x9, #24]
add x0, x8, x11
add x1, x8, x9
bl _strcmp
cmp x0, #1
b.lt LBB0_15
; %bb.14: ; in Loop: Header=BB0_13 Depth=1
ldr x8, [x19]
lsl x9, x23, #2
ldr d0, [x8, x9]
rev64.2s v0, v0
str d0, [x8, x9]
mov w22, #1 ; =0x1
LBB0_15: ; in Loop: Header=BB0_13 Depth=1
mov x23, x24
cmp x24, x21
b.ne LBB0_13
; %bb.16: ; in Loop: Header=BB0_13 Depth=1
cbz w22, LBB0_18
; %bb.17: ; in Loop: Header=BB0_13 Depth=1
mov x23, #0 ; =0x0
mov w22, #0 ; =0x0
cmp w20, #1
b.gt LBB0_13
LBB0_18:
cmp w20, #1
b.lt LBB0_21
; %bb.19:
ldr x8, [x19, #16]
ldr x9, [x19]
mov w10, w20
mov w11, #1 ; =0x1
LBB0_20: ; =>This Inner Loop Header: Depth=1
ldrsw x12, [x9], #4
str w11, [x8, x12, lsl #2]
add w11, w11, #1
subs x10, x10, #1
b.ne LBB0_20
LBB0_21:
mov w0, #0 ; =0x0
str w20, [x19, #40]
LBB0_22:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _SHF_ALLOC,4,2 ; @SHF_ALLOC
.comm _SHT_REL,8,3 ; @SHT_REL
.comm _SHT_RELA,8,3 ; @SHT_RELA
.no_dead_strip _module_verify_canonicalise
.subsections_via_symbols
| assembly_file_30491.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _define_push ## -- Begin function define_push
.p2align 4, 0x90
_define_push: ## @define_push
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r14
movq %rdx, %r15
movl %esi, %r12d
movl %edi, %ebx
callq _define_find
testq %rax, %rax
je LBB0_3
## %bb.1:
movq (%rax), %rdi
movq %r15, %rsi
callq _macro_is_equal
testl %eax, %eax
jne LBB0_3
## %bb.2:
movl %ebx, %edi
xorl %esi, %esi
callq _get_tok_str
leaq L_.str(%rip), %rdi
movl %eax, %esi
callq _tcc_warning
LBB0_3:
movq _define_stack@GOTPCREL(%rip), %rdi
movl %ebx, %esi
movl %r12d, %edx
xorl %ecx, %ecx
callq _sym_push2
testq %rax, %rax
je LBB0_6
## %bb.4:
movq %r15, (%rax)
movq %r14, 8(%rax)
movq _TOK_IDENT@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
cmpl %ebx, %ecx
jg LBB0_6
## %bb.5:
movq _table_ident@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
subl %ecx, %ebx
movslq %ebx, %rcx
movq (%rdx,%rcx,8), %rcx
movq %rax, (%rcx)
LBB0_6:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s redefined"
.comm _define_stack,4,2 ## @define_stack
.comm _TOK_IDENT,4,2 ## @TOK_IDENT
.comm _table_ident,8,3 ## @table_ident
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _define_push ; -- Begin function define_push
.p2align 2
_define_push: ; @define_push
.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, x3
mov x21, x2
mov x22, x1
mov x19, x0
bl _define_find
cbz x0, LBB0_3
; %bb.1:
ldr x0, [x0]
mov x1, x21
bl _macro_is_equal
cbnz w0, LBB0_3
; %bb.2:
mov x0, x19
mov x1, #0
bl _get_tok_str
mov x1, x0
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _tcc_warning
LBB0_3:
Lloh2:
adrp x0, _define_stack@GOTPAGE
Lloh3:
ldr x0, [x0, _define_stack@GOTPAGEOFF]
mov x1, x19
mov x2, x22
mov w3, #0
bl _sym_push2
cbz x0, LBB0_6
; %bb.4:
stp x21, x20, [x0]
Lloh4:
adrp x8, _TOK_IDENT@GOTPAGE
Lloh5:
ldr x8, [x8, _TOK_IDENT@GOTPAGEOFF]
Lloh6:
ldr w8, [x8]
cmp w8, w19
b.gt LBB0_6
; %bb.5:
Lloh7:
adrp x9, _table_ident@GOTPAGE
Lloh8:
ldr x9, [x9, _table_ident@GOTPAGEOFF]
Lloh9:
ldr x9, [x9]
sub w8, w19, w8
ldr x8, [x9, w8, sxtw #3]
str x0, [x8]
LBB0_6:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s redefined"
.comm _define_stack,4,2 ; @define_stack
.comm _TOK_IDENT,4,2 ; @TOK_IDENT
.comm _table_ident,8,3 ; @table_ident
.subsections_via_symbols
| AnghaBench/radare2/shlr/tcc/extr_tccpp.c_define_push.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function rvin_mc_parse_of_graph
_rvin_mc_parse_of_graph: ## @rvin_mc_parse_of_graph
.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
movq (%rdi), %rdi
addq $32, %rdi
callq _mutex_lock
xorl %r14d, %r14d
movq _RCAR_VIN_NUM@GOTPCREL(%rip), %r12
xorl %r13d, %r13d
xorl %r15d, %r15d
jmp LBB0_1
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
incl %r14d
cmpl (%r12), %r14d
ja LBB0_4
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq (%rbx), %rax
movq 24(%rax), %rax
movl %r14d, %ecx
cmpq $0, (%rax,%rcx,8)
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
incl %r15d
movl %r14d, %edi
callq _BIT
orl %eax, %r13d
jmp LBB0_3
LBB0_4:
movq (%rbx), %rdi
movl (%rdi), %r14d
addq $32, %rdi
callq _mutex_unlock
xorl %eax, %eax
cmpl %r15d, %r14d
jne LBB0_14
## %bb.5:
movq (%rbx), %rdi
addq $8, %rdi
callq _v4l2_async_notifier_init
cmpl $0, (%r12)
je LBB0_10
## %bb.6:
xorl %r15d, %r15d
movq _rvin_mc_parse_of_endpoint@GOTPCREL(%rip), %r14
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movl %r15d, %edi
callq _BIT
testl %r13d, %eax
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movq (%rbx), %rsi
movq 24(%rsi), %rax
movq (%rax,%r15,8), %rax
movl (%rax), %edi
addq $8, %rsi
movl (%r14), %r8d
movl $4, %edx
movl $1, %ecx
callq _v4l2_async_notifier_parse_fwnode_endpoints_by_port
testl %eax, %eax
jne LBB0_14
## %bb.7: ## in Loop: Header=BB0_8 Depth=1
incq %r15
movl (%r12), %eax
cmpq %rax, %r15
jb LBB0_8
LBB0_10:
movq (%rbx), %rdi
addq $16, %rdi
callq _list_empty
testq %rax, %rax
je LBB0_12
## %bb.11:
xorl %eax, %eax
jmp LBB0_14
LBB0_12:
movq (%rbx), %rsi
movq _rvin_group_notify_ops@GOTPCREL(%rip), %rax
movq %rax, 8(%rsi)
addq $8, %rsi
leaq 8(%rbx), %rdi
callq _v4l2_async_notifier_register
movl %eax, %r15d
testl %eax, %eax
movl $0, %eax
jns LBB0_14
## %bb.13:
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
callq _vin_err
movq (%rbx), %rdi
addq $8, %rdi
callq _v4l2_async_notifier_cleanup
movl %r15d, %eax
LBB0_14:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _RCAR_VIN_NUM,4,2 ## @RCAR_VIN_NUM
.comm _rvin_mc_parse_of_endpoint,4,2 ## @rvin_mc_parse_of_endpoint
.comm _rvin_group_notify_ops,4,2 ## @rvin_group_notify_ops
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Notifier registration failed\n"
.no_dead_strip _rvin_mc_parse_of_graph
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function rvin_mc_parse_of_graph
_rvin_mc_parse_of_graph: ; @rvin_mc_parse_of_graph
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
ldr x8, [x0]
add x0, x8, #32
bl _mutex_lock
mov w20, #0 ; =0x0
mov w21, #0 ; =0x0
mov w23, #0 ; =0x0
Lloh0:
adrp x22, _RCAR_VIN_NUM@GOTPAGE
Lloh1:
ldr x22, [x22, _RCAR_VIN_NUM@GOTPAGEOFF]
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
add w20, w20, #1
ldr w8, [x22]
cmp w20, w8
b.hi LBB0_4
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19]
ldr x8, [x8, #24]
ldr x8, [x8, w20, uxtw #3]
cbz x8, LBB0_1
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add w23, w23, #1
mov x0, x20
bl _BIT
orr w21, w0, w21
b LBB0_1
LBB0_4:
ldr x0, [x19]
ldr w20, [x0], #32
bl _mutex_unlock
cmp w20, w23
b.ne LBB0_12
; %bb.5:
ldr x8, [x19]
add x0, x8, #8
bl _v4l2_async_notifier_init
ldr w8, [x22]
cbz w8, LBB0_10
; %bb.6:
mov x20, #0 ; =0x0
Lloh2:
adrp x23, _rvin_mc_parse_of_endpoint@GOTPAGE
Lloh3:
ldr x23, [x23, _rvin_mc_parse_of_endpoint@GOTPAGEOFF]
LBB0_7: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _BIT
tst w0, w21
b.eq LBB0_10
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [x19]
ldr x9, [x8, #24]
ldr x9, [x9, x20, lsl #3]
ldr w0, [x9]
ldr w4, [x23]
add x1, x8, #8
mov w2, #4 ; =0x4
mov w3, #1 ; =0x1
bl _v4l2_async_notifier_parse_fwnode_endpoints_by_port
cbnz w0, LBB0_13
; %bb.9: ; in Loop: Header=BB0_7 Depth=1
add x20, x20, #1
ldr w8, [x22]
cmp x20, x8
b.lo LBB0_7
LBB0_10:
ldr x8, [x19]
add x0, x8, #16
bl _list_empty
cbnz x0, LBB0_12
; %bb.11:
mov x0, x19
ldr x1, [x0], #8
Lloh4:
adrp x8, _rvin_group_notify_ops@GOTPAGE
Lloh5:
ldr x8, [x8, _rvin_group_notify_ops@GOTPAGEOFF]
str x8, [x1, #8]!
bl _v4l2_async_notifier_register
tbnz w0, #31, LBB0_14
LBB0_12:
mov w0, #0 ; =0x0
LBB0_13:
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:
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
mov x20, x0
mov x0, x19
bl _vin_err
ldr x8, [x19]
add x0, x8, #8
bl _v4l2_async_notifier_cleanup
mov x0, x20
b LBB0_13
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _RCAR_VIN_NUM,4,2 ; @RCAR_VIN_NUM
.comm _rvin_mc_parse_of_endpoint,4,2 ; @rvin_mc_parse_of_endpoint
.comm _rvin_group_notify_ops,4,2 ; @rvin_group_notify_ops
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Notifier registration failed\n"
.no_dead_strip _rvin_mc_parse_of_graph
.subsections_via_symbols
| assembly_file_105497.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _moved_function ## -- Begin function moved_function
.p2align 4, 0x90
_moved_function: ## @moved_function
.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 _moved_function ; -- Begin function moved_function
.p2align 2
_moved_function: ; @moved_function
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/231394203.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vdev_indirect_mapping_load_obsolete_counts ## -- Begin function vdev_indirect_mapping_load_obsolete_counts
.p2align 4, 0x90
_vdev_indirect_mapping_load_obsolete_counts: ## @vdev_indirect_mapping_load_obsolete_counts
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
callq _vdev_indirect_mapping_verify
movl %eax, %edi
callq _ASSERT
movq (%rbx), %rax
movl (%rax), %r15d
shll $2, %r15d
movq _KM_SLEEP@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %r15d, %edi
callq _kmem_alloc
movq %rax, %r14
cmpq $0, 16(%rbx)
je LBB0_2
## %bb.1:
movl 8(%rbx), %edi
movq (%rbx), %rax
movl 4(%rax), %esi
movq _DMU_READ_PREFETCH@GOTPCREL(%rip), %rax
movl (%rax), %r9d
xorl %edx, %edx
movl %r15d, %ecx
movq %r14, %r8
callq _dmu_read
movl %eax, %edi
callq _VERIFY0
jmp LBB0_3
LBB0_2:
movq %r14, %rdi
movl %r15d, %esi
callq _bzero
LBB0_3:
movq %r14, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _KM_SLEEP,4,2 ## @KM_SLEEP
.comm _DMU_READ_PREFETCH,4,2 ## @DMU_READ_PREFETCH
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vdev_indirect_mapping_load_obsolete_counts ; -- Begin function vdev_indirect_mapping_load_obsolete_counts
.p2align 2
_vdev_indirect_mapping_load_obsolete_counts: ; @vdev_indirect_mapping_load_obsolete_counts
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x0
bl _vdev_indirect_mapping_verify
bl _ASSERT
ldr x8, [x21]
ldr w8, [x8]
lsl w20, w8, #2
Lloh0:
adrp x8, _KM_SLEEP@GOTPAGE
Lloh1:
ldr x8, [x8, _KM_SLEEP@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x20
bl _kmem_alloc
mov x19, x0
ldr x8, [x21, #16]
cbz x8, LBB0_2
; %bb.1:
ldr w0, [x21, #8]
ldr x8, [x21]
ldr w1, [x8, #4]
Lloh3:
adrp x8, _DMU_READ_PREFETCH@GOTPAGE
Lloh4:
ldr x8, [x8, _DMU_READ_PREFETCH@GOTPAGEOFF]
Lloh5:
ldr w5, [x8]
mov w2, #0
mov x3, x20
mov x4, x19
bl _dmu_read
bl _VERIFY0
b LBB0_3
LBB0_2:
mov x0, x19
mov x1, x20
bl _bzero
LBB0_3:
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
.cfi_endproc
; -- End function
.comm _KM_SLEEP,4,2 ; @KM_SLEEP
.comm _DMU_READ_PREFETCH,4,2 ; @DMU_READ_PREFETCH
.subsections_via_symbols
| AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_vdev_indirect_mapping.c_vdev_indirect_mapping_load_obsolete_counts.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _iommu_map_msi_intr ## -- Begin function iommu_map_msi_intr
.p2align 4, 0x90
_iommu_map_msi_intr: ## @iommu_map_msi_intr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, %r12
movq %r8, %rbx
movl %ecx, %r14d
movl %edx, %r13d
movl %esi, %r15d
leaq -52(%rbp), %rsi
leaq -48(%rbp), %rdx
callq _dmar_ir_find
cmpl $0, -48(%rbp)
je LBB0_3
## %bb.1:
xorl %edi, %edi
testq %rax, %rax
sete %dil
leaq L_.str(%rip), %rsi
callq _KASSERT
movl %r13d, (%r12)
movq _MSI_INTEL_ADDR_BASE@GOTPCREL(%rip), %rax
movzbl %r15b, %ecx
shll $12, %ecx
orl (%rax), %ecx
movl %ecx, (%rbx)
movq _x2apic_mode@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
cmpq $0, (%rax)
jne LBB0_12
## %bb.2:
xorl %edi, %edi
cmpl $256, %r15d ## imm = 0x100
setl %dil
movslq %r15d, %rsi
callq _KASSERT
jmp LBB0_12
LBB0_3:
movl %r13d, -44(%rbp) ## 4-byte Spill
testq %rax, %rax
je LBB0_6
## %bb.4:
cmpl $-1, %r14d
je LBB0_6
## %bb.5:
cmpl $0, (%rax)
je LBB0_6
## %bb.7:
movq %rbx, -64(%rbp) ## 8-byte Spill
movq %rax, %r13
movq %rax, %rdi
callq _DMAR_X2APIC
movl %r15d, %edi
testq %rax, %rax
je LBB0_9
## %bb.8:
callq _DMAR_IRTE1_DST_x2APIC
jmp LBB0_10
LBB0_6:
movq _EOPNOTSUPP@GOTPCREL(%rip), %rax
movl (%rax), %ebx
jmp LBB0_12
LBB0_9:
callq _DMAR_IRTE1_DST_xAPIC
LBB0_10:
movl %eax, %ebx
movl -44(%rbp), %edi ## 4-byte Reload
callq _DMAR_IRTE1_V
orl %eax, %ebx
movq _DMAR_IRTE1_DLM_FM@GOTPCREL(%rip), %rax
orl (%rax), %ebx
movq _DMAR_IRTE1_TM_EDGE@GOTPCREL(%rip), %rax
orl (%rax), %ebx
movq _DMAR_IRTE1_RH_DIRECT@GOTPCREL(%rip), %rax
orl (%rax), %ebx
movq _DMAR_IRTE1_DM_PHYSICAL@GOTPCREL(%rip), %rax
orl (%rax), %ebx
movq _DMAR_IRTE1_P@GOTPCREL(%rip), %rax
orl (%rax), %ebx
movl -52(%rbp), %ecx
movq %r13, %rdi
movl %r14d, %esi
movl %ebx, %edx
callq _dmar_ir_program_irte
xorl %ebx, %ebx
movq -64(%rbp), %rdx ## 8-byte Reload
testq %rdx, %rdx
je LBB0_12
## %bb.11:
movq _MSI_INTEL_ADDR_BASE@GOTPCREL(%rip), %rax
movl %r14d, %ecx
shll $5, %ecx
andl $1048544, %ecx ## imm = 0xFFFE0
shll $2, %r14d
andl $131072, %r14d ## imm = 0x20000
orl %ecx, %r14d
orl (%rax), %r14d
orl $24, %r14d
movl %r14d, (%rdx)
movl $0, (%r12)
LBB0_12:
movl %ebx, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "DMAR cannot translate itself"
.comm _MSI_INTEL_ADDR_BASE,4,2 ## @MSI_INTEL_ADDR_BASE
.comm _x2apic_mode,8,3 ## @x2apic_mode
.comm _EOPNOTSUPP,4,2 ## @EOPNOTSUPP
.comm _DMAR_IRTE1_DLM_FM,4,2 ## @DMAR_IRTE1_DLM_FM
.comm _DMAR_IRTE1_TM_EDGE,4,2 ## @DMAR_IRTE1_TM_EDGE
.comm _DMAR_IRTE1_RH_DIRECT,4,2 ## @DMAR_IRTE1_RH_DIRECT
.comm _DMAR_IRTE1_DM_PHYSICAL,4,2 ## @DMAR_IRTE1_DM_PHYSICAL
.comm _DMAR_IRTE1_P,4,2 ## @DMAR_IRTE1_P
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _iommu_map_msi_intr ; -- Begin function iommu_map_msi_intr
.p2align 2
_iommu_map_msi_intr: ; @iommu_map_msi_intr
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x5
mov x19, x4
mov x21, x3
mov x23, x2
mov x24, x1
add x1, sp, #12
add x2, sp, #8
bl _dmar_ir_find
mov x22, x0
ldr w8, [sp, #8]
cbz w8, LBB0_3
; %bb.1:
cmp x22, #0
cset w0, eq
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _KASSERT
str w23, [x20]
Lloh2:
adrp x8, _MSI_INTEL_ADDR_BASE@GOTPAGE
Lloh3:
ldr x8, [x8, _MSI_INTEL_ADDR_BASE@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
ubfiz w9, w24, #12, #8
orr w8, w8, w9
str w8, [x19]
Lloh5:
adrp x8, _x2apic_mode@GOTPAGE
Lloh6:
ldr x8, [x8, _x2apic_mode@GOTPAGEOFF]
Lloh7:
ldr x8, [x8]
cbz x8, LBB0_9
; %bb.2:
mov w0, #0
b LBB0_13
LBB0_3:
cbz x22, LBB0_8
; %bb.4:
cmn w21, #1
b.eq LBB0_8
; %bb.5:
ldr w8, [x22]
cbz w8, LBB0_8
; %bb.6:
mov x0, x22
bl _DMAR_X2APIC
cbz x0, LBB0_10
; %bb.7:
mov x0, x24
bl _DMAR_IRTE1_DST_x2APIC
b LBB0_11
LBB0_8:
Lloh8:
adrp x8, _EOPNOTSUPP@GOTPAGE
Lloh9:
ldr x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh10:
ldr w0, [x8]
b LBB0_13
LBB0_9:
cmp w24, #256
cset w0, lt
sxtw x1, w24
bl _KASSERT
mov w0, #0
b LBB0_13
LBB0_10:
mov x0, x24
bl _DMAR_IRTE1_DST_xAPIC
LBB0_11:
mov x24, x0
mov x0, x23
bl _DMAR_IRTE1_V
orr w8, w0, w24
Lloh11:
adrp x9, _DMAR_IRTE1_DLM_FM@GOTPAGE
Lloh12:
ldr x9, [x9, _DMAR_IRTE1_DLM_FM@GOTPAGEOFF]
Lloh13:
ldr w9, [x9]
orr w8, w8, w9
Lloh14:
adrp x9, _DMAR_IRTE1_TM_EDGE@GOTPAGE
Lloh15:
ldr x9, [x9, _DMAR_IRTE1_TM_EDGE@GOTPAGEOFF]
Lloh16:
ldr w9, [x9]
Lloh17:
adrp x10, _DMAR_IRTE1_RH_DIRECT@GOTPAGE
Lloh18:
ldr x10, [x10, _DMAR_IRTE1_RH_DIRECT@GOTPAGEOFF]
orr w8, w8, w9
Lloh19:
ldr w9, [x10]
orr w8, w8, w9
Lloh20:
adrp x9, _DMAR_IRTE1_DM_PHYSICAL@GOTPAGE
Lloh21:
ldr x9, [x9, _DMAR_IRTE1_DM_PHYSICAL@GOTPAGEOFF]
Lloh22:
ldr w9, [x9]
orr w8, w8, w9
Lloh23:
adrp x9, _DMAR_IRTE1_P@GOTPAGE
Lloh24:
ldr x9, [x9, _DMAR_IRTE1_P@GOTPAGEOFF]
Lloh25:
ldr w9, [x9]
orr w2, w8, w9
ldr w3, [sp, #12]
mov x0, x22
mov x1, x21
bl _dmar_ir_program_irte
mov w0, #0
cbz x19, LBB0_13
; %bb.12:
Lloh26:
adrp x8, _MSI_INTEL_ADDR_BASE@GOTPAGE
Lloh27:
ldr x8, [x8, _MSI_INTEL_ADDR_BASE@GOTPAGEOFF]
Lloh28:
ldr w8, [x8]
ubfiz w9, w21, #5, #15
lsl w10, w21, #2
and w10, w10, #0x20000
orr w9, w9, w10
orr w8, w9, w8
orr w8, w8, #0x18
str w8, [x19]
str wzr, [x20]
LBB0_13:
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 Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "DMAR cannot translate itself"
.comm _MSI_INTEL_ADDR_BASE,4,2 ; @MSI_INTEL_ADDR_BASE
.comm _x2apic_mode,8,3 ; @x2apic_mode
.comm _EOPNOTSUPP,4,2 ; @EOPNOTSUPP
.comm _DMAR_IRTE1_DLM_FM,4,2 ; @DMAR_IRTE1_DLM_FM
.comm _DMAR_IRTE1_TM_EDGE,4,2 ; @DMAR_IRTE1_TM_EDGE
.comm _DMAR_IRTE1_RH_DIRECT,4,2 ; @DMAR_IRTE1_RH_DIRECT
.comm _DMAR_IRTE1_DM_PHYSICAL,4,2 ; @DMAR_IRTE1_DM_PHYSICAL
.comm _DMAR_IRTE1_P,4,2 ; @DMAR_IRTE1_P
.subsections_via_symbols
| AnghaBench/freebsd/sys/x86/iommu/extr_intel_intrmap.c_iommu_map_msi_intr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function tps6105x_remove
_tps6105x_remove: ## @tps6105x_remove
.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
callq _i2c_get_clientdata
movq %rax, %r14
movq %rbx, %rdi
callq _mfd_remove_devices
movl (%r14), %edi
movq _TPS6105X_REG_0@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _TPS6105X_REG0_MODE_MASK@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _TPS6105X_MODE_SHUTDOWN@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _TPS6105X_REG0_MODE_SHIFT@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
shll %cl, %eax
movl %eax, %ecx
callq _regmap_update_bits
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TPS6105X_REG_0,4,2 ## @TPS6105X_REG_0
.comm _TPS6105X_REG0_MODE_MASK,4,2 ## @TPS6105X_REG0_MODE_MASK
.comm _TPS6105X_MODE_SHUTDOWN,4,2 ## @TPS6105X_MODE_SHUTDOWN
.comm _TPS6105X_REG0_MODE_SHIFT,4,2 ## @TPS6105X_REG0_MODE_SHIFT
.no_dead_strip _tps6105x_remove
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function tps6105x_remove
_tps6105x_remove: ; @tps6105x_remove
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _i2c_get_clientdata
mov x20, x0
mov x0, x19
bl _mfd_remove_devices
Lloh0:
adrp x8, _TPS6105X_REG_0@GOTPAGE
Lloh1:
ldr x8, [x8, _TPS6105X_REG_0@GOTPAGEOFF]
ldr w0, [x20]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x8, _TPS6105X_REG0_MODE_MASK@GOTPAGE
Lloh4:
ldr x8, [x8, _TPS6105X_REG0_MODE_MASK@GOTPAGEOFF]
Lloh5:
adrp x9, _TPS6105X_MODE_SHUTDOWN@GOTPAGE
Lloh6:
ldr x9, [x9, _TPS6105X_MODE_SHUTDOWN@GOTPAGEOFF]
Lloh7:
ldr w2, [x8]
Lloh8:
ldr w8, [x9]
Lloh9:
adrp x9, _TPS6105X_REG0_MODE_SHIFT@GOTPAGE
Lloh10:
ldr x9, [x9, _TPS6105X_REG0_MODE_SHIFT@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
lsl w3, w8, w9
bl _regmap_update_bits
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh7
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _TPS6105X_REG_0,4,2 ; @TPS6105X_REG_0
.comm _TPS6105X_REG0_MODE_MASK,4,2 ; @TPS6105X_REG0_MODE_MASK
.comm _TPS6105X_MODE_SHUTDOWN,4,2 ; @TPS6105X_MODE_SHUTDOWN
.comm _TPS6105X_REG0_MODE_SHIFT,4,2 ; @TPS6105X_REG0_MODE_SHIFT
.no_dead_strip _tps6105x_remove
.subsections_via_symbols
| AnghaBench/linux/drivers/mfd/extr_tps6105x.c_tps6105x_remove.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __break ## -- Begin function _break
.p2align 4, 0x90
__break: ## @_break
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _dbg_initialized@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB0_2
## %bb.1:
## InlineAsm Start
.globl __breakinst
__breakinst:
.long 2105675784
## InlineAsm End
LBB0_2:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _dbg_initialized,4,2 ## @dbg_initialized
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __break ; -- Begin function _break
.p2align 2
__break: ; @_break
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _dbg_initialized@GOTPAGE
Lloh1:
ldr x8, [x8, _dbg_initialized@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cbz w8, LBB0_2
; %bb.1:
; InlineAsm Start
.globl __breakinst
__breakinst:
.long 2105675784
; InlineAsm End
LBB0_2:
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _dbg_initialized,4,2 ; @dbg_initialized
.subsections_via_symbols
| AnghaBench/RetroArch/wii/libogc/libdb/extr_debug.c__break.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str(%rip), %r15
leaq L_.str.1(%rip), %r12
leaq -44(%rbp), %r13
xorl %ebx, %ebx
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
xorl %eax, %eax
callq _printf
movq %r12, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq _scanf
movl -44(%rbp), %eax
xorl %ecx, %ecx
testl %eax, %eax
setne %cl
addl %eax, %r14d
addl %ecx, %ebx
testl %eax, %eax
jne LBB0_1
## %bb.2:
leaq L_.str.2(%rip), %rdi
movl %ebx, %esi
movl %r14d, %edx
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Digite um n\303\272mero:\t"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "foram digitados %d n\303\272meros e a soma destes n\303\272meros \303\251 %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 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
mov w22, #0
Lloh0:
adrp x19, l_.str@PAGE
Lloh1:
add x19, x19, l_.str@PAGEOFF
add x23, sp, #28
Lloh2:
adrp x20, l_.str.1@PAGE
Lloh3:
add x20, x20, l_.str.1@PAGEOFF
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _printf
str x23, [sp]
mov x0, x20
bl _scanf
ldr w8, [sp, #28]
cmp w8, #0
add w22, w8, w22
cinc w21, w21, ne
cbnz w8, LBB0_1
; %bb.2:
stp x21, x22, [sp]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #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 Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Digite um n\303\272mero:\t"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "foram digitados %d n\303\272meros e a soma destes n\303\272meros \303\251 %d"
.subsections_via_symbols
| the_stack_data/55677.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hello_b ## -- Begin function hello_b
.p2align 4, 0x90
_hello_b: ## @hello_b
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpb $0, _flag_b(%rip)
jne LBB0_2
## %bb.1:
movb $1, _flag_b(%rip)
xorl %eax, %eax
callq _hello_a
LBB0_2:
leaq L_str(%rip), %rdi
popq %rbp
jmp _puts ## TAILCALL
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_flag_b,1,0 ## @flag_b
.section __TEXT,__cstring,cstring_literals
L_str: ## @str
.asciz "hello world B"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hello_b ; -- Begin function hello_b
.p2align 2
_hello_b: ; @hello_b
.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
adrp x8, _flag_b@PAGE
ldrb w9, [x8, _flag_b@PAGEOFF]
tbnz w9, #0, LBB0_2
; %bb.1:
mov w9, #1
strb w9, [x8, _flag_b@PAGEOFF]
bl _hello_a
LBB0_2:
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _puts
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_flag_b,1,0 ; @flag_b
.section __TEXT,__cstring,cstring_literals
l_str: ; @str
.asciz "hello world B"
.subsections_via_symbols
| the_stack_data/86076139.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function fbinfo_cleanup
_fbinfo_cleanup: ## @fbinfo_cleanup
.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
popq %rbp
jmp _fb_dealloc_cmap ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _fbinfo_cleanup
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function fbinfo_cleanup
_fbinfo_cleanup: ; @fbinfo_cleanup
.cfi_startproc
; %bb.0:
mov x0, x1
b _fb_dealloc_cmap
.cfi_endproc
; -- End function
.no_dead_strip _fbinfo_cleanup
.subsections_via_symbols
| AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/extr_omapfb-main.c_fbinfo_cleanup.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function amrd_probe
_amrd_probe: ## @amrd_probe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %edi, %ebx
movl $1, %edi
callq _debug_called
leaq L_.str(%rip), %rsi
movl %ebx, %edi
callq _device_set_desc
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "LSILogic MegaRAID logical drive"
.no_dead_strip _amrd_probe
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function amrd_probe
_amrd_probe: ; @amrd_probe
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
mov w0, #1
bl _debug_called
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _device_set_desc
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "LSILogic MegaRAID logical drive"
.no_dead_strip _amrd_probe
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/amr/extr_amr_disk.c_amrd_probe.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lex_string
_lex_string: ## @lex_string
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, -48(%rbp) ## 8-byte Spill
movq %rdi, %rbx
movl (%rdi), %r12d
callq _lex_savenext
movl (%rbx), %eax
cmpl %r12d, %eax
jne LBB0_1
LBB0_11:
movq %rbx, %rdi
callq _lex_savenext
movl 8(%rbx), %r15d
leaq 4(%rbx), %r12
movq %r12, %rdi
callq _sbufB
leaq 1(%rax), %r13
movq %r12, %rdi
callq _sbuflen
leaq -2(%rax), %rdx
movq %rbx, %rdi
movq %r13, %rsi
callq _lj_parse_keepstr
movl %r15d, %edi
movq -48(%rbp), %rsi ## 8-byte Reload
movl %eax, %edx
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _setstrV ## TAILCALL
LBB0_1:
movq _TK_string@GOTPCREL(%rip), %r13
movq _LJ_ERR_XSTR@GOTPCREL(%rip), %r14
jmp LBB0_2
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movl (%r13), %esi
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
movl (%r14), %edx
movq %rbx, %rdi
callq _lj_lex_error
LBB0_10: ## in Loop: Header=BB0_2 Depth=1
movl (%rbx), %eax
cmpl %r12d, %eax
je LBB0_11
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_47 Depth 2
## Child Loop BB0_48 Depth 3
## Child Loop BB0_30 Depth 2
cmpl $91, %eax
jg LBB0_6
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
cmpl $10, %eax
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
cmpl $13, %eax
je LBB0_5
jmp LBB0_59
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
cmpl $92, %eax
je LBB0_12
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
cmpl $128, %eax
jne LBB0_59
## %bb.8: ## in Loop: Header=BB0_2 Depth=1
movq _TK_eof@GOTPCREL(%rip), %rax
movl (%rax), %esi
jmp LBB0_9
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
callq _lex_next
movl %eax, %r15d
leal -10(%r15), %eax
cmpl $118, %eax
ja LBB0_50
## %bb.13: ## in Loop: Header=BB0_2 Depth=1
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_49: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
movl $10, %esi
callq _lex_save
movq %rbx, %rdi
callq _lex_newline
jmp LBB0_10
.p2align 4, 0x90
LBB0_59: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
callq _lex_savenext
jmp LBB0_10
LBB0_50: ## in Loop: Header=BB0_2 Depth=1
movl %r15d, %edi
callq _lj_char_isdigit
testl %eax, %eax
je LBB0_54
## %bb.51: ## in Loop: Header=BB0_2 Depth=1
addl $-48, %r15d
movq %rbx, %rdi
callq _lex_next
movl %eax, %edi
callq _lj_char_isdigit
testl %eax, %eax
je LBB0_56
## %bb.52: ## in Loop: Header=BB0_2 Depth=1
leal (%r15,%r15,4), %eax
movl (%rbx), %ecx
leal (%rcx,%rax,2), %r15d
addl $-48, %r15d
movq %rbx, %rdi
callq _lex_next
movl %eax, %edi
callq _lj_char_isdigit
testl %eax, %eax
je LBB0_56
## %bb.53: ## in Loop: Header=BB0_2 Depth=1
leal (%r15,%r15,4), %eax
movl (%rbx), %ecx
leal (%rcx,%rax,2), %r15d
addl $-48, %r15d
cmpl $256, %r15d ## imm = 0x100
jge LBB0_54
jmp LBB0_55
LBB0_57: ## in Loop: Header=BB0_2 Depth=1
movl $7, %r15d
jmp LBB0_58
LBB0_14: ## in Loop: Header=BB0_2 Depth=1
movl $8, %r15d
jmp LBB0_58
LBB0_15: ## in Loop: Header=BB0_2 Depth=1
movl $12, %r15d
jmp LBB0_58
LBB0_16: ## in Loop: Header=BB0_2 Depth=1
movl $10, %r15d
jmp LBB0_58
LBB0_17: ## in Loop: Header=BB0_2 Depth=1
movl $13, %r15d
jmp LBB0_58
LBB0_18: ## in Loop: Header=BB0_2 Depth=1
movl $9, %r15d
jmp LBB0_58
LBB0_28: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
callq _lex_next
movl $117, %r15d
cmpl $123, %eax
jne LBB0_54
## %bb.29: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
callq _lex_next
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_30: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movl %r15d, %eax
shll $4, %eax
movl (%rbx), %edi
movl %edi, %r15d
andl $15, %r15d
orl %eax, %r15d
callq _lj_char_isdigit
testl %eax, %eax
jne LBB0_33
## %bb.31: ## in Loop: Header=BB0_30 Depth=2
movl (%rbx), %edi
callq _lj_char_isxdigit
testl %eax, %eax
je LBB0_54
## %bb.32: ## in Loop: Header=BB0_30 Depth=2
addl $9, %r15d
LBB0_33: ## in Loop: Header=BB0_30 Depth=2
cmpl $1114111, %r15d ## imm = 0x10FFFF
jg LBB0_54
## %bb.34: ## in Loop: Header=BB0_30 Depth=2
movq %rbx, %rdi
callq _lex_next
cmpl $125, %eax
jne LBB0_30
## %bb.35: ## in Loop: Header=BB0_2 Depth=1
cmpl $2047, %r15d ## imm = 0x7FF
jg LBB0_38
## %bb.36: ## in Loop: Header=BB0_2 Depth=1
cmpl $128, %r15d
jl LBB0_58
## %bb.37: ## in Loop: Header=BB0_2 Depth=1
movl %r15d, %esi
shrl $6, %esi
orl $192, %esi
jmp LBB0_43
LBB0_19: ## in Loop: Header=BB0_2 Depth=1
movl $11, %r15d
jmp LBB0_58
LBB0_20: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
callq _lex_next
shll $4, %eax
movzbl %al, %r15d
movl (%rbx), %edi
callq _lj_char_isdigit
testl %eax, %eax
jne LBB0_23
## %bb.21: ## in Loop: Header=BB0_2 Depth=1
movl (%rbx), %edi
callq _lj_char_isxdigit
testl %eax, %eax
je LBB0_54
## %bb.22: ## in Loop: Header=BB0_2 Depth=1
addl $144, %r15d
LBB0_23: ## in Loop: Header=BB0_2 Depth=1
movl %r15d, %r13d
movq %rbx, %rdi
callq _lex_next
movl %eax, %r15d
andl $15, %r15d
addl %r13d, %r15d
movl (%rbx), %edi
callq _lj_char_isdigit
testl %eax, %eax
je LBB0_25
## %bb.24: ## in Loop: Header=BB0_2 Depth=1
movq _TK_string@GOTPCREL(%rip), %r13
jmp LBB0_58
LBB0_46: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
.p2align 4, 0x90
LBB0_47: ## Parent Loop BB0_2 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_48 Depth 3
callq _lex_next
LBB0_48: ## Parent Loop BB0_2 Depth=1
## Parent Loop BB0_47 Depth=2
## => This Inner Loop Header: Depth=3
movl (%rbx), %edi
callq _lj_char_isspace
testl %eax, %eax
je LBB0_10
## %bb.44: ## in Loop: Header=BB0_48 Depth=3
movq %rbx, %rdi
callq _lex_iseol
movq %rbx, %rdi
testl %eax, %eax
je LBB0_47
## %bb.45: ## in Loop: Header=BB0_48 Depth=3
callq _lex_newline
jmp LBB0_48
LBB0_25: ## in Loop: Header=BB0_2 Depth=1
movl (%rbx), %edi
callq _lj_char_isxdigit
testl %eax, %eax
je LBB0_26
## %bb.27: ## in Loop: Header=BB0_2 Depth=1
addl $9, %r15d
movq _TK_string@GOTPCREL(%rip), %r13
jmp LBB0_58
LBB0_26: ## in Loop: Header=BB0_2 Depth=1
movq _TK_string@GOTPCREL(%rip), %r13
LBB0_54: ## in Loop: Header=BB0_2 Depth=1
movl (%r13), %esi
movq _LJ_ERR_XESC@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
callq _lj_lex_error
LBB0_55: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
callq _lex_next
LBB0_56: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
movl %r15d, %esi
callq _lex_save
jmp LBB0_10
LBB0_38: ## in Loop: Header=BB0_2 Depth=1
cmpl $65536, %r15d ## imm = 0x10000
jb LBB0_40
## %bb.39: ## in Loop: Header=BB0_2 Depth=1
movl %r15d, %esi
shrl $18, %esi
orl $240, %esi
movq %rbx, %rdi
callq _lex_save
movl %r15d, %esi
shrl $12, %esi
andl $63, %esi
orl $128, %esi
jmp LBB0_42
LBB0_40: ## in Loop: Header=BB0_2 Depth=1
movl %r15d, %eax
andl $-2048, %eax ## imm = 0xF800
cmpl $55296, %eax ## imm = 0xD800
je LBB0_54
## %bb.41: ## in Loop: Header=BB0_2 Depth=1
movl %r15d, %esi
shrl $12, %esi
orl $224, %esi
LBB0_42: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
callq _lex_save
movl %r15d, %esi
shrl $6, %esi
andl $63, %esi
orl $128, %esi
LBB0_43: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
callq _lex_save
andl $63, %r15d
orl $128, %r15d
LBB0_58: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
movl %r15d, %esi
callq _lex_save
movq %rbx, %rdi
callq _lex_next
jmp LBB0_10
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_49, LBB0_49-LJTI0_0
.set L0_0_set_50, LBB0_50-LJTI0_0
.set L0_0_set_58, LBB0_58-LJTI0_0
.set L0_0_set_57, LBB0_57-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_46, LBB0_46-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
.long L0_0_set_49
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_49
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_58
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_58
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_58
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_57
.long L0_0_set_14
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_15
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_16
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_17
.long L0_0_set_50
.long L0_0_set_18
.long L0_0_set_28
.long L0_0_set_19
.long L0_0_set_50
.long L0_0_set_20
.long L0_0_set_50
.long L0_0_set_46
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_50
.long L0_0_set_10
.end_data_region
## -- End function
.comm _TK_eof,4,2 ## @TK_eof
.comm _LJ_ERR_XSTR,4,2 ## @LJ_ERR_XSTR
.comm _TK_string,4,2 ## @TK_string
.comm _LJ_ERR_XESC,4,2 ## @LJ_ERR_XESC
.no_dead_strip _lex_string
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lex_string
_lex_string: ; @lex_string
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x1
mov x20, x0
ldr w22, [x0]
bl _lex_savenext
ldr w8, [x20]
cmp w8, w22
b.ne LBB0_2
LBB0_1:
mov x0, x20
bl _lex_savenext
ldr w21, [x20, #8]
add x22, x20, #4
mov x0, x22
bl _sbufB
add x23, x0, #1
mov x0, x22
bl _sbuflen
sub x2, x0, #2
mov x0, x20
mov x1, x23
bl _lj_parse_keepstr
mov x2, x0
mov x0, x21
mov x1, x19
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
b _setstrV
LBB0_2:
Lloh0:
adrp x23, _TK_string@GOTPAGE
Lloh1:
ldr x23, [x23, _TK_string@GOTPAGEOFF]
Lloh2:
adrp x24, _LJ_ERR_XSTR@GOTPAGE
Lloh3:
ldr x24, [x24, _LJ_ERR_XSTR@GOTPAGEOFF]
mov w25, #10
Lloh4:
adrp x26, _LJ_ERR_XESC@GOTPAGE
Lloh5:
ldr x26, [x26, _LJ_ERR_XESC@GOTPAGEOFF]
Lloh6:
adrp x27, lJTI0_0@PAGE
Lloh7:
add x27, x27, lJTI0_0@PAGEOFF
Lloh8:
adrp x28, _TK_eof@GOTPAGE
Lloh9:
ldr x28, [x28, _TK_eof@GOTPAGEOFF]
b LBB0_6
LBB0_3: ; in Loop: Header=BB0_6 Depth=1
ldr w1, [x23]
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
ldr w2, [x24]
mov x0, x20
bl _lj_lex_error
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
ldr w8, [x20]
cmp w8, w22
b.eq LBB0_1
LBB0_6: ; =>This Loop Header: Depth=1
; Child Loop BB0_16 Depth 2
; Child Loop BB0_17 Depth 3
; Child Loop BB0_32 Depth 2
cmp w8, #91
b.gt LBB0_9
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
cmp w8, #10
b.eq LBB0_3
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
cmp w8, #13
b.eq LBB0_3
b LBB0_15
LBB0_9: ; in Loop: Header=BB0_6 Depth=1
cmp w8, #92
b.eq LBB0_12
; %bb.10: ; in Loop: Header=BB0_6 Depth=1
cmp w8, #128
b.ne LBB0_15
; %bb.11: ; in Loop: Header=BB0_6 Depth=1
ldr w1, [x28]
b LBB0_4
LBB0_12: ; in Loop: Header=BB0_6 Depth=1
mov x0, x20
bl _lex_next
mov x21, x0
sub w8, w0, #10
cmp w8, #118
b.hi LBB0_20
; %bb.13: ; in Loop: Header=BB0_6 Depth=1
adr x9, LBB0_5
ldrb w10, [x27, x8]
add x9, x9, x10, lsl #2
br x9
LBB0_14: ; in Loop: Header=BB0_6 Depth=1
mov x0, x20
mov w1, #10
bl _lex_save
mov x0, x20
bl _lex_newline
b LBB0_5
LBB0_15: ; in Loop: Header=BB0_6 Depth=1
mov x0, x20
bl _lex_savenext
b LBB0_5
LBB0_16: ; Parent Loop BB0_6 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_17 Depth 3
mov x0, x20
bl _lex_next
LBB0_17: ; Parent Loop BB0_6 Depth=1
; Parent Loop BB0_16 Depth=2
; => This Inner Loop Header: Depth=3
ldr w0, [x20]
bl _lj_char_isspace
cbz w0, LBB0_5
; %bb.18: ; in Loop: Header=BB0_17 Depth=3
mov x0, x20
bl _lex_iseol
cbz w0, LBB0_16
; %bb.19: ; in Loop: Header=BB0_17 Depth=3
mov x0, x20
bl _lex_newline
b LBB0_17
LBB0_20: ; in Loop: Header=BB0_6 Depth=1
mov x0, x21
bl _lj_char_isdigit
cbz w0, LBB0_48
; %bb.21: ; in Loop: Header=BB0_6 Depth=1
sub w21, w21, #48
mov x0, x20
bl _lex_next
bl _lj_char_isdigit
cbz w0, LBB0_50
; %bb.22: ; in Loop: Header=BB0_6 Depth=1
ldr w8, [x20]
madd w8, w21, w25, w8
sub w21, w8, #48
mov x0, x20
bl _lex_next
bl _lj_char_isdigit
cbz w0, LBB0_50
; %bb.23: ; in Loop: Header=BB0_6 Depth=1
ldr w8, [x20]
madd w8, w21, w25, w8
sub w21, w8, #48
cmp w21, #256
b.ge LBB0_48
b LBB0_49
LBB0_24: ; in Loop: Header=BB0_6 Depth=1
mov w21, #7
b LBB0_57
LBB0_25: ; in Loop: Header=BB0_6 Depth=1
mov w21, #8
b LBB0_57
LBB0_26: ; in Loop: Header=BB0_6 Depth=1
mov w21, #12
b LBB0_57
LBB0_27: ; in Loop: Header=BB0_6 Depth=1
mov w21, #10
b LBB0_57
LBB0_28: ; in Loop: Header=BB0_6 Depth=1
mov w21, #13
b LBB0_57
LBB0_29: ; in Loop: Header=BB0_6 Depth=1
mov w21, #9
b LBB0_57
LBB0_30: ; in Loop: Header=BB0_6 Depth=1
mov x0, x20
bl _lex_next
cmp w0, #123
b.ne LBB0_47
; %bb.31: ; in Loop: Header=BB0_6 Depth=1
mov x0, x20
bl _lex_next
mov w21, #0
LBB0_32: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
mov x8, x21
ldr w0, [x20]
mov x21, x0
bfi w21, w8, #4, #28
bl _lj_char_isdigit
cbnz w0, LBB0_35
; %bb.33: ; in Loop: Header=BB0_32 Depth=2
ldr w0, [x20]
bl _lj_char_isxdigit
cbz w0, LBB0_48
; %bb.34: ; in Loop: Header=BB0_32 Depth=2
add w21, w21, #9
LBB0_35: ; in Loop: Header=BB0_32 Depth=2
cmp w21, #272, lsl #12 ; =1114112
b.ge LBB0_48
; %bb.36: ; in Loop: Header=BB0_32 Depth=2
mov x0, x20
bl _lex_next
cmp w0, #125
b.ne LBB0_32
; %bb.37: ; in Loop: Header=BB0_6 Depth=1
cmp w21, #2047
b.gt LBB0_51
; %bb.38: ; in Loop: Header=BB0_6 Depth=1
cmp w21, #128
b.lt LBB0_57
; %bb.39: ; in Loop: Header=BB0_6 Depth=1
lsr w8, w21, #6
orr w1, w8, #0xc0
b LBB0_56
LBB0_40: ; in Loop: Header=BB0_6 Depth=1
mov w21, #11
b LBB0_57
LBB0_41: ; in Loop: Header=BB0_6 Depth=1
mov x0, x20
bl _lex_next
ubfiz w21, w0, #4, #4
ldr w0, [x20]
bl _lj_char_isdigit
cbnz w0, LBB0_44
; %bb.42: ; in Loop: Header=BB0_6 Depth=1
ldr w0, [x20]
bl _lj_char_isxdigit
cbz w0, LBB0_48
; %bb.43: ; in Loop: Header=BB0_6 Depth=1
add w21, w21, #144
LBB0_44: ; in Loop: Header=BB0_6 Depth=1
mov x0, x20
bl _lex_next
and w8, w0, #0xf
add w21, w8, w21
ldr w0, [x20]
bl _lj_char_isdigit
cbnz w0, LBB0_57
; %bb.45: ; in Loop: Header=BB0_6 Depth=1
ldr w0, [x20]
bl _lj_char_isxdigit
cbz w0, LBB0_48
; %bb.46: ; in Loop: Header=BB0_6 Depth=1
add w21, w21, #9
b LBB0_57
LBB0_47: ; in Loop: Header=BB0_6 Depth=1
mov w21, #117
LBB0_48: ; in Loop: Header=BB0_6 Depth=1
ldr w1, [x23]
ldr w2, [x26]
mov x0, x20
bl _lj_lex_error
LBB0_49: ; in Loop: Header=BB0_6 Depth=1
mov x0, x20
bl _lex_next
LBB0_50: ; in Loop: Header=BB0_6 Depth=1
mov x0, x20
mov x1, x21
bl _lex_save
b LBB0_5
LBB0_51: ; in Loop: Header=BB0_6 Depth=1
cmp w21, #16, lsl #12 ; =65536
b.lo LBB0_53
; %bb.52: ; in Loop: Header=BB0_6 Depth=1
lsr w8, w21, #18
orr w1, w8, #0xf0
mov x0, x20
bl _lex_save
mov w1, #128
bfxil w1, w21, #12, #6
b LBB0_55
LBB0_53: ; in Loop: Header=BB0_6 Depth=1
lsr w8, w21, #11
cmp w8, #27
b.eq LBB0_48
; %bb.54: ; in Loop: Header=BB0_6 Depth=1
lsr w8, w21, #12
orr w1, w8, #0xe0
LBB0_55: ; in Loop: Header=BB0_6 Depth=1
mov x0, x20
bl _lex_save
mov w1, #128
bfxil w1, w21, #6, #6
LBB0_56: ; in Loop: Header=BB0_6 Depth=1
mov x0, x20
bl _lex_save
mov w8, #128
bfxil w8, w21, #0, #6
mov x21, x8
LBB0_57: ; in Loop: Header=BB0_6 Depth=1
mov x0, x20
mov x1, x21
bl _lex_save
mov x0, x20
bl _lex_next
b LBB0_5
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_14-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_14-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_57-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_57-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_57-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_24-LBB0_5)>>2
.byte (LBB0_25-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_26-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_27-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_28-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_29-LBB0_5)>>2
.byte (LBB0_30-LBB0_5)>>2
.byte (LBB0_40-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_41-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_16-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_5-LBB0_5)>>2
; -- End function
.comm _TK_eof,4,2 ; @TK_eof
.comm _LJ_ERR_XSTR,4,2 ; @LJ_ERR_XSTR
.comm _TK_string,4,2 ; @TK_string
.comm _LJ_ERR_XESC,4,2 ; @LJ_ERR_XESC
.no_dead_strip _lex_string
.subsections_via_symbols
| AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_lex.c_lex_string.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _md5_crypt_verify ## -- Begin function md5_crypt_verify
.p2align 4, 0x90
_md5_crypt_verify: ## @md5_crypt_verify
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, -64(%rbp) ## 8-byte Spill
movl %r8d, %r12d
movq %rcx, %r13
movq %rdx, -56(%rbp) ## 8-byte Spill
movq %rsi, %rbx
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MD5_PASSWD_LEN@GOTPCREL(%rip), %rax
movl (%rax), %eax
decl %eax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r15
xorl %edi, %edi
testl %r12d, %r12d
setg %dil
callq _Assert
movq %rbx, %rdi
callq _get_password_type
movq _PASSWORD_TYPE_MD5@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_1
## %bb.2:
leaq L_.str.1(%rip), %rdi
callq _strlen
cltq
addq %rax, %rbx
movq %rbx, %rdi
movq %r13, %rsi
movl %r12d, %edx
movq %r15, %rcx
callq _pg_md5_encrypt
testl %eax, %eax
je LBB0_7
## %bb.3:
movq -56(%rbp), %rdi ## 8-byte Reload
movq %r15, %rsi
callq _strcmp
testq %rax, %rax
je LBB0_4
## %bb.5:
leaq L_.str.2(%rip), %rdi
jmp LBB0_6
LBB0_1:
leaq L_.str(%rip), %rdi
LBB0_6:
callq __
movl %eax, %edi
movq %r14, %rsi
callq _psprintf
movq -64(%rbp), %rcx ## 8-byte Reload
movq %rax, (%rcx)
LBB0_7:
movq _STATUS_ERROR@GOTPCREL(%rip), %rax
LBB0_8:
movl (%rax), %eax
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_10
## %bb.9:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
movq _STATUS_OK@GOTPCREL(%rip), %rax
jmp LBB0_8
LBB0_10:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MD5_PASSWD_LEN,4,2 ## @MD5_PASSWD_LEN
.comm _PASSWORD_TYPE_MD5,8,3 ## @PASSWORD_TYPE_MD5
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "User \"%s\" has a password that cannot be used with MD5 authentication."
.comm _STATUS_ERROR,4,2 ## @STATUS_ERROR
L_.str.1: ## @.str.1
.asciz "md5"
.comm _STATUS_OK,4,2 ## @STATUS_OK
L_.str.2: ## @.str.2
.asciz "Password does not match for user \"%s\"."
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _md5_crypt_verify ; -- Begin function md5_crypt_verify
.p2align 2
_md5_crypt_verify: ; @md5_crypt_verify
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
sub sp, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x5
mov x22, x4
mov x23, x3
mov x21, x2
mov x24, x1
mov x20, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-72]
Lloh3:
adrp x8, _MD5_PASSWD_LEN@GOTPAGE
Lloh4:
ldr x8, [x8, _MD5_PASSWD_LEN@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
sub w8, w8, #1
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, #0x1fffffff0
sub x25, x9, x8
mov sp, x25
cmp w4, #0
cset w0, gt
bl _Assert
mov x0, x24
bl _get_password_type
Lloh8:
adrp x8, _PASSWORD_TYPE_MD5@GOTPAGE
Lloh9:
ldr x8, [x8, _PASSWORD_TYPE_MD5@GOTPAGEOFF]
Lloh10:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_4
; %bb.1:
Lloh11:
adrp x0, l_.str.1@PAGE
Lloh12:
add x0, x0, l_.str.1@PAGEOFF
bl _strlen
add x0, x24, w0, sxtw
mov x1, x23
mov x2, x22
mov x3, x25
bl _pg_md5_encrypt
cbz w0, LBB0_6
; %bb.2:
mov x0, x21
mov x1, x25
bl _strcmp
cbz x0, LBB0_9
; %bb.3:
Lloh13:
adrp x0, l_.str.2@PAGE
Lloh14:
add x0, x0, l_.str.2@PAGEOFF
b LBB0_5
LBB0_4:
Lloh15:
adrp x0, l_.str@PAGE
Lloh16:
add x0, x0, l_.str@PAGEOFF
LBB0_5:
bl __
mov x1, x20
bl _psprintf
str x0, [x19]
LBB0_6:
Lloh17:
adrp x8, _STATUS_ERROR@GOTPAGE
Lloh18:
ldr x8, [x8, _STATUS_ERROR@GOTPAGEOFF]
LBB0_7:
ldr w0, [x8]
ldur x8, [x29, #-72]
Lloh19:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh20:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_10
; %bb.8:
sub sp, x29, #64
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_9:
Lloh22:
adrp x8, _STATUS_OK@GOTPAGE
Lloh23:
ldr x8, [x8, _STATUS_OK@GOTPAGEOFF]
b LBB0_7
LBB0_10:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGot Lloh22, Lloh23
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _MD5_PASSWD_LEN,4,2 ; @MD5_PASSWD_LEN
.comm _PASSWORD_TYPE_MD5,8,3 ; @PASSWORD_TYPE_MD5
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "User \"%s\" has a password that cannot be used with MD5 authentication."
.comm _STATUS_ERROR,4,2 ; @STATUS_ERROR
l_.str.1: ; @.str.1
.asciz "md5"
.comm _STATUS_OK,4,2 ; @STATUS_OK
l_.str.2: ; @.str.2
.asciz "Password does not match for user \"%s\"."
.subsections_via_symbols
| assembly_file_41635.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test ## -- Begin function test
.p2align 4, 0x90
_test: ## @test
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %esi, %ebx
cmpl $2, %edi
cmovnel %edi, %ebx
movl %ebx, %edi
callq _f
addl %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 _test ; -- Begin function test
.p2align 2
_test: ; @test
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
cmp w0, #2
csel w19, w1, w0, eq
mov x0, x19
bl _f
add w0, w0, w19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/36075840.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function __lmulq
___lmulq: ## @__lmulq
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r13
movq %rdi, %rbx
callq _HHALF
movq %rax, %r14
movq %rbx, %rdi
callq _LHALF
movq %rax, %r12
movq %r13, %rdi
callq _HHALF
movq %rax, %r15
movq %r13, %rdi
callq _LHALF
movq %rax, %rbx
imulq %r12, %rbx
movq %r14, %rcx
orq %r15, %rcx
jne LBB0_1
## %bb.2:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_1:
movq %rax, %rcx
subq %r15, %rcx
negq %rcx
subq %r15, %rax
cmovlq %rcx, %rax
movq %r14, %rcx
subq %r12, %rcx
negq %rcx
imulq %r14, %r15
subq %r12, %r14
cmovlq %rcx, %r14
imulq %rax, %r14
movq %r15, %rdi
callq _HHALF
movq %r15, %rdi
callq _LHUP
movq %r14, %rdi
callq _LHUP
movq %r14, %rdi
callq _HHALF
movq %rbx, %rdi
callq _LHUP
movq %rbx, %rdi
callq _HHALF
ud2
.cfi_endproc
## -- End function
.comm _H,8,3 ## @H
.comm _L,8,3 ## @L
.no_dead_strip ___lmulq
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function __lmulq
___lmulq: ; @__lmulq
.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, x1
mov x20, x0
bl _HHALF
mov x19, x0
mov x0, x20
bl _LHALF
mov x21, x0
mov x0, x22
bl _HHALF
mov x20, x0
mov x0, x22
bl _LHALF
mov x8, x0
mul x0, x0, x21
orr x9, x19, x20
cbnz x9, LBB0_2
; %bb.1:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_2:
sub x9, x21, x19
subs x10, x19, x21
csel x9, x9, x10, lt
sub x10, x20, x8
subs x8, x8, x20
csel x8, x10, x8, lt
mul x21, x8, x9
mul x19, x20, x19
mov x20, x0
mov x0, x19
bl _HHALF
mov x0, x19
bl _LHUP
mov x0, x21
bl _LHUP
mov x0, x21
bl _HHALF
mov x0, x20
bl _LHUP
mov x0, x20
bl _HHALF
brk #0x1
.cfi_endproc
; -- End function
.comm _H,8,3 ; @H
.comm _L,8,3 ; @L
.no_dead_strip ___lmulq
.subsections_via_symbols
| AnghaBench/freebsd/lib/libc/quad/extr_muldi3.c___lmulq.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function uniphier_pciephy_exit
_uniphier_pciephy_exit: ## @uniphier_pciephy_exit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
callq _phy_get_drvdata
movq %rax, %rbx
movq %rax, %rdi
callq _uniphier_pciephy_assert
movl 4(%rbx), %edi
callq _reset_control_assert
movl (%rbx), %edi
callq _clk_disable_unprepare
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _uniphier_pciephy_exit
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function uniphier_pciephy_exit
_uniphier_pciephy_exit: ; @uniphier_pciephy_exit
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
bl _phy_get_drvdata
mov x19, x0
bl _uniphier_pciephy_assert
ldr w0, [x19, #4]
bl _reset_control_assert
ldr w0, [x19]
bl _clk_disable_unprepare
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _uniphier_pciephy_exit
.subsections_via_symbols
| AnghaBench/linux/drivers/phy/socionext/extr_phy-uniphier-pcie.c_uniphier_pciephy_exit.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _SelectW ## -- Begin function SelectW
.p2align 4, 0x90
_SelectW: ## @SelectW
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movq _SELECT_TYPE_ARG5@GOTPCREL(%rip), %r12
movq _errno@GOTPCREL(%rip), %r13
movq _EINTR@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
movq %r14, %rsi
movl $4, %edx
callq _memcpy
movl 8(%rbx), %edi
movl (%rbx), %edx
movl 4(%rbx), %r8d
movq _SELECT_TYPE_ARG234@GOTPCREL(%rip), %rax
andl (%rax), %edx
andl (%r12), %r8d
xorl %esi, %esi
xorl %ecx, %ecx
callq _select
testl %eax, %eax
jns LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq (%r15), %rcx
cmpq %rcx, (%r13)
je LBB0_1
LBB0_3:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SELECT_TYPE_ARG234,4,2 ## @SELECT_TYPE_ARG234
.comm _SELECT_TYPE_ARG5,4,2 ## @SELECT_TYPE_ARG5
.comm _errno,8,3 ## @errno
.comm _EINTR,8,3 ## @EINTR
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _SelectW ; -- Begin function SelectW
.p2align 2
_SelectW: ; @SelectW
.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, x1
mov x20, x0
Lloh0:
adrp x21, _SELECT_TYPE_ARG234@GOTPAGE
Lloh1:
ldr x21, [x21, _SELECT_TYPE_ARG234@GOTPAGEOFF]
Lloh2:
adrp x22, _SELECT_TYPE_ARG5@GOTPAGE
Lloh3:
ldr x22, [x22, _SELECT_TYPE_ARG5@GOTPAGEOFF]
Lloh4:
adrp x23, _errno@GOTPAGE
Lloh5:
ldr x23, [x23, _errno@GOTPAGEOFF]
Lloh6:
adrp x24, _EINTR@GOTPAGE
Lloh7:
ldr x24, [x24, _EINTR@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov x1, x20
mov w2, #4
bl _memcpy
ldp w10, w0, [x19, #4]
ldr w8, [x21]
ldr w9, [x19]
and w2, w9, w8
ldr w8, [x22]
and w4, w10, w8
mov x1, #0
mov x3, #0
bl _select
tbz w0, #31, LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [x23]
ldr x9, [x24]
cmp x8, x9
b.eq LBB0_1
LBB0_3:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _SELECT_TYPE_ARG234,4,2 ; @SELECT_TYPE_ARG234
.comm _SELECT_TYPE_ARG5,4,2 ; @SELECT_TYPE_ARG5
.comm _errno,8,3 ; @errno
.comm _EINTR,8,3 ; @EINTR
.subsections_via_symbols
| AnghaBench/reactos/modules/rosapps/applications/net/ncftp/sio/extr_SSelect.c_SelectW.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 %rbx
subq $56, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -64(%rbp)
movaps %xmm0, -80(%rbp)
movq $0, -48(%rbp)
xorl %r15d, %r15d
xorl %r14d, %r14d
jmp LBB0_1
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
incl -80(%rbp,%rcx,4)
LBB0_1: ## =>This Inner Loop Header: Depth=1
callq _getchar
## kill: def $eax killed $eax def $rax
leal -48(%rax), %ecx
cmpl $10, %ecx
jb LBB0_9
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leal -9(%rax), %ecx
cmpl $2, %ecx
jb LBB0_5
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
cmpl $-1, %eax
je LBB0_7
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
cmpl $32, %eax
jne LBB0_6
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
incl %r15d
jmp LBB0_1
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
incl %r14d
jmp LBB0_1
LBB0_7:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
movl -80(%rbp), %esi
leaq L_.str.1(%rip), %rbx
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movl -76(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movl -72(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movl -68(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movl -64(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movl -60(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movl -56(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movl -52(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movl -48(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movl -44(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.2(%rip), %rdi
movl %r15d, %esi
movl %r14d, %edx
xorl %eax, %eax
callq _printf
callq _getchar
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB0_10
## %bb.8:
xorl %eax, %eax
addq $56, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_10:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "digits = "
L_.str.1: ## @.str.1
.asciz " %d"
L_.str.2: ## @.str.2
.asciz ", white space = %d, other = %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, #112
.cfi_def_cfa_offset 112
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov w20, #0
mov w21, #0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-40]
str xzr, [sp, #48]
movi.2d v0, #0000000000000000
stp q0, q0, [sp, #16]
add x19, sp, #16
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
lsl x8, x8, #2
ldr w9, [x19, x8]
add w9, w9, #1
str w9, [x19, x8]
LBB0_2: ; =>This Inner Loop Header: Depth=1
bl _getchar
sub w8, w0, #48
cmp w8, #10
b.lo LBB0_1
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
sub w8, w0, #9
cmp w8, #2
b.lo LBB0_6
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
cmn w0, #1
b.eq LBB0_8
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
cmp w0, #32
b.ne LBB0_7
LBB0_6: ; in Loop: Header=BB0_2 Depth=1
add w20, w20, #1
b LBB0_2
LBB0_7: ; in Loop: Header=BB0_2 Depth=1
add w21, w21, #1
b LBB0_2
LBB0_8:
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr w8, [sp, #16]
str x8, [sp]
Lloh5:
adrp x19, l_.str.1@PAGE
Lloh6:
add x19, x19, l_.str.1@PAGEOFF
mov x0, x19
bl _printf
ldr w8, [sp, #20]
str x8, [sp]
mov x0, x19
bl _printf
ldr w8, [sp, #24]
str x8, [sp]
mov x0, x19
bl _printf
ldr w8, [sp, #28]
str x8, [sp]
mov x0, x19
bl _printf
ldr w8, [sp, #32]
str x8, [sp]
mov x0, x19
bl _printf
ldr w8, [sp, #36]
str x8, [sp]
mov x0, x19
bl _printf
ldr w8, [sp, #40]
str x8, [sp]
mov x0, x19
bl _printf
ldr w8, [sp, #44]
str x8, [sp]
mov x0, x19
bl _printf
ldr w8, [sp, #48]
str x8, [sp]
mov x0, x19
bl _printf
ldr w8, [sp, #52]
str x8, [sp]
mov x0, x19
bl _printf
stp x20, x21, [sp]
Lloh7:
adrp x0, l_.str.2@PAGE
Lloh8:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
bl _getchar
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 LBB0_10
; %bb.9:
mov w0, #0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_10:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "digits = "
l_.str.1: ; @.str.1
.asciz " %d"
l_.str.2: ; @.str.2
.asciz ", white space = %d, other = %d\n"
.subsections_via_symbols
| the_stack_data/90765871.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sahara_write
_sahara_write: ## @sahara_write
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addq (%rdi), %rdx
movq %rsi, %rdi
movq %rdx, %rsi
popq %rbp
jmp _writel ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _sahara_write
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sahara_write
_sahara_write: ; @sahara_write
.cfi_startproc
; %bb.0:
mov x8, x1
ldr x9, [x0]
add x1, x9, x2
mov x0, x8
b _writel
.cfi_endproc
; -- End function
.no_dead_strip _sahara_write
.subsections_via_symbols
| AnghaBench/linux/drivers/crypto/extr_sahara.c_sahara_write.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function init_set_dce_clock
_init_set_dce_clock: ## @init_set_dce_clock
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
movq _SetDCEClock@GOTPCREL(%rip), %rbx
movl (%rbx), %edi
callq _BIOS_CMD_TABLE_PARA_REVISION
cmpl $1, %eax
jne LBB0_2
## %bb.1:
movq _set_dce_clock_v2_1@GOTPCREL(%rip), %rax
movq (%rax), %rax
jmp LBB0_3
LBB0_2:
movl (%rbx), %edi
callq _BIOS_CMD_TABLE_PARA_REVISION
leaq L_.str(%rip), %rdi
movl %eax, %esi
callq _dm_output_to_console
xorl %eax, %eax
LBB0_3:
movq %rax, (%r14)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SetDCEClock,4,2 ## @SetDCEClock
.comm _set_dce_clock_v2_1,8,3 ## @set_dce_clock_v2_1
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Don't have set_dce_clock for v%d\n"
.no_dead_strip _init_set_dce_clock
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function init_set_dce_clock
_init_set_dce_clock: ; @init_set_dce_clock
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x20, _SetDCEClock@GOTPAGE
Lloh1:
ldr x20, [x20, _SetDCEClock@GOTPAGEOFF]
ldr w0, [x20]
bl _BIOS_CMD_TABLE_PARA_REVISION
cmp w0, #1
b.ne LBB0_2
; %bb.1:
Lloh2:
adrp x8, _set_dce_clock_v2_1@GOTPAGE
Lloh3:
ldr x8, [x8, _set_dce_clock_v2_1@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
b LBB0_3
LBB0_2:
ldr w0, [x20]
bl _BIOS_CMD_TABLE_PARA_REVISION
mov x1, x0
Lloh5:
adrp x0, l_.str@PAGE
Lloh6:
add x0, x0, l_.str@PAGEOFF
bl _dm_output_to_console
mov x8, #0
LBB0_3:
str x8, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _SetDCEClock,4,2 ; @SetDCEClock
.comm _set_dce_clock_v2_1,8,3 ; @set_dce_clock_v2_1
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Don't have set_dce_clock for v%d\n"
.no_dead_strip _init_set_dce_clock
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/amd/display/dc/bios/extr_command_table.c_init_set_dce_clock.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dialog_update_progress
_dialog_update_progress: ## @dialog_update_progress
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movss %xmm0, -36(%rbp) ## 4-byte Spill
movq %rsi, %r15
movq %rdi, %rbx
testq %rdi, %rdi
setne %al
testq %rsi, %rsi
setne %cl
andb %al, %cl
movzbl %cl, %edi
callq _assert
movq %rbx, %rdi
xorl %esi, %esi
callq _get_dialog_provider
movq %rax, %r12
movq %rax, %rdi
callq _vlc_mutex_lock
cmpq $0, 8(%r12)
je LBB0_2
## %bb.1:
movq %rbx, %rdi
movq %r15, %rsi
callq _vlc_dialog_is_cancelled
testq %rax, %rax
je LBB0_3
LBB0_2:
movq %r12, %rdi
callq _vlc_mutex_unlock
movq %r14, %rdi
callq _free
movq _VLC_EGENERIC@GOTPCREL(%rip), %rax
jmp LBB0_9
LBB0_3:
cmpq $0, 8(%r15)
je LBB0_5
## %bb.4:
xorps %xmm0, %xmm0
movss %xmm0, -36(%rbp) ## 4-byte Spill
LBB0_5:
movq (%r15), %rdi
testq %r14, %r14
je LBB0_6
## %bb.7:
callq _free
movq %r14, (%r15)
jmp LBB0_8
LBB0_6:
movq %rdi, %r14
LBB0_8:
movl 4(%r12), %edi
movq %r15, %rsi
movss -36(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
movq %r14, %rdx
callq *8(%r12)
movq %r12, %rdi
callq _vlc_mutex_unlock
movq _VLC_SUCCESS@GOTPCREL(%rip), %rax
LBB0_9:
movl (%rax), %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _VLC_EGENERIC,4,2 ## @VLC_EGENERIC
.comm _VLC_SUCCESS,4,2 ## @VLC_SUCCESS
.no_dead_strip _dialog_update_progress
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dialog_update_progress
_dialog_update_progress: ; @dialog_update_progress
.cfi_startproc
; %bb.0:
stp d9, d8, [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 b8, -56
.cfi_offset b9, -64
mov x19, x2
fmov s8, s0
mov x20, x1
mov x22, x0
cmp x0, #0
ccmp x1, #0, #4, ne
cset w0, ne
bl _assert
mov x0, x22
mov w1, #0
bl _get_dialog_provider
mov x21, x0
bl _vlc_mutex_lock
ldr x8, [x21, #8]
cbz x8, LBB0_2
; %bb.1:
mov x0, x22
mov x1, x20
bl _vlc_dialog_is_cancelled
cbz x0, LBB0_3
LBB0_2:
mov x0, x21
bl _vlc_mutex_unlock
mov x0, x19
bl _free
Lloh0:
adrp x8, _VLC_EGENERIC@GOTPAGE
Lloh1:
ldr x8, [x8, _VLC_EGENERIC@GOTPAGEOFF]
b LBB0_7
LBB0_3:
ldp x0, x8, [x20]
cmp x8, #0
movi d0, #0000000000000000
fcsel s8, s8, s0, eq
cbz x19, LBB0_5
; %bb.4:
bl _free
str x19, [x20]
b LBB0_6
LBB0_5:
mov x19, x0
LBB0_6:
ldr x8, [x21, #8]
ldr w0, [x21, #4]
mov x1, x20
fmov s0, s8
mov x2, x19
blr x8
mov x0, x21
bl _vlc_mutex_unlock
Lloh2:
adrp x8, _VLC_SUCCESS@GOTPAGE
Lloh3:
ldr x8, [x8, _VLC_SUCCESS@GOTPAGEOFF]
LBB0_7:
ldr w0, [x8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp d9, d8, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _VLC_EGENERIC,4,2 ; @VLC_EGENERIC
.comm _VLC_SUCCESS,4,2 ; @VLC_SUCCESS
.no_dead_strip _dialog_update_progress
.subsections_via_symbols
| AnghaBench/vlc/src/interface/extr_dialog.c_dialog_update_progress.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _a ## @a
.zerofill __DATA,__common,_a,8,2
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _a ; @a
.zerofill __DATA,__common,_a,8,2
.subsections_via_symbols
| the_stack_data/32206.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $168, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq L_.str(%rip), %rdi
leaq -100(%rbp), %rsi
xorl %eax, %eax
callq _scanf
cmpl $0, -100(%rbp)
je LBB0_88
## %bb.1:
leaq L_.str.2(%rip), %r14
leaq -54(%rbp), %r15
movl $0, -92(%rbp) ## 4-byte Folded Spill
jmp LBB0_3
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_3 Depth=1
movq -168(%rbp), %rsp ## 8-byte Reload
movl -92(%rbp), %eax ## 4-byte Reload
cmpl %eax, -100(%rbp)
leaq L_.str.2(%rip), %r14
leaq -54(%rbp), %r15
je LBB0_88
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_8 Depth 2
## Child Loop BB0_17 Depth 2
## Child Loop BB0_18 Depth 3
## Child Loop BB0_24 Depth 2
## Child Loop BB0_26 Depth 3
## Child Loop BB0_30 Depth 2
## Child Loop BB0_33 Depth 3
## Child Loop BB0_36 Depth 4
## Child Loop BB0_47 Depth 4
## Child Loop BB0_60 Depth 3
## Child Loop BB0_61 Depth 4
## Child Loop BB0_83 Depth 2
## Child Loop BB0_86 Depth 3
## Child Loop BB0_70 Depth 2
## Child Loop BB0_76 Depth 3
leaq L_.str.1(%rip), %rdi
leaq -52(%rbp), %rsi
leaq -96(%rbp), %rdx
xorl %eax, %eax
callq _scanf
movq %rsp, -168(%rbp) ## 8-byte Spill
movl -52(%rbp), %eax
imull %eax, %eax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r13
movl -52(%rbp), %r12d
movq %r12, -112(%rbp) ## 8-byte Spill
## kill: def $r12d killed $r12d killed $r12 def $r12
imull %r12d, %r12d
movq %r12, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rbx
movq %r13, -80(%rbp) ## 8-byte Spill
movq %r13, %rdi
movq %r12, %r13
movq %r12, %rsi
callq ___bzero
movq %rbx, -72(%rbp) ## 8-byte Spill
movq %rbx, %rdi
movq %r12, %rsi
callq ___bzero
cmpl $0, -96(%rbp)
jle LBB0_13
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
xorl %ebx, %ebx
leaq -136(%rbp), %r13
jmp LBB0_8
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_8 Depth=2
movl -52(%rbp), %r12d
movl %r12d, %edx
imull %eax, %edx
addl %ecx, %edx
movslq %edx, %rax
LBB0_6: ## in Loop: Header=BB0_8 Depth=2
addq -72(%rbp), %rax ## 8-byte Folded Reload
LBB0_7: ## in Loop: Header=BB0_8 Depth=2
movb $1, (%rax)
incl %ebx
cmpl -96(%rbp), %ebx
jge LBB0_12
LBB0_8: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movq %r14, %rdi
movq %r15, %rsi
movq %r13, %rdx
leaq -132(%rbp), %rcx
xorl %eax, %eax
callq _scanf
movslq -136(%rbp), %rax
decq %rax
movslq -132(%rbp), %rcx
decq %rcx
movzbl -54(%rbp), %edx
cmpb $120, %dl
je LBB0_5
## %bb.9: ## in Loop: Header=BB0_8 Depth=2
cmpb $111, %dl
jne LBB0_11
## %bb.10: ## in Loop: Header=BB0_8 Depth=2
movslq -52(%rbp), %r12
imulq %r12, %rax
addq %rcx, %rax
movq -80(%rbp), %rcx ## 8-byte Reload
movb $1, (%rcx,%rax)
jmp LBB0_6
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_8 Depth=2
movl -52(%rbp), %r12d
movl %r12d, %edx
imull %eax, %edx
addl %ecx, %edx
movslq %edx, %rax
addq -80(%rbp), %rax ## 8-byte Folded Reload
jmp LBB0_7
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_3 Depth=1
movl %r12d, %r13d
imull %r13d, %r13d
movq %r12, -112(%rbp) ## 8-byte Spill
LBB0_13: ## in Loop: Header=BB0_3 Depth=1
movq %r13, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
movq %r13, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rbx
movq %r14, -160(%rbp) ## 8-byte Spill
movq %r14, %rdi
movq -80(%rbp), %rsi ## 8-byte Reload
movq %r13, %rdx
callq _memcpy
movq %rbx, -152(%rbp) ## 8-byte Spill
movq %rbx, %rdi
movq -72(%rbp), %rsi ## 8-byte Reload
movq %r13, %rdx
callq _memcpy
movq -112(%rbp), %r15 ## 8-byte Reload
movl %r15d, %r14d
movq %r14, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r12
movq %r14, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rbx
movslq %r15d, %r15
movq %r12, %rdi
movq %r15, %rsi
callq ___bzero
movq %rbx, %rdi
movq %r15, %rsi
callq ___bzero
testl %r15d, %r15d
jle LBB0_28
## %bb.14: ## in Loop: Header=BB0_3 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
xorl %ecx, %ecx
jmp LBB0_17
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_17 Depth=2
movb $1, (%r12,%rcx)
movb $1, (%rbx,%rdx)
LBB0_16: ## in Loop: Header=BB0_17 Depth=2
incq %rcx
addq %r15, %rax
cmpq %r14, %rcx
je LBB0_20
LBB0_17: ## Parent Loop BB0_3 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_18 Depth 3
xorl %edx, %edx
.p2align 4, 0x90
LBB0_18: ## Parent Loop BB0_3 Depth=1
## Parent Loop BB0_17 Depth=2
## => This Inner Loop Header: Depth=3
cmpb $0, (%rax,%rdx)
jne LBB0_15
## %bb.19: ## in Loop: Header=BB0_18 Depth=3
incq %rdx
cmpq %rdx, %r14
jne LBB0_18
jmp LBB0_16
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_3 Depth=1
testl %r14d, %r14d
jle LBB0_28
## %bb.21: ## in Loop: Header=BB0_3 Depth=1
movl %r14d, %r8d
negl %r8d
xorl %ecx, %ecx
xorl %edx, %edx
jmp LBB0_24
LBB0_22: ## in Loop: Header=BB0_24 Depth=2
movl %esi, %edi
subl %ecx, %edi
movslq %edi, %rdi
movq -72(%rbp), %rax ## 8-byte Reload
movb $1, (%rax,%rdi)
movb $1, (%rbx,%rsi)
movb $1, (%r12,%rdx)
.p2align 4, 0x90
LBB0_23: ## in Loop: Header=BB0_24 Depth=2
incq %rdx
addq %r8, %rcx
cmpq %r14, %rdx
je LBB0_28
LBB0_24: ## Parent Loop BB0_3 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_26 Depth 3
cmpb $0, (%r12,%rdx)
jne LBB0_23
## %bb.25: ## in Loop: Header=BB0_24 Depth=2
xorl %esi, %esi
.p2align 4, 0x90
LBB0_26: ## Parent Loop BB0_3 Depth=1
## Parent Loop BB0_24 Depth=2
## => This Inner Loop Header: Depth=3
cmpb $0, (%rbx,%rsi)
je LBB0_22
## %bb.27: ## in Loop: Header=BB0_26 Depth=3
incq %rsi
cmpq %rsi, %r14
jne LBB0_26
jmp LBB0_23
.p2align 4, 0x90
LBB0_28: ## in Loop: Header=BB0_3 Depth=1
shlq $2, %r13
movq %r13, %rax
movq %r14, -88(%rbp) ## 8-byte Spill
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -120(%rbp) ## 8-byte Spill
cmpl $0, -88(%rbp) ## 4-byte Folded Reload
jle LBB0_66
## %bb.29: ## in Loop: Header=BB0_3 Depth=1
movl %r15d, %eax
negl %eax
cltq
movq -80(%rbp), %rcx ## 8-byte Reload
addq %rax, %rcx
movq %rcx, -192(%rbp) ## 8-byte Spill
leaq 1(%r15), %rbx
movq %rax, -128(%rbp) ## 8-byte Spill
negq %rax
movq %rax, -184(%rbp) ## 8-byte Spill
movl $1, %r12d
subq %r15, %r12
leaq (,%r15,4), %rax
movq %rax, -176(%rbp) ## 8-byte Spill
movl $1000, -60(%rbp) ## 4-byte Folded Spill
## imm = 0x3E8
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_30: ## Parent Loop BB0_3 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_33 Depth 3
## Child Loop BB0_36 Depth 4
## Child Loop BB0_47 Depth 4
## Child Loop BB0_60 Depth 3
## Child Loop BB0_61 Depth 4
movq %rcx, %rdi
imulq %r15, %rdi
movq -128(%rbp), %rax ## 8-byte Reload
leaq (%rax,%rcx), %r10
imulq %r15, %r10
movq -192(%rbp), %rdx ## 8-byte Reload
addq %rdx, %r10
movq -184(%rbp), %rax ## 8-byte Reload
leaq (%rax,%rcx), %rsi
movq %r15, %rax
movq %rsi, -200(%rbp) ## 8-byte Spill
imulq %rsi, %rax
addq %rdx, %rax
xorl %r14d, %r14d
movq -88(%rbp), %rsi ## 8-byte Reload
movq %rdi, -144(%rbp) ## 8-byte Spill
jmp LBB0_33
.p2align 4, 0x90
LBB0_31: ## in Loop: Header=BB0_33 Depth=3
movq -120(%rbp), %rdx ## 8-byte Reload
movl $-1, (%rdx,%r8,4)
LBB0_32: ## in Loop: Header=BB0_33 Depth=3
incq %r14
incq %r10
incq %rax
cmpq %rsi, %r14
je LBB0_56
LBB0_33: ## Parent Loop BB0_3 Depth=1
## Parent Loop BB0_30 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_36 Depth 4
## Child Loop BB0_47 Depth 4
leaq (%r14,%rdi), %r8
movq -80(%rbp), %rdx ## 8-byte Reload
cmpb $0, (%rdx,%r8)
jne LBB0_31
## %bb.34: ## in Loop: Header=BB0_33 Depth=3
xorl %r11d, %r11d
movq %r10, %rsi
movq -128(%rbp), %rdx ## 8-byte Reload
jmp LBB0_36
.p2align 4, 0x90
LBB0_35: ## in Loop: Header=BB0_36 Depth=4
incq %rdx
addq %rbx, %rsi
cmpq %r15, %rdx
jge LBB0_43
LBB0_36: ## Parent Loop BB0_3 Depth=1
## Parent Loop BB0_30 Depth=2
## Parent Loop BB0_33 Depth=3
## => This Inner Loop Header: Depth=4
testq %rdx, %rdx
je LBB0_35
## %bb.37: ## in Loop: Header=BB0_36 Depth=4
movq %rcx, %rdi
addq %rdx, %rdi
js LBB0_35
## %bb.38: ## in Loop: Header=BB0_36 Depth=4
cmpq %r15, %rdi
jge LBB0_35
## %bb.39: ## in Loop: Header=BB0_36 Depth=4
movq %r14, %rdi
addq %rdx, %rdi
js LBB0_35
## %bb.40: ## in Loop: Header=BB0_36 Depth=4
cmpq %r15, %rdi
jge LBB0_35
## %bb.41: ## in Loop: Header=BB0_36 Depth=4
cmpb $0, (%rsi)
jne LBB0_44
## %bb.42: ## in Loop: Header=BB0_36 Depth=4
incl %r11d
jmp LBB0_35
.p2align 4, 0x90
LBB0_43: ## in Loop: Header=BB0_33 Depth=3
movq -200(%rbp), %r13 ## 8-byte Reload
movq %rax, %r9
movq -128(%rbp), %rsi ## 8-byte Reload
cmpl $-1, %r11d
jne LBB0_47
LBB0_44: ## in Loop: Header=BB0_33 Depth=3
movq -120(%rbp), %rdx ## 8-byte Reload
movl $-1, (%rdx,%r8,4)
jmp LBB0_55
.p2align 4, 0x90
LBB0_45: ## in Loop: Header=BB0_47 Depth=4
incl %r11d
LBB0_46: ## in Loop: Header=BB0_47 Depth=4
incq %rsi
addq %r12, %r9
decq %r13
cmpq %r15, %rsi
jge LBB0_54
LBB0_47: ## Parent Loop BB0_3 Depth=1
## Parent Loop BB0_30 Depth=2
## Parent Loop BB0_33 Depth=3
## => This Inner Loop Header: Depth=4
testq %rsi, %rsi
je LBB0_46
## %bb.48: ## in Loop: Header=BB0_47 Depth=4
testq %r13, %r13
js LBB0_46
## %bb.49: ## in Loop: Header=BB0_47 Depth=4
cmpq %r15, %r13
jge LBB0_46
## %bb.50: ## in Loop: Header=BB0_47 Depth=4
movq %r14, %rdx
addq %rsi, %rdx
js LBB0_46
## %bb.51: ## in Loop: Header=BB0_47 Depth=4
cmpq %r15, %rdx
jge LBB0_46
## %bb.52: ## in Loop: Header=BB0_47 Depth=4
cmpb $0, (%r9)
je LBB0_45
## %bb.53: ## in Loop: Header=BB0_33 Depth=3
movl $-1, %r11d
LBB0_54: ## in Loop: Header=BB0_33 Depth=3
movl -60(%rbp), %edi ## 4-byte Reload
cmpl %edi, %r11d
movl %edi, %edx
cmovll %r11d, %edx
movq -120(%rbp), %rsi ## 8-byte Reload
movl %r11d, (%rsi,%r8,4)
cmpl $-1, %r11d
cmovnel %edx, %edi
movl %edi, -60(%rbp) ## 4-byte Spill
LBB0_55: ## in Loop: Header=BB0_33 Depth=3
movq -88(%rbp), %rsi ## 8-byte Reload
movq -144(%rbp), %rdi ## 8-byte Reload
jmp LBB0_32
.p2align 4, 0x90
LBB0_56: ## in Loop: Header=BB0_30 Depth=2
incq %rcx
cmpq %rsi, %rcx
jne LBB0_30
## %bb.57: ## in Loop: Header=BB0_30 Depth=2
movl -60(%rbp), %eax ## 4-byte Reload
cmpl $1000, %eax ## imm = 0x3E8
je LBB0_80
## %bb.58: ## in Loop: Header=BB0_30 Depth=2
movq -88(%rbp), %rdi ## 8-byte Reload
testl %edi, %edi
movq -112(%rbp), %r8 ## 8-byte Reload
jle LBB0_66
## %bb.59: ## in Loop: Header=BB0_30 Depth=2
movq -120(%rbp), %rcx ## 8-byte Reload
movq -80(%rbp), %r9 ## 8-byte Reload
xorl %edx, %edx
LBB0_60: ## Parent Loop BB0_3 Depth=1
## Parent Loop BB0_30 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_61 Depth 4
xorl %esi, %esi
.p2align 4, 0x90
LBB0_61: ## Parent Loop BB0_3 Depth=1
## Parent Loop BB0_30 Depth=2
## Parent Loop BB0_60 Depth=3
## => This Inner Loop Header: Depth=4
cmpl %eax, (%rcx,%rsi,4)
je LBB0_64
## %bb.62: ## in Loop: Header=BB0_61 Depth=4
incq %rsi
cmpq %rsi, %rdi
jne LBB0_61
## %bb.63: ## in Loop: Header=BB0_60 Depth=3
incq %rdx
addq %r15, %r9
addq -176(%rbp), %rcx ## 8-byte Folded Reload
cmpq %rdi, %rdx
jne LBB0_60
jmp LBB0_65
.p2align 4, 0x90
LBB0_64: ## in Loop: Header=BB0_30 Depth=2
movb $1, (%r9,%rsi)
LBB0_65: ## in Loop: Header=BB0_30 Depth=2
xorl %ecx, %ecx
movl $1000, -60(%rbp) ## 4-byte Folded Spill
## imm = 0x3E8
movl $0, %edx
testl %r8d, %r8d
jg LBB0_30
jmp LBB0_67
.p2align 4, 0x90
LBB0_66: ## in Loop: Header=BB0_3 Depth=1
xorl %ecx, %ecx
xorl %edx, %edx
LBB0_67: ## in Loop: Header=BB0_3 Depth=1
movl -92(%rbp), %esi ## 4-byte Reload
incl %esi
leaq L_.str.3(%rip), %rdi
movl %esi, -92(%rbp) ## 4-byte Spill
## kill: def $ecx killed $ecx killed $rcx
xorl %eax, %eax
callq _printf
movl -52(%rbp), %esi
testl %esi, %esi
jle LBB0_2
## %bb.68: ## in Loop: Header=BB0_3 Depth=1
xorl %r14d, %r14d
jmp LBB0_70
.p2align 4, 0x90
LBB0_69: ## in Loop: Header=BB0_70 Depth=2
movl %r15d, %r14d
cmpl %esi, %r15d
jge LBB0_2
LBB0_70: ## Parent Loop BB0_3 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_76 Depth 3
leal 1(%r14), %r15d
testl %esi, %esi
jle LBB0_69
## %bb.71: ## in Loop: Header=BB0_70 Depth=2
xorl %ebx, %ebx
jmp LBB0_76
.p2align 4, 0x90
LBB0_72: ## in Loop: Header=BB0_76 Depth=3
testb %dl, %dl
je LBB0_79
## %bb.73: ## in Loop: Header=BB0_76 Depth=3
movq -72(%rbp), %rax ## 8-byte Reload
cmpb $0, (%rax,%rcx)
movl $111, %esi
movl $43, %eax
cmovel %eax, %esi
LBB0_74: ## in Loop: Header=BB0_76 Depth=3
incl %ebx
leaq L_.str.4(%rip), %rdi
movl %r15d, %edx
movl %ebx, %ecx
xorl %eax, %eax
callq _printf
movl -52(%rbp), %esi
cmpl %esi, %ebx
jl LBB0_76
jmp LBB0_69
.p2align 4, 0x90
LBB0_79: ## in Loop: Header=BB0_76 Depth=3
movl $120, %esi
jmp LBB0_74
.p2align 4, 0x90
LBB0_76: ## Parent Loop BB0_3 Depth=1
## Parent Loop BB0_70 Depth=2
## => This Inner Loop Header: Depth=3
movl %esi, %ecx
imull %r14d, %ecx
addl %ebx, %ecx
movslq %ecx, %rcx
movq -80(%rbp), %rax ## 8-byte Reload
movzbl (%rax,%rcx), %edx
movq -160(%rbp), %rax ## 8-byte Reload
cmpb (%rax,%rcx), %dl
jne LBB0_72
## %bb.77: ## in Loop: Header=BB0_76 Depth=3
movq -72(%rbp), %rax ## 8-byte Reload
movzbl (%rax,%rcx), %eax
movq -152(%rbp), %rdi ## 8-byte Reload
cmpb (%rdi,%rcx), %al
jne LBB0_72
## %bb.78: ## in Loop: Header=BB0_76 Depth=3
incl %ebx
cmpl %esi, %ebx
jl LBB0_76
jmp LBB0_69
.p2align 4, 0x90
LBB0_80: ## in Loop: Header=BB0_3 Depth=1
movl $0, %ecx
movl $0, %edx
cmpl $0, -112(%rbp) ## 4-byte Folded Reload
jle LBB0_67
## %bb.81: ## in Loop: Header=BB0_3 Depth=1
xorl %r8d, %r8d
movq -152(%rbp), %r9 ## 8-byte Reload
movq -160(%rbp), %r10 ## 8-byte Reload
movq -72(%rbp), %r11 ## 8-byte Reload
movq -80(%rbp), %rdi ## 8-byte Reload
xorl %edx, %edx
xorl %ecx, %ecx
jmp LBB0_83
.p2align 4, 0x90
LBB0_82: ## in Loop: Header=BB0_83 Depth=2
incq %r8
addq %r15, %rdi
addq %r15, %r11
addq %r15, %r10
addq %r15, %r9
cmpq -88(%rbp), %r8 ## 8-byte Folded Reload
je LBB0_67
LBB0_83: ## Parent Loop BB0_3 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_86 Depth 3
xorl %esi, %esi
jmp LBB0_86
.p2align 4, 0x90
LBB0_84: ## in Loop: Header=BB0_86 Depth=3
incl %ecx
LBB0_85: ## in Loop: Header=BB0_86 Depth=3
incq %rsi
cmpq %rsi, -88(%rbp) ## 8-byte Folded Reload
je LBB0_82
LBB0_86: ## Parent Loop BB0_3 Depth=1
## Parent Loop BB0_83 Depth=2
## => This Inner Loop Header: Depth=3
movzbl (%rdi,%rsi), %eax
cmpb $1, %al
sbbl $-1, %edx
movzbl (%r11,%rsi), %ebx
cmpb $1, %bl
sbbl $-1, %edx
cmpb (%r10,%rsi), %al
jne LBB0_84
## %bb.87: ## in Loop: Header=BB0_86 Depth=3
cmpb (%r9,%rsi), %bl
jne LBB0_84
jmp LBB0_85
LBB0_88:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_90
## %bb.89:
xorl %eax, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_90:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%d %d"
L_.str.2: ## @.str.2
.asciz "%s %d %d"
L_.str.3: ## @.str.3
.asciz "Case #%d: %d %d\n"
L_.str.4: ## @.str.4
.asciz "%c %d %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
sub sp, sp, #64
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
sub x8, x29, #92
str x8, [sp, #-16]!
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _scanf
add sp, sp, #16
ldur w8, [x29, #-92]
cbz w8, LBB0_85
; %bb.1:
mov w27, #0
sub x21, x29, #112
sub x25, x29, #108
sub x26, x29, #102
Lloh5:
adrp x28, l_.str.2@PAGE
Lloh6:
add x28, x28, l_.str.2@PAGEOFF
mov w19, #-1
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-128] ; 8-byte Folded Reload
mov sp, x8
ldur w8, [x29, #-92]
cmp w8, w27
sub x21, x29, #112
sub x25, x29, #108
sub x26, x29, #102
b.eq LBB0_85
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
; Child Loop BB0_17 Depth 2
; Child Loop BB0_18 Depth 3
; Child Loop BB0_24 Depth 2
; Child Loop BB0_26 Depth 3
; Child Loop BB0_30 Depth 2
; Child Loop BB0_33 Depth 3
; Child Loop BB0_36 Depth 4
; Child Loop BB0_46 Depth 4
; Child Loop BB0_58 Depth 3
; Child Loop BB0_59 Depth 4
; Child Loop BB0_67 Depth 2
; Child Loop BB0_70 Depth 3
; Child Loop BB0_76 Depth 2
; Child Loop BB0_82 Depth 3
sub sp, sp, #16
sub x8, x29, #100
str x8, [sp, #8]
sub x8, x29, #96
str x8, [sp]
Lloh7:
adrp x0, l_.str.1@PAGE
Lloh8:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
add sp, sp, #16
mov x8, sp
stur x8, [x29, #-128] ; 8-byte Folded Spill
ldur w8, [x29, #-96]
mul w8, w8, w8
mov x9, x8
Lloh9:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh10:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x1fffffff0
sub x23, x9, x8
mov sp, x23
ldur w22, [x29, #-96]
mul w20, w22, w22
mov x9, x20
Lloh11:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh12:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
add x9, x20, #15
and x9, x9, #0x1fffffff0
sub x24, x8, x9
mov sp, x24
mov x0, x23
mov x1, x20
bl _bzero
mov x0, x24
mov x1, x20
bl _bzero
ldur w8, [x29, #-100]
cmp w8, #1
stur x27, [x29, #-120] ; 8-byte Folded Spill
b.lt LBB0_13
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov w20, #0
b LBB0_8
LBB0_5: ; in Loop: Header=BB0_8 Depth=2
ldur w22, [x29, #-96]
mul w9, w22, w9
sxtw x9, w9
add x8, x9, w8, sxtw
LBB0_6: ; in Loop: Header=BB0_8 Depth=2
add x8, x24, x8
LBB0_7: ; in Loop: Header=BB0_8 Depth=2
mov w9, #1
strb w9, [x8]
add w20, w20, #1
ldur w8, [x29, #-100]
cmp w20, w8
b.ge LBB0_12
LBB0_8: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
sub sp, sp, #32
stp x25, x21, [sp, #8]
str x26, [sp]
mov x0, x28
bl _scanf
add sp, sp, #32
ldursw x8, [x29, #-108]
sub x9, x8, #1
ldursw x8, [x29, #-112]
sub x8, x8, #1
ldurb w10, [x29, #-102]
cmp w10, #120
b.eq LBB0_5
; %bb.9: ; in Loop: Header=BB0_8 Depth=2
cmp w10, #111
b.ne LBB0_11
; %bb.10: ; in Loop: Header=BB0_8 Depth=2
ldursw x22, [x29, #-96]
madd x8, x22, x9, x8
mov w9, #1
strb w9, [x23, x8]
b LBB0_6
LBB0_11: ; in Loop: Header=BB0_8 Depth=2
ldur w22, [x29, #-96]
mul w9, w22, w9
sxtw x9, w9
add x8, x9, w8, sxtw
add x8, x23, x8
b LBB0_7
LBB0_12: ; in Loop: Header=BB0_3 Depth=1
mul w20, w22, w22
LBB0_13: ; in Loop: Header=BB0_3 Depth=1
mov x9, x20
Lloh13:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh14:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
add x9, x20, #15
and x12, x9, #0x1fffffff0
sub x25, x8, x12
mov sp, x25
mov x9, x20
Lloh15:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh16:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
sub x26, x8, x12
mov sp, x26
mov x0, x25
mov x1, x23
mov x2, x20
bl _memcpy
mov x0, x26
mov x1, x24
stur x20, [x29, #-136] ; 8-byte Folded Spill
mov x2, x20
bl _memcpy
mov w27, w22
mov x9, x27
Lloh17:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh18:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
add x9, x27, #15
and x12, x9, #0x1fffffff0
sub x21, x8, x12
mov sp, x21
mov x9, x27
Lloh19:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh20:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
sub x20, x8, x12
mov sp, x20
mov x8, x22
sxtw x28, w8
mov x0, x21
mov x1, x28
bl _bzero
mov x0, x20
mov x1, x28
bl _bzero
cmp w22, #1
b.lt LBB0_28
; %bb.14: ; in Loop: Header=BB0_3 Depth=1
mov x8, #0
mov x9, x24
b LBB0_17
LBB0_15: ; in Loop: Header=BB0_17 Depth=2
mov w11, #1
strb w11, [x21, x8]
strb w11, [x10]
LBB0_16: ; in Loop: Header=BB0_17 Depth=2
add x8, x8, #1
add x9, x9, x28
cmp x8, x27
b.eq LBB0_20
LBB0_17: ; Parent Loop BB0_3 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_18 Depth 3
mov x11, x27
mov x12, x9
mov x10, x20
LBB0_18: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_17 Depth=2
; => This Inner Loop Header: Depth=3
ldrb w13, [x12]
cbnz w13, LBB0_15
; %bb.19: ; in Loop: Header=BB0_18 Depth=3
add x10, x10, #1
add x12, x12, #1
subs x11, x11, #1
b.ne LBB0_18
b LBB0_16
LBB0_20: ; in Loop: Header=BB0_3 Depth=1
cmp w27, #1
b.lt LBB0_28
; %bb.21: ; in Loop: Header=BB0_3 Depth=1
mov w8, #0
mov x9, #0
b LBB0_24
LBB0_22: ; in Loop: Header=BB0_24 Depth=2
mov w12, #1
strb w12, [x24, w10, sxtw]
strb w12, [x11]
strb w12, [x21, x9]
LBB0_23: ; in Loop: Header=BB0_24 Depth=2
add x9, x9, #1
add w8, w8, w27
cmp x9, x27
b.eq LBB0_28
LBB0_24: ; Parent Loop BB0_3 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_26 Depth 3
ldrb w10, [x21, x9]
cbnz w10, LBB0_23
; %bb.25: ; in Loop: Header=BB0_24 Depth=2
mov x12, x27
mov x10, x8
mov x11, x20
LBB0_26: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_24 Depth=2
; => This Inner Loop Header: Depth=3
ldrb w13, [x11]
cbz w13, LBB0_22
; %bb.27: ; in Loop: Header=BB0_26 Depth=3
add x11, x11, #1
add w10, w10, #1
subs x12, x12, #1
b.ne LBB0_26
b LBB0_23
LBB0_28: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-136] ; 8-byte Folded Reload
lsl x8, x8, #2
mov x9, x8
Lloh21:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh22:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x8, x9, x8
mov sp, x8
cmp w27, #1
b.lt LBB0_72
; %bb.29: ; in Loop: Header=BB0_3 Depth=1
mov x16, #0
neg w9, w28
sxtw x9, w9
add x10, x23, x9
add x11, x28, #1
neg x12, x9
mov w13, #1
sub x13, x13, x28
lsl x14, x28, #2
mov w15, #1000
LBB0_30: ; Parent Loop BB0_3 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_33 Depth 3
; Child Loop BB0_36 Depth 4
; Child Loop BB0_46 Depth 4
; Child Loop BB0_58 Depth 3
; Child Loop BB0_59 Depth 4
mov x17, #0
mul x0, x16, x28
add x1, x9, x16
madd x1, x28, x1, x10
add x2, x12, x16
madd x3, x28, x2, x10
b LBB0_33
LBB0_31: ; in Loop: Header=BB0_33 Depth=3
str w19, [x8, x4, lsl #2]
LBB0_32: ; in Loop: Header=BB0_33 Depth=3
add x17, x17, #1
add x1, x1, #1
add x3, x3, #1
cmp x17, x27
b.eq LBB0_54
LBB0_33: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_30 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_36 Depth 4
; Child Loop BB0_46 Depth 4
add x4, x17, x0
ldrb w5, [x23, x4]
cbnz w5, LBB0_31
; %bb.34: ; in Loop: Header=BB0_33 Depth=3
mov x6, x1
mov x7, x9
b LBB0_36
LBB0_35: ; in Loop: Header=BB0_36 Depth=4
add x7, x7, #1
add x6, x6, x11
cmp x7, x28
b.ge LBB0_43
LBB0_36: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_30 Depth=2
; Parent Loop BB0_33 Depth=3
; => This Inner Loop Header: Depth=4
cbz x7, LBB0_35
; %bb.37: ; in Loop: Header=BB0_36 Depth=4
add x20, x16, x7
tbnz x20, #63, LBB0_35
; %bb.38: ; in Loop: Header=BB0_36 Depth=4
cmp x20, x28
b.ge LBB0_35
; %bb.39: ; in Loop: Header=BB0_36 Depth=4
add x20, x17, x7
tbnz x20, #63, LBB0_35
; %bb.40: ; in Loop: Header=BB0_36 Depth=4
cmp x20, x28
b.ge LBB0_35
; %bb.41: ; in Loop: Header=BB0_36 Depth=4
ldrb w20, [x6]
cbnz w20, LBB0_31
; %bb.42: ; in Loop: Header=BB0_36 Depth=4
add w5, w5, #1
b LBB0_35
LBB0_43: ; in Loop: Header=BB0_33 Depth=3
mov x6, x2
mov x7, x3
mov x20, x9
cmn w5, #1
b.ne LBB0_46
b LBB0_31
LBB0_44: ; in Loop: Header=BB0_46 Depth=4
add w5, w5, #1
LBB0_45: ; in Loop: Header=BB0_46 Depth=4
add x20, x20, #1
add x7, x7, x13
sub x6, x6, #1
cmp x20, x28
b.ge LBB0_53
LBB0_46: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_30 Depth=2
; Parent Loop BB0_33 Depth=3
; => This Inner Loop Header: Depth=4
cbz x20, LBB0_45
; %bb.47: ; in Loop: Header=BB0_46 Depth=4
tbnz x6, #63, LBB0_45
; %bb.48: ; in Loop: Header=BB0_46 Depth=4
cmp x6, x28
b.ge LBB0_45
; %bb.49: ; in Loop: Header=BB0_46 Depth=4
add x21, x17, x20
tbnz x21, #63, LBB0_45
; %bb.50: ; in Loop: Header=BB0_46 Depth=4
cmp x21, x28
b.ge LBB0_45
; %bb.51: ; in Loop: Header=BB0_46 Depth=4
ldrb w21, [x7]
cbz w21, LBB0_44
; %bb.52: ; in Loop: Header=BB0_33 Depth=3
mov w5, #-1
LBB0_53: ; in Loop: Header=BB0_33 Depth=3
str w5, [x8, x4, lsl #2]
cmp w5, w15
ccmp w5, w19, #4, lt
csel w15, w5, w15, ne
b LBB0_32
LBB0_54: ; in Loop: Header=BB0_30 Depth=2
add x16, x16, #1
cmp x16, x27
b.ne LBB0_30
; %bb.55: ; in Loop: Header=BB0_30 Depth=2
cmp w15, #1000
b.eq LBB0_64
; %bb.56: ; in Loop: Header=BB0_30 Depth=2
cmp w27, #1
b.lt LBB0_72
; %bb.57: ; in Loop: Header=BB0_30 Depth=2
mov x16, #0
mov x17, x8
mov x0, x23
LBB0_58: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_30 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_59 Depth 4
mov x1, x27
mov x3, x17
mov x2, x0
LBB0_59: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_30 Depth=2
; Parent Loop BB0_58 Depth=3
; => This Inner Loop Header: Depth=4
ldr w4, [x3]
cmp w4, w15
b.eq LBB0_62
; %bb.60: ; in Loop: Header=BB0_59 Depth=4
add x2, x2, #1
add x3, x3, #4
subs x1, x1, #1
b.ne LBB0_59
; %bb.61: ; in Loop: Header=BB0_58 Depth=3
add x16, x16, #1
add x0, x0, x28
add x17, x17, x14
cmp x16, x27
b.ne LBB0_58
b LBB0_63
LBB0_62: ; in Loop: Header=BB0_30 Depth=2
mov w15, #1
strb w15, [x2]
LBB0_63: ; in Loop: Header=BB0_30 Depth=2
mov x16, #0
mov w15, #1000
cmp w28, #0
b.gt LBB0_30
b LBB0_72
LBB0_64: ; in Loop: Header=BB0_3 Depth=1
cmp w28, #1
b.lt LBB0_72
; %bb.65: ; in Loop: Header=BB0_3 Depth=1
mov x10, #0
mov w9, #0
mov w8, #0
mov x11, x26
mov x12, x25
mov x13, x24
mov x14, x23
b LBB0_67
LBB0_66: ; in Loop: Header=BB0_67 Depth=2
add x10, x10, #1
add x14, x14, x28
add x13, x13, x28
add x12, x12, x28
add x11, x11, x28
cmp x10, x27
b.eq LBB0_73
LBB0_67: ; Parent Loop BB0_3 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_70 Depth 3
mov x15, x27
mov x16, x11
mov x17, x12
mov x0, x13
mov x1, x14
b LBB0_70
LBB0_68: ; in Loop: Header=BB0_70 Depth=3
add w8, w8, #1
LBB0_69: ; in Loop: Header=BB0_70 Depth=3
add x1, x1, #1
add x0, x0, #1
add x17, x17, #1
add x16, x16, #1
subs x15, x15, #1
b.eq LBB0_66
LBB0_70: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_67 Depth=2
; => This Inner Loop Header: Depth=3
ldrb w3, [x1]
cmp w3, #0
cinc w9, w9, ne
ldrb w2, [x0]
cmp w2, #0
cinc w9, w9, ne
ldrb w4, [x17]
cmp w3, w4
b.ne LBB0_68
; %bb.71: ; in Loop: Header=BB0_70 Depth=3
ldrb w3, [x16]
cmp w2, w3
b.ne LBB0_68
b LBB0_69
LBB0_72: ; in Loop: Header=BB0_3 Depth=1
mov w8, #0
mov w9, #0
LBB0_73: ; in Loop: Header=BB0_3 Depth=1
ldur x27, [x29, #-120] ; 8-byte Folded Reload
add w27, w27, #1
sub sp, sp, #32
stp x9, x8, [sp, #8]
str x27, [sp]
Lloh23:
adrp x0, l_.str.3@PAGE
Lloh24:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
add sp, sp, #32
ldur w8, [x29, #-96]
cmp w8, #1
Lloh25:
adrp x28, l_.str.2@PAGE
Lloh26:
add x28, x28, l_.str.2@PAGEOFF
b.lt LBB0_2
; %bb.74: ; in Loop: Header=BB0_3 Depth=1
mov w21, #0
b LBB0_76
LBB0_75: ; in Loop: Header=BB0_76 Depth=2
mov x21, x20
cmp w20, w8
b.ge LBB0_2
LBB0_76: ; Parent Loop BB0_3 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_82 Depth 3
add w20, w21, #1
cmp w8, #1
b.lt LBB0_75
; %bb.77: ; in Loop: Header=BB0_76 Depth=2
mov w22, #0
b LBB0_82
LBB0_78: ; in Loop: Header=BB0_82 Depth=3
cbz w10, LBB0_81
; %bb.79: ; in Loop: Header=BB0_82 Depth=3
ldrb w8, [x24, x9]
cmp w8, #0
mov w8, #111
mov w9, #43
csel w8, w9, w8, eq
LBB0_80: ; in Loop: Header=BB0_82 Depth=3
add w22, w22, #1
stp x8, x20, [sp, #-32]!
str x22, [sp, #16]
Lloh27:
adrp x0, l_.str.4@PAGE
Lloh28:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
add sp, sp, #32
ldur w8, [x29, #-96]
cmp w22, w8
b.lt LBB0_82
b LBB0_75
LBB0_81: ; in Loop: Header=BB0_82 Depth=3
mov w8, #120
b LBB0_80
LBB0_82: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_76 Depth=2
; => This Inner Loop Header: Depth=3
madd w9, w8, w21, w22
sxtw x9, w9
ldrb w10, [x23, x9]
ldrb w11, [x25, x9]
cmp w10, w11
b.ne LBB0_78
; %bb.83: ; in Loop: Header=BB0_82 Depth=3
ldrb w11, [x24, x9]
ldrb w12, [x26, x9]
cmp w11, w12
b.ne LBB0_78
; %bb.84: ; in Loop: Header=BB0_82 Depth=3
add w22, w22, #1
cmp w22, w8
b.lt LBB0_82
b LBB0_75
LBB0_85:
ldur x8, [x29, #-88]
Lloh29:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh30:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_87
; %bb.86:
mov w0, #0
sub sp, x29, #80
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_87:
bl ___stack_chk_fail
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%d %d"
l_.str.2: ; @.str.2
.asciz "%s %d %d"
l_.str.3: ; @.str.3
.asciz "Case #%d: %d %d\n"
l_.str.4: ; @.str.4
.asciz "%c %d %d\n"
.subsections_via_symbols
| the_stack_data/1102463.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function network_mysqld_proto_binary_append_double_type
_network_mysqld_proto_binary_append_double_type: ## @network_mysqld_proto_binary_append_double_type
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $48, %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)
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -56(%rbp,%r14,4), %esi
movq %rbx, %rdi
callq _network_mysqld_proto_append_int8
cmpq $6, %r14
ja LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
incq %r14
testq %rax, %rax
je LBB0_1
LBB0_3:
xorl %ecx, %ecx
negq %rax
sbbl %ecx, %ecx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -24(%rbp), %rax
jne LBB0_5
## %bb.4:
movl %ecx, %eax
addq $48, %rsp
popq %rbx
popq %r14
popq %rbp
retq
LBB0_5:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.no_dead_strip _network_mysqld_proto_binary_append_double_type
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function network_mysqld_proto_binary_append_double_type
_network_mysqld_proto_binary_append_double_type: ; @network_mysqld_proto_binary_append_double_type
.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
bl _network_mysqld_proto_append_int8
cmp x0, #0
cset w8, ne
cbnz x0, LBB0_8
; %bb.1:
mov x0, x19
bl _network_mysqld_proto_append_int8
cmp x0, #0
cset w8, ne
cbnz x0, LBB0_8
; %bb.2:
mov x0, x19
bl _network_mysqld_proto_append_int8
cmp x0, #0
cset w8, ne
cbnz x0, LBB0_8
; %bb.3:
mov x0, x19
bl _network_mysqld_proto_append_int8
cmp x0, #0
cset w8, ne
cbnz x0, LBB0_8
; %bb.4:
mov x0, x19
bl _network_mysqld_proto_append_int8
cmp x0, #0
cset w8, ne
cbnz x0, LBB0_8
; %bb.5:
mov x0, x19
bl _network_mysqld_proto_append_int8
cmp x0, #0
cset w8, ne
cbnz x0, LBB0_8
; %bb.6:
mov x0, x19
bl _network_mysqld_proto_append_int8
cmp x0, #0
cset w8, ne
cbnz x0, LBB0_8
; %bb.7:
mov x0, x19
bl _network_mysqld_proto_append_int8
cmp x0, #0
cset w8, ne
LBB0_8:
sbfx w0, w8, #0, #1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _network_mysqld_proto_binary_append_double_type
.subsections_via_symbols
| assembly_file_149007.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _report_path_error ## -- Begin function report_path_error
.p2align 4, 0x90
_report_path_error: ## @report_path_error
.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
cmpl $0, (%rsi)
js LBB0_1
## %bb.2:
movq %rsi, %rbx
movq %rdi, %r14
xorl %r13d, %r13d
movl $0, -44(%rbp) ## 4-byte Folded Spill
jmp LBB0_3
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
leaq L_.str(%rip), %rdi
callq __
movq 8(%rbx), %rcx
movl (%rcx,%r13,4), %esi
movl %eax, %edi
callq _error
incl -44(%rbp) ## 4-byte Folded Spill
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_3 Depth=1
decq %r13
movslq (%rbx), %rax
cmpq %rax, %r13
jg LBB0_12
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
cmpb $0, (%r14,%r13)
jne LBB0_11
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl %r13d, %r12d
xorl %r15d, %r15d
jmp LBB0_5
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_5 Depth=2
incq %r15
testl %ecx, %ecx
jne LBB0_11
LBB0_5: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movslq (%rbx), %rax
cmpq %rax, %r15
jge LBB0_10
## %bb.6: ## in Loop: Header=BB0_5 Depth=2
xorl %ecx, %ecx
cmpq %r15, %r12
je LBB0_9
## %bb.7: ## in Loop: Header=BB0_5 Depth=2
cmpb $0, (%r14,%r15)
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_5 Depth=2
movq 8(%rbx), %rax
movl (%rax,%r15,4), %edi
movl (%rax,%r13,4), %esi
callq _strcmp
xorl %ecx, %ecx
testl %eax, %eax
sete %cl
jmp LBB0_9
LBB0_1:
movl $0, -44(%rbp) ## 4-byte Folded Spill
LBB0_12:
movl -44(%rbp), %eax ## 4-byte Reload
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 "pathspec '%s' did not match any file(s) known to git"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _report_path_error ; -- Begin function report_path_error
.p2align 2
_report_path_error: ; @report_path_error
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
ldr w8, [x1]
tbnz w8, #31, LBB0_12
; %bb.1:
mov x19, x1
mov x20, x0
mov x23, #0 ; =0x0
mov w21, #0 ; =0x0
Lloh0:
adrp x22, l_.str@PAGE
Lloh1:
add x22, x22, l_.str@PAGEOFF
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
mov x0, x22
bl __
ldr x8, [x19, #8]
ldr w1, [x8, x23, lsl #2]
bl _error
add w21, w21, #1
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
sub x23, x23, #1
ldrsw x8, [x19]
cmp x23, x8
b.gt LBB0_13
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
ldrb w8, [x20, x23]
cbnz w8, LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov x24, #0 ; =0x0
mov w25, w23
b LBB0_8
LBB0_6: ; in Loop: Header=BB0_8 Depth=2
mov w8, #0 ; =0x0
LBB0_7: ; in Loop: Header=BB0_8 Depth=2
add x24, x24, #1
cbnz w8, LBB0_3
LBB0_8: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldrsw x8, [x19]
cmp x24, x8
b.ge LBB0_2
; %bb.9: ; in Loop: Header=BB0_8 Depth=2
cmp x25, x24
b.eq LBB0_6
; %bb.10: ; in Loop: Header=BB0_8 Depth=2
ldrb w8, [x20, x24]
cbz w8, LBB0_7
; %bb.11: ; in Loop: Header=BB0_8 Depth=2
ldr x8, [x19, #8]
ldr w0, [x8, x24, lsl #2]
ldr w1, [x8, x23, lsl #2]
bl _strcmp
cmp w0, #0
cset w8, eq
b LBB0_7
LBB0_12:
mov w21, #0 ; =0x0
LBB0_13:
mov x0, x21
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 AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "pathspec '%s' did not match any file(s) known to git"
.subsections_via_symbols
| assembly_file_180066.c | assembly_dataset |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.