arm
stringlengths 122
13.2M
| x86
stringlengths 122
12.4M
| filename
stringlengths 18
26
|
---|---|---|
.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 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
stur wzr, [x29, #-4]
mov x9, sp
add x8, sp, #36
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
fmov d0, #1.00000000
str d0, [sp, #40]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr d0, [sp, #40]
ldr s2, [sp, #36]
; implicit-def: $d1
fmov s1, s2
sshll.2d v1, v1, #0
; kill: def $d1 killed $d1 killed $q1
scvtf d1, d1
fcmp d0, d1
cset w8, hi
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov x9, sp
sub x8, x29, #16
str x8, [x9]
sub x8, x29, #24
str x8, [x9, #8]
sub x8, x29, #32
str x8, [x9, #16]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur d0, [x29, #-16]
ldur d1, [x29, #-24]
fmov d2, #3.00000000
fmul d2, d1, d2
fmov d1, #2.00000000
fmadd d2, d0, d1, d2
ldur d0, [x29, #-32]
fmov d1, #5.00000000
fmadd d0, d0, d1, d2
fmov d1, #10.00000000
fdiv d0, d0, d1
mov x8, sp
str d0, [x8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr d0, [sp, #40]
fmov d1, #1.00000000
fadd d0, d0, d1
str d0, [sp, #40]
b LBB0_1
LBB0_4:
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%lf%lf%lf"
l_.str.2: ; @.str.2
.asciz "%.1lf\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x3ff0000000000000 ## double 1
LCPI0_1:
.quad 0x4024000000000000 ## double 10
LCPI0_2:
.quad 0x4014000000000000 ## double 5
LCPI0_3:
.quad 0x4008000000000000 ## double 3
.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 $48, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -44(%rbp), %rsi
movb $0, %al
callq _scanf
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -40(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero
cvtsi2sdl -44(%rbp), %xmm0
ucomisd %xmm1, %xmm0
jb LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.1(%rip), %rdi
leaq -16(%rbp), %rsi
leaq -24(%rbp), %rdx
leaq -32(%rbp), %rcx
movb $0, %al
callq _scanf
movsd -16(%rbp), %xmm1 ## xmm1 = mem[0],zero
movsd LCPI0_3(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd -24(%rbp), %xmm0
addsd %xmm1, %xmm1
addsd %xmm0, %xmm1
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_2(%rip), %xmm2 ## xmm2 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd -40(%rbp), %xmm0
movsd %xmm0, -40(%rbp)
jmp LBB0_1
LBB0_4:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%lf%lf%lf"
L_.str.2: ## @.str.2
.asciz "%.1lf\n"
.subsections_via_symbols
| the_stack_data/551411.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sigterm_handler ; -- Begin function sigterm_handler
.p2align 2
_sigterm_handler: ; @sigterm_handler
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
adrp x9, _stop_flag@PAGE
mov w8, #1
str w8, [x9, _stop_flag@PAGEOFF]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _start_server ; -- Begin function start_server
.p2align 2
_start_server: ; @start_server
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
sturh w0, [x29, #-26]
mov w0, #2
str w0, [sp, #36] ; 4-byte Folded Spill
mov w1, #1
mov w2, #0
bl _socket
stur w0, [x29, #-32]
ldur w0, [x29, #-32]
mov w1, #3
bl _fcntl
stur w0, [x29, #-36]
ldur w0, [x29, #-32]
ldur w8, [x29, #-36]
mov w1, #4
orr w10, w8, #0x4
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
bl _fcntl
sub x8, x29, #24
str x8, [sp, #16] ; 8-byte Folded Spill
mov w8, #2
sturb w8, [x29, #-23]
ldurh w8, [x29, #-26]
sturh w8, [x29, #-22]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _inet_addr
ldr x1, [sp, #16] ; 8-byte Folded Reload
stur w0, [x29, #-20]
ldur w0, [x29, #-32]
mov w2, #16
bl _bind
ldur w0, [x29, #-32]
mov w1, #128
bl _listen
mov w0, #13
mov x1, #1
bl _signal
mov w0, #15
adrp x1, _sigterm_handler@PAGE
add x1, x1, _sigterm_handler@PAGEOFF
str x1, [sp, #24] ; 8-byte Folded Spill
bl _signal
ldr x1, [sp, #24] ; 8-byte Folded Reload
ldr w0, [sp, #36] ; 4-byte Folded Reload
bl _signal
ldur w8, [x29, #-32]
str w8, [sp, #40] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
bl ___stack_chk_fail
LBB1_2:
ldr w0, [sp, #40] ; 4-byte Folded Reload
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _respond ; -- Begin function respond
.p2align 2
_respond: ; @respond
.cfi_startproc
; %bb.0:
stp x28, x27, [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 w27, -24
.cfi_offset w28, -32
mov w9, #24816
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #6, lsl #12 ; =24576
sub sp, sp, #240
add x8, sp, #216
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x9, ___stack_chk_guard@GOTPAGE
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
ldr x9, [x9]
stur x9, [x29, #-24]
str w0, [sp, #228]
str x1, [x8]
mov w8, #8192
str w8, [sp, #212]
ldr w0, [sp, #228]
add x1, sp, #4, lsl #12 ; =16384
add x1, x1, #232
str x1, [sp, #8] ; 8-byte Folded Spill
mov x2, #8192
str x2, [sp, #32] ; 8-byte Folded Spill
bl _read
ldr x0, [sp, #8] ; 8-byte Folded Reload
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _strstr
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x3, [sp, #32] ; 8-byte Folded Reload
mov x9, x8
subs x9, x0, x9
subs x9, x9, #5
; kill: def $w9 killed $w9 killed $x9
str w9, [sp, #208]
add x0, sp, #2, lsl #12 ; =8192
add x0, x0, #232
str x0, [sp, #24] ; 8-byte Folded Spill
add x1, x8, #4
mov x2, x3
bl ___strncpy_chk
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr x2, [sp, #32] ; 8-byte Folded Reload
ldrsw x10, [sp, #208]
add x9, x9, x10
strb wzr, [x9]
ldr x1, [x8]
add x0, sp, #232
str x0, [sp, #40] ; 8-byte Folded Spill
bl ___strcpy_chk
ldr x2, [sp, #32] ; 8-byte Folded Reload
ldr x0, [sp, #40] ; 8-byte Folded Reload
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl ___strcat_chk
ldr x1, [sp, #24] ; 8-byte Folded Reload
ldr x2, [sp, #32] ; 8-byte Folded Reload
ldr x0, [sp, #40] ; 8-byte Folded Reload
bl ___strcat_chk
ldr x0, [sp, #40] ; 8-byte Folded Reload
mov w1, #0
bl _open
str w0, [sp, #204]
ldr w8, [sp, #204]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB2_7
b LBB2_1
LBB2_1:
add x0, sp, #232
mov w1, #0
bl _access
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2:
ldr w0, [sp, #228]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _dprintf
b LBB2_6
LBB2_3:
add x0, sp, #232
mov w1, #4
bl _access
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB2_5
b LBB2_4
LBB2_4:
ldr w0, [sp, #228]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _dprintf
b LBB2_5
LBB2_5:
b LBB2_6
LBB2_6:
b LBB2_10
LBB2_7:
add x0, sp, #232
add x1, sp, #56
bl _lstat
ldr w0, [sp, #228]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _dprintf
ldr w0, [sp, #228]
ldr x8, [sp, #152]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _dprintf
str wzr, [sp, #52]
b LBB2_8
LBB2_8: ; =>This Inner Loop Header: Depth=1
ldr w0, [sp, #204]
add x1, sp, #4, lsl #12 ; =16384
add x1, x1, #232
mov x2, #8192
bl _read
mov x8, x0
mov x9, x0
str w9, [sp, #52]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB2_10
b LBB2_9
LBB2_9: ; in Loop: Header=BB2_8 Depth=1
ldr w0, [sp, #228]
ldrsw x2, [sp, #52]
add x1, sp, #4, lsl #12 ; =16384
add x1, x1, #232
bl _write
b LBB2_8
LBB2_10:
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_12
b LBB2_11
LBB2_11:
bl ___stack_chk_fail
LBB2_12:
add sp, sp, #6, lsl #12 ; =24576
add sp, sp, #240
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 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, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-28]
str w0, [sp, #32]
str x1, [sp, #24]
ldr x8, [sp, #24]
ldr x0, [x8, #8]
bl _atoi
and w0, w0, #0xffff
bl __OSSwapInt16
and w8, w0, #0xffff
and w0, w8, #0xffff
bl _start_server
str w0, [sp, #20]
mov w8, #16
str w8, [sp, #16]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
adrp x8, _stop_flag@PAGE
ldr w8, [x8, _stop_flag@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_5
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldr w0, [sp, #20]
sub x1, x29, #24
add x2, sp, #16
bl _accept
str w0, [sp, #12]
ldr w8, [sp, #12]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
b LBB3_1
LBB3_4: ; in Loop: Header=BB3_1 Depth=1
ldr w0, [sp, #12]
ldr x8, [sp, #24]
ldr x1, [x8, #16]
bl _respond
ldr w0, [sp, #12]
mov w1, #2
bl _shutdown
ldr w0, [sp, #12]
bl _close
b LBB3_1
LBB3_5:
ldr w0, [sp, #20]
bl _close
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB3_7
b LBB3_6
LBB3_6:
bl ___stack_chk_fail
LBB3_7:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function _OSSwapInt16
__OSSwapInt16: ; @_OSSwapInt16
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
strh w0, [sp, #14]
ldrh w9, [sp, #14]
ldrh w8, [sp, #14]
asr w8, w8, #8
orr w8, w8, w9, lsl #8
and w0, w8, #0xffff
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _stop_flag ; @stop_flag
.zerofill __DATA,__common,_stop_flag,4,2
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "127.0.0.1"
l_.str.1: ; @.str.1
.asciz "HTTP/1.1"
l_.str.2: ; @.str.2
.asciz "/"
l_.str.3: ; @.str.3
.asciz "HTTP/1.1 404 Not Found\r\nContent-Length: 0\r\n\r\n"
l_.str.4: ; @.str.4
.asciz "HTTP/1.1 403 Forbidden\r\nContent-Length: 0\r\n\r\n"
l_.str.5: ; @.str.5
.asciz "HTTP/1.1 200 OK\r\n"
l_.str.6: ; @.str.6
.asciz "Content-Length: %ld\r\n\r\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sigterm_handler ## -- Begin function sigterm_handler
.p2align 4, 0x90
_sigterm_handler: ## @sigterm_handler
.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, -4(%rbp)
movl $1, _stop_flag(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _start_server ## -- Begin function start_server
.p2align 4, 0x90
_start_server: ## @start_server
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movw %di, %ax
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rcx, -8(%rbp)
movw %ax, -26(%rbp)
movl $2, %edi
movl $1, %esi
xorl %edx, %edx
callq _socket
movl %eax, -32(%rbp)
movl -32(%rbp), %edi
movl $3, %esi
movb $0, %al
callq _fcntl
movl %eax, -36(%rbp)
movl -32(%rbp), %edi
movl -36(%rbp), %edx
orl $4, %edx
movl $4, %esi
movb $0, %al
callq _fcntl
movb $2, -23(%rbp)
movw -26(%rbp), %ax
movw %ax, -22(%rbp)
leaq L_.str(%rip), %rdi
callq _inet_addr
movl %eax, -20(%rbp)
movl -32(%rbp), %edi
leaq -24(%rbp), %rsi
movl $16, %edx
callq _bind
movl -32(%rbp), %edi
movl $128, %esi
callq _listen
movl $13, %edi
movl $1, %esi
callq _signal
movl $15, %edi
leaq _sigterm_handler(%rip), %rsi
callq _signal
movl $2, %edi
leaq _sigterm_handler(%rip), %rsi
callq _signal
movl -32(%rbp), %eax
movl %eax, -40(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_2
## %bb.1:
movl -40(%rbp), %eax ## 4-byte Reload
addq $48, %rsp
popq %rbp
retq
LBB1_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _respond ## -- Begin function respond
.p2align 4, 0x90
_respond: ## @respond
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $24784, %eax ## imm = 0x60D0
callq ____chkstk_darwin
subq %rax, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -24596(%rbp)
movq %rsi, -24608(%rbp)
movl $8192, -24612(%rbp) ## imm = 0x2000
movl -24596(%rbp), %edi
leaq -8208(%rbp), %rsi
movl $8192, %edx ## imm = 0x2000
callq _read
leaq -8208(%rbp), %rdi
leaq L_.str.1(%rip), %rsi
callq _strstr
leaq -8208(%rbp), %rcx
subq %rcx, %rax
subq $5, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -24616(%rbp)
leaq -16400(%rbp), %rdi
leaq -8208(%rbp), %rsi
addq $4, %rsi
movl $8192, %ecx ## imm = 0x2000
movq %rcx, %rdx
callq ___strncpy_chk
movslq -24616(%rbp), %rax
movb $0, -16400(%rbp,%rax)
leaq -24592(%rbp), %rdi
movq -24608(%rbp), %rsi
movl $8192, %edx ## imm = 0x2000
callq ___strcpy_chk
leaq -24592(%rbp), %rdi
leaq L_.str.2(%rip), %rsi
movl $8192, %edx ## imm = 0x2000
callq ___strcat_chk
leaq -24592(%rbp), %rdi
leaq -16400(%rbp), %rsi
movl $8192, %edx ## imm = 0x2000
callq ___strcat_chk
leaq -24592(%rbp), %rdi
xorl %esi, %esi
movb $0, %al
callq _open
movl %eax, -24620(%rbp)
cmpl $-1, -24620(%rbp)
jne LBB2_7
## %bb.1:
leaq -24592(%rbp), %rdi
xorl %esi, %esi
callq _access
cmpl $-1, %eax
jne LBB2_3
## %bb.2:
movl -24596(%rbp), %edi
leaq L_.str.3(%rip), %rsi
movb $0, %al
callq _dprintf
jmp LBB2_6
LBB2_3:
leaq -24592(%rbp), %rdi
movl $4, %esi
callq _access
cmpl $-1, %eax
jne LBB2_5
## %bb.4:
movl -24596(%rbp), %edi
leaq L_.str.4(%rip), %rsi
movb $0, %al
callq _dprintf
LBB2_5:
jmp LBB2_6
LBB2_6:
jmp LBB2_10
LBB2_7:
leaq -24592(%rbp), %rdi
leaq -24768(%rbp), %rsi
callq _lstat$INODE64
movl -24596(%rbp), %edi
leaq L_.str.5(%rip), %rsi
movb $0, %al
callq _dprintf
movl -24596(%rbp), %edi
movq -24672(%rbp), %rdx
leaq L_.str.6(%rip), %rsi
movb $0, %al
callq _dprintf
movl $0, -24772(%rbp)
LBB2_8: ## =>This Inner Loop Header: Depth=1
movl -24620(%rbp), %edi
leaq -8208(%rbp), %rsi
movl $8192, %edx ## imm = 0x2000
callq _read
## kill: def $eax killed $eax killed $rax
movl %eax, -24772(%rbp)
cmpl $0, %eax
jle LBB2_10
## %bb.9: ## in Loop: Header=BB2_8 Depth=1
movl -24596(%rbp), %edi
leaq -8208(%rbp), %rsi
movslq -24772(%rbp), %rdx
callq _write
jmp LBB2_8
LBB2_10:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_12
## %bb.11:
addq $24784, %rsp ## imm = 0x60D0
popq %rbp
retq
LBB2_12:
callq ___stack_chk_fail
ud2
.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 $64, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -28(%rbp)
movl %edi, -32(%rbp)
movq %rsi, -40(%rbp)
movq -40(%rbp), %rax
movq 8(%rax), %rdi
callq _atoi
## kill: def $ax killed $ax killed $eax
movzwl %ax, %edi
callq __OSSwapInt16
movzwl %ax, %eax
## kill: def $ax killed $ax killed $eax
movzwl %ax, %edi
callq _start_server
movl %eax, -44(%rbp)
movl $16, -48(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movl _stop_flag(%rip), %eax
cmpl $0, %eax
setne %al
xorb $-1, %al
testb $1, %al
jne LBB3_2
jmp LBB3_5
LBB3_2: ## in Loop: Header=BB3_1 Depth=1
movl -44(%rbp), %edi
leaq -24(%rbp), %rsi
leaq -48(%rbp), %rdx
callq _accept
movl %eax, -52(%rbp)
cmpl $-1, -52(%rbp)
jne LBB3_4
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_1
LBB3_4: ## in Loop: Header=BB3_1 Depth=1
movl -52(%rbp), %edi
movq -40(%rbp), %rax
movq 16(%rax), %rsi
callq _respond
movl -52(%rbp), %edi
movl $2, %esi
callq _shutdown
movl -52(%rbp), %edi
callq _close
jmp LBB3_1
LBB3_5:
movl -44(%rbp), %edi
callq _close
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB3_7
## %bb.6:
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
LBB3_7:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function _OSSwapInt16
__OSSwapInt16: ## @_OSSwapInt16
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movw %di, %ax
movw %ax, -2(%rbp)
movzwl -2(%rbp), %eax
shll $8, %eax
movzwl -2(%rbp), %ecx
sarl $8, %ecx
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movzwl %ax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _stop_flag ## @stop_flag
.zerofill __DATA,__common,_stop_flag,4,2
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "127.0.0.1"
L_.str.1: ## @.str.1
.asciz "HTTP/1.1"
L_.str.2: ## @.str.2
.asciz "/"
L_.str.3: ## @.str.3
.asciz "HTTP/1.1 404 Not Found\r\nContent-Length: 0\r\n\r\n"
L_.str.4: ## @.str.4
.asciz "HTTP/1.1 403 Forbidden\r\nContent-Length: 0\r\n\r\n"
L_.str.5: ## @.str.5
.asciz "HTTP/1.1 200 OK\r\n"
L_.str.6: ## @.str.6
.asciz "Content-Length: %ld\r\n\r\n"
.subsections_via_symbols
| the_stack_data/50988.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _d@GOTPAGE
ldr x8, [x8, _d@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
adrp x8, _k@GOTPAGE
ldr x8, [x8, _k@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, _f@GOTPAGE
ldr x8, [x8, _f@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur wzr, [x29, #-8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
adrp x9, _n@PAGE
ldr w9, [x9, _n@PAGEOFF]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x9, [sp, #24] ; 8-byte Folded Reload
adrp x8, _a@PAGE
ldr w8, [x8, _a@PAGEOFF]
mov w10, #10
sdiv w8, w8, w10
ldursw x10, [x29, #-8]
str w8, [x9, x10, lsl #2]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_4:
stur wzr, [x29, #-12]
b LBB0_5
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
ldur w8, [x29, #-12]
subs w8, w8, #25
cset w8, ge
tbnz w8, #0, LBB0_14
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #8] ; 8-byte Folded Reload
str wzr, [x8]
adrp x8, _n@PAGE
ldr w8, [x8, _n@PAGEOFF]
str w8, [x9]
b LBB0_7
LBB0_7: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #1
cset w8, lt
tbnz w8, #0, LBB0_10
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=2
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x10, [sp, #16] ; 8-byte Folded Reload
ldr x11, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x10]
subs w8, w8, #1
ldr w8, [x11, w8, sxtw #2]
adrp x12, _a@PAGE
ldr w12, [x12, _a@PAGEOFF]
mul w12, w8, w12
ldr w8, [x9]
add w8, w8, w12
str w8, [x9]
ldr w8, [x9]
ldr w13, [x10]
sdiv w12, w8, w13
mul w12, w12, w13
subs w8, w8, w12
ldr w12, [x10]
subs w12, w12, #1
str w8, [x11, w12, sxtw #2]
ldr w8, [x9]
ldr w10, [x10]
sdiv w8, w8, w10
lsr w8, w8, #0
str w8, [x9]
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=2
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr w8, [x9]
subs w8, w8, #1
str w8, [x9]
b LBB0_7
LBB0_10: ; in Loop: Header=BB0_5 Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_5 Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
adrp x8, _e@GOTPAGE
ldr x8, [x8, _e@GOTPAGEOFF]
ldr w8, [x8]
ldr w9, [x9]
adrp x10, _a@PAGE
ldr w10, [x10, _a@PAGEOFF]
sdiv w9, w9, w10
add w10, w8, w9
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr w8, [x8]
adrp x9, _a@PAGE
ldr w10, [x9, _a@PAGEOFF]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
adrp x9, _e@GOTPAGE
ldr x9, [x9, _e@GOTPAGEOFF]
str w8, [x9]
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_5 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_5
LBB0_14:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _a ; @a
.p2align 2
_a:
.long 10 ; 0xa
.globl _n ; @n
.p2align 2
_n:
.long 333 ; 0x14d
.comm _f,1332,2 ; @f
.comm _d,4,2 ; @d
.comm _k,4,2 ; @k
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%.1d"
.comm _e,4,2 ; @e
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $0, -8(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %eax
cmpl _n(%rip), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl _a(%rip), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %eax, %edx
movslq -8(%rbp), %rcx
movq _f@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_4:
movl $0, -12(%rbp)
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
cmpl $25, -12(%rbp)
jge LBB0_14
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq _d@GOTPCREL(%rip), %rax
movl $0, (%rax)
movl _n(%rip), %ecx
movq _k@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB0_7: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movq _k@GOTPCREL(%rip), %rax
cmpl $1, (%rax)
jl LBB0_10
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
movq _k@GOTPCREL(%rip), %rax
movl (%rax), %eax
subl $1, %eax
movslq %eax, %rcx
movq _f@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %ecx
imull _a(%rip), %ecx
movq _d@GOTPCREL(%rip), %rax
addl (%rax), %ecx
movq _d@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _d@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _k@GOTPCREL(%rip), %rcx
cltd
idivl (%rcx)
movq _k@GOTPCREL(%rip), %rax
movl (%rax), %eax
subl $1, %eax
movslq %eax, %rcx
movq _f@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,4)
movq _d@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _k@GOTPCREL(%rip), %rcx
cltd
idivl (%rcx)
movl %eax, %ecx
shll $0, %ecx
movq _d@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
## %bb.9: ## in Loop: Header=BB0_7 Depth=2
movq _k@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $-1, %ecx
movq _k@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB0_7
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
cmpl $0, -12(%rbp)
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_5 Depth=1
movq _e@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _d@GOTPCREL(%rip), %rax
movl (%rax), %eax
cltd
idivl _a(%rip)
addl %eax, %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB0_12: ## in Loop: Header=BB0_5 Depth=1
movq _d@GOTPCREL(%rip), %rax
movl (%rax), %eax
cltd
idivl _a(%rip)
movq _e@GOTPCREL(%rip), %rax
movl %edx, (%rax)
## %bb.13: ## in Loop: Header=BB0_5 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_5
LBB0_14:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _a ## @a
.p2align 2
_a:
.long 10 ## 0xa
.globl _n ## @n
.p2align 2
_n:
.long 333 ## 0x14d
.comm _f,1332,4 ## @f
.comm _d,4,2 ## @d
.comm _k,4,2 ## @k
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%.1d"
.comm _e,4,2 ## @e
.subsections_via_symbols
| the_stack_data/248581671.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f ; -- Begin function f
.p2align 2
_f: ; @f
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
mov w0, #1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _f1 ; -- Begin function f1
.p2align 2
_f1: ; @f1
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _g ; -- Begin function g
.p2align 2
_g: ; @g
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
b LBB2_1
LBB2_1:
mov w0, #1
str w0, [sp, #4]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _h ; -- Begin function h
.p2align 2
_h: ; @h
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
b LBB3_1
.cfi_endproc
; -- End function
.globl _h2 ; -- Begin function h2
.p2align 2
_h2: ; @h2
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
b LBB4_1
.cfi_endproc
; -- End function
.globl _i ; -- Begin function i
.p2align 2
_i: ; @i
.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
adrp x8, _stru@GOTPAGE
ldr x8, [x8, _stru@GOTPAGEOFF]
ldr w8, [x8]
stur w8, [x29, #-4]
ldurh w8, [x29, #-4]
and w8, w8, #0xffffffc7
orr w8, w8, #0x38
sturh w8, [x29, #-4]
ldurh w8, [x29, #-4]
lsr w8, w8, #3
and w8, w8, #0x7
ands w8, w8, #0xffff
cset w8, ge
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB5_2
LBB5_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _m ; -- Begin function m
.p2align 2
_m: ; @m
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
mov w8, #0
tbz w8, #0, LBB6_3
b LBB6_1
LBB6_1:
b LBB6_2
LBB6_2:
b LBB6_3
LBB6_3:
mov w8, #0
tbz w8, #0, LBB6_9
b LBB6_4
LBB6_4:
b LBB6_5
LBB6_5:
b LBB6_6
LBB6_6:
b LBB6_7
LBB6_7:
b LBB6_8
LBB6_8: ; =>This Inner Loop Header: Depth=1
b LBB6_8
LBB6_9:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _j ; -- Begin function j
.p2align 2
_j: ; @j
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _k ; -- Begin function k
.p2align 2
_k: ; @k
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
b LBB8_1
LBB8_1: ; =>This Inner Loop Header: Depth=1
b LBB8_1
.cfi_endproc
; -- End function
.globl _krf ; -- Begin function krf
.p2align 2
_krf: ; @krf
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w9, [x29, #-4]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _krg ; -- Begin function krg
.p2align 2
_krg: ; @krg
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w9, [x29, #-4]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _krh ; -- Begin function krh
.p2align 2
_krh: ; @krh
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w9, [x29, #-4]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _kri ; -- Begin function kri
.p2align 2
_kri: ; @kri
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
stur d0, [x29, #-16]
ldur w8, [x29, #-4]
; implicit-def: $x9
mov x9, x8
ldur d1, [x29, #-16]
ldur d2, [x29, #-16]
fmov d0, #2.00000000
fmul d0, d0, d2
mov x8, sp
str x9, [x8]
str d1, [x8, #8]
str d0, [x8, #16]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _krj ; -- Begin function krj
.p2align 2
_krj: ; @krj
.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
stur x0, [x29, #-8]
str x1, [sp, #16]
ldur x8, [x29, #-8]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr x8, [sp, #16]
mov w0, #3
blr x8
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _aa ; -- Begin function aa
.p2align 2
_aa: ; @aa
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w9, [x29, #-4]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _krk ; -- Begin function krk
.p2align 2
_krk: ; @krk
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
stur w1, [x29, #-8]
stur w2, [x29, #-12]
ldur w8, [x29, #-4]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-8]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
adrp x0, _aa@PAGE
add x0, x0, _aa@PAGEOFF
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _testparen ; -- Begin function testparen
.p2align 2
_testparen: ; @testparen
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _testparen2 ; -- Begin function testparen2
.p2align 2
_testparen2: ; @testparen2
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _testparen3 ; -- Begin function testparen3
.p2align 2
_testparen3: ; @testparen3
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _testparen10 ; -- Begin function testparen10
.p2align 2
_testparen10: ; @testparen10
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w0, [sp, #12]
add sp, sp, #16
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
mov w8, #0
stur w8, [x29, #-12] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x0, _g@PAGE
add x0, x0, _g@PAGEOFF
bl _f
bl _i
bl _m
mov w0, #2
bl _krf
mov w0, #3
bl _krg
mov w0, #4
str w0, [sp, #16] ; 4-byte Folded Spill
bl _krh
mov w0, #5
fmov d0, #4.50000000
bl _kri
sub x0, x29, #8
mov w8, #23
stur w8, [x29, #-8]
adrp x1, _aa@PAGE
add x1, x1, _aa@PAGEOFF
bl _krj
mov w0, #12
str w0, [sp, #4] ; 4-byte Folded Spill
mov w1, #13
str w1, [sp, #8] ; 4-byte Folded Spill
mov w2, #14
str w2, [sp, #12] ; 4-byte Folded Spill
bl _krk
mov x8, x0
ldr w0, [sp, #16] ; 4-byte Folded Reload
blr x8
ldr w0, [sp, #4] ; 4-byte Folded Reload
ldr w1, [sp, #8] ; 4-byte Folded Reload
ldr w2, [sp, #12] ; 4-byte Folded Reload
bl _krk
mov x8, x0
ldr w0, [sp, #16] ; 4-byte Folded Reload
blr x8
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldur w0, [x29, #-12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.comm _stru,4,2 ; @stru
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ERROR i\n"
l_.str.1: ; @.str.1
.asciz "%d\n"
l_.str.2: ; @.str.2
.asciz "%d %f %f\n"
l_.str.3: ; @.str.3
.asciz "%d %d %d\n"
l_.str.4: ; @.str.4
.asciz "aaabbb\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f ## -- Begin function f
.p2align 4, 0x90
_f: ## @f
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f1 ## -- Begin function f1
.p2align 4, 0x90
_f1: ## @f1
.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, -4(%rbp)
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _g ## -- Begin function g
.p2align 4, 0x90
_g: ## @g
.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, -4(%rbp)
## %bb.1:
movl $1, -12(%rbp)
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _h ## -- Begin function h
.p2align 4, 0x90
_h: ## @h
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
LBB3_1: ## =>This Inner Loop Header: Depth=1
jmp LBB3_1
.cfi_endproc
## -- End function
.globl _h2 ## -- Begin function h2
.p2align 4, 0x90
_h2: ## @h2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
LBB4_1: ## =>This Inner Loop Header: Depth=1
jmp LBB4_1
.cfi_endproc
## -- End function
.globl _i ## -- Begin function i
.p2align 4, 0x90
_i: ## @i
.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 _stru@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -8(%rbp)
movw -8(%rbp), %ax
andw $-57, %ax
orw $56, %ax
movw %ax, -8(%rbp)
movw -8(%rbp), %ax
shrw $3, %ax
andw $7, %ax
movzwl %ax, %eax
cmpl $0, %eax
jge LBB5_2
## %bb.1:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB5_2:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _m ## -- Begin function m
.p2align 4, 0x90
_m: ## @m
.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
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB6_1
jmp LBB6_3
LBB6_1:
jmp LBB6_2
LBB6_2:
jmp LBB6_3
LBB6_3:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB6_4
jmp LBB6_9
LBB6_4:
jmp LBB6_5
LBB6_5:
jmp LBB6_6
LBB6_6:
jmp LBB6_7
LBB6_7:
jmp LBB6_8
LBB6_8: ## =>This Inner Loop Header: Depth=1
jmp LBB6_8
LBB6_9:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _j ## -- Begin function j
.p2align 4, 0x90
_j: ## @j
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _k ## -- Begin function k
.p2align 4, 0x90
_k: ## @k
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
LBB8_1: ## =>This Inner Loop Header: Depth=1
jmp LBB8_1
.cfi_endproc
## -- End function
.globl _krf ## -- Begin function krf
.p2align 4, 0x90
_krf: ## @krf
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl -4(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _krg ## -- Begin function krg
.p2align 4, 0x90
_krg: ## @krg
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl -4(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _krh ## -- Begin function krh
.p2align 4, 0x90
_krh: ## @krh
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl -4(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function kri
LCPI12_0:
.quad 0x4000000000000000 ## double 2
.section __TEXT,__text,regular,pure_instructions
.globl _kri
.p2align 4, 0x90
_kri: ## @kri
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movsd %xmm0, -16(%rbp)
movl -4(%rbp), %esi
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI12_0(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd -16(%rbp), %xmm1
leaq L_.str.2(%rip), %rdi
movb $2, %al
callq _printf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _krj ## -- Begin function krj
.p2align 4, 0x90
_krj: ## @krj
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $3, %edi
callq *-16(%rbp)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _aa ## -- Begin function aa
.p2align 4, 0x90
_aa: ## @aa
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl -4(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _krk ## -- Begin function krk
.p2align 4, 0x90
_krk: ## @krk
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl %edx, -12(%rbp)
movl -4(%rbp), %esi
movl -8(%rbp), %edx
movl -12(%rbp), %ecx
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq _aa(%rip), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _testparen ## -- Begin function testparen
.p2align 4, 0x90
_testparen: ## @testparen
.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, -4(%rbp)
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _testparen2 ## -- Begin function testparen2
.p2align 4, 0x90
_testparen2: ## @testparen2
.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, -4(%rbp)
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _testparen3 ## -- Begin function testparen3
.p2align 4, 0x90
_testparen3: ## @testparen3
.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, -4(%rbp)
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _testparen10 ## -- Begin function testparen10
.p2align 4, 0x90
_testparen10: ## @testparen10
.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, -4(%rbp)
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI20_0:
.quad 0x4012000000000000 ## double 4.5
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq _g(%rip), %rdi
callq _f
callq _i
callq _m
movl $2, %edi
callq _krf
movl $3, %edi
callq _krg
movl $4, %edi
callq _krh
movl $5, %edi
movsd LCPI20_0(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _kri
movl $23, -8(%rbp)
leaq -8(%rbp), %rdi
leaq _aa(%rip), %rsi
callq _krj
movl $12, %edi
movl $13, %esi
movl $14, %edx
callq _krk
movl $4, %edi
callq *%rax
movl $12, %edi
movl $13, %esi
movl $14, %edx
callq _krk
movl $4, %edi
callq *%rax
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _stru,4,2 ## @stru
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ERROR i\n"
L_.str.1: ## @.str.1
.asciz "%d\n"
L_.str.2: ## @.str.2
.asciz "%d %f %f\n"
L_.str.3: ## @.str.3
.asciz "%d %d %d\n"
L_.str.4: ## @.str.4
.asciz "aaabbb\n"
.subsections_via_symbols
| the_stack_data/150142568.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
add x9, x8, #1
str x9, [sp, #24]
strb wzr, [x8]
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp]
ldr x8, [sp]
ldrb w8, [x8]
strb w8, [sp, #23]
ldr x8, [sp, #24]
add x9, x8, #1
str x9, [sp, #24]
strb wzr, [x8]
b LBB0_1
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ## -- Begin function foo
.p2align 4, 0x90
_foo: ## @foo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -56(%rbp) ## 8-byte Spill
movq %rcx, -8(%rbp)
movb $0, (%rax)
movq -8(%rbp), %rax
addq $1, %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
movb (%rax), %al
movb %al, -9(%rbp)
movq -8(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -40(%rbp) ## 8-byte Spill
movq %rcx, -8(%rbp)
movb $0, (%rax)
jmp LBB0_1
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/86075006.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
; Start of file scope inline assembly
.section .note.netbsd.ide,"a"
.p2align 2
.long 7
.long 4
.long 1
.asciz "NetBSD\000"
.long 599002400
.section __TEXT,__text,regular,pure_instructions
.p2align 2
; .align 8; .global sys_write; sys_write:; mov $ 4, %eax; mov %rcx, %r10; syscall; retq ; .align 8; .global sys_read; sys_read:; mov $ 3, %eax; mov %rcx, %r10; syscall; retq
; End of file scope inline assembly
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
## Start of file scope inline assembly
.section .note.netbsd.ide,"a"
.p2align 2
.long 7
.long 4
.long 1
.asciz "NetBSD\000"
.long 599002400
.section __TEXT,__text,regular,pure_instructions
.p2align 2, 0x90
.p2align 8, 0x90
.globl sys_write
sys_write:
movl $4, %eax
movq %rcx, %r10
syscall
retq
.p2align 8, 0x90
.globl sys_read
sys_read:
movl $3, %eax
movq %rcx, %r10
syscall
retq
## End of file scope inline assembly
.subsections_via_symbols
| the_stack_data/241256.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f1 ; -- Begin function f1
.p2align 2
_f1: ; @f1
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
mov w8, #0
tbz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
ldr x9, [sp, #8]
mov w8, #1
str w8, [x9]
b LBB0_3
LBB0_3:
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldr x9, [sp, #8]
mov w8, #1
str w8, [x9]
b LBB0_5
LBB0_5:
ldr x9, [sp, #8]
mov w8, #2
str w8, [x9]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f1 ## -- Begin function f1
.p2align 4, 0x90
_f1: ## @f1
.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, -8(%rbp)
cmpq $0, -8(%rbp)
jne LBB0_3
## %bb.1:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB0_2
jmp LBB0_3
LBB0_2:
movq -8(%rbp), %rax
movl $1, (%rax)
LBB0_3:
movq -8(%rbp), %rax
cmpq $0, %rax
je LBB0_5
## %bb.4:
movq -8(%rbp), %rax
movl $1, (%rax)
LBB0_5:
movq -8(%rbp), %rax
movl $2, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/108071.c |
.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/184517083.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
bl _fork
str w0, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #10
bl _sleep
b LBB0_3
LBB0_2:
bl _getpid
; implicit-def: $x8
mov x8, x0
sxtw x8, w8
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_3
LBB0_3:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Parent Process"
l_.str.1: ; @.str.1
.asciz "Child Process: %ld"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
callq _fork
movl %eax, -8(%rbp)
cmpl $0, -8(%rbp)
jle LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $10, %edi
callq _sleep
jmp LBB0_3
LBB0_2:
callq _getpid
movslq %eax, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
LBB0_3:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Parent Process"
L_.str.1: ## @.str.1
.asciz "Child Process: %ld"
.subsections_via_symbols
| the_stack_data/173576755.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_recursive_power ; -- Begin function ft_recursive_power
.p2align 2
_ft_recursive_power: ; @ft_recursive_power
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str w0, [sp, #8]
str w1, [sp, #4]
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov w8, #1
stur w8, [x29, #-4]
b LBB0_5
LBB0_2:
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
stur wzr, [x29, #-4]
b LBB0_5
LBB0_4:
ldr w8, [sp, #8]
str w8, [sp] ; 4-byte Folded Spill
ldr w0, [sp, #8]
ldr w8, [sp, #4]
subs w1, w8, #1
bl _ft_recursive_power
ldr w8, [sp] ; 4-byte Folded Reload
mul w8, w8, w0
stur w8, [x29, #-4]
b LBB0_5
LBB0_5:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_recursive_power ## -- Begin function ft_recursive_power
.p2align 4, 0x90
_ft_recursive_power: ## @ft_recursive_power
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -8(%rbp)
movl %esi, -12(%rbp)
cmpl $0, -12(%rbp)
jne LBB0_2
## %bb.1:
movl $1, -4(%rbp)
jmp LBB0_5
LBB0_2:
cmpl $0, -12(%rbp)
jge LBB0_4
## %bb.3:
movl $0, -4(%rbp)
jmp LBB0_5
LBB0_4:
movl -8(%rbp), %eax
movl %eax, -16(%rbp) ## 4-byte Spill
movl -8(%rbp), %edi
movl -12(%rbp), %esi
subl $1, %esi
callq _ft_recursive_power
movl %eax, %ecx
movl -16(%rbp), %eax ## 4-byte Reload
imull %ecx, %eax
movl %eax, -4(%rbp)
LBB0_5:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/15764036.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _lex ; -- Begin function lex
.p2align 2
_lex: ; @lex
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
str x1, [sp, #24]
str wzr, [sp, #20]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-16]
ldr x9, [sp, #24]
ldrsw x9, [x9]
add x8, x8, x9
ldrb w8, [x8]
strb w8, [sp, #19]
ldr w8, [sp, #20]
subs w8, w8, #0
; kill: def $x8 killed $w8
str x8, [sp, #8] ; 8-byte Folded Spill
subs x8, x8, #3
cset w8, hi
tbnz w8, #0, LBB0_45
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
ldr x11, [sp, #8] ; 8-byte Folded Reload
adrp x10, lJTI0_0@PAGE
add x10, x10, lJTI0_0@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldrsb w0, [sp, #19]
bl _isdigit
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr x10, [sp, #24]
ldr w9, [x10]
mov w8, #1
add w9, w9, #1
str w9, [x10]
str w8, [sp, #20]
b LBB0_29
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldrsb w8, [sp, #19]
str w8, [sp, #4] ; 4-byte Folded Spill
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_26
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
subs w8, w8, #32
cset w8, eq
tbnz w8, #0, LBB0_16
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
subs w8, w8, #40
cset w8, eq
tbnz w8, #0, LBB0_23
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
subs w8, w8, #41
cset w8, eq
tbnz w8, #0, LBB0_24
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
subs w8, w8, #46
cset w8, eq
tbnz w8, #0, LBB0_17
b LBB0_10
LBB0_10:
ldr w8, [sp, #4] ; 4-byte Folded Reload
subs w8, w8, #60
cset w8, eq
tbnz w8, #0, LBB0_18
b LBB0_11
LBB0_11:
ldr w8, [sp, #4] ; 4-byte Folded Reload
subs w8, w8, #62
cset w8, eq
tbnz w8, #0, LBB0_19
b LBB0_12
LBB0_12:
ldr w8, [sp, #4] ; 4-byte Folded Reload
subs w8, w8, #94
cset w8, eq
tbnz w8, #0, LBB0_20
b LBB0_13
LBB0_13:
ldr w8, [sp, #4] ; 4-byte Folded Reload
subs w8, w8, #99
cset w8, eq
tbnz w8, #0, LBB0_25
b LBB0_14
LBB0_14:
ldr w8, [sp, #4] ; 4-byte Folded Reload
subs w8, w8, #118
cset w8, eq
tbnz w8, #0, LBB0_21
b LBB0_15
LBB0_15:
ldr w8, [sp, #4] ; 4-byte Folded Reload
subs w8, w8, #126
cset w8, eq
tbnz w8, #0, LBB0_22
b LBB0_27
LBB0_16: ; in Loop: Header=BB0_1 Depth=1
ldr x9, [sp, #24]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB0_28
LBB0_17: ; in Loop: Header=BB0_1 Depth=1
ldr x9, [sp, #24]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
mov w8, #2
str w8, [sp, #20]
b LBB0_28
LBB0_18:
ldr x9, [sp, #24]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
mov w8, #256
stur w8, [x29, #-4]
b LBB0_47
LBB0_19:
ldr x9, [sp, #24]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
mov w8, #512
stur w8, [x29, #-4]
b LBB0_47
LBB0_20:
ldr x9, [sp, #24]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
mov w8, #768
stur w8, [x29, #-4]
b LBB0_47
LBB0_21:
ldr x9, [sp, #24]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
mov w8, #1024
stur w8, [x29, #-4]
b LBB0_47
LBB0_22:
ldr x9, [sp, #24]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
mov w8, #1280
stur w8, [x29, #-4]
b LBB0_47
LBB0_23:
ldr x9, [sp, #24]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
mov w8, #1536
stur w8, [x29, #-4]
b LBB0_47
LBB0_24:
ldr x9, [sp, #24]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
mov w8, #1792
stur w8, [x29, #-4]
b LBB0_47
LBB0_25:
ldr x9, [sp, #24]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
mov w8, #2048
stur w8, [x29, #-4]
b LBB0_47
LBB0_26:
mov w8, #2304
stur w8, [x29, #-4]
b LBB0_47
LBB0_27:
ldr x9, [sp, #24]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
stur wzr, [x29, #-4]
b LBB0_47
LBB0_28: ; in Loop: Header=BB0_1 Depth=1
b LBB0_29
LBB0_29: ; in Loop: Header=BB0_1 Depth=1
b LBB0_46
LBB0_30: ; in Loop: Header=BB0_1 Depth=1
ldrsb w0, [sp, #19]
bl _isdigit
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_32
b LBB0_31
LBB0_31: ; in Loop: Header=BB0_1 Depth=1
ldr x9, [sp, #24]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB0_36
LBB0_32: ; in Loop: Header=BB0_1 Depth=1
ldrsb w8, [sp, #19]
subs w8, w8, #46
cset w8, ne
tbnz w8, #0, LBB0_34
b LBB0_33
LBB0_33: ; in Loop: Header=BB0_1 Depth=1
mov w8, #3
str w8, [sp, #20]
ldr x9, [sp, #24]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB0_35
LBB0_34:
mov w8, #2048
stur w8, [x29, #-4]
b LBB0_47
LBB0_35: ; in Loop: Header=BB0_1 Depth=1
b LBB0_36
LBB0_36: ; in Loop: Header=BB0_1 Depth=1
b LBB0_46
LBB0_37: ; in Loop: Header=BB0_1 Depth=1
ldrsb w0, [sp, #19]
bl _isdigit
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_39
b LBB0_38
LBB0_38: ; in Loop: Header=BB0_1 Depth=1
ldr x9, [sp, #24]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
mov w8, #3
str w8, [sp, #20]
b LBB0_40
LBB0_39:
ldr x9, [sp, #24]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
stur wzr, [x29, #-4]
b LBB0_47
LBB0_40: ; in Loop: Header=BB0_1 Depth=1
b LBB0_46
LBB0_41: ; in Loop: Header=BB0_1 Depth=1
ldrsb w0, [sp, #19]
bl _isdigit
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_43
b LBB0_42
LBB0_42: ; in Loop: Header=BB0_1 Depth=1
ldr x9, [sp, #24]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB0_44
LBB0_43:
mov w8, #2048
stur w8, [x29, #-4]
b LBB0_47
LBB0_44: ; in Loop: Header=BB0_1 Depth=1
b LBB0_46
LBB0_45:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB0_46: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_47:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
.p2align 2
lJTI0_0:
.long LBB0_3-Ltmp0
.long LBB0_30-Ltmp0
.long LBB0_37-Ltmp0
.long LBB0_41-Ltmp0
; -- End function
.globl _erro ; -- Begin function erro
.p2align 2
_erro: ; @erro
.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
stur x0, [x29, #-8]
str x1, [sp, #16]
str w2, [sp, #12]
ldur x8, [x29, #-8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr x8, [sp, #16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
str wzr, [sp, #8]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
ldr w9, [sp, #12]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
mov w0, #32
bl _putchar
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB1_1
LBB1_4:
mov w0, #94
bl _putchar
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w0, #1
bl _exit
.cfi_endproc
; -- End function
.globl _inicializa ; -- Begin function inicializa
.p2align 2
_inicializa: ; @inicializa
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x9, [sp, #8]
mov w8, #-1
str w8, [x9]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _insere ; -- Begin function insere
.p2align 2
_insere: ; @insere
.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
stur x0, [x29, #-8]
stur w1, [x29, #-12]
ldur x8, [x29, #-8]
ldr w8, [x8]
subs w8, w8, #100
cset w8, ge
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
ldur x9, [x29, #-8]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
add x9, x9, #4
ldur x10, [x29, #-8]
ldrsw x10, [x10]
str w8, [x9, x10, lsl #2]
b LBB3_3
LBB3_2:
ldur x8, [x29, #-8]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB3_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _remover ; -- Begin function remover
.p2align 2
_remover: ; @remover
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr w8, [x8]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
ldr x8, [sp, #8]
add x8, x8, #4
ldr x9, [sp, #8]
ldrsw x9, [x9]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #4]
ldr x9, [sp, #8]
ldr w8, [x9]
subs w8, w8, #1
str w8, [x9]
ldr w0, [sp, #4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
LBB4_2:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov w0, #1
bl _exit
.cfi_endproc
; -- End function
.globl _consulta ; -- Begin function consulta
.p2align 2
_consulta: ; @consulta
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr w8, [x8]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
ldr x8, [sp, #8]
add x8, x8, #4
ldr x9, [sp, #8]
ldrsw x9, [x9]
ldr w0, [x8, x9, lsl #2]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
LBB5_2:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov w0, #1
bl _exit
.cfi_endproc
; -- End function
.globl _parser ; -- Begin function parser
.p2align 2
_parser: ; @parser
.cfi_startproc
; %bb.0:
stp x28, x27, [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 w27, -24
.cfi_offset w28, -32
sub sp, sp, #480
sub x8, x29, #24
str x8, [sp, #16] ; 8-byte Folded Spill
str x0, [x8]
add x8, sp, #36
str x8, [sp, #24] ; 8-byte Folded Spill
str wzr, [sp, #36]
add x0, sp, #68
str x0, [sp, #8] ; 8-byte Folded Spill
bl _inicializa
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov w1, #2304
bl _insere
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov w1, #32769
bl _insere
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x1, [sp, #24] ; 8-byte Folded Reload
ldr x0, [x8]
bl _lex
str w0, [sp, #60]
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB6_2
b LBB6_1
LBB6_1:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x1, [x8]
ldr w2, [sp, #36]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _erro
b LBB6_2
LBB6_2:
b LBB6_3
LBB6_3: ; =>This Loop Header: Depth=1
; Child Loop BB6_13 Depth 2
add x0, sp, #68
bl _consulta
str w0, [sp, #64]
ldr w8, [sp, #64]
ands w8, w8, #0x8000
cset w8, ne
tbnz w8, #0, LBB6_10
b LBB6_4
LBB6_4: ; in Loop: Header=BB6_3 Depth=1
ldr w8, [sp, #64]
ldr w9, [sp, #60]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB6_8
b LBB6_5
LBB6_5: ; in Loop: Header=BB6_3 Depth=1
add x0, sp, #68
bl _remover
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
add x1, sp, #36
bl _lex
str w0, [sp, #60]
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB6_7
b LBB6_6
LBB6_6: ; in Loop: Header=BB6_3 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x1, [x8]
ldr w2, [sp, #36]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _erro
b LBB6_7
LBB6_7: ; in Loop: Header=BB6_3 Depth=1
b LBB6_9
LBB6_8: ; in Loop: Header=BB6_3 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x1, [x8]
ldr w2, [sp, #36]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _erro
b LBB6_9
LBB6_9: ; in Loop: Header=BB6_3 Depth=1
b LBB6_10
LBB6_10: ; in Loop: Header=BB6_3 Depth=1
ldr w8, [sp, #64]
ands w8, w8, #0x8000
cset w8, eq
tbnz w8, #0, LBB6_19
b LBB6_11
LBB6_11: ; in Loop: Header=BB6_3 Depth=1
ldr w8, [sp, #64]
and w8, w8, #0x7fff
subs w8, w8, #1
adrp x10, _STAB@PAGE
add x10, x10, _STAB@PAGEOFF
mov w9, #40
smaddl x8, w8, w9, x10
ldr w9, [sp, #60]
asr w9, w9, #8
subs w9, w9, #1
ldr w8, [x8, w9, sxtw #2]
str w8, [sp, #56]
ldr w8, [sp, #56]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_17
b LBB6_12
LBB6_12: ; in Loop: Header=BB6_3 Depth=1
add x0, sp, #68
bl _remover
ldrsw x9, [sp, #56]
adrp x8, _PROD@PAGE
add x8, x8, _PROD@PAGEOFF
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #40]
ldr x8, [sp, #40]
ldr w8, [x8]
str w8, [sp, #52]
b LBB6_13
LBB6_13: ; Parent Loop BB6_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #52]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB6_16
b LBB6_14
LBB6_14: ; in Loop: Header=BB6_13 Depth=2
ldr x8, [sp, #40]
ldrsw x9, [sp, #52]
ldr w1, [x8, x9, lsl #2]
add x0, sp, #68
bl _insere
b LBB6_15
LBB6_15: ; in Loop: Header=BB6_13 Depth=2
ldr w8, [sp, #52]
subs w8, w8, #1
str w8, [sp, #52]
b LBB6_13
LBB6_16: ; in Loop: Header=BB6_3 Depth=1
b LBB6_18
LBB6_17: ; in Loop: Header=BB6_3 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x1, [x8]
ldr w2, [sp, #36]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _erro
b LBB6_18
LBB6_18: ; in Loop: Header=BB6_3 Depth=1
b LBB6_19
LBB6_19: ; in Loop: Header=BB6_3 Depth=1
b LBB6_20
LBB6_20: ; in Loop: Header=BB6_3 Depth=1
ldr w8, [sp, #64]
subs w8, w8, #2304
cset w8, ne
tbnz w8, #0, LBB6_3
b LBB6_21
LBB6_21:
add sp, sp, #480
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 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, #144
.cfi_def_cfa_offset 144
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
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
add x0, sp, #20
str x0, [sp, #8] ; 8-byte Folded Spill
bl _gets
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _parser
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB7_2
b LBB7_1
LBB7_1:
bl ___stack_chk_fail
LBB7_2:
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.globl _PROD1 ; @PROD1
.p2align 2
_PROD1:
.long 2 ; 0x2
.long 32771 ; 0x8003
.long 32770 ; 0x8002
.globl _PROD2 ; @PROD2
.p2align 2
_PROD2:
.long 3 ; 0x3
.long 256 ; 0x100
.long 32771 ; 0x8003
.long 32770 ; 0x8002
.globl _PROD3 ; @PROD3
.p2align 2
_PROD3:
.space 4
.globl _PROD4 ; @PROD4
.p2align 2
_PROD4:
.long 2 ; 0x2
.long 32773 ; 0x8005
.long 32772 ; 0x8004
.globl _PROD5 ; @PROD5
.p2align 2
_PROD5:
.long 3 ; 0x3
.long 512 ; 0x200
.long 32773 ; 0x8005
.long 32772 ; 0x8004
.globl _PROD6 ; @PROD6
.p2align 2
_PROD6:
.space 4
.globl _PROD7 ; @PROD7
.p2align 2
_PROD7:
.long 2 ; 0x2
.long 32775 ; 0x8007
.long 32774 ; 0x8006
.globl _PROD8 ; @PROD8
.p2align 2
_PROD8:
.long 3 ; 0x3
.long 768 ; 0x300
.long 32775 ; 0x8007
.long 32774 ; 0x8006
.globl _PROD9 ; @PROD9
.p2align 2
_PROD9:
.long 3 ; 0x3
.long 1024 ; 0x400
.long 32775 ; 0x8007
.long 32774 ; 0x8006
.globl _PROD10 ; @PROD10
.p2align 2
_PROD10:
.space 4
.globl _PROD11 ; @PROD11
.p2align 2
_PROD11:
.long 2 ; 0x2
.long 1280 ; 0x500
.long 32775 ; 0x8007
.globl _PROD12 ; @PROD12
.p2align 2
_PROD12:
.long 3 ; 0x3
.long 1536 ; 0x600
.long 32769 ; 0x8001
.long 1792 ; 0x700
.globl _PROD13 ; @PROD13
.p2align 2
_PROD13:
.long 1 ; 0x1
.long 2048 ; 0x800
.section __DATA,__data
.globl _PROD ; @PROD
.p2align 3
_PROD:
.quad 0
.quad _PROD1
.quad _PROD2
.quad _PROD3
.quad _PROD4
.quad _PROD5
.quad _PROD6
.quad _PROD7
.quad _PROD8
.quad _PROD9
.quad _PROD10
.quad _PROD11
.quad _PROD12
.quad _PROD13
.section __TEXT,__const
.globl _STAB ; @STAB
.p2align 2
_STAB:
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 1 ; 0x1
.long 1 ; 0x1
.long 0 ; 0x0
.long 1 ; 0x1
.long 0 ; 0x0
.long 0 ; 0x0
.long 2 ; 0x2
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 3 ; 0x3
.long 0 ; 0x0
.long 3 ; 0x3
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 4 ; 0x4
.long 4 ; 0x4
.long 0 ; 0x0
.long 4 ; 0x4
.long 0 ; 0x0
.long 0 ; 0x0
.long 6 ; 0x6
.long 5 ; 0x5
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 6 ; 0x6
.long 0 ; 0x0
.long 6 ; 0x6
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 7 ; 0x7
.long 7 ; 0x7
.long 0 ; 0x0
.long 7 ; 0x7
.long 0 ; 0x0
.long 0 ; 0x0
.long 10 ; 0xa
.long 10 ; 0xa
.long 8 ; 0x8
.long 9 ; 0x9
.long 0 ; 0x0
.long 0 ; 0x0
.long 10 ; 0xa
.long 0 ; 0x0
.long 10 ; 0xa
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 11 ; 0xb
.long 12 ; 0xc
.long 0 ; 0x0
.long 13 ; 0xd
.long 0 ; 0x0
.long 0 ; 0x0
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Lex:Estado indefinido"
l_.str.1: ; @.str.1
.asciz "%s"
l_.str.2: ; @.str.2
.asciz "\n%s\n"
l_.str.3: ; @.str.3
.asciz "\n"
l_.str.4: ; @.str.4
.asciz "estouro de pilha %d\n"
l_.str.5: ; @.str.5
.asciz "Pilha vazia"
l_.str.6: ; @.str.6
.asciz "Erro lexico"
l_.str.7: ; @.str.7
.asciz "Erro sintatico"
l_.str.8: ; @.str.8
.asciz "\nDigite uma expressao: "
l_.str.9: ; @.str.9
.asciz "Expressao sintaticamente correta"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _lex ## -- Begin function lex
.p2align 4, 0x90
_lex: ## @lex
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl $0, -28(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movq -24(%rbp), %rcx
movslq (%rcx), %rcx
movb (%rax,%rcx), %al
movb %al, -29(%rbp)
movl -28(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -40(%rbp) ## 8-byte Spill
subq $3, %rax
ja LBB0_34
## %bb.37: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax ## 8-byte Reload
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_2: ## in Loop: Header=BB0_1 Depth=1
movsbl -29(%rbp), %edi
callq _isdigit
cmpl $0, %eax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -24(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
movl $1, -28(%rbp)
jmp LBB0_18
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movsbl -29(%rbp), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
testl %eax, %eax
je LBB0_15
jmp LBB0_38
LBB0_38: ## in Loop: Header=BB0_1 Depth=1
movl -44(%rbp), %eax ## 4-byte Reload
subl $32, %eax
je LBB0_5
jmp LBB0_39
LBB0_39: ## in Loop: Header=BB0_1 Depth=1
movl -44(%rbp), %eax ## 4-byte Reload
subl $40, %eax
je LBB0_12
jmp LBB0_40
LBB0_40: ## in Loop: Header=BB0_1 Depth=1
movl -44(%rbp), %eax ## 4-byte Reload
subl $41, %eax
je LBB0_13
jmp LBB0_41
LBB0_41: ## in Loop: Header=BB0_1 Depth=1
movl -44(%rbp), %eax ## 4-byte Reload
subl $46, %eax
je LBB0_6
jmp LBB0_42
LBB0_42:
movl -44(%rbp), %eax ## 4-byte Reload
subl $60, %eax
je LBB0_7
jmp LBB0_43
LBB0_43:
movl -44(%rbp), %eax ## 4-byte Reload
subl $62, %eax
je LBB0_8
jmp LBB0_44
LBB0_44:
movl -44(%rbp), %eax ## 4-byte Reload
subl $94, %eax
je LBB0_9
jmp LBB0_45
LBB0_45:
movl -44(%rbp), %eax ## 4-byte Reload
subl $99, %eax
je LBB0_14
jmp LBB0_46
LBB0_46:
movl -44(%rbp), %eax ## 4-byte Reload
subl $118, %eax
je LBB0_10
jmp LBB0_47
LBB0_47:
movl -44(%rbp), %eax ## 4-byte Reload
subl $126, %eax
je LBB0_11
jmp LBB0_16
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movq -24(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
jmp LBB0_17
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq -24(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
movl $2, -28(%rbp)
jmp LBB0_17
LBB0_7:
movq -24(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
movl $256, -4(%rbp) ## imm = 0x100
jmp LBB0_36
LBB0_8:
movq -24(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
movl $512, -4(%rbp) ## imm = 0x200
jmp LBB0_36
LBB0_9:
movq -24(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
movl $768, -4(%rbp) ## imm = 0x300
jmp LBB0_36
LBB0_10:
movq -24(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
movl $1024, -4(%rbp) ## imm = 0x400
jmp LBB0_36
LBB0_11:
movq -24(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
movl $1280, -4(%rbp) ## imm = 0x500
jmp LBB0_36
LBB0_12:
movq -24(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
movl $1536, -4(%rbp) ## imm = 0x600
jmp LBB0_36
LBB0_13:
movq -24(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
movl $1792, -4(%rbp) ## imm = 0x700
jmp LBB0_36
LBB0_14:
movq -24(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
movl $2048, -4(%rbp) ## imm = 0x800
jmp LBB0_36
LBB0_15:
movl $2304, -4(%rbp) ## imm = 0x900
jmp LBB0_36
LBB0_16:
movq -24(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
movl $0, -4(%rbp)
jmp LBB0_36
LBB0_17: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_18
LBB0_18: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_35
LBB0_19: ## in Loop: Header=BB0_1 Depth=1
movsbl -29(%rbp), %edi
callq _isdigit
cmpl $0, %eax
je LBB0_21
## %bb.20: ## in Loop: Header=BB0_1 Depth=1
movq -24(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
jmp LBB0_25
LBB0_21: ## in Loop: Header=BB0_1 Depth=1
movsbl -29(%rbp), %eax
cmpl $46, %eax
jne LBB0_23
## %bb.22: ## in Loop: Header=BB0_1 Depth=1
movl $3, -28(%rbp)
movq -24(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
jmp LBB0_24
LBB0_23:
movl $2048, -4(%rbp) ## imm = 0x800
jmp LBB0_36
LBB0_24: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_25
LBB0_25: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_35
LBB0_26: ## in Loop: Header=BB0_1 Depth=1
movsbl -29(%rbp), %edi
callq _isdigit
cmpl $0, %eax
je LBB0_28
## %bb.27: ## in Loop: Header=BB0_1 Depth=1
movq -24(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
movl $3, -28(%rbp)
jmp LBB0_29
LBB0_28:
movq -24(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
movl $0, -4(%rbp)
jmp LBB0_36
LBB0_29: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_35
LBB0_30: ## in Loop: Header=BB0_1 Depth=1
movsbl -29(%rbp), %edi
callq _isdigit
cmpl $0, %eax
je LBB0_32
## %bb.31: ## in Loop: Header=BB0_1 Depth=1
movq -24(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
jmp LBB0_33
LBB0_32:
movl $2048, -4(%rbp) ## imm = 0x800
jmp LBB0_36
LBB0_33: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_35
LBB0_34:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB0_35: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_36:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
LJTI0_0:
.long L0_0_set_2
.long L0_0_set_19
.long L0_0_set_26
.long L0_0_set_30
.end_data_region
## -- End function
.globl _erro ## -- Begin function erro
.p2align 4, 0x90
_erro: ## @erro
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movq -8(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq -16(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -24(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
movl -20(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl $32, %edi
callq _putchar
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB1_1
LBB1_4:
movl $94, %edi
callq _putchar
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _inicializa ## -- Begin function inicializa
.p2align 4, 0x90
_inicializa: ## @inicializa
.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, -8(%rbp)
movq -8(%rbp), %rax
movl $-1, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _insere ## -- Begin function insere
.p2align 4, 0x90
_insere: ## @insere
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq -8(%rbp), %rax
cmpl $100, (%rax)
jge LBB3_2
## %bb.1:
movq -8(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
movl -12(%rbp), %edx
movq -8(%rbp), %rax
movq -8(%rbp), %rcx
movslq (%rcx), %rcx
movl %edx, 4(%rax,%rcx,4)
jmp LBB3_3
LBB3_2:
movq -8(%rbp), %rax
movl (%rax), %esi
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB3_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _remover ## -- Begin function remover
.p2align 4, 0x90
_remover: ## @remover
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
cmpl $0, (%rax)
jl LBB4_2
## %bb.1:
movq -8(%rbp), %rax
movq -8(%rbp), %rcx
movslq (%rcx), %rcx
movl 4(%rax,%rcx,4), %eax
movl %eax, -12(%rbp)
movq -8(%rbp), %rax
movl (%rax), %ecx
addl $-1, %ecx
movl %ecx, (%rax)
movl -12(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
LBB4_2:
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _consulta ## -- Begin function consulta
.p2align 4, 0x90
_consulta: ## @consulta
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
cmpl $0, (%rax)
jl LBB5_2
## %bb.1:
movq -8(%rbp), %rax
movq -8(%rbp), %rcx
movslq (%rcx), %rcx
movl 4(%rax,%rcx,4), %eax
addq $16, %rsp
popq %rbp
retq
LBB5_2:
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _parser ## -- Begin function parser
.p2align 4, 0x90
_parser: ## @parser
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $448, %rsp ## imm = 0x1C0
movq %rdi, -8(%rbp)
movl $0, -444(%rbp)
leaq -416(%rbp), %rdi
callq _inicializa
leaq -416(%rbp), %rdi
movl $2304, %esi ## imm = 0x900
callq _insere
leaq -416(%rbp), %rdi
movl $32769, %esi ## imm = 0x8001
callq _insere
movq -8(%rbp), %rdi
leaq -444(%rbp), %rsi
callq _lex
movl %eax, -424(%rbp)
cmpl $0, %eax
jne LBB6_2
## %bb.1:
movq -8(%rbp), %rsi
movl -444(%rbp), %edx
leaq L_.str.6(%rip), %rdi
callq _erro
LBB6_2:
jmp LBB6_3
LBB6_3: ## =>This Loop Header: Depth=1
## Child Loop BB6_13 Depth 2
leaq -416(%rbp), %rdi
callq _consulta
movl %eax, -420(%rbp)
movl -420(%rbp), %eax
andl $32768, %eax ## imm = 0x8000
cmpl $0, %eax
jne LBB6_10
## %bb.4: ## in Loop: Header=BB6_3 Depth=1
movl -420(%rbp), %eax
cmpl -424(%rbp), %eax
jne LBB6_8
## %bb.5: ## in Loop: Header=BB6_3 Depth=1
leaq -416(%rbp), %rdi
callq _remover
movq -8(%rbp), %rdi
leaq -444(%rbp), %rsi
callq _lex
movl %eax, -424(%rbp)
cmpl $0, %eax
jne LBB6_7
## %bb.6: ## in Loop: Header=BB6_3 Depth=1
movq -8(%rbp), %rsi
movl -444(%rbp), %edx
leaq L_.str.6(%rip), %rdi
callq _erro
LBB6_7: ## in Loop: Header=BB6_3 Depth=1
jmp LBB6_9
LBB6_8: ## in Loop: Header=BB6_3 Depth=1
movq -8(%rbp), %rsi
movl -444(%rbp), %edx
leaq L_.str.7(%rip), %rdi
callq _erro
LBB6_9: ## in Loop: Header=BB6_3 Depth=1
jmp LBB6_10
LBB6_10: ## in Loop: Header=BB6_3 Depth=1
movl -420(%rbp), %eax
andl $32768, %eax ## imm = 0x8000
cmpl $0, %eax
je LBB6_19
## %bb.11: ## in Loop: Header=BB6_3 Depth=1
movl -420(%rbp), %eax
andl $32767, %eax ## imm = 0x7FFF
subl $1, %eax
movslq %eax, %rcx
leaq _STAB(%rip), %rax
imulq $40, %rcx, %rcx
addq %rcx, %rax
movl -424(%rbp), %ecx
sarl $8, %ecx
subl $1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -428(%rbp)
cmpl $0, -428(%rbp)
je LBB6_17
## %bb.12: ## in Loop: Header=BB6_3 Depth=1
leaq -416(%rbp), %rdi
callq _remover
movslq -428(%rbp), %rcx
leaq _PROD(%rip), %rax
movq (%rax,%rcx,8), %rax
movq %rax, -440(%rbp)
movq -440(%rbp), %rax
movl (%rax), %eax
movl %eax, -432(%rbp)
LBB6_13: ## Parent Loop BB6_3 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $0, -432(%rbp)
jle LBB6_16
## %bb.14: ## in Loop: Header=BB6_13 Depth=2
movq -440(%rbp), %rax
movslq -432(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq -416(%rbp), %rdi
callq _insere
## %bb.15: ## in Loop: Header=BB6_13 Depth=2
movl -432(%rbp), %eax
addl $-1, %eax
movl %eax, -432(%rbp)
jmp LBB6_13
LBB6_16: ## in Loop: Header=BB6_3 Depth=1
jmp LBB6_18
LBB6_17: ## in Loop: Header=BB6_3 Depth=1
movq -8(%rbp), %rsi
movl -444(%rbp), %edx
leaq L_.str.7(%rip), %rdi
callq _erro
LBB6_18: ## in Loop: Header=BB6_3 Depth=1
jmp LBB6_19
LBB6_19: ## in Loop: Header=BB6_3 Depth=1
jmp LBB6_20
LBB6_20: ## in Loop: Header=BB6_3 Depth=1
cmpl $2304, -420(%rbp) ## imm = 0x900
jne LBB6_3
## %bb.21:
addq $448, %rsp ## imm = 0x1C0
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 $112, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
leaq -112(%rbp), %rdi
callq _gets
leaq -112(%rbp), %rdi
callq _parser
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB7_2
## %bb.1:
addq $112, %rsp
popq %rbp
retq
LBB7_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__const
.globl _PROD1 ## @PROD1
.p2align 2
_PROD1:
.long 2 ## 0x2
.long 32771 ## 0x8003
.long 32770 ## 0x8002
.globl _PROD2 ## @PROD2
.p2align 4
_PROD2:
.long 3 ## 0x3
.long 256 ## 0x100
.long 32771 ## 0x8003
.long 32770 ## 0x8002
.globl _PROD3 ## @PROD3
.p2align 2
_PROD3:
.space 4
.globl _PROD4 ## @PROD4
.p2align 2
_PROD4:
.long 2 ## 0x2
.long 32773 ## 0x8005
.long 32772 ## 0x8004
.globl _PROD5 ## @PROD5
.p2align 4
_PROD5:
.long 3 ## 0x3
.long 512 ## 0x200
.long 32773 ## 0x8005
.long 32772 ## 0x8004
.globl _PROD6 ## @PROD6
.p2align 2
_PROD6:
.space 4
.globl _PROD7 ## @PROD7
.p2align 2
_PROD7:
.long 2 ## 0x2
.long 32775 ## 0x8007
.long 32774 ## 0x8006
.globl _PROD8 ## @PROD8
.p2align 4
_PROD8:
.long 3 ## 0x3
.long 768 ## 0x300
.long 32775 ## 0x8007
.long 32774 ## 0x8006
.globl _PROD9 ## @PROD9
.p2align 4
_PROD9:
.long 3 ## 0x3
.long 1024 ## 0x400
.long 32775 ## 0x8007
.long 32774 ## 0x8006
.globl _PROD10 ## @PROD10
.p2align 2
_PROD10:
.space 4
.globl _PROD11 ## @PROD11
.p2align 2
_PROD11:
.long 2 ## 0x2
.long 1280 ## 0x500
.long 32775 ## 0x8007
.globl _PROD12 ## @PROD12
.p2align 4
_PROD12:
.long 3 ## 0x3
.long 1536 ## 0x600
.long 32769 ## 0x8001
.long 1792 ## 0x700
.globl _PROD13 ## @PROD13
.p2align 2
_PROD13:
.long 1 ## 0x1
.long 2048 ## 0x800
.section __DATA,__data
.globl _PROD ## @PROD
.p2align 4
_PROD:
.quad 0
.quad _PROD1
.quad _PROD2
.quad _PROD3
.quad _PROD4
.quad _PROD5
.quad _PROD6
.quad _PROD7
.quad _PROD8
.quad _PROD9
.quad _PROD10
.quad _PROD11
.quad _PROD12
.quad _PROD13
.section __TEXT,__const
.globl _STAB ## @STAB
.p2align 4
_STAB:
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 1 ## 0x1
.long 1 ## 0x1
.long 0 ## 0x0
.long 1 ## 0x1
.long 0 ## 0x0
.long 0 ## 0x0
.long 2 ## 0x2
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 3 ## 0x3
.long 0 ## 0x0
.long 3 ## 0x3
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 4 ## 0x4
.long 4 ## 0x4
.long 0 ## 0x0
.long 4 ## 0x4
.long 0 ## 0x0
.long 0 ## 0x0
.long 6 ## 0x6
.long 5 ## 0x5
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 6 ## 0x6
.long 0 ## 0x0
.long 6 ## 0x6
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 7 ## 0x7
.long 7 ## 0x7
.long 0 ## 0x0
.long 7 ## 0x7
.long 0 ## 0x0
.long 0 ## 0x0
.long 10 ## 0xa
.long 10 ## 0xa
.long 8 ## 0x8
.long 9 ## 0x9
.long 0 ## 0x0
.long 0 ## 0x0
.long 10 ## 0xa
.long 0 ## 0x0
.long 10 ## 0xa
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 11 ## 0xb
.long 12 ## 0xc
.long 0 ## 0x0
.long 13 ## 0xd
.long 0 ## 0x0
.long 0 ## 0x0
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Lex:Estado indefinido"
L_.str.1: ## @.str.1
.asciz "%s"
L_.str.2: ## @.str.2
.asciz "\n%s\n"
L_.str.3: ## @.str.3
.asciz "\n"
L_.str.4: ## @.str.4
.asciz "estouro de pilha %d\n"
L_.str.5: ## @.str.5
.asciz "Pilha vazia"
L_.str.6: ## @.str.6
.asciz "Erro lexico"
L_.str.7: ## @.str.7
.asciz "Erro sintatico"
L_.str.8: ## @.str.8
.asciz "\nDigite uma expressao: "
L_.str.9: ## @.str.9
.asciz "Expressao sintaticamente correta"
.subsections_via_symbols
| the_stack_data/237642980.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _containsDuplicate ; -- Begin function containsDuplicate
.p2align 2
_containsDuplicate: ; @containsDuplicate
.cfi_startproc
; %bb.0:
stp x28, x27, [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 w27, -24
.cfi_offset w28, -32
mov w9, #2352
movk w9, #61, lsl #16
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #976, lsl #12 ; =3997696
sub sp, sp, #2352
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str x0, [sp, #24]
str w1, [sp, #20]
add x0, sp, #40
mov x1, #16960
movk x1, #15, lsl #16
bl _bzero
str wzr, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #16]
ldrsw x9, [x8, x9, lsl #2]
add x8, sp, #40
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
mov w8, #1
and w8, w8, #0x1
and w8, w8, #0x1
strb w8, [sp, #39]
b LBB0_7
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #16]
ldrsw x10, [x8, x9, lsl #2]
add x9, sp, #40
mov w8, #1
str w8, [x9, x10, lsl #2]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_1
LBB0_6:
mov w8, #0
and w8, w8, #0x1
and w8, w8, #0x1
strb w8, [sp, #39]
b LBB0_7
LBB0_7:
ldrb w8, [sp, #39]
str w8, [sp, #12] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
bl ___stack_chk_fail
LBB0_9:
ldr w8, [sp, #12] ; 4-byte Folded Reload
and w0, w8, #0x1
add sp, sp, #976, lsl #12 ; =3997696
add sp, sp, #2352
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 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
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #12]
adrp x8, l___const.main.arr1@PAGE
add x8, x8, l___const.main.arr1@PAGEOFF
ldr x8, [x8]
add x0, sp, #16
str x8, [sp, #16]
str wzr, [sp, #4]
mov w1, #2
bl _containsDuplicate
and w8, w0, #0x1
subs w8, w8, #1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #39
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___assert_rtn
LBB1_2:
b LBB1_3
LBB1_3:
add x0, sp, #8
mov w1, #0
bl _containsDuplicate
ands w8, w0, #0x1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #40
adrp x3, l_.str.2@PAGE
add x3, x3, l_.str.2@PAGEOFF
bl ___assert_rtn
LBB1_5:
b LBB1_6
LBB1_6:
add x0, sp, #4
mov w1, #1
bl _containsDuplicate
ands w8, w0, #0x1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB1_8
b LBB1_7
LBB1_7:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #41
adrp x3, l_.str.3@PAGE
add x3, x3, l_.str.3@PAGEOFF
bl ___assert_rtn
LBB1_8:
b LBB1_9
LBB1_9:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_11
b LBB1_10
LBB1_10:
bl ___stack_chk_fail
LBB1_11:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 2 ; @__const.main.arr1
l___const.main.arr1:
.long 3 ; 0x3
.long 3 ; 0x3
.section __TEXT,__cstring,cstring_literals
l___func__.main: ; @__func__.main
.asciz "main"
l_.str: ; @.str
.asciz "27286.c"
l_.str.1: ; @.str.1
.asciz "containsDuplicate(arr1, 2) == true"
l_.str.2: ; @.str.2
.asciz "containsDuplicate(arr2, 0) == false"
l_.str.3: ; @.str.3
.asciz "containsDuplicate(arr3, 1) == false"
l_.str.4: ; @.str.4
.asciz "All passed\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _containsDuplicate ## -- Begin function containsDuplicate
.p2align 4, 0x90
_containsDuplicate: ## @containsDuplicate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $4000048, %eax ## imm = 0x3D0930
callq ____chkstk_darwin
subq %rax, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -4000032(%rbp)
movl %esi, -4000036(%rbp)
leaq -4000016(%rbp), %rdi
xorl %esi, %esi
movl $1000000, %edx ## imm = 0xF4240
callq _memset
movl $0, -4000040(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -4000040(%rbp), %eax
cmpl -4000036(%rbp), %eax
jge LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -4000032(%rbp), %rax
movslq -4000040(%rbp), %rcx
movslq (%rax,%rcx,4), %rax
cmpl $1, -4000016(%rbp,%rax,4)
jne LBB0_4
## %bb.3:
movb $1, -4000017(%rbp)
jmp LBB0_7
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq -4000032(%rbp), %rax
movslq -4000040(%rbp), %rcx
movslq (%rax,%rcx,4), %rax
movl $1, -4000016(%rbp,%rax,4)
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movl -4000040(%rbp), %eax
addl $1, %eax
movl %eax, -4000040(%rbp)
jmp LBB0_1
LBB0_6:
movb $0, -4000017(%rbp)
LBB0_7:
movb -4000017(%rbp), %al
movb %al, -4000041(%rbp) ## 1-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_9
## %bb.8:
movb -4000041(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
addq $4000048, %rsp ## imm = 0x3D0930
popq %rbp
retq
LBB0_9:
callq ___stack_chk_fail
ud2
.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 $32, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -20(%rbp)
movq L___const.main.arr1(%rip), %rax
movq %rax, -16(%rbp)
leaq -28(%rbp), %rdi
xorl %esi, %esi
movl $4, %edx
callq _memset
leaq -16(%rbp), %rdi
movl $2, %esi
callq _containsDuplicate
andb $1, %al
movzbl %al, %eax
cmpl $1, %eax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB1_2
## %bb.1:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
movl $39, %edx
callq ___assert_rtn
LBB1_2:
jmp LBB1_3
LBB1_3:
leaq -24(%rbp), %rdi
xorl %esi, %esi
callq _containsDuplicate
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB1_5
## %bb.4:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.2(%rip), %rcx
movl $40, %edx
callq ___assert_rtn
LBB1_5:
jmp LBB1_6
LBB1_6:
leaq -28(%rbp), %rdi
movl $1, %esi
callq _containsDuplicate
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB1_8
## %bb.7:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.3(%rip), %rcx
movl $41, %edx
callq ___assert_rtn
LBB1_8:
jmp LBB1_9
LBB1_9:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_11
## %bb.10:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
LBB1_11:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 2 ## @__const.main.arr1
L___const.main.arr1:
.long 3 ## 0x3
.long 3 ## 0x3
.section __TEXT,__cstring,cstring_literals
L___func__.main: ## @__func__.main
.asciz "main"
L_.str: ## @.str
.asciz "27286.c"
L_.str.1: ## @.str.1
.asciz "containsDuplicate(arr1, 2) == true"
L_.str.2: ## @.str.2
.asciz "containsDuplicate(arr2, 0) == false"
L_.str.3: ## @.str.3
.asciz "containsDuplicate(arr3, 1) == false"
L_.str.4: ## @.str.4
.asciz "All passed\n"
.subsections_via_symbols
| the_stack_data/27286.c |
.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/117328780.c |
.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, #16
.cfi_def_cfa_offset 16
mov x8, x0
mov w0, #0
str wzr, [sp, #12]
str w8, [sp, #8]
str x1, [sp]
add sp, sp, #16
ret
.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 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 $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/67324501.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub sp, sp, #96
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-12]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
; Child Loop BB0_5 Depth 3
; Child Loop BB0_11 Depth 2
; Child Loop BB0_13 Depth 3
sub sp, sp, #16
mov x9, sp
sub x8, x29, #16
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
add sp, sp, #16
ldur w8, [x29, #-16]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_21
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
mov x9, x8
stur x9, [x29, #-72] ; 8-byte Folded Spill
ldur w8, [x29, #-16]
; kill: def $x8 killed $w8
stur x8, [x29, #-88] ; 8-byte Folded Spill
mov x10, sp
stur x10, [x29, #-32]
mul x9, x9, x8
lsl x9, x9, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-80] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x11, [x29, #-80] ; 8-byte Folded Reload
ldur x9, [x29, #-72] ; 8-byte Folded Reload
mov x10, sp
subs x10, x10, x11
mov sp, x10
stur x10, [x29, #-64] ; 8-byte Folded Spill
stur x9, [x29, #-40]
stur x8, [x29, #-48]
stur wzr, [x29, #-20]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_5 Depth 3
ldur w8, [x29, #-20]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_10
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
mov w8, #1
stur w8, [x29, #-52]
ldur w8, [x29, #-20]
stur w8, [x29, #-24]
b LBB0_5
LBB0_5: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_3 Depth=2
; => This Inner Loop Header: Depth=3
ldur w8, [x29, #-24]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=3
ldur x9, [x29, #-64] ; 8-byte Folded Reload
ldur x11, [x29, #-88] ; 8-byte Folded Reload
ldur w8, [x29, #-52]
ldursw x10, [x29, #-20]
mul x10, x10, x11
add x10, x9, x10, lsl #2
ldursw x12, [x29, #-24]
str w8, [x10, x12, lsl #2]
ldur w8, [x29, #-52]
ldursw x10, [x29, #-24]
mul x10, x10, x11
add x9, x9, x10, lsl #2
ldursw x10, [x29, #-20]
str w8, [x9, x10, lsl #2]
ldur w8, [x29, #-52]
add w8, w8, #1
stur w8, [x29, #-52]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=3
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
b LBB0_5
LBB0_8: ; in Loop: Header=BB0_3 Depth=2
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_3
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
stur wzr, [x29, #-20]
b LBB0_11
LBB0_11: ; Parent Loop BB0_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_13 Depth 3
ldur w8, [x29, #-20]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_20
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_11 Depth=2
stur wzr, [x29, #-24]
b LBB0_13
LBB0_13: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_11 Depth=2
; => This Inner Loop Header: Depth=3
ldur w8, [x29, #-24]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_18
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_13 Depth=3
ldur w8, [x29, #-24]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_16
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_13 Depth=3
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_13 Depth=3
ldur x8, [x29, #-64] ; 8-byte Folded Reload
ldur x10, [x29, #-88] ; 8-byte Folded Reload
ldursw x9, [x29, #-20]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldursw x9, [x29, #-24]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
add sp, sp, #16
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_13 Depth=3
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
b LBB0_13
LBB0_18: ; in Loop: Header=BB0_11 Depth=2
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_11 Depth=2
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_11
LBB0_20: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur x8, [x29, #-32]
mov sp, x8
b LBB0_1
LBB0_21:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_23
b LBB0_22
LBB0_22:
bl ___stack_chk_fail
LBB0_23:
mov w0, #0
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz " "
l_.str.2: ; @.str.2
.asciz "%3d"
l_.str.3: ; @.str.3
.asciz "\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 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 $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -12(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
## Child Loop BB0_5 Depth 3
## Child Loop BB0_11 Depth 2
## Child Loop BB0_13 Depth 3
leaq L_.str(%rip), %rdi
leaq -16(%rbp), %rsi
movb $0, %al
callq _scanf
cmpl $0, -16(%rbp)
je LBB0_21
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -80(%rbp) ## 8-byte Spill
movq %rax, %rcx
movq %rcx, -72(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -32(%rbp)
imulq %rax, %rax
shlq $2, %rax
callq ____chkstk_darwin
movq -80(%rbp), %rcx ## 8-byte Reload
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -72(%rbp), %rax ## 8-byte Reload
movq %rsp, %rdx
movq %rdx, -64(%rbp) ## 8-byte Spill
movq %rcx, -40(%rbp)
movq %rax, -48(%rbp)
movl $0, -20(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_5 Depth 3
movl -20(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB0_10
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl $1, -52(%rbp)
movl -20(%rbp), %eax
movl %eax, -24(%rbp)
LBB0_5: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_3 Depth=2
## => This Inner Loop Header: Depth=3
movl -24(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=3
movq -64(%rbp), %rax ## 8-byte Reload
movq -72(%rbp), %rsi ## 8-byte Reload
movl -52(%rbp), %edi
movslq -20(%rbp), %rdx
imulq %rsi, %rdx
shlq $2, %rdx
movq %rax, %rcx
addq %rdx, %rcx
movslq -24(%rbp), %rdx
movl %edi, (%rcx,%rdx,4)
movl -52(%rbp), %edx
movslq -24(%rbp), %rcx
imulq %rsi, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -20(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
## %bb.7: ## in Loop: Header=BB0_5 Depth=3
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_5
LBB0_8: ## in Loop: Header=BB0_3 Depth=2
jmp LBB0_9
LBB0_9: ## in Loop: Header=BB0_3 Depth=2
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_3
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
movl $0, -20(%rbp)
LBB0_11: ## Parent Loop BB0_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_13 Depth 3
movl -20(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB0_20
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
movl $0, -24(%rbp)
LBB0_13: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_11 Depth=2
## => This Inner Loop Header: Depth=3
movl -24(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB0_18
## %bb.14: ## in Loop: Header=BB0_13 Depth=3
cmpl $0, -24(%rbp)
je LBB0_16
## %bb.15: ## in Loop: Header=BB0_13 Depth=3
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
LBB0_16: ## in Loop: Header=BB0_13 Depth=3
movq -64(%rbp), %rax ## 8-byte Reload
movq -72(%rbp), %rdx ## 8-byte Reload
movslq -20(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -24(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.17: ## in Loop: Header=BB0_13 Depth=3
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_13
LBB0_18: ## in Loop: Header=BB0_11 Depth=2
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
## %bb.19: ## in Loop: Header=BB0_11 Depth=2
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_11
LBB0_20: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movq -32(%rbp), %rax
movq %rax, %rsp
jmp LBB0_1
LBB0_21:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_23
## %bb.22:
xorl %eax, %eax
movq %rbp, %rsp
popq %rbp
retq
LBB0_23:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz " "
L_.str.2: ## @.str.2
.asciz "%3d"
L_.str.3: ## @.str.3
.asciz "\n"
.subsections_via_symbols
| the_stack_data/67325689.c |
.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 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
stur wzr, [x29, #-4]
stur wzr, [x29, #-24]
stur wzr, [x29, #-28]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_2 Depth 2
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
str x0, [sp, #24] ; 8-byte Folded Spill
bl _scanf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr x0, [sp, #24] ; 8-byte Folded Reload
mov x9, sp
sub x8, x29, #12
str x8, [x9]
bl _scanf
ldur s0, [x29, #-8]
ldur s1, [x29, #-12]
fadd s0, s0, s1
fmov s1, #2.00000000
fdiv s0, s0, s1
stur s0, [x29, #-16]
ldur s0, [x29, #-16]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_2
LBB0_2: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #17
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _scanf
ldursb w8, [x29, #-17]
str w8, [sp, #20] ; 4-byte Folded Spill
subs w8, w8, #110
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_2 Depth=2
ldr w8, [sp, #20] ; 4-byte Folded Reload
subs w8, w8, #115
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_2 Depth=2
mov w8, #1
stur w8, [x29, #-28]
stur w8, [x29, #-24]
b LBB0_7
LBB0_5: ; in Loop: Header=BB0_2 Depth=2
mov w8, #1
stur w8, [x29, #-28]
stur wzr, [x29, #-24]
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_2 Depth=2
stur wzr, [x29, #-28]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_2 Depth=2
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_2 Depth=2
ldur w8, [x29, #-28]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-24]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_1
b LBB0_11
LBB0_11:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "M\303\251dia Ponderada\n"
l_.str.1: ; @.str.1
.asciz "\nDigite a Nota A: "
l_.str.2: ; @.str.2
.asciz "%f"
l_.str.3: ; @.str.3
.asciz "\nDigite a Nota B: "
l_.str.4: ; @.str.4
.asciz "\nM\303\251dia do Aluno: %.2f\n"
l_.str.5: ; @.str.5
.asciz "\nContinuar ? s/n"
l_.str.6: ; @.str.6
.asciz " %c"
l_.str.7: ; @.str.7
.asciz "Resposta Invalida\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function main
LCPI0_0:
.long 0x40000000 ## float 2
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
movl $0, -24(%rbp)
movl $0, -28(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_2 Depth 2
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -12(%rbp), %xmm0
movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
movss %xmm0, -16(%rbp)
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.4(%rip), %rdi
movb $1, %al
callq _printf
LBB0_2: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movb %al, -33(%rbp) ## 1-byte Spill
callq _printf
## kill: def $ecx killed $eax
movb -33(%rbp), %al ## 1-byte Reload
leaq L_.str.6(%rip), %rdi
leaq -17(%rbp), %rsi
callq _scanf
movsbl -17(%rbp), %eax
movl %eax, -32(%rbp) ## 4-byte Spill
subl $110, %eax
je LBB0_4
jmp LBB0_11
LBB0_11: ## in Loop: Header=BB0_2 Depth=2
movl -32(%rbp), %eax ## 4-byte Reload
subl $115, %eax
jne LBB0_5
jmp LBB0_3
LBB0_3: ## in Loop: Header=BB0_2 Depth=2
movl $1, -28(%rbp)
movl $1, -24(%rbp)
jmp LBB0_6
LBB0_4: ## in Loop: Header=BB0_2 Depth=2
movl $1, -28(%rbp)
movl $0, -24(%rbp)
jmp LBB0_6
LBB0_5: ## in Loop: Header=BB0_2 Depth=2
movl $0, -28(%rbp)
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
LBB0_6: ## in Loop: Header=BB0_2 Depth=2
jmp LBB0_7
LBB0_7: ## in Loop: Header=BB0_2 Depth=2
cmpl $1, -28(%rbp)
jne LBB0_2
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_9
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -24(%rbp)
jne LBB0_1
## %bb.10:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "M\303\251dia Ponderada\n"
L_.str.1: ## @.str.1
.asciz "\nDigite a Nota A: "
L_.str.2: ## @.str.2
.asciz "%f"
L_.str.3: ## @.str.3
.asciz "\nDigite a Nota B: "
L_.str.4: ## @.str.4
.asciz "\nM\303\251dia do Aluno: %.2f\n"
L_.str.5: ## @.str.5
.asciz "\nContinuar ? s/n"
L_.str.6: ## @.str.6
.asciz " %c"
L_.str.7: ## @.str.7
.asciz "Resposta Invalida\n"
.subsections_via_symbols
| the_stack_data/1254455.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Hello World!!"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Hello World!!"
.subsections_via_symbols
| the_stack_data/896039.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _strncasecmp ; -- Begin function strncasecmp
.p2align 2
_strncasecmp: ; @strncasecmp
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
str x2, [sp, #32]
ldur x8, [x29, #-16]
str x8, [sp, #24]
ldur x8, [x29, #-24]
str x8, [sp, #16]
ldr x8, [sp, #24]
ldr x9, [sp, #16]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #32]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
stur wzr, [x29, #-4]
b LBB0_16
LBB0_3:
b LBB0_4
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
ldrb w0, [x8]
bl _isupper
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #24]
ldrb w0, [x8]
bl _tolower
str w0, [sp, #8] ; 4-byte Folded Spill
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #24]
ldrb w8, [x8]
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [sp, #8] ; 4-byte Folded Reload
strb w8, [sp, #15]
ldr x8, [sp, #16]
ldrb w0, [x8]
bl _isupper
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #16]
ldrb w0, [x8]
bl _tolower
str w0, [sp, #4] ; 4-byte Folded Spill
b LBB0_10
LBB0_9: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #16]
ldrb w8, [x8]
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
strb w8, [sp, #14]
ldr x8, [sp, #32]
subs x8, x8, #1
str x8, [sp, #32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_4 Depth=1
ldrb w8, [sp, #15]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12:
b LBB0_15
LBB0_13: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_4 Depth=1
ldrb w8, [sp, #15]
ldrb w9, [sp, #14]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_15
LBB0_15:
ldrb w8, [sp, #15]
ldrb w9, [sp, #14]
subs w8, w8, w9
stur w8, [x29, #-4]
b LBB0_16
LBB0_16:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _strncasecmp ## -- Begin function strncasecmp
.p2align 4, 0x90
_strncasecmp: ## @strncasecmp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movq -16(%rbp), %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
movq %rax, -48(%rbp)
movq -40(%rbp), %rax
cmpq -48(%rbp), %rax
je LBB0_2
## %bb.1:
cmpq $0, -32(%rbp)
jne LBB0_3
LBB0_2:
movl $0, -4(%rbp)
jmp LBB0_16
LBB0_3:
jmp LBB0_4
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq -40(%rbp), %rax
movzbl (%rax), %edi
callq _isupper
cmpl $0, %eax
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq -40(%rbp), %rax
movzbl (%rax), %edi
callq _tolower
movl %eax, -56(%rbp) ## 4-byte Spill
jmp LBB0_7
LBB0_6: ## in Loop: Header=BB0_4 Depth=1
movq -40(%rbp), %rax
movzbl (%rax), %eax
movl %eax, -56(%rbp) ## 4-byte Spill
LBB0_7: ## in Loop: Header=BB0_4 Depth=1
movl -56(%rbp), %eax ## 4-byte Reload
## kill: def $al killed $al killed $eax
movb %al, -49(%rbp)
movq -48(%rbp), %rax
movzbl (%rax), %edi
callq _isupper
cmpl $0, %eax
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_4 Depth=1
movq -48(%rbp), %rax
movzbl (%rax), %edi
callq _tolower
movl %eax, -60(%rbp) ## 4-byte Spill
jmp LBB0_10
LBB0_9: ## in Loop: Header=BB0_4 Depth=1
movq -48(%rbp), %rax
movzbl (%rax), %eax
movl %eax, -60(%rbp) ## 4-byte Spill
LBB0_10: ## in Loop: Header=BB0_4 Depth=1
movl -60(%rbp), %eax ## 4-byte Reload
## kill: def $al killed $al killed $eax
movb %al, -50(%rbp)
movq -32(%rbp), %rax
addq $-1, %rax
movq %rax, -32(%rbp)
cmpq $0, %rax
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_4 Depth=1
movzbl -49(%rbp), %eax
cmpl $0, %eax
jne LBB0_13
LBB0_12:
jmp LBB0_15
LBB0_13: ## in Loop: Header=BB0_4 Depth=1
movq -40(%rbp), %rax
addq $1, %rax
movq %rax, -40(%rbp)
movq -48(%rbp), %rax
addq $1, %rax
movq %rax, -48(%rbp)
## %bb.14: ## in Loop: Header=BB0_4 Depth=1
movzbl -49(%rbp), %eax
movzbl -50(%rbp), %ecx
cmpl %ecx, %eax
je LBB0_4
LBB0_15:
movzbl -49(%rbp), %eax
movzbl -50(%rbp), %ecx
subl %ecx, %eax
movl %eax, -4(%rbp)
LBB0_16:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/524307.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test_csis_client_install ; -- Begin function test_csis_client_install
.p2align 2
_test_csis_client_install: ; @test_csis_client_install
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test_csis_client_install ## -- Begin function test_csis_client_install
.p2align 4, 0x90
_test_csis_client_install: ## @test_csis_client_install
.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, -8(%rbp)
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/150140970.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _testFloatEquality ; -- Begin function testFloatEquality
.p2align 2
_testFloatEquality: ; @testFloatEquality
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str d0, [sp, #16]
str d1, [sp, #8]
str d2, [sp]
ldr d0, [sp, #16]
ldr d1, [sp, #8]
ldr d2, [sp]
fsub d1, d1, d2
fcmp d0, d1
cset w8, le
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldr d0, [sp, #16]
ldr d1, [sp, #8]
ldr d2, [sp]
fadd d1, d1, d2
fcmp d0, d1
cset w8, pl
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
mov w8, #1
str w8, [sp, #28]
b LBB0_4
LBB0_3:
str wzr, [sp, #28]
b LBB0_4
LBB0_4:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _clearScreen ; -- Begin function clearScreen
.p2align 2
_clearScreen: ; @clearScreen
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _kelvinToCelcius ; -- Begin function kelvinToCelcius
.p2align 2
_kelvinToCelcius: ; @kelvinToCelcius
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w8, [sp, #12]
subs w0, w8, #273
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _newAverage ; -- Begin function newAverage
.p2align 2
_newAverage: ; @newAverage
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str s0, [sp, #12]
str s1, [sp, #8]
str w0, [sp, #4]
ldr s0, [sp, #8]
ldr s1, [sp, #12]
ldr s2, [sp, #8]
fsub s1, s1, s2
ldr s2, [sp, #4]
scvtf s2, s2
fdiv s1, s1, s2
fadd s0, s0, s1
str s0, [sp]
ldr s0, [sp]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _runningAverage ; -- Begin function runningAverage
.p2align 2
_runningAverage: ; @runningAverage
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str s0, [sp, #12]
str w0, [sp, #8]
str s1, [sp, #4]
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
mov w8, #1
str w8, [sp, #8]
b LBB4_2
LBB4_2:
ldr s0, [sp, #4]
ldr s1, [sp, #12]
ldr s2, [sp, #4]
fsub s1, s1, s2
ldr s2, [sp, #8]
scvtf s2, s2
fdiv s1, s1, s2
fadd s0, s0, s1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _sumOfAverages ; -- Begin function sumOfAverages
.p2align 2
_sumOfAverages: ; @sumOfAverages
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str s0, [sp, #12]
str s1, [sp, #8]
str w0, [sp, #4]
str w1, [sp]
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
mov w8, #1
str w8, [sp, #4]
b LBB5_2
LBB5_2:
ldr w8, [sp]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_4
b LBB5_3
LBB5_3:
mov w8, #1
str w8, [sp]
b LBB5_4
LBB5_4:
ldr s0, [sp, #12]
ldr s1, [sp, #4]
scvtf s1, s1
ldr s2, [sp, #8]
ldr s3, [sp]
scvtf s3, s3
fmul s2, s2, s3
fmadd s0, s0, s1, s2
ldr w8, [sp, #4]
ldr w9, [sp]
add w8, w8, w9
scvtf s1, w8
fdiv s0, s0, s1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _floatBubbleSort ; -- Begin function floatBubbleSort
.p2align 2
_floatBubbleSort: ; @floatBubbleSort
.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
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str w2, [sp, #16]
ldr w8, [sp, #16]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB6_12
b LBB6_1
LBB6_1:
ldur w8, [x29, #-12]
subs w8, w8, #1
str w8, [sp, #12]
b LBB6_2
LBB6_2: ; =>This Loop Header: Depth=1
; Child Loop BB6_4 Depth 2
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB6_11
b LBB6_3
LBB6_3: ; in Loop: Header=BB6_2 Depth=1
ldur w8, [x29, #-12]
ldr w9, [sp, #12]
add w9, w9, #1
subs w8, w8, w9
str w8, [sp, #8]
b LBB6_4
LBB6_4: ; Parent Loop BB6_2 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB6_9
b LBB6_5
LBB6_5: ; in Loop: Header=BB6_4 Depth=2
ldur x8, [x29, #-8]
ldrsw x9, [sp, #8]
ldr s0, [x8, x9, lsl #2]
ldur x8, [x29, #-8]
ldr w9, [sp, #8]
add w9, w9, #1
ldr s1, [x8, w9, sxtw #2]
fcmp s0, s1
cset w8, pl
tbnz w8, #0, LBB6_7
b LBB6_6
LBB6_6: ; in Loop: Header=BB6_4 Depth=2
ldur x8, [x29, #-8]
ldrsw x9, [sp, #8]
ldr s0, [x8, x9, lsl #2]
str s0, [sp, #4]
ldur x8, [x29, #-8]
ldr w9, [sp, #8]
add w9, w9, #1
ldr s0, [x8, w9, sxtw #2]
ldur x8, [x29, #-8]
ldrsw x9, [sp, #8]
str s0, [x8, x9, lsl #2]
ldr s0, [sp, #4]
ldur x8, [x29, #-8]
ldr w9, [sp, #8]
add w9, w9, #1
str s0, [x8, w9, sxtw #2]
b LBB6_7
LBB6_7: ; in Loop: Header=BB6_4 Depth=2
b LBB6_8
LBB6_8: ; in Loop: Header=BB6_4 Depth=2
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB6_4
LBB6_9: ; in Loop: Header=BB6_2 Depth=1
b LBB6_10
LBB6_10: ; in Loop: Header=BB6_2 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB6_2
LBB6_11:
b LBB6_26
LBB6_12:
ldr w8, [sp, #16]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_24
b LBB6_13
LBB6_13:
str wzr, [sp, #12]
b LBB6_14
LBB6_14: ; =>This Loop Header: Depth=1
; Child Loop BB6_16 Depth 2
ldr w8, [sp, #12]
ldur w9, [x29, #-12]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB6_23
b LBB6_15
LBB6_15: ; in Loop: Header=BB6_14 Depth=1
str wzr, [sp, #8]
b LBB6_16
LBB6_16: ; Parent Loop BB6_14 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #8]
ldur w9, [x29, #-12]
ldr w10, [sp, #12]
add w10, w10, #1
subs w9, w9, w10
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB6_21
b LBB6_17
LBB6_17: ; in Loop: Header=BB6_16 Depth=2
ldur x8, [x29, #-8]
ldrsw x9, [sp, #8]
ldr s0, [x8, x9, lsl #2]
ldur x8, [x29, #-8]
ldr w9, [sp, #8]
add w9, w9, #1
ldr s1, [x8, w9, sxtw #2]
fcmp s0, s1
cset w8, pl
tbnz w8, #0, LBB6_19
b LBB6_18
LBB6_18: ; in Loop: Header=BB6_16 Depth=2
ldur x8, [x29, #-8]
ldrsw x9, [sp, #8]
ldr s0, [x8, x9, lsl #2]
str s0, [sp, #4]
ldur x8, [x29, #-8]
ldr w9, [sp, #8]
add w9, w9, #1
ldr s0, [x8, w9, sxtw #2]
ldur x8, [x29, #-8]
ldrsw x9, [sp, #8]
str s0, [x8, x9, lsl #2]
ldr s0, [sp, #4]
ldur x8, [x29, #-8]
ldr w9, [sp, #8]
add w9, w9, #1
str s0, [x8, w9, sxtw #2]
b LBB6_19
LBB6_19: ; in Loop: Header=BB6_16 Depth=2
b LBB6_20
LBB6_20: ; in Loop: Header=BB6_16 Depth=2
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB6_16
LBB6_21: ; in Loop: Header=BB6_14 Depth=1
b LBB6_22
LBB6_22: ; in Loop: Header=BB6_14 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB6_14
LBB6_23:
b LBB6_25
LBB6_24:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB6_25
LBB6_25:
b LBB6_26
LBB6_26:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Invalid sorting chosen\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _testFloatEquality ## -- Begin function testFloatEquality
.p2align 4, 0x90
_testFloatEquality: ## @testFloatEquality
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movsd %xmm0, -16(%rbp)
movsd %xmm1, -24(%rbp)
movsd %xmm2, -32(%rbp)
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -24(%rbp), %xmm1 ## xmm1 = mem[0],zero
subsd -32(%rbp), %xmm1
ucomisd %xmm1, %xmm0
jbe LBB0_3
## %bb.1:
movsd -16(%rbp), %xmm1 ## xmm1 = mem[0],zero
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd -32(%rbp), %xmm0
ucomisd %xmm1, %xmm0
jbe LBB0_3
## %bb.2:
movl $1, -4(%rbp)
jmp LBB0_4
LBB0_3:
movl $0, -4(%rbp)
LBB0_4:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _clearScreen ## -- Begin function clearScreen
.p2align 4, 0x90
_clearScreen: ## @clearScreen
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _kelvinToCelcius ## -- Begin function kelvinToCelcius
.p2align 4, 0x90
_kelvinToCelcius: ## @kelvinToCelcius
.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, -4(%rbp)
movl -4(%rbp), %eax
subl $273, %eax ## imm = 0x111
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _newAverage ## -- Begin function newAverage
.p2align 4, 0x90
_newAverage: ## @newAverage
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movss %xmm0, -4(%rbp)
movss %xmm1, -8(%rbp)
movl %edi, -12(%rbp)
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -4(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
subss -8(%rbp), %xmm1
cvtsi2ssl -12(%rbp), %xmm2
divss %xmm2, %xmm1
addss %xmm1, %xmm0
movss %xmm0, -16(%rbp)
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _runningAverage ## -- Begin function runningAverage
.p2align 4, 0x90
_runningAverage: ## @runningAverage
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movss %xmm0, -4(%rbp)
movl %edi, -8(%rbp)
movss %xmm1, -12(%rbp)
cmpl $0, -8(%rbp)
jne LBB4_2
## %bb.1:
movl $1, -8(%rbp)
LBB4_2:
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -4(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
subss -12(%rbp), %xmm1
cvtsi2ssl -8(%rbp), %xmm2
divss %xmm2, %xmm1
addss %xmm1, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sumOfAverages ## -- Begin function sumOfAverages
.p2align 4, 0x90
_sumOfAverages: ## @sumOfAverages
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movss %xmm0, -4(%rbp)
movss %xmm1, -8(%rbp)
movl %edi, -12(%rbp)
movl %esi, -16(%rbp)
cmpl $0, -12(%rbp)
jne LBB5_2
## %bb.1:
movl $1, -12(%rbp)
LBB5_2:
cmpl $0, -16(%rbp)
jne LBB5_4
## %bb.3:
movl $1, -16(%rbp)
LBB5_4:
movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtsi2ssl -12(%rbp), %xmm2
movss -8(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
cvtsi2ssl -16(%rbp), %xmm3
mulss %xmm3, %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movl -12(%rbp), %eax
addl -16(%rbp), %eax
cvtsi2ss %eax, %xmm1
divss %xmm1, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _floatBubbleSort ## -- Begin function floatBubbleSort
.p2align 4, 0x90
_floatBubbleSort: ## @floatBubbleSort
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
cmpl $1, -16(%rbp)
jne LBB6_12
## %bb.1:
movl -12(%rbp), %eax
subl $1, %eax
movl %eax, -20(%rbp)
LBB6_2: ## =>This Loop Header: Depth=1
## Child Loop BB6_4 Depth 2
cmpl $0, -20(%rbp)
jge LBB6_11
## %bb.3: ## in Loop: Header=BB6_2 Depth=1
movl -12(%rbp), %eax
movl -20(%rbp), %ecx
addl $1, %ecx
subl %ecx, %eax
movl %eax, -24(%rbp)
LBB6_4: ## Parent Loop BB6_2 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $0, -24(%rbp)
jge LBB6_9
## %bb.5: ## in Loop: Header=BB6_4 Depth=2
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movss (%rax,%rcx,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -8(%rbp), %rax
movl -24(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB6_7
## %bb.6: ## in Loop: Header=BB6_4 Depth=2
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -28(%rbp)
movq -8(%rbp), %rax
movl -24(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movss -28(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -8(%rbp), %rax
movl -24(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
LBB6_7: ## in Loop: Header=BB6_4 Depth=2
jmp LBB6_8
LBB6_8: ## in Loop: Header=BB6_4 Depth=2
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB6_4
LBB6_9: ## in Loop: Header=BB6_2 Depth=1
jmp LBB6_10
LBB6_10: ## in Loop: Header=BB6_2 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB6_2
LBB6_11:
jmp LBB6_26
LBB6_12:
cmpl $0, -16(%rbp)
jne LBB6_24
## %bb.13:
movl $0, -20(%rbp)
LBB6_14: ## =>This Loop Header: Depth=1
## Child Loop BB6_16 Depth 2
movl -20(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB6_23
## %bb.15: ## in Loop: Header=BB6_14 Depth=1
movl $0, -24(%rbp)
LBB6_16: ## Parent Loop BB6_14 Depth=1
## => This Inner Loop Header: Depth=2
movl -24(%rbp), %eax
movl -12(%rbp), %ecx
movl -20(%rbp), %edx
addl $1, %edx
subl %edx, %ecx
cmpl %ecx, %eax
jge LBB6_21
## %bb.17: ## in Loop: Header=BB6_16 Depth=2
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movss (%rax,%rcx,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -8(%rbp), %rax
movl -24(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB6_19
## %bb.18: ## in Loop: Header=BB6_16 Depth=2
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -28(%rbp)
movq -8(%rbp), %rax
movl -24(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movss -28(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -8(%rbp), %rax
movl -24(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
LBB6_19: ## in Loop: Header=BB6_16 Depth=2
jmp LBB6_20
LBB6_20: ## in Loop: Header=BB6_16 Depth=2
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB6_16
LBB6_21: ## in Loop: Header=BB6_14 Depth=1
jmp LBB6_22
LBB6_22: ## in Loop: Header=BB6_14 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB6_14
LBB6_23:
jmp LBB6_25
LBB6_24:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB6_25:
jmp LBB6_26
LBB6_26:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Invalid sorting chosen\n"
.subsections_via_symbols
| the_stack_data/61076512.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _knapsack ; -- Begin function knapsack
.p2align 2
_knapsack: ; @knapsack
.cfi_startproc
; %bb.0:
sub sp, sp, #160
.cfi_def_cfa_offset 160
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
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str w0, [sp, #52]
str x1, [sp, #40]
str x2, [sp, #32]
str s0, [sp, #28]
movi d0, #0000000000000000
str s0, [sp, #24]
ldr s0, [sp, #28]
fcvtzs w8, s0
str w8, [sp, #12]
str wzr, [sp, #20]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldr w9, [sp, #52]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #20]
add x8, sp, #56
movi d0, #0000000000000000
str s0, [x8, x9, lsl #2]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_1
LBB0_4:
str wzr, [sp, #20]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldr w9, [sp, #52]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_11
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [sp, #40]
ldrsw x9, [sp, #20]
ldr s0, [x8, x9, lsl #2]
ldr s1, [sp, #12]
scvtf s1, s1
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
b LBB0_11
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
ldrsw x9, [sp, #20]
add x8, sp, #56
fmov s0, #1.00000000
str s0, [x8, x9, lsl #2]
ldr s0, [sp, #24]
ldr x8, [sp, #32]
ldrsw x9, [sp, #20]
ldr s1, [x8, x9, lsl #2]
fadd s0, s0, s1
str s0, [sp, #24]
ldr s0, [sp, #12]
scvtf s0, s0
ldr x8, [sp, #40]
ldrsw x9, [sp, #20]
ldr s1, [x8, x9, lsl #2]
fsub s0, s0, s1
fcvtzs w8, s0
str w8, [sp, #12]
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_5 Depth=1
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_5
LBB0_11:
ldr w8, [sp, #20]
ldr w9, [sp, #52]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12:
ldr s0, [sp, #12]
scvtf s0, s0
ldr x8, [sp, #40]
ldrsw x9, [sp, #20]
ldr s1, [x8, x9, lsl #2]
fdiv s0, s0, s1
ldrsw x9, [sp, #20]
add x8, sp, #56
str s0, [x8, x9, lsl #2]
b LBB0_13
LBB0_13:
ldr s2, [sp, #24]
ldrsw x9, [sp, #20]
add x8, sp, #56
ldr s0, [x8, x9, lsl #2]
ldr x8, [sp, #32]
ldrsw x9, [sp, #20]
ldr s1, [x8, x9, lsl #2]
fmadd s0, s0, s1, s2
str s0, [sp, #24]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
str wzr, [sp, #20]
b LBB0_14
LBB0_14: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldr w9, [sp, #52]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_17
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_14 Depth=1
ldrsw x9, [sp, #20]
add x8, sp, #56
ldr s0, [x8, x9, lsl #2]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_14 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_14
LBB0_17:
ldr s0, [sp, #24]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_19
b LBB0_18
LBB0_18:
bl ___stack_chk_fail
LBB0_19:
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #160
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #320
.cfi_def_cfa_offset 320
stp x28, x27, [sp, #288] ; 16-byte Folded Spill
stp x29, x30, [sp, #304] ; 16-byte Folded Spill
add x29, sp, #304
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #36]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #28
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _scanf
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
str wzr, [sp, #24]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldrsw x9, [sp, #24]
sub x8, x29, #104
add x10, x8, x9, lsl #2
ldrsw x9, [sp, #24]
add x8, sp, #120
add x8, x8, x9, lsl #2
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _scanf
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB1_1
LBB1_4:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #32
str x8, [x9]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _scanf
str wzr, [sp, #24]
b LBB1_5
LBB1_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_8
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_5 Depth=1
ldrsw x9, [sp, #24]
add x8, sp, #120
ldr s0, [x8, x9, lsl #2]
ldrsw x9, [sp, #24]
sub x8, x29, #104
ldr s1, [x8, x9, lsl #2]
fdiv s0, s0, s1
ldrsw x9, [sp, #24]
add x8, sp, #40
str s0, [x8, x9, lsl #2]
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_5 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB1_5
LBB1_8:
str wzr, [sp, #24]
b LBB1_9
LBB1_9: ; =>This Loop Header: Depth=1
; Child Loop BB1_11 Depth 2
ldr w8, [sp, #24]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_18
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_9 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #20]
b LBB1_11
LBB1_11: ; Parent Loop BB1_9 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #20]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_16
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_11 Depth=2
ldrsw x9, [sp, #24]
add x8, sp, #40
ldr s0, [x8, x9, lsl #2]
ldrsw x9, [sp, #20]
ldr s1, [x8, x9, lsl #2]
fcmp s0, s1
cset w8, pl
tbnz w8, #0, LBB1_14
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_11 Depth=2
ldrsw x9, [sp, #20]
add x8, sp, #40
ldr s0, [x8, x9, lsl #2]
str s0, [sp, #16]
ldrsw x9, [sp, #24]
ldr s0, [x8, x9, lsl #2]
ldrsw x9, [sp, #20]
str s0, [x8, x9, lsl #2]
ldr s0, [sp, #16]
ldrsw x9, [sp, #24]
str s0, [x8, x9, lsl #2]
ldrsw x9, [sp, #20]
sub x8, x29, #104
ldr s0, [x8, x9, lsl #2]
str s0, [sp, #16]
ldrsw x9, [sp, #24]
ldr s0, [x8, x9, lsl #2]
ldrsw x9, [sp, #20]
str s0, [x8, x9, lsl #2]
ldr s0, [sp, #16]
ldrsw x9, [sp, #24]
str s0, [x8, x9, lsl #2]
ldrsw x9, [sp, #20]
add x8, sp, #120
ldr s0, [x8, x9, lsl #2]
str s0, [sp, #16]
ldrsw x9, [sp, #24]
ldr s0, [x8, x9, lsl #2]
ldrsw x9, [sp, #20]
str s0, [x8, x9, lsl #2]
ldr s0, [sp, #16]
ldrsw x9, [sp, #24]
str s0, [x8, x9, lsl #2]
b LBB1_14
LBB1_14: ; in Loop: Header=BB1_11 Depth=2
b LBB1_15
LBB1_15: ; in Loop: Header=BB1_11 Depth=2
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB1_11
LBB1_16: ; in Loop: Header=BB1_9 Depth=1
b LBB1_17
LBB1_17: ; in Loop: Header=BB1_9 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB1_9
LBB1_18:
ldr w0, [sp, #28]
ldr s0, [sp, #32]
sub x1, x29, #104
add x2, sp, #120
bl _knapsack
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_20
b LBB1_19
LBB1_19:
bl ___stack_chk_fail
LBB1_20:
mov w0, #0
ldp x29, x30, [sp, #304] ; 16-byte Folded Reload
ldp x28, x27, [sp, #288] ; 16-byte Folded Reload
add sp, sp, #320
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\nThe result vector is:- "
l_.str.1: ; @.str.1
.asciz "%f\t"
l_.str.2: ; @.str.2
.asciz "\nMaximum profit is:- %f"
l_.str.3: ; @.str.3
.asciz "\nEnter the no. of objects:- "
l_.str.4: ; @.str.4
.asciz "%d"
l_.str.5: ; @.str.5
.asciz "\nEnter the wts and profits of each object:- "
l_.str.6: ; @.str.6
.asciz "%f %f"
l_.str.7: ; @.str.7
.asciz "\nEnter the capacityacity of knapsack:- "
l_.str.8: ; @.str.8
.asciz "%f"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function knapsack
LCPI0_0:
.long 0x3f800000 ## float 1
.section __TEXT,__text,regular,pure_instructions
.globl _knapsack
.p2align 4, 0x90
_knapsack: ## @knapsack
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $144, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -100(%rbp)
movq %rsi, -112(%rbp)
movq %rdx, -120(%rbp)
movss %xmm0, -124(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -128(%rbp)
cvttss2si -124(%rbp), %eax
movl %eax, -140(%rbp)
movl $0, -132(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -132(%rbp), %eax
cmpl -100(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -132(%rbp), %rax
xorps %xmm0, %xmm0
movss %xmm0, -96(%rbp,%rax,4)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -132(%rbp), %eax
addl $1, %eax
movl %eax, -132(%rbp)
jmp LBB0_1
LBB0_4:
movl $0, -132(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl -132(%rbp), %eax
cmpl -100(%rbp), %eax
jge LBB0_11
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq -112(%rbp), %rax
movslq -132(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtsi2ssl -140(%rbp), %xmm1
ucomiss %xmm1, %xmm0
jbe LBB0_8
## %bb.7:
jmp LBB0_11
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
movslq -132(%rbp), %rax
movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -96(%rbp,%rax,4)
movss -128(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -120(%rbp), %rax
movslq -132(%rbp), %rcx
addss (%rax,%rcx,4), %xmm0
movss %xmm0, -128(%rbp)
cvtsi2ssl -140(%rbp), %xmm0
movq -112(%rbp), %rax
movslq -132(%rbp), %rcx
subss (%rax,%rcx,4), %xmm0
cvttss2si %xmm0, %eax
movl %eax, -140(%rbp)
## %bb.9: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_10
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
movl -132(%rbp), %eax
addl $1, %eax
movl %eax, -132(%rbp)
jmp LBB0_5
LBB0_11:
movl -132(%rbp), %eax
cmpl -100(%rbp), %eax
jge LBB0_13
## %bb.12:
cvtsi2ssl -140(%rbp), %xmm0
movq -112(%rbp), %rax
movslq -132(%rbp), %rcx
divss (%rax,%rcx,4), %xmm0
movslq -132(%rbp), %rax
movss %xmm0, -96(%rbp,%rax,4)
LBB0_13:
movss -128(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movslq -132(%rbp), %rax
movss -96(%rbp,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -120(%rbp), %rax
movslq -132(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -128(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -132(%rbp)
LBB0_14: ## =>This Inner Loop Header: Depth=1
movl -132(%rbp), %eax
cmpl -100(%rbp), %eax
jge LBB0_17
## %bb.15: ## in Loop: Header=BB0_14 Depth=1
movslq -132(%rbp), %rax
movss -96(%rbp,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.1(%rip), %rdi
movb $1, %al
callq _printf
## %bb.16: ## in Loop: Header=BB0_14 Depth=1
movl -132(%rbp), %eax
addl $1, %eax
movl %eax, -132(%rbp)
jmp LBB0_14
LBB0_17:
movss -128(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_19
## %bb.18:
addq $144, %rsp
popq %rbp
retq
LBB0_19:
callq ___stack_chk_fail
ud2
.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 $288, %rsp ## imm = 0x120
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -260(%rbp)
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.4(%rip), %rdi
leaq -268(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -272(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -272(%rbp), %eax
cmpl -268(%rbp), %eax
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movslq -272(%rbp), %rax
leaq -96(%rbp), %rsi
shlq $2, %rax
addq %rax, %rsi
movslq -272(%rbp), %rax
leaq -176(%rbp), %rdx
shlq $2, %rax
addq %rax, %rdx
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -272(%rbp), %eax
addl $1, %eax
movl %eax, -272(%rbp)
jmp LBB1_1
LBB1_4:
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.8(%rip), %rdi
leaq -264(%rbp), %rsi
movb $0, %al
callq _scanf
movl $0, -272(%rbp)
LBB1_5: ## =>This Inner Loop Header: Depth=1
movl -272(%rbp), %eax
cmpl -268(%rbp), %eax
jge LBB1_8
## %bb.6: ## in Loop: Header=BB1_5 Depth=1
movslq -272(%rbp), %rax
movss -176(%rbp,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movslq -272(%rbp), %rax
divss -96(%rbp,%rax,4), %xmm0
movslq -272(%rbp), %rax
movss %xmm0, -256(%rbp,%rax,4)
## %bb.7: ## in Loop: Header=BB1_5 Depth=1
movl -272(%rbp), %eax
addl $1, %eax
movl %eax, -272(%rbp)
jmp LBB1_5
LBB1_8:
movl $0, -272(%rbp)
LBB1_9: ## =>This Loop Header: Depth=1
## Child Loop BB1_11 Depth 2
movl -272(%rbp), %eax
cmpl -268(%rbp), %eax
jge LBB1_18
## %bb.10: ## in Loop: Header=BB1_9 Depth=1
movl -272(%rbp), %eax
addl $1, %eax
movl %eax, -276(%rbp)
LBB1_11: ## Parent Loop BB1_9 Depth=1
## => This Inner Loop Header: Depth=2
movl -276(%rbp), %eax
cmpl -268(%rbp), %eax
jge LBB1_16
## %bb.12: ## in Loop: Header=BB1_11 Depth=2
movslq -272(%rbp), %rax
movss -256(%rbp,%rax,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movslq -276(%rbp), %rax
movss -256(%rbp,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB1_14
## %bb.13: ## in Loop: Header=BB1_11 Depth=2
movslq -276(%rbp), %rax
movss -256(%rbp,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -280(%rbp)
movslq -272(%rbp), %rax
movss -256(%rbp,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movslq -276(%rbp), %rax
movss %xmm0, -256(%rbp,%rax,4)
movss -280(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movslq -272(%rbp), %rax
movss %xmm0, -256(%rbp,%rax,4)
movslq -276(%rbp), %rax
movss -96(%rbp,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -280(%rbp)
movslq -272(%rbp), %rax
movss -96(%rbp,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movslq -276(%rbp), %rax
movss %xmm0, -96(%rbp,%rax,4)
movss -280(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movslq -272(%rbp), %rax
movss %xmm0, -96(%rbp,%rax,4)
movslq -276(%rbp), %rax
movss -176(%rbp,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -280(%rbp)
movslq -272(%rbp), %rax
movss -176(%rbp,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movslq -276(%rbp), %rax
movss %xmm0, -176(%rbp,%rax,4)
movss -280(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movslq -272(%rbp), %rax
movss %xmm0, -176(%rbp,%rax,4)
LBB1_14: ## in Loop: Header=BB1_11 Depth=2
jmp LBB1_15
LBB1_15: ## in Loop: Header=BB1_11 Depth=2
movl -276(%rbp), %eax
addl $1, %eax
movl %eax, -276(%rbp)
jmp LBB1_11
LBB1_16: ## in Loop: Header=BB1_9 Depth=1
jmp LBB1_17
LBB1_17: ## in Loop: Header=BB1_9 Depth=1
movl -272(%rbp), %eax
addl $1, %eax
movl %eax, -272(%rbp)
jmp LBB1_9
LBB1_18:
movl -268(%rbp), %edi
leaq -96(%rbp), %rsi
leaq -176(%rbp), %rdx
movss -264(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
callq _knapsack
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_20
## %bb.19:
xorl %eax, %eax
addq $288, %rsp ## imm = 0x120
popq %rbp
retq
LBB1_20:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\nThe result vector is:- "
L_.str.1: ## @.str.1
.asciz "%f\t"
L_.str.2: ## @.str.2
.asciz "\nMaximum profit is:- %f"
L_.str.3: ## @.str.3
.asciz "\nEnter the no. of objects:- "
L_.str.4: ## @.str.4
.asciz "%d"
L_.str.5: ## @.str.5
.asciz "\nEnter the wts and profits of each object:- "
L_.str.6: ## @.str.6
.asciz "%f %f"
L_.str.7: ## @.str.7
.asciz "\nEnter the capacityacity of knapsack:- "
L_.str.8: ## @.str.8
.asciz "%f"
.subsections_via_symbols
| the_stack_data/68888294.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _tabulate ; -- Begin function tabulate
.p2align 2
_tabulate: ; @tabulate
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
ldr w8, [x8]
stur w8, [x29, #-12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
str x8, [sp, #24] ; 8-byte Folded Spill
ldur x8, [x29, #-8]
ldr x8, [x8, #24]
ldur x0, [x29, #-8]
ldur s1, [x29, #-12]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
blr x8
ldr x9, [sp, #24] ; 8-byte Folded Reload
mov x8, sp
str x9, [x8]
str d0, [x8, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_4:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _square_value_at ; -- Begin function square_value_at
.p2align 2
_square_value_at: ; @square_value_at
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str d0, [sp]
ldr d0, [sp]
ldr d1, [sp]
fmul d0, d0, d1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _linear_value_at ; -- Begin function linear_value_at
.p2align 2
_linear_value_at: ; @linear_value_at
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str d0, [sp]
ldr x8, [sp, #8]
ldr d0, [x8, #8]
ldr d1, [sp]
ldr x8, [sp, #8]
ldr d2, [x8, #16]
fmadd d0, d0, d1, d2
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _generate_square ; -- Begin function generate_square
.p2align 2
_generate_square: ; @generate_square
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str w1, [sp, #4]
str w2, [sp]
ldr w8, [sp, #4]
ldr x9, [sp, #8]
str w8, [x9]
ldr w8, [sp]
ldr x9, [sp, #8]
str w8, [x9, #4]
ldr x8, [sp, #8]
movi d0, #0000000000000000
str d0, [x8, #8]
ldr x8, [sp, #8]
str d0, [x8, #16]
ldr x9, [sp, #8]
adrp x8, _square_value_at@PAGE
add x8, x8, _square_value_at@PAGEOFF
str x8, [x9, #24]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _generate_linear ; -- Begin function generate_linear
.p2align 2
_generate_linear: ; @generate_linear
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str w1, [sp, #20]
str w2, [sp, #16]
str d0, [sp, #8]
str d1, [sp]
ldr w8, [sp, #20]
ldr x9, [sp, #24]
str w8, [x9]
ldr w8, [sp, #16]
ldr x9, [sp, #24]
str w8, [x9, #4]
ldr d0, [sp, #8]
ldr x8, [sp, #24]
str d0, [x8, #8]
ldr d0, [sp]
ldr x8, [sp, #24]
str d0, [x8, #16]
ldr x9, [sp, #24]
adrp x8, _linear_value_at@PAGE
add x8, x8, _linear_value_at@PAGEOFF
str x8, [x9, #24]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _Square ; -- Begin function Square
.p2align 2
_Square: ; @Square
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
str w1, [sp, #8]
mov x0, #32
bl _malloc
str x0, [sp]
ldr x0, [sp]
ldur w1, [x29, #-4]
ldr w2, [sp, #8]
bl _generate_square
ldr x0, [sp]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _Linear ; -- Begin function Linear
.p2align 2
_Linear: ; @Linear
.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
stur w0, [x29, #-4]
stur w1, [x29, #-8]
str d0, [sp, #16]
str d1, [sp, #8]
mov x0, #32
bl _malloc
str x0, [sp]
ldr x0, [sp]
ldur w1, [x29, #-4]
ldur w2, [x29, #-8]
ldr d0, [sp, #16]
ldr d1, [sp, #8]
bl _generate_linear
ldr x0, [sp]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _value_at ; -- Begin function value_at
.p2align 2
_value_at: ; @value_at
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str d0, [sp]
ldr x8, [sp, #8]
ldr x8, [x8, #24]
ldr d0, [sp]
blr x8
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _negative_value_at ; -- Begin function negative_value_at
.p2align 2
_negative_value_at: ; @negative_value_at
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str d0, [sp]
ldr x8, [sp, #8]
ldr x8, [x8, #24]
ldr d0, [sp]
blr x8
fneg d0, d0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _same_functions_for_ints ; -- Begin function same_functions_for_ints
.p2align 2
_same_functions_for_ints: ; @same_functions_for_ints
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
str d0, [sp, #32]
ldur x8, [x29, #-16]
ldr w8, [x8]
ldur x9, [x29, #-24]
ldr w9, [x9]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB9_2
b LBB9_1
LBB9_1:
stur wzr, [x29, #-4]
b LBB9_13
LBB9_2:
ldur x8, [x29, #-16]
ldr w8, [x8, #4]
ldur x9, [x29, #-24]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB9_4
b LBB9_3
LBB9_3:
stur wzr, [x29, #-4]
b LBB9_13
LBB9_4:
ldur x8, [x29, #-16]
ldr w8, [x8]
str w8, [sp, #28]
b LBB9_5
LBB9_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
ldur x9, [x29, #-16]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB9_12
b LBB9_6
LBB9_6: ; in Loop: Header=BB9_5 Depth=1
ldur x0, [x29, #-16]
ldr s1, [sp, #28]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
bl _value_at
str d0, [sp, #8] ; 8-byte Folded Spill
ldur x0, [x29, #-24]
ldr s1, [sp, #28]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
bl _value_at
fmov d1, d0
ldr d0, [sp, #8] ; 8-byte Folded Reload
fsub d0, d0, d1
str d0, [sp, #16]
ldr d0, [sp, #16]
fcmp d0, #0.0
cset w8, pl
tbnz w8, #0, LBB9_8
b LBB9_7
LBB9_7: ; in Loop: Header=BB9_5 Depth=1
ldr d0, [sp, #16]
fneg d0, d0
str d0, [sp, #16]
b LBB9_8
LBB9_8: ; in Loop: Header=BB9_5 Depth=1
ldr d0, [sp, #16]
ldr d1, [sp, #32]
fcmp d0, d1
cset w8, le
tbnz w8, #0, LBB9_10
b LBB9_9
LBB9_9:
stur wzr, [x29, #-4]
b LBB9_13
LBB9_10: ; in Loop: Header=BB9_5 Depth=1
b LBB9_11
LBB9_11: ; in Loop: Header=BB9_5 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB9_5
LBB9_12:
mov w8, #1
stur w8, [x29, #-4]
b LBB9_13
LBB9_13:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function main
lCPI10_0:
.quad 0x3eb0c6f7a0b5ed8d ; double 9.9999999999999995E-7
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #20] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov w0, #-2
str w0, [sp, #12] ; 4-byte Folded Spill
mov w1, #2
str w1, [sp, #16] ; 4-byte Folded Spill
bl _Square
stur x0, [x29, #-16]
ldur x0, [x29, #-16]
bl _tabulate
ldr w0, [sp, #12] ; 4-byte Folded Reload
ldr w1, [sp, #16] ; 4-byte Folded Reload
fmov d0, #5.00000000
fmov d1, #-2.00000000
bl _Linear
str x0, [sp, #24]
ldr x0, [sp, #24]
bl _tabulate
ldur x0, [x29, #-16]
ldr x1, [sp, #24]
adrp x8, lCPI10_0@PAGE
ldr d0, [x8, lCPI10_0@PAGEOFF]
bl _same_functions_for_ints
subs w8, w0, #0
cset w8, ne
and w10, w8, #0x1
adrp x9, l_.str.3@PAGE
add x9, x9, l_.str.3@PAGEOFF
adrp x8, l_.str.2@PAGE
add x8, x8, l_.str.2@PAGEOFF
ands w10, w10, #0x1
csel x8, x8, x9, ne
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr x0, [sp, #24]
fmov d0, #1.00000000
bl _negative_value_at
mov x8, sp
str d0, [x8]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldur x0, [x29, #-16]
bl _free
ldr x0, [sp, #24]
bl _free
ldr w0, [sp, #20] ; 4-byte Folded Reload
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "f(%d)=%lf\n"
l_.str.1: ; @.str.1
.asciz "f1==f2: %s\n"
l_.str.2: ; @.str.2
.asciz "DA"
l_.str.3: ; @.str.3
.asciz "NE"
l_.str.4: ; @.str.4
.asciz "neg_val f2(1) = %lf\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _tabulate ## -- Begin function tabulate
.p2align 4, 0x90
_tabulate: ## @tabulate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movl (%rax), %eax
movl %eax, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
movq -8(%rbp), %rcx
cmpl 4(%rcx), %eax
jg LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
movl %eax, -16(%rbp) ## 4-byte Spill
movq -8(%rbp), %rax
movq 24(%rax), %rcx
movq -8(%rbp), %rdi
cvtsi2sdl -12(%rbp), %xmm0
movb $1, %al
callq *%rcx
movl -16(%rbp), %esi ## 4-byte Reload
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_4:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _square_value_at ## -- Begin function square_value_at
.p2align 4, 0x90
_square_value_at: ## @square_value_at
.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, -8(%rbp)
movsd %xmm0, -16(%rbp)
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
mulsd -16(%rbp), %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _linear_value_at ## -- Begin function linear_value_at
.p2align 4, 0x90
_linear_value_at: ## @linear_value_at
.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, -8(%rbp)
movsd %xmm0, -16(%rbp)
movq -8(%rbp), %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd -16(%rbp), %xmm2 ## xmm2 = mem[0],zero
movq -8(%rbp), %rax
movsd 16(%rax), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _generate_square ## -- Begin function generate_square
.p2align 4, 0x90
_generate_square: ## @generate_square
.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, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movl -12(%rbp), %ecx
movq -8(%rbp), %rax
movl %ecx, (%rax)
movl -16(%rbp), %ecx
movq -8(%rbp), %rax
movl %ecx, 4(%rax)
movq -8(%rbp), %rax
xorps %xmm0, %xmm0
movsd %xmm0, 8(%rax)
movq -8(%rbp), %rax
xorps %xmm0, %xmm0
movsd %xmm0, 16(%rax)
movq -8(%rbp), %rax
leaq _square_value_at(%rip), %rcx
movq %rcx, 24(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _generate_linear ## -- Begin function generate_linear
.p2align 4, 0x90
_generate_linear: ## @generate_linear
.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, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movsd %xmm0, -24(%rbp)
movsd %xmm1, -32(%rbp)
movl -12(%rbp), %ecx
movq -8(%rbp), %rax
movl %ecx, (%rax)
movl -16(%rbp), %ecx
movq -8(%rbp), %rax
movl %ecx, 4(%rax)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -8(%rbp), %rax
movsd %xmm0, 8(%rax)
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -8(%rbp), %rax
movsd %xmm0, 16(%rax)
movq -8(%rbp), %rax
leaq _linear_value_at(%rip), %rcx
movq %rcx, 24(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _Square ## -- Begin function Square
.p2align 4, 0x90
_Square: ## @Square
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl $32, %edi
callq _malloc
movq %rax, -16(%rbp)
movq -16(%rbp), %rdi
movl -4(%rbp), %esi
movl -8(%rbp), %edx
callq _generate_square
movq -16(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _Linear ## -- Begin function Linear
.p2align 4, 0x90
_Linear: ## @Linear
.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
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movsd %xmm0, -16(%rbp)
movsd %xmm1, -24(%rbp)
movl $32, %edi
callq _malloc
movq %rax, -32(%rbp)
movq -32(%rbp), %rdi
movl -4(%rbp), %esi
movl -8(%rbp), %edx
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -24(%rbp), %xmm1 ## xmm1 = mem[0],zero
callq _generate_linear
movq -32(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _value_at ## -- Begin function value_at
.p2align 4, 0x90
_value_at: ## @value_at
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movsd %xmm0, -16(%rbp)
movq -8(%rbp), %rax
movq 24(%rax), %rcx
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movb $1, %al
callq *%rcx
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _negative_value_at ## -- Begin function negative_value_at
.p2align 4, 0x90
_negative_value_at: ## @negative_value_at
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movsd %xmm0, -16(%rbp)
movq -8(%rbp), %rax
movq 24(%rax), %rcx
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movb $1, %al
callq *%rcx
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _same_functions_for_ints ## -- Begin function same_functions_for_ints
.p2align 4, 0x90
_same_functions_for_ints: ## @same_functions_for_ints
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movsd %xmm0, -32(%rbp)
movq -16(%rbp), %rax
movl (%rax), %eax
movq -24(%rbp), %rcx
cmpl (%rcx), %eax
je LBB9_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB9_13
LBB9_2:
movq -16(%rbp), %rax
movl 4(%rax), %eax
movq -24(%rbp), %rcx
cmpl 4(%rcx), %eax
je LBB9_4
## %bb.3:
movl $0, -4(%rbp)
jmp LBB9_13
LBB9_4:
movq -16(%rbp), %rax
movl (%rax), %eax
movl %eax, -36(%rbp)
LBB9_5: ## =>This Inner Loop Header: Depth=1
movl -36(%rbp), %eax
movq -16(%rbp), %rcx
cmpl 4(%rcx), %eax
jg LBB9_12
## %bb.6: ## in Loop: Header=BB9_5 Depth=1
movq -16(%rbp), %rdi
cvtsi2sdl -36(%rbp), %xmm0
callq _value_at
movsd %xmm0, -56(%rbp) ## 8-byte Spill
movq -24(%rbp), %rdi
cvtsi2sdl -36(%rbp), %xmm0
callq _value_at
movaps %xmm0, %xmm1
movsd -56(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
subsd %xmm1, %xmm0
movsd %xmm0, -48(%rbp)
xorps %xmm0, %xmm0
ucomisd -48(%rbp), %xmm0
jbe LBB9_8
## %bb.7: ## in Loop: Header=BB9_5 Depth=1
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -48(%rbp)
LBB9_8: ## in Loop: Header=BB9_5 Depth=1
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
ucomisd -32(%rbp), %xmm0
jbe LBB9_10
## %bb.9:
movl $0, -4(%rbp)
jmp LBB9_13
LBB9_10: ## in Loop: Header=BB9_5 Depth=1
jmp LBB9_11
LBB9_11: ## in Loop: Header=BB9_5 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB9_5
LBB9_12:
movl $1, -4(%rbp)
LBB9_13:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI10_0:
.quad 0x3ff0000000000000 ## double 1
LCPI10_1:
.quad 0x3eb0c6f7a0b5ed8d ## double 9.9999999999999995E-7
LCPI10_2:
.quad 0x4014000000000000 ## double 5
LCPI10_3:
.quad 0xc000000000000000 ## double -2
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl $4294967294, %edi ## imm = 0xFFFFFFFE
movl $2, %esi
callq _Square
movq %rax, -16(%rbp)
movq -16(%rbp), %rdi
callq _tabulate
movl $4294967294, %edi ## imm = 0xFFFFFFFE
movl $2, %esi
movsd LCPI10_2(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI10_3(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _Linear
movq %rax, -24(%rbp)
movq -24(%rbp), %rdi
callq _tabulate
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
movsd LCPI10_1(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _same_functions_for_ints
movl %eax, %ecx
leaq L_.str.3(%rip), %rsi
leaq L_.str.2(%rip), %rax
cmpl $0, %ecx
cmovneq %rax, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq -24(%rbp), %rdi
movsd LCPI10_0(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _negative_value_at
leaq L_.str.4(%rip), %rdi
movb $1, %al
callq _printf
movq -16(%rbp), %rdi
callq _free
movq -24(%rbp), %rdi
callq _free
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "f(%d)=%lf\n"
L_.str.1: ## @.str.1
.asciz "f1==f2: %s\n"
L_.str.2: ## @.str.2
.asciz "DA"
L_.str.3: ## @.str.3
.asciz "NE"
L_.str.4: ## @.str.4
.asciz "neg_val f2(1) = %lf\n"
.subsections_via_symbols
| the_stack_data/53618.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sdstrim ; -- Begin function sdstrim
.p2align 2
_sdstrim: ; @sdstrim
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
ldur x8, [x29, #-8]
stur x8, [x29, #-24]
str x8, [sp, #40]
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
ldur x0, [x29, #-8]
bl _strlen
ldr x8, [sp, #16] ; 8-byte Folded Reload
add x8, x8, x0
subs x8, x8, #1
stur x8, [x29, #-32]
str x8, [sp, #32]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #40]
ldur x9, [x29, #-32]
subs x8, x8, x9
cset w8, hi
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur x0, [x29, #-16]
ldr x8, [sp, #40]
ldrsb w1, [x8]
bl _strchr
subs x8, x0, #0
cset w8, ne
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #40]
add x8, x8, #1
str x8, [sp, #40]
b LBB0_1
LBB0_5:
b LBB0_6
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #32]
ldr x9, [sp, #40]
subs x8, x8, x9
cset w8, ls
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_6 Depth=1
ldur x0, [x29, #-16]
ldr x8, [sp, #32]
ldrsb w1, [x8]
bl _strchr
subs x8, x0, #0
cset w8, ne
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_6 Depth=1
ldr w8, [sp, #8] ; 4-byte Folded Reload
tbz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [sp, #32]
subs x8, x8, #1
str x8, [sp, #32]
b LBB0_6
LBB0_10:
ldr x8, [sp, #40]
ldr x9, [sp, #32]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
mov x8, #0
str x8, [sp] ; 8-byte Folded Spill
b LBB0_13
LBB0_12:
ldr x8, [sp, #32]
ldr x9, [sp, #40]
subs x8, x8, x9
add x8, x8, #1
str x8, [sp] ; 8-byte Folded Spill
b LBB0_13
LBB0_13:
ldr x8, [sp] ; 8-byte Folded Reload
str x8, [sp, #24]
ldur x8, [x29, #-8]
ldr x9, [sp, #40]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14:
ldur x0, [x29, #-8]
ldr x1, [sp, #40]
ldr x2, [sp, #24]
mov x3, #-1
bl ___memmove_chk
b LBB0_15
LBB0_15:
ldur x8, [x29, #-8]
ldr x9, [sp, #24]
add x8, x8, x9
strb wzr, [x8]
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #192
.cfi_def_cfa_offset 192
stp x29, x30, [sp, #176] ; 16-byte Folded Spill
add x29, sp, #176
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #36]
str w0, [sp, #32]
str x1, [sp, #24]
add x0, sp, #40
str x0, [sp, #8] ; 8-byte Folded Spill
adrp x1, l___const.main.s@PAGE
add x1, x1, l___const.main.s@PAGEOFF
mov x2, #128
bl _memcpy
ldr x0, [sp, #8] ; 8-byte Folded Reload
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _sdstrim
str x0, [sp, #16]
ldr x8, [sp, #16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
bl ___stack_chk_fail
LBB1_2:
mov w0, #0
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
add sp, sp, #192
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
l___const.main.s: ; @__const.main.s
.asciz "AAAA.... heallo ...aaa\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "A. a"
l_.str.1: ; @.str.1
.asciz "strim:%s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sdstrim ## -- Begin function sdstrim
.p2align 4, 0x90
_sdstrim: ## @sdstrim
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rax
movq %rax, -24(%rbp)
movq %rax, -40(%rbp)
movq -8(%rbp), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movq -8(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movq -64(%rbp), %rax ## 8-byte Reload
addq %rcx, %rax
addq $-1, %rax
movq %rax, -32(%rbp)
movq %rax, -48(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -40(%rbp), %rcx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq -32(%rbp), %rcx
movb %al, -65(%rbp) ## 1-byte Spill
ja LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rdi
movq -40(%rbp), %rax
movsbl (%rax), %esi
callq _strchr
cmpq $0, %rax
setne %al
movb %al, -65(%rbp) ## 1-byte Spill
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movb -65(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_4
jmp LBB0_5
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
addq $1, %rax
movq %rax, -40(%rbp)
jmp LBB0_1
LBB0_5:
jmp LBB0_6
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq -48(%rbp), %rcx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq -40(%rbp), %rcx
movb %al, -66(%rbp) ## 1-byte Spill
jbe LBB0_8
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movq -16(%rbp), %rdi
movq -48(%rbp), %rax
movsbl (%rax), %esi
callq _strchr
cmpq $0, %rax
setne %al
movb %al, -66(%rbp) ## 1-byte Spill
LBB0_8: ## in Loop: Header=BB0_6 Depth=1
movb -66(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_9
jmp LBB0_10
LBB0_9: ## in Loop: Header=BB0_6 Depth=1
movq -48(%rbp), %rax
addq $-1, %rax
movq %rax, -48(%rbp)
jmp LBB0_6
LBB0_10:
movq -40(%rbp), %rax
cmpq -48(%rbp), %rax
jbe LBB0_12
## %bb.11:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -80(%rbp) ## 8-byte Spill
jmp LBB0_13
LBB0_12:
movq -48(%rbp), %rax
movq -40(%rbp), %rcx
subq %rcx, %rax
addq $1, %rax
movq %rax, -80(%rbp) ## 8-byte Spill
LBB0_13:
movq -80(%rbp), %rax ## 8-byte Reload
movq %rax, -56(%rbp)
movq -8(%rbp), %rax
cmpq -40(%rbp), %rax
je LBB0_15
## %bb.14:
movq -8(%rbp), %rdi
movq -40(%rbp), %rsi
movq -56(%rbp), %rdx
movq $-1, %rcx
callq ___memmove_chk
LBB0_15:
movq -8(%rbp), %rax
movq -56(%rbp), %rcx
movb $0, (%rax,%rcx)
movq -8(%rbp), %rax
addq $80, %rsp
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 $176, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -148(%rbp)
movl %edi, -152(%rbp)
movq %rsi, -160(%rbp)
leaq -144(%rbp), %rdi
leaq l___const.main.s(%rip), %rsi
movl $128, %edx
callq _memcpy
leaq -144(%rbp), %rdi
leaq L_.str(%rip), %rsi
callq _sdstrim
movq %rax, -168(%rbp)
movq -168(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_2
## %bb.1:
xorl %eax, %eax
addq $176, %rsp
popq %rbp
retq
LBB1_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.main.s
l___const.main.s:
.asciz "AAAA.... heallo ...aaa\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "A. a"
L_.str.1: ## @.str.1
.asciz "strim:%s\n"
.subsections_via_symbols
| the_stack_data/372831.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __DATA,__data
.globl _kpnu1_maz ; @kpnu1_maz
.p2align 2
_kpnu1_maz:
.long 14 ; 0xe
.long 10 ; 0xa
.long 9 ; 0x9
.long 12 ; 0xc
.long 10 ; 0xa
.long 10 ; 0xa
.long 8 ; 0x8
.long 10 ; 0xa
.long 10 ; 0xa
.long 10 ; 0xa
.long 10 ; 0xa
.long 8 ; 0x8
.long 10 ; 0xa
.long 9 ; 0x9
.long 14 ; 0xe
.long 9 ; 0x9
.long 14 ; 0xe
.long 11 ; 0xb
.long 5 ; 0x5
.long 4 ; 0x4
.long 10 ; 0xa
.long 10 ; 0xa
.long 2 ; 0x2
.long 8 ; 0x8
.long 10 ; 0xa
.long 10 ; 0xa
.long 9 ; 0x9
.long 6 ; 0x6
.long 9 ; 0x9
.long 6 ; 0x6
.long 9 ; 0x9
.long 5 ; 0x5
.long 12 ; 0xc
.long 10 ; 0xa
.long 3 ; 0x3
.long 5 ; 0x5
.long 12 ; 0xc
.long 10 ; 0xa
.long 10 ; 0xa
.long 0 ; 0x0
.long 10 ; 0xa
.long 9 ; 0x9
.long 6 ; 0x6
.long 9 ; 0x9
.long 6 ; 0x6
.long 9 ; 0x9
.long 6 ; 0x6
.long 1 ; 0x1
.long 5 ; 0x5
.long 12 ; 0xc
.long 9 ; 0x9
.long 4 ; 0x4
.long 2 ; 0x2
.long 10 ; 0xa
.long 10 ; 0xa
.long 3 ; 0x3
.long 14 ; 0xe
.long 2 ; 0x2
.long 9 ; 0x9
.long 6 ; 0x6
.long 9 ; 0x9
.long 6 ; 0x6
.long 9 ; 0x9
.long 5 ; 0x5
.long 6 ; 0x6
.long 1 ; 0x1
.long 4 ; 0x4
.long 2 ; 0x2
.long 10 ; 0xa
.long 10 ; 0xa
.long 8 ; 0x8
.long 8 ; 0x8
.long 10 ; 0xa
.long 9 ; 0x9
.long 6 ; 0x6
.long 9 ; 0x9
.long 6 ; 0x6
.long 9 ; 0x9
.long 6 ; 0x6
.long 1 ; 0x1
.long 13 ; 0xd
.long 6 ; 0x6
.long 2 ; 0x2
.long 10 ; 0xa
.long 10 ; 0xa
.long 10 ; 0xa
.long 3 ; 0x3
.long 5 ; 0x5
.long 14 ; 0xe
.long 2 ; 0x2
.long 9 ; 0x9
.long 6 ; 0x6
.long 9 ; 0x9
.long 6 ; 0x6
.long 9 ; 0x9
.long 5 ; 0x5
.long 4 ; 0x4
.long 10 ; 0xa
.long 9 ; 0x9
.long 13 ; 0xd
.long 12 ; 0xc
.long 11 ; 0xb
.long 12 ; 0xc
.long 2 ; 0x2
.long 10 ; 0xa
.long 11 ; 0xb
.long 6 ; 0x6
.long 11 ; 0xb
.long 6 ; 0x6
.long 9 ; 0x9
.long 6 ; 0x6
.long 1 ; 0x1
.long 6 ; 0x6
.long 9 ; 0x9
.long 6 ; 0x6
.long 0 ; 0x0
.long 3 ; 0x3
.long 12 ; 0xc
.long 3 ; 0x3
.long 12 ; 0xc
.long 8 ; 0x8
.long 10 ; 0xa
.long 8 ; 0x8
.long 10 ; 0xa
.long 11 ; 0xb
.long 6 ; 0x6
.long 9 ; 0x9
.long 5 ; 0x5
.long 13 ; 0xd
.long 4 ; 0x4
.long 11 ; 0xb
.long 4 ; 0x4
.long 11 ; 0xb
.long 4 ; 0x4
.long 11 ; 0xb
.long 6 ; 0x6
.long 3 ; 0x3
.long 14 ; 0xe
.long 2 ; 0x2
.long 8 ; 0x8
.long 10 ; 0xa
.long 11 ; 0xb
.long 6 ; 0x6
.long 1 ; 0x1
.long 4 ; 0x4
.long 3 ; 0x3
.long 12 ; 0xc
.long 0 ; 0x0
.long 9 ; 0x9
.long 6 ; 0x6
.long 9 ; 0x9
.long 13 ; 0xd
.long 14 ; 0xe
.long 9 ; 0x9
.long 14 ; 0xe
.long 2 ; 0x2
.long 9 ; 0x9
.long 12 ; 0xc
.long 10 ; 0xa
.long 3 ; 0x3
.long 6 ; 0x6
.long 9 ; 0x9
.long 7 ; 0x7
.long 5 ; 0x5
.long 6 ; 0x6
.long 9 ; 0x9
.long 6 ; 0x6
.long 1 ; 0x1
.long 12 ; 0xc
.long 2 ; 0x2
.long 8 ; 0x8
.long 8 ; 0x8
.long 3 ; 0x3
.long 6 ; 0x6
.long 10 ; 0xa
.long 9 ; 0x9
.long 13 ; 0xd
.long 4 ; 0x4
.long 9 ; 0x9
.long 6 ; 0x6
.long 9 ; 0x9
.long 6 ; 0x6
.long 9 ; 0x9
.long 5 ; 0x5
.long 4 ; 0x4
.long 9 ; 0x9
.long 7 ; 0x7
.long 6 ; 0x6
.long 9 ; 0x9
.long 12 ; 0xc
.long 10 ; 0xa
.long 3 ; 0x3
.long 6 ; 0x6
.long 1 ; 0x1
.long 6 ; 0x6
.long 9 ; 0x9
.long 6 ; 0x6
.long 9 ; 0x9
.long 6 ; 0x6
.long 3 ; 0x3
.long 5 ; 0x5
.long 4 ; 0x4
.long 9 ; 0x9
.long 14 ; 0xe
.long 3 ; 0x3
.long 6 ; 0x6
.long 10 ; 0xa
.long 9 ; 0x9
.long 13 ; 0xd
.long 6 ; 0x6
.long 9 ; 0x9
.long 6 ; 0x6
.long 9 ; 0x9
.long 6 ; 0x6
.long 9 ; 0x9
.long 13 ; 0xd
.long 4 ; 0x4
.long 3 ; 0x3
.long 6 ; 0x6
.long 9 ; 0x9
.long 13 ; 0xd
.long 13 ; 0xd
.long 13 ; 0xd
.long 5 ; 0x5
.long 4 ; 0x4
.long 9 ; 0x9
.long 6 ; 0x6
.long 9 ; 0x9
.long 6 ; 0x6
.long 10 ; 0xa
.long 3 ; 0x3
.long 5 ; 0x5
.long 4 ; 0x4
.long 10 ; 0xa
.long 8 ; 0x8
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 1 ; 0x1
.long 7 ; 0x7
.long 6 ; 0x6
.long 10 ; 0xa
.long 2 ; 0x2
.long 10 ; 0xa
.long 10 ; 0xa
.long 10 ; 0xa
.long 3 ; 0x3
.long 6 ; 0x6
.long 11 ; 0xb
.long 7 ; 0x7
.long 7 ; 0x7
.long 7 ; 0x7
.long 7 ; 0x7
.long 7 ; 0x7
.long 7 ; 0x7
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __DATA,__data
.globl _kpnu1_maz ## @kpnu1_maz
.p2align 4
_kpnu1_maz:
.long 14 ## 0xe
.long 10 ## 0xa
.long 9 ## 0x9
.long 12 ## 0xc
.long 10 ## 0xa
.long 10 ## 0xa
.long 8 ## 0x8
.long 10 ## 0xa
.long 10 ## 0xa
.long 10 ## 0xa
.long 10 ## 0xa
.long 8 ## 0x8
.long 10 ## 0xa
.long 9 ## 0x9
.long 14 ## 0xe
.long 9 ## 0x9
.long 14 ## 0xe
.long 11 ## 0xb
.long 5 ## 0x5
.long 4 ## 0x4
.long 10 ## 0xa
.long 10 ## 0xa
.long 2 ## 0x2
.long 8 ## 0x8
.long 10 ## 0xa
.long 10 ## 0xa
.long 9 ## 0x9
.long 6 ## 0x6
.long 9 ## 0x9
.long 6 ## 0x6
.long 9 ## 0x9
.long 5 ## 0x5
.long 12 ## 0xc
.long 10 ## 0xa
.long 3 ## 0x3
.long 5 ## 0x5
.long 12 ## 0xc
.long 10 ## 0xa
.long 10 ## 0xa
.long 0 ## 0x0
.long 10 ## 0xa
.long 9 ## 0x9
.long 6 ## 0x6
.long 9 ## 0x9
.long 6 ## 0x6
.long 9 ## 0x9
.long 6 ## 0x6
.long 1 ## 0x1
.long 5 ## 0x5
.long 12 ## 0xc
.long 9 ## 0x9
.long 4 ## 0x4
.long 2 ## 0x2
.long 10 ## 0xa
.long 10 ## 0xa
.long 3 ## 0x3
.long 14 ## 0xe
.long 2 ## 0x2
.long 9 ## 0x9
.long 6 ## 0x6
.long 9 ## 0x9
.long 6 ## 0x6
.long 9 ## 0x9
.long 5 ## 0x5
.long 6 ## 0x6
.long 1 ## 0x1
.long 4 ## 0x4
.long 2 ## 0x2
.long 10 ## 0xa
.long 10 ## 0xa
.long 8 ## 0x8
.long 8 ## 0x8
.long 10 ## 0xa
.long 9 ## 0x9
.long 6 ## 0x6
.long 9 ## 0x9
.long 6 ## 0x6
.long 9 ## 0x9
.long 6 ## 0x6
.long 1 ## 0x1
.long 13 ## 0xd
.long 6 ## 0x6
.long 2 ## 0x2
.long 10 ## 0xa
.long 10 ## 0xa
.long 10 ## 0xa
.long 3 ## 0x3
.long 5 ## 0x5
.long 14 ## 0xe
.long 2 ## 0x2
.long 9 ## 0x9
.long 6 ## 0x6
.long 9 ## 0x9
.long 6 ## 0x6
.long 9 ## 0x9
.long 5 ## 0x5
.long 4 ## 0x4
.long 10 ## 0xa
.long 9 ## 0x9
.long 13 ## 0xd
.long 12 ## 0xc
.long 11 ## 0xb
.long 12 ## 0xc
.long 2 ## 0x2
.long 10 ## 0xa
.long 11 ## 0xb
.long 6 ## 0x6
.long 11 ## 0xb
.long 6 ## 0x6
.long 9 ## 0x9
.long 6 ## 0x6
.long 1 ## 0x1
.long 6 ## 0x6
.long 9 ## 0x9
.long 6 ## 0x6
.long 0 ## 0x0
.long 3 ## 0x3
.long 12 ## 0xc
.long 3 ## 0x3
.long 12 ## 0xc
.long 8 ## 0x8
.long 10 ## 0xa
.long 8 ## 0x8
.long 10 ## 0xa
.long 11 ## 0xb
.long 6 ## 0x6
.long 9 ## 0x9
.long 5 ## 0x5
.long 13 ## 0xd
.long 4 ## 0x4
.long 11 ## 0xb
.long 4 ## 0x4
.long 11 ## 0xb
.long 4 ## 0x4
.long 11 ## 0xb
.long 6 ## 0x6
.long 3 ## 0x3
.long 14 ## 0xe
.long 2 ## 0x2
.long 8 ## 0x8
.long 10 ## 0xa
.long 11 ## 0xb
.long 6 ## 0x6
.long 1 ## 0x1
.long 4 ## 0x4
.long 3 ## 0x3
.long 12 ## 0xc
.long 0 ## 0x0
.long 9 ## 0x9
.long 6 ## 0x6
.long 9 ## 0x9
.long 13 ## 0xd
.long 14 ## 0xe
.long 9 ## 0x9
.long 14 ## 0xe
.long 2 ## 0x2
.long 9 ## 0x9
.long 12 ## 0xc
.long 10 ## 0xa
.long 3 ## 0x3
.long 6 ## 0x6
.long 9 ## 0x9
.long 7 ## 0x7
.long 5 ## 0x5
.long 6 ## 0x6
.long 9 ## 0x9
.long 6 ## 0x6
.long 1 ## 0x1
.long 12 ## 0xc
.long 2 ## 0x2
.long 8 ## 0x8
.long 8 ## 0x8
.long 3 ## 0x3
.long 6 ## 0x6
.long 10 ## 0xa
.long 9 ## 0x9
.long 13 ## 0xd
.long 4 ## 0x4
.long 9 ## 0x9
.long 6 ## 0x6
.long 9 ## 0x9
.long 6 ## 0x6
.long 9 ## 0x9
.long 5 ## 0x5
.long 4 ## 0x4
.long 9 ## 0x9
.long 7 ## 0x7
.long 6 ## 0x6
.long 9 ## 0x9
.long 12 ## 0xc
.long 10 ## 0xa
.long 3 ## 0x3
.long 6 ## 0x6
.long 1 ## 0x1
.long 6 ## 0x6
.long 9 ## 0x9
.long 6 ## 0x6
.long 9 ## 0x9
.long 6 ## 0x6
.long 3 ## 0x3
.long 5 ## 0x5
.long 4 ## 0x4
.long 9 ## 0x9
.long 14 ## 0xe
.long 3 ## 0x3
.long 6 ## 0x6
.long 10 ## 0xa
.long 9 ## 0x9
.long 13 ## 0xd
.long 6 ## 0x6
.long 9 ## 0x9
.long 6 ## 0x6
.long 9 ## 0x9
.long 6 ## 0x6
.long 9 ## 0x9
.long 13 ## 0xd
.long 4 ## 0x4
.long 3 ## 0x3
.long 6 ## 0x6
.long 9 ## 0x9
.long 13 ## 0xd
.long 13 ## 0xd
.long 13 ## 0xd
.long 5 ## 0x5
.long 4 ## 0x4
.long 9 ## 0x9
.long 6 ## 0x6
.long 9 ## 0x9
.long 6 ## 0x6
.long 10 ## 0xa
.long 3 ## 0x3
.long 5 ## 0x5
.long 4 ## 0x4
.long 10 ## 0xa
.long 8 ## 0x8
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 1 ## 0x1
.long 7 ## 0x7
.long 6 ## 0x6
.long 10 ## 0xa
.long 2 ## 0x2
.long 10 ## 0xa
.long 10 ## 0xa
.long 10 ## 0xa
.long 3 ## 0x3
.long 6 ## 0x6
.long 11 ## 0xb
.long 7 ## 0x7
.long 7 ## 0x7
.long 7 ## 0x7
.long 7 ## 0x7
.long 7 ## 0x7
.long 7 ## 0x7
.subsections_via_symbols
| the_stack_data/95790.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _write_logger ; -- Begin function write_logger
.p2align 2
_write_logger: ; @write_logger
.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
stur x0, [x29, #-8]
str x1, [sp, #16]
ldur x10, [x29, #-8]
ldr x8, [sp, #16]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: %s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _write_logger ## -- Begin function write_logger
.p2align 4, 0x90
_write_logger: ## @write_logger
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rsi
movq -16(%rbp), %rdx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: %s\n"
.subsections_via_symbols
| the_stack_data/94418.c |
.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/52590.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.comm _arg1,1,0 ; @arg1
.comm _arg2,1,0 ; @arg2
.comm _pad1,1,0 ; @pad1
.comm _pad1_new,1,0 ; @pad1_new
.comm _temp,1,0 ; @temp
.comm _i,1,0 ; @i
.comm _temp_x,1,0 ; @temp_x
.comm _temp_y,1,0 ; @temp_y
.comm _temp_char,1,0 ; @temp_char
.comm _temp_attr,1,0 ; @temp_attr
.comm _temp_bank,1,0 ; @temp_bank
.comm _temp_int,4,2 ; @temp_int
.comm _temp_int_x,4,2 ; @temp_int_x
.comm _temp_int_y,4,2 ; @temp_int_y
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.comm _arg1,1,0 ## @arg1
.comm _arg2,1,0 ## @arg2
.comm _pad1,1,0 ## @pad1
.comm _pad1_new,1,0 ## @pad1_new
.comm _temp,1,0 ## @temp
.comm _i,1,0 ## @i
.comm _temp_x,1,0 ## @temp_x
.comm _temp_y,1,0 ## @temp_y
.comm _temp_char,1,0 ## @temp_char
.comm _temp_attr,1,0 ## @temp_attr
.comm _temp_bank,1,0 ## @temp_bank
.comm _temp_int,4,2 ## @temp_int
.comm _temp_int_x,4,2 ## @temp_int_x
.comm _temp_int_y,4,2 ## @temp_int_y
.subsections_via_symbols
| the_stack_data/179831393.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mx_strlen ; -- Begin function mx_strlen
.p2align 2
_mx_strlen: ; @mx_strlen
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str wzr, [sp, #4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB0_1
LBB0_3:
ldr w0, [sp, #4]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mx_strlen ## -- Begin function mx_strlen
.p2align 4, 0x90
_mx_strlen: ## @mx_strlen
.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, -8(%rbp)
movl $0, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_3:
movl -12(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/130730.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _update ; -- Begin function update
.p2align 2
_update: ; @update
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str wzr, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
adrp x9, _nx@PAGE
ldr w9, [x9, _nx@PAGEOFF]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
adrp x8, _u@GOTPAGE
ldr x8, [x8, _u@GOTPAGEOFF]
ldr x9, [x8]
ldrsw x10, [sp, #8]
ldr d0, [x9, x10, lsl #3]
fmov d1, #2.00000000
fmul d0, d0, d1
ldr x8, [x8]
ldrsw x9, [sp, #8]
str d0, [x8, x9, lsl #3]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_1
LBB0_4:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #0
str w0, [sp, #4] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov w8, #7
str w8, [sp, #8]
bl _update
ldr w0, [sp, #4] ; 4-byte Folded Reload
mov w8, #8
str w8, [sp, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _nx ; @nx
.p2align 2
_nx:
.long 10 ; 0xa
.comm _u,8,3 ; @u
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function update
LCPI0_0:
.quad 0x4000000000000000 ## double 2
.section __TEXT,__text,regular,pure_instructions
.globl _update
.p2align 4, 0x90
_update: ## @update
.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, -4(%rbp)
movl $0, -8(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %eax
cmpl _nx(%rip), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq _u@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -8(%rbp), %rcx
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd (%rax,%rcx,8), %xmm0
movq _u@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -8(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_4:
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
movl $0, -4(%rbp)
movl $7, -8(%rbp)
xorl %edi, %edi
callq _update
movl $8, -8(%rbp)
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _nx ## @nx
.p2align 2
_nx:
.long 10 ## 0xa
.comm _u,8,3 ## @u
.subsections_via_symbols
| the_stack_data/117076.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x1, [sp, #16]
str wzr, [sp, #12]
ldur w8, [x29, #-8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_11
LBB0_2:
ldur w8, [x29, #-8]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB0_9
b LBB0_3
LBB0_3:
ldur w8, [x29, #-8]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB0_9
b LBB0_4
LBB0_4:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
str wzr, [sp, #12]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
ldr x8, [x8, x9, lsl #3]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_5
LBB0_8:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_10
LBB0_9:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_10
LBB0_10:
b LBB0_11
LBB0_11:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "You only have one argument. You suck.\n"
l_.str.1: ; @.str.1
.asciz "Here's your arguments:\n"
l_.str.2: ; @.str.2
.asciz "%s "
l_.str.3: ; @.str.3
.asciz "\n"
l_.str.4: ; @.str.4
.asciz "You have too many arguments. You suck.\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 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
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $0, -20(%rbp)
cmpl $1, -8(%rbp)
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_11
LBB0_2:
cmpl $1, -8(%rbp)
jle LBB0_9
## %bb.3:
cmpl $4, -8(%rbp)
jge LBB0_9
## %bb.4:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -20(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_5
LBB0_8:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_10
LBB0_9:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
LBB0_10:
jmp LBB0_11
LBB0_11:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "You only have one argument. You suck.\n"
L_.str.1: ## @.str.1
.asciz "Here's your arguments:\n"
L_.str.2: ## @.str.2
.asciz "%s "
L_.str.3: ## @.str.3
.asciz "\n"
L_.str.4: ## @.str.4
.asciz "You have too many arguments. You suck.\n"
.subsections_via_symbols
| the_stack_data/38281.c |
.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 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
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #28]
str wzr, [sp, #24]
str wzr, [sp, #20]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
subs w8, w8, #9
cset w8, gt
tbnz w8, #0, LBB0_7
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #20]
add w10, w8, #1
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #16
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr w8, [sp, #16]
ldrsw x10, [sp, #20]
add x9, sp, #32
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #20]
add w8, w8, #1
mov w10, #2
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #28]
ldrsw x10, [sp, #20]
add x9, sp, #32
ldr w9, [x9, x10, lsl #2]
add w8, w8, w9
str w8, [sp, #28]
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #24]
ldrsw x10, [sp, #20]
add x9, sp, #32
ldr w9, [x9, x10, lsl #2]
add w8, w8, w9
str w8, [sp, #24]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_1
LBB0_7:
ldr w8, [sp, #24]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #28]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
bl ___stack_chk_fail
LBB0_9:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter the %d No."
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Sum of\n Even No.s is %d \n Odd No. is %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 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 $64, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -52(%rbp)
movl $0, -56(%rbp)
movl $0, -60(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $9, -60(%rbp)
jg LBB0_7
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -60(%rbp), %esi
addl $1, %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -64(%rbp), %rsi
movb $0, %al
callq _scanf
movl -64(%rbp), %ecx
movslq -60(%rbp), %rax
movl %ecx, -48(%rbp,%rax,4)
movl -60(%rbp), %eax
addl $1, %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -52(%rbp), %eax
movslq -60(%rbp), %rcx
addl -48(%rbp,%rcx,4), %eax
movl %eax, -52(%rbp)
jmp LBB0_5
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl -56(%rbp), %eax
movslq -60(%rbp), %rcx
addl -48(%rbp,%rcx,4), %eax
movl %eax, -56(%rbp)
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_6
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
jmp LBB0_1
LBB0_7:
movl -56(%rbp), %esi
movl -52(%rbp), %edx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_9
## %bb.8:
addq $64, %rsp
popq %rbp
retq
LBB0_9:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter the %d No."
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Sum of\n Even No.s is %d \n Odd No. is %d \n"
.subsections_via_symbols
| the_stack_data/370562.c |
.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, #352
.cfi_def_cfa_offset 352
stp x28, x27, [sp, #320] ; 16-byte Folded Spill
stp x29, x30, [sp, #336] ; 16-byte Folded Spill
add x29, sp, #336
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #52]
str w0, [sp, #48]
str x1, [sp, #40]
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x0, [x8]
mov x1, #0
mov w2, #2
mov x3, #0
bl _setvbuf
str wzr, [sp, #36]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #56
str x8, [sp, #16] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr x8, [sp, #16] ; 8-byte Folded Reload
str x8, [sp, #24]
ldr x8, [sp, #24]
mov w0, #1
blr x8
str w0, [sp, #36]
ldr x8, [sp, #24]
mov w0, #10
blr x8
subs w8, w0, #16
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldr x8, [sp, #24]
mov w0, #32
blr x8
subs w8, w0, #64
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _system
b LBB0_3
LBB0_3:
ldr w9, [sp, #36]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr w8, [sp, #52]
str w8, [sp, #12] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
bl ___stack_chk_fail
LBB0_5:
ldr w0, [sp, #12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #336] ; 16-byte Folded Reload
ldp x28, x27, [sp, #320] ; 16-byte Folded Reload
add sp, sp, #352
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Input your function:\n"
l_.str.1: ; @.str.1
.asciz "%s"
l_.str.2: ; @.str.2
.asciz "/bin/cat /flag"
l_.str.3: ; @.str.3
.asciz "result: %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 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 $320, %rsp ## imm = 0x140
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -276(%rbp)
movl %edi, -280(%rbp)
movq %rsi, -288(%rbp)
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
xorl %eax, %eax
movl %eax, %ecx
movl $2, %edx
movq %rcx, %rsi
callq _setvbuf
movl $0, -292(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -272(%rbp), %rsi
movb $0, %al
callq _scanf
leaq -272(%rbp), %rax
movq %rax, -304(%rbp)
movl $1, %edi
callq *-304(%rbp)
movl %eax, -292(%rbp)
movl $10, %edi
callq *-304(%rbp)
cmpl $16, %eax
jne LBB0_3
## %bb.1:
movl $32, %edi
callq *-304(%rbp)
cmpl $64, %eax
jne LBB0_3
## %bb.2:
leaq L_.str.2(%rip), %rdi
callq _system
LBB0_3:
movl -292(%rbp), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl -276(%rbp), %eax
movl %eax, -308(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_5
## %bb.4:
movl -308(%rbp), %eax ## 4-byte Reload
addq $320, %rsp ## imm = 0x140
popq %rbp
retq
LBB0_5:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Input your function:\n"
L_.str.1: ## @.str.1
.asciz "%s"
L_.str.2: ## @.str.2
.asciz "/bin/cat /flag"
L_.str.3: ## @.str.3
.asciz "result: %d\n"
.subsections_via_symbols
| the_stack_data/150142423.c |
.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, #-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 w27, -24
.cfi_offset w28, -32
sub sp, sp, #1584
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x2, [x8]
add x0, sp, #560
mov w1, #1024
bl _fgets
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_17
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
add x0, sp, #560
str x0, [sp, #24] ; 8-byte Folded Spill
bl _strlen
ldr x8, [sp, #24] ; 8-byte Folded Reload
subs x9, x0, #1
add x8, x8, x9
strb wzr, [x8]
bl _vfork
str w0, [sp, #44]
ldr w8, [sp, #44]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #44]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_5
LBB0_5:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
add x0, sp, #560
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _strtok
ldrsw x9, [sp, #36]
add x8, sp, #48
str x0, [x8, x9, lsl #3]
str wzr, [sp, #36]
b LBB0_6
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldrsw x9, [sp, #36]
add x8, sp, #48
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_6 Depth=1
mov x0, #0
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _strtok
ldr w8, [sp, #36]
add w9, w8, #1
str w9, [sp, #36]
add x8, sp, #48
str x0, [x8, w9, sxtw #3]
b LBB0_6
LBB0_8:
ldr w8, [sp, #36]
add w10, w8, #1
add x9, sp, #48
mov x8, #0
str x8, [x9, w10, sxtw #3]
str wzr, [sp, #36]
b LBB0_9
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldrsw x9, [sp, #36]
add x8, sp, #48
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
ldr w9, [sp, #36]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldrsw x9, [sp, #36]
mov x8, x9
add w8, w8, #1
str w8, [sp, #36]
add x8, sp, #48
ldr x8, [x8, x9, lsl #3]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB0_9
LBB0_11:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
add x1, sp, #48
ldr x0, [sp, #48]
bl _execvp
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_12: ; in Loop: Header=BB0_1 Depth=1
ldr w0, [sp, #44]
add x1, sp, #40
mov w2, #0
bl _waitpid
str w0, [sp, #44]
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _perror
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
ldr w8, [sp, #40]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #40]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
ldr w0, [sp, #40]
bl _pr_exit
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_1 Depth=1
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_17:
mov w0, #0
bl _exit
.cfi_endproc
; -- End function
.globl _pr_exit ; -- Begin function pr_exit
.p2align 2
_pr_exit: ; @pr_exit
.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
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
ands w8, w8, #0x7f
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldur w8, [x29, #-4]
asr w8, w8, #8
and w10, w8, #0xff
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
b LBB1_10
LBB1_2:
ldur w8, [x29, #-4]
and w8, w8, #0x7f
subs w8, w8, #127
cset w8, eq
tbnz w8, #0, LBB1_5
b LBB1_3
LBB1_3:
ldur w8, [x29, #-4]
ands w8, w8, #0x7f
cset w8, eq
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4:
ldur w8, [x29, #-4]
and w11, w8, #0x7f
ldur w8, [x29, #-4]
ands w8, w8, #0x80
cset w8, ne
and w10, w8, #0x1
adrp x9, l_.str.15@PAGE
add x9, x9, l_.str.15@PAGEOFF
adrp x8, l_.str.14@PAGE
add x8, x8, l_.str.14@PAGEOFF
ands w10, w10, #0x1
csel x8, x8, x9, ne
mov x9, sp
; implicit-def: $x10
mov x10, x11
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
b LBB1_9
LBB1_5:
ldur w8, [x29, #-4]
and w8, w8, #0x7f
subs w8, w8, #127
cset w8, ne
tbnz w8, #0, LBB1_8
b LBB1_6
LBB1_6:
ldur w8, [x29, #-4]
asr w8, w8, #8
subs w8, w8, #19
cset w8, eq
tbnz w8, #0, LBB1_8
b LBB1_7
LBB1_7:
ldur w8, [x29, #-4]
asr w10, w8, #8
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
bl _printf
b LBB1_8
LBB1_8:
b LBB1_9
LBB1_9:
b LBB1_10
LBB1_10:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%%> "
l_.str.1: ; @.str.1
.asciz "-------------------------------\n"
l_.str.2: ; @.str.2
.asciz "fork"
l_.str.3: ; @.str.3
.asciz "Izpis argumentov:\n"
l_.str.4: ; @.str.4
.asciz " "
l_.str.5: ; @.str.5
.asciz "args[%d]: "
l_.str.6: ; @.str.6
.asciz "%s\n"
l_.str.7: ; @.str.7
.asciz "\n"
l_.str.8: ; @.str.8
.asciz "exec"
l_.str.9: ; @.str.9
.asciz "waitpid"
l_.str.10: ; @.str.10
.asciz "\n-------------------------------\n"
l_.str.11: ; @.str.11
.asciz "Otrok je vrnil status %d (0x%X)\n"
l_.str.12: ; @.str.12
.asciz "normal termination, exit status = %d\n"
l_.str.13: ; @.str.13
.asciz "abnormal termination, signal number = %d%s\n"
l_.str.14: ; @.str.14
.asciz " (core file generated)"
l_.str.15: ; @.str.15
.space 1
l_.str.16: ; @.str.16
.asciz "child stopped, signal number = %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 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 $1552, %rsp ## imm = 0x610
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB0_1: ## =>This Inner Loop Header: Depth=1
leaq -1024(%rbp), %rdi
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl $1024, %esi ## imm = 0x400
callq _fgets
cmpq $0, %rax
je LBB0_17
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq -1024(%rbp), %rdi
callq _strlen
subq $1, %rax
movb $0, -1024(%rbp,%rax)
callq _vfork
movl %eax, -1540(%rbp)
cmpl $0, -1540(%rbp)
jge LBB0_4
## %bb.3:
leaq L_.str.2(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -1540(%rbp)
jne LBB0_12
## %bb.5:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq -1024(%rbp), %rdi
leaq L_.str.4(%rip), %rsi
callq _strtok
movq %rax, %rcx
movslq -1548(%rbp), %rax
movq %rcx, -1536(%rbp,%rax,8)
movl $0, -1548(%rbp)
LBB0_6: ## =>This Inner Loop Header: Depth=1
movslq -1548(%rbp), %rax
cmpq $0, -1536(%rbp,%rax,8)
je LBB0_8
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
xorl %eax, %eax
movl %eax, %edi
leaq L_.str.4(%rip), %rsi
callq _strtok
movq %rax, %rcx
movl -1548(%rbp), %eax
addl $1, %eax
movl %eax, -1548(%rbp)
cltq
movq %rcx, -1536(%rbp,%rax,8)
jmp LBB0_6
LBB0_8:
movl -1548(%rbp), %eax
addl $1, %eax
cltq
movq $0, -1536(%rbp,%rax,8)
movl $0, -1548(%rbp)
LBB0_9: ## =>This Inner Loop Header: Depth=1
movslq -1548(%rbp), %rax
cmpq $0, -1536(%rbp,%rax,8)
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movl -1548(%rbp), %esi
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movl -1548(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -1548(%rbp)
cltq
movq -1536(%rbp,%rax,8), %rsi
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_9
LBB0_11:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movb %al, -1549(%rbp) ## 1-byte Spill
callq _printf
## kill: def $ecx killed $eax
movb -1549(%rbp), %al ## 1-byte Reload
leaq L_.str.7(%rip), %rdi
callq _printf
movq -1536(%rbp), %rdi
leaq -1536(%rbp), %rsi
callq _execvp
leaq L_.str.8(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
movl -1540(%rbp), %edi
leaq -1544(%rbp), %rsi
xorl %edx, %edx
callq _waitpid
movl %eax, -1540(%rbp)
cmpl $0, %eax
jge LBB0_14
## %bb.13: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.9(%rip), %rdi
callq _perror
LBB0_14: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
movl -1544(%rbp), %esi
movl -1544(%rbp), %edx
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
movl -1544(%rbp), %edi
callq _pr_exit
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.15: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_16
LBB0_16: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_17:
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _pr_exit ## -- Begin function pr_exit
.p2align 4, 0x90
_pr_exit: ## @pr_exit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl -4(%rbp), %eax
andl $127, %eax
cmpl $0, %eax
jne LBB1_2
## %bb.1:
movl -4(%rbp), %esi
sarl $8, %esi
andl $255, %esi
leaq L_.str.12(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_10
LBB1_2:
movl -4(%rbp), %eax
andl $127, %eax
cmpl $127, %eax
je LBB1_5
## %bb.3:
movl -4(%rbp), %eax
andl $127, %eax
cmpl $0, %eax
je LBB1_5
## %bb.4:
movl -4(%rbp), %esi
andl $127, %esi
movl -4(%rbp), %ecx
andl $128, %ecx
leaq L_.str.15(%rip), %rdx
leaq L_.str.14(%rip), %rax
cmpl $0, %ecx
cmovneq %rax, %rdx
leaq L_.str.13(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_9
LBB1_5:
movl -4(%rbp), %eax
andl $127, %eax
cmpl $127, %eax
jne LBB1_8
## %bb.6:
movl -4(%rbp), %eax
sarl $8, %eax
cmpl $19, %eax
je LBB1_8
## %bb.7:
movl -4(%rbp), %esi
sarl $8, %esi
leaq L_.str.16(%rip), %rdi
movb $0, %al
callq _printf
LBB1_8:
jmp LBB1_9
LBB1_9:
jmp LBB1_10
LBB1_10:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%%> "
L_.str.1: ## @.str.1
.asciz "-------------------------------\n"
L_.str.2: ## @.str.2
.asciz "fork"
L_.str.3: ## @.str.3
.asciz "Izpis argumentov:\n"
L_.str.4: ## @.str.4
.asciz " "
L_.str.5: ## @.str.5
.asciz "args[%d]: "
L_.str.6: ## @.str.6
.asciz "%s\n"
L_.str.7: ## @.str.7
.asciz "\n"
L_.str.8: ## @.str.8
.asciz "exec"
L_.str.9: ## @.str.9
.asciz "waitpid"
L_.str.10: ## @.str.10
.asciz "\n-------------------------------\n"
L_.str.11: ## @.str.11
.asciz "Otrok je vrnil status %d (0x%X)\n"
L_.str.12: ## @.str.12
.asciz "normal termination, exit status = %d\n"
L_.str.13: ## @.str.13
.asciz "abnormal termination, signal number = %d%s\n"
L_.str.14: ## @.str.14
.asciz " (core file generated)"
L_.str.15: ## @.str.15
.space 1
L_.str.16: ## @.str.16
.asciz "child stopped, signal number = %d\n"
.subsections_via_symbols
| the_stack_data/212642424.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getnbr ; -- Begin function getnbr
.p2align 2
_getnbr: ; @getnbr
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str wzr, [sp, #20]
str wzr, [sp, #16]
mov w8, #1
str w8, [sp, #12]
ldr x8, [sp, #24]
ldrsb w8, [x8]
subs w8, w8, #45
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov w8, #-1
str w8, [sp, #12]
b LBB0_2
LBB0_2:
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
ldrsb w8, [x8, x9]
subs w8, w8, #10
cset w8, ne
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #8] ; 4-byte Folded Reload
tbz w8, #0, LBB0_10
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
ldrsb w8, [x8, x9]
subs w8, w8, #48
cset w8, lt
tbnz w8, #0, LBB0_9
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
ldrsb w8, [x8, x9]
subs w8, w8, #57
cset w8, gt
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #16]
mov w9, #10
mul w8, w8, w9
ldr x9, [sp, #24]
ldrsw x10, [sp, #20]
ldrsb w9, [x9, x10]
subs w9, w9, #48
add w8, w8, w9
str w8, [sp, #16]
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_3
LBB0_10:
ldr w8, [sp, #16]
ldr w9, [sp, #12]
mul w0, w8, w9
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getnbr ## -- Begin function getnbr
.p2align 4, 0x90
_getnbr: ## @getnbr
.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, -8(%rbp)
movl $0, -12(%rbp)
movl $0, -16(%rbp)
movl $1, -20(%rbp)
movq -8(%rbp), %rax
movsbl (%rax), %eax
cmpl $45, %eax
jne LBB0_2
## %bb.1:
movl $-1, -20(%rbp)
LBB0_2:
jmp LBB0_3
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -21(%rbp) ## 1-byte Spill
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $10, %eax
setne %al
movb %al, -21(%rbp) ## 1-byte Spill
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movb -21(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_6
jmp LBB0_10
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $48, %eax
jl LBB0_9
## %bb.7: ## in Loop: Header=BB0_3 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $57, %eax
jg LBB0_9
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
imull $10, -16(%rbp), %eax
movq -8(%rbp), %rcx
movslq -12(%rbp), %rdx
movsbl (%rcx,%rdx), %ecx
subl $48, %ecx
addl %ecx, %eax
movl %eax, -16(%rbp)
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_3
LBB0_10:
movl -16(%rbp), %eax
imull -20(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/40762249.c |
.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/1150625.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _min ; -- Begin function min
.p2align 2
_min: ; @min
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str w1, [sp, #8]
ldr w8, [sp, #12]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr w8, [sp, #12]
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB0_3
LBB0_2:
ldr w8, [sp, #8]
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB0_3
LBB0_3:
ldr w0, [sp, #4] ; 4-byte Folded Reload
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _print2DArr ; -- Begin function print2DArr
.p2align 2
_print2DArr: ; @print2DArr
.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
stur x0, [x29, #-8]
stur wzr, [x29, #-12]
b LBB1_1
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_3 Depth 2
ldur w8, [x29, #-12]
subs w8, w8, #5
cset w8, ge
tbnz w8, #0, LBB1_8
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
str wzr, [sp, #16]
b LBB1_3
LBB1_3: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
subs w8, w8, #7
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=2
ldur x8, [x29, #-8]
ldursw x9, [x29, #-12]
mov x10, #28
mul x9, x9, x10
add x8, x8, x9
ldrsw x9, [sp, #16]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB1_3
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB1_1
LBB1_8:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _editdistance ; -- Begin function editdistance
.p2align 2
_editdistance: ; @editdistance
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _d@GOTPAGE
ldr x8, [x8, _d@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
stur w3, [x29, #-28]
str wzr, [sp, #32]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #32]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr w8, [sp, #32]
ldrsw x10, [sp, #32]
mov x11, #28
mul x10, x10, x11
str w8, [x9, x10]
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB2_1
LBB2_4:
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _print2DArr
str wzr, [sp, #28]
b LBB2_5
LBB2_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB2_8
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_5 Depth=1
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr w8, [sp, #28]
ldrsw x10, [sp, #28]
str w8, [x9, x10, lsl #2]
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_5 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB2_5
LBB2_8:
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _print2DArr
mov w8, #1
str w8, [sp, #32]
b LBB2_9
LBB2_9: ; =>This Loop Header: Depth=1
; Child Loop BB2_11 Depth 2
ldr w8, [sp, #32]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB2_19
b LBB2_10
LBB2_10: ; in Loop: Header=BB2_9 Depth=1
mov w8, #1
str w8, [sp, #28]
b LBB2_11
LBB2_11: ; Parent Loop BB2_9 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #28]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB2_17
b LBB2_12
LBB2_12: ; in Loop: Header=BB2_11 Depth=2
ldur x8, [x29, #-8]
ldr w9, [sp, #32]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
ldur x9, [x29, #-24]
ldr w10, [sp, #28]
subs w10, w10, #1
ldrsb w9, [x9, w10, sxtw]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB2_14
b LBB2_13
LBB2_13: ; in Loop: Header=BB2_11 Depth=2
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr w8, [sp, #32]
subs w8, w8, #1
mov x11, #28
mov x12, x9
mov w10, #28
smaddl x8, w8, w10, x12
ldr w10, [sp, #28]
subs w10, w10, #1
ldr w8, [x8, w10, sxtw #2]
ldrsw x10, [sp, #32]
mul x10, x10, x11
add x9, x9, x10
ldrsw x10, [sp, #28]
str w8, [x9, x10, lsl #2]
b LBB2_15
LBB2_14: ; in Loop: Header=BB2_11 Depth=2
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr w9, [sp, #32]
subs w9, w9, #1
mov x10, #28
str x10, [sp, #8] ; 8-byte Folded Spill
mov x12, x8
mov w11, #28
smaddl x9, w9, w11, x12
ldrsw x11, [sp, #28]
ldr w9, [x9, x11, lsl #2]
add w0, w9, #1
ldrsw x9, [sp, #32]
mul x9, x9, x10
add x8, x8, x9
ldr w9, [sp, #28]
subs w9, w9, #1
ldr w8, [x8, w9, sxtw #2]
add w1, w8, #1
bl _min
ldr x10, [sp, #16] ; 8-byte Folded Reload
str w0, [sp, #24]
ldr w0, [sp, #24]
ldr w8, [sp, #32]
subs w8, w8, #1
mov w9, #28
smaddl x8, w8, w9, x10
ldr w9, [sp, #28]
subs w9, w9, #1
ldr w8, [x8, w9, sxtw #2]
add w1, w8, #1
bl _min
ldr x10, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldrsw x9, [sp, #32]
mul x9, x9, x10
add x8, x8, x9
ldrsw x9, [sp, #28]
str w0, [x8, x9, lsl #2]
b LBB2_15
LBB2_15: ; in Loop: Header=BB2_11 Depth=2
b LBB2_16
LBB2_16: ; in Loop: Header=BB2_11 Depth=2
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB2_11
LBB2_17: ; in Loop: Header=BB2_9 Depth=1
b LBB2_18
LBB2_18: ; in Loop: Header=BB2_9 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB2_9
LBB2_19:
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _print2DArr
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldursw x9, [x29, #-12]
mov x10, #28
mul x9, x9, x10
add x8, x8, x9
ldursw x9, [x29, #-28]
ldr w0, [x8, x9, lsl #2]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp 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
mov w8, #0
stur w8, [x29, #-24] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
mov x9, sp
mov x8, #4
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
bl _printf
mov x9, sp
adrp x8, _A@GOTPAGE
ldr x8, [x8, _A@GOTPAGEOFF]
str x8, [sp, #32] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _scanf
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov x9, sp
mov x8, #6
str x8, [x9]
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
adrp x8, _B@GOTPAGE
ldr x8, [x8, _B@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
str x8, [x9]
bl _scanf
ldr x2, [sp, #24] ; 8-byte Folded Reload
ldr x0, [sp, #32] ; 8-byte Folded Reload
mov w1, #4
mov w3, #6
bl _editdistance
stur w0, [x29, #-20]
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldur w0, [x29, #-24] ; 4-byte Folded Reload
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d "
l_.str.1: ; @.str.1
.asciz "\n"
.comm _d,140,2 ; @d
l_.str.2: ; @.str.2
.asciz "input char[%d]:"
l_.str.3: ; @.str.3
.asciz "%s"
.comm _A,4,0 ; @A
.comm _B,6,0 ; @B
l_.str.4: ; @.str.4
.asciz "distance:%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _min ## -- Begin function min
.p2align 4, 0x90
_min: ## @min
.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, -4(%rbp)
movl %esi, -8(%rbp)
movl -4(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_2
## %bb.1:
movl -4(%rbp), %eax
movl %eax, -12(%rbp) ## 4-byte Spill
jmp LBB0_3
LBB0_2:
movl -8(%rbp), %eax
movl %eax, -12(%rbp) ## 4-byte Spill
LBB0_3:
movl -12(%rbp), %eax ## 4-byte Reload
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print2DArr ## -- Begin function print2DArr
.p2align 4, 0x90
_print2DArr: ## @print2DArr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_3 Depth 2
cmpl $5, -12(%rbp)
jge LBB1_8
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl $0, -16(%rbp)
LBB1_3: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $7, -16(%rbp)
jge LBB1_6
## %bb.4: ## in Loop: Header=BB1_3 Depth=2
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
imulq $28, %rcx, %rcx
addq %rcx, %rax
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.5: ## in Loop: Header=BB1_3 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_3
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.7: ## in Loop: Header=BB1_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_1
LBB1_8:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _editdistance ## -- Begin function editdistance
.p2align 4, 0x90
_editdistance: ## @editdistance
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movl %ecx, -28(%rbp)
movl $0, -32(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -32(%rbp), %eax
cmpl -12(%rbp), %eax
jg LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl -32(%rbp), %ecx
movslq -32(%rbp), %rdx
movq _d@GOTPCREL(%rip), %rax
imulq $28, %rdx, %rdx
addq %rdx, %rax
movl %ecx, (%rax)
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB2_1
LBB2_4:
movq _d@GOTPCREL(%rip), %rdi
callq _print2DArr
movl $0, -36(%rbp)
LBB2_5: ## =>This Inner Loop Header: Depth=1
movl -36(%rbp), %eax
cmpl -28(%rbp), %eax
jg LBB2_8
## %bb.6: ## in Loop: Header=BB2_5 Depth=1
movl -36(%rbp), %edx
movslq -36(%rbp), %rcx
movq _d@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,4)
## %bb.7: ## in Loop: Header=BB2_5 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB2_5
LBB2_8:
movq _d@GOTPCREL(%rip), %rdi
callq _print2DArr
movl $1, -32(%rbp)
LBB2_9: ## =>This Loop Header: Depth=1
## Child Loop BB2_11 Depth 2
movl -32(%rbp), %eax
cmpl -12(%rbp), %eax
jg LBB2_19
## %bb.10: ## in Loop: Header=BB2_9 Depth=1
movl $1, -36(%rbp)
LBB2_11: ## Parent Loop BB2_9 Depth=1
## => This Inner Loop Header: Depth=2
movl -36(%rbp), %eax
cmpl -28(%rbp), %eax
jg LBB2_17
## %bb.12: ## in Loop: Header=BB2_11 Depth=2
movq -8(%rbp), %rax
movl -32(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
movq -24(%rbp), %rcx
movl -36(%rbp), %edx
subl $1, %edx
movslq %edx, %rdx
movsbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
jne LBB2_14
## %bb.13: ## in Loop: Header=BB2_11 Depth=2
movl -32(%rbp), %eax
subl $1, %eax
movslq %eax, %rcx
movq _d@GOTPCREL(%rip), %rax
imulq $28, %rcx, %rcx
addq %rcx, %rax
movl -36(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %edx
movslq -32(%rbp), %rcx
movq _d@GOTPCREL(%rip), %rax
imulq $28, %rcx, %rcx
addq %rcx, %rax
movslq -36(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
jmp LBB2_15
LBB2_14: ## in Loop: Header=BB2_11 Depth=2
movl -32(%rbp), %eax
subl $1, %eax
movslq %eax, %rcx
movq _d@GOTPCREL(%rip), %rax
imulq $28, %rcx, %rcx
addq %rcx, %rax
movslq -36(%rbp), %rcx
movl (%rax,%rcx,4), %edi
addl $1, %edi
movslq -32(%rbp), %rcx
movq _d@GOTPCREL(%rip), %rax
imulq $28, %rcx, %rcx
addq %rcx, %rax
movl -36(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %esi
addl $1, %esi
callq _min
movl %eax, -40(%rbp)
movl -40(%rbp), %edi
movl -32(%rbp), %eax
subl $1, %eax
movslq %eax, %rcx
movq _d@GOTPCREL(%rip), %rax
imulq $28, %rcx, %rcx
addq %rcx, %rax
movl -36(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %esi
addl $1, %esi
callq _min
movl %eax, %edx
movslq -32(%rbp), %rcx
movq _d@GOTPCREL(%rip), %rax
imulq $28, %rcx, %rcx
addq %rcx, %rax
movslq -36(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
LBB2_15: ## in Loop: Header=BB2_11 Depth=2
jmp LBB2_16
LBB2_16: ## in Loop: Header=BB2_11 Depth=2
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB2_11
LBB2_17: ## in Loop: Header=BB2_9 Depth=1
jmp LBB2_18
LBB2_18: ## in Loop: Header=BB2_9 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB2_9
LBB2_19:
movq _d@GOTPCREL(%rip), %rdi
callq _print2DArr
movslq -12(%rbp), %rcx
movq _d@GOTPCREL(%rip), %rax
imulq $28, %rcx, %rcx
addq %rcx, %rax
movslq -28(%rbp), %rcx
movl (%rax,%rcx,4), %eax
addq $48, %rsp
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 $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
leaq L_.str.2(%rip), %rdi
movl $4, %esi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movq _A@GOTPCREL(%rip), %rsi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movl $6, %esi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movq _B@GOTPCREL(%rip), %rsi
movb $0, %al
callq _scanf
movq _A@GOTPCREL(%rip), %rdi
movl $4, %esi
movq _B@GOTPCREL(%rip), %rdx
movl $6, %ecx
callq _editdistance
movl %eax, -20(%rbp)
movl -20(%rbp), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d "
L_.str.1: ## @.str.1
.asciz "\n"
.comm _d,140,4 ## @d
L_.str.2: ## @.str.2
.asciz "input char[%d]:"
L_.str.3: ## @.str.3
.asciz "%s"
.comm _A,4,0 ## @A
.comm _B,6,0 ## @B
L_.str.4: ## @.str.4
.asciz "distance:%d\n"
.subsections_via_symbols
| the_stack_data/39109.c |
.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/23575503.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
sub x8, x29, #12
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
stur wzr, [x29, #-16]
stur wzr, [x29, #-20]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov x9, sp
add x8, sp, #24
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr w8, [sp, #24]
ldur w10, [x29, #-12]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_1
LBB0_6:
ldur w9, [x29, #-16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d %d"
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 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
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
leaq -12(%rbp), %rdx
movb $0, %al
callq _scanf
movl $0, -16(%rbp)
movl $0, -20(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.1(%rip), %rdi
leaq -24(%rbp), %rsi
movb $0, %al
callq _scanf
movl -24(%rbp), %eax
cltd
idivl -12(%rbp)
cmpl $0, %edx
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_5
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_1
LBB0_6:
movl -16(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $32, %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"
L_.str.2: ## @.str.2
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/173577596.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x1, [sp, #16]
ldur w8, [x29, #-8]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_1
LBB0_1:
str wzr, [sp, #12]
str wzr, [sp, #8]
b LBB0_2
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
ldr x8, [x8, #16]
ldrsw x9, [sp, #8]
add x8, x8, x9
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [sp, #16]
ldr x8, [x8, #8]
ldrsw x9, [sp, #12]
ldrsb w8, [x8, x9]
ldr x9, [sp, #16]
ldr x9, [x9, #16]
ldrsw x10, [sp, #8]
mov x11, x10
add w11, w11, #1
str w11, [sp, #8]
ldrsb w9, [x9, x10]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_2 Depth=1
b LBB0_2
LBB0_6:
ldr x8, [sp, #16]
ldr x8, [x8, #8]
ldrsw x9, [sp, #12]
add x8, x8, x9
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_7
LBB0_7:
str wzr, [sp, #8]
b LBB0_8
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
ldr x8, [x8, #8]
ldrsw x9, [sp, #8]
add x8, x8, x9
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_8 Depth=1
ldr x8, [sp, #16]
ldr x8, [x8, #8]
ldrsw x9, [sp, #8]
mov x10, x9
mov w0, #1
add w10, w10, #1
str w10, [sp, #8]
add x1, x8, x9
mov x2, #1
bl _write
b LBB0_8
LBB0_10:
b LBB0_11
LBB0_11:
b LBB0_12
LBB0_12:
mov w0, #1
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov x2, #1
bl _write
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\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 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
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $3, -8(%rbp)
jne LBB0_12
## %bb.1:
movl $0, -20(%rbp)
movl $0, -24(%rbp)
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movq 16(%rax), %rax
movslq -24(%rbp), %rcx
cmpb $0, (%rax,%rcx)
je LBB0_6
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq -16(%rbp), %rax
movq 8(%rax), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movq -16(%rbp), %rcx
movq 16(%rcx), %rcx
movl -24(%rbp), %edx
movl %edx, %esi
addl $1, %esi
movl %esi, -24(%rbp)
movslq %edx, %rdx
movsbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
jmp LBB0_2
LBB0_6:
movq -16(%rbp), %rax
movq 8(%rax), %rax
movslq -20(%rbp), %rcx
cmpb $0, (%rax,%rcx)
jne LBB0_11
## %bb.7:
movl $0, -24(%rbp)
LBB0_8: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movq 8(%rax), %rax
movslq -24(%rbp), %rcx
cmpb $0, (%rax,%rcx)
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movq -16(%rbp), %rax
movq 8(%rax), %rsi
movl -24(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -24(%rbp)
cltq
addq %rax, %rsi
movl $1, %edi
movl $1, %edx
callq _write
jmp LBB0_8
LBB0_10:
jmp LBB0_11
LBB0_11:
jmp LBB0_12
LBB0_12:
movl $1, %edi
leaq L_.str(%rip), %rsi
movl $1, %edx
callq _write
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\n"
.subsections_via_symbols
| the_stack_data/460325.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _printArray ; -- Begin function printArray
.p2align 2
_printArray: ; @printArray
.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
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str wzr, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldr w8, [sp, #16]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #12]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #12]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldur x8, [x29, #-8]
ldrsw x9, [sp, #16]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #12]
ldr d0, [x8, x9, lsl #3]
mov x8, sp
str d0, [x8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_1
LBB0_8:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _getDeterminant ; -- Begin function getDeterminant
.p2align 2
_getDeterminant: ; @getDeterminant
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur wzr, [x29, #-16]
b LBB1_1
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_3 Depth 2
; Child Loop BB1_5 Depth 3
ldur w8, [x29, #-16]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_12
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
stur wzr, [x29, #-20]
b LBB1_3
LBB1_3: ; Parent Loop BB1_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB1_5 Depth 3
ldur w8, [x29, #-20]
ldur w9, [x29, #-12]
ldur w10, [x29, #-16]
subs w9, w9, w10
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_10
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=2
ldur x8, [x29, #-8]
ldur w9, [x29, #-16]
ldur w10, [x29, #-20]
add w9, w9, w10
add w9, w9, #1
ldr x8, [x8, w9, sxtw #3]
ldursw x9, [x29, #-16]
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #32]
ldr d0, [sp, #32]
fmov d1, #-1.00000000
fmul d0, d0, d1
str d0, [sp, #32]
str wzr, [sp, #28]
b LBB1_5
LBB1_5: ; Parent Loop BB1_1 Depth=1
; Parent Loop BB1_3 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #28]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_8
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_5 Depth=3
ldur x8, [x29, #-8]
ldursw x9, [x29, #-16]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #28]
ldr d0, [x8, x9, lsl #3]
ldr d1, [sp, #32]
ldur x8, [x29, #-8]
ldursw x9, [x29, #-16]
ldr x8, [x8, x9, lsl #3]
ldursw x9, [x29, #-16]
ldr d2, [x8, x9, lsl #3]
fdiv d1, d1, d2
ldur x8, [x29, #-8]
ldur w9, [x29, #-16]
ldur w10, [x29, #-20]
add w9, w9, w10
add w9, w9, #1
ldr x8, [x8, w9, sxtw #3]
ldrsw x9, [sp, #28]
add x8, x8, x9, lsl #3
ldr d2, [x8]
fmadd d0, d0, d1, d2
str d0, [x8]
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_5 Depth=3
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB1_5
LBB1_8: ; in Loop: Header=BB1_3 Depth=2
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_3 Depth=2
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB1_3
LBB1_10: ; in Loop: Header=BB1_1 Depth=1
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB1_1
LBB1_12:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur x0, [x29, #-8]
ldur w1, [x29, #-12]
bl _printArray
fmov d0, #1.00000000
str d0, [sp, #16]
str wzr, [sp, #12]
b LBB1_13
LBB1_13: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_16
b LBB1_14
LBB1_14: ; in Loop: Header=BB1_13 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #12]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #12]
ldr d1, [x8, x9, lsl #3]
ldr d0, [sp, #16]
fmul d0, d0, d1
str d0, [sp, #16]
b LBB1_15
LBB1_15: ; in Loop: Header=BB1_13 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB1_13
LBB1_16:
ldr d0, [sp, #16]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp 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
stur wzr, [x29, #-4]
mov x0, #0
bl _time
; kill: def $w0 killed $w0 killed $x0
bl _srand
bl _rand
mov w9, #6
sdiv w8, w0, w9
mul w8, w8, w9
subs w8, w0, w8
add w8, w8, #2
stur w8, [x29, #-8]
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldursw x8, [x29, #-8]
lsl x0, x8, #3
bl _malloc
stur x0, [x29, #-16]
stur wzr, [x29, #-20]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldursw x8, [x29, #-8]
lsl x0, x8, #3
bl _malloc
ldur x8, [x29, #-16]
ldursw x9, [x29, #-20]
str x0, [x8, x9, lsl #3]
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB2_1
LBB2_4:
str wzr, [sp, #24]
b LBB2_5
LBB2_5: ; =>This Loop Header: Depth=1
; Child Loop BB2_7 Depth 2
ldr w8, [sp, #24]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_12
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_5 Depth=1
str wzr, [sp, #20]
b LBB2_7
LBB2_7: ; Parent Loop BB2_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #20]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_10
b LBB2_8
LBB2_8: ; in Loop: Header=BB2_7 Depth=2
bl _rand
mov w9, #9
sdiv w8, w0, w9
mul w8, w8, w9
subs w8, w0, w8
add w8, w8, #1
scvtf d0, w8
ldur x8, [x29, #-16]
ldrsw x9, [sp, #24]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #20]
str d0, [x8, x9, lsl #3]
b LBB2_9
LBB2_9: ; in Loop: Header=BB2_7 Depth=2
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB2_7
LBB2_10: ; in Loop: Header=BB2_5 Depth=1
b LBB2_11
LBB2_11: ; in Loop: Header=BB2_5 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB2_5
LBB2_12:
ldur x0, [x29, #-16]
ldur w1, [x29, #-8]
bl _printArray
ldur x0, [x29, #-16]
ldur w1, [x29, #-8]
bl _getDeterminant
mov x8, sp
str d0, [x8]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
str wzr, [sp, #16]
b LBB2_13
LBB2_13: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_16
b LBB2_14
LBB2_14: ; in Loop: Header=BB2_13 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #16]
ldr x0, [x8, x9, lsl #3]
bl _free
b LBB2_15
LBB2_15: ; in Loop: Header=BB2_13 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB2_13
LBB2_16:
ldur x0, [x29, #-16]
bl _free
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%.2f "
l_.str.1: ; @.str.1
.asciz "\n"
l_.str.2: ; @.str.2
.asciz "-----------------\n"
l_.str.3: ; @.str.3
.asciz "%d\n"
l_.str.4: ; @.str.4
.asciz "Determinant of Matrix is: %f"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _printArray ## -- Begin function printArray
.p2align 4, 0x90
_printArray: ## @printArray
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $0, -16(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -20(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -20(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -20(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_1
LBB0_8:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function getDeterminant
LCPI1_0:
.quad 0x3ff0000000000000 ## double 1
LCPI1_1:
.quad 0xbff0000000000000 ## double -1
.section __TEXT,__text,regular,pure_instructions
.globl _getDeterminant
.p2align 4, 0x90
_getDeterminant: ## @getDeterminant
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $0, -16(%rbp)
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_3 Depth 2
## Child Loop BB1_5 Depth 3
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB1_12
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl $0, -20(%rbp)
LBB1_3: ## Parent Loop BB1_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB1_5 Depth 3
movl -20(%rbp), %eax
movl -12(%rbp), %ecx
subl -16(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB1_10
## %bb.4: ## in Loop: Header=BB1_3 Depth=2
movq -8(%rbp), %rax
movl -16(%rbp), %ecx
addl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movslq -16(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -32(%rbp)
movsd LCPI1_1(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd -32(%rbp), %xmm0
movsd %xmm0, -32(%rbp)
movl $0, -36(%rbp)
LBB1_5: ## Parent Loop BB1_1 Depth=1
## Parent Loop BB1_3 Depth=2
## => This Inner Loop Header: Depth=3
movl -36(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB1_8
## %bb.6: ## in Loop: Header=BB1_5 Depth=3
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -36(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd -32(%rbp), %xmm2 ## xmm2 = mem[0],zero
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -16(%rbp), %rcx
divsd (%rax,%rcx,8), %xmm2
movq -8(%rbp), %rax
movl -16(%rbp), %ecx
addl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movslq -36(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, (%rax,%rcx,8)
## %bb.7: ## in Loop: Header=BB1_5 Depth=3
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB1_5
LBB1_8: ## in Loop: Header=BB1_3 Depth=2
jmp LBB1_9
LBB1_9: ## in Loop: Header=BB1_3 Depth=2
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB1_3
LBB1_10: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_11
LBB1_11: ## in Loop: Header=BB1_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_1
LBB1_12:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rdi
movl -12(%rbp), %esi
callq _printArray
movsd LCPI1_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -48(%rbp)
movl $0, -52(%rbp)
LBB1_13: ## =>This Inner Loop Header: Depth=1
movl -52(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB1_16
## %bb.14: ## in Loop: Header=BB1_13 Depth=1
movq -8(%rbp), %rax
movslq -52(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -52(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
mulsd -48(%rbp), %xmm0
movsd %xmm0, -48(%rbp)
## %bb.15: ## in Loop: Header=BB1_13 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB1_13
LBB1_16:
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
addq $64, %rsp
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 $32, %rsp
movl $0, -4(%rbp)
xorl %eax, %eax
movl %eax, %edi
callq _time
movl %eax, %edi
callq _srand
callq _rand
movl $6, %ecx
cltd
idivl %ecx
addl $2, %edx
movl %edx, -8(%rbp)
movl -8(%rbp), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movslq -8(%rbp), %rdi
shlq $3, %rdi
callq _malloc
movq %rax, -16(%rbp)
movl $0, -20(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movslq -8(%rbp), %rdi
shlq $3, %rdi
callq _malloc
movq %rax, %rdx
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB2_1
LBB2_4:
movl $0, -24(%rbp)
LBB2_5: ## =>This Loop Header: Depth=1
## Child Loop BB2_7 Depth 2
movl -24(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB2_12
## %bb.6: ## in Loop: Header=BB2_5 Depth=1
movl $0, -28(%rbp)
LBB2_7: ## Parent Loop BB2_5 Depth=1
## => This Inner Loop Header: Depth=2
movl -28(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB2_10
## %bb.8: ## in Loop: Header=BB2_7 Depth=2
callq _rand
movl $9, %ecx
cltd
idivl %ecx
addl $1, %edx
cvtsi2sd %edx, %xmm0
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -28(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
## %bb.9: ## in Loop: Header=BB2_7 Depth=2
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB2_7
LBB2_10: ## in Loop: Header=BB2_5 Depth=1
jmp LBB2_11
LBB2_11: ## in Loop: Header=BB2_5 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB2_5
LBB2_12:
movq -16(%rbp), %rdi
movl -8(%rbp), %esi
callq _printArray
movq -16(%rbp), %rdi
movl -8(%rbp), %esi
callq _getDeterminant
leaq L_.str.4(%rip), %rdi
movb $1, %al
callq _printf
movl $0, -32(%rbp)
LBB2_13: ## =>This Inner Loop Header: Depth=1
movl -32(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB2_16
## %bb.14: ## in Loop: Header=BB2_13 Depth=1
movq -16(%rbp), %rax
movslq -32(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _free
## %bb.15: ## in Loop: Header=BB2_13 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB2_13
LBB2_16:
movq -16(%rbp), %rdi
callq _free
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%.2f "
L_.str.1: ## @.str.1
.asciz "\n"
L_.str.2: ## @.str.2
.asciz "-----------------\n"
L_.str.3: ## @.str.3
.asciz "%d\n"
L_.str.4: ## @.str.4
.asciz "Determinant of Matrix is: %f"
.subsections_via_symbols
| the_stack_data/25137357.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _scilab_rt_champ1_d2d2i2d2i0i2s0_ ; -- Begin function scilab_rt_champ1_d2d2i2d2i0i2s0_
.p2align 2
_scilab_rt_champ1_d2d2i2d2i0i2s0_: ; @scilab_rt_champ1_d2d2i2d2i0i2s0_
.cfi_startproc
; %bb.0:
sub sp, sp, #208
.cfi_def_cfa_offset 208
stp x29, x30, [sp, #192] ; 16-byte Folded Spill
add x29, sp, #192
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
ldr x16, [x29, #16]
ldr w15, [x29, #24]
ldr w14, [x29, #28]
ldr x13, [x29, #32]
ldr w12, [x29, #40]
ldr w11, [x29, #44]
ldr w10, [x29, #48]
ldr x9, [x29, #56]
ldr x8, [x29, #64]
stur w0, [x29, #-4]
stur w1, [x29, #-8]
stur x2, [x29, #-16]
stur w3, [x29, #-20]
stur w4, [x29, #-24]
stur x5, [x29, #-32]
stur w6, [x29, #-36]
stur w7, [x29, #-40]
stur x16, [x29, #-48]
stur w15, [x29, #-52]
stur w14, [x29, #-56]
stur x13, [x29, #-64]
stur w12, [x29, #-68]
stur w11, [x29, #-72]
stur w10, [x29, #-76]
stur x9, [x29, #-88]
str x8, [sp, #96]
ldur w8, [x29, #-8]
; kill: def $x8 killed $w8
str x8, [sp, #8] ; 8-byte Folded Spill
ldur w8, [x29, #-24]
; kill: def $x8 killed $w8
str x8, [sp, #16] ; 8-byte Folded Spill
ldur w8, [x29, #-40]
; kill: def $x8 killed $w8
str x8, [sp, #24] ; 8-byte Folded Spill
ldur w8, [x29, #-56]
; kill: def $x8 killed $w8
str x8, [sp, #32] ; 8-byte Folded Spill
ldur w8, [x29, #-76]
; kill: def $x8 killed $w8
str x8, [sp, #40] ; 8-byte Folded Spill
movi d0, #0000000000000000
str d0, [sp, #80]
str d0, [sp, #72]
str wzr, [sp, #68]
str d0, [sp, #56]
str wzr, [sp, #52]
str wzr, [sp, #92]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldr w8, [sp, #92]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #88]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #88]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldr x10, [sp, #8] ; 8-byte Folded Reload
ldur x8, [x29, #-16]
ldrsw x9, [sp, #92]
mul x9, x9, x10
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #88]
ldr d1, [x8, x9, lsl #3]
ldr d0, [sp, #80]
fadd d0, d0, d1
str d0, [sp, #80]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #88]
add w8, w8, #1
str w8, [sp, #88]
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #92]
add w8, w8, #1
str w8, [sp, #92]
b LBB0_1
LBB0_8:
ldr d0, [sp, #80]
mov x8, sp
str d0, [x8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
str wzr, [sp, #92]
b LBB0_9
LBB0_9: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
ldr w8, [sp, #92]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_16
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
str wzr, [sp, #88]
b LBB0_11
LBB0_11: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #88]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_14
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_11 Depth=2
ldr x10, [sp, #16] ; 8-byte Folded Reload
ldur x8, [x29, #-32]
ldrsw x9, [sp, #92]
mul x9, x9, x10
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #88]
ldr d1, [x8, x9, lsl #3]
ldr d0, [sp, #72]
fadd d0, d0, d1
str d0, [sp, #72]
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_11 Depth=2
ldr w8, [sp, #88]
add w8, w8, #1
str w8, [sp, #88]
b LBB0_11
LBB0_14: ; in Loop: Header=BB0_9 Depth=1
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #92]
add w8, w8, #1
str w8, [sp, #92]
b LBB0_9
LBB0_16:
ldr d0, [sp, #72]
mov x8, sp
str d0, [x8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
str wzr, [sp, #92]
b LBB0_17
LBB0_17: ; =>This Loop Header: Depth=1
; Child Loop BB0_19 Depth 2
ldr w8, [sp, #92]
ldur w9, [x29, #-36]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_24
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_17 Depth=1
str wzr, [sp, #88]
b LBB0_19
LBB0_19: ; Parent Loop BB0_17 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #88]
ldur w9, [x29, #-40]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_22
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_19 Depth=2
ldr x10, [sp, #24] ; 8-byte Folded Reload
ldur x8, [x29, #-48]
ldrsw x9, [sp, #92]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldrsw x9, [sp, #88]
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #68]
add w8, w8, w9
str w8, [sp, #68]
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_19 Depth=2
ldr w8, [sp, #88]
add w8, w8, #1
str w8, [sp, #88]
b LBB0_19
LBB0_22: ; in Loop: Header=BB0_17 Depth=1
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_17 Depth=1
ldr w8, [sp, #92]
add w8, w8, #1
str w8, [sp, #92]
b LBB0_17
LBB0_24:
ldr w9, [sp, #68]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
str wzr, [sp, #92]
b LBB0_25
LBB0_25: ; =>This Loop Header: Depth=1
; Child Loop BB0_27 Depth 2
ldr w8, [sp, #92]
ldur w9, [x29, #-52]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_32
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_25 Depth=1
str wzr, [sp, #88]
b LBB0_27
LBB0_27: ; Parent Loop BB0_25 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #88]
ldur w9, [x29, #-56]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_30
b LBB0_28
LBB0_28: ; in Loop: Header=BB0_27 Depth=2
ldr x10, [sp, #32] ; 8-byte Folded Reload
ldur x8, [x29, #-64]
ldrsw x9, [sp, #92]
mul x9, x9, x10
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #88]
ldr d1, [x8, x9, lsl #3]
ldr d0, [sp, #56]
fadd d0, d0, d1
str d0, [sp, #56]
b LBB0_29
LBB0_29: ; in Loop: Header=BB0_27 Depth=2
ldr w8, [sp, #88]
add w8, w8, #1
str w8, [sp, #88]
b LBB0_27
LBB0_30: ; in Loop: Header=BB0_25 Depth=1
b LBB0_31
LBB0_31: ; in Loop: Header=BB0_25 Depth=1
ldr w8, [sp, #92]
add w8, w8, #1
str w8, [sp, #92]
b LBB0_25
LBB0_32:
ldr d0, [sp, #56]
mov x8, sp
str d0, [x8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur w9, [x29, #-68]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
str wzr, [sp, #92]
b LBB0_33
LBB0_33: ; =>This Loop Header: Depth=1
; Child Loop BB0_35 Depth 2
ldr w8, [sp, #92]
ldur w9, [x29, #-72]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_40
b LBB0_34
LBB0_34: ; in Loop: Header=BB0_33 Depth=1
str wzr, [sp, #88]
b LBB0_35
LBB0_35: ; Parent Loop BB0_33 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #88]
ldur w9, [x29, #-76]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_38
b LBB0_36
LBB0_36: ; in Loop: Header=BB0_35 Depth=2
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldur x8, [x29, #-88]
ldrsw x9, [sp, #92]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldrsw x9, [sp, #88]
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #52]
add w8, w8, w9
str w8, [sp, #52]
b LBB0_37
LBB0_37: ; in Loop: Header=BB0_35 Depth=2
ldr w8, [sp, #88]
add w8, w8, #1
str w8, [sp, #88]
b LBB0_35
LBB0_38: ; in Loop: Header=BB0_33 Depth=1
b LBB0_39
LBB0_39: ; in Loop: Header=BB0_33 Depth=1
ldr w8, [sp, #92]
add w8, w8, #1
str w8, [sp, #92]
b LBB0_33
LBB0_40:
ldr w9, [sp, #52]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr x8, [sp, #96]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldp x29, x30, [sp, #192] ; 16-byte Folded Reload
add sp, sp, #208
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%f"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "%s"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _scilab_rt_champ1_d2d2i2d2i0i2s0_ ## -- Begin function scilab_rt_champ1_d2d2i2d2i0i2s0_
.p2align 4, 0x90
_scilab_rt_champ1_d2d2i2d2i0i2s0_: ## @scilab_rt_champ1_d2d2i2d2i0i2s0_
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $128, %rsp
movq 96(%rbp), %rax
movq 88(%rbp), %rax
movl 80(%rbp), %eax
movl 72(%rbp), %eax
movl 64(%rbp), %eax
movq 56(%rbp), %rax
movl 48(%rbp), %eax
movl 40(%rbp), %eax
movq 32(%rbp), %rax
movl 24(%rbp), %eax
movl 16(%rbp), %eax
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movq %rdx, -16(%rbp)
movl %ecx, -20(%rbp)
movl %r8d, -24(%rbp)
movq %r9, -32(%rbp)
movl -8(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -120(%rbp) ## 8-byte Spill
movl -24(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -112(%rbp) ## 8-byte Spill
movl 24(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -104(%rbp) ## 8-byte Spill
movl 48(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -96(%rbp) ## 8-byte Spill
movl 80(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -88(%rbp) ## 8-byte Spill
xorps %xmm0, %xmm0
movsd %xmm0, -48(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -56(%rbp)
movl $0, -60(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -72(%rbp)
movl $0, -76(%rbp)
movl $0, -36(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -36(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -40(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -40(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movq -120(%rbp), %rdx ## 8-byte Reload
movq -16(%rbp), %rax
movslq -36(%rbp), %rcx
imulq %rdx, %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq -40(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
addsd -48(%rbp), %xmm0
movsd %xmm0, -48(%rbp)
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_7
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB0_1
LBB0_8:
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
movl $0, -36(%rbp)
LBB0_9: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
movl -36(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB0_16
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movl $0, -40(%rbp)
LBB0_11: ## Parent Loop BB0_9 Depth=1
## => This Inner Loop Header: Depth=2
movl -40(%rbp), %eax
cmpl -24(%rbp), %eax
jge LBB0_14
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
movq -112(%rbp), %rdx ## 8-byte Reload
movq -32(%rbp), %rax
movslq -36(%rbp), %rcx
imulq %rdx, %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq -40(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
addsd -56(%rbp), %xmm0
movsd %xmm0, -56(%rbp)
## %bb.13: ## in Loop: Header=BB0_11 Depth=2
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB0_11
LBB0_14: ## in Loop: Header=BB0_9 Depth=1
jmp LBB0_15
LBB0_15: ## in Loop: Header=BB0_9 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB0_9
LBB0_16:
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
movl $0, -36(%rbp)
LBB0_17: ## =>This Loop Header: Depth=1
## Child Loop BB0_19 Depth 2
movl -36(%rbp), %eax
cmpl 16(%rbp), %eax
jge LBB0_24
## %bb.18: ## in Loop: Header=BB0_17 Depth=1
movl $0, -40(%rbp)
LBB0_19: ## Parent Loop BB0_17 Depth=1
## => This Inner Loop Header: Depth=2
movl -40(%rbp), %eax
cmpl 24(%rbp), %eax
jge LBB0_22
## %bb.20: ## in Loop: Header=BB0_19 Depth=2
movq -104(%rbp), %rdx ## 8-byte Reload
movq 32(%rbp), %rax
movslq -36(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -40(%rbp), %rcx
movl (%rax,%rcx,4), %eax
addl -60(%rbp), %eax
movl %eax, -60(%rbp)
## %bb.21: ## in Loop: Header=BB0_19 Depth=2
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB0_19
LBB0_22: ## in Loop: Header=BB0_17 Depth=1
jmp LBB0_23
LBB0_23: ## in Loop: Header=BB0_17 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB0_17
LBB0_24:
movl -60(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -36(%rbp)
LBB0_25: ## =>This Loop Header: Depth=1
## Child Loop BB0_27 Depth 2
movl -36(%rbp), %eax
cmpl 40(%rbp), %eax
jge LBB0_32
## %bb.26: ## in Loop: Header=BB0_25 Depth=1
movl $0, -40(%rbp)
LBB0_27: ## Parent Loop BB0_25 Depth=1
## => This Inner Loop Header: Depth=2
movl -40(%rbp), %eax
cmpl 48(%rbp), %eax
jge LBB0_30
## %bb.28: ## in Loop: Header=BB0_27 Depth=2
movq -96(%rbp), %rdx ## 8-byte Reload
movq 56(%rbp), %rax
movslq -36(%rbp), %rcx
imulq %rdx, %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq -40(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
addsd -72(%rbp), %xmm0
movsd %xmm0, -72(%rbp)
## %bb.29: ## in Loop: Header=BB0_27 Depth=2
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB0_27
LBB0_30: ## in Loop: Header=BB0_25 Depth=1
jmp LBB0_31
LBB0_31: ## in Loop: Header=BB0_25 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB0_25
LBB0_32:
movsd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
movl 64(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -36(%rbp)
LBB0_33: ## =>This Loop Header: Depth=1
## Child Loop BB0_35 Depth 2
movl -36(%rbp), %eax
cmpl 72(%rbp), %eax
jge LBB0_40
## %bb.34: ## in Loop: Header=BB0_33 Depth=1
movl $0, -40(%rbp)
LBB0_35: ## Parent Loop BB0_33 Depth=1
## => This Inner Loop Header: Depth=2
movl -40(%rbp), %eax
cmpl 80(%rbp), %eax
jge LBB0_38
## %bb.36: ## in Loop: Header=BB0_35 Depth=2
movq -88(%rbp), %rdx ## 8-byte Reload
movq 88(%rbp), %rax
movslq -36(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -40(%rbp), %rcx
movl (%rax,%rcx,4), %eax
addl -76(%rbp), %eax
movl %eax, -76(%rbp)
## %bb.37: ## in Loop: Header=BB0_35 Depth=2
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB0_35
LBB0_38: ## in Loop: Header=BB0_33 Depth=1
jmp LBB0_39
LBB0_39: ## in Loop: Header=BB0_33 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB0_33
LBB0_40:
movl -76(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq 96(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
addq $128, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%f"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "%s"
.subsections_via_symbols
| the_stack_data/26045.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _function ; -- Begin function function
.p2align 2
_function: ; @function
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur d0, [x29, #-8]
stur w0, [x29, #-12]
str x1, [sp, #24]
movi d0, #0000000000000000
str d0, [sp, #16]
str wzr, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur d0, [x29, #-8]
ldur s2, [x29, #-12]
; implicit-def: $d1
fmov s1, s2
sshll.2d v1, v1, #0
; kill: def $d1 killed $d1 killed $q1
scvtf d1, d1
bl _pow
str d0, [sp]
ldr d0, [sp]
ldr x8, [sp, #24]
ldrsw x9, [sp, #12]
ldr d1, [x8, x9, lsl #3]
fmul d0, d0, d1
str d0, [sp]
ldr d1, [sp]
ldr d0, [sp, #16]
fadd d0, d0, d1
str d0, [sp, #16]
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
ldur w8, [x29, #-12]
subs w8, w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_3:
ldr d0, [sp, #16]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub sp, sp, #144
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-12]
stur w0, [x29, #-16]
stur x1, [x29, #-24]
ldur x8, [x29, #-24]
ldr x0, [x8, #8]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fopen
stur x0, [x29, #-32]
ldur x0, [x29, #-32]
sub sp, sp, #32
mov x9, sp
sub x8, x29, #68
str x8, [x9]
sub x8, x29, #40
str x8, [x9, #8]
sub x8, x29, #48
str x8, [x9, #16]
sub x8, x29, #56
str x8, [x9, #24]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fscanf
add sp, sp, #32
ldur w8, [x29, #-68]
add w8, w8, #1
; kill: def $x8 killed $w8
mov x9, sp
stur x9, [x29, #-80]
lsl x9, x8, #3
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-136] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-136] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
stur x9, [x29, #-128] ; 8-byte Folded Spill
stur x8, [x29, #-88]
stur wzr, [x29, #-92]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-92]
ldur w9, [x29, #-68]
add w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-128] ; 8-byte Folded Reload
ldur x0, [x29, #-32]
ldursw x9, [x29, #-92]
add x8, x8, x9, lsl #3
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fscanf
add sp, sp, #16
ldur w8, [x29, #-92]
add w8, w8, #1
stur w8, [x29, #-92]
b LBB1_1
LBB1_3:
b LBB1_4
LBB1_4: ; =>This Inner Loop Header: Depth=1
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_4 Depth=1
ldur x1, [x29, #-128] ; 8-byte Folded Reload
ldur d0, [x29, #-48]
ldur d1, [x29, #-56]
fadd d0, d0, d1
fmov d1, #2.00000000
fdiv d0, d0, d1
stur d0, [x29, #-64]
ldur d0, [x29, #-64]
ldur w0, [x29, #-68]
bl _function
stur d0, [x29, #-104]
ldur d0, [x29, #-104]
fcmp d0, #0.0
cset w8, ne
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6:
b LBB1_13
LBB1_7: ; in Loop: Header=BB1_4 Depth=1
ldur d0, [x29, #-56]
ldur d1, [x29, #-48]
fsub d0, d0, d1
fmov d1, #2.00000000
fdiv d0, d0, d1
ldur d1, [x29, #-40]
fcmp d0, d1
cset w8, pl
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8:
b LBB1_13
LBB1_9: ; in Loop: Header=BB1_4 Depth=1
ldur x1, [x29, #-128] ; 8-byte Folded Reload
ldur d0, [x29, #-48]
ldur w0, [x29, #-68]
bl _function
stur d0, [x29, #-112]
ldur d0, [x29, #-104]
ldur d1, [x29, #-112]
fmul d0, d0, d1
fcmp d0, #0.0
cset w8, le
tbnz w8, #0, LBB1_11
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_4 Depth=1
ldur d0, [x29, #-64]
stur d0, [x29, #-48]
b LBB1_12
LBB1_11: ; in Loop: Header=BB1_4 Depth=1
ldur d0, [x29, #-64]
stur d0, [x29, #-56]
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_4 Depth=1
b LBB1_4
LBB1_13:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fopen
stur x0, [x29, #-120]
ldur x0, [x29, #-120]
ldur d0, [x29, #-64]
sub sp, sp, #16
mov x8, sp
str d0, [x8]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
add sp, sp, #16
ldur x0, [x29, #-120]
bl _fclose
stur wzr, [x29, #-12]
ldur x8, [x29, #-80]
mov sp, x8
ldur w8, [x29, #-12]
stur w8, [x29, #-140] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_15
b LBB1_14
LBB1_14:
bl ___stack_chk_fail
LBB1_15:
ldur w0, [x29, #-140] ; 4-byte Folded Reload
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "r"
l_.str.1: ; @.str.1
.asciz "%d %lf %lf %lf"
l_.str.2: ; @.str.2
.asciz "%lf"
l_.str.3: ; @.str.3
.asciz "part2_solver.dat"
l_.str.4: ; @.str.4
.asciz "w+"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _function ## -- Begin function function
.p2align 4, 0x90
_function: ## @function
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movsd %xmm0, -8(%rbp)
movl %edi, -12(%rbp)
movq %rsi, -24(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
movl $0, -36(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -12(%rbp)
jl LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
cvtsi2sdl -12(%rbp), %xmm1
callq _pow
movsd %xmm0, -48(%rbp)
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -24(%rbp), %rax
movslq -36(%rbp), %rcx
mulsd (%rax,%rcx,8), %xmm0
movsd %xmm0, -48(%rbp)
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd -32(%rbp), %xmm0
movsd %xmm0, -32(%rbp)
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
movl -12(%rbp), %eax
addl $-1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_3:
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI1_0:
.quad 0x4000000000000000 ## double 2
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $144, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -12(%rbp)
movl %edi, -16(%rbp)
movq %rsi, -24(%rbp)
movq -24(%rbp), %rax
movq 8(%rax), %rdi
leaq L_.str(%rip), %rsi
callq _fopen
movq %rax, -32(%rbp)
movq -32(%rbp), %rdi
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
leaq -68(%rbp), %rdx
leaq -40(%rbp), %rcx
leaq -48(%rbp), %r8
leaq -56(%rbp), %r9
callq _fscanf
movl -68(%rbp), %eax
incl %eax
## kill: def $rax killed $eax
movq %rax, -136(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -80(%rbp)
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -136(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -128(%rbp) ## 8-byte Spill
movq %rax, -88(%rbp)
movl $0, -92(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -92(%rbp), %eax
movl -68(%rbp), %ecx
addl $1, %ecx
cmpl %ecx, %eax
jge LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -128(%rbp), %rdx ## 8-byte Reload
movq -32(%rbp), %rdi
movslq -92(%rbp), %rax
shlq $3, %rax
addq %rax, %rdx
leaq L_.str.2(%rip), %rsi
movb $0, %al
callq _fscanf
movl -92(%rbp), %eax
addl $1, %eax
movl %eax, -92(%rbp)
jmp LBB1_1
LBB1_3:
jmp LBB1_4
LBB1_4: ## =>This Inner Loop Header: Depth=1
jmp LBB1_5
LBB1_5: ## in Loop: Header=BB1_4 Depth=1
movq -128(%rbp), %rsi ## 8-byte Reload
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd -56(%rbp), %xmm0
movsd LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
movsd %xmm0, -64(%rbp)
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
movl -68(%rbp), %edi
callq _function
movsd %xmm0, -104(%rbp)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne LBB1_7
jp LBB1_7
## %bb.6:
jmp LBB1_13
LBB1_7: ## in Loop: Header=BB1_4 Depth=1
movsd -56(%rbp), %xmm1 ## xmm1 = mem[0],zero
subsd -48(%rbp), %xmm1
movsd LCPI1_0(%rip), %xmm0 ## xmm0 = mem[0],zero
divsd %xmm0, %xmm1
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
ucomisd %xmm1, %xmm0
jbe LBB1_9
## %bb.8:
jmp LBB1_13
LBB1_9: ## in Loop: Header=BB1_4 Depth=1
movq -128(%rbp), %rsi ## 8-byte Reload
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
movl -68(%rbp), %edi
callq _function
movsd %xmm0, -112(%rbp)
movsd -104(%rbp), %xmm0 ## xmm0 = mem[0],zero
mulsd -112(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe LBB1_11
## %bb.10: ## in Loop: Header=BB1_4 Depth=1
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -48(%rbp)
jmp LBB1_12
LBB1_11: ## in Loop: Header=BB1_4 Depth=1
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -56(%rbp)
LBB1_12: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_4
LBB1_13:
leaq L_.str.3(%rip), %rdi
leaq L_.str.4(%rip), %rsi
callq _fopen
movq %rax, -120(%rbp)
movq -120(%rbp), %rdi
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.2(%rip), %rsi
movb $1, %al
callq _fprintf
movq -120(%rbp), %rdi
callq _fclose
movl $0, -12(%rbp)
movq -80(%rbp), %rax
movq %rax, %rsp
movl -12(%rbp), %eax
movl %eax, -140(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_15
## %bb.14:
movl -140(%rbp), %eax ## 4-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB1_15:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "r"
L_.str.1: ## @.str.1
.asciz "%d %lf %lf %lf"
L_.str.2: ## @.str.2
.asciz "%lf"
L_.str.3: ## @.str.3
.asciz "part2_solver.dat"
L_.str.4: ## @.str.4
.asciz "w+"
.subsections_via_symbols
| the_stack_data/61074841.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur wzr, [x29, #-8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
adrp x0, _main.list@PAGE
add x0, x0, _main.list@PAGEOFF
bl _l0_insert
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #3
cset w8, ge
mov w9, #0
stur w9, [x29, #-12] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
bl ___VERIFIER_nondet_int
subs w8, w0, #0
cset w8, ne
stur w8, [x29, #-12] ; 4-byte Folded Spill
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12] ; 4-byte Folded Reload
tbnz w8, #0, LBB0_1
b LBB0_5
LBB0_5:
adrp x8, _main.list@PAGE
str x8, [sp, #8] ; 8-byte Folded Spill
ldr x0, [x8, _main.list@PAGEOFF]
mov w1, #4
bl _l0_destroy
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8, _main.list@PAGEOFF]
mov w1, #3
bl _l0_destroy
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8, _main.list@PAGEOFF]
mov w1, #2
bl _l0_destroy
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8, _main.list@PAGEOFF]
mov w1, #1
bl _l0_destroy
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8, _main.list@PAGEOFF]
mov w1, #0
bl _l0_destroy
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8, _main.list@PAGEOFF]
subs x8, x8, #0
cset w8, ne
and w0, w8, #0x1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function l0_insert
_l0_insert: ; @l0_insert
.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
stur x0, [x29, #-8]
mov w0, #16
bl _zalloc_or_die
str x0, [sp, #16]
str wzr, [sp, #12]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
ldr x8, [sp, #16]
add x0, x8, #8
bl _l1_insert
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12]
subs w8, w8, #2
cset w8, lt
tbnz w8, #0, LBB1_1
b LBB1_3
LBB1_3:
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr x9, [sp, #16]
str x8, [x9]
ldr x8, [sp, #16]
ldur x9, [x29, #-8]
str x8, [x9]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function l0_destroy
_l0_destroy: ; @l0_destroy
.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
stur x0, [x29, #-8]
stur w1, [x29, #-12]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldur w9, [x29, #-12]
mov w8, #0
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldur x8, [x29, #-8]
ldr x0, [x8, #8]
ldur w1, [x29, #-12]
bl _l1_destroy
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8]
str x8, [sp, #8]
ldur w9, [x29, #-12]
mov w8, #0
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB2_5
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
ldur x0, [x29, #-8]
bl _free
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #8]
stur x8, [x29, #-8]
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_1
b LBB2_7
LBB2_7:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function zalloc_or_die
_zalloc_or_die: ; @zalloc_or_die
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
mov x1, x8
mov x0, #1
bl _calloc_model
str x0, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
ldr x0, [sp]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
LBB3_2:
bl _abort
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function l1_insert
_l1_insert: ; @l1_insert
.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
stur x0, [x29, #-8]
mov w0, #16
bl _zalloc_or_die
str x0, [sp, #16]
str wzr, [sp, #12]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
ldr x0, [sp, #16]
bl _l2_insert
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp, #12]
subs w8, w8, #1
cset w8, lt
tbnz w8, #0, LBB4_1
b LBB4_3
LBB4_3:
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr x9, [sp, #16]
str x8, [x9, #8]
ldr x8, [sp, #16]
ldur x9, [x29, #-8]
str x8, [x9]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function calloc_model
_calloc_model: ; @calloc_model
.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
stur x0, [x29, #-8]
str x1, [sp, #16]
ldur x8, [x29, #-8]
ldr x9, [sp, #16]
mul x0, x8, x9
bl _malloc
str x0, [sp, #8]
ldr x0, [sp, #8]
ldur x8, [x29, #-8]
ldr x9, [sp, #16]
mul x2, x8, x9
mov w1, #0
mov x3, #-1
bl ___memset_chk
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function l2_insert
_l2_insert: ; @l2_insert
.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
stur x0, [x29, #-8]
mov w0, #16
bl _zalloc_or_die
str x0, [sp, #16]
str wzr, [sp, #12]
b LBB6_1
LBB6_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
ldr x8, [sp, #16]
add x0, x8, #8
bl _l3_insert
b LBB6_2
LBB6_2: ; in Loop: Header=BB6_1 Depth=1
ldr w8, [sp, #12]
subs w8, w8, #2
cset w8, lt
tbnz w8, #0, LBB6_1
b LBB6_3
LBB6_3:
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr x9, [sp, #16]
str x8, [x9]
ldr x8, [sp, #16]
ldur x9, [x29, #-8]
str x8, [x9]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function l3_insert
_l3_insert: ; @l3_insert
.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
stur x0, [x29, #-8]
mov w0, #16
bl _zalloc_or_die
str x0, [sp, #16]
str wzr, [sp, #12]
b LBB7_1
LBB7_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
ldr x0, [sp, #16]
bl _l4_insert
b LBB7_2
LBB7_2: ; in Loop: Header=BB7_1 Depth=1
ldr w8, [sp, #12]
subs w8, w8, #1
cset w8, lt
tbnz w8, #0, LBB7_1
b LBB7_3
LBB7_3:
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr x9, [sp, #16]
str x8, [x9, #8]
ldr x8, [sp, #16]
ldur x9, [x29, #-8]
str x8, [x9]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function l4_insert
_l4_insert: ; @l4_insert
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
mov w0, #16
bl _zalloc_or_die
str x0, [sp]
mov w0, #119
bl _zalloc_or_die
ldr x8, [sp]
str x0, [x8, #8]
ldr x8, [sp, #8]
ldr x8, [x8]
ldr x9, [sp]
str x8, [x9]
ldr x8, [sp]
ldr x9, [sp, #8]
str x8, [x9]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function l1_destroy
_l1_destroy: ; @l1_destroy
.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
stur x0, [x29, #-8]
stur w1, [x29, #-12]
b LBB9_1
LBB9_1: ; =>This Inner Loop Header: Depth=1
ldur w9, [x29, #-12]
mov w8, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB9_3
b LBB9_2
LBB9_2: ; in Loop: Header=BB9_1 Depth=1
ldur x8, [x29, #-8]
ldr x0, [x8]
ldur w1, [x29, #-12]
bl _l2_destroy
b LBB9_3
LBB9_3: ; in Loop: Header=BB9_1 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
str x8, [sp, #8]
ldur w9, [x29, #-12]
mov w8, #1
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB9_5
b LBB9_4
LBB9_4: ; in Loop: Header=BB9_1 Depth=1
ldur x0, [x29, #-8]
bl _free
b LBB9_5
LBB9_5: ; in Loop: Header=BB9_1 Depth=1
ldr x8, [sp, #8]
stur x8, [x29, #-8]
b LBB9_6
LBB9_6: ; in Loop: Header=BB9_1 Depth=1
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB9_1
b LBB9_7
LBB9_7:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function l2_destroy
_l2_destroy: ; @l2_destroy
.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
stur x0, [x29, #-8]
stur w1, [x29, #-12]
b LBB10_1
LBB10_1: ; =>This Inner Loop Header: Depth=1
ldur w9, [x29, #-12]
mov w8, #2
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB10_3
b LBB10_2
LBB10_2: ; in Loop: Header=BB10_1 Depth=1
ldur x8, [x29, #-8]
ldr x0, [x8, #8]
ldur w1, [x29, #-12]
bl _l3_destroy
b LBB10_3
LBB10_3: ; in Loop: Header=BB10_1 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8]
str x8, [sp, #8]
ldur w9, [x29, #-12]
mov w8, #2
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB10_5
b LBB10_4
LBB10_4: ; in Loop: Header=BB10_1 Depth=1
ldur x0, [x29, #-8]
bl _free
b LBB10_5
LBB10_5: ; in Loop: Header=BB10_1 Depth=1
ldr x8, [sp, #8]
stur x8, [x29, #-8]
b LBB10_6
LBB10_6: ; in Loop: Header=BB10_1 Depth=1
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB10_1
b LBB10_7
LBB10_7:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function l3_destroy
_l3_destroy: ; @l3_destroy
.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
stur x0, [x29, #-8]
stur w1, [x29, #-12]
b LBB11_1
LBB11_1: ; =>This Inner Loop Header: Depth=1
ldur w9, [x29, #-12]
mov w8, #3
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB11_3
b LBB11_2
LBB11_2: ; in Loop: Header=BB11_1 Depth=1
ldur x8, [x29, #-8]
ldr x0, [x8]
ldur w1, [x29, #-12]
bl _l4_destroy
b LBB11_3
LBB11_3: ; in Loop: Header=BB11_1 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
str x8, [sp, #8]
ldur w9, [x29, #-12]
mov w8, #3
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB11_5
b LBB11_4
LBB11_4: ; in Loop: Header=BB11_1 Depth=1
ldur x0, [x29, #-8]
bl _free
b LBB11_5
LBB11_5: ; in Loop: Header=BB11_1 Depth=1
ldr x8, [sp, #8]
stur x8, [x29, #-8]
b LBB11_6
LBB11_6: ; in Loop: Header=BB11_1 Depth=1
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB11_1
b LBB11_7
LBB11_7:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function l4_destroy
_l4_destroy: ; @l4_destroy
.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
stur x0, [x29, #-8]
stur w1, [x29, #-12]
b LBB12_1
LBB12_1: ; =>This Inner Loop Header: Depth=1
ldur w9, [x29, #-12]
mov w8, #5
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB12_3
b LBB12_2
LBB12_2: ; in Loop: Header=BB12_1 Depth=1
ldur x8, [x29, #-8]
ldr x0, [x8, #8]
bl _free
b LBB12_3
LBB12_3: ; in Loop: Header=BB12_1 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8]
str x8, [sp, #8]
ldur w9, [x29, #-12]
mov w8, #4
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB12_5
b LBB12_4
LBB12_4: ; in Loop: Header=BB12_1 Depth=1
ldur x0, [x29, #-8]
bl _free
b LBB12_5
LBB12_5: ; in Loop: Header=BB12_1 Depth=1
ldr x8, [sp, #8]
stur x8, [x29, #-8]
b LBB12_6
LBB12_6: ; in Loop: Header=BB12_1 Depth=1
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB12_1
b LBB12_7
LBB12_7:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_main.list,8,3 ; @main.list
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $0, -8(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
leaq _main.list(%rip), %rdi
callq _l0_insert
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $3, -8(%rbp)
movb %al, -9(%rbp) ## 1-byte Spill
jge LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
callq ___VERIFIER_nondet_int
cmpl $0, %eax
setne %al
movb %al, -9(%rbp) ## 1-byte Spill
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movb -9(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_1
## %bb.5:
movq _main.list(%rip), %rdi
movl $4, %esi
callq _l0_destroy
movq _main.list(%rip), %rdi
movl $3, %esi
callq _l0_destroy
movq _main.list(%rip), %rdi
movl $2, %esi
callq _l0_destroy
movq _main.list(%rip), %rdi
movl $1, %esi
callq _l0_destroy
movq _main.list(%rip), %rdi
xorl %esi, %esi
callq _l0_destroy
cmpq $0, _main.list(%rip)
setne %al
xorb $-1, %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function l0_insert
_l0_insert: ## @l0_insert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl $16, %edi
callq _zalloc_or_die
movq %rax, -16(%rbp)
movl $0, -20(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
movq -16(%rbp), %rdi
addq $8, %rdi
callq _l1_insert
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
cmpl $2, -20(%rbp)
jl LBB1_1
## %bb.3:
movq -8(%rbp), %rax
movq (%rax), %rcx
movq -16(%rbp), %rax
movq %rcx, (%rax)
movq -16(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function l0_destroy
_l0_destroy: ## @l0_destroy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
cmpl -12(%rbp), %eax
jge LBB2_3
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -8(%rbp), %rax
movq 8(%rax), %rdi
movl -12(%rbp), %esi
callq _l1_destroy
LBB2_3: ## in Loop: Header=BB2_1 Depth=1
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
xorl %eax, %eax
cmpl -12(%rbp), %eax
jne LBB2_5
## %bb.4: ## in Loop: Header=BB2_1 Depth=1
movq -8(%rbp), %rdi
callq _free
LBB2_5: ## in Loop: Header=BB2_1 Depth=1
movq -24(%rbp), %rax
movq %rax, -8(%rbp)
## %bb.6: ## in Loop: Header=BB2_1 Depth=1
cmpq $0, -8(%rbp)
jne LBB2_1
## %bb.7:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function zalloc_or_die
_zalloc_or_die: ## @zalloc_or_die
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl -4(%rbp), %eax
movl %eax, %esi
movl $1, %edi
callq _calloc_model
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
je LBB3_2
## %bb.1:
movq -16(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
LBB3_2:
callq _abort
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function l1_insert
_l1_insert: ## @l1_insert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl $16, %edi
callq _zalloc_or_die
movq %rax, -16(%rbp)
movl $0, -20(%rbp)
LBB4_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
movq -16(%rbp), %rdi
callq _l2_insert
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
cmpl $1, -20(%rbp)
jl LBB4_1
## %bb.3:
movq -8(%rbp), %rax
movq (%rax), %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movq -16(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function calloc_model
_calloc_model: ## @calloc_model
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rdi
imulq -16(%rbp), %rdi
callq _malloc
movq %rax, -24(%rbp)
movq -24(%rbp), %rdi
movq -8(%rbp), %rdx
imulq -16(%rbp), %rdx
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function l2_insert
_l2_insert: ## @l2_insert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl $16, %edi
callq _zalloc_or_die
movq %rax, -16(%rbp)
movl $0, -20(%rbp)
LBB6_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
movq -16(%rbp), %rdi
addq $8, %rdi
callq _l3_insert
## %bb.2: ## in Loop: Header=BB6_1 Depth=1
cmpl $2, -20(%rbp)
jl LBB6_1
## %bb.3:
movq -8(%rbp), %rax
movq (%rax), %rcx
movq -16(%rbp), %rax
movq %rcx, (%rax)
movq -16(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function l3_insert
_l3_insert: ## @l3_insert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl $16, %edi
callq _zalloc_or_die
movq %rax, -16(%rbp)
movl $0, -20(%rbp)
LBB7_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
movq -16(%rbp), %rdi
callq _l4_insert
## %bb.2: ## in Loop: Header=BB7_1 Depth=1
cmpl $1, -20(%rbp)
jl LBB7_1
## %bb.3:
movq -8(%rbp), %rax
movq (%rax), %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movq -16(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function l4_insert
_l4_insert: ## @l4_insert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl $16, %edi
callq _zalloc_or_die
movq %rax, -16(%rbp)
movl $119, %edi
callq _zalloc_or_die
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movq -8(%rbp), %rax
movq (%rax), %rcx
movq -16(%rbp), %rax
movq %rcx, (%rax)
movq -16(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function l1_destroy
_l1_destroy: ## @l1_destroy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
LBB9_1: ## =>This Inner Loop Header: Depth=1
movl $1, %eax
cmpl -12(%rbp), %eax
jge LBB9_3
## %bb.2: ## in Loop: Header=BB9_1 Depth=1
movq -8(%rbp), %rax
movq (%rax), %rdi
movl -12(%rbp), %esi
callq _l2_destroy
LBB9_3: ## in Loop: Header=BB9_1 Depth=1
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -24(%rbp)
movl $1, %eax
cmpl -12(%rbp), %eax
jne LBB9_5
## %bb.4: ## in Loop: Header=BB9_1 Depth=1
movq -8(%rbp), %rdi
callq _free
LBB9_5: ## in Loop: Header=BB9_1 Depth=1
movq -24(%rbp), %rax
movq %rax, -8(%rbp)
## %bb.6: ## in Loop: Header=BB9_1 Depth=1
cmpq $0, -8(%rbp)
jne LBB9_1
## %bb.7:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function l2_destroy
_l2_destroy: ## @l2_destroy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
LBB10_1: ## =>This Inner Loop Header: Depth=1
movl $2, %eax
cmpl -12(%rbp), %eax
jge LBB10_3
## %bb.2: ## in Loop: Header=BB10_1 Depth=1
movq -8(%rbp), %rax
movq 8(%rax), %rdi
movl -12(%rbp), %esi
callq _l3_destroy
LBB10_3: ## in Loop: Header=BB10_1 Depth=1
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
movl $2, %eax
cmpl -12(%rbp), %eax
jne LBB10_5
## %bb.4: ## in Loop: Header=BB10_1 Depth=1
movq -8(%rbp), %rdi
callq _free
LBB10_5: ## in Loop: Header=BB10_1 Depth=1
movq -24(%rbp), %rax
movq %rax, -8(%rbp)
## %bb.6: ## in Loop: Header=BB10_1 Depth=1
cmpq $0, -8(%rbp)
jne LBB10_1
## %bb.7:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function l3_destroy
_l3_destroy: ## @l3_destroy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
LBB11_1: ## =>This Inner Loop Header: Depth=1
movl $3, %eax
cmpl -12(%rbp), %eax
jge LBB11_3
## %bb.2: ## in Loop: Header=BB11_1 Depth=1
movq -8(%rbp), %rax
movq (%rax), %rdi
movl -12(%rbp), %esi
callq _l4_destroy
LBB11_3: ## in Loop: Header=BB11_1 Depth=1
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -24(%rbp)
movl $3, %eax
cmpl -12(%rbp), %eax
jne LBB11_5
## %bb.4: ## in Loop: Header=BB11_1 Depth=1
movq -8(%rbp), %rdi
callq _free
LBB11_5: ## in Loop: Header=BB11_1 Depth=1
movq -24(%rbp), %rax
movq %rax, -8(%rbp)
## %bb.6: ## in Loop: Header=BB11_1 Depth=1
cmpq $0, -8(%rbp)
jne LBB11_1
## %bb.7:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function l4_destroy
_l4_destroy: ## @l4_destroy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
LBB12_1: ## =>This Inner Loop Header: Depth=1
movl $5, %eax
cmpl -12(%rbp), %eax
jne LBB12_3
## %bb.2: ## in Loop: Header=BB12_1 Depth=1
movq -8(%rbp), %rax
movq 8(%rax), %rdi
callq _free
LBB12_3: ## in Loop: Header=BB12_1 Depth=1
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
movl $4, %eax
cmpl -12(%rbp), %eax
jne LBB12_5
## %bb.4: ## in Loop: Header=BB12_1 Depth=1
movq -8(%rbp), %rdi
callq _free
LBB12_5: ## in Loop: Header=BB12_1 Depth=1
movq -24(%rbp), %rax
movq %rax, -8(%rbp)
## %bb.6: ## in Loop: Header=BB12_1 Depth=1
cmpq $0, -8(%rbp)
jne LBB12_1
## %bb.7:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_main.list,8,3 ## @main.list
.subsections_via_symbols
| the_stack_data/89807.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #192
.cfi_def_cfa_offset 192
stp x29, x30, [sp, #176] ; 16-byte Folded Spill
add x29, sp, #176
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
mov w8, #0
str w8, [sp, #4] ; 4-byte Folded Spill
str wzr, [sp, #12]
add x0, sp, #16
adrp x1, l___const.main.labels@PAGE
add x1, x1, l___const.main.labels@PAGEOFF
mov x2, #152
bl _memcpy
ldr w0, [sp, #4] ; 4-byte Folded Reload
bl _slk_init
bl _initscr
str wzr, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
subs w8, w8, #8
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
mov w2, #1
add w0, w8, #1
ldrsw x8, [sp, #8]
mov x9, #19
mul x9, x8, x9
add x8, sp, #16
add x1, x8, x9
bl _slk_set
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_1
LBB0_4:
mov w0, #2097152
bl _slk_attron
bl _slk_refresh
adrp x8, _stdscr@GOTPAGE
ldr x8, [x8, _stdscr@GOTPAGEOFF]
ldr x0, [x8]
bl _wgetch
bl _endwin
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
bl ___stack_chk_fail
LBB0_6:
mov w0, #0
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
add sp, sp, #192
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
l___const.main.labels: ; @__const.main.labels
.asciz "Help!\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "File\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "Print\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "Text\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "Edit\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "Quick\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "Config\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "System\000\000\000\000\000\000\000\000\000\000\000\000"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $176, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -164(%rbp)
leaq -160(%rbp), %rdi
leaq l___const.main.labels(%rip), %rsi
movl $152, %edx
callq _memcpy
xorl %edi, %edi
callq _slk_init
callq _initscr
movl $0, -168(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $8, -168(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -168(%rbp), %edi
addl $1, %edi
movslq -168(%rbp), %rax
leaq -160(%rbp), %rsi
imulq $19, %rax, %rax
addq %rax, %rsi
movl $1, %edx
callq _slk_set
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -168(%rbp), %eax
addl $1, %eax
movl %eax, -168(%rbp)
jmp LBB0_1
LBB0_4:
movl $2097152, %edi ## imm = 0x200000
callq _slk_attron
callq _slk_refresh
movq _stdscr@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _wgetch
callq _endwin
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_6
## %bb.5:
xorl %eax, %eax
addq $176, %rsp
popq %rbp
retq
LBB0_6:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.main.labels
l___const.main.labels:
.asciz "Help!\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "File\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "Print\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "Text\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "Edit\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "Quick\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "Config\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "System\000\000\000\000\000\000\000\000\000\000\000\000"
.subsections_via_symbols
| the_stack_data/1197425.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
str w0, [sp, #8]
str x1, [sp]
ldr s1, [sp, #8]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
fmov d1, #2.00000000
fcmp d0, d1
cset w8, pl
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_2
LBB0_2:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Hello, World!\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x4000000000000000 ## double 2
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cvtsi2sdl -8(%rbp), %xmm1
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
ucomisd %xmm1, %xmm0
jbe LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB0_2:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Hello, World!\n"
.subsections_via_symbols
| the_stack_data/86811.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ChkSmall ; -- Begin function ChkSmall
.p2align 2
_ChkSmall: ; @ChkSmall
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb w0, [sp, #11]
ldrsb w8, [sp, #11]
subs w8, w8, #97
cset w8, lt
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldrsb w8, [sp, #11]
subs w8, w8, #122
cset w8, gt
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
mov w8, #1
str w8, [sp, #12]
b LBB0_4
LBB0_3:
str wzr, [sp, #12]
b LBB0_4
LBB0_4:
ldr w0, [sp, #12]
add sp, sp, #16
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
stur wzr, [x29, #-4]
sub x8, x29, #5
str x8, [sp, #8] ; 8-byte Folded Spill
sturb wzr, [x29, #-5]
stur wzr, [x29, #-12]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr x8, [sp, #8] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldursb w0, [x29, #-5]
bl _ChkSmall
stur w0, [x29, #-12]
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB1_3
LBB1_2:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB1_3
LBB1_3:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter the character : "
l_.str.1: ; @.str.1
.asciz "%c"
l_.str.2: ; @.str.2
.asciz "It is Small case Character"
l_.str.3: ; @.str.3
.asciz "It is not a Small case Character"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ChkSmall ## -- Begin function ChkSmall
.p2align 4, 0x90
_ChkSmall: ## @ChkSmall
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %dil, %al
movb %al, -5(%rbp)
movsbl -5(%rbp), %eax
cmpl $97, %eax
jl LBB0_3
## %bb.1:
movsbl -5(%rbp), %eax
cmpl $122, %eax
jg LBB0_3
## %bb.2:
movl $1, -4(%rbp)
jmp LBB0_4
LBB0_3:
movl $0, -4(%rbp)
LBB0_4:
movl -4(%rbp), %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
subq $16, %rsp
movl $0, -4(%rbp)
movb $0, -5(%rbp)
movl $0, -12(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -5(%rbp), %rsi
movb $0, %al
callq _scanf
movsbl -5(%rbp), %edi
callq _ChkSmall
movl %eax, -12(%rbp)
cmpl $1, -12(%rbp)
jne LBB1_2
## %bb.1:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_3
LBB1_2:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB1_3:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter the character : "
L_.str.1: ## @.str.1
.asciz "%c"
L_.str.2: ## @.str.2
.asciz "It is Small case Character"
L_.str.3: ## @.str.3
.asciz "It is not a Small case Character"
.subsections_via_symbols
| the_stack_data/813278.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _init_search ; -- Begin function init_search
.p2align 2
_init_search: ; @init_search
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
bl _strlen
adrp x8, _len@PAGE
str x0, [x8, _len@PAGEOFF]
str xzr, [sp]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp]
subs x8, x8, #255
cset w8, hi
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
adrp x8, _len@PAGE
ldr x8, [x8, _len@PAGEOFF]
ldr x10, [sp]
adrp x9, _table@PAGE
add x9, x9, _table@PAGEOFF
str x8, [x9, x10, lsl #3]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp]
add x8, x8, #1
str x8, [sp]
b LBB0_1
LBB0_4:
str xzr, [sp]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp]
adrp x9, _len@PAGE
ldr x9, [x9, _len@PAGEOFF]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
adrp x8, _len@PAGE
ldr x8, [x8, _len@PAGEOFF]
ldr x9, [sp]
subs x8, x8, x9
subs x8, x8, #1
ldr x9, [sp, #8]
ldr x10, [sp]
ldrb w9, [x9, x10]
mov x10, x9
adrp x9, _table@PAGE
add x9, x9, _table@PAGEOFF
str x8, [x9, x10, lsl #3]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [sp]
add x8, x8, #1
str x8, [sp]
b LBB0_5
LBB0_8:
ldr x8, [sp, #8]
adrp x9, _findme@PAGE
str x8, [x9, _findme@PAGEOFF]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _strsearch ; -- Begin function strsearch
.p2align 2
_strsearch: ; @strsearch
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
adrp x8, _len@PAGE
ldr x8, [x8, _len@PAGEOFF]
subs x8, x8, #1
str x8, [sp, #32]
ldur x0, [x29, #-16]
bl _strlen
str x0, [sp, #16]
b LBB1_1
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_3 Depth 2
ldr x8, [sp, #32]
ldr x9, [sp, #16]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB1_13
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
b LBB1_3
LBB1_3: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #32]
ldr x9, [sp, #16]
subs x8, x8, x9
cset w8, hs
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=2
ldur x8, [x29, #-16]
ldr x9, [sp, #32]
ldrb w8, [x8, x9]
mov x9, x8
adrp x8, _table@PAGE
add x8, x8, _table@PAGEOFF
ldr x8, [x8, x9, lsl #3]
stur x8, [x29, #-24]
subs x8, x8, #0
cset w8, hi
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=2
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB1_7
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_3 Depth=2
ldur x9, [x29, #-24]
ldr x8, [sp, #32]
add x8, x8, x9
str x8, [sp, #32]
b LBB1_3
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldur x9, [x29, #-24]
mov x8, #0
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB1_12
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_1 Depth=1
adrp x8, _findme@PAGE
ldr x0, [x8, _findme@PAGEOFF]
ldur x9, [x29, #-16]
ldr x10, [sp, #32]
adrp x8, _len@PAGE
ldr x11, [x8, _len@PAGEOFF]
subs x10, x10, x11
add x10, x10, #1
add x1, x9, x10
str x1, [sp, #24]
ldr x2, [x8, _len@PAGEOFF]
bl _strncmp
mov w8, #0
subs w8, w8, w0
cset w8, ne
tbnz w8, #0, LBB1_10
b LBB1_9
LBB1_9:
ldr x8, [sp, #24]
stur x8, [x29, #-8]
b LBB1_14
LBB1_10: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #32]
add x8, x8, #1
str x8, [sp, #32]
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_1 Depth=1
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_1 Depth=1
b LBB1_1
LBB1_13:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB1_14
LBB1_14:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _startup ; -- Begin function startup
.p2align 2
_startup: ; @startup
.cfi_startproc
; %bb.0:
stp x28, x27, [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 w27, -24
.cfi_offset w28, -32
mov w9, #21392
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #5, lsl #12 ; =20480
sub sp, sp, #912
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
add x0, sp, #2, lsl #12 ; =8192
add x0, x0, #2528
adrp x1, l___const.startup.find_strings@PAGE
add x1, x1, l___const.startup.find_strings@PAGEOFF
mov x2, #10664
bl _memcpy
add x0, sp, #64
adrp x1, l___const.startup.search_strings@PAGE
add x1, x1, l___const.startup.search_strings@PAGEOFF
mov x2, #10656
bl _memcpy
str wzr, [sp, #52]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldrsw x9, [sp, #52]
add x8, sp, #2, lsl #12 ; =8192
add x8, x8, #2528
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_6
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldrsw x9, [sp, #52]
add x8, sp, #2, lsl #12 ; =8192
add x8, x8, #2528
str x8, [sp, #32] ; 8-byte Folded Spill
ldr x0, [x8, x9, lsl #3]
bl _init_search
ldrsw x9, [sp, #52]
add x8, sp, #64
str x8, [sp, #40] ; 8-byte Folded Spill
ldr x0, [x8, x9, lsl #3]
bl _strsearch
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr x8, [sp, #40] ; 8-byte Folded Reload
str x0, [sp, #56]
ldrsw x10, [sp, #52]
ldr x11, [x9, x10, lsl #3]
ldr x9, [sp, #56]
subs x9, x9, #0
cset w9, ne
and w12, w9, #0x1
adrp x10, l_.str.213@PAGE
add x10, x10, l_.str.213@PAGEOFF
adrp x9, l_.str.212@PAGE
add x9, x9, l_.str.212@PAGEOFF
ands w12, w12, #0x1
csel x10, x9, x10, ne
ldrsw x9, [sp, #52]
ldr x8, [x8, x9, lsl #3]
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.211@PAGE
add x0, x0, l_.str.211@PAGEOFF
bl _printf
ldr x8, [sp, #56]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #56]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.214@PAGE
add x0, x0, l_.str.214@PAGEOFF
bl _printf
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
mov w0, #10
bl _putchar
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #52]
add w8, w8, #1
str w8, [sp, #52]
b LBB2_1
LBB2_6:
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_8
b LBB2_7
LBB2_7:
bl ___stack_chk_fail
LBB2_8:
mov w0, #0
add sp, sp, #5, lsl #12 ; =20480
add sp, sp, #912
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_len,8,3 ; @len
.zerofill __DATA,__bss,_table,2048,3 ; @table
.zerofill __DATA,__bss,_findme,8,3 ; @findme
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Kur"
l_.str.1: ; @.str.1
.asciz "gent"
l_.str.2: ; @.str.2
.asciz "lass"
l_.str.3: ; @.str.3
.asciz "suns"
l_.str.4: ; @.str.4
.asciz "for"
l_.str.5: ; @.str.5
.asciz "xxx"
l_.str.6: ; @.str.6
.asciz "long"
l_.str.7: ; @.str.7
.asciz "have"
l_.str.8: ; @.str.8
.asciz "where"
l_.str.9: ; @.str.9
.asciz "xxxxxx"
l_.str.10: ; @.str.10
.asciz "pense"
l_.str.11: ; @.str.11
.asciz "pow"
l_.str.12: ; @.str.12
.asciz "xxxxx"
l_.str.13: ; @.str.13
.asciz "Yo"
l_.str.14: ; @.str.14
.asciz "and"
l_.str.15: ; @.str.15
.asciz "faded"
l_.str.16: ; @.str.16
.asciz "20"
l_.str.17: ; @.str.17
.asciz "you"
l_.str.18: ; @.str.18
.asciz "bac"
l_.str.19: ; @.str.19
.asciz "an"
l_.str.20: ; @.str.20
.asciz "way"
l_.str.21: ; @.str.21
.asciz "possibili"
l_.str.22: ; @.str.22
.asciz "fat"
l_.str.23: ; @.str.23
.asciz "imag"
l_.str.24: ; @.str.24
.asciz "th"
l_.str.25: ; @.str.25
.asciz "wor"
l_.str.26: ; @.str.26
.asciz "yo"
l_.str.27: ; @.str.27
.asciz "bxx"
l_.str.28: ; @.str.28
.asciz "wo"
l_.str.29: ; @.str.29
.asciz "kind"
l_.str.30: ; @.str.30
.asciz "4"
l_.str.31: ; @.str.31
.asciz "idle"
l_.str.32: ; @.str.32
.asciz "Do"
l_.str.33: ; @.str.33
.asciz "scare"
l_.str.34: ; @.str.34
.asciz "people"
l_.str.35: ; @.str.35
.asciz "wit"
l_.str.36: ; @.str.36
.asciz "Th"
l_.str.37: ; @.str.37
.asciz "yourself"
l_.str.38: ; @.str.38
.asciz "Forget"
l_.str.39: ; @.str.39
.asciz "succeed"
l_.str.40: ; @.str.40
.asciz "Kee"
l_.str.41: ; @.str.41
.asciz "lov"
l_.str.42: ; @.str.42
.asciz "Stretc"
l_.str.43: ; @.str.43
.asciz "what"
l_.str.44: ; @.str.44
.asciz "life"
l_.str.45: ; @.str.45
.asciz "kno"
l_.str.46: ; @.str.46
.asciz "wha"
l_.str.47: ; @.str.47
.asciz "40"
l_.str.48: ; @.str.48
.asciz "Get"
l_.str.49: ; @.str.49
.asciz "them"
l_.str.50: ; @.str.50
.asciz "Maybe"
l_.str.51: ; @.str.51
.asciz "may"
l_.str.52: ; @.str.52
.asciz "the"
l_.str.53: ; @.str.53
.asciz "your"
l_.str.54: ; @.str.54
.asciz "congratulate"
l_.str.55: ; @.str.55
.asciz "much"
l_.str.56: ; @.str.56
.asciz "either"
l_.str.57: ; @.str.57
.asciz "are"
l_.str.58: ; @.str.58
.asciz "Enjoy"
l_.str.59: ; @.str.59
.asciz "it"
l_.str.60: ; @.str.60
.asciz "be"
l_.str.61: ; @.str.61
.asciz "other"
l_.str.62: ; @.str.62
.asciz "greatest"
l_.str.63: ; @.str.63
.asciz "own"
l_.str.64: ; @.str.64
.asciz "nowhere"
l_.str.65: ; @.str.65
.asciz "room"
l_.str.66: ; @.str.66
.asciz "beauty"
l_.str.67: ; @.str.67
.asciz "feel"
l_.str.68: ; @.str.68
.asciz "Northern"
l_.str.69: ; @.str.69
.asciz "before"
l_.str.70: ; @.str.70
.asciz "Accept"
l_.str.71: ; @.str.71
.asciz "Politicians"
l_.str.72: ; @.str.72
.asciz "get"
l_.str.73: ; @.str.73
.asciz "size"
l_.str.74: ; @.str.74
.asciz "reasonable"
l_.str.75: ; @.str.75
.asciz "their"
l_.str.76: ; @.str.76
.asciz "Dont"
l_.str.77: ; @.str.77
.asciz "support"
l_.str.78: ; @.str.78
.asciz "trust"
l_.str.79: ; @.str.79
.asciz "spouse"
l_.str.80: ; @.str.80
.asciz "one"
l_.str.81: ; @.str.81
.asciz "too"
l_.str.82: ; @.str.82
.asciz "time"
l_.str.83: ; @.str.83
.asciz "careful"
l_.str.84: ; @.str.84
.asciz "with"
l_.str.85: ; @.str.85
.asciz "Dispensing"
l_.str.86: ; @.str.86
.asciz "past"
l_.str.87: ; @.str.87
.asciz "parts"
l_.str.88: ; @.str.88
.asciz "more"
l_.str.89: ; @.str.89
.asciz "me"
.section __DATA,__const
.p2align 3 ; @__const.startup.find_strings
l___const.startup.find_strings:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.quad l_.str.5
.quad l_.str.6
.quad l_.str.7
.quad l_.str.8
.quad l_.str.9
.quad l_.str.9
.quad l_.str.10
.quad l_.str.11
.quad l_.str.12
.quad l_.str.13
.quad l_.str.14
.quad l_.str.15
.quad l_.str.16
.quad l_.str.17
.quad l_.str.18
.quad l_.str.19
.quad l_.str.20
.quad l_.str.21
.quad l_.str.19
.quad l_.str.22
.quad l_.str.23
.quad l_.str.24
.quad l_.str.25
.quad l_.str.5
.quad l_.str.5
.quad l_.str.26
.quad l_.str.27
.quad l_.str.28
.quad l_.str.29
.quad l_.str.30
.quad l_.str.31
.quad l_.str.32
.quad l_.str.33
.quad l_.str.34
.quad l_.str.35
.quad l_.str.5
.quad l_.str.5
.quad l_.str.36
.quad l_.str.5
.quad l_.str.37
.quad l_.str.38
.quad l_.str.39
.quad l_.str.40
.quad l_.str.41
.quad l_.str.26
.quad l_.str.42
.quad l_.str.43
.quad l_.str.44
.quad l_.str.45
.quad l_.str.46
.quad l_.str.5
.quad l_.str.5
.quad l_.str.47
.quad l_.str.48
.quad l_.str.5
.quad l_.str.49
.quad l_.str.50
.quad l_.str.51
.quad l_.str.17
.quad l_.str.52
.quad l_.str.53
.quad l_.str.54
.quad l_.str.55
.quad l_.str.56
.quad l_.str.57
.quad l_.str.58
.quad l_.str.59
.quad l_.str.60
.quad l_.str.61
.quad l_.str.59
.quad l_.str.5
.quad l_.str.62
.quad l_.str.63
.quad l_.str.64
.quad l_.str.65
.quad l_.str.17
.quad l_.str.66
.quad l_.str.67
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.59
.quad l_.str.68
.quad l_.str.69
.quad l_.str.70
.quad l_.str.71
.quad l_.str.72
.quad l_.str.73
.quad l_.str.74
.quad l_.str.75
.quad l_.str.76
.quad l_.str.77
.quad l_.str.78
.quad l_.str.79
.quad l_.str.80
.quad l_.str.81
.quad l_.str.82
.quad l_.str.83
.quad l_.str.84
.quad l_.str.85
.quad l_.str.86
.quad l_.str.52
.quad l_.str.87
.quad l_.str.88
.quad l_.str.89
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.quad l_.str.5
.quad l_.str.6
.quad l_.str.7
.quad l_.str.8
.quad l_.str.9
.quad l_.str.9
.quad l_.str.10
.quad l_.str.11
.quad l_.str.12
.quad l_.str.13
.quad l_.str.14
.quad l_.str.15
.quad l_.str.16
.quad l_.str.17
.quad l_.str.18
.quad l_.str.19
.quad l_.str.20
.quad l_.str.21
.quad l_.str.19
.quad l_.str.22
.quad l_.str.23
.quad l_.str.24
.quad l_.str.25
.quad l_.str.5
.quad l_.str.5
.quad l_.str.26
.quad l_.str.27
.quad l_.str.28
.quad l_.str.29
.quad l_.str.30
.quad l_.str.31
.quad l_.str.32
.quad l_.str.33
.quad l_.str.34
.quad l_.str.35
.quad l_.str.5
.quad l_.str.5
.quad l_.str.36
.quad l_.str.5
.quad l_.str.37
.quad l_.str.38
.quad l_.str.39
.quad l_.str.40
.quad l_.str.41
.quad l_.str.26
.quad l_.str.42
.quad l_.str.43
.quad l_.str.44
.quad l_.str.45
.quad l_.str.46
.quad l_.str.5
.quad l_.str.5
.quad l_.str.47
.quad l_.str.48
.quad l_.str.5
.quad l_.str.49
.quad l_.str.50
.quad l_.str.51
.quad l_.str.17
.quad l_.str.52
.quad l_.str.53
.quad l_.str.54
.quad l_.str.55
.quad l_.str.56
.quad l_.str.57
.quad l_.str.58
.quad l_.str.59
.quad l_.str.60
.quad l_.str.61
.quad l_.str.59
.quad l_.str.5
.quad l_.str.62
.quad l_.str.63
.quad l_.str.64
.quad l_.str.65
.quad l_.str.17
.quad l_.str.66
.quad l_.str.67
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.59
.quad l_.str.68
.quad l_.str.69
.quad l_.str.70
.quad l_.str.71
.quad l_.str.72
.quad l_.str.73
.quad l_.str.74
.quad l_.str.75
.quad l_.str.76
.quad l_.str.77
.quad l_.str.78
.quad l_.str.79
.quad l_.str.80
.quad l_.str.81
.quad l_.str.82
.quad l_.str.83
.quad l_.str.84
.quad l_.str.85
.quad l_.str.86
.quad l_.str.52
.quad l_.str.87
.quad l_.str.88
.quad l_.str.89
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.quad l_.str.5
.quad l_.str.6
.quad l_.str.7
.quad l_.str.8
.quad l_.str.9
.quad l_.str.9
.quad l_.str.10
.quad l_.str.11
.quad l_.str.12
.quad l_.str.13
.quad l_.str.14
.quad l_.str.15
.quad l_.str.16
.quad l_.str.17
.quad l_.str.18
.quad l_.str.19
.quad l_.str.20
.quad l_.str.21
.quad l_.str.19
.quad l_.str.22
.quad l_.str.23
.quad l_.str.24
.quad l_.str.25
.quad l_.str.5
.quad l_.str.5
.quad l_.str.26
.quad l_.str.27
.quad l_.str.28
.quad l_.str.29
.quad l_.str.30
.quad l_.str.31
.quad l_.str.32
.quad l_.str.33
.quad l_.str.34
.quad l_.str.35
.quad l_.str.5
.quad l_.str.5
.quad l_.str.36
.quad l_.str.5
.quad l_.str.37
.quad l_.str.38
.quad l_.str.39
.quad l_.str.40
.quad l_.str.41
.quad l_.str.26
.quad l_.str.42
.quad l_.str.43
.quad l_.str.44
.quad l_.str.45
.quad l_.str.46
.quad l_.str.5
.quad l_.str.5
.quad l_.str.47
.quad l_.str.48
.quad l_.str.5
.quad l_.str.49
.quad l_.str.50
.quad l_.str.51
.quad l_.str.17
.quad l_.str.52
.quad l_.str.53
.quad l_.str.54
.quad l_.str.55
.quad l_.str.56
.quad l_.str.57
.quad l_.str.58
.quad l_.str.59
.quad l_.str.60
.quad l_.str.61
.quad l_.str.59
.quad l_.str.5
.quad l_.str.62
.quad l_.str.63
.quad l_.str.64
.quad l_.str.65
.quad l_.str.17
.quad l_.str.66
.quad l_.str.67
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.59
.quad l_.str.68
.quad l_.str.69
.quad l_.str.70
.quad l_.str.71
.quad l_.str.72
.quad l_.str.73
.quad l_.str.74
.quad l_.str.75
.quad l_.str.76
.quad l_.str.77
.quad l_.str.78
.quad l_.str.79
.quad l_.str.80
.quad l_.str.81
.quad l_.str.82
.quad l_.str.83
.quad l_.str.84
.quad l_.str.85
.quad l_.str.86
.quad l_.str.52
.quad l_.str.87
.quad l_.str.88
.quad l_.str.89
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.quad l_.str.5
.quad l_.str.6
.quad l_.str.7
.quad l_.str.8
.quad l_.str.9
.quad l_.str.9
.quad l_.str.10
.quad l_.str.11
.quad l_.str.12
.quad l_.str.13
.quad l_.str.14
.quad l_.str.15
.quad l_.str.16
.quad l_.str.17
.quad l_.str.18
.quad l_.str.19
.quad l_.str.20
.quad l_.str.21
.quad l_.str.19
.quad l_.str.22
.quad l_.str.23
.quad l_.str.24
.quad l_.str.25
.quad l_.str.5
.quad l_.str.5
.quad l_.str.26
.quad l_.str.27
.quad l_.str.28
.quad l_.str.29
.quad l_.str.30
.quad l_.str.31
.quad l_.str.32
.quad l_.str.33
.quad l_.str.34
.quad l_.str.35
.quad l_.str.5
.quad l_.str.5
.quad l_.str.36
.quad l_.str.5
.quad l_.str.37
.quad l_.str.38
.quad l_.str.39
.quad l_.str.40
.quad l_.str.41
.quad l_.str.26
.quad l_.str.42
.quad l_.str.43
.quad l_.str.44
.quad l_.str.45
.quad l_.str.46
.quad l_.str.5
.quad l_.str.5
.quad l_.str.47
.quad l_.str.48
.quad l_.str.5
.quad l_.str.49
.quad l_.str.50
.quad l_.str.51
.quad l_.str.17
.quad l_.str.52
.quad l_.str.53
.quad l_.str.54
.quad l_.str.55
.quad l_.str.56
.quad l_.str.57
.quad l_.str.58
.quad l_.str.59
.quad l_.str.60
.quad l_.str.61
.quad l_.str.59
.quad l_.str.5
.quad l_.str.62
.quad l_.str.63
.quad l_.str.64
.quad l_.str.65
.quad l_.str.17
.quad l_.str.66
.quad l_.str.67
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.59
.quad l_.str.68
.quad l_.str.69
.quad l_.str.70
.quad l_.str.71
.quad l_.str.72
.quad l_.str.73
.quad l_.str.74
.quad l_.str.75
.quad l_.str.76
.quad l_.str.77
.quad l_.str.78
.quad l_.str.79
.quad l_.str.80
.quad l_.str.81
.quad l_.str.82
.quad l_.str.83
.quad l_.str.84
.quad l_.str.85
.quad l_.str.86
.quad l_.str.52
.quad l_.str.87
.quad l_.str.88
.quad l_.str.89
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.quad l_.str.5
.quad l_.str.6
.quad l_.str.7
.quad l_.str.8
.quad l_.str.9
.quad l_.str.9
.quad l_.str.10
.quad l_.str.11
.quad l_.str.12
.quad l_.str.13
.quad l_.str.14
.quad l_.str.15
.quad l_.str.16
.quad l_.str.17
.quad l_.str.18
.quad l_.str.19
.quad l_.str.20
.quad l_.str.21
.quad l_.str.19
.quad l_.str.22
.quad l_.str.23
.quad l_.str.24
.quad l_.str.25
.quad l_.str.5
.quad l_.str.5
.quad l_.str.26
.quad l_.str.27
.quad l_.str.28
.quad l_.str.29
.quad l_.str.30
.quad l_.str.31
.quad l_.str.32
.quad l_.str.33
.quad l_.str.34
.quad l_.str.35
.quad l_.str.5
.quad l_.str.5
.quad l_.str.36
.quad l_.str.5
.quad l_.str.37
.quad l_.str.38
.quad l_.str.39
.quad l_.str.40
.quad l_.str.41
.quad l_.str.26
.quad l_.str.42
.quad l_.str.43
.quad l_.str.44
.quad l_.str.45
.quad l_.str.46
.quad l_.str.5
.quad l_.str.5
.quad l_.str.47
.quad l_.str.48
.quad l_.str.5
.quad l_.str.49
.quad l_.str.50
.quad l_.str.51
.quad l_.str.17
.quad l_.str.52
.quad l_.str.53
.quad l_.str.54
.quad l_.str.55
.quad l_.str.56
.quad l_.str.57
.quad l_.str.58
.quad l_.str.59
.quad l_.str.60
.quad l_.str.61
.quad l_.str.59
.quad l_.str.5
.quad l_.str.62
.quad l_.str.63
.quad l_.str.64
.quad l_.str.65
.quad l_.str.17
.quad l_.str.66
.quad l_.str.67
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.59
.quad l_.str.68
.quad l_.str.69
.quad l_.str.70
.quad l_.str.71
.quad l_.str.72
.quad l_.str.73
.quad l_.str.74
.quad l_.str.75
.quad l_.str.76
.quad l_.str.77
.quad l_.str.78
.quad l_.str.79
.quad l_.str.80
.quad l_.str.81
.quad l_.str.82
.quad l_.str.83
.quad l_.str.84
.quad l_.str.85
.quad l_.str.86
.quad l_.str.52
.quad l_.str.87
.quad l_.str.88
.quad l_.str.89
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.quad l_.str.5
.quad l_.str.6
.quad l_.str.7
.quad l_.str.8
.quad l_.str.9
.quad l_.str.9
.quad l_.str.10
.quad l_.str.11
.quad l_.str.12
.quad l_.str.13
.quad l_.str.14
.quad l_.str.15
.quad l_.str.16
.quad l_.str.17
.quad l_.str.18
.quad l_.str.19
.quad l_.str.20
.quad l_.str.21
.quad l_.str.19
.quad l_.str.22
.quad l_.str.23
.quad l_.str.24
.quad l_.str.25
.quad l_.str.5
.quad l_.str.5
.quad l_.str.26
.quad l_.str.27
.quad l_.str.28
.quad l_.str.29
.quad l_.str.30
.quad l_.str.31
.quad l_.str.32
.quad l_.str.33
.quad l_.str.34
.quad l_.str.35
.quad l_.str.5
.quad l_.str.5
.quad l_.str.36
.quad l_.str.5
.quad l_.str.37
.quad l_.str.38
.quad l_.str.39
.quad l_.str.40
.quad l_.str.41
.quad l_.str.26
.quad l_.str.42
.quad l_.str.43
.quad l_.str.44
.quad l_.str.45
.quad l_.str.46
.quad l_.str.5
.quad l_.str.5
.quad l_.str.47
.quad l_.str.48
.quad l_.str.5
.quad l_.str.49
.quad l_.str.50
.quad l_.str.51
.quad l_.str.17
.quad l_.str.52
.quad l_.str.53
.quad l_.str.54
.quad l_.str.55
.quad l_.str.56
.quad l_.str.57
.quad l_.str.58
.quad l_.str.59
.quad l_.str.60
.quad l_.str.61
.quad l_.str.59
.quad l_.str.5
.quad l_.str.62
.quad l_.str.63
.quad l_.str.64
.quad l_.str.65
.quad l_.str.17
.quad l_.str.66
.quad l_.str.67
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.59
.quad l_.str.68
.quad l_.str.69
.quad l_.str.70
.quad l_.str.71
.quad l_.str.72
.quad l_.str.73
.quad l_.str.74
.quad l_.str.75
.quad l_.str.76
.quad l_.str.77
.quad l_.str.78
.quad l_.str.79
.quad l_.str.80
.quad l_.str.81
.quad l_.str.82
.quad l_.str.83
.quad l_.str.84
.quad l_.str.85
.quad l_.str.86
.quad l_.str.52
.quad l_.str.87
.quad l_.str.88
.quad l_.str.89
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.quad l_.str.5
.quad l_.str.6
.quad l_.str.7
.quad l_.str.8
.quad l_.str.9
.quad l_.str.9
.quad l_.str.10
.quad l_.str.11
.quad l_.str.12
.quad l_.str.13
.quad l_.str.14
.quad l_.str.15
.quad l_.str.16
.quad l_.str.17
.quad l_.str.18
.quad l_.str.19
.quad l_.str.20
.quad l_.str.21
.quad l_.str.19
.quad l_.str.22
.quad l_.str.23
.quad l_.str.24
.quad l_.str.25
.quad l_.str.5
.quad l_.str.5
.quad l_.str.26
.quad l_.str.27
.quad l_.str.28
.quad l_.str.29
.quad l_.str.30
.quad l_.str.31
.quad l_.str.32
.quad l_.str.33
.quad l_.str.34
.quad l_.str.35
.quad l_.str.5
.quad l_.str.5
.quad l_.str.36
.quad l_.str.5
.quad l_.str.37
.quad l_.str.38
.quad l_.str.39
.quad l_.str.40
.quad l_.str.41
.quad l_.str.26
.quad l_.str.42
.quad l_.str.43
.quad l_.str.44
.quad l_.str.45
.quad l_.str.46
.quad l_.str.5
.quad l_.str.5
.quad l_.str.47
.quad l_.str.48
.quad l_.str.5
.quad l_.str.49
.quad l_.str.50
.quad l_.str.51
.quad l_.str.17
.quad l_.str.52
.quad l_.str.53
.quad l_.str.54
.quad l_.str.55
.quad l_.str.56
.quad l_.str.57
.quad l_.str.58
.quad l_.str.59
.quad l_.str.60
.quad l_.str.61
.quad l_.str.59
.quad l_.str.5
.quad l_.str.62
.quad l_.str.63
.quad l_.str.64
.quad l_.str.65
.quad l_.str.17
.quad l_.str.66
.quad l_.str.67
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.59
.quad l_.str.68
.quad l_.str.69
.quad l_.str.70
.quad l_.str.71
.quad l_.str.72
.quad l_.str.73
.quad l_.str.74
.quad l_.str.75
.quad l_.str.76
.quad l_.str.77
.quad l_.str.78
.quad l_.str.79
.quad l_.str.80
.quad l_.str.81
.quad l_.str.82
.quad l_.str.83
.quad l_.str.84
.quad l_.str.85
.quad l_.str.86
.quad l_.str.52
.quad l_.str.87
.quad l_.str.88
.quad l_.str.89
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.quad l_.str.5
.quad l_.str.6
.quad l_.str.7
.quad l_.str.8
.quad l_.str.9
.quad l_.str.9
.quad l_.str.10
.quad l_.str.11
.quad l_.str.12
.quad l_.str.13
.quad l_.str.14
.quad l_.str.15
.quad l_.str.16
.quad l_.str.17
.quad l_.str.18
.quad l_.str.19
.quad l_.str.20
.quad l_.str.21
.quad l_.str.19
.quad l_.str.22
.quad l_.str.23
.quad l_.str.24
.quad l_.str.25
.quad l_.str.5
.quad l_.str.5
.quad l_.str.26
.quad l_.str.27
.quad l_.str.28
.quad l_.str.29
.quad l_.str.30
.quad l_.str.31
.quad l_.str.32
.quad l_.str.33
.quad l_.str.34
.quad l_.str.35
.quad l_.str.5
.quad l_.str.5
.quad l_.str.36
.quad l_.str.5
.quad l_.str.37
.quad l_.str.38
.quad l_.str.39
.quad l_.str.40
.quad l_.str.41
.quad l_.str.26
.quad l_.str.42
.quad l_.str.43
.quad l_.str.44
.quad l_.str.45
.quad l_.str.46
.quad l_.str.5
.quad l_.str.5
.quad l_.str.47
.quad l_.str.48
.quad l_.str.5
.quad l_.str.49
.quad l_.str.50
.quad l_.str.51
.quad l_.str.17
.quad l_.str.52
.quad l_.str.53
.quad l_.str.54
.quad l_.str.55
.quad l_.str.56
.quad l_.str.57
.quad l_.str.58
.quad l_.str.59
.quad l_.str.60
.quad l_.str.61
.quad l_.str.59
.quad l_.str.5
.quad l_.str.62
.quad l_.str.63
.quad l_.str.64
.quad l_.str.65
.quad l_.str.17
.quad l_.str.66
.quad l_.str.67
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.59
.quad l_.str.68
.quad l_.str.69
.quad l_.str.70
.quad l_.str.71
.quad l_.str.72
.quad l_.str.73
.quad l_.str.74
.quad l_.str.75
.quad l_.str.76
.quad l_.str.77
.quad l_.str.78
.quad l_.str.79
.quad l_.str.80
.quad l_.str.81
.quad l_.str.82
.quad l_.str.83
.quad l_.str.84
.quad l_.str.85
.quad l_.str.86
.quad l_.str.52
.quad l_.str.87
.quad l_.str.88
.quad l_.str.89
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.quad l_.str.5
.quad l_.str.6
.quad l_.str.7
.quad l_.str.8
.quad l_.str.9
.quad l_.str.9
.quad l_.str.10
.quad l_.str.11
.quad l_.str.12
.quad l_.str.13
.quad l_.str.14
.quad l_.str.15
.quad l_.str.16
.quad l_.str.17
.quad l_.str.18
.quad l_.str.19
.quad l_.str.20
.quad l_.str.21
.quad l_.str.19
.quad l_.str.22
.quad l_.str.23
.quad l_.str.24
.quad l_.str.25
.quad l_.str.5
.quad l_.str.5
.quad l_.str.26
.quad l_.str.27
.quad l_.str.28
.quad l_.str.29
.quad l_.str.30
.quad l_.str.31
.quad l_.str.32
.quad l_.str.33
.quad l_.str.34
.quad l_.str.35
.quad l_.str.5
.quad l_.str.5
.quad l_.str.36
.quad l_.str.5
.quad l_.str.37
.quad l_.str.38
.quad l_.str.39
.quad l_.str.40
.quad l_.str.41
.quad l_.str.26
.quad l_.str.42
.quad l_.str.43
.quad l_.str.44
.quad l_.str.45
.quad l_.str.46
.quad l_.str.5
.quad l_.str.5
.quad l_.str.47
.quad l_.str.48
.quad l_.str.5
.quad l_.str.49
.quad l_.str.50
.quad l_.str.51
.quad l_.str.17
.quad l_.str.52
.quad l_.str.53
.quad l_.str.54
.quad l_.str.55
.quad l_.str.56
.quad l_.str.57
.quad l_.str.58
.quad l_.str.59
.quad l_.str.60
.quad l_.str.61
.quad l_.str.59
.quad l_.str.5
.quad l_.str.62
.quad l_.str.63
.quad l_.str.64
.quad l_.str.65
.quad l_.str.17
.quad l_.str.66
.quad l_.str.67
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.59
.quad l_.str.68
.quad l_.str.69
.quad l_.str.70
.quad l_.str.71
.quad l_.str.72
.quad l_.str.73
.quad l_.str.74
.quad l_.str.75
.quad l_.str.76
.quad l_.str.77
.quad l_.str.78
.quad l_.str.79
.quad l_.str.80
.quad l_.str.81
.quad l_.str.82
.quad l_.str.83
.quad l_.str.84
.quad l_.str.85
.quad l_.str.86
.quad l_.str.52
.quad l_.str.87
.quad l_.str.88
.quad l_.str.89
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.quad l_.str.5
.quad l_.str.6
.quad l_.str.7
.quad l_.str.8
.quad l_.str.9
.quad l_.str.9
.quad l_.str.10
.quad l_.str.11
.quad l_.str.12
.quad l_.str.13
.quad l_.str.14
.quad l_.str.15
.quad l_.str.16
.quad l_.str.17
.quad l_.str.18
.quad l_.str.19
.quad l_.str.20
.quad l_.str.21
.quad l_.str.19
.quad l_.str.22
.quad l_.str.23
.quad l_.str.24
.quad l_.str.25
.quad l_.str.5
.quad l_.str.5
.quad l_.str.26
.quad l_.str.27
.quad l_.str.28
.quad l_.str.29
.quad l_.str.30
.quad l_.str.31
.quad l_.str.32
.quad l_.str.33
.quad l_.str.34
.quad l_.str.35
.quad l_.str.5
.quad l_.str.5
.quad l_.str.36
.quad l_.str.5
.quad l_.str.37
.quad l_.str.38
.quad l_.str.39
.quad l_.str.40
.quad l_.str.41
.quad l_.str.26
.quad l_.str.42
.quad l_.str.43
.quad l_.str.44
.quad l_.str.45
.quad l_.str.46
.quad l_.str.5
.quad l_.str.5
.quad l_.str.47
.quad l_.str.48
.quad l_.str.5
.quad l_.str.49
.quad l_.str.50
.quad l_.str.51
.quad l_.str.17
.quad l_.str.52
.quad l_.str.53
.quad l_.str.54
.quad l_.str.55
.quad l_.str.56
.quad l_.str.57
.quad l_.str.58
.quad l_.str.59
.quad l_.str.60
.quad l_.str.61
.quad l_.str.59
.quad l_.str.5
.quad l_.str.62
.quad l_.str.63
.quad l_.str.64
.quad l_.str.65
.quad l_.str.17
.quad l_.str.66
.quad l_.str.67
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.59
.quad l_.str.68
.quad l_.str.69
.quad l_.str.70
.quad l_.str.71
.quad l_.str.72
.quad l_.str.73
.quad l_.str.74
.quad l_.str.75
.quad l_.str.76
.quad l_.str.77
.quad l_.str.78
.quad l_.str.79
.quad l_.str.80
.quad l_.str.81
.quad l_.str.82
.quad l_.str.83
.quad l_.str.84
.quad l_.str.85
.quad l_.str.86
.quad l_.str.52
.quad l_.str.87
.quad l_.str.88
.quad l_.str.89
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.quad l_.str.5
.quad l_.str.6
.quad l_.str.7
.quad l_.str.8
.quad l_.str.9
.quad l_.str.9
.quad l_.str.10
.quad l_.str.11
.quad l_.str.12
.quad l_.str.13
.quad l_.str.14
.quad l_.str.15
.quad l_.str.16
.quad l_.str.17
.quad l_.str.18
.quad l_.str.19
.quad l_.str.20
.quad l_.str.21
.quad l_.str.19
.quad l_.str.22
.quad l_.str.23
.quad l_.str.24
.quad l_.str.25
.quad l_.str.5
.quad l_.str.5
.quad l_.str.26
.quad l_.str.27
.quad l_.str.28
.quad l_.str.29
.quad l_.str.30
.quad l_.str.31
.quad l_.str.32
.quad l_.str.33
.quad l_.str.34
.quad l_.str.35
.quad l_.str.5
.quad l_.str.5
.quad l_.str.36
.quad l_.str.5
.quad l_.str.37
.quad l_.str.38
.quad l_.str.39
.quad l_.str.40
.quad l_.str.41
.quad l_.str.26
.quad l_.str.42
.quad l_.str.43
.quad l_.str.44
.quad l_.str.45
.quad l_.str.46
.quad l_.str.5
.quad l_.str.5
.quad l_.str.47
.quad l_.str.48
.quad l_.str.5
.quad l_.str.49
.quad l_.str.50
.quad l_.str.51
.quad l_.str.17
.quad l_.str.52
.quad l_.str.53
.quad l_.str.54
.quad l_.str.55
.quad l_.str.56
.quad l_.str.57
.quad l_.str.58
.quad l_.str.59
.quad l_.str.60
.quad l_.str.61
.quad l_.str.59
.quad l_.str.5
.quad l_.str.62
.quad l_.str.63
.quad l_.str.64
.quad l_.str.65
.quad l_.str.17
.quad l_.str.66
.quad l_.str.67
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.5
.quad l_.str.59
.quad l_.str.68
.quad l_.str.69
.quad l_.str.70
.quad l_.str.71
.quad l_.str.72
.quad l_.str.73
.quad l_.str.74
.quad l_.str.75
.quad l_.str.76
.quad l_.str.77
.quad l_.str.78
.quad l_.str.79
.quad l_.str.80
.quad l_.str.81
.quad l_.str.82
.quad l_.str.83
.quad l_.str.84
.quad l_.str.85
.quad l_.str.86
.quad l_.str.52
.quad l_.str.87
.quad l_.str.88
.quad l_.str.89
.quad 0
.section __TEXT,__cstring,cstring_literals
l_.str.90: ; @.str.90
.asciz "Kurt Vonneguts Commencement Address at"
l_.str.91: ; @.str.91
.asciz "MIT Ladies and gentlemen of"
l_.str.92: ; @.str.92
.asciz "the class of 97 Wear"
l_.str.93: ; @.str.93
.asciz "sunscreen If I could offer"
l_.str.94: ; @.str.94
.asciz "you only one tip for"
l_.str.95: ; @.str.95
.asciz "the future sunscreen would be"
l_.str.96: ; @.str.96
.asciz "it The longterm benefits of"
l_.str.97: ; @.str.97
.asciz "sunscreen have been proved by"
l_.str.98: ; @.str.98
.asciz "scientists whereas the rest of"
l_.str.99: ; @.str.99
.asciz "my advice has no basis"
l_.str.100: ; @.str.100
.asciz "more reliable than my own meandering experience"
l_.str.101: ; @.str.101
.asciz "I will dispense this advice"
l_.str.102: ; @.str.102
.asciz "now Enjoy the power and beauty"
l_.str.103: ; @.str.103
.asciz "of your youth Oh never mind"
l_.str.104: ; @.str.104
.asciz "You will not understand the power"
l_.str.105: ; @.str.105
.asciz "and beauty of your youth until theyve"
l_.str.106: ; @.str.106
.asciz "faded But trust me in"
l_.str.107: ; @.str.107
.asciz "20 years"
l_.str.108: ; @.str.108
.asciz "youll look"
l_.str.109: ; @.str.109
.asciz "back at photos of yourself"
l_.str.110: ; @.str.110
.asciz "and recall in a"
l_.str.111: ; @.str.111
.asciz "way you cant grasp now how much"
l_.str.112: ; @.str.112
.asciz "possibility lay before you"
l_.str.113: ; @.str.113
.asciz "and how fabulous you really looked You"
l_.str.114: ; @.str.114
.asciz "are not as fat"
l_.str.115: ; @.str.115
.asciz "as you imagine Dont worry about"
l_.str.116: ; @.str.116
.asciz "the future Or"
l_.str.117: ; @.str.117
.asciz "worry but know that worrying is as effective"
l_.str.118: ; @.str.118
.asciz "as trying to solve an algebra equation"
l_.str.119: ; @.str.119
.asciz "by chewing bubble gum The real troubles in"
l_.str.120: ; @.str.120
.asciz "your life are apt to"
l_.str.121: ; @.str.121
.asciz "be things that never crossed your"
l_.str.122: ; @.str.122
.asciz "worried mind the"
l_.str.123: ; @.str.123
.asciz "kind that blindside you at"
l_.str.124: ; @.str.124
.asciz "4 pm on some"
l_.str.125: ; @.str.125
.asciz "idle Tuesday"
l_.str.126: ; @.str.126
.asciz "Do one thing every day that"
l_.str.127: ; @.str.127
.asciz "scares you Sing Dont be reckless with other"
l_.str.128: ; @.str.128
.asciz "peoples hearts Dont put up"
l_.str.129: ; @.str.129
.asciz "with people who are reckless"
l_.str.130: ; @.str.130
.asciz "with yours Floss Dont waste your time"
l_.str.131: ; @.str.131
.asciz "on jealousy Sometimes youre ahead sometimes youre behind"
l_.str.132: ; @.str.132
.asciz "The race is long and in"
l_.str.133: ; @.str.133
.asciz "the end its only with"
l_.str.134: ; @.str.134
.asciz "yourself Remember compliments you receive"
l_.str.135: ; @.str.135
.asciz "Forget the insults If you"
l_.str.136: ; @.str.136
.asciz "succeed in doing this tell me how"
l_.str.137: ; @.str.137
.asciz "Keep your old"
l_.str.138: ; @.str.138
.asciz "love letters Throw away"
l_.str.139: ; @.str.139
.asciz "your old bank statements"
l_.str.140: ; @.str.140
.asciz "Stretch Dont feel guilty if you dont know"
l_.str.141: ; @.str.141
.asciz "what you want to do with your"
l_.str.142: ; @.str.142
.asciz "life The most interesting people I"
l_.str.143: ; @.str.143
.asciz "know didnt know at 22"
l_.str.144: ; @.str.144
.asciz "what they wanted"
l_.str.145: ; @.str.145
.asciz "to do with their lives Some of"
l_.str.146: ; @.str.146
.asciz "the most interesting"
l_.str.147: ; @.str.147
.asciz "40yearolds I know still dont"
l_.str.148: ; @.str.148
.asciz "Get plenty of calcium"
l_.str.149: ; @.str.149
.asciz "Be kind to your knees Youll miss"
l_.str.150: ; @.str.150
.asciz "them when theyre gone"
l_.str.151: ; @.str.151
.asciz "Maybe youll marry"
l_.str.152: ; @.str.152
.asciz "maybe you wont Maybe youll have children maybe"
l_.str.153: ; @.str.153
.asciz "you wont Maybe youll divorce at 40 maybe youll dance"
l_.str.154: ; @.str.154
.asciz "the funky chicken on"
l_.str.155: ; @.str.155
.asciz "your 75th wedding anniversary Whatever"
l_.str.156: ; @.str.156
.asciz "you do dont congratulate yourself too"
l_.str.157: ; @.str.157
.asciz "much or berate yourself"
l_.str.158: ; @.str.158
.asciz "either Your choices are half chance So"
l_.str.159: ; @.str.159
.asciz "are everybody elses"
l_.str.160: ; @.str.160
.asciz "Enjoy your body Use"
l_.str.161: ; @.str.161
.asciz "it every way you can Dont"
l_.str.162: ; @.str.162
.asciz "be afraid of it or of what"
l_.str.163: ; @.str.163
.asciz "other people think of"
l_.str.164: ; @.str.164
.asciz "it Its"
l_.str.165: ; @.str.165
.asciz "greatest instrument youll ever"
l_.str.166: ; @.str.166
.asciz "own Dance even if you have"
l_.str.167: ; @.str.167
.asciz "nowhere to do it but your living"
l_.str.168: ; @.str.168
.asciz "room Read the directions even if"
l_.str.169: ; @.str.169
.asciz "you dont follow them Do not read"
l_.str.170: ; @.str.170
.asciz "beauty magazines They will only make you"
l_.str.171: ; @.str.171
.asciz "feel ugly Get to know your parents You never"
l_.str.172: ; @.str.172
.asciz "know when theyll be gone for good Be"
l_.str.173: ; @.str.173
.asciz "nice to your siblings Theyre your"
l_.str.174: ; @.str.174
.asciz "best link to your"
l_.str.175: ; @.str.175
.asciz "past and the people most likely"
l_.str.176: ; @.str.176
.asciz "to stick with you"
l_.str.177: ; @.str.177
.asciz "in the future Understand that"
l_.str.178: ; @.str.178
.asciz "friends come and go but"
l_.str.179: ; @.str.179
.asciz "with a precious few you should hold"
l_.str.180: ; @.str.180
.asciz "on Work hard to bridge"
l_.str.181: ; @.str.181
.asciz "the gaps in geography and lifestyle"
l_.str.182: ; @.str.182
.asciz "because the older"
l_.str.183: ; @.str.183
.asciz "you get the more you need the"
l_.str.184: ; @.str.184
.asciz "people who knew you when you"
l_.str.185: ; @.str.185
.asciz "were young Live"
l_.str.186: ; @.str.186
.asciz "in New York City once but leave before"
l_.str.187: ; @.str.187
.asciz "it makes you hard Live in"
l_.str.188: ; @.str.188
.asciz "Northern California once but leave"
l_.str.189: ; @.str.189
.asciz "before it makes you soft Travel"
l_.str.190: ; @.str.190
.asciz "Accept certain inalienable truths Prices will rise"
l_.str.191: ; @.str.191
.asciz "Politicians will philander You too will"
l_.str.192: ; @.str.192
.asciz "get old And when you do youll"
l_.str.193: ; @.str.193
.asciz "fantasize that when you were young prices were"
l_.str.194: ; @.str.194
.asciz "reasonable politicians were noble and children respected"
l_.str.195: ; @.str.195
.asciz "their elders Respect your elders"
l_.str.196: ; @.str.196
.asciz "Dont expect anyone else to"
l_.str.197: ; @.str.197
.asciz "support you Maybe you have a"
l_.str.198: ; @.str.198
.asciz "trust fund Maybe youll have a wealthy"
l_.str.199: ; @.str.199
.asciz "spouse But you never know when either"
l_.str.200: ; @.str.200
.asciz "one might run out Dont mess"
l_.str.201: ; @.str.201
.asciz "too much with your hair or by the"
l_.str.202: ; @.str.202
.asciz "time youre 40 it will look 85 Be"
l_.str.203: ; @.str.203
.asciz "careful whose advice you buy but be patient"
l_.str.204: ; @.str.204
.asciz "with those who supply it Advice is a"
l_.str.205: ; @.str.205
.asciz "form of nostalgia Dispensing it is"
l_.str.206: ; @.str.206
.asciz "a way of fishing the past from"
l_.str.207: ; @.str.207
.asciz "the disposal wiping it off painting"
l_.str.208: ; @.str.208
.asciz "over the ugly parts"
l_.str.209: ; @.str.209
.asciz "and recycling it for more than its"
l_.str.210: ; @.str.210
.asciz "worth But trust me on the sunscreen"
.section __DATA,__const
.p2align 3 ; @__const.startup.search_strings
l___const.startup.search_strings:
.quad l_.str.90
.quad l_.str.91
.quad l_.str.92
.quad l_.str.93
.quad l_.str.94
.quad l_.str.95
.quad l_.str.96
.quad l_.str.97
.quad l_.str.98
.quad l_.str.99
.quad l_.str.100
.quad l_.str.101
.quad l_.str.102
.quad l_.str.103
.quad l_.str.104
.quad l_.str.105
.quad l_.str.106
.quad l_.str.107
.quad l_.str.108
.quad l_.str.109
.quad l_.str.110
.quad l_.str.111
.quad l_.str.112
.quad l_.str.113
.quad l_.str.114
.quad l_.str.115
.quad l_.str.116
.quad l_.str.117
.quad l_.str.118
.quad l_.str.119
.quad l_.str.120
.quad l_.str.121
.quad l_.str.122
.quad l_.str.123
.quad l_.str.124
.quad l_.str.125
.quad l_.str.126
.quad l_.str.127
.quad l_.str.128
.quad l_.str.129
.quad l_.str.130
.quad l_.str.131
.quad l_.str.132
.quad l_.str.133
.quad l_.str.134
.quad l_.str.135
.quad l_.str.136
.quad l_.str.137
.quad l_.str.138
.quad l_.str.139
.quad l_.str.140
.quad l_.str.141
.quad l_.str.142
.quad l_.str.143
.quad l_.str.144
.quad l_.str.145
.quad l_.str.146
.quad l_.str.147
.quad l_.str.148
.quad l_.str.149
.quad l_.str.150
.quad l_.str.151
.quad l_.str.152
.quad l_.str.153
.quad l_.str.154
.quad l_.str.155
.quad l_.str.156
.quad l_.str.157
.quad l_.str.158
.quad l_.str.159
.quad l_.str.160
.quad l_.str.161
.quad l_.str.162
.quad l_.str.163
.quad l_.str.164
.quad l_.str.52
.quad l_.str.165
.quad l_.str.166
.quad l_.str.167
.quad l_.str.168
.quad l_.str.169
.quad l_.str.170
.quad l_.str.171
.quad l_.str.172
.quad l_.str.173
.quad l_.str.174
.quad l_.str.175
.quad l_.str.176
.quad l_.str.177
.quad l_.str.178
.quad l_.str.179
.quad l_.str.180
.quad l_.str.181
.quad l_.str.182
.quad l_.str.183
.quad l_.str.184
.quad l_.str.185
.quad l_.str.186
.quad l_.str.187
.quad l_.str.188
.quad l_.str.189
.quad l_.str.190
.quad l_.str.191
.quad l_.str.192
.quad l_.str.193
.quad l_.str.194
.quad l_.str.195
.quad l_.str.196
.quad l_.str.197
.quad l_.str.198
.quad l_.str.199
.quad l_.str.200
.quad l_.str.201
.quad l_.str.202
.quad l_.str.203
.quad l_.str.204
.quad l_.str.205
.quad l_.str.206
.quad l_.str.207
.quad l_.str.208
.quad l_.str.209
.quad l_.str.210
.quad l_.str.91
.quad l_.str.92
.quad l_.str.93
.quad l_.str.94
.quad l_.str.95
.quad l_.str.96
.quad l_.str.97
.quad l_.str.98
.quad l_.str.99
.quad l_.str.100
.quad l_.str.101
.quad l_.str.102
.quad l_.str.103
.quad l_.str.104
.quad l_.str.105
.quad l_.str.106
.quad l_.str.107
.quad l_.str.108
.quad l_.str.109
.quad l_.str.110
.quad l_.str.111
.quad l_.str.112
.quad l_.str.113
.quad l_.str.114
.quad l_.str.115
.quad l_.str.116
.quad l_.str.117
.quad l_.str.118
.quad l_.str.119
.quad l_.str.120
.quad l_.str.121
.quad l_.str.122
.quad l_.str.123
.quad l_.str.124
.quad l_.str.125
.quad l_.str.126
.quad l_.str.127
.quad l_.str.128
.quad l_.str.129
.quad l_.str.130
.quad l_.str.131
.quad l_.str.132
.quad l_.str.133
.quad l_.str.134
.quad l_.str.135
.quad l_.str.136
.quad l_.str.137
.quad l_.str.138
.quad l_.str.139
.quad l_.str.140
.quad l_.str.141
.quad l_.str.142
.quad l_.str.143
.quad l_.str.144
.quad l_.str.145
.quad l_.str.146
.quad l_.str.147
.quad l_.str.148
.quad l_.str.149
.quad l_.str.150
.quad l_.str.151
.quad l_.str.152
.quad l_.str.153
.quad l_.str.154
.quad l_.str.155
.quad l_.str.156
.quad l_.str.157
.quad l_.str.158
.quad l_.str.159
.quad l_.str.160
.quad l_.str.161
.quad l_.str.162
.quad l_.str.163
.quad l_.str.164
.quad l_.str.52
.quad l_.str.165
.quad l_.str.166
.quad l_.str.167
.quad l_.str.168
.quad l_.str.169
.quad l_.str.170
.quad l_.str.171
.quad l_.str.172
.quad l_.str.173
.quad l_.str.174
.quad l_.str.175
.quad l_.str.176
.quad l_.str.177
.quad l_.str.178
.quad l_.str.179
.quad l_.str.180
.quad l_.str.181
.quad l_.str.182
.quad l_.str.183
.quad l_.str.184
.quad l_.str.185
.quad l_.str.186
.quad l_.str.187
.quad l_.str.188
.quad l_.str.189
.quad l_.str.190
.quad l_.str.191
.quad l_.str.192
.quad l_.str.193
.quad l_.str.194
.quad l_.str.195
.quad l_.str.196
.quad l_.str.197
.quad l_.str.198
.quad l_.str.199
.quad l_.str.200
.quad l_.str.201
.quad l_.str.202
.quad l_.str.203
.quad l_.str.204
.quad l_.str.205
.quad l_.str.206
.quad l_.str.207
.quad l_.str.208
.quad l_.str.209
.quad l_.str.210
.quad l_.str.91
.quad l_.str.92
.quad l_.str.93
.quad l_.str.94
.quad l_.str.95
.quad l_.str.96
.quad l_.str.97
.quad l_.str.98
.quad l_.str.99
.quad l_.str.100
.quad l_.str.101
.quad l_.str.102
.quad l_.str.103
.quad l_.str.104
.quad l_.str.105
.quad l_.str.106
.quad l_.str.107
.quad l_.str.108
.quad l_.str.109
.quad l_.str.110
.quad l_.str.111
.quad l_.str.112
.quad l_.str.113
.quad l_.str.114
.quad l_.str.115
.quad l_.str.116
.quad l_.str.117
.quad l_.str.118
.quad l_.str.119
.quad l_.str.120
.quad l_.str.121
.quad l_.str.122
.quad l_.str.123
.quad l_.str.124
.quad l_.str.125
.quad l_.str.126
.quad l_.str.127
.quad l_.str.128
.quad l_.str.129
.quad l_.str.130
.quad l_.str.131
.quad l_.str.132
.quad l_.str.133
.quad l_.str.134
.quad l_.str.135
.quad l_.str.136
.quad l_.str.137
.quad l_.str.138
.quad l_.str.139
.quad l_.str.140
.quad l_.str.141
.quad l_.str.142
.quad l_.str.143
.quad l_.str.144
.quad l_.str.145
.quad l_.str.146
.quad l_.str.147
.quad l_.str.148
.quad l_.str.149
.quad l_.str.150
.quad l_.str.151
.quad l_.str.152
.quad l_.str.153
.quad l_.str.154
.quad l_.str.155
.quad l_.str.156
.quad l_.str.157
.quad l_.str.158
.quad l_.str.159
.quad l_.str.160
.quad l_.str.161
.quad l_.str.162
.quad l_.str.163
.quad l_.str.164
.quad l_.str.52
.quad l_.str.165
.quad l_.str.166
.quad l_.str.167
.quad l_.str.168
.quad l_.str.169
.quad l_.str.170
.quad l_.str.171
.quad l_.str.172
.quad l_.str.173
.quad l_.str.174
.quad l_.str.175
.quad l_.str.176
.quad l_.str.177
.quad l_.str.178
.quad l_.str.179
.quad l_.str.180
.quad l_.str.181
.quad l_.str.182
.quad l_.str.183
.quad l_.str.184
.quad l_.str.185
.quad l_.str.186
.quad l_.str.187
.quad l_.str.188
.quad l_.str.189
.quad l_.str.190
.quad l_.str.191
.quad l_.str.192
.quad l_.str.193
.quad l_.str.194
.quad l_.str.195
.quad l_.str.196
.quad l_.str.197
.quad l_.str.198
.quad l_.str.199
.quad l_.str.200
.quad l_.str.201
.quad l_.str.202
.quad l_.str.203
.quad l_.str.204
.quad l_.str.205
.quad l_.str.206
.quad l_.str.207
.quad l_.str.208
.quad l_.str.209
.quad l_.str.210
.quad l_.str.91
.quad l_.str.92
.quad l_.str.93
.quad l_.str.94
.quad l_.str.95
.quad l_.str.96
.quad l_.str.97
.quad l_.str.98
.quad l_.str.99
.quad l_.str.100
.quad l_.str.101
.quad l_.str.102
.quad l_.str.103
.quad l_.str.104
.quad l_.str.105
.quad l_.str.106
.quad l_.str.107
.quad l_.str.108
.quad l_.str.109
.quad l_.str.110
.quad l_.str.111
.quad l_.str.112
.quad l_.str.113
.quad l_.str.114
.quad l_.str.115
.quad l_.str.116
.quad l_.str.117
.quad l_.str.118
.quad l_.str.119
.quad l_.str.120
.quad l_.str.121
.quad l_.str.122
.quad l_.str.123
.quad l_.str.124
.quad l_.str.125
.quad l_.str.126
.quad l_.str.127
.quad l_.str.128
.quad l_.str.129
.quad l_.str.130
.quad l_.str.131
.quad l_.str.132
.quad l_.str.133
.quad l_.str.134
.quad l_.str.135
.quad l_.str.136
.quad l_.str.137
.quad l_.str.138
.quad l_.str.139
.quad l_.str.140
.quad l_.str.141
.quad l_.str.142
.quad l_.str.143
.quad l_.str.144
.quad l_.str.145
.quad l_.str.146
.quad l_.str.147
.quad l_.str.148
.quad l_.str.149
.quad l_.str.150
.quad l_.str.151
.quad l_.str.152
.quad l_.str.153
.quad l_.str.154
.quad l_.str.155
.quad l_.str.156
.quad l_.str.157
.quad l_.str.158
.quad l_.str.159
.quad l_.str.160
.quad l_.str.161
.quad l_.str.162
.quad l_.str.163
.quad l_.str.164
.quad l_.str.52
.quad l_.str.165
.quad l_.str.166
.quad l_.str.167
.quad l_.str.168
.quad l_.str.169
.quad l_.str.170
.quad l_.str.171
.quad l_.str.172
.quad l_.str.173
.quad l_.str.174
.quad l_.str.175
.quad l_.str.176
.quad l_.str.177
.quad l_.str.178
.quad l_.str.179
.quad l_.str.180
.quad l_.str.181
.quad l_.str.182
.quad l_.str.183
.quad l_.str.184
.quad l_.str.185
.quad l_.str.186
.quad l_.str.187
.quad l_.str.188
.quad l_.str.189
.quad l_.str.190
.quad l_.str.191
.quad l_.str.192
.quad l_.str.193
.quad l_.str.194
.quad l_.str.195
.quad l_.str.196
.quad l_.str.197
.quad l_.str.198
.quad l_.str.199
.quad l_.str.200
.quad l_.str.201
.quad l_.str.202
.quad l_.str.203
.quad l_.str.204
.quad l_.str.205
.quad l_.str.206
.quad l_.str.207
.quad l_.str.208
.quad l_.str.209
.quad l_.str.210
.quad l_.str.91
.quad l_.str.92
.quad l_.str.93
.quad l_.str.94
.quad l_.str.95
.quad l_.str.96
.quad l_.str.97
.quad l_.str.98
.quad l_.str.99
.quad l_.str.100
.quad l_.str.101
.quad l_.str.102
.quad l_.str.103
.quad l_.str.104
.quad l_.str.105
.quad l_.str.106
.quad l_.str.107
.quad l_.str.108
.quad l_.str.109
.quad l_.str.110
.quad l_.str.111
.quad l_.str.112
.quad l_.str.113
.quad l_.str.114
.quad l_.str.115
.quad l_.str.116
.quad l_.str.117
.quad l_.str.118
.quad l_.str.119
.quad l_.str.120
.quad l_.str.121
.quad l_.str.122
.quad l_.str.123
.quad l_.str.124
.quad l_.str.125
.quad l_.str.126
.quad l_.str.127
.quad l_.str.128
.quad l_.str.129
.quad l_.str.130
.quad l_.str.131
.quad l_.str.132
.quad l_.str.133
.quad l_.str.134
.quad l_.str.135
.quad l_.str.136
.quad l_.str.137
.quad l_.str.138
.quad l_.str.139
.quad l_.str.140
.quad l_.str.141
.quad l_.str.142
.quad l_.str.143
.quad l_.str.144
.quad l_.str.145
.quad l_.str.146
.quad l_.str.147
.quad l_.str.148
.quad l_.str.149
.quad l_.str.150
.quad l_.str.151
.quad l_.str.152
.quad l_.str.153
.quad l_.str.154
.quad l_.str.155
.quad l_.str.156
.quad l_.str.157
.quad l_.str.158
.quad l_.str.159
.quad l_.str.160
.quad l_.str.161
.quad l_.str.162
.quad l_.str.163
.quad l_.str.164
.quad l_.str.52
.quad l_.str.165
.quad l_.str.166
.quad l_.str.167
.quad l_.str.168
.quad l_.str.169
.quad l_.str.170
.quad l_.str.171
.quad l_.str.172
.quad l_.str.173
.quad l_.str.174
.quad l_.str.175
.quad l_.str.176
.quad l_.str.177
.quad l_.str.178
.quad l_.str.179
.quad l_.str.180
.quad l_.str.181
.quad l_.str.182
.quad l_.str.183
.quad l_.str.184
.quad l_.str.185
.quad l_.str.186
.quad l_.str.187
.quad l_.str.188
.quad l_.str.189
.quad l_.str.190
.quad l_.str.191
.quad l_.str.192
.quad l_.str.193
.quad l_.str.194
.quad l_.str.195
.quad l_.str.196
.quad l_.str.197
.quad l_.str.198
.quad l_.str.199
.quad l_.str.200
.quad l_.str.201
.quad l_.str.202
.quad l_.str.203
.quad l_.str.204
.quad l_.str.205
.quad l_.str.206
.quad l_.str.207
.quad l_.str.208
.quad l_.str.209
.quad l_.str.210
.quad l_.str.91
.quad l_.str.92
.quad l_.str.93
.quad l_.str.94
.quad l_.str.95
.quad l_.str.96
.quad l_.str.97
.quad l_.str.98
.quad l_.str.99
.quad l_.str.100
.quad l_.str.101
.quad l_.str.102
.quad l_.str.103
.quad l_.str.104
.quad l_.str.105
.quad l_.str.106
.quad l_.str.107
.quad l_.str.108
.quad l_.str.109
.quad l_.str.110
.quad l_.str.111
.quad l_.str.112
.quad l_.str.113
.quad l_.str.114
.quad l_.str.115
.quad l_.str.116
.quad l_.str.117
.quad l_.str.118
.quad l_.str.119
.quad l_.str.120
.quad l_.str.121
.quad l_.str.122
.quad l_.str.123
.quad l_.str.124
.quad l_.str.125
.quad l_.str.126
.quad l_.str.127
.quad l_.str.128
.quad l_.str.129
.quad l_.str.130
.quad l_.str.131
.quad l_.str.132
.quad l_.str.133
.quad l_.str.134
.quad l_.str.135
.quad l_.str.136
.quad l_.str.137
.quad l_.str.138
.quad l_.str.139
.quad l_.str.140
.quad l_.str.141
.quad l_.str.142
.quad l_.str.143
.quad l_.str.144
.quad l_.str.145
.quad l_.str.146
.quad l_.str.147
.quad l_.str.148
.quad l_.str.149
.quad l_.str.150
.quad l_.str.151
.quad l_.str.152
.quad l_.str.153
.quad l_.str.154
.quad l_.str.155
.quad l_.str.156
.quad l_.str.157
.quad l_.str.158
.quad l_.str.159
.quad l_.str.160
.quad l_.str.161
.quad l_.str.162
.quad l_.str.163
.quad l_.str.164
.quad l_.str.52
.quad l_.str.165
.quad l_.str.166
.quad l_.str.167
.quad l_.str.168
.quad l_.str.169
.quad l_.str.170
.quad l_.str.171
.quad l_.str.172
.quad l_.str.173
.quad l_.str.174
.quad l_.str.175
.quad l_.str.176
.quad l_.str.177
.quad l_.str.178
.quad l_.str.179
.quad l_.str.180
.quad l_.str.181
.quad l_.str.182
.quad l_.str.183
.quad l_.str.184
.quad l_.str.185
.quad l_.str.186
.quad l_.str.187
.quad l_.str.188
.quad l_.str.189
.quad l_.str.190
.quad l_.str.191
.quad l_.str.192
.quad l_.str.193
.quad l_.str.194
.quad l_.str.195
.quad l_.str.196
.quad l_.str.197
.quad l_.str.198
.quad l_.str.199
.quad l_.str.200
.quad l_.str.201
.quad l_.str.202
.quad l_.str.203
.quad l_.str.204
.quad l_.str.205
.quad l_.str.206
.quad l_.str.207
.quad l_.str.208
.quad l_.str.209
.quad l_.str.210
.quad l_.str.91
.quad l_.str.92
.quad l_.str.93
.quad l_.str.94
.quad l_.str.95
.quad l_.str.96
.quad l_.str.97
.quad l_.str.98
.quad l_.str.99
.quad l_.str.100
.quad l_.str.101
.quad l_.str.102
.quad l_.str.103
.quad l_.str.104
.quad l_.str.105
.quad l_.str.106
.quad l_.str.107
.quad l_.str.108
.quad l_.str.109
.quad l_.str.110
.quad l_.str.111
.quad l_.str.112
.quad l_.str.113
.quad l_.str.114
.quad l_.str.115
.quad l_.str.116
.quad l_.str.117
.quad l_.str.118
.quad l_.str.119
.quad l_.str.120
.quad l_.str.121
.quad l_.str.122
.quad l_.str.123
.quad l_.str.124
.quad l_.str.125
.quad l_.str.126
.quad l_.str.127
.quad l_.str.128
.quad l_.str.129
.quad l_.str.130
.quad l_.str.131
.quad l_.str.132
.quad l_.str.133
.quad l_.str.134
.quad l_.str.135
.quad l_.str.136
.quad l_.str.137
.quad l_.str.138
.quad l_.str.139
.quad l_.str.140
.quad l_.str.141
.quad l_.str.142
.quad l_.str.143
.quad l_.str.144
.quad l_.str.145
.quad l_.str.146
.quad l_.str.147
.quad l_.str.148
.quad l_.str.149
.quad l_.str.150
.quad l_.str.151
.quad l_.str.152
.quad l_.str.153
.quad l_.str.154
.quad l_.str.155
.quad l_.str.156
.quad l_.str.157
.quad l_.str.158
.quad l_.str.159
.quad l_.str.160
.quad l_.str.161
.quad l_.str.162
.quad l_.str.163
.quad l_.str.164
.quad l_.str.52
.quad l_.str.165
.quad l_.str.166
.quad l_.str.167
.quad l_.str.168
.quad l_.str.169
.quad l_.str.170
.quad l_.str.171
.quad l_.str.172
.quad l_.str.173
.quad l_.str.174
.quad l_.str.175
.quad l_.str.176
.quad l_.str.177
.quad l_.str.178
.quad l_.str.179
.quad l_.str.180
.quad l_.str.181
.quad l_.str.182
.quad l_.str.183
.quad l_.str.184
.quad l_.str.185
.quad l_.str.186
.quad l_.str.187
.quad l_.str.188
.quad l_.str.189
.quad l_.str.190
.quad l_.str.191
.quad l_.str.192
.quad l_.str.193
.quad l_.str.194
.quad l_.str.195
.quad l_.str.196
.quad l_.str.197
.quad l_.str.198
.quad l_.str.199
.quad l_.str.200
.quad l_.str.201
.quad l_.str.202
.quad l_.str.203
.quad l_.str.204
.quad l_.str.205
.quad l_.str.206
.quad l_.str.207
.quad l_.str.208
.quad l_.str.209
.quad l_.str.210
.quad l_.str.91
.quad l_.str.92
.quad l_.str.93
.quad l_.str.94
.quad l_.str.95
.quad l_.str.96
.quad l_.str.97
.quad l_.str.98
.quad l_.str.99
.quad l_.str.100
.quad l_.str.101
.quad l_.str.102
.quad l_.str.103
.quad l_.str.104
.quad l_.str.105
.quad l_.str.106
.quad l_.str.107
.quad l_.str.108
.quad l_.str.109
.quad l_.str.110
.quad l_.str.111
.quad l_.str.112
.quad l_.str.113
.quad l_.str.114
.quad l_.str.115
.quad l_.str.116
.quad l_.str.117
.quad l_.str.118
.quad l_.str.119
.quad l_.str.120
.quad l_.str.121
.quad l_.str.122
.quad l_.str.123
.quad l_.str.124
.quad l_.str.125
.quad l_.str.126
.quad l_.str.127
.quad l_.str.128
.quad l_.str.129
.quad l_.str.130
.quad l_.str.131
.quad l_.str.132
.quad l_.str.133
.quad l_.str.134
.quad l_.str.135
.quad l_.str.136
.quad l_.str.137
.quad l_.str.138
.quad l_.str.139
.quad l_.str.140
.quad l_.str.141
.quad l_.str.142
.quad l_.str.143
.quad l_.str.144
.quad l_.str.145
.quad l_.str.146
.quad l_.str.147
.quad l_.str.148
.quad l_.str.149
.quad l_.str.150
.quad l_.str.151
.quad l_.str.152
.quad l_.str.153
.quad l_.str.154
.quad l_.str.155
.quad l_.str.156
.quad l_.str.157
.quad l_.str.158
.quad l_.str.159
.quad l_.str.160
.quad l_.str.161
.quad l_.str.162
.quad l_.str.163
.quad l_.str.164
.quad l_.str.52
.quad l_.str.165
.quad l_.str.166
.quad l_.str.167
.quad l_.str.168
.quad l_.str.169
.quad l_.str.170
.quad l_.str.171
.quad l_.str.172
.quad l_.str.173
.quad l_.str.174
.quad l_.str.175
.quad l_.str.176
.quad l_.str.177
.quad l_.str.178
.quad l_.str.179
.quad l_.str.180
.quad l_.str.181
.quad l_.str.182
.quad l_.str.183
.quad l_.str.184
.quad l_.str.185
.quad l_.str.186
.quad l_.str.187
.quad l_.str.188
.quad l_.str.189
.quad l_.str.190
.quad l_.str.191
.quad l_.str.192
.quad l_.str.193
.quad l_.str.194
.quad l_.str.195
.quad l_.str.196
.quad l_.str.197
.quad l_.str.198
.quad l_.str.199
.quad l_.str.200
.quad l_.str.201
.quad l_.str.202
.quad l_.str.203
.quad l_.str.204
.quad l_.str.205
.quad l_.str.206
.quad l_.str.207
.quad l_.str.208
.quad l_.str.209
.quad l_.str.210
.quad l_.str.91
.quad l_.str.92
.quad l_.str.93
.quad l_.str.94
.quad l_.str.95
.quad l_.str.96
.quad l_.str.97
.quad l_.str.98
.quad l_.str.99
.quad l_.str.100
.quad l_.str.101
.quad l_.str.102
.quad l_.str.103
.quad l_.str.104
.quad l_.str.105
.quad l_.str.106
.quad l_.str.107
.quad l_.str.108
.quad l_.str.109
.quad l_.str.110
.quad l_.str.111
.quad l_.str.112
.quad l_.str.113
.quad l_.str.114
.quad l_.str.115
.quad l_.str.116
.quad l_.str.117
.quad l_.str.118
.quad l_.str.119
.quad l_.str.120
.quad l_.str.121
.quad l_.str.122
.quad l_.str.123
.quad l_.str.124
.quad l_.str.125
.quad l_.str.126
.quad l_.str.127
.quad l_.str.128
.quad l_.str.129
.quad l_.str.130
.quad l_.str.131
.quad l_.str.132
.quad l_.str.133
.quad l_.str.134
.quad l_.str.135
.quad l_.str.136
.quad l_.str.137
.quad l_.str.138
.quad l_.str.139
.quad l_.str.140
.quad l_.str.141
.quad l_.str.142
.quad l_.str.143
.quad l_.str.144
.quad l_.str.145
.quad l_.str.146
.quad l_.str.147
.quad l_.str.148
.quad l_.str.149
.quad l_.str.150
.quad l_.str.151
.quad l_.str.152
.quad l_.str.153
.quad l_.str.154
.quad l_.str.155
.quad l_.str.156
.quad l_.str.157
.quad l_.str.158
.quad l_.str.159
.quad l_.str.160
.quad l_.str.161
.quad l_.str.162
.quad l_.str.163
.quad l_.str.164
.quad l_.str.52
.quad l_.str.165
.quad l_.str.166
.quad l_.str.167
.quad l_.str.168
.quad l_.str.169
.quad l_.str.170
.quad l_.str.171
.quad l_.str.172
.quad l_.str.173
.quad l_.str.174
.quad l_.str.175
.quad l_.str.176
.quad l_.str.177
.quad l_.str.178
.quad l_.str.179
.quad l_.str.180
.quad l_.str.181
.quad l_.str.182
.quad l_.str.183
.quad l_.str.184
.quad l_.str.185
.quad l_.str.186
.quad l_.str.187
.quad l_.str.188
.quad l_.str.189
.quad l_.str.190
.quad l_.str.191
.quad l_.str.192
.quad l_.str.193
.quad l_.str.194
.quad l_.str.195
.quad l_.str.196
.quad l_.str.197
.quad l_.str.198
.quad l_.str.199
.quad l_.str.200
.quad l_.str.201
.quad l_.str.202
.quad l_.str.203
.quad l_.str.204
.quad l_.str.205
.quad l_.str.206
.quad l_.str.207
.quad l_.str.208
.quad l_.str.209
.quad l_.str.210
.quad l_.str.91
.quad l_.str.92
.quad l_.str.93
.quad l_.str.94
.quad l_.str.95
.quad l_.str.96
.quad l_.str.97
.quad l_.str.98
.quad l_.str.99
.quad l_.str.100
.quad l_.str.101
.quad l_.str.102
.quad l_.str.103
.quad l_.str.104
.quad l_.str.105
.quad l_.str.106
.quad l_.str.107
.quad l_.str.108
.quad l_.str.109
.quad l_.str.110
.quad l_.str.111
.quad l_.str.112
.quad l_.str.113
.quad l_.str.114
.quad l_.str.115
.quad l_.str.116
.quad l_.str.117
.quad l_.str.118
.quad l_.str.119
.quad l_.str.120
.quad l_.str.121
.quad l_.str.122
.quad l_.str.123
.quad l_.str.124
.quad l_.str.125
.quad l_.str.126
.quad l_.str.127
.quad l_.str.128
.quad l_.str.129
.quad l_.str.130
.quad l_.str.131
.quad l_.str.132
.quad l_.str.133
.quad l_.str.134
.quad l_.str.135
.quad l_.str.136
.quad l_.str.137
.quad l_.str.138
.quad l_.str.139
.quad l_.str.140
.quad l_.str.141
.quad l_.str.142
.quad l_.str.143
.quad l_.str.144
.quad l_.str.145
.quad l_.str.146
.quad l_.str.147
.quad l_.str.148
.quad l_.str.149
.quad l_.str.150
.quad l_.str.151
.quad l_.str.152
.quad l_.str.153
.quad l_.str.154
.quad l_.str.155
.quad l_.str.156
.quad l_.str.157
.quad l_.str.158
.quad l_.str.159
.quad l_.str.160
.quad l_.str.161
.quad l_.str.162
.quad l_.str.163
.quad l_.str.164
.quad l_.str.52
.quad l_.str.165
.quad l_.str.166
.quad l_.str.167
.quad l_.str.168
.quad l_.str.169
.quad l_.str.170
.quad l_.str.171
.quad l_.str.172
.quad l_.str.173
.quad l_.str.174
.quad l_.str.175
.quad l_.str.176
.quad l_.str.177
.quad l_.str.178
.quad l_.str.179
.quad l_.str.180
.quad l_.str.181
.quad l_.str.182
.quad l_.str.183
.quad l_.str.184
.quad l_.str.185
.quad l_.str.186
.quad l_.str.187
.quad l_.str.188
.quad l_.str.189
.quad l_.str.190
.quad l_.str.191
.quad l_.str.192
.quad l_.str.193
.quad l_.str.194
.quad l_.str.195
.quad l_.str.196
.quad l_.str.197
.quad l_.str.198
.quad l_.str.199
.quad l_.str.200
.quad l_.str.201
.quad l_.str.202
.quad l_.str.203
.quad l_.str.204
.quad l_.str.205
.quad l_.str.206
.quad l_.str.207
.quad l_.str.208
.quad l_.str.209
.quad l_.str.210
.quad l_.str.91
.quad l_.str.92
.quad l_.str.93
.quad l_.str.94
.quad l_.str.95
.quad l_.str.96
.quad l_.str.97
.quad l_.str.98
.quad l_.str.99
.quad l_.str.100
.quad l_.str.101
.quad l_.str.102
.quad l_.str.103
.quad l_.str.104
.quad l_.str.105
.quad l_.str.106
.quad l_.str.107
.quad l_.str.108
.quad l_.str.109
.quad l_.str.110
.quad l_.str.111
.quad l_.str.112
.quad l_.str.113
.quad l_.str.114
.quad l_.str.115
.quad l_.str.116
.quad l_.str.117
.quad l_.str.118
.quad l_.str.119
.quad l_.str.120
.quad l_.str.121
.quad l_.str.122
.quad l_.str.123
.quad l_.str.124
.quad l_.str.125
.quad l_.str.126
.quad l_.str.127
.quad l_.str.128
.quad l_.str.129
.quad l_.str.130
.quad l_.str.131
.quad l_.str.132
.quad l_.str.133
.quad l_.str.134
.quad l_.str.135
.quad l_.str.136
.quad l_.str.137
.quad l_.str.138
.quad l_.str.139
.quad l_.str.140
.quad l_.str.141
.quad l_.str.142
.quad l_.str.143
.quad l_.str.144
.quad l_.str.145
.quad l_.str.146
.quad l_.str.147
.quad l_.str.148
.quad l_.str.149
.quad l_.str.150
.quad l_.str.151
.quad l_.str.152
.quad l_.str.153
.quad l_.str.154
.quad l_.str.155
.quad l_.str.156
.quad l_.str.157
.quad l_.str.158
.quad l_.str.159
.quad l_.str.160
.quad l_.str.161
.quad l_.str.162
.quad l_.str.163
.quad l_.str.164
.quad l_.str.52
.quad l_.str.165
.quad l_.str.166
.quad l_.str.167
.quad l_.str.168
.quad l_.str.169
.quad l_.str.170
.quad l_.str.171
.quad l_.str.172
.quad l_.str.173
.quad l_.str.174
.quad l_.str.175
.quad l_.str.176
.quad l_.str.177
.quad l_.str.178
.quad l_.str.179
.quad l_.str.180
.quad l_.str.181
.quad l_.str.182
.quad l_.str.183
.quad l_.str.184
.quad l_.str.185
.quad l_.str.186
.quad l_.str.187
.quad l_.str.188
.quad l_.str.189
.quad l_.str.190
.quad l_.str.191
.quad l_.str.192
.quad l_.str.193
.quad l_.str.194
.quad l_.str.195
.quad l_.str.196
.quad l_.str.197
.quad l_.str.198
.quad l_.str.199
.quad l_.str.200
.quad l_.str.201
.quad l_.str.202
.quad l_.str.203
.quad l_.str.204
.quad l_.str.205
.quad l_.str.206
.quad l_.str.207
.quad l_.str.208
.quad l_.str.209
.quad l_.str.210
.section __TEXT,__cstring,cstring_literals
l_.str.211: ; @.str.211
.asciz "\"%s\" is%s in \"%s\""
l_.str.212: ; @.str.212
.space 1
l_.str.213: ; @.str.213
.asciz " not"
l_.str.214: ; @.str.214
.asciz " [\"%s\"]"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _init_search ## -- Begin function init_search
.p2align 4, 0x90
_init_search: ## @init_search
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
callq _strlen
movq %rax, _len(%rip)
movq $0, -16(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpq $255, -16(%rbp)
ja LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq _len(%rip), %rdx
movq -16(%rbp), %rcx
leaq _table(%rip), %rax
movq %rdx, (%rax,%rcx,8)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB0_1
LBB0_4:
movq $0, -16(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
cmpq _len(%rip), %rax
jae LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq _len(%rip), %rdx
subq -16(%rbp), %rdx
subq $1, %rdx
movq -8(%rbp), %rax
movq -16(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, %ecx
leaq _table(%rip), %rax
movq %rdx, (%rax,%rcx,8)
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB0_5
LBB0_8:
movq -8(%rbp), %rax
movq %rax, _findme(%rip)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _strsearch ## -- Begin function strsearch
.p2align 4, 0x90
_strsearch: ## @strsearch
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -16(%rbp)
movq _len(%rip), %rax
subq $1, %rax
movq %rax, -32(%rbp)
movq -16(%rbp), %rdi
callq _strlen
movq %rax, -48(%rbp)
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_3 Depth 2
movq -32(%rbp), %rax
cmpq -48(%rbp), %rax
jae LBB1_13
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_3
LBB1_3: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -32(%rbp), %rcx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq -48(%rbp), %rcx
movb %al, -49(%rbp) ## 1-byte Spill
jae LBB1_5
## %bb.4: ## in Loop: Header=BB1_3 Depth=2
movq -16(%rbp), %rax
movq -32(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, %ecx
leaq _table(%rip), %rax
movq (%rax,%rcx,8), %rax
movq %rax, -24(%rbp)
cmpq $0, %rax
seta %al
movb %al, -49(%rbp) ## 1-byte Spill
LBB1_5: ## in Loop: Header=BB1_3 Depth=2
movb -49(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB1_6
jmp LBB1_7
LBB1_6: ## in Loop: Header=BB1_3 Depth=2
movq -24(%rbp), %rax
addq -32(%rbp), %rax
movq %rax, -32(%rbp)
jmp LBB1_3
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
xorl %eax, %eax
## kill: def $rax killed $eax
cmpq -24(%rbp), %rax
jne LBB1_12
## %bb.8: ## in Loop: Header=BB1_1 Depth=1
movq _findme(%rip), %rdi
movq -16(%rbp), %rsi
movq -32(%rbp), %rax
subq _len(%rip), %rax
addq $1, %rax
addq %rax, %rsi
movq %rsi, -40(%rbp)
movq _len(%rip), %rdx
callq _strncmp
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jne LBB1_10
## %bb.9:
movq -40(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB1_14
LBB1_10: ## in Loop: Header=BB1_1 Depth=1
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
## %bb.11: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_12
LBB1_12: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_1
LBB1_13:
movq $0, -8(%rbp)
LBB1_14:
movq -8(%rbp), %rax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _startup ## -- Begin function startup
.p2align 4, 0x90
_startup: ## @startup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $21344, %eax ## imm = 0x5360
callq ____chkstk_darwin
subq %rax, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
leaq -10672(%rbp), %rdi
leaq l___const.startup.find_strings(%rip), %rsi
movl $10664, %edx ## imm = 0x29A8
callq _memcpy
leaq -21328(%rbp), %rdi
leaq l___const.startup.search_strings(%rip), %rsi
movl $10656, %edx ## imm = 0x29A0
callq _memcpy
movl $0, -21340(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movslq -21340(%rbp), %rax
cmpq $0, -10672(%rbp,%rax,8)
je LBB2_6
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movslq -21340(%rbp), %rax
movq -10672(%rbp,%rax,8), %rdi
callq _init_search
movslq -21340(%rbp), %rax
movq -21328(%rbp,%rax,8), %rdi
callq _strsearch
movq %rax, -21336(%rbp)
movslq -21340(%rbp), %rax
movq -10672(%rbp,%rax,8), %rsi
movq -21336(%rbp), %rcx
leaq L_.str.213(%rip), %rdx
leaq L_.str.212(%rip), %rax
cmpq $0, %rcx
cmovneq %rax, %rdx
movslq -21340(%rbp), %rax
movq -21328(%rbp,%rax,8), %rcx
leaq L_.str.211(%rip), %rdi
movb $0, %al
callq _printf
cmpq $0, -21336(%rbp)
je LBB2_4
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movq -21336(%rbp), %rsi
leaq L_.str.214(%rip), %rdi
movb $0, %al
callq _printf
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
movl $10, %edi
callq _putchar
## %bb.5: ## in Loop: Header=BB2_1 Depth=1
movl -21340(%rbp), %eax
addl $1, %eax
movl %eax, -21340(%rbp)
jmp LBB2_1
LBB2_6:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_8
## %bb.7:
xorl %eax, %eax
addq $21344, %rsp ## imm = 0x5360
popq %rbp
retq
LBB2_8:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_len,8,3 ## @len
.zerofill __DATA,__bss,_table,2048,4 ## @table
.zerofill __DATA,__bss,_findme,8,3 ## @findme
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Kur"
L_.str.1: ## @.str.1
.asciz "gent"
L_.str.2: ## @.str.2
.asciz "lass"
L_.str.3: ## @.str.3
.asciz "suns"
L_.str.4: ## @.str.4
.asciz "for"
L_.str.5: ## @.str.5
.asciz "xxx"
L_.str.6: ## @.str.6
.asciz "long"
L_.str.7: ## @.str.7
.asciz "have"
L_.str.8: ## @.str.8
.asciz "where"
L_.str.9: ## @.str.9
.asciz "xxxxxx"
L_.str.10: ## @.str.10
.asciz "pense"
L_.str.11: ## @.str.11
.asciz "pow"
L_.str.12: ## @.str.12
.asciz "xxxxx"
L_.str.13: ## @.str.13
.asciz "Yo"
L_.str.14: ## @.str.14
.asciz "and"
L_.str.15: ## @.str.15
.asciz "faded"
L_.str.16: ## @.str.16
.asciz "20"
L_.str.17: ## @.str.17
.asciz "you"
L_.str.18: ## @.str.18
.asciz "bac"
L_.str.19: ## @.str.19
.asciz "an"
L_.str.20: ## @.str.20
.asciz "way"
L_.str.21: ## @.str.21
.asciz "possibili"
L_.str.22: ## @.str.22
.asciz "fat"
L_.str.23: ## @.str.23
.asciz "imag"
L_.str.24: ## @.str.24
.asciz "th"
L_.str.25: ## @.str.25
.asciz "wor"
L_.str.26: ## @.str.26
.asciz "yo"
L_.str.27: ## @.str.27
.asciz "bxx"
L_.str.28: ## @.str.28
.asciz "wo"
L_.str.29: ## @.str.29
.asciz "kind"
L_.str.30: ## @.str.30
.asciz "4"
L_.str.31: ## @.str.31
.asciz "idle"
L_.str.32: ## @.str.32
.asciz "Do"
L_.str.33: ## @.str.33
.asciz "scare"
L_.str.34: ## @.str.34
.asciz "people"
L_.str.35: ## @.str.35
.asciz "wit"
L_.str.36: ## @.str.36
.asciz "Th"
L_.str.37: ## @.str.37
.asciz "yourself"
L_.str.38: ## @.str.38
.asciz "Forget"
L_.str.39: ## @.str.39
.asciz "succeed"
L_.str.40: ## @.str.40
.asciz "Kee"
L_.str.41: ## @.str.41
.asciz "lov"
L_.str.42: ## @.str.42
.asciz "Stretc"
L_.str.43: ## @.str.43
.asciz "what"
L_.str.44: ## @.str.44
.asciz "life"
L_.str.45: ## @.str.45
.asciz "kno"
L_.str.46: ## @.str.46
.asciz "wha"
L_.str.47: ## @.str.47
.asciz "40"
L_.str.48: ## @.str.48
.asciz "Get"
L_.str.49: ## @.str.49
.asciz "them"
L_.str.50: ## @.str.50
.asciz "Maybe"
L_.str.51: ## @.str.51
.asciz "may"
L_.str.52: ## @.str.52
.asciz "the"
L_.str.53: ## @.str.53
.asciz "your"
L_.str.54: ## @.str.54
.asciz "congratulate"
L_.str.55: ## @.str.55
.asciz "much"
L_.str.56: ## @.str.56
.asciz "either"
L_.str.57: ## @.str.57
.asciz "are"
L_.str.58: ## @.str.58
.asciz "Enjoy"
L_.str.59: ## @.str.59
.asciz "it"
L_.str.60: ## @.str.60
.asciz "be"
L_.str.61: ## @.str.61
.asciz "other"
L_.str.62: ## @.str.62
.asciz "greatest"
L_.str.63: ## @.str.63
.asciz "own"
L_.str.64: ## @.str.64
.asciz "nowhere"
L_.str.65: ## @.str.65
.asciz "room"
L_.str.66: ## @.str.66
.asciz "beauty"
L_.str.67: ## @.str.67
.asciz "feel"
L_.str.68: ## @.str.68
.asciz "Northern"
L_.str.69: ## @.str.69
.asciz "before"
L_.str.70: ## @.str.70
.asciz "Accept"
L_.str.71: ## @.str.71
.asciz "Politicians"
L_.str.72: ## @.str.72
.asciz "get"
L_.str.73: ## @.str.73
.asciz "size"
L_.str.74: ## @.str.74
.asciz "reasonable"
L_.str.75: ## @.str.75
.asciz "their"
L_.str.76: ## @.str.76
.asciz "Dont"
L_.str.77: ## @.str.77
.asciz "support"
L_.str.78: ## @.str.78
.asciz "trust"
L_.str.79: ## @.str.79
.asciz "spouse"
L_.str.80: ## @.str.80
.asciz "one"
L_.str.81: ## @.str.81
.asciz "too"
L_.str.82: ## @.str.82
.asciz "time"
L_.str.83: ## @.str.83
.asciz "careful"
L_.str.84: ## @.str.84
.asciz "with"
L_.str.85: ## @.str.85
.asciz "Dispensing"
L_.str.86: ## @.str.86
.asciz "past"
L_.str.87: ## @.str.87
.asciz "parts"
L_.str.88: ## @.str.88
.asciz "more"
L_.str.89: ## @.str.89
.asciz "me"
.section __DATA,__const
.p2align 4 ## @__const.startup.find_strings
l___const.startup.find_strings:
.quad L_.str
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.quad L_.str.4
.quad L_.str.5
.quad L_.str.6
.quad L_.str.7
.quad L_.str.8
.quad L_.str.9
.quad L_.str.9
.quad L_.str.10
.quad L_.str.11
.quad L_.str.12
.quad L_.str.13
.quad L_.str.14
.quad L_.str.15
.quad L_.str.16
.quad L_.str.17
.quad L_.str.18
.quad L_.str.19
.quad L_.str.20
.quad L_.str.21
.quad L_.str.19
.quad L_.str.22
.quad L_.str.23
.quad L_.str.24
.quad L_.str.25
.quad L_.str.5
.quad L_.str.5
.quad L_.str.26
.quad L_.str.27
.quad L_.str.28
.quad L_.str.29
.quad L_.str.30
.quad L_.str.31
.quad L_.str.32
.quad L_.str.33
.quad L_.str.34
.quad L_.str.35
.quad L_.str.5
.quad L_.str.5
.quad L_.str.36
.quad L_.str.5
.quad L_.str.37
.quad L_.str.38
.quad L_.str.39
.quad L_.str.40
.quad L_.str.41
.quad L_.str.26
.quad L_.str.42
.quad L_.str.43
.quad L_.str.44
.quad L_.str.45
.quad L_.str.46
.quad L_.str.5
.quad L_.str.5
.quad L_.str.47
.quad L_.str.48
.quad L_.str.5
.quad L_.str.49
.quad L_.str.50
.quad L_.str.51
.quad L_.str.17
.quad L_.str.52
.quad L_.str.53
.quad L_.str.54
.quad L_.str.55
.quad L_.str.56
.quad L_.str.57
.quad L_.str.58
.quad L_.str.59
.quad L_.str.60
.quad L_.str.61
.quad L_.str.59
.quad L_.str.5
.quad L_.str.62
.quad L_.str.63
.quad L_.str.64
.quad L_.str.65
.quad L_.str.17
.quad L_.str.66
.quad L_.str.67
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.59
.quad L_.str.68
.quad L_.str.69
.quad L_.str.70
.quad L_.str.71
.quad L_.str.72
.quad L_.str.73
.quad L_.str.74
.quad L_.str.75
.quad L_.str.76
.quad L_.str.77
.quad L_.str.78
.quad L_.str.79
.quad L_.str.80
.quad L_.str.81
.quad L_.str.82
.quad L_.str.83
.quad L_.str.84
.quad L_.str.85
.quad L_.str.86
.quad L_.str.52
.quad L_.str.87
.quad L_.str.88
.quad L_.str.89
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.quad L_.str.4
.quad L_.str.5
.quad L_.str.6
.quad L_.str.7
.quad L_.str.8
.quad L_.str.9
.quad L_.str.9
.quad L_.str.10
.quad L_.str.11
.quad L_.str.12
.quad L_.str.13
.quad L_.str.14
.quad L_.str.15
.quad L_.str.16
.quad L_.str.17
.quad L_.str.18
.quad L_.str.19
.quad L_.str.20
.quad L_.str.21
.quad L_.str.19
.quad L_.str.22
.quad L_.str.23
.quad L_.str.24
.quad L_.str.25
.quad L_.str.5
.quad L_.str.5
.quad L_.str.26
.quad L_.str.27
.quad L_.str.28
.quad L_.str.29
.quad L_.str.30
.quad L_.str.31
.quad L_.str.32
.quad L_.str.33
.quad L_.str.34
.quad L_.str.35
.quad L_.str.5
.quad L_.str.5
.quad L_.str.36
.quad L_.str.5
.quad L_.str.37
.quad L_.str.38
.quad L_.str.39
.quad L_.str.40
.quad L_.str.41
.quad L_.str.26
.quad L_.str.42
.quad L_.str.43
.quad L_.str.44
.quad L_.str.45
.quad L_.str.46
.quad L_.str.5
.quad L_.str.5
.quad L_.str.47
.quad L_.str.48
.quad L_.str.5
.quad L_.str.49
.quad L_.str.50
.quad L_.str.51
.quad L_.str.17
.quad L_.str.52
.quad L_.str.53
.quad L_.str.54
.quad L_.str.55
.quad L_.str.56
.quad L_.str.57
.quad L_.str.58
.quad L_.str.59
.quad L_.str.60
.quad L_.str.61
.quad L_.str.59
.quad L_.str.5
.quad L_.str.62
.quad L_.str.63
.quad L_.str.64
.quad L_.str.65
.quad L_.str.17
.quad L_.str.66
.quad L_.str.67
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.59
.quad L_.str.68
.quad L_.str.69
.quad L_.str.70
.quad L_.str.71
.quad L_.str.72
.quad L_.str.73
.quad L_.str.74
.quad L_.str.75
.quad L_.str.76
.quad L_.str.77
.quad L_.str.78
.quad L_.str.79
.quad L_.str.80
.quad L_.str.81
.quad L_.str.82
.quad L_.str.83
.quad L_.str.84
.quad L_.str.85
.quad L_.str.86
.quad L_.str.52
.quad L_.str.87
.quad L_.str.88
.quad L_.str.89
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.quad L_.str.4
.quad L_.str.5
.quad L_.str.6
.quad L_.str.7
.quad L_.str.8
.quad L_.str.9
.quad L_.str.9
.quad L_.str.10
.quad L_.str.11
.quad L_.str.12
.quad L_.str.13
.quad L_.str.14
.quad L_.str.15
.quad L_.str.16
.quad L_.str.17
.quad L_.str.18
.quad L_.str.19
.quad L_.str.20
.quad L_.str.21
.quad L_.str.19
.quad L_.str.22
.quad L_.str.23
.quad L_.str.24
.quad L_.str.25
.quad L_.str.5
.quad L_.str.5
.quad L_.str.26
.quad L_.str.27
.quad L_.str.28
.quad L_.str.29
.quad L_.str.30
.quad L_.str.31
.quad L_.str.32
.quad L_.str.33
.quad L_.str.34
.quad L_.str.35
.quad L_.str.5
.quad L_.str.5
.quad L_.str.36
.quad L_.str.5
.quad L_.str.37
.quad L_.str.38
.quad L_.str.39
.quad L_.str.40
.quad L_.str.41
.quad L_.str.26
.quad L_.str.42
.quad L_.str.43
.quad L_.str.44
.quad L_.str.45
.quad L_.str.46
.quad L_.str.5
.quad L_.str.5
.quad L_.str.47
.quad L_.str.48
.quad L_.str.5
.quad L_.str.49
.quad L_.str.50
.quad L_.str.51
.quad L_.str.17
.quad L_.str.52
.quad L_.str.53
.quad L_.str.54
.quad L_.str.55
.quad L_.str.56
.quad L_.str.57
.quad L_.str.58
.quad L_.str.59
.quad L_.str.60
.quad L_.str.61
.quad L_.str.59
.quad L_.str.5
.quad L_.str.62
.quad L_.str.63
.quad L_.str.64
.quad L_.str.65
.quad L_.str.17
.quad L_.str.66
.quad L_.str.67
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.59
.quad L_.str.68
.quad L_.str.69
.quad L_.str.70
.quad L_.str.71
.quad L_.str.72
.quad L_.str.73
.quad L_.str.74
.quad L_.str.75
.quad L_.str.76
.quad L_.str.77
.quad L_.str.78
.quad L_.str.79
.quad L_.str.80
.quad L_.str.81
.quad L_.str.82
.quad L_.str.83
.quad L_.str.84
.quad L_.str.85
.quad L_.str.86
.quad L_.str.52
.quad L_.str.87
.quad L_.str.88
.quad L_.str.89
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.quad L_.str.4
.quad L_.str.5
.quad L_.str.6
.quad L_.str.7
.quad L_.str.8
.quad L_.str.9
.quad L_.str.9
.quad L_.str.10
.quad L_.str.11
.quad L_.str.12
.quad L_.str.13
.quad L_.str.14
.quad L_.str.15
.quad L_.str.16
.quad L_.str.17
.quad L_.str.18
.quad L_.str.19
.quad L_.str.20
.quad L_.str.21
.quad L_.str.19
.quad L_.str.22
.quad L_.str.23
.quad L_.str.24
.quad L_.str.25
.quad L_.str.5
.quad L_.str.5
.quad L_.str.26
.quad L_.str.27
.quad L_.str.28
.quad L_.str.29
.quad L_.str.30
.quad L_.str.31
.quad L_.str.32
.quad L_.str.33
.quad L_.str.34
.quad L_.str.35
.quad L_.str.5
.quad L_.str.5
.quad L_.str.36
.quad L_.str.5
.quad L_.str.37
.quad L_.str.38
.quad L_.str.39
.quad L_.str.40
.quad L_.str.41
.quad L_.str.26
.quad L_.str.42
.quad L_.str.43
.quad L_.str.44
.quad L_.str.45
.quad L_.str.46
.quad L_.str.5
.quad L_.str.5
.quad L_.str.47
.quad L_.str.48
.quad L_.str.5
.quad L_.str.49
.quad L_.str.50
.quad L_.str.51
.quad L_.str.17
.quad L_.str.52
.quad L_.str.53
.quad L_.str.54
.quad L_.str.55
.quad L_.str.56
.quad L_.str.57
.quad L_.str.58
.quad L_.str.59
.quad L_.str.60
.quad L_.str.61
.quad L_.str.59
.quad L_.str.5
.quad L_.str.62
.quad L_.str.63
.quad L_.str.64
.quad L_.str.65
.quad L_.str.17
.quad L_.str.66
.quad L_.str.67
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.59
.quad L_.str.68
.quad L_.str.69
.quad L_.str.70
.quad L_.str.71
.quad L_.str.72
.quad L_.str.73
.quad L_.str.74
.quad L_.str.75
.quad L_.str.76
.quad L_.str.77
.quad L_.str.78
.quad L_.str.79
.quad L_.str.80
.quad L_.str.81
.quad L_.str.82
.quad L_.str.83
.quad L_.str.84
.quad L_.str.85
.quad L_.str.86
.quad L_.str.52
.quad L_.str.87
.quad L_.str.88
.quad L_.str.89
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.quad L_.str.4
.quad L_.str.5
.quad L_.str.6
.quad L_.str.7
.quad L_.str.8
.quad L_.str.9
.quad L_.str.9
.quad L_.str.10
.quad L_.str.11
.quad L_.str.12
.quad L_.str.13
.quad L_.str.14
.quad L_.str.15
.quad L_.str.16
.quad L_.str.17
.quad L_.str.18
.quad L_.str.19
.quad L_.str.20
.quad L_.str.21
.quad L_.str.19
.quad L_.str.22
.quad L_.str.23
.quad L_.str.24
.quad L_.str.25
.quad L_.str.5
.quad L_.str.5
.quad L_.str.26
.quad L_.str.27
.quad L_.str.28
.quad L_.str.29
.quad L_.str.30
.quad L_.str.31
.quad L_.str.32
.quad L_.str.33
.quad L_.str.34
.quad L_.str.35
.quad L_.str.5
.quad L_.str.5
.quad L_.str.36
.quad L_.str.5
.quad L_.str.37
.quad L_.str.38
.quad L_.str.39
.quad L_.str.40
.quad L_.str.41
.quad L_.str.26
.quad L_.str.42
.quad L_.str.43
.quad L_.str.44
.quad L_.str.45
.quad L_.str.46
.quad L_.str.5
.quad L_.str.5
.quad L_.str.47
.quad L_.str.48
.quad L_.str.5
.quad L_.str.49
.quad L_.str.50
.quad L_.str.51
.quad L_.str.17
.quad L_.str.52
.quad L_.str.53
.quad L_.str.54
.quad L_.str.55
.quad L_.str.56
.quad L_.str.57
.quad L_.str.58
.quad L_.str.59
.quad L_.str.60
.quad L_.str.61
.quad L_.str.59
.quad L_.str.5
.quad L_.str.62
.quad L_.str.63
.quad L_.str.64
.quad L_.str.65
.quad L_.str.17
.quad L_.str.66
.quad L_.str.67
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.59
.quad L_.str.68
.quad L_.str.69
.quad L_.str.70
.quad L_.str.71
.quad L_.str.72
.quad L_.str.73
.quad L_.str.74
.quad L_.str.75
.quad L_.str.76
.quad L_.str.77
.quad L_.str.78
.quad L_.str.79
.quad L_.str.80
.quad L_.str.81
.quad L_.str.82
.quad L_.str.83
.quad L_.str.84
.quad L_.str.85
.quad L_.str.86
.quad L_.str.52
.quad L_.str.87
.quad L_.str.88
.quad L_.str.89
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.quad L_.str.4
.quad L_.str.5
.quad L_.str.6
.quad L_.str.7
.quad L_.str.8
.quad L_.str.9
.quad L_.str.9
.quad L_.str.10
.quad L_.str.11
.quad L_.str.12
.quad L_.str.13
.quad L_.str.14
.quad L_.str.15
.quad L_.str.16
.quad L_.str.17
.quad L_.str.18
.quad L_.str.19
.quad L_.str.20
.quad L_.str.21
.quad L_.str.19
.quad L_.str.22
.quad L_.str.23
.quad L_.str.24
.quad L_.str.25
.quad L_.str.5
.quad L_.str.5
.quad L_.str.26
.quad L_.str.27
.quad L_.str.28
.quad L_.str.29
.quad L_.str.30
.quad L_.str.31
.quad L_.str.32
.quad L_.str.33
.quad L_.str.34
.quad L_.str.35
.quad L_.str.5
.quad L_.str.5
.quad L_.str.36
.quad L_.str.5
.quad L_.str.37
.quad L_.str.38
.quad L_.str.39
.quad L_.str.40
.quad L_.str.41
.quad L_.str.26
.quad L_.str.42
.quad L_.str.43
.quad L_.str.44
.quad L_.str.45
.quad L_.str.46
.quad L_.str.5
.quad L_.str.5
.quad L_.str.47
.quad L_.str.48
.quad L_.str.5
.quad L_.str.49
.quad L_.str.50
.quad L_.str.51
.quad L_.str.17
.quad L_.str.52
.quad L_.str.53
.quad L_.str.54
.quad L_.str.55
.quad L_.str.56
.quad L_.str.57
.quad L_.str.58
.quad L_.str.59
.quad L_.str.60
.quad L_.str.61
.quad L_.str.59
.quad L_.str.5
.quad L_.str.62
.quad L_.str.63
.quad L_.str.64
.quad L_.str.65
.quad L_.str.17
.quad L_.str.66
.quad L_.str.67
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.59
.quad L_.str.68
.quad L_.str.69
.quad L_.str.70
.quad L_.str.71
.quad L_.str.72
.quad L_.str.73
.quad L_.str.74
.quad L_.str.75
.quad L_.str.76
.quad L_.str.77
.quad L_.str.78
.quad L_.str.79
.quad L_.str.80
.quad L_.str.81
.quad L_.str.82
.quad L_.str.83
.quad L_.str.84
.quad L_.str.85
.quad L_.str.86
.quad L_.str.52
.quad L_.str.87
.quad L_.str.88
.quad L_.str.89
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.quad L_.str.4
.quad L_.str.5
.quad L_.str.6
.quad L_.str.7
.quad L_.str.8
.quad L_.str.9
.quad L_.str.9
.quad L_.str.10
.quad L_.str.11
.quad L_.str.12
.quad L_.str.13
.quad L_.str.14
.quad L_.str.15
.quad L_.str.16
.quad L_.str.17
.quad L_.str.18
.quad L_.str.19
.quad L_.str.20
.quad L_.str.21
.quad L_.str.19
.quad L_.str.22
.quad L_.str.23
.quad L_.str.24
.quad L_.str.25
.quad L_.str.5
.quad L_.str.5
.quad L_.str.26
.quad L_.str.27
.quad L_.str.28
.quad L_.str.29
.quad L_.str.30
.quad L_.str.31
.quad L_.str.32
.quad L_.str.33
.quad L_.str.34
.quad L_.str.35
.quad L_.str.5
.quad L_.str.5
.quad L_.str.36
.quad L_.str.5
.quad L_.str.37
.quad L_.str.38
.quad L_.str.39
.quad L_.str.40
.quad L_.str.41
.quad L_.str.26
.quad L_.str.42
.quad L_.str.43
.quad L_.str.44
.quad L_.str.45
.quad L_.str.46
.quad L_.str.5
.quad L_.str.5
.quad L_.str.47
.quad L_.str.48
.quad L_.str.5
.quad L_.str.49
.quad L_.str.50
.quad L_.str.51
.quad L_.str.17
.quad L_.str.52
.quad L_.str.53
.quad L_.str.54
.quad L_.str.55
.quad L_.str.56
.quad L_.str.57
.quad L_.str.58
.quad L_.str.59
.quad L_.str.60
.quad L_.str.61
.quad L_.str.59
.quad L_.str.5
.quad L_.str.62
.quad L_.str.63
.quad L_.str.64
.quad L_.str.65
.quad L_.str.17
.quad L_.str.66
.quad L_.str.67
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.59
.quad L_.str.68
.quad L_.str.69
.quad L_.str.70
.quad L_.str.71
.quad L_.str.72
.quad L_.str.73
.quad L_.str.74
.quad L_.str.75
.quad L_.str.76
.quad L_.str.77
.quad L_.str.78
.quad L_.str.79
.quad L_.str.80
.quad L_.str.81
.quad L_.str.82
.quad L_.str.83
.quad L_.str.84
.quad L_.str.85
.quad L_.str.86
.quad L_.str.52
.quad L_.str.87
.quad L_.str.88
.quad L_.str.89
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.quad L_.str.4
.quad L_.str.5
.quad L_.str.6
.quad L_.str.7
.quad L_.str.8
.quad L_.str.9
.quad L_.str.9
.quad L_.str.10
.quad L_.str.11
.quad L_.str.12
.quad L_.str.13
.quad L_.str.14
.quad L_.str.15
.quad L_.str.16
.quad L_.str.17
.quad L_.str.18
.quad L_.str.19
.quad L_.str.20
.quad L_.str.21
.quad L_.str.19
.quad L_.str.22
.quad L_.str.23
.quad L_.str.24
.quad L_.str.25
.quad L_.str.5
.quad L_.str.5
.quad L_.str.26
.quad L_.str.27
.quad L_.str.28
.quad L_.str.29
.quad L_.str.30
.quad L_.str.31
.quad L_.str.32
.quad L_.str.33
.quad L_.str.34
.quad L_.str.35
.quad L_.str.5
.quad L_.str.5
.quad L_.str.36
.quad L_.str.5
.quad L_.str.37
.quad L_.str.38
.quad L_.str.39
.quad L_.str.40
.quad L_.str.41
.quad L_.str.26
.quad L_.str.42
.quad L_.str.43
.quad L_.str.44
.quad L_.str.45
.quad L_.str.46
.quad L_.str.5
.quad L_.str.5
.quad L_.str.47
.quad L_.str.48
.quad L_.str.5
.quad L_.str.49
.quad L_.str.50
.quad L_.str.51
.quad L_.str.17
.quad L_.str.52
.quad L_.str.53
.quad L_.str.54
.quad L_.str.55
.quad L_.str.56
.quad L_.str.57
.quad L_.str.58
.quad L_.str.59
.quad L_.str.60
.quad L_.str.61
.quad L_.str.59
.quad L_.str.5
.quad L_.str.62
.quad L_.str.63
.quad L_.str.64
.quad L_.str.65
.quad L_.str.17
.quad L_.str.66
.quad L_.str.67
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.59
.quad L_.str.68
.quad L_.str.69
.quad L_.str.70
.quad L_.str.71
.quad L_.str.72
.quad L_.str.73
.quad L_.str.74
.quad L_.str.75
.quad L_.str.76
.quad L_.str.77
.quad L_.str.78
.quad L_.str.79
.quad L_.str.80
.quad L_.str.81
.quad L_.str.82
.quad L_.str.83
.quad L_.str.84
.quad L_.str.85
.quad L_.str.86
.quad L_.str.52
.quad L_.str.87
.quad L_.str.88
.quad L_.str.89
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.quad L_.str.4
.quad L_.str.5
.quad L_.str.6
.quad L_.str.7
.quad L_.str.8
.quad L_.str.9
.quad L_.str.9
.quad L_.str.10
.quad L_.str.11
.quad L_.str.12
.quad L_.str.13
.quad L_.str.14
.quad L_.str.15
.quad L_.str.16
.quad L_.str.17
.quad L_.str.18
.quad L_.str.19
.quad L_.str.20
.quad L_.str.21
.quad L_.str.19
.quad L_.str.22
.quad L_.str.23
.quad L_.str.24
.quad L_.str.25
.quad L_.str.5
.quad L_.str.5
.quad L_.str.26
.quad L_.str.27
.quad L_.str.28
.quad L_.str.29
.quad L_.str.30
.quad L_.str.31
.quad L_.str.32
.quad L_.str.33
.quad L_.str.34
.quad L_.str.35
.quad L_.str.5
.quad L_.str.5
.quad L_.str.36
.quad L_.str.5
.quad L_.str.37
.quad L_.str.38
.quad L_.str.39
.quad L_.str.40
.quad L_.str.41
.quad L_.str.26
.quad L_.str.42
.quad L_.str.43
.quad L_.str.44
.quad L_.str.45
.quad L_.str.46
.quad L_.str.5
.quad L_.str.5
.quad L_.str.47
.quad L_.str.48
.quad L_.str.5
.quad L_.str.49
.quad L_.str.50
.quad L_.str.51
.quad L_.str.17
.quad L_.str.52
.quad L_.str.53
.quad L_.str.54
.quad L_.str.55
.quad L_.str.56
.quad L_.str.57
.quad L_.str.58
.quad L_.str.59
.quad L_.str.60
.quad L_.str.61
.quad L_.str.59
.quad L_.str.5
.quad L_.str.62
.quad L_.str.63
.quad L_.str.64
.quad L_.str.65
.quad L_.str.17
.quad L_.str.66
.quad L_.str.67
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.59
.quad L_.str.68
.quad L_.str.69
.quad L_.str.70
.quad L_.str.71
.quad L_.str.72
.quad L_.str.73
.quad L_.str.74
.quad L_.str.75
.quad L_.str.76
.quad L_.str.77
.quad L_.str.78
.quad L_.str.79
.quad L_.str.80
.quad L_.str.81
.quad L_.str.82
.quad L_.str.83
.quad L_.str.84
.quad L_.str.85
.quad L_.str.86
.quad L_.str.52
.quad L_.str.87
.quad L_.str.88
.quad L_.str.89
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.quad L_.str.4
.quad L_.str.5
.quad L_.str.6
.quad L_.str.7
.quad L_.str.8
.quad L_.str.9
.quad L_.str.9
.quad L_.str.10
.quad L_.str.11
.quad L_.str.12
.quad L_.str.13
.quad L_.str.14
.quad L_.str.15
.quad L_.str.16
.quad L_.str.17
.quad L_.str.18
.quad L_.str.19
.quad L_.str.20
.quad L_.str.21
.quad L_.str.19
.quad L_.str.22
.quad L_.str.23
.quad L_.str.24
.quad L_.str.25
.quad L_.str.5
.quad L_.str.5
.quad L_.str.26
.quad L_.str.27
.quad L_.str.28
.quad L_.str.29
.quad L_.str.30
.quad L_.str.31
.quad L_.str.32
.quad L_.str.33
.quad L_.str.34
.quad L_.str.35
.quad L_.str.5
.quad L_.str.5
.quad L_.str.36
.quad L_.str.5
.quad L_.str.37
.quad L_.str.38
.quad L_.str.39
.quad L_.str.40
.quad L_.str.41
.quad L_.str.26
.quad L_.str.42
.quad L_.str.43
.quad L_.str.44
.quad L_.str.45
.quad L_.str.46
.quad L_.str.5
.quad L_.str.5
.quad L_.str.47
.quad L_.str.48
.quad L_.str.5
.quad L_.str.49
.quad L_.str.50
.quad L_.str.51
.quad L_.str.17
.quad L_.str.52
.quad L_.str.53
.quad L_.str.54
.quad L_.str.55
.quad L_.str.56
.quad L_.str.57
.quad L_.str.58
.quad L_.str.59
.quad L_.str.60
.quad L_.str.61
.quad L_.str.59
.quad L_.str.5
.quad L_.str.62
.quad L_.str.63
.quad L_.str.64
.quad L_.str.65
.quad L_.str.17
.quad L_.str.66
.quad L_.str.67
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.59
.quad L_.str.68
.quad L_.str.69
.quad L_.str.70
.quad L_.str.71
.quad L_.str.72
.quad L_.str.73
.quad L_.str.74
.quad L_.str.75
.quad L_.str.76
.quad L_.str.77
.quad L_.str.78
.quad L_.str.79
.quad L_.str.80
.quad L_.str.81
.quad L_.str.82
.quad L_.str.83
.quad L_.str.84
.quad L_.str.85
.quad L_.str.86
.quad L_.str.52
.quad L_.str.87
.quad L_.str.88
.quad L_.str.89
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.quad L_.str.4
.quad L_.str.5
.quad L_.str.6
.quad L_.str.7
.quad L_.str.8
.quad L_.str.9
.quad L_.str.9
.quad L_.str.10
.quad L_.str.11
.quad L_.str.12
.quad L_.str.13
.quad L_.str.14
.quad L_.str.15
.quad L_.str.16
.quad L_.str.17
.quad L_.str.18
.quad L_.str.19
.quad L_.str.20
.quad L_.str.21
.quad L_.str.19
.quad L_.str.22
.quad L_.str.23
.quad L_.str.24
.quad L_.str.25
.quad L_.str.5
.quad L_.str.5
.quad L_.str.26
.quad L_.str.27
.quad L_.str.28
.quad L_.str.29
.quad L_.str.30
.quad L_.str.31
.quad L_.str.32
.quad L_.str.33
.quad L_.str.34
.quad L_.str.35
.quad L_.str.5
.quad L_.str.5
.quad L_.str.36
.quad L_.str.5
.quad L_.str.37
.quad L_.str.38
.quad L_.str.39
.quad L_.str.40
.quad L_.str.41
.quad L_.str.26
.quad L_.str.42
.quad L_.str.43
.quad L_.str.44
.quad L_.str.45
.quad L_.str.46
.quad L_.str.5
.quad L_.str.5
.quad L_.str.47
.quad L_.str.48
.quad L_.str.5
.quad L_.str.49
.quad L_.str.50
.quad L_.str.51
.quad L_.str.17
.quad L_.str.52
.quad L_.str.53
.quad L_.str.54
.quad L_.str.55
.quad L_.str.56
.quad L_.str.57
.quad L_.str.58
.quad L_.str.59
.quad L_.str.60
.quad L_.str.61
.quad L_.str.59
.quad L_.str.5
.quad L_.str.62
.quad L_.str.63
.quad L_.str.64
.quad L_.str.65
.quad L_.str.17
.quad L_.str.66
.quad L_.str.67
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.5
.quad L_.str.59
.quad L_.str.68
.quad L_.str.69
.quad L_.str.70
.quad L_.str.71
.quad L_.str.72
.quad L_.str.73
.quad L_.str.74
.quad L_.str.75
.quad L_.str.76
.quad L_.str.77
.quad L_.str.78
.quad L_.str.79
.quad L_.str.80
.quad L_.str.81
.quad L_.str.82
.quad L_.str.83
.quad L_.str.84
.quad L_.str.85
.quad L_.str.86
.quad L_.str.52
.quad L_.str.87
.quad L_.str.88
.quad L_.str.89
.quad 0
.section __TEXT,__cstring,cstring_literals
L_.str.90: ## @.str.90
.asciz "Kurt Vonneguts Commencement Address at"
L_.str.91: ## @.str.91
.asciz "MIT Ladies and gentlemen of"
L_.str.92: ## @.str.92
.asciz "the class of 97 Wear"
L_.str.93: ## @.str.93
.asciz "sunscreen If I could offer"
L_.str.94: ## @.str.94
.asciz "you only one tip for"
L_.str.95: ## @.str.95
.asciz "the future sunscreen would be"
L_.str.96: ## @.str.96
.asciz "it The longterm benefits of"
L_.str.97: ## @.str.97
.asciz "sunscreen have been proved by"
L_.str.98: ## @.str.98
.asciz "scientists whereas the rest of"
L_.str.99: ## @.str.99
.asciz "my advice has no basis"
L_.str.100: ## @.str.100
.asciz "more reliable than my own meandering experience"
L_.str.101: ## @.str.101
.asciz "I will dispense this advice"
L_.str.102: ## @.str.102
.asciz "now Enjoy the power and beauty"
L_.str.103: ## @.str.103
.asciz "of your youth Oh never mind"
L_.str.104: ## @.str.104
.asciz "You will not understand the power"
L_.str.105: ## @.str.105
.asciz "and beauty of your youth until theyve"
L_.str.106: ## @.str.106
.asciz "faded But trust me in"
L_.str.107: ## @.str.107
.asciz "20 years"
L_.str.108: ## @.str.108
.asciz "youll look"
L_.str.109: ## @.str.109
.asciz "back at photos of yourself"
L_.str.110: ## @.str.110
.asciz "and recall in a"
L_.str.111: ## @.str.111
.asciz "way you cant grasp now how much"
L_.str.112: ## @.str.112
.asciz "possibility lay before you"
L_.str.113: ## @.str.113
.asciz "and how fabulous you really looked You"
L_.str.114: ## @.str.114
.asciz "are not as fat"
L_.str.115: ## @.str.115
.asciz "as you imagine Dont worry about"
L_.str.116: ## @.str.116
.asciz "the future Or"
L_.str.117: ## @.str.117
.asciz "worry but know that worrying is as effective"
L_.str.118: ## @.str.118
.asciz "as trying to solve an algebra equation"
L_.str.119: ## @.str.119
.asciz "by chewing bubble gum The real troubles in"
L_.str.120: ## @.str.120
.asciz "your life are apt to"
L_.str.121: ## @.str.121
.asciz "be things that never crossed your"
L_.str.122: ## @.str.122
.asciz "worried mind the"
L_.str.123: ## @.str.123
.asciz "kind that blindside you at"
L_.str.124: ## @.str.124
.asciz "4 pm on some"
L_.str.125: ## @.str.125
.asciz "idle Tuesday"
L_.str.126: ## @.str.126
.asciz "Do one thing every day that"
L_.str.127: ## @.str.127
.asciz "scares you Sing Dont be reckless with other"
L_.str.128: ## @.str.128
.asciz "peoples hearts Dont put up"
L_.str.129: ## @.str.129
.asciz "with people who are reckless"
L_.str.130: ## @.str.130
.asciz "with yours Floss Dont waste your time"
L_.str.131: ## @.str.131
.asciz "on jealousy Sometimes youre ahead sometimes youre behind"
L_.str.132: ## @.str.132
.asciz "The race is long and in"
L_.str.133: ## @.str.133
.asciz "the end its only with"
L_.str.134: ## @.str.134
.asciz "yourself Remember compliments you receive"
L_.str.135: ## @.str.135
.asciz "Forget the insults If you"
L_.str.136: ## @.str.136
.asciz "succeed in doing this tell me how"
L_.str.137: ## @.str.137
.asciz "Keep your old"
L_.str.138: ## @.str.138
.asciz "love letters Throw away"
L_.str.139: ## @.str.139
.asciz "your old bank statements"
L_.str.140: ## @.str.140
.asciz "Stretch Dont feel guilty if you dont know"
L_.str.141: ## @.str.141
.asciz "what you want to do with your"
L_.str.142: ## @.str.142
.asciz "life The most interesting people I"
L_.str.143: ## @.str.143
.asciz "know didnt know at 22"
L_.str.144: ## @.str.144
.asciz "what they wanted"
L_.str.145: ## @.str.145
.asciz "to do with their lives Some of"
L_.str.146: ## @.str.146
.asciz "the most interesting"
L_.str.147: ## @.str.147
.asciz "40yearolds I know still dont"
L_.str.148: ## @.str.148
.asciz "Get plenty of calcium"
L_.str.149: ## @.str.149
.asciz "Be kind to your knees Youll miss"
L_.str.150: ## @.str.150
.asciz "them when theyre gone"
L_.str.151: ## @.str.151
.asciz "Maybe youll marry"
L_.str.152: ## @.str.152
.asciz "maybe you wont Maybe youll have children maybe"
L_.str.153: ## @.str.153
.asciz "you wont Maybe youll divorce at 40 maybe youll dance"
L_.str.154: ## @.str.154
.asciz "the funky chicken on"
L_.str.155: ## @.str.155
.asciz "your 75th wedding anniversary Whatever"
L_.str.156: ## @.str.156
.asciz "you do dont congratulate yourself too"
L_.str.157: ## @.str.157
.asciz "much or berate yourself"
L_.str.158: ## @.str.158
.asciz "either Your choices are half chance So"
L_.str.159: ## @.str.159
.asciz "are everybody elses"
L_.str.160: ## @.str.160
.asciz "Enjoy your body Use"
L_.str.161: ## @.str.161
.asciz "it every way you can Dont"
L_.str.162: ## @.str.162
.asciz "be afraid of it or of what"
L_.str.163: ## @.str.163
.asciz "other people think of"
L_.str.164: ## @.str.164
.asciz "it Its"
L_.str.165: ## @.str.165
.asciz "greatest instrument youll ever"
L_.str.166: ## @.str.166
.asciz "own Dance even if you have"
L_.str.167: ## @.str.167
.asciz "nowhere to do it but your living"
L_.str.168: ## @.str.168
.asciz "room Read the directions even if"
L_.str.169: ## @.str.169
.asciz "you dont follow them Do not read"
L_.str.170: ## @.str.170
.asciz "beauty magazines They will only make you"
L_.str.171: ## @.str.171
.asciz "feel ugly Get to know your parents You never"
L_.str.172: ## @.str.172
.asciz "know when theyll be gone for good Be"
L_.str.173: ## @.str.173
.asciz "nice to your siblings Theyre your"
L_.str.174: ## @.str.174
.asciz "best link to your"
L_.str.175: ## @.str.175
.asciz "past and the people most likely"
L_.str.176: ## @.str.176
.asciz "to stick with you"
L_.str.177: ## @.str.177
.asciz "in the future Understand that"
L_.str.178: ## @.str.178
.asciz "friends come and go but"
L_.str.179: ## @.str.179
.asciz "with a precious few you should hold"
L_.str.180: ## @.str.180
.asciz "on Work hard to bridge"
L_.str.181: ## @.str.181
.asciz "the gaps in geography and lifestyle"
L_.str.182: ## @.str.182
.asciz "because the older"
L_.str.183: ## @.str.183
.asciz "you get the more you need the"
L_.str.184: ## @.str.184
.asciz "people who knew you when you"
L_.str.185: ## @.str.185
.asciz "were young Live"
L_.str.186: ## @.str.186
.asciz "in New York City once but leave before"
L_.str.187: ## @.str.187
.asciz "it makes you hard Live in"
L_.str.188: ## @.str.188
.asciz "Northern California once but leave"
L_.str.189: ## @.str.189
.asciz "before it makes you soft Travel"
L_.str.190: ## @.str.190
.asciz "Accept certain inalienable truths Prices will rise"
L_.str.191: ## @.str.191
.asciz "Politicians will philander You too will"
L_.str.192: ## @.str.192
.asciz "get old And when you do youll"
L_.str.193: ## @.str.193
.asciz "fantasize that when you were young prices were"
L_.str.194: ## @.str.194
.asciz "reasonable politicians were noble and children respected"
L_.str.195: ## @.str.195
.asciz "their elders Respect your elders"
L_.str.196: ## @.str.196
.asciz "Dont expect anyone else to"
L_.str.197: ## @.str.197
.asciz "support you Maybe you have a"
L_.str.198: ## @.str.198
.asciz "trust fund Maybe youll have a wealthy"
L_.str.199: ## @.str.199
.asciz "spouse But you never know when either"
L_.str.200: ## @.str.200
.asciz "one might run out Dont mess"
L_.str.201: ## @.str.201
.asciz "too much with your hair or by the"
L_.str.202: ## @.str.202
.asciz "time youre 40 it will look 85 Be"
L_.str.203: ## @.str.203
.asciz "careful whose advice you buy but be patient"
L_.str.204: ## @.str.204
.asciz "with those who supply it Advice is a"
L_.str.205: ## @.str.205
.asciz "form of nostalgia Dispensing it is"
L_.str.206: ## @.str.206
.asciz "a way of fishing the past from"
L_.str.207: ## @.str.207
.asciz "the disposal wiping it off painting"
L_.str.208: ## @.str.208
.asciz "over the ugly parts"
L_.str.209: ## @.str.209
.asciz "and recycling it for more than its"
L_.str.210: ## @.str.210
.asciz "worth But trust me on the sunscreen"
.section __DATA,__const
.p2align 4 ## @__const.startup.search_strings
l___const.startup.search_strings:
.quad L_.str.90
.quad L_.str.91
.quad L_.str.92
.quad L_.str.93
.quad L_.str.94
.quad L_.str.95
.quad L_.str.96
.quad L_.str.97
.quad L_.str.98
.quad L_.str.99
.quad L_.str.100
.quad L_.str.101
.quad L_.str.102
.quad L_.str.103
.quad L_.str.104
.quad L_.str.105
.quad L_.str.106
.quad L_.str.107
.quad L_.str.108
.quad L_.str.109
.quad L_.str.110
.quad L_.str.111
.quad L_.str.112
.quad L_.str.113
.quad L_.str.114
.quad L_.str.115
.quad L_.str.116
.quad L_.str.117
.quad L_.str.118
.quad L_.str.119
.quad L_.str.120
.quad L_.str.121
.quad L_.str.122
.quad L_.str.123
.quad L_.str.124
.quad L_.str.125
.quad L_.str.126
.quad L_.str.127
.quad L_.str.128
.quad L_.str.129
.quad L_.str.130
.quad L_.str.131
.quad L_.str.132
.quad L_.str.133
.quad L_.str.134
.quad L_.str.135
.quad L_.str.136
.quad L_.str.137
.quad L_.str.138
.quad L_.str.139
.quad L_.str.140
.quad L_.str.141
.quad L_.str.142
.quad L_.str.143
.quad L_.str.144
.quad L_.str.145
.quad L_.str.146
.quad L_.str.147
.quad L_.str.148
.quad L_.str.149
.quad L_.str.150
.quad L_.str.151
.quad L_.str.152
.quad L_.str.153
.quad L_.str.154
.quad L_.str.155
.quad L_.str.156
.quad L_.str.157
.quad L_.str.158
.quad L_.str.159
.quad L_.str.160
.quad L_.str.161
.quad L_.str.162
.quad L_.str.163
.quad L_.str.164
.quad L_.str.52
.quad L_.str.165
.quad L_.str.166
.quad L_.str.167
.quad L_.str.168
.quad L_.str.169
.quad L_.str.170
.quad L_.str.171
.quad L_.str.172
.quad L_.str.173
.quad L_.str.174
.quad L_.str.175
.quad L_.str.176
.quad L_.str.177
.quad L_.str.178
.quad L_.str.179
.quad L_.str.180
.quad L_.str.181
.quad L_.str.182
.quad L_.str.183
.quad L_.str.184
.quad L_.str.185
.quad L_.str.186
.quad L_.str.187
.quad L_.str.188
.quad L_.str.189
.quad L_.str.190
.quad L_.str.191
.quad L_.str.192
.quad L_.str.193
.quad L_.str.194
.quad L_.str.195
.quad L_.str.196
.quad L_.str.197
.quad L_.str.198
.quad L_.str.199
.quad L_.str.200
.quad L_.str.201
.quad L_.str.202
.quad L_.str.203
.quad L_.str.204
.quad L_.str.205
.quad L_.str.206
.quad L_.str.207
.quad L_.str.208
.quad L_.str.209
.quad L_.str.210
.quad L_.str.91
.quad L_.str.92
.quad L_.str.93
.quad L_.str.94
.quad L_.str.95
.quad L_.str.96
.quad L_.str.97
.quad L_.str.98
.quad L_.str.99
.quad L_.str.100
.quad L_.str.101
.quad L_.str.102
.quad L_.str.103
.quad L_.str.104
.quad L_.str.105
.quad L_.str.106
.quad L_.str.107
.quad L_.str.108
.quad L_.str.109
.quad L_.str.110
.quad L_.str.111
.quad L_.str.112
.quad L_.str.113
.quad L_.str.114
.quad L_.str.115
.quad L_.str.116
.quad L_.str.117
.quad L_.str.118
.quad L_.str.119
.quad L_.str.120
.quad L_.str.121
.quad L_.str.122
.quad L_.str.123
.quad L_.str.124
.quad L_.str.125
.quad L_.str.126
.quad L_.str.127
.quad L_.str.128
.quad L_.str.129
.quad L_.str.130
.quad L_.str.131
.quad L_.str.132
.quad L_.str.133
.quad L_.str.134
.quad L_.str.135
.quad L_.str.136
.quad L_.str.137
.quad L_.str.138
.quad L_.str.139
.quad L_.str.140
.quad L_.str.141
.quad L_.str.142
.quad L_.str.143
.quad L_.str.144
.quad L_.str.145
.quad L_.str.146
.quad L_.str.147
.quad L_.str.148
.quad L_.str.149
.quad L_.str.150
.quad L_.str.151
.quad L_.str.152
.quad L_.str.153
.quad L_.str.154
.quad L_.str.155
.quad L_.str.156
.quad L_.str.157
.quad L_.str.158
.quad L_.str.159
.quad L_.str.160
.quad L_.str.161
.quad L_.str.162
.quad L_.str.163
.quad L_.str.164
.quad L_.str.52
.quad L_.str.165
.quad L_.str.166
.quad L_.str.167
.quad L_.str.168
.quad L_.str.169
.quad L_.str.170
.quad L_.str.171
.quad L_.str.172
.quad L_.str.173
.quad L_.str.174
.quad L_.str.175
.quad L_.str.176
.quad L_.str.177
.quad L_.str.178
.quad L_.str.179
.quad L_.str.180
.quad L_.str.181
.quad L_.str.182
.quad L_.str.183
.quad L_.str.184
.quad L_.str.185
.quad L_.str.186
.quad L_.str.187
.quad L_.str.188
.quad L_.str.189
.quad L_.str.190
.quad L_.str.191
.quad L_.str.192
.quad L_.str.193
.quad L_.str.194
.quad L_.str.195
.quad L_.str.196
.quad L_.str.197
.quad L_.str.198
.quad L_.str.199
.quad L_.str.200
.quad L_.str.201
.quad L_.str.202
.quad L_.str.203
.quad L_.str.204
.quad L_.str.205
.quad L_.str.206
.quad L_.str.207
.quad L_.str.208
.quad L_.str.209
.quad L_.str.210
.quad L_.str.91
.quad L_.str.92
.quad L_.str.93
.quad L_.str.94
.quad L_.str.95
.quad L_.str.96
.quad L_.str.97
.quad L_.str.98
.quad L_.str.99
.quad L_.str.100
.quad L_.str.101
.quad L_.str.102
.quad L_.str.103
.quad L_.str.104
.quad L_.str.105
.quad L_.str.106
.quad L_.str.107
.quad L_.str.108
.quad L_.str.109
.quad L_.str.110
.quad L_.str.111
.quad L_.str.112
.quad L_.str.113
.quad L_.str.114
.quad L_.str.115
.quad L_.str.116
.quad L_.str.117
.quad L_.str.118
.quad L_.str.119
.quad L_.str.120
.quad L_.str.121
.quad L_.str.122
.quad L_.str.123
.quad L_.str.124
.quad L_.str.125
.quad L_.str.126
.quad L_.str.127
.quad L_.str.128
.quad L_.str.129
.quad L_.str.130
.quad L_.str.131
.quad L_.str.132
.quad L_.str.133
.quad L_.str.134
.quad L_.str.135
.quad L_.str.136
.quad L_.str.137
.quad L_.str.138
.quad L_.str.139
.quad L_.str.140
.quad L_.str.141
.quad L_.str.142
.quad L_.str.143
.quad L_.str.144
.quad L_.str.145
.quad L_.str.146
.quad L_.str.147
.quad L_.str.148
.quad L_.str.149
.quad L_.str.150
.quad L_.str.151
.quad L_.str.152
.quad L_.str.153
.quad L_.str.154
.quad L_.str.155
.quad L_.str.156
.quad L_.str.157
.quad L_.str.158
.quad L_.str.159
.quad L_.str.160
.quad L_.str.161
.quad L_.str.162
.quad L_.str.163
.quad L_.str.164
.quad L_.str.52
.quad L_.str.165
.quad L_.str.166
.quad L_.str.167
.quad L_.str.168
.quad L_.str.169
.quad L_.str.170
.quad L_.str.171
.quad L_.str.172
.quad L_.str.173
.quad L_.str.174
.quad L_.str.175
.quad L_.str.176
.quad L_.str.177
.quad L_.str.178
.quad L_.str.179
.quad L_.str.180
.quad L_.str.181
.quad L_.str.182
.quad L_.str.183
.quad L_.str.184
.quad L_.str.185
.quad L_.str.186
.quad L_.str.187
.quad L_.str.188
.quad L_.str.189
.quad L_.str.190
.quad L_.str.191
.quad L_.str.192
.quad L_.str.193
.quad L_.str.194
.quad L_.str.195
.quad L_.str.196
.quad L_.str.197
.quad L_.str.198
.quad L_.str.199
.quad L_.str.200
.quad L_.str.201
.quad L_.str.202
.quad L_.str.203
.quad L_.str.204
.quad L_.str.205
.quad L_.str.206
.quad L_.str.207
.quad L_.str.208
.quad L_.str.209
.quad L_.str.210
.quad L_.str.91
.quad L_.str.92
.quad L_.str.93
.quad L_.str.94
.quad L_.str.95
.quad L_.str.96
.quad L_.str.97
.quad L_.str.98
.quad L_.str.99
.quad L_.str.100
.quad L_.str.101
.quad L_.str.102
.quad L_.str.103
.quad L_.str.104
.quad L_.str.105
.quad L_.str.106
.quad L_.str.107
.quad L_.str.108
.quad L_.str.109
.quad L_.str.110
.quad L_.str.111
.quad L_.str.112
.quad L_.str.113
.quad L_.str.114
.quad L_.str.115
.quad L_.str.116
.quad L_.str.117
.quad L_.str.118
.quad L_.str.119
.quad L_.str.120
.quad L_.str.121
.quad L_.str.122
.quad L_.str.123
.quad L_.str.124
.quad L_.str.125
.quad L_.str.126
.quad L_.str.127
.quad L_.str.128
.quad L_.str.129
.quad L_.str.130
.quad L_.str.131
.quad L_.str.132
.quad L_.str.133
.quad L_.str.134
.quad L_.str.135
.quad L_.str.136
.quad L_.str.137
.quad L_.str.138
.quad L_.str.139
.quad L_.str.140
.quad L_.str.141
.quad L_.str.142
.quad L_.str.143
.quad L_.str.144
.quad L_.str.145
.quad L_.str.146
.quad L_.str.147
.quad L_.str.148
.quad L_.str.149
.quad L_.str.150
.quad L_.str.151
.quad L_.str.152
.quad L_.str.153
.quad L_.str.154
.quad L_.str.155
.quad L_.str.156
.quad L_.str.157
.quad L_.str.158
.quad L_.str.159
.quad L_.str.160
.quad L_.str.161
.quad L_.str.162
.quad L_.str.163
.quad L_.str.164
.quad L_.str.52
.quad L_.str.165
.quad L_.str.166
.quad L_.str.167
.quad L_.str.168
.quad L_.str.169
.quad L_.str.170
.quad L_.str.171
.quad L_.str.172
.quad L_.str.173
.quad L_.str.174
.quad L_.str.175
.quad L_.str.176
.quad L_.str.177
.quad L_.str.178
.quad L_.str.179
.quad L_.str.180
.quad L_.str.181
.quad L_.str.182
.quad L_.str.183
.quad L_.str.184
.quad L_.str.185
.quad L_.str.186
.quad L_.str.187
.quad L_.str.188
.quad L_.str.189
.quad L_.str.190
.quad L_.str.191
.quad L_.str.192
.quad L_.str.193
.quad L_.str.194
.quad L_.str.195
.quad L_.str.196
.quad L_.str.197
.quad L_.str.198
.quad L_.str.199
.quad L_.str.200
.quad L_.str.201
.quad L_.str.202
.quad L_.str.203
.quad L_.str.204
.quad L_.str.205
.quad L_.str.206
.quad L_.str.207
.quad L_.str.208
.quad L_.str.209
.quad L_.str.210
.quad L_.str.91
.quad L_.str.92
.quad L_.str.93
.quad L_.str.94
.quad L_.str.95
.quad L_.str.96
.quad L_.str.97
.quad L_.str.98
.quad L_.str.99
.quad L_.str.100
.quad L_.str.101
.quad L_.str.102
.quad L_.str.103
.quad L_.str.104
.quad L_.str.105
.quad L_.str.106
.quad L_.str.107
.quad L_.str.108
.quad L_.str.109
.quad L_.str.110
.quad L_.str.111
.quad L_.str.112
.quad L_.str.113
.quad L_.str.114
.quad L_.str.115
.quad L_.str.116
.quad L_.str.117
.quad L_.str.118
.quad L_.str.119
.quad L_.str.120
.quad L_.str.121
.quad L_.str.122
.quad L_.str.123
.quad L_.str.124
.quad L_.str.125
.quad L_.str.126
.quad L_.str.127
.quad L_.str.128
.quad L_.str.129
.quad L_.str.130
.quad L_.str.131
.quad L_.str.132
.quad L_.str.133
.quad L_.str.134
.quad L_.str.135
.quad L_.str.136
.quad L_.str.137
.quad L_.str.138
.quad L_.str.139
.quad L_.str.140
.quad L_.str.141
.quad L_.str.142
.quad L_.str.143
.quad L_.str.144
.quad L_.str.145
.quad L_.str.146
.quad L_.str.147
.quad L_.str.148
.quad L_.str.149
.quad L_.str.150
.quad L_.str.151
.quad L_.str.152
.quad L_.str.153
.quad L_.str.154
.quad L_.str.155
.quad L_.str.156
.quad L_.str.157
.quad L_.str.158
.quad L_.str.159
.quad L_.str.160
.quad L_.str.161
.quad L_.str.162
.quad L_.str.163
.quad L_.str.164
.quad L_.str.52
.quad L_.str.165
.quad L_.str.166
.quad L_.str.167
.quad L_.str.168
.quad L_.str.169
.quad L_.str.170
.quad L_.str.171
.quad L_.str.172
.quad L_.str.173
.quad L_.str.174
.quad L_.str.175
.quad L_.str.176
.quad L_.str.177
.quad L_.str.178
.quad L_.str.179
.quad L_.str.180
.quad L_.str.181
.quad L_.str.182
.quad L_.str.183
.quad L_.str.184
.quad L_.str.185
.quad L_.str.186
.quad L_.str.187
.quad L_.str.188
.quad L_.str.189
.quad L_.str.190
.quad L_.str.191
.quad L_.str.192
.quad L_.str.193
.quad L_.str.194
.quad L_.str.195
.quad L_.str.196
.quad L_.str.197
.quad L_.str.198
.quad L_.str.199
.quad L_.str.200
.quad L_.str.201
.quad L_.str.202
.quad L_.str.203
.quad L_.str.204
.quad L_.str.205
.quad L_.str.206
.quad L_.str.207
.quad L_.str.208
.quad L_.str.209
.quad L_.str.210
.quad L_.str.91
.quad L_.str.92
.quad L_.str.93
.quad L_.str.94
.quad L_.str.95
.quad L_.str.96
.quad L_.str.97
.quad L_.str.98
.quad L_.str.99
.quad L_.str.100
.quad L_.str.101
.quad L_.str.102
.quad L_.str.103
.quad L_.str.104
.quad L_.str.105
.quad L_.str.106
.quad L_.str.107
.quad L_.str.108
.quad L_.str.109
.quad L_.str.110
.quad L_.str.111
.quad L_.str.112
.quad L_.str.113
.quad L_.str.114
.quad L_.str.115
.quad L_.str.116
.quad L_.str.117
.quad L_.str.118
.quad L_.str.119
.quad L_.str.120
.quad L_.str.121
.quad L_.str.122
.quad L_.str.123
.quad L_.str.124
.quad L_.str.125
.quad L_.str.126
.quad L_.str.127
.quad L_.str.128
.quad L_.str.129
.quad L_.str.130
.quad L_.str.131
.quad L_.str.132
.quad L_.str.133
.quad L_.str.134
.quad L_.str.135
.quad L_.str.136
.quad L_.str.137
.quad L_.str.138
.quad L_.str.139
.quad L_.str.140
.quad L_.str.141
.quad L_.str.142
.quad L_.str.143
.quad L_.str.144
.quad L_.str.145
.quad L_.str.146
.quad L_.str.147
.quad L_.str.148
.quad L_.str.149
.quad L_.str.150
.quad L_.str.151
.quad L_.str.152
.quad L_.str.153
.quad L_.str.154
.quad L_.str.155
.quad L_.str.156
.quad L_.str.157
.quad L_.str.158
.quad L_.str.159
.quad L_.str.160
.quad L_.str.161
.quad L_.str.162
.quad L_.str.163
.quad L_.str.164
.quad L_.str.52
.quad L_.str.165
.quad L_.str.166
.quad L_.str.167
.quad L_.str.168
.quad L_.str.169
.quad L_.str.170
.quad L_.str.171
.quad L_.str.172
.quad L_.str.173
.quad L_.str.174
.quad L_.str.175
.quad L_.str.176
.quad L_.str.177
.quad L_.str.178
.quad L_.str.179
.quad L_.str.180
.quad L_.str.181
.quad L_.str.182
.quad L_.str.183
.quad L_.str.184
.quad L_.str.185
.quad L_.str.186
.quad L_.str.187
.quad L_.str.188
.quad L_.str.189
.quad L_.str.190
.quad L_.str.191
.quad L_.str.192
.quad L_.str.193
.quad L_.str.194
.quad L_.str.195
.quad L_.str.196
.quad L_.str.197
.quad L_.str.198
.quad L_.str.199
.quad L_.str.200
.quad L_.str.201
.quad L_.str.202
.quad L_.str.203
.quad L_.str.204
.quad L_.str.205
.quad L_.str.206
.quad L_.str.207
.quad L_.str.208
.quad L_.str.209
.quad L_.str.210
.quad L_.str.91
.quad L_.str.92
.quad L_.str.93
.quad L_.str.94
.quad L_.str.95
.quad L_.str.96
.quad L_.str.97
.quad L_.str.98
.quad L_.str.99
.quad L_.str.100
.quad L_.str.101
.quad L_.str.102
.quad L_.str.103
.quad L_.str.104
.quad L_.str.105
.quad L_.str.106
.quad L_.str.107
.quad L_.str.108
.quad L_.str.109
.quad L_.str.110
.quad L_.str.111
.quad L_.str.112
.quad L_.str.113
.quad L_.str.114
.quad L_.str.115
.quad L_.str.116
.quad L_.str.117
.quad L_.str.118
.quad L_.str.119
.quad L_.str.120
.quad L_.str.121
.quad L_.str.122
.quad L_.str.123
.quad L_.str.124
.quad L_.str.125
.quad L_.str.126
.quad L_.str.127
.quad L_.str.128
.quad L_.str.129
.quad L_.str.130
.quad L_.str.131
.quad L_.str.132
.quad L_.str.133
.quad L_.str.134
.quad L_.str.135
.quad L_.str.136
.quad L_.str.137
.quad L_.str.138
.quad L_.str.139
.quad L_.str.140
.quad L_.str.141
.quad L_.str.142
.quad L_.str.143
.quad L_.str.144
.quad L_.str.145
.quad L_.str.146
.quad L_.str.147
.quad L_.str.148
.quad L_.str.149
.quad L_.str.150
.quad L_.str.151
.quad L_.str.152
.quad L_.str.153
.quad L_.str.154
.quad L_.str.155
.quad L_.str.156
.quad L_.str.157
.quad L_.str.158
.quad L_.str.159
.quad L_.str.160
.quad L_.str.161
.quad L_.str.162
.quad L_.str.163
.quad L_.str.164
.quad L_.str.52
.quad L_.str.165
.quad L_.str.166
.quad L_.str.167
.quad L_.str.168
.quad L_.str.169
.quad L_.str.170
.quad L_.str.171
.quad L_.str.172
.quad L_.str.173
.quad L_.str.174
.quad L_.str.175
.quad L_.str.176
.quad L_.str.177
.quad L_.str.178
.quad L_.str.179
.quad L_.str.180
.quad L_.str.181
.quad L_.str.182
.quad L_.str.183
.quad L_.str.184
.quad L_.str.185
.quad L_.str.186
.quad L_.str.187
.quad L_.str.188
.quad L_.str.189
.quad L_.str.190
.quad L_.str.191
.quad L_.str.192
.quad L_.str.193
.quad L_.str.194
.quad L_.str.195
.quad L_.str.196
.quad L_.str.197
.quad L_.str.198
.quad L_.str.199
.quad L_.str.200
.quad L_.str.201
.quad L_.str.202
.quad L_.str.203
.quad L_.str.204
.quad L_.str.205
.quad L_.str.206
.quad L_.str.207
.quad L_.str.208
.quad L_.str.209
.quad L_.str.210
.quad L_.str.91
.quad L_.str.92
.quad L_.str.93
.quad L_.str.94
.quad L_.str.95
.quad L_.str.96
.quad L_.str.97
.quad L_.str.98
.quad L_.str.99
.quad L_.str.100
.quad L_.str.101
.quad L_.str.102
.quad L_.str.103
.quad L_.str.104
.quad L_.str.105
.quad L_.str.106
.quad L_.str.107
.quad L_.str.108
.quad L_.str.109
.quad L_.str.110
.quad L_.str.111
.quad L_.str.112
.quad L_.str.113
.quad L_.str.114
.quad L_.str.115
.quad L_.str.116
.quad L_.str.117
.quad L_.str.118
.quad L_.str.119
.quad L_.str.120
.quad L_.str.121
.quad L_.str.122
.quad L_.str.123
.quad L_.str.124
.quad L_.str.125
.quad L_.str.126
.quad L_.str.127
.quad L_.str.128
.quad L_.str.129
.quad L_.str.130
.quad L_.str.131
.quad L_.str.132
.quad L_.str.133
.quad L_.str.134
.quad L_.str.135
.quad L_.str.136
.quad L_.str.137
.quad L_.str.138
.quad L_.str.139
.quad L_.str.140
.quad L_.str.141
.quad L_.str.142
.quad L_.str.143
.quad L_.str.144
.quad L_.str.145
.quad L_.str.146
.quad L_.str.147
.quad L_.str.148
.quad L_.str.149
.quad L_.str.150
.quad L_.str.151
.quad L_.str.152
.quad L_.str.153
.quad L_.str.154
.quad L_.str.155
.quad L_.str.156
.quad L_.str.157
.quad L_.str.158
.quad L_.str.159
.quad L_.str.160
.quad L_.str.161
.quad L_.str.162
.quad L_.str.163
.quad L_.str.164
.quad L_.str.52
.quad L_.str.165
.quad L_.str.166
.quad L_.str.167
.quad L_.str.168
.quad L_.str.169
.quad L_.str.170
.quad L_.str.171
.quad L_.str.172
.quad L_.str.173
.quad L_.str.174
.quad L_.str.175
.quad L_.str.176
.quad L_.str.177
.quad L_.str.178
.quad L_.str.179
.quad L_.str.180
.quad L_.str.181
.quad L_.str.182
.quad L_.str.183
.quad L_.str.184
.quad L_.str.185
.quad L_.str.186
.quad L_.str.187
.quad L_.str.188
.quad L_.str.189
.quad L_.str.190
.quad L_.str.191
.quad L_.str.192
.quad L_.str.193
.quad L_.str.194
.quad L_.str.195
.quad L_.str.196
.quad L_.str.197
.quad L_.str.198
.quad L_.str.199
.quad L_.str.200
.quad L_.str.201
.quad L_.str.202
.quad L_.str.203
.quad L_.str.204
.quad L_.str.205
.quad L_.str.206
.quad L_.str.207
.quad L_.str.208
.quad L_.str.209
.quad L_.str.210
.quad L_.str.91
.quad L_.str.92
.quad L_.str.93
.quad L_.str.94
.quad L_.str.95
.quad L_.str.96
.quad L_.str.97
.quad L_.str.98
.quad L_.str.99
.quad L_.str.100
.quad L_.str.101
.quad L_.str.102
.quad L_.str.103
.quad L_.str.104
.quad L_.str.105
.quad L_.str.106
.quad L_.str.107
.quad L_.str.108
.quad L_.str.109
.quad L_.str.110
.quad L_.str.111
.quad L_.str.112
.quad L_.str.113
.quad L_.str.114
.quad L_.str.115
.quad L_.str.116
.quad L_.str.117
.quad L_.str.118
.quad L_.str.119
.quad L_.str.120
.quad L_.str.121
.quad L_.str.122
.quad L_.str.123
.quad L_.str.124
.quad L_.str.125
.quad L_.str.126
.quad L_.str.127
.quad L_.str.128
.quad L_.str.129
.quad L_.str.130
.quad L_.str.131
.quad L_.str.132
.quad L_.str.133
.quad L_.str.134
.quad L_.str.135
.quad L_.str.136
.quad L_.str.137
.quad L_.str.138
.quad L_.str.139
.quad L_.str.140
.quad L_.str.141
.quad L_.str.142
.quad L_.str.143
.quad L_.str.144
.quad L_.str.145
.quad L_.str.146
.quad L_.str.147
.quad L_.str.148
.quad L_.str.149
.quad L_.str.150
.quad L_.str.151
.quad L_.str.152
.quad L_.str.153
.quad L_.str.154
.quad L_.str.155
.quad L_.str.156
.quad L_.str.157
.quad L_.str.158
.quad L_.str.159
.quad L_.str.160
.quad L_.str.161
.quad L_.str.162
.quad L_.str.163
.quad L_.str.164
.quad L_.str.52
.quad L_.str.165
.quad L_.str.166
.quad L_.str.167
.quad L_.str.168
.quad L_.str.169
.quad L_.str.170
.quad L_.str.171
.quad L_.str.172
.quad L_.str.173
.quad L_.str.174
.quad L_.str.175
.quad L_.str.176
.quad L_.str.177
.quad L_.str.178
.quad L_.str.179
.quad L_.str.180
.quad L_.str.181
.quad L_.str.182
.quad L_.str.183
.quad L_.str.184
.quad L_.str.185
.quad L_.str.186
.quad L_.str.187
.quad L_.str.188
.quad L_.str.189
.quad L_.str.190
.quad L_.str.191
.quad L_.str.192
.quad L_.str.193
.quad L_.str.194
.quad L_.str.195
.quad L_.str.196
.quad L_.str.197
.quad L_.str.198
.quad L_.str.199
.quad L_.str.200
.quad L_.str.201
.quad L_.str.202
.quad L_.str.203
.quad L_.str.204
.quad L_.str.205
.quad L_.str.206
.quad L_.str.207
.quad L_.str.208
.quad L_.str.209
.quad L_.str.210
.quad L_.str.91
.quad L_.str.92
.quad L_.str.93
.quad L_.str.94
.quad L_.str.95
.quad L_.str.96
.quad L_.str.97
.quad L_.str.98
.quad L_.str.99
.quad L_.str.100
.quad L_.str.101
.quad L_.str.102
.quad L_.str.103
.quad L_.str.104
.quad L_.str.105
.quad L_.str.106
.quad L_.str.107
.quad L_.str.108
.quad L_.str.109
.quad L_.str.110
.quad L_.str.111
.quad L_.str.112
.quad L_.str.113
.quad L_.str.114
.quad L_.str.115
.quad L_.str.116
.quad L_.str.117
.quad L_.str.118
.quad L_.str.119
.quad L_.str.120
.quad L_.str.121
.quad L_.str.122
.quad L_.str.123
.quad L_.str.124
.quad L_.str.125
.quad L_.str.126
.quad L_.str.127
.quad L_.str.128
.quad L_.str.129
.quad L_.str.130
.quad L_.str.131
.quad L_.str.132
.quad L_.str.133
.quad L_.str.134
.quad L_.str.135
.quad L_.str.136
.quad L_.str.137
.quad L_.str.138
.quad L_.str.139
.quad L_.str.140
.quad L_.str.141
.quad L_.str.142
.quad L_.str.143
.quad L_.str.144
.quad L_.str.145
.quad L_.str.146
.quad L_.str.147
.quad L_.str.148
.quad L_.str.149
.quad L_.str.150
.quad L_.str.151
.quad L_.str.152
.quad L_.str.153
.quad L_.str.154
.quad L_.str.155
.quad L_.str.156
.quad L_.str.157
.quad L_.str.158
.quad L_.str.159
.quad L_.str.160
.quad L_.str.161
.quad L_.str.162
.quad L_.str.163
.quad L_.str.164
.quad L_.str.52
.quad L_.str.165
.quad L_.str.166
.quad L_.str.167
.quad L_.str.168
.quad L_.str.169
.quad L_.str.170
.quad L_.str.171
.quad L_.str.172
.quad L_.str.173
.quad L_.str.174
.quad L_.str.175
.quad L_.str.176
.quad L_.str.177
.quad L_.str.178
.quad L_.str.179
.quad L_.str.180
.quad L_.str.181
.quad L_.str.182
.quad L_.str.183
.quad L_.str.184
.quad L_.str.185
.quad L_.str.186
.quad L_.str.187
.quad L_.str.188
.quad L_.str.189
.quad L_.str.190
.quad L_.str.191
.quad L_.str.192
.quad L_.str.193
.quad L_.str.194
.quad L_.str.195
.quad L_.str.196
.quad L_.str.197
.quad L_.str.198
.quad L_.str.199
.quad L_.str.200
.quad L_.str.201
.quad L_.str.202
.quad L_.str.203
.quad L_.str.204
.quad L_.str.205
.quad L_.str.206
.quad L_.str.207
.quad L_.str.208
.quad L_.str.209
.quad L_.str.210
.quad L_.str.91
.quad L_.str.92
.quad L_.str.93
.quad L_.str.94
.quad L_.str.95
.quad L_.str.96
.quad L_.str.97
.quad L_.str.98
.quad L_.str.99
.quad L_.str.100
.quad L_.str.101
.quad L_.str.102
.quad L_.str.103
.quad L_.str.104
.quad L_.str.105
.quad L_.str.106
.quad L_.str.107
.quad L_.str.108
.quad L_.str.109
.quad L_.str.110
.quad L_.str.111
.quad L_.str.112
.quad L_.str.113
.quad L_.str.114
.quad L_.str.115
.quad L_.str.116
.quad L_.str.117
.quad L_.str.118
.quad L_.str.119
.quad L_.str.120
.quad L_.str.121
.quad L_.str.122
.quad L_.str.123
.quad L_.str.124
.quad L_.str.125
.quad L_.str.126
.quad L_.str.127
.quad L_.str.128
.quad L_.str.129
.quad L_.str.130
.quad L_.str.131
.quad L_.str.132
.quad L_.str.133
.quad L_.str.134
.quad L_.str.135
.quad L_.str.136
.quad L_.str.137
.quad L_.str.138
.quad L_.str.139
.quad L_.str.140
.quad L_.str.141
.quad L_.str.142
.quad L_.str.143
.quad L_.str.144
.quad L_.str.145
.quad L_.str.146
.quad L_.str.147
.quad L_.str.148
.quad L_.str.149
.quad L_.str.150
.quad L_.str.151
.quad L_.str.152
.quad L_.str.153
.quad L_.str.154
.quad L_.str.155
.quad L_.str.156
.quad L_.str.157
.quad L_.str.158
.quad L_.str.159
.quad L_.str.160
.quad L_.str.161
.quad L_.str.162
.quad L_.str.163
.quad L_.str.164
.quad L_.str.52
.quad L_.str.165
.quad L_.str.166
.quad L_.str.167
.quad L_.str.168
.quad L_.str.169
.quad L_.str.170
.quad L_.str.171
.quad L_.str.172
.quad L_.str.173
.quad L_.str.174
.quad L_.str.175
.quad L_.str.176
.quad L_.str.177
.quad L_.str.178
.quad L_.str.179
.quad L_.str.180
.quad L_.str.181
.quad L_.str.182
.quad L_.str.183
.quad L_.str.184
.quad L_.str.185
.quad L_.str.186
.quad L_.str.187
.quad L_.str.188
.quad L_.str.189
.quad L_.str.190
.quad L_.str.191
.quad L_.str.192
.quad L_.str.193
.quad L_.str.194
.quad L_.str.195
.quad L_.str.196
.quad L_.str.197
.quad L_.str.198
.quad L_.str.199
.quad L_.str.200
.quad L_.str.201
.quad L_.str.202
.quad L_.str.203
.quad L_.str.204
.quad L_.str.205
.quad L_.str.206
.quad L_.str.207
.quad L_.str.208
.quad L_.str.209
.quad L_.str.210
.section __TEXT,__cstring,cstring_literals
L_.str.211: ## @.str.211
.asciz "\"%s\" is%s in \"%s\""
L_.str.212: ## @.str.212
.space 1
L_.str.213: ## @.str.213
.asciz " not"
L_.str.214: ## @.str.214
.asciz " [\"%s\"]"
.subsections_via_symbols
| the_stack_data/40999.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str wzr, [sp, #28]
str w0, [sp, #24]
str x1, [sp, #16]
mov w8, #255
str w8, [sp, #12]
ldr w0, [sp, #12]
add sp, sp, #32
ret
.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 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 $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $255, -20(%rbp)
movl -20(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/25138341.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _lookup ; -- Begin function lookup
.p2align 2
_lookup: ; @lookup
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _lgetc ; -- Begin function lgetc
.p2align 2
_lgetc: ; @lgetc
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
mov w0, #0
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __DATA,__const
.p2align 3 ; @lookup.keywords
_lookup.keywords:
.quad l_.str
.long 257 ; 0x101
.space 4
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "changer"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _lookup ## -- Begin function lookup
.p2align 4, 0x90
_lookup: ## @lookup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _lgetc ## -- Begin function lgetc
.p2align 4, 0x90
_lgetc: ## @lgetc
.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, -4(%rbp)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__const
.p2align 4 ## @lookup.keywords
_lookup.keywords:
.quad L_.str
.long 257 ## 0x101
.space 4
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "changer"
.subsections_via_symbols
| the_stack_data/31389121.c |
.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, #432
.cfi_def_cfa_offset 432
stp x28, x27, [sp, #400] ; 16-byte Folded Spill
stp x29, x30, [sp, #416] ; 16-byte Folded Spill
add x29, sp, #416
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #92]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x2, [x8]
add x0, sp, #137
str x0, [sp, #48] ; 8-byte Folded Spill
mov w1, #255
bl _fgets
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr x0, [sp, #48] ; 8-byte Folded Reload
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
str x1, [sp, #56] ; 8-byte Folded Spill
bl _strtok
ldr x1, [sp, #56] ; 8-byte Folded Reload
str x0, [sp, #80]
mov x0, #0
bl _strtok
str x0, [sp, #72]
strb wzr, [sp, #117]
ldr x8, [sp, #80]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_1
LBB0_1:
ldr x0, [sp, #80]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
str x1, [sp, #40] ; 8-byte Folded Spill
bl _strtok
ldr x1, [sp, #40] ; 8-byte Folded Reload
str x0, [sp, #64]
mov x0, #0
bl _strtok
str x0, [sp, #64]
ldr x8, [sp, #64]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
ldr x1, [sp, #64]
add x0, sp, #117
mov x2, #20
bl ___strcpy_chk
b LBB0_3
LBB0_3:
b LBB0_4
LBB0_4:
strb wzr, [sp, #97]
ldr x8, [sp, #72]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_5
LBB0_5:
ldr x0, [sp, #72]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
str x1, [sp, #32] ; 8-byte Folded Spill
bl _strtok
ldr x1, [sp, #32] ; 8-byte Folded Reload
str x0, [sp, #64]
mov x0, #0
bl _strtok
str x0, [sp, #64]
ldr x8, [sp, #64]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
ldr x1, [sp, #64]
add x0, sp, #97
mov x2, #20
bl ___strcpy_chk
b LBB0_7
LBB0_7:
b LBB0_8
LBB0_8:
mov x9, sp
add x8, sp, #117
str x8, [x9]
add x8, sp, #97
str x8, [x9, #8]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
ldr w8, [sp, #92]
str w8, [sp, #28] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
bl ___stack_chk_fail
LBB0_10:
ldr w0, [sp, #28] ; 4-byte Folded Reload
ldp x29, x30, [sp, #416] ; 16-byte Folded Reload
ldp x28, x27, [sp, #400] ; 16-byte Folded Reload
add sp, sp, #432
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Content-Type: text/html\n\n"
l_.str.1: ; @.str.1
.asciz "<html><head></head>"
l_.str.2: ; @.str.2
.asciz "<body>"
l_.str.3: ; @.str.3
.asciz "Parameters are: <br />"
l_.str.4: ; @.str.4
.asciz "&"
l_.str.5: ; @.str.5
.asciz "="
l_.str.6: ; @.str.6
.asciz "%s, %s"
l_.str.7: ; @.str.7
.asciz "</body>"
l_.str.8: ; @.str.8
.asciz "</html>"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $384, %rsp ## imm = 0x180
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -340(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq -272(%rbp), %rdi
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl $255, %esi
callq _fgets
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq -272(%rbp), %rdi
leaq L_.str.4(%rip), %rsi
callq _strtok
movq %rax, -352(%rbp)
xorl %eax, %eax
movl %eax, %edi
leaq L_.str.4(%rip), %rsi
callq _strtok
movq %rax, -360(%rbp)
movb $0, -304(%rbp)
cmpq $0, -352(%rbp)
je LBB0_4
## %bb.1:
movq -352(%rbp), %rdi
leaq L_.str.5(%rip), %rsi
callq _strtok
movq %rax, -368(%rbp)
xorl %eax, %eax
movl %eax, %edi
leaq L_.str.5(%rip), %rsi
callq _strtok
movq %rax, -368(%rbp)
cmpq $0, -368(%rbp)
je LBB0_3
## %bb.2:
leaq -304(%rbp), %rdi
movq -368(%rbp), %rsi
movl $20, %edx
callq ___strcpy_chk
LBB0_3:
jmp LBB0_4
LBB0_4:
movb $0, -336(%rbp)
cmpq $0, -360(%rbp)
je LBB0_8
## %bb.5:
movq -360(%rbp), %rdi
leaq L_.str.5(%rip), %rsi
callq _strtok
movq %rax, -368(%rbp)
xorl %eax, %eax
movl %eax, %edi
leaq L_.str.5(%rip), %rsi
callq _strtok
movq %rax, -368(%rbp)
cmpq $0, -368(%rbp)
je LBB0_7
## %bb.6:
leaq -336(%rbp), %rdi
movq -368(%rbp), %rsi
movl $20, %edx
callq ___strcpy_chk
LBB0_7:
jmp LBB0_8
LBB0_8:
leaq -304(%rbp), %rsi
leaq -336(%rbp), %rdx
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
movl -340(%rbp), %eax
movl %eax, -372(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_10
## %bb.9:
movl -372(%rbp), %eax ## 4-byte Reload
addq $384, %rsp ## imm = 0x180
popq %rbp
retq
LBB0_10:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Content-Type: text/html\n\n"
L_.str.1: ## @.str.1
.asciz "<html><head></head>"
L_.str.2: ## @.str.2
.asciz "<body>"
L_.str.3: ## @.str.3
.asciz "Parameters are: <br />"
L_.str.4: ## @.str.4
.asciz "&"
L_.str.5: ## @.str.5
.asciz "="
L_.str.6: ## @.str.6
.asciz "%s, %s"
L_.str.7: ## @.str.7
.asciz "</body>"
L_.str.8: ## @.str.8
.asciz "</html>"
.subsections_via_symbols
| the_stack_data/95449662.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___VERIFIER_nondet_bool ; -- Begin function __VERIFIER_nondet_bool
.p2align 2
___VERIFIER_nondet_bool: ; @__VERIFIER_nondet_bool
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl ___VERIFIER_nondet_int
subs w8, w0, #0
cset w8, ne
and w8, w8, #0x1
sxtb w0, w8
ldp x29, x30, [sp], #16 ; 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, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _b@GOTPAGE
ldr x8, [x8, _b@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, _x@GOTPAGE
ldr x8, [x8, _x@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
adrp x8, __x_x@GOTPAGE
ldr x8, [x8, __x_x@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
mov w8, #0
stur w8, [x29, #-12] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
bl ___VERIFIER_nondet_bool
ldr x8, [sp, #16] ; 8-byte Folded Reload
strb w0, [x8]
bl ___VERIFIER_nondet_int
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldur w8, [x29, #-12] ; 4-byte Folded Reload
str w0, [x9]
ldr w9, [x9]
subs w8, w8, w9
cset w8, le
and w8, w8, #0x1
stur w8, [x29, #-8]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_8
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
bl ___VERIFIER_nondet_bool
adrp x8, __x_b@GOTPAGE
ldr x8, [x8, __x_b@GOTPAGEOFF]
strb w0, [x8]
bl ___VERIFIER_nondet_int
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #16] ; 8-byte Folded Reload
str w0, [x9]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr w8, [x8]
ldr w9, [x9]
add w10, w9, #1
mov w9, #-1
mul w9, w9, w10
subs w8, w8, w9
cset w8, ge
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_7
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, ne
mov w9, #1
str w9, [sp] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x8]
subs w10, w8, #1
mov w8, #-1
mul w8, w8, w10
ldr w9, [x9]
subs w8, w8, w9
cset w8, lt
str w8, [sp] ; 4-byte Folded Spill
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp] ; 4-byte Folded Reload
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x11, [sp, #16] ; 8-byte Folded Reload
ldr w10, [sp, #4] ; 4-byte Folded Reload
and w10, w10, #0x1
stur w10, [x29, #-8]
adrp x10, __x_b@GOTPAGE
ldr x10, [x10, __x_b@GOTPAGEOFF]
ldrb w10, [x10]
strb w10, [x11]
ldr w8, [x8]
str w8, [x9]
b LBB1_1
LBB1_8:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.comm _b,1,0 ; @b
.comm _x,4,2 ; @x
.comm __x_b,1,0 ; @_x_b
.comm __x_x,4,2 ; @_x_x
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___VERIFIER_nondet_bool ## -- Begin function __VERIFIER_nondet_bool
.p2align 4, 0x90
___VERIFIER_nondet_bool: ## @__VERIFIER_nondet_bool
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq ___VERIFIER_nondet_int
cmpl $0, %eax
setne %al
andb $1, %al
movzbl %al, %eax
## kill: def $al killed $al killed $eax
movsbl %al, %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
subq $16, %rsp
movl $0, -4(%rbp)
callq ___VERIFIER_nondet_bool
movb %al, %cl
movq _b@GOTPCREL(%rip), %rax
movb %cl, (%rax)
callq ___VERIFIER_nondet_int
movl %eax, %ecx
movq _x@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
xorl %eax, %eax
movq _x@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
setle %al
andb $1, %al
movzbl %al, %eax
movl %eax, -8(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -8(%rbp)
je LBB1_8
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
callq ___VERIFIER_nondet_bool
movb %al, %cl
movq __x_b@GOTPCREL(%rip), %rax
movb %cl, (%rax)
callq ___VERIFIER_nondet_int
movl %eax, %ecx
movq __x_x@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _b@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movq __x_x@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _x@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl $1, %eax
imull $4294967295, %eax, %edx ## imm = 0xFFFFFFFF
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl %edx, %ecx
movb %al, -9(%rbp) ## 1-byte Spill
jge LBB1_7
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movq _b@GOTPCREL(%rip), %rax
movsbl (%rax), %ecx
movb $1, %al
cmpl $0, %ecx
movb %al, -10(%rbp) ## 1-byte Spill
jne LBB1_6
## %bb.5: ## in Loop: Header=BB1_1 Depth=1
movq _x@GOTPCREL(%rip), %rax
movl (%rax), %eax
subl $1, %eax
imull $4294967295, %eax, %eax ## imm = 0xFFFFFFFF
movq __x_x@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
setl %al
movb %al, -10(%rbp) ## 1-byte Spill
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
movb -10(%rbp), %al ## 1-byte Reload
movb %al, -9(%rbp) ## 1-byte Spill
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
movb -9(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
movl %eax, -8(%rbp)
movq __x_b@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _b@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq __x_x@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _x@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_1
LBB1_8:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _b,1,0 ## @b
.comm _x,4,2 ## @x
.comm __x_b,1,0 ## @_x_b
.comm __x_x,4,2 ## @_x_x
.subsections_via_symbols
| the_stack_data/184519256.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _yylex ; -- Begin function yylex
.p2align 2
_yylex: ; @yylex
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _yytext@GOTPAGE
ldr x8, [x8, _yytext@GOTPAGEOFF]
str x8, [sp, #32] ; 8-byte Folded Spill
adrp x8, _yy_init@PAGE
ldr w8, [x8, _yy_init@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_1
LBB0_1:
mov w8, #1
adrp x9, _yy_init@PAGE
str w8, [x9, _yy_init@PAGEOFF]
adrp x8, _yy_start@PAGE
ldr w8, [x8, _yy_start@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
adrp x9, _yy_start@PAGE
mov w8, #1
str w8, [x9, _yy_start@PAGEOFF]
b LBB0_3
LBB0_3:
adrp x8, _yyin@PAGE
ldr x8, [x8, _yyin@PAGEOFF]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x8, [x8]
adrp x9, _yyin@PAGE
str x8, [x9, _yyin@PAGEOFF]
b LBB0_5
LBB0_5:
adrp x8, _yyout@PAGE
ldr x8, [x8, _yyout@PAGEOFF]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x8, [x8]
adrp x9, _yyout@PAGE
str x8, [x9, _yyout@PAGEOFF]
b LBB0_7
LBB0_7:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_9:
mov w8, #0
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
bl _yyensure_buffer_stack
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
mov w1, #16384
bl _yy_create_buffer
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
str x0, [x8, x9, lsl #3]
b LBB0_11
LBB0_11:
bl _yy_load_buffer_state
b LBB0_12
LBB0_12:
b LBB0_13
LBB0_13: ; =>This Loop Header: Depth=1
; Child Loop BB0_14 Depth 2
; Child Loop BB0_15 Depth 3
; Child Loop BB0_18 Depth 4
; Child Loop BB0_25 Depth 3
; Child Loop BB0_28 Depth 4
adrp x8, _yy_c_buf_p@PAGE
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
stur x8, [x29, #-16]
adrp x8, _yy_hold_char@PAGE
ldrb w8, [x8, _yy_hold_char@PAGEOFF]
ldur x9, [x29, #-16]
strb w8, [x9]
ldur x8, [x29, #-16]
stur x8, [x29, #-24]
adrp x8, _yy_start@PAGE
ldr w8, [x8, _yy_start@PAGEOFF]
stur w8, [x29, #-8]
b LBB0_14
LBB0_14: ; Parent Loop BB0_13 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_15 Depth 3
; Child Loop BB0_18 Depth 4
; Child Loop BB0_25 Depth 3
; Child Loop BB0_28 Depth 4
b LBB0_15
LBB0_15: ; Parent Loop BB0_13 Depth=1
; Parent Loop BB0_14 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_18 Depth 4
ldur x8, [x29, #-16]
ldrb w8, [x8]
mov x9, x8
adrp x8, _yy_ec@PAGE
add x8, x8, _yy_ec@PAGEOFF
add x8, x8, x9
ldrb w8, [x8]
sturb w8, [x29, #-29]
ldursw x9, [x29, #-8]
adrp x8, _yy_accept@PAGE
add x8, x8, _yy_accept@PAGEOFF
add x8, x8, x9, lsl #1
ldrh w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_15 Depth=3
ldur w8, [x29, #-8]
adrp x9, _yy_last_accepting_state@PAGE
str w8, [x9, _yy_last_accepting_state@PAGEOFF]
ldur x8, [x29, #-16]
adrp x9, _yy_last_accepting_cpos@PAGE
str x8, [x9, _yy_last_accepting_cpos@PAGEOFF]
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_15 Depth=3
b LBB0_18
LBB0_18: ; Parent Loop BB0_13 Depth=1
; Parent Loop BB0_14 Depth=2
; Parent Loop BB0_15 Depth=3
; => This Inner Loop Header: Depth=4
ldursw x9, [x29, #-8]
adrp x8, _yy_base@PAGE
add x8, x8, _yy_base@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
ldurb w9, [x29, #-29]
add w9, w8, w9
adrp x8, _yy_chk@PAGE
add x8, x8, _yy_chk@PAGEOFF
ldrsh w8, [x8, w9, sxtw #1]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_22
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_18 Depth=4
ldursw x9, [x29, #-8]
adrp x8, _yy_def@PAGE
add x8, x8, _yy_def@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-8]
ldur w8, [x29, #-8]
subs w8, w8, #11
cset w8, lt
tbnz w8, #0, LBB0_21
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_18 Depth=4
ldurb w8, [x29, #-29]
mov x9, x8
adrp x8, _yy_meta@PAGE
add x8, x8, _yy_meta@PAGEOFF
add x8, x8, x9
ldrb w8, [x8]
sturb w8, [x29, #-29]
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_18 Depth=4
b LBB0_18
LBB0_22: ; in Loop: Header=BB0_15 Depth=3
ldursw x9, [x29, #-8]
adrp x8, _yy_base@PAGE
add x8, x8, _yy_base@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
ldurb w9, [x29, #-29]
add w9, w8, w9
adrp x8, _yy_nxt@PAGE
add x8, x8, _yy_nxt@PAGEOFF
ldrsh w8, [x8, w9, sxtw #1]
stur w8, [x29, #-8]
ldur x8, [x29, #-16]
add x8, x8, #1
stur x8, [x29, #-16]
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_15 Depth=3
ldursw x9, [x29, #-8]
adrp x8, _yy_base@PAGE
add x8, x8, _yy_base@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
subs w8, w8, #12
cset w8, ne
tbnz w8, #0, LBB0_15
b LBB0_24
LBB0_24: ; in Loop: Header=BB0_14 Depth=2
b LBB0_25
LBB0_25: ; Parent Loop BB0_13 Depth=1
; Parent Loop BB0_14 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_28 Depth 4
ldursw x9, [x29, #-8]
adrp x8, _yy_accept@PAGE
add x8, x8, _yy_accept@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-28]
ldur w8, [x29, #-28]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_27
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_25 Depth=3
adrp x8, _yy_last_accepting_cpos@PAGE
ldr x8, [x8, _yy_last_accepting_cpos@PAGEOFF]
stur x8, [x29, #-16]
adrp x8, _yy_last_accepting_state@PAGE
ldr w8, [x8, _yy_last_accepting_state@PAGEOFF]
stur w8, [x29, #-8]
ldursw x9, [x29, #-8]
adrp x8, _yy_accept@PAGE
add x8, x8, _yy_accept@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-28]
b LBB0_27
LBB0_27: ; in Loop: Header=BB0_25 Depth=3
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldur x8, [x29, #-24]
str x8, [x9]
ldur x8, [x29, #-16]
ldur x9, [x29, #-24]
subs x8, x8, x9
adrp x9, _yyleng@GOTPAGE
ldr x9, [x9, _yyleng@GOTPAGEOFF]
; kill: def $w8 killed $w8 killed $x8
str w8, [x9]
ldur x8, [x29, #-16]
ldrb w8, [x8]
adrp x9, _yy_hold_char@PAGE
strb w8, [x9, _yy_hold_char@PAGEOFF]
ldur x8, [x29, #-16]
strb wzr, [x8]
ldur x8, [x29, #-16]
adrp x9, _yy_c_buf_p@PAGE
str x8, [x9, _yy_c_buf_p@PAGEOFF]
b LBB0_28
LBB0_28: ; Parent Loop BB0_13 Depth=1
; Parent Loop BB0_14 Depth=2
; Parent Loop BB0_25 Depth=3
; => This Inner Loop Header: Depth=4
ldur w8, [x29, #-28]
subs w8, w8, #0
; kill: def $x8 killed $w8
str x8, [sp, #24] ; 8-byte Folded Spill
subs x8, x8, #5
cset w8, hi
tbnz w8, #0, LBB0_53
; %bb.29: ; in Loop: Header=BB0_28 Depth=4
ldr x11, [sp, #24] ; 8-byte Folded Reload
adrp x10, lJTI0_0@PAGE
add x10, x10, lJTI0_0@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB0_30: ; in Loop: Header=BB0_25 Depth=3
adrp x8, _yy_hold_char@PAGE
ldrb w8, [x8, _yy_hold_char@PAGEOFF]
ldur x9, [x29, #-16]
strb w8, [x9]
adrp x8, _yy_last_accepting_cpos@PAGE
ldr x8, [x8, _yy_last_accepting_cpos@PAGEOFF]
stur x8, [x29, #-16]
adrp x8, _yy_last_accepting_state@PAGE
ldr w8, [x8, _yy_last_accepting_state@PAGEOFF]
stur w8, [x29, #-8]
b LBB0_25
LBB0_31:
mov w8, #1
stur w8, [x29, #-4]
b LBB0_55
LBB0_32:
mov w8, #2
stur w8, [x29, #-4]
b LBB0_55
LBB0_33: ; in Loop: Header=BB0_13 Depth=1
b LBB0_34
LBB0_34: ; in Loop: Header=BB0_13 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x8, _yyleng@GOTPAGE
ldr x8, [x8, _yyleng@GOTPAGEOFF]
ldrsw x1, [x8]
adrp x8, _yyout@PAGE
ldr x3, [x8, _yyout@PAGEOFF]
mov x2, #1
bl _fwrite
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_36
b LBB0_35
LBB0_35: ; in Loop: Header=BB0_13 Depth=1
b LBB0_36
LBB0_36: ; in Loop: Header=BB0_13 Depth=1
b LBB0_37
LBB0_37: ; in Loop: Header=BB0_13 Depth=1
b LBB0_54
LBB0_38:
stur wzr, [x29, #-4]
b LBB0_55
LBB0_39: ; in Loop: Header=BB0_28 Depth=4
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldur x8, [x29, #-16]
ldr x9, [x9]
subs x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
subs w8, w8, #1
stur w8, [x29, #-36]
adrp x8, _yy_hold_char@PAGE
ldrb w8, [x8, _yy_hold_char@PAGEOFF]
ldur x9, [x29, #-16]
strb w8, [x9]
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr w8, [x8, #56]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_41
b LBB0_40
LBB0_40: ; in Loop: Header=BB0_28 Depth=4
adrp x8, _yy_buffer_stack@PAGE
ldr x10, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x11, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x10, [x10, x11, lsl #3]
ldr w10, [x10, #28]
adrp x11, _yy_n_chars@PAGE
str w10, [x11, _yy_n_chars@PAGEOFF]
adrp x10, _yyin@PAGE
ldr x10, [x10, _yyin@PAGEOFF]
ldr x11, [x8, _yy_buffer_stack@PAGEOFF]
ldr x12, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x11, [x11, x12, lsl #3]
str x10, [x11]
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x8, x9, lsl #3]
mov w8, #1
str w8, [x9, #56]
b LBB0_41
LBB0_41: ; in Loop: Header=BB0_28 Depth=4
adrp x8, _yy_c_buf_p@PAGE
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
adrp x9, _yy_buffer_stack@PAGE
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
ldr x9, [x9, #8]
adrp x10, _yy_n_chars@PAGE
ldrsw x10, [x10, _yy_n_chars@PAGEOFF]
add x9, x9, x10
subs x8, x8, x9
cset w8, hi
tbnz w8, #0, LBB0_45
b LBB0_42
LBB0_42: ; in Loop: Header=BB0_25 Depth=3
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-36]
add x8, x8, x9
adrp x9, _yy_c_buf_p@PAGE
str x8, [x9, _yy_c_buf_p@PAGEOFF]
bl _yy_get_previous_state
stur w0, [x29, #-8]
ldur w0, [x29, #-8]
bl _yy_try_NUL_trans
ldr x8, [sp, #32] ; 8-byte Folded Reload
str w0, [sp, #40]
ldr x8, [x8]
stur x8, [x29, #-24]
ldr w8, [sp, #40]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_44
b LBB0_43
LBB0_43: ; in Loop: Header=BB0_14 Depth=2
adrp x10, _yy_c_buf_p@PAGE
ldr x8, [x10, _yy_c_buf_p@PAGEOFF]
add x8, x8, #1
mov x9, x8
str x9, [x10, _yy_c_buf_p@PAGEOFF]
stur x8, [x29, #-16]
ldr w8, [sp, #40]
stur w8, [x29, #-8]
b LBB0_14
LBB0_44: ; in Loop: Header=BB0_25 Depth=3
adrp x8, _yy_c_buf_p@PAGE
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
stur x8, [x29, #-16]
b LBB0_25
LBB0_45: ; in Loop: Header=BB0_28 Depth=4
bl _yy_get_next_buffer
str w0, [sp, #20] ; 4-byte Folded Spill
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_49
b LBB0_46
LBB0_46: ; in Loop: Header=BB0_28 Depth=4
ldr w8, [sp, #20] ; 4-byte Folded Reload
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_48
b LBB0_47
LBB0_47: ; in Loop: Header=BB0_25 Depth=3
ldr w8, [sp, #20] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB0_50
b LBB0_51
LBB0_48: ; in Loop: Header=BB0_28 Depth=4
ldr x8, [sp, #32] ; 8-byte Folded Reload
adrp x9, _yy_did_buffer_switch_on_eof@PAGE
str wzr, [x9, _yy_did_buffer_switch_on_eof@PAGEOFF]
ldr x8, [x8]
adrp x9, _yy_c_buf_p@PAGE
str x8, [x9, _yy_c_buf_p@PAGEOFF]
adrp x8, _yy_start@PAGE
ldr w8, [x8, _yy_start@PAGEOFF]
subs w8, w8, #1
mov w9, #2
sdiv w8, w8, w9
add w8, w8, #4
add w8, w8, #1
stur w8, [x29, #-28]
b LBB0_28
LBB0_49: ; in Loop: Header=BB0_14 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-36]
add x8, x8, x9
adrp x9, _yy_c_buf_p@PAGE
str x9, [sp, #8] ; 8-byte Folded Spill
str x8, [x9, _yy_c_buf_p@PAGEOFF]
bl _yy_get_previous_state
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #32] ; 8-byte Folded Reload
stur w0, [x29, #-8]
ldr x9, [x9, _yy_c_buf_p@PAGEOFF]
stur x9, [x29, #-16]
ldr x8, [x8]
stur x8, [x29, #-24]
b LBB0_14
LBB0_50: ; in Loop: Header=BB0_25 Depth=3
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr x8, [x8, #8]
adrp x9, _yy_n_chars@PAGE
ldrsw x9, [x9, _yy_n_chars@PAGEOFF]
add x8, x8, x9
adrp x9, _yy_c_buf_p@PAGE
str x9, [sp] ; 8-byte Folded Spill
str x8, [x9, _yy_c_buf_p@PAGEOFF]
bl _yy_get_previous_state
ldr x9, [sp] ; 8-byte Folded Reload
ldr x8, [sp, #32] ; 8-byte Folded Reload
stur w0, [x29, #-8]
ldr x9, [x9, _yy_c_buf_p@PAGEOFF]
stur x9, [x29, #-16]
ldr x8, [x8]
stur x8, [x29, #-24]
b LBB0_25
LBB0_51: ; in Loop: Header=BB0_13 Depth=1
b LBB0_52
LBB0_52: ; in Loop: Header=BB0_13 Depth=1
b LBB0_54
LBB0_53:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _yy_fatal_error
LBB0_54: ; in Loop: Header=BB0_13 Depth=1
b LBB0_13
LBB0_55:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
.p2align 2
lJTI0_0:
.long LBB0_30-Ltmp0
.long LBB0_31-Ltmp0
.long LBB0_32-Ltmp0
.long LBB0_33-Ltmp0
.long LBB0_39-Ltmp0
.long LBB0_38-Ltmp0
; -- End function
.p2align 2 ; -- Begin function yyensure_buffer_stack
_yyensure_buffer_stack: ; @yyensure_buffer_stack
.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
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_1
LBB1_1:
mov x8, #1
stur x8, [x29, #-8]
ldur x8, [x29, #-8]
lsl x0, x8, #3
bl _yyalloc
adrp x8, _yy_buffer_stack@PAGE
str x0, [x8, _yy_buffer_stack@PAGEOFF]
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2:
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _yy_fatal_error
LBB1_3:
adrp x8, _yy_buffer_stack@PAGE
ldr x0, [x8, _yy_buffer_stack@PAGEOFF]
ldur x8, [x29, #-8]
lsl x2, x8, #3
mov w1, #0
mov x3, #-1
bl ___memset_chk
ldur x8, [x29, #-8]
adrp x9, _yy_buffer_stack_max@PAGE
str x8, [x9, _yy_buffer_stack_max@PAGEOFF]
adrp x8, _yy_buffer_stack_top@PAGE
str xzr, [x8, _yy_buffer_stack_top@PAGEOFF]
b LBB1_8
LBB1_4:
adrp x8, _yy_buffer_stack_top@PAGE
ldr x8, [x8, _yy_buffer_stack_top@PAGEOFF]
adrp x9, _yy_buffer_stack_max@PAGE
ldr x9, [x9, _yy_buffer_stack_max@PAGEOFF]
subs x9, x9, #1
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB1_8
b LBB1_5
LBB1_5:
mov x8, #8
str x8, [sp, #16]
adrp x8, _yy_buffer_stack_max@PAGE
ldr x8, [x8, _yy_buffer_stack_max@PAGEOFF]
ldr x9, [sp, #16]
add x8, x8, x9
stur x8, [x29, #-8]
adrp x8, _yy_buffer_stack@PAGE
str x8, [sp, #8] ; 8-byte Folded Spill
ldr x0, [x8, _yy_buffer_stack@PAGEOFF]
ldur x8, [x29, #-8]
lsl x1, x8, #3
bl _yyrealloc
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x0, [x8, _yy_buffer_stack@PAGEOFF]
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6:
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _yy_fatal_error
LBB1_7:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_max@PAGE
str x9, [sp] ; 8-byte Folded Spill
ldr x9, [x9, _yy_buffer_stack_max@PAGEOFF]
add x0, x8, x9, lsl #3
ldr x8, [sp, #16]
lsl x2, x8, #3
mov w1, #0
mov x3, #-1
bl ___memset_chk
ldr x9, [sp] ; 8-byte Folded Reload
ldur x8, [x29, #-8]
str x8, [x9, _yy_buffer_stack_max@PAGEOFF]
b LBB1_8
LBB1_8:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _yy_create_buffer ; -- Begin function yy_create_buffer
.p2align 2
_yy_create_buffer: ; @yy_create_buffer
.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
stur x0, [x29, #-8]
stur w1, [x29, #-12]
mov x0, #64
bl _yyalloc
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _yy_fatal_error
LBB2_2:
ldur w8, [x29, #-12]
ldr x9, [sp, #8]
str w8, [x9, #24]
ldr x8, [sp, #8]
ldr w8, [x8, #24]
add w9, w8, #2
; implicit-def: $x8
mov x8, x9
sxtw x0, w8
bl _yyalloc
ldr x8, [sp, #8]
str x0, [x8, #8]
ldr x8, [sp, #8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _yy_fatal_error
LBB2_4:
ldr x9, [sp, #8]
mov w8, #1
str w8, [x9, #32]
ldr x0, [sp, #8]
ldur x1, [x29, #-8]
bl _yy_init_buffer
ldr x0, [sp, #8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function yy_load_buffer_state
_yy_load_buffer_state: ; @yy_load_buffer_state
.cfi_startproc
; %bb.0:
adrp x9, _yy_buffer_stack@PAGE
ldr x8, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x11, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x11, lsl #3]
ldr w8, [x8, #28]
adrp x11, _yy_n_chars@PAGE
str w8, [x11, _yy_n_chars@PAGEOFF]
ldr x8, [x9, _yy_buffer_stack@PAGEOFF]
ldr x11, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x11, lsl #3]
ldr x11, [x8, #16]
adrp x8, _yy_c_buf_p@PAGE
str x11, [x8, _yy_c_buf_p@PAGEOFF]
adrp x12, _yytext@GOTPAGE
ldr x12, [x12, _yytext@GOTPAGEOFF]
str x11, [x12]
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
ldr x9, [x9]
adrp x10, _yyin@PAGE
str x9, [x10, _yyin@PAGEOFF]
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
ldrb w8, [x8]
adrp x9, _yy_hold_char@PAGE
strb w8, [x9, _yy_hold_char@PAGEOFF]
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function yy_get_previous_state
_yy_get_previous_state: ; @yy_get_previous_state
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
adrp x8, _yy_start@PAGE
ldr w8, [x8, _yy_start@PAGEOFF]
str w8, [sp, #28]
adrp x8, _yytext@GOTPAGE
ldr x8, [x8, _yytext@GOTPAGEOFF]
ldr x8, [x8]
str x8, [sp, #16]
b LBB4_1
LBB4_1: ; =>This Loop Header: Depth=1
; Child Loop BB4_8 Depth 2
ldr x8, [sp, #16]
adrp x9, _yy_c_buf_p@PAGE
ldr x9, [x9, _yy_c_buf_p@PAGEOFF]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB4_14
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #16]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #16]
ldrb w8, [x8]
mov x9, x8
adrp x8, _yy_ec@PAGE
add x8, x8, _yy_ec@PAGEOFF
ldrb w8, [x8, x9]
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB4_5
LBB4_4: ; in Loop: Header=BB4_1 Depth=1
mov w8, #1
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB4_5
LBB4_5: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp, #8] ; 4-byte Folded Reload
strb w8, [sp, #15]
ldrsw x9, [sp, #28]
adrp x8, _yy_accept@PAGE
add x8, x8, _yy_accept@PAGEOFF
add x8, x8, x9, lsl #1
ldrh w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_7
b LBB4_6
LBB4_6: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp, #28]
adrp x9, _yy_last_accepting_state@PAGE
str w8, [x9, _yy_last_accepting_state@PAGEOFF]
ldr x8, [sp, #16]
adrp x9, _yy_last_accepting_cpos@PAGE
str x8, [x9, _yy_last_accepting_cpos@PAGEOFF]
b LBB4_7
LBB4_7: ; in Loop: Header=BB4_1 Depth=1
b LBB4_8
LBB4_8: ; Parent Loop BB4_1 Depth=1
; => This Inner Loop Header: Depth=2
ldrsw x9, [sp, #28]
adrp x8, _yy_base@PAGE
add x8, x8, _yy_base@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
ldrb w9, [sp, #15]
add w9, w8, w9
adrp x8, _yy_chk@PAGE
add x8, x8, _yy_chk@PAGEOFF
ldrsh w8, [x8, w9, sxtw #1]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB4_12
b LBB4_9
LBB4_9: ; in Loop: Header=BB4_8 Depth=2
ldrsw x9, [sp, #28]
adrp x8, _yy_def@PAGE
add x8, x8, _yy_def@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
str w8, [sp, #28]
ldr w8, [sp, #28]
subs w8, w8, #11
cset w8, lt
tbnz w8, #0, LBB4_11
b LBB4_10
LBB4_10: ; in Loop: Header=BB4_8 Depth=2
ldrb w8, [sp, #15]
mov x9, x8
adrp x8, _yy_meta@PAGE
add x8, x8, _yy_meta@PAGEOFF
add x8, x8, x9
ldrb w8, [x8]
strb w8, [sp, #15]
b LBB4_11
LBB4_11: ; in Loop: Header=BB4_8 Depth=2
b LBB4_8
LBB4_12: ; in Loop: Header=BB4_1 Depth=1
ldrsw x9, [sp, #28]
adrp x8, _yy_base@PAGE
add x8, x8, _yy_base@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
ldrb w9, [sp, #15]
add w9, w8, w9
adrp x8, _yy_nxt@PAGE
add x8, x8, _yy_nxt@PAGEOFF
ldrsh w8, [x8, w9, sxtw #1]
str w8, [sp, #28]
b LBB4_13
LBB4_13: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
b LBB4_1
LBB4_14:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function yy_try_NUL_trans
_yy_try_NUL_trans: ; @yy_try_NUL_trans
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #28]
adrp x8, _yy_c_buf_p@PAGE
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
str x8, [sp, #16]
mov w8, #1
strb w8, [sp, #15]
ldrsw x9, [sp, #28]
adrp x8, _yy_accept@PAGE
add x8, x8, _yy_accept@PAGEOFF
add x8, x8, x9, lsl #1
ldrh w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
ldr w8, [sp, #28]
adrp x9, _yy_last_accepting_state@PAGE
str w8, [x9, _yy_last_accepting_state@PAGEOFF]
ldr x8, [sp, #16]
adrp x9, _yy_last_accepting_cpos@PAGE
str x8, [x9, _yy_last_accepting_cpos@PAGEOFF]
b LBB5_2
LBB5_2:
b LBB5_3
LBB5_3: ; =>This Inner Loop Header: Depth=1
ldrsw x9, [sp, #28]
adrp x8, _yy_base@PAGE
add x8, x8, _yy_base@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
ldrb w9, [sp, #15]
add w9, w8, w9
adrp x8, _yy_chk@PAGE
add x8, x8, _yy_chk@PAGEOFF
ldrsh w8, [x8, w9, sxtw #1]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB5_7
b LBB5_4
LBB5_4: ; in Loop: Header=BB5_3 Depth=1
ldrsw x9, [sp, #28]
adrp x8, _yy_def@PAGE
add x8, x8, _yy_def@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
str w8, [sp, #28]
ldr w8, [sp, #28]
subs w8, w8, #11
cset w8, lt
tbnz w8, #0, LBB5_6
b LBB5_5
LBB5_5: ; in Loop: Header=BB5_3 Depth=1
ldrb w8, [sp, #15]
mov x9, x8
adrp x8, _yy_meta@PAGE
add x8, x8, _yy_meta@PAGEOFF
add x8, x8, x9
ldrb w8, [x8]
strb w8, [sp, #15]
b LBB5_6
LBB5_6: ; in Loop: Header=BB5_3 Depth=1
b LBB5_3
LBB5_7:
ldrsw x9, [sp, #28]
adrp x8, _yy_base@PAGE
add x8, x8, _yy_base@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
ldrb w9, [sp, #15]
add w9, w8, w9
adrp x8, _yy_nxt@PAGE
add x8, x8, _yy_nxt@PAGEOFF
ldrsh w8, [x8, w9, sxtw #1]
str w8, [sp, #28]
ldr w8, [sp, #28]
subs w8, w8, #10
cset w8, eq
and w8, w8, #0x1
str w8, [sp, #24]
ldr w8, [sp, #24]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB5_9
b LBB5_8
LBB5_8:
mov w8, #0
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB5_10
LBB5_9:
ldr w8, [sp, #28]
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB5_10
LBB5_10:
ldr w0, [sp, #8] ; 4-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function yy_get_next_buffer
_yy_get_next_buffer: ; @yy_get_next_buffer
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _yytext@GOTPAGE
ldr x8, [x8, _yytext@GOTPAGEOFF]
str x8, [sp, #32] ; 8-byte Folded Spill
adrp x9, _yy_buffer_stack@PAGE
ldr x11, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x12, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x11, [x11, x12, lsl #3]
ldr x11, [x11, #8]
stur x11, [x29, #-16]
ldr x8, [x8]
stur x8, [x29, #-24]
adrp x8, _yy_c_buf_p@PAGE
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
ldr x9, [x9, #8]
adrp x10, _yy_n_chars@PAGE
ldr w10, [x10, _yy_n_chars@PAGEOFF]
add w10, w10, #1
add x9, x9, w10, sxtw
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB6_2
b LBB6_1
LBB6_1:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _yy_fatal_error
LBB6_2:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr w8, [x8, #52]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_6
b LBB6_3
LBB6_3:
ldr x9, [sp, #32] ; 8-byte Folded Reload
adrp x8, _yy_c_buf_p@PAGE
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
subs x8, x8, #0
subs x8, x8, #1
cset w8, ne
tbnz w8, #0, LBB6_5
b LBB6_4
LBB6_4:
mov w8, #1
stur w8, [x29, #-4]
b LBB6_59
LBB6_5:
mov w8, #2
stur w8, [x29, #-4]
b LBB6_59
LBB6_6:
ldr x9, [sp, #32] ; 8-byte Folded Reload
adrp x8, _yy_c_buf_p@PAGE
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
subs x8, x8, #1
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-28]
stur wzr, [x29, #-32]
b LBB6_7
LBB6_7: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-32]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB6_10
b LBB6_8
LBB6_8: ; in Loop: Header=BB6_7 Depth=1
ldur x8, [x29, #-24]
add x9, x8, #1
stur x9, [x29, #-24]
ldrb w8, [x8]
ldur x9, [x29, #-16]
add x10, x9, #1
stur x10, [x29, #-16]
strb w8, [x9]
b LBB6_9
LBB6_9: ; in Loop: Header=BB6_7 Depth=1
ldur w8, [x29, #-32]
add w8, w8, #1
stur w8, [x29, #-32]
b LBB6_7
LBB6_10:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr w8, [x8, #56]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB6_12
b LBB6_11
LBB6_11:
adrp x8, _yy_n_chars@PAGE
str wzr, [x8, _yy_n_chars@PAGEOFF]
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
str wzr, [x8, #28]
b LBB6_48
LBB6_12:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr w8, [x8, #24]
ldur w9, [x29, #-28]
subs w8, w8, w9
subs w8, w8, #1
stur w8, [x29, #-40]
b LBB6_13
LBB6_13: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-40]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB6_23
b LBB6_14
LBB6_14: ; in Loop: Header=BB6_13 Depth=1
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
stur x8, [x29, #-48]
adrp x8, _yy_c_buf_p@PAGE
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
ldur x9, [x29, #-48]
ldr x9, [x9, #8]
subs x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-52]
ldur x8, [x29, #-48]
ldr w8, [x8, #32]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_19
b LBB6_15
LBB6_15: ; in Loop: Header=BB6_13 Depth=1
ldur x8, [x29, #-48]
ldr w8, [x8, #24]
lsl w8, w8, #1
str w8, [sp, #56]
ldr w8, [sp, #56]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB6_17
b LBB6_16
LBB6_16: ; in Loop: Header=BB6_13 Depth=1
ldur x8, [x29, #-48]
ldr w8, [x8, #24]
mov w9, #8
sdiv w10, w8, w9
ldur x9, [x29, #-48]
ldr w8, [x9, #24]
add w8, w8, w10
str w8, [x9, #24]
b LBB6_18
LBB6_17: ; in Loop: Header=BB6_13 Depth=1
ldur x9, [x29, #-48]
ldr w8, [x9, #24]
lsl w8, w8, #1
str w8, [x9, #24]
b LBB6_18
LBB6_18: ; in Loop: Header=BB6_13 Depth=1
ldur x8, [x29, #-48]
ldr x0, [x8, #8]
ldur x8, [x29, #-48]
ldr w8, [x8, #24]
add w9, w8, #2
; implicit-def: $x8
mov x8, x9
sxtw x1, w8
bl _yyrealloc
ldur x8, [x29, #-48]
str x0, [x8, #8]
b LBB6_20
LBB6_19: ; in Loop: Header=BB6_13 Depth=1
ldur x8, [x29, #-48]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
b LBB6_20
LBB6_20: ; in Loop: Header=BB6_13 Depth=1
ldur x8, [x29, #-48]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB6_22
b LBB6_21
LBB6_21:
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _yy_fatal_error
LBB6_22: ; in Loop: Header=BB6_13 Depth=1
ldur x8, [x29, #-48]
ldr x8, [x8, #8]
ldursw x9, [x29, #-52]
add x8, x8, x9
adrp x9, _yy_c_buf_p@PAGE
str x8, [x9, _yy_c_buf_p@PAGEOFF]
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr w8, [x8, #24]
ldur w9, [x29, #-28]
subs w8, w8, w9
subs w8, w8, #1
stur w8, [x29, #-40]
b LBB6_13
LBB6_23:
ldur w8, [x29, #-40]
subs w8, w8, #2, lsl #12 ; =8192
cset w8, le
tbnz w8, #0, LBB6_25
b LBB6_24
LBB6_24:
mov w8, #8192
stur w8, [x29, #-40]
b LBB6_25
LBB6_25:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr w8, [x8, #36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_39
b LBB6_26
LBB6_26:
mov w8, #42
str w8, [sp, #52]
str wzr, [sp, #48]
b LBB6_27
LBB6_27: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #48]
ldur w9, [x29, #-40]
subs w8, w8, w9
cset w8, ge
mov w9, #0
str w9, [sp, #28] ; 4-byte Folded Spill
tbnz w8, #0, LBB6_30
b LBB6_28
LBB6_28: ; in Loop: Header=BB6_27 Depth=1
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
bl _getc
str w0, [sp, #52]
adds w8, w0, #1
cset w8, eq
mov w9, #0
str w9, [sp, #28] ; 4-byte Folded Spill
tbnz w8, #0, LBB6_30
b LBB6_29
LBB6_29: ; in Loop: Header=BB6_27 Depth=1
ldr w8, [sp, #52]
subs w8, w8, #10
cset w8, ne
str w8, [sp, #28] ; 4-byte Folded Spill
b LBB6_30
LBB6_30: ; in Loop: Header=BB6_27 Depth=1
ldr w8, [sp, #28] ; 4-byte Folded Reload
tbz w8, #0, LBB6_33
b LBB6_31
LBB6_31: ; in Loop: Header=BB6_27 Depth=1
ldr w8, [sp, #52]
adrp x9, _yy_buffer_stack@PAGE
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
ldr x9, [x9, #8]
ldursw x10, [x29, #-28]
add x9, x9, x10
ldrsw x10, [sp, #48]
strb w8, [x9, x10]
b LBB6_32
LBB6_32: ; in Loop: Header=BB6_27 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB6_27
LBB6_33:
ldr w8, [sp, #52]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB6_35
b LBB6_34
LBB6_34:
ldr w8, [sp, #52]
adrp x9, _yy_buffer_stack@PAGE
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
ldr x9, [x9, #8]
ldursw x10, [x29, #-28]
add x9, x9, x10
ldrsw x10, [sp, #48]
mov x11, x10
add w11, w11, #1
str w11, [sp, #48]
strb w8, [x9, x10]
b LBB6_35
LBB6_35:
ldr w8, [sp, #52]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB6_38
b LBB6_36
LBB6_36:
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
bl _ferror
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB6_38
b LBB6_37
LBB6_37:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _yy_fatal_error
LBB6_38:
ldr w8, [sp, #48]
adrp x9, _yy_n_chars@PAGE
str w8, [x9, _yy_n_chars@PAGEOFF]
b LBB6_47
LBB6_39:
bl ___error
str wzr, [x0]
b LBB6_40
LBB6_40: ; =>This Inner Loop Header: Depth=1
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr x8, [x8, #8]
ldursw x9, [x29, #-28]
add x0, x8, x9
ldursw x2, [x29, #-40]
adrp x8, _yyin@PAGE
ldr x3, [x8, _yyin@PAGEOFF]
mov x1, #1
bl _fread
mov x8, x0
adrp x10, _yy_n_chars@PAGE
mov x9, x0
str w9, [x10, _yy_n_chars@PAGEOFF]
subs w8, w8, #0
cset w8, ne
mov w9, #0
str w9, [sp, #24] ; 4-byte Folded Spill
tbnz w8, #0, LBB6_42
b LBB6_41
LBB6_41: ; in Loop: Header=BB6_40 Depth=1
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
bl _ferror
subs w8, w0, #0
cset w8, ne
str w8, [sp, #24] ; 4-byte Folded Spill
b LBB6_42
LBB6_42: ; in Loop: Header=BB6_40 Depth=1
ldr w8, [sp, #24] ; 4-byte Folded Reload
tbz w8, #0, LBB6_46
b LBB6_43
LBB6_43: ; in Loop: Header=BB6_40 Depth=1
bl ___error
ldr w8, [x0]
subs w8, w8, #4
cset w8, eq
tbnz w8, #0, LBB6_45
b LBB6_44
LBB6_44:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _yy_fatal_error
LBB6_45: ; in Loop: Header=BB6_40 Depth=1
bl ___error
str wzr, [x0]
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
bl _clearerr
b LBB6_40
LBB6_46:
b LBB6_47
LBB6_47:
adrp x8, _yy_n_chars@PAGE
ldr w8, [x8, _yy_n_chars@PAGEOFF]
adrp x9, _yy_buffer_stack@PAGE
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
str w8, [x9, #28]
b LBB6_48
LBB6_48:
adrp x8, _yy_n_chars@PAGE
ldr w8, [x8, _yy_n_chars@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_53
b LBB6_49
LBB6_49:
ldur w8, [x29, #-28]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_51
b LBB6_50
LBB6_50:
mov w8, #1
stur w8, [x29, #-36]
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
bl _yyrestart
b LBB6_52
LBB6_51:
mov w8, #2
stur w8, [x29, #-36]
adrp x9, _yy_buffer_stack@PAGE
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
str w8, [x9, #56]
b LBB6_52
LBB6_52:
b LBB6_54
LBB6_53:
stur wzr, [x29, #-36]
b LBB6_54
LBB6_54:
adrp x8, _yy_n_chars@PAGE
ldr w8, [x8, _yy_n_chars@PAGEOFF]
ldur w9, [x29, #-28]
add w8, w8, w9
adrp x9, _yy_buffer_stack@PAGE
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB6_58
b LBB6_55
LBB6_55:
adrp x9, _yy_n_chars@PAGE
ldr w8, [x9, _yy_n_chars@PAGEOFF]
ldur w10, [x29, #-28]
add w8, w8, w10
ldr w9, [x9, _yy_n_chars@PAGEOFF]
add w8, w8, w9, asr #1
str w8, [sp, #44]
adrp x8, _yy_buffer_stack@PAGE
str x8, [sp, #8] ; 8-byte Folded Spill
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
str x9, [sp, #16] ; 8-byte Folded Spill
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr x0, [x8, #8]
ldrsw x1, [sp, #44]
bl _yyrealloc
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x10, [x8, _yy_buffer_stack@PAGEOFF]
ldr x11, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x10, [x10, x11, lsl #3]
str x0, [x10, #8]
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB6_57
b LBB6_56
LBB6_56:
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _yy_fatal_error
LBB6_57:
ldr w8, [sp, #44]
subs w8, w8, #2
adrp x9, _yy_buffer_stack@PAGE
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
str w8, [x9, #24]
b LBB6_58
LBB6_58:
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldur w10, [x29, #-28]
adrp x12, _yy_n_chars@PAGE
ldr w8, [x12, _yy_n_chars@PAGEOFF]
add w8, w8, w10
str w8, [x12, _yy_n_chars@PAGEOFF]
adrp x8, _yy_buffer_stack@PAGE
ldr x11, [x8, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x13, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x11, [x11, x13, lsl #3]
ldr x11, [x11, #8]
ldrsw x13, [x12, _yy_n_chars@PAGEOFF]
add x11, x11, x13
strb wzr, [x11]
ldr x11, [x8, _yy_buffer_stack@PAGEOFF]
ldr x13, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x11, [x11, x13, lsl #3]
ldr x11, [x11, #8]
ldr w12, [x12, _yy_n_chars@PAGEOFF]
add w12, w12, #1
add x11, x11, w12, sxtw
strb wzr, [x11]
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x10, lsl #3]
ldr x8, [x8, #8]
str x8, [x9]
ldur w8, [x29, #-36]
stur w8, [x29, #-4]
b LBB6_59
LBB6_59:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function yy_fatal_error
_yy_fatal_error: ; @yy_fatal_error
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldr x8, [sp, #8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.12@PAGE
add x1, x1, l_.str.12@PAGEOFF
bl _fprintf
mov w0, #2
bl _exit
.cfi_endproc
; -- End function
.globl _yyrestart ; -- Begin function yyrestart
.p2align 2
_yyrestart: ; @yyrestart
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB8_2
b LBB8_1
LBB8_1:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB8_4
b LBB8_3
LBB8_2:
mov w8, #0
tbnz w8, #0, LBB8_4
b LBB8_3
LBB8_3:
bl _yyensure_buffer_stack
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
mov w1, #16384
bl _yy_create_buffer
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
str x0, [x8, x9, lsl #3]
b LBB8_4
LBB8_4:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB8_6
b LBB8_5
LBB8_5:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
str x8, [sp] ; 8-byte Folded Spill
b LBB8_7
LBB8_6:
mov x8, #0
str x8, [sp] ; 8-byte Folded Spill
b LBB8_7
LBB8_7:
ldr x0, [sp] ; 8-byte Folded Reload
ldr x1, [sp, #8]
bl _yy_init_buffer
bl _yy_load_buffer_state
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function yy_init_buffer
_yy_init_buffer: ; @yy_init_buffer
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
bl ___error
ldr w8, [x0]
stur w8, [x29, #-20]
ldur x0, [x29, #-8]
bl _yy_flush_buffer
ldur x8, [x29, #-16]
ldur x9, [x29, #-8]
str x8, [x9]
ldur x9, [x29, #-8]
mov w8, #1
str w8, [x9, #52]
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB9_2
b LBB9_1
LBB9_1:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB9_3
LBB9_2:
mov x8, #0
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB9_3
LBB9_3:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x9, [sp, #8] ; 8-byte Folded Reload
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB9_5
b LBB9_4
LBB9_4:
ldur x9, [x29, #-8]
mov w8, #1
str w8, [x9, #44]
ldur x8, [x29, #-8]
str wzr, [x8, #48]
b LBB9_5
LBB9_5:
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB9_7
b LBB9_6
LBB9_6:
ldur x0, [x29, #-16]
bl _fileno
bl _isatty
subs w8, w0, #0
cset w8, gt
and w8, w8, #0x1
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB9_8
LBB9_7:
mov w8, #0
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB9_8
LBB9_8:
ldr w8, [sp, #4] ; 4-byte Folded Reload
ldur x9, [x29, #-8]
str w8, [x9, #36]
ldur w8, [x29, #-20]
str w8, [sp] ; 4-byte Folded Spill
bl ___error
ldr w8, [sp] ; 4-byte Folded Reload
str w8, [x0]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _yy_switch_to_buffer ; -- Begin function yy_switch_to_buffer
.p2align 2
_yy_switch_to_buffer: ; @yy_switch_to_buffer
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
bl _yyensure_buffer_stack
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB10_2
b LBB10_1
LBB10_1:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
str x8, [sp] ; 8-byte Folded Spill
b LBB10_3
LBB10_2:
mov x8, #0
str x8, [sp] ; 8-byte Folded Spill
b LBB10_3
LBB10_3:
ldr x8, [sp] ; 8-byte Folded Reload
ldr x9, [sp, #8]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB10_5
b LBB10_4
LBB10_4:
b LBB10_10
LBB10_5:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB10_7
b LBB10_6
LBB10_6:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB10_8
b LBB10_9
LBB10_7:
mov w8, #0
tbz w8, #0, LBB10_9
b LBB10_8
LBB10_8:
adrp x8, _yy_hold_char@PAGE
ldrb w9, [x8, _yy_hold_char@PAGEOFF]
adrp x8, _yy_c_buf_p@PAGE
ldr x10, [x8, _yy_c_buf_p@PAGEOFF]
strb w9, [x10]
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
adrp x9, _yy_buffer_stack@PAGE
ldr x11, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x12, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x11, [x11, x12, lsl #3]
str x8, [x11, #16]
adrp x8, _yy_n_chars@PAGE
ldr w8, [x8, _yy_n_chars@PAGEOFF]
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
str w8, [x9, #28]
b LBB10_9
LBB10_9:
ldr x8, [sp, #8]
adrp x9, _yy_buffer_stack@PAGE
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
str x8, [x9, x10, lsl #3]
bl _yy_load_buffer_state
adrp x9, _yy_did_buffer_switch_on_eof@PAGE
mov w8, #1
str w8, [x9, _yy_did_buffer_switch_on_eof@PAGEOFF]
b LBB10_10
LBB10_10:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _yyalloc ; -- Begin function yyalloc
.p2align 2
_yyalloc: ; @yyalloc
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
bl _malloc
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _yy_delete_buffer ; -- Begin function yy_delete_buffer
.p2align 2
_yy_delete_buffer: ; @yy_delete_buffer
.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
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB12_2
b LBB12_1
LBB12_1:
b LBB12_10
LBB12_2:
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB12_4
b LBB12_3
LBB12_3:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB12_5
LBB12_4:
mov x8, #0
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB12_5
LBB12_5:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x9, [sp, #8] ; 8-byte Folded Reload
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB12_7
b LBB12_6
LBB12_6:
adrp x8, _yy_buffer_stack@PAGE
ldr x9, [x8, _yy_buffer_stack@PAGEOFF]
adrp x8, _yy_buffer_stack_top@PAGE
ldr x10, [x8, _yy_buffer_stack_top@PAGEOFF]
mov x8, #0
str x8, [x9, x10, lsl #3]
b LBB12_7
LBB12_7:
ldur x8, [x29, #-8]
ldr w8, [x8, #32]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB12_9
b LBB12_8
LBB12_8:
ldur x8, [x29, #-8]
ldr x0, [x8, #8]
bl _yyfree
b LBB12_9
LBB12_9:
ldur x0, [x29, #-8]
bl _yyfree
b LBB12_10
LBB12_10:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _yyfree ; -- Begin function yyfree
.p2align 2
_yyfree: ; @yyfree
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
bl _free
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _yy_flush_buffer ; -- Begin function yy_flush_buffer
.p2align 2
_yy_flush_buffer: ; @yy_flush_buffer
.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
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB14_2
b LBB14_1
LBB14_1:
b LBB14_7
LBB14_2:
ldur x8, [x29, #-8]
str wzr, [x8, #28]
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
strb wzr, [x8]
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
strb wzr, [x8, #1]
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldur x9, [x29, #-8]
str x8, [x9, #16]
ldur x9, [x29, #-8]
mov w8, #1
str w8, [x9, #40]
ldur x8, [x29, #-8]
str wzr, [x8, #56]
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB14_4
b LBB14_3
LBB14_3:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB14_5
LBB14_4:
mov x8, #0
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB14_5
LBB14_5:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x9, [sp, #8] ; 8-byte Folded Reload
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB14_7
b LBB14_6
LBB14_6:
bl _yy_load_buffer_state
b LBB14_7
LBB14_7:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _yypush_buffer_state ; -- Begin function yypush_buffer_state
.p2align 2
_yypush_buffer_state: ; @yypush_buffer_state
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB15_2
b LBB15_1
LBB15_1:
b LBB15_11
LBB15_2:
bl _yyensure_buffer_stack
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB15_4
b LBB15_3
LBB15_3:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB15_5
b LBB15_6
LBB15_4:
mov w8, #0
tbz w8, #0, LBB15_6
b LBB15_5
LBB15_5:
adrp x8, _yy_hold_char@PAGE
ldrb w9, [x8, _yy_hold_char@PAGEOFF]
adrp x8, _yy_c_buf_p@PAGE
ldr x10, [x8, _yy_c_buf_p@PAGEOFF]
strb w9, [x10]
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
adrp x9, _yy_buffer_stack@PAGE
ldr x11, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x12, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x11, [x11, x12, lsl #3]
str x8, [x11, #16]
adrp x8, _yy_n_chars@PAGE
ldr w8, [x8, _yy_n_chars@PAGEOFF]
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
str w8, [x9, #28]
b LBB15_6
LBB15_6:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB15_8
b LBB15_7
LBB15_7:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB15_9
b LBB15_10
LBB15_8:
mov w8, #0
tbz w8, #0, LBB15_10
b LBB15_9
LBB15_9:
adrp x9, _yy_buffer_stack_top@PAGE
ldr x8, [x9, _yy_buffer_stack_top@PAGEOFF]
add x8, x8, #1
str x8, [x9, _yy_buffer_stack_top@PAGEOFF]
b LBB15_10
LBB15_10:
ldr x8, [sp, #8]
adrp x9, _yy_buffer_stack@PAGE
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
str x8, [x9, x10, lsl #3]
bl _yy_load_buffer_state
adrp x9, _yy_did_buffer_switch_on_eof@PAGE
mov w8, #1
str w8, [x9, _yy_did_buffer_switch_on_eof@PAGEOFF]
b LBB15_11
LBB15_11:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _yypop_buffer_state ; -- Begin function yypop_buffer_state
.p2align 2
_yypop_buffer_state: ; @yypop_buffer_state
.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
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB16_2
b LBB16_1
LBB16_1:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB16_4
b LBB16_3
LBB16_2:
mov w8, #0
tbnz w8, #0, LBB16_4
b LBB16_3
LBB16_3:
b LBB16_13
LBB16_4:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB16_6
b LBB16_5
LBB16_5:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB16_7
LBB16_6:
mov x8, #0
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB16_7
LBB16_7:
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _yy_delete_buffer
adrp x8, _yy_buffer_stack@PAGE
ldr x10, [x8, _yy_buffer_stack@PAGEOFF]
adrp x8, _yy_buffer_stack_top@PAGE
ldr x11, [x8, _yy_buffer_stack_top@PAGEOFF]
mov x9, #0
str x9, [x10, x11, lsl #3]
ldr x8, [x8, _yy_buffer_stack_top@PAGEOFF]
subs x8, x8, #0
cset w8, ls
tbnz w8, #0, LBB16_9
b LBB16_8
LBB16_8:
adrp x9, _yy_buffer_stack_top@PAGE
ldr x8, [x9, _yy_buffer_stack_top@PAGEOFF]
subs x8, x8, #1
str x8, [x9, _yy_buffer_stack_top@PAGEOFF]
b LBB16_9
LBB16_9:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB16_11
b LBB16_10
LBB16_10:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB16_12
b LBB16_13
LBB16_11:
mov w8, #0
tbz w8, #0, LBB16_13
b LBB16_12
LBB16_12:
bl _yy_load_buffer_state
adrp x9, _yy_did_buffer_switch_on_eof@PAGE
mov w8, #1
str w8, [x9, _yy_did_buffer_switch_on_eof@PAGEOFF]
b LBB16_13
LBB16_13:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _yy_scan_buffer ; -- Begin function yy_scan_buffer
.p2align 2
_yy_scan_buffer: ; @yy_scan_buffer
.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
str x0, [sp, #16]
str x1, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #2
cset w8, lo
tbnz w8, #0, LBB17_3
b LBB17_1
LBB17_1:
ldr x8, [sp, #16]
ldr x9, [sp, #8]
subs x9, x9, #2
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB17_3
b LBB17_2
LBB17_2:
ldr x8, [sp, #16]
ldr x9, [sp, #8]
subs x9, x9, #1
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB17_4
b LBB17_3
LBB17_3:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB17_7
LBB17_4:
mov x0, #64
bl _yyalloc
str x0, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB17_6
b LBB17_5
LBB17_5:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _yy_fatal_error
LBB17_6:
ldr x8, [sp, #8]
subs x8, x8, #2
ldr x9, [sp]
; kill: def $w8 killed $w8 killed $x8
str w8, [x9, #24]
ldr x8, [sp, #16]
ldr x9, [sp]
str x8, [x9, #8]
ldr x9, [sp]
str x8, [x9, #16]
ldr x8, [sp]
str wzr, [x8, #32]
ldr x8, [sp]
; kill: def $x9 killed $xzr
str xzr, [x8]
ldr x8, [sp]
ldr w8, [x8, #24]
ldr x9, [sp]
str w8, [x9, #28]
ldr x8, [sp]
str wzr, [x8, #36]
ldr x9, [sp]
mov w8, #1
str w8, [x9, #40]
ldr x8, [sp]
str wzr, [x8, #52]
ldr x8, [sp]
str wzr, [x8, #56]
ldr x0, [sp]
bl _yy_switch_to_buffer
ldr x8, [sp]
stur x8, [x29, #-8]
b LBB17_7
LBB17_7:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _yy_scan_string ; -- Begin function yy_scan_string
.p2align 2
_yy_scan_string: ; @yy_scan_string
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
str x8, [sp] ; 8-byte Folded Spill
ldr x0, [sp, #8]
bl _strlen
mov x8, x0
ldr x0, [sp] ; 8-byte Folded Reload
mov x1, x8
bl _yy_scan_bytes
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _yy_scan_bytes ; -- Begin function yy_scan_bytes
.p2align 2
_yy_scan_bytes: ; @yy_scan_bytes
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
ldur w8, [x29, #-12]
add w9, w8, #2
; implicit-def: $x8
mov x8, x9
sxtw x8, w8
str x8, [sp, #8]
ldr x0, [sp, #8]
bl _yyalloc
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB19_2
b LBB19_1
LBB19_1:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _yy_fatal_error
LBB19_2:
str wzr, [sp, #4]
b LBB19_3
LBB19_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB19_6
b LBB19_4
LBB19_4: ; in Loop: Header=BB19_3 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #4]
add x8, x8, x9
ldrb w8, [x8]
ldr x9, [sp, #16]
ldrsw x10, [sp, #4]
add x9, x9, x10
strb w8, [x9]
b LBB19_5
LBB19_5: ; in Loop: Header=BB19_3 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB19_3
LBB19_6:
ldr x8, [sp, #16]
ldur w9, [x29, #-12]
add w9, w9, #1
add x8, x8, w9, sxtw
strb wzr, [x8]
ldr x8, [sp, #16]
ldursw x9, [x29, #-12]
add x8, x8, x9
strb wzr, [x8]
ldr x0, [sp, #16]
ldr x1, [sp, #8]
bl _yy_scan_buffer
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB19_8
b LBB19_7
LBB19_7:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _yy_fatal_error
LBB19_8:
ldr x9, [sp, #24]
mov w8, #1
str w8, [x9, #32]
ldr x0, [sp, #24]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _yyget_lineno ; -- Begin function yyget_lineno
.p2align 2
_yyget_lineno: ; @yyget_lineno
.cfi_startproc
; %bb.0:
adrp x8, _yylineno@PAGE
ldr w0, [x8, _yylineno@PAGEOFF]
ret
.cfi_endproc
; -- End function
.globl _yyget_in ; -- Begin function yyget_in
.p2align 2
_yyget_in: ; @yyget_in
.cfi_startproc
; %bb.0:
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
ret
.cfi_endproc
; -- End function
.globl _yyget_out ; -- Begin function yyget_out
.p2align 2
_yyget_out: ; @yyget_out
.cfi_startproc
; %bb.0:
adrp x8, _yyout@PAGE
ldr x0, [x8, _yyout@PAGEOFF]
ret
.cfi_endproc
; -- End function
.globl _yyget_leng ; -- Begin function yyget_leng
.p2align 2
_yyget_leng: ; @yyget_leng
.cfi_startproc
; %bb.0:
adrp x8, _yyleng@GOTPAGE
ldr x8, [x8, _yyleng@GOTPAGEOFF]
ldr w0, [x8]
ret
.cfi_endproc
; -- End function
.globl _yyget_text ; -- Begin function yyget_text
.p2align 2
_yyget_text: ; @yyget_text
.cfi_startproc
; %bb.0:
adrp x8, _yytext@GOTPAGE
ldr x8, [x8, _yytext@GOTPAGEOFF]
ldr x0, [x8]
ret
.cfi_endproc
; -- End function
.globl _yyset_lineno ; -- Begin function yyset_lineno
.p2align 2
_yyset_lineno: ; @yyset_lineno
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w8, [sp, #12]
adrp x9, _yylineno@PAGE
str w8, [x9, _yylineno@PAGEOFF]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _yyset_in ; -- Begin function yyset_in
.p2align 2
_yyset_in: ; @yyset_in
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
adrp x9, _yyin@PAGE
str x8, [x9, _yyin@PAGEOFF]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _yyset_out ; -- Begin function yyset_out
.p2align 2
_yyset_out: ; @yyset_out
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
adrp x9, _yyout@PAGE
str x8, [x9, _yyout@PAGEOFF]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _yyget_debug ; -- Begin function yyget_debug
.p2align 2
_yyget_debug: ; @yyget_debug
.cfi_startproc
; %bb.0:
adrp x8, _yy_flex_debug@PAGE
ldr w0, [x8, _yy_flex_debug@PAGEOFF]
ret
.cfi_endproc
; -- End function
.globl _yyset_debug ; -- Begin function yyset_debug
.p2align 2
_yyset_debug: ; @yyset_debug
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w8, [sp, #12]
adrp x9, _yy_flex_debug@PAGE
str w8, [x9, _yy_flex_debug@PAGEOFF]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _yylex_destroy ; -- Begin function yylex_destroy
.p2align 2
_yylex_destroy: ; @yylex_destroy
.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
b LBB30_1
LBB30_1: ; =>This Inner Loop Header: Depth=1
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB30_3
b LBB30_2
LBB30_2: ; in Loop: Header=BB30_1 Depth=1
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
stur x8, [x29, #-8] ; 8-byte Folded Spill
b LBB30_4
LBB30_3: ; in Loop: Header=BB30_1 Depth=1
mov x8, #0
stur x8, [x29, #-8] ; 8-byte Folded Spill
b LBB30_4
LBB30_4: ; in Loop: Header=BB30_1 Depth=1
ldur x8, [x29, #-8] ; 8-byte Folded Reload
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB30_9
b LBB30_5
LBB30_5: ; in Loop: Header=BB30_1 Depth=1
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB30_7
b LBB30_6
LBB30_6: ; in Loop: Header=BB30_1 Depth=1
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB30_8
LBB30_7: ; in Loop: Header=BB30_1 Depth=1
mov x8, #0
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB30_8
LBB30_8: ; in Loop: Header=BB30_1 Depth=1
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _yy_delete_buffer
adrp x8, _yy_buffer_stack@PAGE
ldr x9, [x8, _yy_buffer_stack@PAGEOFF]
adrp x8, _yy_buffer_stack_top@PAGE
ldr x10, [x8, _yy_buffer_stack_top@PAGEOFF]
mov x8, #0
str x8, [x9, x10, lsl #3]
bl _yypop_buffer_state
b LBB30_1
LBB30_9:
adrp x8, _yy_buffer_stack@PAGE
str x8, [sp, #8] ; 8-byte Folded Spill
ldr x0, [x8, _yy_buffer_stack@PAGEOFF]
bl _yyfree
ldr x8, [sp, #8] ; 8-byte Folded Reload
; kill: def $x9 killed $xzr
str xzr, [x8, _yy_buffer_stack@PAGEOFF]
bl _yy_init_globals
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function yy_init_globals
_yy_init_globals: ; @yy_init_globals
.cfi_startproc
; %bb.0:
adrp x8, _yy_buffer_stack@PAGE
; kill: def $x9 killed $xzr
str xzr, [x8, _yy_buffer_stack@PAGEOFF]
adrp x8, _yy_buffer_stack_top@PAGE
str xzr, [x8, _yy_buffer_stack_top@PAGEOFF]
adrp x8, _yy_buffer_stack_max@PAGE
str xzr, [x8, _yy_buffer_stack_max@PAGEOFF]
adrp x8, _yy_c_buf_p@PAGE
str xzr, [x8, _yy_c_buf_p@PAGEOFF]
adrp x8, _yy_init@PAGE
mov w0, #0
str wzr, [x8, _yy_init@PAGEOFF]
adrp x8, _yy_start@PAGE
str wzr, [x8, _yy_start@PAGEOFF]
adrp x8, _yyin@PAGE
str xzr, [x8, _yyin@PAGEOFF]
adrp x8, _yyout@PAGE
str xzr, [x8, _yyout@PAGEOFF]
ret
.cfi_endproc
; -- End function
.globl _yyrealloc ; -- Begin function yyrealloc
.p2align 2
_yyrealloc: ; @yyrealloc
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str x1, [sp]
ldr x0, [sp, #8]
ldr x1, [sp]
bl _realloc
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
bl _yylex
str w0, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB33_2
b LBB33_1
LBB33_1:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB33_5
LBB33_2:
ldr w8, [sp, #8]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB33_4
b LBB33_3
LBB33_3:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB33_4
LBB33_4:
b LBB33_5
LBB33_5:
mov w0, #1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _yyin ; @yyin
.zerofill __DATA,__common,_yyin,8,3
.globl _yyout ; @yyout
.zerofill __DATA,__common,_yyout,8,3
.section __DATA,__data
.globl _yylineno ; @yylineno
.p2align 2
_yylineno:
.long 1 ; 0x1
.globl _yy_flex_debug ; @yy_flex_debug
.zerofill __DATA,__common,_yy_flex_debug,4,2
.zerofill __DATA,__bss,_yy_init,4,2 ; @yy_init
.zerofill __DATA,__bss,_yy_start,4,2 ; @yy_start
.zerofill __DATA,__bss,_yy_buffer_stack,8,3 ; @yy_buffer_stack
.zerofill __DATA,__bss,_yy_buffer_stack_top,8,3 ; @yy_buffer_stack_top
.zerofill __DATA,__bss,_yy_c_buf_p,8,3 ; @yy_c_buf_p
.zerofill __DATA,__bss,_yy_hold_char,1,0 ; @yy_hold_char
.section __TEXT,__const
_yy_ec: ; @yy_ec
.ascii "\000\001\001\001\001\001\001\001\001\001\002\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\003\003\003\003\003\003\003\003\003\003\001\001\001\001\001\001\001\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\001\001\001\001\001\001\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001"
.p2align 1 ; @yy_accept
_yy_accept:
.short 0 ; 0x0
.short 2 ; 0x2
.short 2 ; 0x2
.short 4 ; 0x4
.short 2 ; 0x2
.short 3 ; 0x3
.short 2 ; 0x2
.short 2 ; 0x2
.short 1 ; 0x1
.short 2 ; 0x2
.short 0 ; 0x0
.zerofill __DATA,__bss,_yy_last_accepting_state,4,2 ; @yy_last_accepting_state
.zerofill __DATA,__bss,_yy_last_accepting_cpos,8,3 ; @yy_last_accepting_cpos
.p2align 1 ; @yy_chk
_yy_chk:
.short 0 ; 0x0
.short 1 ; 0x1
.short 1 ; 0x1
.short 1 ; 0x1
.short 1 ; 0x1
.short 1 ; 0x1
.short 6 ; 0x6
.short 11 ; 0xb
.short 6 ; 0x6
.short 6 ; 0x6
.short 6 ; 0x6
.short 3 ; 0x3
.short 10 ; 0xa
.short 10 ; 0xa
.short 10 ; 0xa
.short 10 ; 0xa
.short 10 ; 0xa
.short 10 ; 0xa
.p2align 1 ; @yy_base
_yy_base:
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 11 ; 0xb
.short 0 ; 0x0
.short 12 ; 0xc
.short 5 ; 0x5
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 12 ; 0xc
.short 6 ; 0x6
.p2align 1 ; @yy_def
_yy_def:
.short 0 ; 0x0
.short 10 ; 0xa
.short 1 ; 0x1
.short 10 ; 0xa
.short 11 ; 0xb
.short 10 ; 0xa
.short 10 ; 0xa
.short 11 ; 0xb
.short 11 ; 0xb
.short 6 ; 0x6
.short 0 ; 0x0
.short 10 ; 0xa
_yy_meta: ; @yy_meta
.ascii "\000\001\002\001\001\001"
.p2align 1 ; @yy_nxt
_yy_nxt:
.short 0 ; 0x0
.short 4 ; 0x4
.short 5 ; 0x5
.short 4 ; 0x4
.short 6 ; 0x6
.short 6 ; 0x6
.short 7 ; 0x7
.short 7 ; 0x7
.short 8 ; 0x8
.short 9 ; 0x9
.short 9 ; 0x9
.short 10 ; 0xa
.short 3 ; 0x3
.short 10 ; 0xa
.short 10 ; 0xa
.short 10 ; 0xa
.short 10 ; 0xa
.short 10 ; 0xa
.comm _yytext,8,3 ; @yytext
.comm _yyleng,4,2 ; @yyleng
.zerofill __DATA,__bss,_yy_n_chars,4,2 ; @yy_n_chars
.zerofill __DATA,__bss,_yy_did_buffer_switch_on_eof,4,2 ; @yy_did_buffer_switch_on_eof
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "fatal flex scanner internal error--no action found"
l_.str.1: ; @.str.1
.asciz "out of dynamic memory in yy_create_buffer()"
l_.str.2: ; @.str.2
.asciz "out of dynamic memory in yy_scan_buffer()"
l_.str.3: ; @.str.3
.asciz "out of dynamic memory in yy_scan_bytes()"
l_.str.4: ; @.str.4
.asciz "bad buffer in yy_scan_bytes()"
l_.str.5: ; @.str.5
.asciz "Acceptable\n"
l_.str.6: ; @.str.6
.asciz "Unacceptable\n"
l_.str.7: ; @.str.7
.asciz "fatal flex scanner internal error--end of buffer missed"
l_.str.8: ; @.str.8
.asciz "fatal error - scanner input buffer overflow"
l_.str.9: ; @.str.9
.asciz "input in flex scanner failed"
l_.str.10: ; @.str.10
.asciz "out of dynamic memory in yy_get_next_buffer()"
l_.str.11: ; @.str.11
.asciz "out of dynamic memory in yyensure_buffer_stack()"
.zerofill __DATA,__bss,_yy_buffer_stack_max,8,3 ; @yy_buffer_stack_max
l_.str.12: ; @.str.12
.asciz "%s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _yylex ## -- Begin function yylex
.p2align 4, 0x90
_yylex: ## @yylex
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
cmpl $0, _yy_init(%rip)
jne LBB0_12
## %bb.1:
movl $1, _yy_init(%rip)
cmpl $0, _yy_start(%rip)
jne LBB0_3
## %bb.2:
movl $1, _yy_start(%rip)
LBB0_3:
cmpq $0, _yyin(%rip)
jne LBB0_5
## %bb.4:
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, _yyin(%rip)
LBB0_5:
cmpq $0, _yyout(%rip)
jne LBB0_7
## %bb.6:
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, _yyout(%rip)
LBB0_7:
cmpq $0, _yy_buffer_stack(%rip)
je LBB0_9
## %bb.8:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
cmpq $0, (%rax,%rcx,8)
jne LBB0_11
jmp LBB0_10
LBB0_9:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB0_11
jmp LBB0_10
LBB0_10:
callq _yyensure_buffer_stack
movq _yyin(%rip), %rdi
movl $16384, %esi ## imm = 0x4000
callq _yy_create_buffer
movq %rax, %rdx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq %rdx, (%rax,%rcx,8)
LBB0_11:
callq _yy_load_buffer_state
LBB0_12:
jmp LBB0_13
LBB0_13: ## =>This Loop Header: Depth=1
## Child Loop BB0_14 Depth 2
## Child Loop BB0_15 Depth 3
## Child Loop BB0_18 Depth 4
## Child Loop BB0_25 Depth 3
## Child Loop BB0_28 Depth 4
movq _yy_c_buf_p(%rip), %rax
movq %rax, -16(%rbp)
movb _yy_hold_char(%rip), %cl
movq -16(%rbp), %rax
movb %cl, (%rax)
movq -16(%rbp), %rax
movq %rax, -24(%rbp)
movl _yy_start(%rip), %eax
movl %eax, -8(%rbp)
LBB0_14: ## Parent Loop BB0_13 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_15 Depth 3
## Child Loop BB0_18 Depth 4
## Child Loop BB0_25 Depth 3
## Child Loop BB0_28 Depth 4
jmp LBB0_15
LBB0_15: ## Parent Loop BB0_13 Depth=1
## Parent Loop BB0_14 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_18 Depth 4
movq -16(%rbp), %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq _yy_ec(%rip), %rax
movb (%rax,%rcx), %al
movb %al, -29(%rbp)
movslq -8(%rbp), %rcx
leaq _yy_accept(%rip), %rax
cmpw $0, (%rax,%rcx,2)
je LBB0_17
## %bb.16: ## in Loop: Header=BB0_15 Depth=3
movl -8(%rbp), %eax
movl %eax, _yy_last_accepting_state(%rip)
movq -16(%rbp), %rax
movq %rax, _yy_last_accepting_cpos(%rip)
LBB0_17: ## in Loop: Header=BB0_15 Depth=3
jmp LBB0_18
LBB0_18: ## Parent Loop BB0_13 Depth=1
## Parent Loop BB0_14 Depth=2
## Parent Loop BB0_15 Depth=3
## => This Inner Loop Header: Depth=4
movslq -8(%rbp), %rcx
leaq _yy_base(%rip), %rax
movswl (%rax,%rcx,2), %eax
movzbl -29(%rbp), %ecx
addl %ecx, %eax
movslq %eax, %rcx
leaq _yy_chk(%rip), %rax
movswl (%rax,%rcx,2), %eax
cmpl -8(%rbp), %eax
je LBB0_22
## %bb.19: ## in Loop: Header=BB0_18 Depth=4
movslq -8(%rbp), %rcx
leaq _yy_def(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -8(%rbp)
cmpl $11, -8(%rbp)
jl LBB0_21
## %bb.20: ## in Loop: Header=BB0_18 Depth=4
movzbl -29(%rbp), %eax
movl %eax, %ecx
leaq _yy_meta(%rip), %rax
movb (%rax,%rcx), %al
movb %al, -29(%rbp)
LBB0_21: ## in Loop: Header=BB0_18 Depth=4
jmp LBB0_18
LBB0_22: ## in Loop: Header=BB0_15 Depth=3
movslq -8(%rbp), %rcx
leaq _yy_base(%rip), %rax
movswl (%rax,%rcx,2), %eax
movzbl -29(%rbp), %ecx
addl %ecx, %eax
movslq %eax, %rcx
leaq _yy_nxt(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -8(%rbp)
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
## %bb.23: ## in Loop: Header=BB0_15 Depth=3
movslq -8(%rbp), %rcx
leaq _yy_base(%rip), %rax
movswl (%rax,%rcx,2), %eax
cmpl $12, %eax
jne LBB0_15
## %bb.24: ## in Loop: Header=BB0_14 Depth=2
jmp LBB0_25
LBB0_25: ## Parent Loop BB0_13 Depth=1
## Parent Loop BB0_14 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_28 Depth 4
movslq -8(%rbp), %rcx
leaq _yy_accept(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -28(%rbp)
cmpl $0, -28(%rbp)
jne LBB0_27
## %bb.26: ## in Loop: Header=BB0_25 Depth=3
movq _yy_last_accepting_cpos(%rip), %rax
movq %rax, -16(%rbp)
movl _yy_last_accepting_state(%rip), %eax
movl %eax, -8(%rbp)
movslq -8(%rbp), %rcx
leaq _yy_accept(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -28(%rbp)
LBB0_27: ## in Loop: Header=BB0_25 Depth=3
movq -24(%rbp), %rcx
movq _yytext@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -16(%rbp), %rax
movq -24(%rbp), %rcx
subq %rcx, %rax
movl %eax, %ecx
movq _yyleng@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq -16(%rbp), %rax
movb (%rax), %al
movb %al, _yy_hold_char(%rip)
movq -16(%rbp), %rax
movb $0, (%rax)
movq -16(%rbp), %rax
movq %rax, _yy_c_buf_p(%rip)
LBB0_28: ## Parent Loop BB0_13 Depth=1
## Parent Loop BB0_14 Depth=2
## Parent Loop BB0_25 Depth=3
## => This Inner Loop Header: Depth=4
movl -28(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -48(%rbp) ## 8-byte Spill
subq $5, %rax
ja LBB0_50
## %bb.53: ## in Loop: Header=BB0_28 Depth=4
movq -48(%rbp), %rax ## 8-byte Reload
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_29: ## in Loop: Header=BB0_25 Depth=3
movb _yy_hold_char(%rip), %cl
movq -16(%rbp), %rax
movb %cl, (%rax)
movq _yy_last_accepting_cpos(%rip), %rax
movq %rax, -16(%rbp)
movl _yy_last_accepting_state(%rip), %eax
movl %eax, -8(%rbp)
jmp LBB0_25
LBB0_30:
movl $1, -4(%rbp)
jmp LBB0_52
LBB0_31:
movl $2, -4(%rbp)
jmp LBB0_52
LBB0_32: ## in Loop: Header=BB0_13 Depth=1
jmp LBB0_33
LBB0_33: ## in Loop: Header=BB0_13 Depth=1
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _yyleng@GOTPCREL(%rip), %rax
movslq (%rax), %rsi
movq _yyout(%rip), %rcx
movl $1, %edx
callq _fwrite
cmpq $0, %rax
je LBB0_35
## %bb.34: ## in Loop: Header=BB0_13 Depth=1
jmp LBB0_35
LBB0_35: ## in Loop: Header=BB0_13 Depth=1
jmp LBB0_36
LBB0_36: ## in Loop: Header=BB0_13 Depth=1
jmp LBB0_51
LBB0_37:
movl $0, -4(%rbp)
jmp LBB0_52
LBB0_38: ## in Loop: Header=BB0_28 Depth=4
movq -16(%rbp), %rax
movq _yytext@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
subq %rcx, %rax
## kill: def $eax killed $eax killed $rax
subl $1, %eax
movl %eax, -36(%rbp)
movb _yy_hold_char(%rip), %cl
movq -16(%rbp), %rax
movb %cl, (%rax)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
cmpl $0, 56(%rax)
jne LBB0_40
## %bb.39: ## in Loop: Header=BB0_28 Depth=4
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movl 28(%rax), %eax
movl %eax, _yy_n_chars(%rip)
movq _yyin(%rip), %rcx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, (%rax)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movl $1, 56(%rax)
LBB0_40: ## in Loop: Header=BB0_28 Depth=4
movq _yy_c_buf_p(%rip), %rax
movq _yy_buffer_stack(%rip), %rcx
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rcx,%rdx,8), %rcx
movq 8(%rcx), %rcx
movslq _yy_n_chars(%rip), %rdx
addq %rdx, %rcx
cmpq %rcx, %rax
ja LBB0_44
## %bb.41: ## in Loop: Header=BB0_25 Depth=3
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -36(%rbp), %rcx
addq %rcx, %rax
movq %rax, _yy_c_buf_p(%rip)
callq _yy_get_previous_state
movl %eax, -8(%rbp)
movl -8(%rbp), %edi
callq _yy_try_NUL_trans
movl %eax, -40(%rbp)
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
cmpl $0, -40(%rbp)
je LBB0_43
## %bb.42: ## in Loop: Header=BB0_14 Depth=2
movq _yy_c_buf_p(%rip), %rax
addq $1, %rax
movq %rax, _yy_c_buf_p(%rip)
movq %rax, -16(%rbp)
movl -40(%rbp), %eax
movl %eax, -8(%rbp)
jmp LBB0_14
LBB0_43: ## in Loop: Header=BB0_25 Depth=3
movq _yy_c_buf_p(%rip), %rax
movq %rax, -16(%rbp)
jmp LBB0_25
LBB0_44: ## in Loop: Header=BB0_28 Depth=4
callq _yy_get_next_buffer
movl %eax, %ecx
movl %ecx, -52(%rbp) ## 4-byte Spill
testl %eax, %eax
je LBB0_46
jmp LBB0_54
LBB0_54: ## in Loop: Header=BB0_28 Depth=4
movl -52(%rbp), %eax ## 4-byte Reload
subl $1, %eax
je LBB0_45
jmp LBB0_55
LBB0_55: ## in Loop: Header=BB0_25 Depth=3
movl -52(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB0_47
jmp LBB0_48
LBB0_45: ## in Loop: Header=BB0_28 Depth=4
movl $0, _yy_did_buffer_switch_on_eof(%rip)
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, _yy_c_buf_p(%rip)
movl _yy_start(%rip), %eax
subl $1, %eax
movl $2, %ecx
cltd
idivl %ecx
addl $4, %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_28
LBB0_46: ## in Loop: Header=BB0_14 Depth=2
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -36(%rbp), %rcx
addq %rcx, %rax
movq %rax, _yy_c_buf_p(%rip)
callq _yy_get_previous_state
movl %eax, -8(%rbp)
movq _yy_c_buf_p(%rip), %rax
movq %rax, -16(%rbp)
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
jmp LBB0_14
LBB0_47: ## in Loop: Header=BB0_25 Depth=3
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 8(%rax), %rax
movslq _yy_n_chars(%rip), %rcx
addq %rcx, %rax
movq %rax, _yy_c_buf_p(%rip)
callq _yy_get_previous_state
movl %eax, -8(%rbp)
movq _yy_c_buf_p(%rip), %rax
movq %rax, -16(%rbp)
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
jmp LBB0_25
LBB0_48: ## in Loop: Header=BB0_13 Depth=1
jmp LBB0_49
LBB0_49: ## in Loop: Header=BB0_13 Depth=1
jmp LBB0_51
LBB0_50:
leaq L_.str(%rip), %rdi
callq _yy_fatal_error
LBB0_51: ## in Loop: Header=BB0_13 Depth=1
jmp LBB0_13
LBB0_52:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
.set L0_0_set_38, LBB0_38-LJTI0_0
.set L0_0_set_37, LBB0_37-LJTI0_0
LJTI0_0:
.long L0_0_set_29
.long L0_0_set_30
.long L0_0_set_31
.long L0_0_set_32
.long L0_0_set_38
.long L0_0_set_37
.end_data_region
## -- End function
.p2align 4, 0x90 ## -- Begin function yyensure_buffer_stack
_yyensure_buffer_stack: ## @yyensure_buffer_stack
.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
cmpq $0, _yy_buffer_stack(%rip)
jne LBB1_4
## %bb.1:
movq $1, -8(%rbp)
movq -8(%rbp), %rdi
shlq $3, %rdi
callq _yyalloc
movq %rax, _yy_buffer_stack(%rip)
cmpq $0, _yy_buffer_stack(%rip)
jne LBB1_3
## %bb.2:
leaq L_.str.11(%rip), %rdi
callq _yy_fatal_error
LBB1_3:
movq _yy_buffer_stack(%rip), %rdi
movq -8(%rbp), %rdx
shlq $3, %rdx
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
movq -8(%rbp), %rax
movq %rax, _yy_buffer_stack_max(%rip)
movq $0, _yy_buffer_stack_top(%rip)
jmp LBB1_8
LBB1_4:
movq _yy_buffer_stack_top(%rip), %rax
movq _yy_buffer_stack_max(%rip), %rcx
subq $1, %rcx
cmpq %rcx, %rax
jb LBB1_8
## %bb.5:
movq $8, -16(%rbp)
movq _yy_buffer_stack_max(%rip), %rax
addq -16(%rbp), %rax
movq %rax, -8(%rbp)
movq _yy_buffer_stack(%rip), %rdi
movq -8(%rbp), %rsi
shlq $3, %rsi
callq _yyrealloc
movq %rax, _yy_buffer_stack(%rip)
cmpq $0, _yy_buffer_stack(%rip)
jne LBB1_7
## %bb.6:
leaq L_.str.11(%rip), %rdi
callq _yy_fatal_error
LBB1_7:
movq _yy_buffer_stack(%rip), %rdi
movq _yy_buffer_stack_max(%rip), %rax
shlq $3, %rax
addq %rax, %rdi
movq -16(%rbp), %rdx
shlq $3, %rdx
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
movq -8(%rbp), %rax
movq %rax, _yy_buffer_stack_max(%rip)
LBB1_8:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yy_create_buffer ## -- Begin function yy_create_buffer
.p2align 4, 0x90
_yy_create_buffer: ## @yy_create_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $64, %edi
callq _yyalloc
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB2_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
callq _yy_fatal_error
LBB2_2:
movl -12(%rbp), %ecx
movq -24(%rbp), %rax
movl %ecx, 24(%rax)
movq -24(%rbp), %rax
movl 24(%rax), %eax
addl $2, %eax
movslq %eax, %rdi
callq _yyalloc
movq %rax, %rcx
movq -24(%rbp), %rax
movq %rcx, 8(%rax)
movq -24(%rbp), %rax
cmpq $0, 8(%rax)
jne LBB2_4
## %bb.3:
leaq L_.str.1(%rip), %rdi
callq _yy_fatal_error
LBB2_4:
movq -24(%rbp), %rax
movl $1, 32(%rax)
movq -24(%rbp), %rdi
movq -8(%rbp), %rsi
callq _yy_init_buffer
movq -24(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function yy_load_buffer_state
_yy_load_buffer_state: ## @yy_load_buffer_state
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movl 28(%rax), %eax
movl %eax, _yy_n_chars(%rip)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 16(%rax), %rcx
movq %rcx, _yy_c_buf_p(%rip)
movq _yytext@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq %rax, _yyin(%rip)
movq _yy_c_buf_p(%rip), %rax
movb (%rax), %al
movb %al, _yy_hold_char(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function yy_get_previous_state
_yy_get_previous_state: ## @yy_get_previous_state
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl _yy_start(%rip), %eax
movl %eax, -4(%rbp)
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
LBB4_1: ## =>This Loop Header: Depth=1
## Child Loop BB4_8 Depth 2
movq -16(%rbp), %rax
cmpq _yy_c_buf_p(%rip), %rax
jae LBB4_14
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movq -16(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB4_4
## %bb.3: ## in Loop: Header=BB4_1 Depth=1
movq -16(%rbp), %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq _yy_ec(%rip), %rax
movzbl (%rax,%rcx), %eax
movl %eax, -24(%rbp) ## 4-byte Spill
jmp LBB4_5
LBB4_4: ## in Loop: Header=BB4_1 Depth=1
movl $1, %eax
movl %eax, -24(%rbp) ## 4-byte Spill
jmp LBB4_5
LBB4_5: ## in Loop: Header=BB4_1 Depth=1
movl -24(%rbp), %eax ## 4-byte Reload
## kill: def $al killed $al killed $eax
movb %al, -17(%rbp)
movslq -4(%rbp), %rcx
leaq _yy_accept(%rip), %rax
cmpw $0, (%rax,%rcx,2)
je LBB4_7
## %bb.6: ## in Loop: Header=BB4_1 Depth=1
movl -4(%rbp), %eax
movl %eax, _yy_last_accepting_state(%rip)
movq -16(%rbp), %rax
movq %rax, _yy_last_accepting_cpos(%rip)
LBB4_7: ## in Loop: Header=BB4_1 Depth=1
jmp LBB4_8
LBB4_8: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
movslq -4(%rbp), %rcx
leaq _yy_base(%rip), %rax
movswl (%rax,%rcx,2), %eax
movzbl -17(%rbp), %ecx
addl %ecx, %eax
movslq %eax, %rcx
leaq _yy_chk(%rip), %rax
movswl (%rax,%rcx,2), %eax
cmpl -4(%rbp), %eax
je LBB4_12
## %bb.9: ## in Loop: Header=BB4_8 Depth=2
movslq -4(%rbp), %rcx
leaq _yy_def(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -4(%rbp)
cmpl $11, -4(%rbp)
jl LBB4_11
## %bb.10: ## in Loop: Header=BB4_8 Depth=2
movzbl -17(%rbp), %eax
movl %eax, %ecx
leaq _yy_meta(%rip), %rax
movb (%rax,%rcx), %al
movb %al, -17(%rbp)
LBB4_11: ## in Loop: Header=BB4_8 Depth=2
jmp LBB4_8
LBB4_12: ## in Loop: Header=BB4_1 Depth=1
movslq -4(%rbp), %rcx
leaq _yy_base(%rip), %rax
movswl (%rax,%rcx,2), %eax
movzbl -17(%rbp), %ecx
addl %ecx, %eax
movslq %eax, %rcx
leaq _yy_nxt(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -4(%rbp)
## %bb.13: ## in Loop: Header=BB4_1 Depth=1
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB4_1
LBB4_14:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function yy_try_NUL_trans
_yy_try_NUL_trans: ## @yy_try_NUL_trans
.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, -4(%rbp)
movq _yy_c_buf_p(%rip), %rax
movq %rax, -16(%rbp)
movb $1, -17(%rbp)
movslq -4(%rbp), %rcx
leaq _yy_accept(%rip), %rax
cmpw $0, (%rax,%rcx,2)
je LBB5_2
## %bb.1:
movl -4(%rbp), %eax
movl %eax, _yy_last_accepting_state(%rip)
movq -16(%rbp), %rax
movq %rax, _yy_last_accepting_cpos(%rip)
LBB5_2:
jmp LBB5_3
LBB5_3: ## =>This Inner Loop Header: Depth=1
movslq -4(%rbp), %rcx
leaq _yy_base(%rip), %rax
movswl (%rax,%rcx,2), %eax
movzbl -17(%rbp), %ecx
addl %ecx, %eax
movslq %eax, %rcx
leaq _yy_chk(%rip), %rax
movswl (%rax,%rcx,2), %eax
cmpl -4(%rbp), %eax
je LBB5_7
## %bb.4: ## in Loop: Header=BB5_3 Depth=1
movslq -4(%rbp), %rcx
leaq _yy_def(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -4(%rbp)
cmpl $11, -4(%rbp)
jl LBB5_6
## %bb.5: ## in Loop: Header=BB5_3 Depth=1
movzbl -17(%rbp), %eax
movl %eax, %ecx
leaq _yy_meta(%rip), %rax
movb (%rax,%rcx), %al
movb %al, -17(%rbp)
LBB5_6: ## in Loop: Header=BB5_3 Depth=1
jmp LBB5_3
LBB5_7:
movslq -4(%rbp), %rcx
leaq _yy_base(%rip), %rax
movswl (%rax,%rcx,2), %eax
movzbl -17(%rbp), %ecx
addl %ecx, %eax
movslq %eax, %rcx
leaq _yy_nxt(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -4(%rbp)
cmpl $10, -4(%rbp)
sete %al
andb $1, %al
movzbl %al, %eax
movl %eax, -8(%rbp)
cmpl $0, -8(%rbp)
je LBB5_9
## %bb.8:
xorl %eax, %eax
movl %eax, -24(%rbp) ## 4-byte Spill
jmp LBB5_10
LBB5_9:
movl -4(%rbp), %eax
movl %eax, -24(%rbp) ## 4-byte Spill
LBB5_10:
movl -24(%rbp), %eax ## 4-byte Reload
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function yy_get_next_buffer
_yy_get_next_buffer: ## @yy_get_next_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 8(%rax), %rax
movq %rax, -16(%rbp)
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
movq _yy_c_buf_p(%rip), %rax
movq _yy_buffer_stack(%rip), %rcx
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rcx,%rdx,8), %rcx
movq 8(%rcx), %rcx
movl _yy_n_chars(%rip), %edx
addl $1, %edx
movslq %edx, %rdx
addq %rdx, %rcx
cmpq %rcx, %rax
jbe LBB6_2
## %bb.1:
leaq L_.str.7(%rip), %rdi
callq _yy_fatal_error
LBB6_2:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
cmpl $0, 52(%rax)
jne LBB6_6
## %bb.3:
movq _yy_c_buf_p(%rip), %rax
movq _yytext@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
subq %rcx, %rax
subq $0, %rax
cmpq $1, %rax
jne LBB6_5
## %bb.4:
movl $1, -4(%rbp)
jmp LBB6_59
LBB6_5:
movl $2, -4(%rbp)
jmp LBB6_59
LBB6_6:
movq _yy_c_buf_p(%rip), %rax
movq _yytext@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
subq %rcx, %rax
subq $1, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -28(%rbp)
movl $0, -32(%rbp)
LBB6_7: ## =>This Inner Loop Header: Depth=1
movl -32(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB6_10
## %bb.8: ## in Loop: Header=BB6_7 Depth=1
movq -24(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -24(%rbp)
movb (%rax), %cl
movq -16(%rbp), %rax
movq %rax, %rdx
addq $1, %rdx
movq %rdx, -16(%rbp)
movb %cl, (%rax)
## %bb.9: ## in Loop: Header=BB6_7 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB6_7
LBB6_10:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
cmpl $2, 56(%rax)
jne LBB6_12
## %bb.11:
movl $0, _yy_n_chars(%rip)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movl $0, 28(%rax)
jmp LBB6_48
LBB6_12:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movl 24(%rax), %eax
subl -28(%rbp), %eax
subl $1, %eax
movl %eax, -40(%rbp)
LBB6_13: ## =>This Inner Loop Header: Depth=1
cmpl $0, -40(%rbp)
jg LBB6_23
## %bb.14: ## in Loop: Header=BB6_13 Depth=1
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -48(%rbp)
movq _yy_c_buf_p(%rip), %rax
movq -48(%rbp), %rcx
movq 8(%rcx), %rcx
subq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -52(%rbp)
movq -48(%rbp), %rax
cmpl $0, 32(%rax)
je LBB6_19
## %bb.15: ## in Loop: Header=BB6_13 Depth=1
movq -48(%rbp), %rax
movl 24(%rax), %eax
shll $1, %eax
movl %eax, -56(%rbp)
cmpl $0, -56(%rbp)
jg LBB6_17
## %bb.16: ## in Loop: Header=BB6_13 Depth=1
movq -48(%rbp), %rax
movl 24(%rax), %eax
movl $8, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movq -48(%rbp), %rax
addl 24(%rax), %ecx
movl %ecx, 24(%rax)
jmp LBB6_18
LBB6_17: ## in Loop: Header=BB6_13 Depth=1
movq -48(%rbp), %rax
movl 24(%rax), %ecx
shll $1, %ecx
movl %ecx, 24(%rax)
LBB6_18: ## in Loop: Header=BB6_13 Depth=1
movq -48(%rbp), %rax
movq 8(%rax), %rdi
movq -48(%rbp), %rax
movl 24(%rax), %eax
addl $2, %eax
movslq %eax, %rsi
callq _yyrealloc
movq %rax, %rcx
movq -48(%rbp), %rax
movq %rcx, 8(%rax)
jmp LBB6_20
LBB6_19: ## in Loop: Header=BB6_13 Depth=1
movq -48(%rbp), %rax
movq $0, 8(%rax)
LBB6_20: ## in Loop: Header=BB6_13 Depth=1
movq -48(%rbp), %rax
cmpq $0, 8(%rax)
jne LBB6_22
## %bb.21:
leaq L_.str.8(%rip), %rdi
callq _yy_fatal_error
LBB6_22: ## in Loop: Header=BB6_13 Depth=1
movq -48(%rbp), %rax
movq 8(%rax), %rax
movslq -52(%rbp), %rcx
addq %rcx, %rax
movq %rax, _yy_c_buf_p(%rip)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movl 24(%rax), %eax
subl -28(%rbp), %eax
subl $1, %eax
movl %eax, -40(%rbp)
jmp LBB6_13
LBB6_23:
cmpl $8192, -40(%rbp) ## imm = 0x2000
jle LBB6_25
## %bb.24:
movl $8192, -40(%rbp) ## imm = 0x2000
LBB6_25:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
cmpl $0, 36(%rax)
je LBB6_39
## %bb.26:
movl $42, -60(%rbp)
movl $0, -64(%rbp)
LBB6_27: ## =>This Inner Loop Header: Depth=1
movl -64(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl -40(%rbp), %ecx
movb %al, -69(%rbp) ## 1-byte Spill
jge LBB6_30
## %bb.28: ## in Loop: Header=BB6_27 Depth=1
movq _yyin(%rip), %rdi
callq _getc
movl %eax, %ecx
movl %ecx, -60(%rbp)
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $-1, %ecx
movb %al, -69(%rbp) ## 1-byte Spill
je LBB6_30
## %bb.29: ## in Loop: Header=BB6_27 Depth=1
cmpl $10, -60(%rbp)
setne %al
movb %al, -69(%rbp) ## 1-byte Spill
LBB6_30: ## in Loop: Header=BB6_27 Depth=1
movb -69(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB6_31
jmp LBB6_33
LBB6_31: ## in Loop: Header=BB6_27 Depth=1
movl -60(%rbp), %eax
movb %al, %dl
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 8(%rax), %rax
movslq -28(%rbp), %rcx
addq %rcx, %rax
movslq -64(%rbp), %rcx
movb %dl, (%rax,%rcx)
## %bb.32: ## in Loop: Header=BB6_27 Depth=1
movl -64(%rbp), %eax
addl $1, %eax
movl %eax, -64(%rbp)
jmp LBB6_27
LBB6_33:
cmpl $10, -60(%rbp)
jne LBB6_35
## %bb.34:
movl -60(%rbp), %eax
movb %al, %dl
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 8(%rax), %rax
movslq -28(%rbp), %rcx
addq %rcx, %rax
movl -64(%rbp), %ecx
movl %ecx, %esi
addl $1, %esi
movl %esi, -64(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
LBB6_35:
cmpl $-1, -60(%rbp)
jne LBB6_38
## %bb.36:
movq _yyin(%rip), %rdi
callq _ferror
cmpl $0, %eax
je LBB6_38
## %bb.37:
leaq L_.str.9(%rip), %rdi
callq _yy_fatal_error
LBB6_38:
movl -64(%rbp), %eax
movl %eax, _yy_n_chars(%rip)
jmp LBB6_47
LBB6_39:
callq ___error
movl $0, (%rax)
LBB6_40: ## =>This Inner Loop Header: Depth=1
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 8(%rax), %rdi
movslq -28(%rbp), %rax
addq %rax, %rdi
movslq -40(%rbp), %rdx
movq _yyin(%rip), %rcx
movl $1, %esi
callq _fread
movl %eax, %ecx
movl %ecx, _yy_n_chars(%rip)
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -70(%rbp) ## 1-byte Spill
jne LBB6_42
## %bb.41: ## in Loop: Header=BB6_40 Depth=1
movq _yyin(%rip), %rdi
callq _ferror
cmpl $0, %eax
setne %al
movb %al, -70(%rbp) ## 1-byte Spill
LBB6_42: ## in Loop: Header=BB6_40 Depth=1
movb -70(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB6_43
jmp LBB6_46
LBB6_43: ## in Loop: Header=BB6_40 Depth=1
callq ___error
cmpl $4, (%rax)
je LBB6_45
## %bb.44:
leaq L_.str.9(%rip), %rdi
callq _yy_fatal_error
LBB6_45: ## in Loop: Header=BB6_40 Depth=1
callq ___error
movl $0, (%rax)
movq _yyin(%rip), %rdi
callq _clearerr
jmp LBB6_40
LBB6_46:
jmp LBB6_47
LBB6_47:
movl _yy_n_chars(%rip), %ecx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rax,%rdx,8), %rax
movl %ecx, 28(%rax)
LBB6_48:
cmpl $0, _yy_n_chars(%rip)
jne LBB6_53
## %bb.49:
cmpl $0, -28(%rbp)
jne LBB6_51
## %bb.50:
movl $1, -36(%rbp)
movq _yyin(%rip), %rdi
callq _yyrestart
jmp LBB6_52
LBB6_51:
movl $2, -36(%rbp)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movl $2, 56(%rax)
LBB6_52:
jmp LBB6_54
LBB6_53:
movl $0, -36(%rbp)
LBB6_54:
movl _yy_n_chars(%rip), %eax
addl -28(%rbp), %eax
movq _yy_buffer_stack(%rip), %rcx
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rcx,%rdx,8), %rcx
cmpl 24(%rcx), %eax
jle LBB6_58
## %bb.55:
movl _yy_n_chars(%rip), %eax
addl -28(%rbp), %eax
movl _yy_n_chars(%rip), %ecx
sarl $1, %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 8(%rax), %rdi
movslq -68(%rbp), %rsi
callq _yyrealloc
movq %rax, %rcx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 8(%rax)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
cmpq $0, 8(%rax)
jne LBB6_57
## %bb.56:
leaq L_.str.10(%rip), %rdi
callq _yy_fatal_error
LBB6_57:
movl -68(%rbp), %ecx
subl $2, %ecx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rax,%rdx,8), %rax
movl %ecx, 24(%rax)
LBB6_58:
movl -28(%rbp), %eax
addl _yy_n_chars(%rip), %eax
movl %eax, _yy_n_chars(%rip)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 8(%rax), %rax
movslq _yy_n_chars(%rip), %rcx
movb $0, (%rax,%rcx)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 8(%rax), %rax
movl _yy_n_chars(%rip), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movb $0, (%rax,%rcx)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 8(%rax), %rcx
movq _yytext@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movl -36(%rbp), %eax
movl %eax, -4(%rbp)
LBB6_59:
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function yy_fatal_error
_yy_fatal_error: ## @yy_fatal_error
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -8(%rbp), %rdx
leaq L_.str.12(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $2, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _yyrestart ## -- Begin function yyrestart
.p2align 4, 0x90
_yyrestart: ## @yyrestart
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
cmpq $0, _yy_buffer_stack(%rip)
je LBB8_2
## %bb.1:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
cmpq $0, (%rax,%rcx,8)
jne LBB8_4
jmp LBB8_3
LBB8_2:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB8_4
jmp LBB8_3
LBB8_3:
callq _yyensure_buffer_stack
movq _yyin(%rip), %rdi
movl $16384, %esi ## imm = 0x4000
callq _yy_create_buffer
movq %rax, %rdx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq %rdx, (%rax,%rcx,8)
LBB8_4:
cmpq $0, _yy_buffer_stack(%rip)
je LBB8_6
## %bb.5:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -16(%rbp) ## 8-byte Spill
jmp LBB8_7
LBB8_6:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -16(%rbp) ## 8-byte Spill
jmp LBB8_7
LBB8_7:
movq -16(%rbp), %rdi ## 8-byte Reload
movq -8(%rbp), %rsi
callq _yy_init_buffer
callq _yy_load_buffer_state
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function yy_init_buffer
_yy_init_buffer: ## @yy_init_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
callq ___error
movl (%rax), %eax
movl %eax, -20(%rbp)
movq -8(%rbp), %rdi
callq _yy_flush_buffer
movq -16(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
movq -8(%rbp), %rax
movl $1, 52(%rax)
movq -8(%rbp), %rax
movq %rax, -32(%rbp) ## 8-byte Spill
cmpq $0, _yy_buffer_stack(%rip)
je LBB9_2
## %bb.1:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -40(%rbp) ## 8-byte Spill
jmp LBB9_3
LBB9_2:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -40(%rbp) ## 8-byte Spill
jmp LBB9_3
LBB9_3:
movq -32(%rbp), %rax ## 8-byte Reload
movq -40(%rbp), %rcx ## 8-byte Reload
cmpq %rcx, %rax
je LBB9_5
## %bb.4:
movq -8(%rbp), %rax
movl $1, 44(%rax)
movq -8(%rbp), %rax
movl $0, 48(%rax)
LBB9_5:
cmpq $0, -16(%rbp)
je LBB9_7
## %bb.6:
movq -16(%rbp), %rdi
callq _fileno
movl %eax, %edi
callq _isatty
cmpl $0, %eax
setg %al
andb $1, %al
movzbl %al, %eax
movl %eax, -44(%rbp) ## 4-byte Spill
jmp LBB9_8
LBB9_7:
xorl %eax, %eax
movl %eax, -44(%rbp) ## 4-byte Spill
jmp LBB9_8
LBB9_8:
movl -44(%rbp), %ecx ## 4-byte Reload
movq -8(%rbp), %rax
movl %ecx, 36(%rax)
movl -20(%rbp), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
callq ___error
movl -48(%rbp), %ecx ## 4-byte Reload
movl %ecx, (%rax)
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yy_switch_to_buffer ## -- Begin function yy_switch_to_buffer
.p2align 4, 0x90
_yy_switch_to_buffer: ## @yy_switch_to_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
callq _yyensure_buffer_stack
cmpq $0, _yy_buffer_stack(%rip)
je LBB10_2
## %bb.1:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -16(%rbp) ## 8-byte Spill
jmp LBB10_3
LBB10_2:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -16(%rbp) ## 8-byte Spill
jmp LBB10_3
LBB10_3:
movq -16(%rbp), %rax ## 8-byte Reload
cmpq -8(%rbp), %rax
jne LBB10_5
## %bb.4:
jmp LBB10_10
LBB10_5:
cmpq $0, _yy_buffer_stack(%rip)
je LBB10_7
## %bb.6:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
cmpq $0, (%rax,%rcx,8)
jne LBB10_8
jmp LBB10_9
LBB10_7:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB10_8
jmp LBB10_9
LBB10_8:
movb _yy_hold_char(%rip), %cl
movq _yy_c_buf_p(%rip), %rax
movb %cl, (%rax)
movq _yy_c_buf_p(%rip), %rcx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 16(%rax)
movl _yy_n_chars(%rip), %ecx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rax,%rdx,8), %rax
movl %ecx, 28(%rax)
LBB10_9:
movq -8(%rbp), %rdx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq %rdx, (%rax,%rcx,8)
callq _yy_load_buffer_state
movl $1, _yy_did_buffer_switch_on_eof(%rip)
LBB10_10:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyalloc ## -- Begin function yyalloc
.p2align 4, 0x90
_yyalloc: ## @yyalloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
callq _malloc
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yy_delete_buffer ## -- Begin function yy_delete_buffer
.p2align 4, 0x90
_yy_delete_buffer: ## @yy_delete_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
cmpq $0, -8(%rbp)
jne LBB12_2
## %bb.1:
jmp LBB12_10
LBB12_2:
movq -8(%rbp), %rax
movq %rax, -16(%rbp) ## 8-byte Spill
cmpq $0, _yy_buffer_stack(%rip)
je LBB12_4
## %bb.3:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -24(%rbp) ## 8-byte Spill
jmp LBB12_5
LBB12_4:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -24(%rbp) ## 8-byte Spill
jmp LBB12_5
LBB12_5:
movq -16(%rbp), %rax ## 8-byte Reload
movq -24(%rbp), %rcx ## 8-byte Reload
cmpq %rcx, %rax
jne LBB12_7
## %bb.6:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq $0, (%rax,%rcx,8)
LBB12_7:
movq -8(%rbp), %rax
cmpl $0, 32(%rax)
je LBB12_9
## %bb.8:
movq -8(%rbp), %rax
movq 8(%rax), %rdi
callq _yyfree
LBB12_9:
movq -8(%rbp), %rdi
callq _yyfree
LBB12_10:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyfree ## -- Begin function yyfree
.p2align 4, 0x90
_yyfree: ## @yyfree
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
callq _free
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yy_flush_buffer ## -- Begin function yy_flush_buffer
.p2align 4, 0x90
_yy_flush_buffer: ## @yy_flush_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
cmpq $0, -8(%rbp)
jne LBB14_2
## %bb.1:
jmp LBB14_7
LBB14_2:
movq -8(%rbp), %rax
movl $0, 28(%rax)
movq -8(%rbp), %rax
movq 8(%rax), %rax
movb $0, (%rax)
movq -8(%rbp), %rax
movq 8(%rax), %rax
movb $0, 1(%rax)
movq -8(%rbp), %rax
movq 8(%rax), %rcx
movq -8(%rbp), %rax
movq %rcx, 16(%rax)
movq -8(%rbp), %rax
movl $1, 40(%rax)
movq -8(%rbp), %rax
movl $0, 56(%rax)
movq -8(%rbp), %rax
movq %rax, -16(%rbp) ## 8-byte Spill
cmpq $0, _yy_buffer_stack(%rip)
je LBB14_4
## %bb.3:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -24(%rbp) ## 8-byte Spill
jmp LBB14_5
LBB14_4:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -24(%rbp) ## 8-byte Spill
jmp LBB14_5
LBB14_5:
movq -16(%rbp), %rax ## 8-byte Reload
movq -24(%rbp), %rcx ## 8-byte Reload
cmpq %rcx, %rax
jne LBB14_7
## %bb.6:
callq _yy_load_buffer_state
LBB14_7:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yypush_buffer_state ## -- Begin function yypush_buffer_state
.p2align 4, 0x90
_yypush_buffer_state: ## @yypush_buffer_state
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
cmpq $0, -8(%rbp)
jne LBB15_2
## %bb.1:
jmp LBB15_11
LBB15_2:
callq _yyensure_buffer_stack
cmpq $0, _yy_buffer_stack(%rip)
je LBB15_4
## %bb.3:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
cmpq $0, (%rax,%rcx,8)
jne LBB15_5
jmp LBB15_6
LBB15_4:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB15_5
jmp LBB15_6
LBB15_5:
movb _yy_hold_char(%rip), %cl
movq _yy_c_buf_p(%rip), %rax
movb %cl, (%rax)
movq _yy_c_buf_p(%rip), %rcx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 16(%rax)
movl _yy_n_chars(%rip), %ecx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rax,%rdx,8), %rax
movl %ecx, 28(%rax)
LBB15_6:
cmpq $0, _yy_buffer_stack(%rip)
je LBB15_8
## %bb.7:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
cmpq $0, (%rax,%rcx,8)
jne LBB15_9
jmp LBB15_10
LBB15_8:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB15_9
jmp LBB15_10
LBB15_9:
movq _yy_buffer_stack_top(%rip), %rax
addq $1, %rax
movq %rax, _yy_buffer_stack_top(%rip)
LBB15_10:
movq -8(%rbp), %rdx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq %rdx, (%rax,%rcx,8)
callq _yy_load_buffer_state
movl $1, _yy_did_buffer_switch_on_eof(%rip)
LBB15_11:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yypop_buffer_state ## -- Begin function yypop_buffer_state
.p2align 4, 0x90
_yypop_buffer_state: ## @yypop_buffer_state
.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
cmpq $0, _yy_buffer_stack(%rip)
je LBB16_2
## %bb.1:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
cmpq $0, (%rax,%rcx,8)
jne LBB16_4
jmp LBB16_3
LBB16_2:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB16_4
jmp LBB16_3
LBB16_3:
jmp LBB16_13
LBB16_4:
cmpq $0, _yy_buffer_stack(%rip)
je LBB16_6
## %bb.5:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -8(%rbp) ## 8-byte Spill
jmp LBB16_7
LBB16_6:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -8(%rbp) ## 8-byte Spill
jmp LBB16_7
LBB16_7:
movq -8(%rbp), %rdi ## 8-byte Reload
callq _yy_delete_buffer
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq $0, (%rax,%rcx,8)
cmpq $0, _yy_buffer_stack_top(%rip)
jbe LBB16_9
## %bb.8:
movq _yy_buffer_stack_top(%rip), %rax
addq $-1, %rax
movq %rax, _yy_buffer_stack_top(%rip)
LBB16_9:
cmpq $0, _yy_buffer_stack(%rip)
je LBB16_11
## %bb.10:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
cmpq $0, (%rax,%rcx,8)
jne LBB16_12
jmp LBB16_13
LBB16_11:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB16_12
jmp LBB16_13
LBB16_12:
callq _yy_load_buffer_state
movl $1, _yy_did_buffer_switch_on_eof(%rip)
LBB16_13:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yy_scan_buffer ## -- Begin function yy_scan_buffer
.p2align 4, 0x90
_yy_scan_buffer: ## @yy_scan_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
cmpq $2, -24(%rbp)
jb LBB17_3
## %bb.1:
movq -16(%rbp), %rax
movq -24(%rbp), %rcx
subq $2, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
jne LBB17_3
## %bb.2:
movq -16(%rbp), %rax
movq -24(%rbp), %rcx
subq $1, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB17_4
LBB17_3:
movq $0, -8(%rbp)
jmp LBB17_7
LBB17_4:
movl $64, %edi
callq _yyalloc
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB17_6
## %bb.5:
leaq L_.str.2(%rip), %rdi
callq _yy_fatal_error
LBB17_6:
movq -24(%rbp), %rax
subq $2, %rax
movl %eax, %ecx
movq -32(%rbp), %rax
movl %ecx, 24(%rax)
movq -16(%rbp), %rcx
movq -32(%rbp), %rax
movq %rcx, 8(%rax)
movq -32(%rbp), %rax
movq %rcx, 16(%rax)
movq -32(%rbp), %rax
movl $0, 32(%rax)
movq -32(%rbp), %rax
movq $0, (%rax)
movq -32(%rbp), %rax
movl 24(%rax), %ecx
movq -32(%rbp), %rax
movl %ecx, 28(%rax)
movq -32(%rbp), %rax
movl $0, 36(%rax)
movq -32(%rbp), %rax
movl $1, 40(%rax)
movq -32(%rbp), %rax
movl $0, 52(%rax)
movq -32(%rbp), %rax
movl $0, 56(%rax)
movq -32(%rbp), %rdi
callq _yy_switch_to_buffer
movq -32(%rbp), %rax
movq %rax, -8(%rbp)
LBB17_7:
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yy_scan_string ## -- Begin function yy_scan_string
.p2align 4, 0x90
_yy_scan_string: ## @yy_scan_string
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, -16(%rbp) ## 8-byte Spill
movq -8(%rbp), %rdi
callq _strlen
movq -16(%rbp), %rdi ## 8-byte Reload
movl %eax, %esi
callq _yy_scan_bytes
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yy_scan_bytes ## -- Begin function yy_scan_bytes
.p2align 4, 0x90
_yy_scan_bytes: ## @yy_scan_bytes
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl -12(%rbp), %eax
addl $2, %eax
cltq
movq %rax, -40(%rbp)
movq -40(%rbp), %rdi
callq _yyalloc
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB19_2
## %bb.1:
leaq L_.str.3(%rip), %rdi
callq _yy_fatal_error
LBB19_2:
movl $0, -44(%rbp)
LBB19_3: ## =>This Inner Loop Header: Depth=1
movl -44(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB19_6
## %bb.4: ## in Loop: Header=BB19_3 Depth=1
movq -8(%rbp), %rax
movslq -44(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -32(%rbp), %rax
movslq -44(%rbp), %rcx
movb %dl, (%rax,%rcx)
## %bb.5: ## in Loop: Header=BB19_3 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB19_3
LBB19_6:
movq -32(%rbp), %rax
movl -12(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movb $0, (%rax,%rcx)
movq -32(%rbp), %rax
movslq -12(%rbp), %rcx
movb $0, (%rax,%rcx)
movq -32(%rbp), %rdi
movq -40(%rbp), %rsi
callq _yy_scan_buffer
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB19_8
## %bb.7:
leaq L_.str.4(%rip), %rdi
callq _yy_fatal_error
LBB19_8:
movq -24(%rbp), %rax
movl $1, 32(%rax)
movq -24(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyget_lineno ## -- Begin function yyget_lineno
.p2align 4, 0x90
_yyget_lineno: ## @yyget_lineno
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl _yylineno(%rip), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyget_in ## -- Begin function yyget_in
.p2align 4, 0x90
_yyget_in: ## @yyget_in
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _yyin(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyget_out ## -- Begin function yyget_out
.p2align 4, 0x90
_yyget_out: ## @yyget_out
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _yyout(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyget_leng ## -- Begin function yyget_leng
.p2align 4, 0x90
_yyget_leng: ## @yyget_leng
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _yyleng@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyget_text ## -- Begin function yyget_text
.p2align 4, 0x90
_yyget_text: ## @yyget_text
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyset_lineno ## -- Begin function yyset_lineno
.p2align 4, 0x90
_yyset_lineno: ## @yyset_lineno
.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, -4(%rbp)
movl -4(%rbp), %eax
movl %eax, _yylineno(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyset_in ## -- Begin function yyset_in
.p2align 4, 0x90
_yyset_in: ## @yyset_in
.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, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, _yyin(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyset_out ## -- Begin function yyset_out
.p2align 4, 0x90
_yyset_out: ## @yyset_out
.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, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, _yyout(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyget_debug ## -- Begin function yyget_debug
.p2align 4, 0x90
_yyget_debug: ## @yyget_debug
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl _yy_flex_debug(%rip), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyset_debug ## -- Begin function yyset_debug
.p2align 4, 0x90
_yyset_debug: ## @yyset_debug
.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, -4(%rbp)
movl -4(%rbp), %eax
movl %eax, _yy_flex_debug(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yylex_destroy ## -- Begin function yylex_destroy
.p2align 4, 0x90
_yylex_destroy: ## @yylex_destroy
.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
jmp LBB30_1
LBB30_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, _yy_buffer_stack(%rip)
je LBB30_3
## %bb.2: ## in Loop: Header=BB30_1 Depth=1
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -8(%rbp) ## 8-byte Spill
jmp LBB30_4
LBB30_3: ## in Loop: Header=BB30_1 Depth=1
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -8(%rbp) ## 8-byte Spill
jmp LBB30_4
LBB30_4: ## in Loop: Header=BB30_1 Depth=1
movq -8(%rbp), %rax ## 8-byte Reload
cmpq $0, %rax
je LBB30_9
## %bb.5: ## in Loop: Header=BB30_1 Depth=1
cmpq $0, _yy_buffer_stack(%rip)
je LBB30_7
## %bb.6: ## in Loop: Header=BB30_1 Depth=1
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -16(%rbp) ## 8-byte Spill
jmp LBB30_8
LBB30_7: ## in Loop: Header=BB30_1 Depth=1
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -16(%rbp) ## 8-byte Spill
jmp LBB30_8
LBB30_8: ## in Loop: Header=BB30_1 Depth=1
movq -16(%rbp), %rdi ## 8-byte Reload
callq _yy_delete_buffer
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq $0, (%rax,%rcx,8)
callq _yypop_buffer_state
jmp LBB30_1
LBB30_9:
movq _yy_buffer_stack(%rip), %rdi
callq _yyfree
movq $0, _yy_buffer_stack(%rip)
callq _yy_init_globals
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function yy_init_globals
_yy_init_globals: ## @yy_init_globals
.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, _yy_buffer_stack(%rip)
movq $0, _yy_buffer_stack_top(%rip)
movq $0, _yy_buffer_stack_max(%rip)
movq $0, _yy_c_buf_p(%rip)
movl $0, _yy_init(%rip)
movl $0, _yy_start(%rip)
movq $0, _yyin(%rip)
movq $0, _yyout(%rip)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyrealloc ## -- Begin function yyrealloc
.p2align 4, 0x90
_yyrealloc: ## @yyrealloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq _realloc
addq $16, %rsp
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
movl $0, -4(%rbp)
callq _yylex
movl %eax, -8(%rbp)
cmpl $1, -8(%rbp)
jne LBB33_2
## %bb.1:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB33_5
LBB33_2:
cmpl $2, -8(%rbp)
jne LBB33_4
## %bb.3:
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
LBB33_4:
jmp LBB33_5
LBB33_5:
movl $1, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyin ## @yyin
.zerofill __DATA,__common,_yyin,8,3
.globl _yyout ## @yyout
.zerofill __DATA,__common,_yyout,8,3
.section __DATA,__data
.globl _yylineno ## @yylineno
.p2align 2
_yylineno:
.long 1 ## 0x1
.globl _yy_flex_debug ## @yy_flex_debug
.zerofill __DATA,__common,_yy_flex_debug,4,2
.zerofill __DATA,__bss,_yy_init,4,2 ## @yy_init
.zerofill __DATA,__bss,_yy_start,4,2 ## @yy_start
.zerofill __DATA,__bss,_yy_buffer_stack,8,3 ## @yy_buffer_stack
.zerofill __DATA,__bss,_yy_buffer_stack_top,8,3 ## @yy_buffer_stack_top
.zerofill __DATA,__bss,_yy_c_buf_p,8,3 ## @yy_c_buf_p
.zerofill __DATA,__bss,_yy_hold_char,1,0 ## @yy_hold_char
.section __TEXT,__const
.p2align 4 ## @yy_ec
_yy_ec:
.ascii "\000\001\001\001\001\001\001\001\001\001\002\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\003\003\003\003\003\003\003\003\003\003\001\001\001\001\001\001\001\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\001\001\001\001\001\001\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001"
.p2align 4 ## @yy_accept
_yy_accept:
.short 0 ## 0x0
.short 2 ## 0x2
.short 2 ## 0x2
.short 4 ## 0x4
.short 2 ## 0x2
.short 3 ## 0x3
.short 2 ## 0x2
.short 2 ## 0x2
.short 1 ## 0x1
.short 2 ## 0x2
.short 0 ## 0x0
.zerofill __DATA,__bss,_yy_last_accepting_state,4,2 ## @yy_last_accepting_state
.zerofill __DATA,__bss,_yy_last_accepting_cpos,8,3 ## @yy_last_accepting_cpos
.p2align 4 ## @yy_chk
_yy_chk:
.short 0 ## 0x0
.short 1 ## 0x1
.short 1 ## 0x1
.short 1 ## 0x1
.short 1 ## 0x1
.short 1 ## 0x1
.short 6 ## 0x6
.short 11 ## 0xb
.short 6 ## 0x6
.short 6 ## 0x6
.short 6 ## 0x6
.short 3 ## 0x3
.short 10 ## 0xa
.short 10 ## 0xa
.short 10 ## 0xa
.short 10 ## 0xa
.short 10 ## 0xa
.short 10 ## 0xa
.p2align 4 ## @yy_base
_yy_base:
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 11 ## 0xb
.short 0 ## 0x0
.short 12 ## 0xc
.short 5 ## 0x5
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 12 ## 0xc
.short 6 ## 0x6
.p2align 4 ## @yy_def
_yy_def:
.short 0 ## 0x0
.short 10 ## 0xa
.short 1 ## 0x1
.short 10 ## 0xa
.short 11 ## 0xb
.short 10 ## 0xa
.short 10 ## 0xa
.short 11 ## 0xb
.short 11 ## 0xb
.short 6 ## 0x6
.short 0 ## 0x0
.short 10 ## 0xa
_yy_meta: ## @yy_meta
.ascii "\000\001\002\001\001\001"
.p2align 4 ## @yy_nxt
_yy_nxt:
.short 0 ## 0x0
.short 4 ## 0x4
.short 5 ## 0x5
.short 4 ## 0x4
.short 6 ## 0x6
.short 6 ## 0x6
.short 7 ## 0x7
.short 7 ## 0x7
.short 8 ## 0x8
.short 9 ## 0x9
.short 9 ## 0x9
.short 10 ## 0xa
.short 3 ## 0x3
.short 10 ## 0xa
.short 10 ## 0xa
.short 10 ## 0xa
.short 10 ## 0xa
.short 10 ## 0xa
.comm _yytext,8,3 ## @yytext
.comm _yyleng,4,2 ## @yyleng
.zerofill __DATA,__bss,_yy_n_chars,4,2 ## @yy_n_chars
.zerofill __DATA,__bss,_yy_did_buffer_switch_on_eof,4,2 ## @yy_did_buffer_switch_on_eof
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "fatal flex scanner internal error--no action found"
L_.str.1: ## @.str.1
.asciz "out of dynamic memory in yy_create_buffer()"
L_.str.2: ## @.str.2
.asciz "out of dynamic memory in yy_scan_buffer()"
L_.str.3: ## @.str.3
.asciz "out of dynamic memory in yy_scan_bytes()"
L_.str.4: ## @.str.4
.asciz "bad buffer in yy_scan_bytes()"
L_.str.5: ## @.str.5
.asciz "Acceptable\n"
L_.str.6: ## @.str.6
.asciz "Unacceptable\n"
L_.str.7: ## @.str.7
.asciz "fatal flex scanner internal error--end of buffer missed"
L_.str.8: ## @.str.8
.asciz "fatal error - scanner input buffer overflow"
L_.str.9: ## @.str.9
.asciz "input in flex scanner failed"
L_.str.10: ## @.str.10
.asciz "out of dynamic memory in yy_get_next_buffer()"
L_.str.11: ## @.str.11
.asciz "out of dynamic memory in yyensure_buffer_stack()"
.zerofill __DATA,__bss,_yy_buffer_stack_max,8,3 ## @yy_buffer_stack_max
L_.str.12: ## @.str.12
.asciz "%s\n"
.subsections_via_symbols
| the_stack_data/448475.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x1, [sp, #16]
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
ldr x0, [x8]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ERROR: vnconfig(8) has been discontinued\n"
l_.str.1: ; @.str.1
.asciz "\tPlease use mdconfig(8).\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 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
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movq ___stderrp@GOTPCREL(%rip), %rax
movq %rax, -32(%rbp) ## 8-byte Spill
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movb %al, -17(%rbp) ## 1-byte Spill
callq _fprintf
movq -32(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -17(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.1(%rip), %rsi
callq _fprintf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ERROR: vnconfig(8) has been discontinued\n"
L_.str.1: ## @.str.1
.asciz "\tPlease use mdconfig(8).\n"
.subsections_via_symbols
| the_stack_data/541400.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _marks_summation ; -- Begin function marks_summation
.p2align 2
_marks_summation: ; @marks_summation
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str w1, [sp, #20]
strb w2, [sp, #19]
str wzr, [sp, #8]
ldrsb w8, [sp, #19]
subs w8, w8, #98
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_1
LBB0_1:
str wzr, [sp, #12]
b LBB0_2
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_5
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [sp, #8]
ldr x9, [sp, #24]
ldrsw x10, [sp, #12]
ldr w9, [x9, x10, lsl #2]
add w8, w8, w9
str w8, [sp, #8]
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [sp, #12]
add w8, w8, #2
str w8, [sp, #12]
b LBB0_2
LBB0_5:
b LBB0_13
LBB0_6:
ldrsb w8, [sp, #19]
subs w8, w8, #103
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_7
LBB0_7:
mov w8, #1
str w8, [sp, #12]
b LBB0_8
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_11
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [sp, #8]
ldr x9, [sp, #24]
ldrsw x10, [sp, #12]
ldr w9, [x9, x10, lsl #2]
add w8, w8, w9
str w8, [sp, #8]
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [sp, #12]
add w8, w8, #2
str w8, [sp, #12]
b LBB0_8
LBB0_11:
b LBB0_12
LBB0_12:
b LBB0_13
LBB0_13:
ldr w0, [sp, #8]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp 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
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldursw x8, [x29, #-8]
lsl x0, x8, #2
bl _malloc
str x0, [sp, #24]
str wzr, [sp, #20]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB1_1
LBB1_4:
mov x9, sp
sub x8, x29, #9
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr x0, [sp, #24]
ldur w1, [x29, #-8]
ldursb w2, [x29, #-9]
bl _marks_summation
stur w0, [x29, #-16]
ldur w9, [x29, #-16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr x0, [sp, #24]
bl _free
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz " %c"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _marks_summation ## -- Begin function marks_summation
.p2align 4, 0x90
_marks_summation: ## @marks_summation
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %dl, %al
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movb %al, -13(%rbp)
movl $0, -24(%rbp)
movsbl -13(%rbp), %eax
cmpl $98, %eax
jne LBB0_6
## %bb.1:
movl $0, -20(%rbp)
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl -24(%rbp), %eax
movq -8(%rbp), %rcx
movslq -20(%rbp), %rdx
addl (%rcx,%rdx,4), %eax
movl %eax, -24(%rbp)
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movl -20(%rbp), %eax
addl $2, %eax
movl %eax, -20(%rbp)
jmp LBB0_2
LBB0_5:
jmp LBB0_13
LBB0_6:
movsbl -13(%rbp), %eax
cmpl $103, %eax
jne LBB0_12
## %bb.7:
movl $1, -20(%rbp)
LBB0_8: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_11
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movl -24(%rbp), %eax
movq -8(%rbp), %rcx
movslq -20(%rbp), %rdx
addl (%rcx,%rdx,4), %eax
movl %eax, -24(%rbp)
## %bb.10: ## in Loop: Header=BB0_8 Depth=1
movl -20(%rbp), %eax
addl $2, %eax
movl %eax, -20(%rbp)
jmp LBB0_8
LBB0_11:
jmp LBB0_12
LBB0_12:
jmp LBB0_13
LBB0_13:
movl -24(%rbp), %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
subq $32, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movslq -8(%rbp), %rdi
shlq $2, %rdi
callq _malloc
movq %rax, -24(%rbp)
movl $0, -28(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -24(%rbp), %rsi
movslq -28(%rbp), %rax
shlq $2, %rax
addq %rax, %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB1_1
LBB1_4:
leaq L_.str.1(%rip), %rdi
leaq -9(%rbp), %rsi
movb $0, %al
callq _scanf
movq -24(%rbp), %rdi
movl -8(%rbp), %esi
movsbl -9(%rbp), %edx
callq _marks_summation
movl %eax, -16(%rbp)
movl -16(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -24(%rbp), %rdi
callq _free
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz " %c"
.subsections_via_symbols
| the_stack_data/789956.c |
.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, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _state@GOTPAGE
ldr x8, [x8, _state@GOTPAGEOFF]
stur x8, [x29, #-16] ; 8-byte Folded Spill
stur w0, [x29, #-4]
ldursw x9, [x29, #-4]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_1
LBB0_1:
ldur x8, [x29, #-16] ; 8-byte Folded Reload
ldur w9, [x29, #-4]
add w9, w9, #4
mov w11, #5
sdiv w10, w9, w11
mul w10, w10, w11
subs w9, w9, w10
ldr w8, [x8, w9, sxtw #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2:
ldur x8, [x29, #-16] ; 8-byte Folded Reload
ldur w9, [x29, #-4]
add w9, w9, #1
mov w11, #5
sdiv w10, w9, w11
mul w10, w10, w11
subs w9, w9, w10
ldr w8, [x8, w9, sxtw #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldur x9, [x29, #-16] ; 8-byte Folded Reload
ldursw x10, [x29, #-4]
mov w8, #0
str w8, [x9, x10, lsl #2]
ldur w8, [x29, #-4]
add w12, w8, #1
ldur w8, [x29, #-4]
add w8, w8, #4
mov w10, #5
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
add w11, w8, #1
ldur w8, [x29, #-4]
add w10, w8, #1
mov x9, sp
; implicit-def: $x8
mov x8, x12
str x8, [x9]
; implicit-def: $x8
mov x8, x11
str x8, [x9, #8]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldursw x9, [x29, #-4]
adrp x8, _semaphores@GOTPAGE
ldr x8, [x8, _semaphores@GOTPAGEOFF]
add x0, x8, x9, lsl #2
bl _sem_post
b LBB0_4
LBB0_4:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _take_fork ; -- Begin function take_fork
.p2align 2
_take_fork: ; @take_fork
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
adrp x0, _mutex@GOTPAGE
ldr x0, [x0, _mutex@GOTPAGEOFF]
str x0, [sp] ; 8-byte Folded Spill
bl _sem_wait
ldursw x10, [x29, #-4]
adrp x9, _state@GOTPAGE
ldr x9, [x9, _state@GOTPAGEOFF]
mov w8, #1
str w8, [x9, x10, lsl #2]
ldur w0, [x29, #-4]
bl _test
ldr x0, [sp] ; 8-byte Folded Reload
bl _sem_post
ldursw x9, [x29, #-4]
adrp x8, _semaphores@GOTPAGE
ldr x8, [x8, _semaphores@GOTPAGEOFF]
add x0, x8, x9, lsl #2
bl _sem_wait
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _put_fork ; -- Begin function put_fork
.p2align 2
_put_fork: ; @put_fork
.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
stur w0, [x29, #-4]
adrp x0, _mutex@GOTPAGE
ldr x0, [x0, _mutex@GOTPAGEOFF]
str x0, [sp, #16] ; 8-byte Folded Spill
bl _sem_wait
ldursw x10, [x29, #-4]
adrp x9, _state@GOTPAGE
ldr x9, [x9, _state@GOTPAGEOFF]
mov w8, #2
str w8, [x9, x10, lsl #2]
ldur w8, [x29, #-4]
add w8, w8, #4
mov w10, #5
str w10, [sp, #12] ; 4-byte Folded Spill
sdiv w9, w8, w10
mul w9, w9, w10
subs w0, w8, w9
bl _test
ldr w10, [sp, #12] ; 4-byte Folded Reload
ldur w8, [x29, #-4]
add w8, w8, #1
sdiv w9, w8, w10
mul w9, w9, w10
subs w0, w8, w9
bl _test
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _sem_post
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _philospher ; -- Begin function philospher
.p2align 2
_philospher: ; @philospher
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
str x8, [sp]
ldr x8, [sp]
ldr w0, [x8]
bl _take_fork
ldr x8, [sp]
ldr w0, [x8]
bl _put_fork
mov x0, #0
bl _pthread_exit
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
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
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
mov w8, #0
str w8, [sp, #24] ; 4-byte Folded Spill
str wzr, [sp, #44]
mov x9, sp
adrp x8, l_.str.2@PAGE
add x8, x8, l_.str.2@PAGEOFF
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr w1, [sp, #24] ; 4-byte Folded Reload
adrp x0, _mutex@GOTPAGE
ldr x0, [x0, _mutex@GOTPAGEOFF]
mov w2, #1
bl _sem_init
adrp x8, l___const.main.philosophers@PAGE
add x8, x8, l___const.main.philosophers@PAGEOFF
ldr q0, [x8]
str q0, [sp, #48]
ldr w8, [x8, #16]
str w8, [sp, #64]
str wzr, [sp, #40]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #40]
subs w8, w8, #5
cset w8, ge
tbnz w8, #0, LBB4_4
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldrsw x9, [sp, #40]
adrp x8, _semaphores@GOTPAGE
ldr x8, [x8, _semaphores@GOTPAGEOFF]
add x0, x8, x9, lsl #2
mov w2, #0
mov x1, x2
bl _sem_init
b LBB4_3
LBB4_3: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB4_1
LBB4_4:
str wzr, [sp, #36]
b LBB4_5
LBB4_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #36]
subs w8, w8, #5
cset w8, ge
tbnz w8, #0, LBB4_10
b LBB4_6
LBB4_6: ; in Loop: Header=BB4_5 Depth=1
ldrsw x9, [sp, #36]
sub x8, x29, #48
add x0, x8, x9, lsl #3
ldrsw x9, [sp, #36]
add x8, sp, #48
add x3, x8, x9, lsl #2
mov x1, #0
adrp x2, _philospher@PAGE
add x2, x2, _philospher@PAGEOFF
bl _pthread_create
str w0, [sp, #32]
ldr w8, [sp, #32]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_8
b LBB4_7
LBB4_7:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _perror
mov w8, #1
str w8, [sp, #44]
b LBB4_15
LBB4_8: ; in Loop: Header=BB4_5 Depth=1
b LBB4_9
LBB4_9: ; in Loop: Header=BB4_5 Depth=1
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB4_5
LBB4_10:
str wzr, [sp, #28]
b LBB4_11
LBB4_11: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
subs w8, w8, #5
cset w8, ge
tbnz w8, #0, LBB4_14
b LBB4_12
LBB4_12: ; in Loop: Header=BB4_11 Depth=1
ldrsw x9, [sp, #28]
sub x8, x29, #48
ldr x0, [x8, x9, lsl #3]
mov x1, #0
bl _pthread_join
b LBB4_13
LBB4_13: ; in Loop: Header=BB4_11 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB4_11
LBB4_14:
str wzr, [sp, #44]
b LBB4_15
LBB4_15:
ldr w8, [sp, #44]
str w8, [sp, #20] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB4_17
b LBB4_16
LBB4_16:
bl ___stack_chk_fail
LBB4_17:
ldr w0, [sp, #20] ; 4-byte Folded Reload
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.comm _state,20,2 ; @state
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "P%d recieves F%d, F%d\n"
.comm _semaphores,20,2 ; @semaphores
.comm _mutex,4,2 ; @mutex
l_.str.1: ; @.str.1
.asciz "Hello Workd %s\n"
l_.str.2: ; @.str.2
.asciz "the_stack_data/1056646.c"
.section __TEXT,__const
.p2align 2 ; @__const.main.philosophers
l___const.main.philosophers:
.long 0 ; 0x0
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
.long 4 ; 0x4
.section __TEXT,__cstring,cstring_literals
l_.str.3: ; @.str.3
.asciz "pthread_create"
.subsections_via_symbols
| .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
subq $16, %rsp
movl %edi, -4(%rbp)
movslq -4(%rbp), %rcx
movq _state@GOTPCREL(%rip), %rax
cmpl $1, (%rax,%rcx,4)
jne LBB0_4
## %bb.1:
movl -4(%rbp), %eax
addl $4, %eax
movl $5, %ecx
cltd
idivl %ecx
movslq %edx, %rcx
movq _state@GOTPCREL(%rip), %rax
cmpl $0, (%rax,%rcx,4)
je LBB0_4
## %bb.2:
movl -4(%rbp), %eax
addl $1, %eax
movl $5, %ecx
cltd
idivl %ecx
movslq %edx, %rcx
movq _state@GOTPCREL(%rip), %rax
cmpl $0, (%rax,%rcx,4)
je LBB0_4
## %bb.3:
movslq -4(%rbp), %rcx
movq _state@GOTPCREL(%rip), %rax
movl $0, (%rax,%rcx,4)
movl -4(%rbp), %esi
addl $1, %esi
movl -4(%rbp), %eax
addl $4, %eax
movl $5, %ecx
cltd
idivl %ecx
addl $1, %edx
movl -4(%rbp), %ecx
addl $1, %ecx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movslq -4(%rbp), %rax
movq _semaphores@GOTPCREL(%rip), %rdi
shlq $2, %rax
addq %rax, %rdi
callq _sem_post
LBB0_4:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _take_fork ## -- Begin function take_fork
.p2align 4, 0x90
_take_fork: ## @take_fork
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movq _mutex@GOTPCREL(%rip), %rdi
callq _sem_wait
movslq -4(%rbp), %rcx
movq _state@GOTPCREL(%rip), %rax
movl $1, (%rax,%rcx,4)
movl -4(%rbp), %edi
callq _test
movq _mutex@GOTPCREL(%rip), %rdi
callq _sem_post
movslq -4(%rbp), %rax
movq _semaphores@GOTPCREL(%rip), %rdi
shlq $2, %rax
addq %rax, %rdi
callq _sem_wait
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _put_fork ## -- Begin function put_fork
.p2align 4, 0x90
_put_fork: ## @put_fork
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movq _mutex@GOTPCREL(%rip), %rdi
callq _sem_wait
movslq -4(%rbp), %rcx
movq _state@GOTPCREL(%rip), %rax
movl $2, (%rax,%rcx,4)
movl -4(%rbp), %eax
addl $4, %eax
movl $5, %ecx
cltd
idivl %ecx
movl %edx, %edi
callq _test
movl -4(%rbp), %eax
addl $1, %eax
movl $5, %ecx
cltd
idivl %ecx
movl %edx, %edi
callq _test
movq _mutex@GOTPCREL(%rip), %rdi
callq _sem_post
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _philospher ## -- Begin function philospher
.p2align 4, 0x90
_philospher: ## @philospher
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movl (%rax), %edi
callq _take_fork
movq -16(%rbp), %rax
movl (%rax), %edi
callq _put_fork
xorl %eax, %eax
movl %eax, %edi
callq _pthread_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
subq $112, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -84(%rbp)
leaq L_.str.1(%rip), %rdi
leaq L_.str.2(%rip), %rsi
movb $0, %al
callq _printf
movq _mutex@GOTPCREL(%rip), %rdi
xorl %esi, %esi
movl $1, %edx
callq _sem_init
movq l___const.main.philosophers(%rip), %rax
movq %rax, -80(%rbp)
movq l___const.main.philosophers+8(%rip), %rax
movq %rax, -72(%rbp)
movl l___const.main.philosophers+16(%rip), %eax
movl %eax, -64(%rbp)
movl $0, -88(%rbp)
LBB4_1: ## =>This Inner Loop Header: Depth=1
cmpl $5, -88(%rbp)
jge LBB4_4
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movslq -88(%rbp), %rax
movq _semaphores@GOTPCREL(%rip), %rdi
shlq $2, %rax
addq %rax, %rdi
xorl %edx, %edx
movl %edx, %esi
callq _sem_init
## %bb.3: ## in Loop: Header=BB4_1 Depth=1
movl -88(%rbp), %eax
addl $1, %eax
movl %eax, -88(%rbp)
jmp LBB4_1
LBB4_4:
movl $0, -92(%rbp)
LBB4_5: ## =>This Inner Loop Header: Depth=1
cmpl $5, -92(%rbp)
jge LBB4_10
## %bb.6: ## in Loop: Header=BB4_5 Depth=1
movslq -92(%rbp), %rax
leaq -48(%rbp), %rdi
shlq $3, %rax
addq %rax, %rdi
movslq -92(%rbp), %rax
leaq -80(%rbp), %rcx
shlq $2, %rax
addq %rax, %rcx
xorl %eax, %eax
movl %eax, %esi
leaq _philospher(%rip), %rdx
callq _pthread_create
movl %eax, -96(%rbp)
cmpl $0, -96(%rbp)
je LBB4_8
## %bb.7:
leaq L_.str.3(%rip), %rdi
callq _perror
movl $1, -84(%rbp)
jmp LBB4_15
LBB4_8: ## in Loop: Header=BB4_5 Depth=1
jmp LBB4_9
LBB4_9: ## in Loop: Header=BB4_5 Depth=1
movl -92(%rbp), %eax
addl $1, %eax
movl %eax, -92(%rbp)
jmp LBB4_5
LBB4_10:
movl $0, -100(%rbp)
LBB4_11: ## =>This Inner Loop Header: Depth=1
cmpl $5, -100(%rbp)
jge LBB4_14
## %bb.12: ## in Loop: Header=BB4_11 Depth=1
movslq -100(%rbp), %rax
movq -48(%rbp,%rax,8), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _pthread_join
## %bb.13: ## in Loop: Header=BB4_11 Depth=1
movl -100(%rbp), %eax
addl $1, %eax
movl %eax, -100(%rbp)
jmp LBB4_11
LBB4_14:
movl $0, -84(%rbp)
LBB4_15:
movl -84(%rbp), %eax
movl %eax, -104(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB4_17
## %bb.16:
movl -104(%rbp), %eax ## 4-byte Reload
addq $112, %rsp
popq %rbp
retq
LBB4_17:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.comm _state,20,4 ## @state
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "P%d recieves F%d, F%d\n"
.comm _semaphores,20,4 ## @semaphores
.comm _mutex,4,2 ## @mutex
L_.str.1: ## @.str.1
.asciz "Hello Workd %s\n"
L_.str.2: ## @.str.2
.asciz "the_stack_data/1056646.c"
.section __TEXT,__const
.p2align 4 ## @__const.main.philosophers
l___const.main.philosophers:
.long 0 ## 0x0
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
.long 4 ## 0x4
.section __TEXT,__cstring,cstring_literals
L_.str.3: ## @.str.3
.asciz "pthread_create"
.subsections_via_symbols
| the_stack_data/1056646.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
adrp x8, _bar@GOTPAGE
ldr x8, [x8, _bar@GOTPAGEOFF]
ldr x8, [x8]
fmov d0, #2.00000000
blr x8
ldur w8, [x29, #-4]
add w8, w0, w8
add w0, w8, #1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _bar,8,3 ; @bar
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function foo
LCPI0_0:
.quad 0x4000000000000000 ## double 2
.section __TEXT,__text,regular,pure_instructions
.globl _foo
.p2align 4, 0x90
_foo: ## @foo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movq _bar@GOTPCREL(%rip), %rax
callq *(%rax)
addl -4(%rbp), %eax
addl $1, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _bar,8,3 ## @bar
.subsections_via_symbols
| the_stack_data/11659.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cksum ; -- Begin function cksum
.p2align 2
_cksum: ; @cksum
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
ldr x8, [sp, #16]
and x8, x8, #0xfffffffffffffffe
str x8, [sp, #16]
str xzr, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
ldrh w8, [x8]
mov x9, x8
ldr x8, [sp, #8]
eor x8, x8, x9
str x8, [sp, #8]
ldr x8, [sp, #24]
add x8, x8, #2
str x8, [sp, #24]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #16]
subs x8, x8, #2
str x8, [sp, #16]
b LBB0_1
LBB0_4:
ldr x0, [sp, #8]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cksum ## -- Begin function cksum
.p2align 4, 0x90
_cksum: ## @cksum
.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, -8(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rax
andq $-2, %rax
movq %rax, -16(%rbp)
movq $0, -24(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -16(%rbp)
je LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movzwl (%rax), %eax
## kill: def $rax killed $eax
xorq -24(%rbp), %rax
movq %rax, -24(%rbp)
movq -8(%rbp), %rax
addq $2, %rax
movq %rax, -8(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
subq $2, %rax
movq %rax, -16(%rbp)
jmp LBB0_1
LBB0_4:
movq -24(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/32949399.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _insertVal ; -- Begin function insertVal
.p2align 2
_insertVal: ; @insertVal
.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
stur w0, [x29, #-4]
str x1, [sp, #16]
mov x0, #16
bl _malloc
str x0, [sp, #8]
ldur w8, [x29, #-4]
ldr x9, [sp, #8]
str w8, [x9]
ldr x8, [sp, #16]
ldr x9, [sp, #8]
str x8, [x9, #8]
ldr x0, [sp, #8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _freeList ; -- Begin function freeList
.p2align 2
_freeList: ; @freeList
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8, #8]
str x8, [sp]
ldr x0, [sp, #8]
bl _free
ldr x8, [sp]
str x8, [sp, #8]
b LBB1_1
LBB1_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _reverseList ; -- Begin function reverseList
.p2align 2
_reverseList: ; @reverseList
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
; kill: def $x8 killed $xzr
str xzr, [sp, #16]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #24]
ldr x8, [x8, #8]
str x8, [sp, #8]
ldr x8, [sp, #16]
ldr x9, [sp, #24]
str x8, [x9, #8]
ldr x8, [sp, #24]
str x8, [sp, #16]
ldr x8, [sp, #8]
str x8, [sp, #24]
b LBB2_1
LBB2_3:
ldr x0, [sp, #16]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _printList ; -- Begin function printList
.p2align 2
_printList: ; @printList
.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
stur x0, [x29, #-8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur x8, [x29, #-8]
str x8, [sp, #16]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB3_6
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #16]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr x8, [sp, #16]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB3_4
LBB3_4: ; in Loop: Header=BB3_1 Depth=1
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #16]
ldr x8, [x8, #8]
str x8, [sp, #16]
b LBB3_1
LBB3_6:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _fromArray ; -- Begin function fromArray
.p2align 2
_fromArray: ; @fromArray
.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
stur x0, [x29, #-8]
stur w1, [x29, #-12]
; kill: def $x8 killed $xzr
str xzr, [sp, #8]
ldur w8, [x29, #-12]
subs w8, w8, #1
str w8, [sp, #4]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB4_4
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #4]
ldr w0, [x8, x9, lsl #2]
ldr x1, [sp, #8]
bl _insertVal
str x0, [sp, #8]
b LBB4_3
LBB4_3: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp, #4]
subs w8, w8, #1
str w8, [sp, #4]
b LBB4_1
LBB4_4:
ldr x0, [sp, #8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _removeElements ; -- Begin function removeElements
.p2align 2
_removeElements: ; @removeElements
.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
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str x8, [sp, #8]
b LBB5_1
LBB5_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB5_6
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8]
ldr w8, [x8]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB5_4
b LBB5_3
LBB5_3: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8]
ldr x8, [x8, #8]
str x8, [sp]
ldr x8, [sp, #8]
ldr x0, [x8]
bl _free
ldr x8, [sp]
ldr x9, [sp, #8]
str x8, [x9]
b LBB5_5
LBB5_4: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8]
add x8, x8, #8
str x8, [sp, #8]
b LBB5_5
LBB5_5: ; in Loop: Header=BB5_1 Depth=1
b LBB5_1
LBB5_6:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _removeElementsRec ; -- Begin function removeElementsRec
.p2align 2
_removeElementsRec: ; @removeElementsRec
.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
str x0, [sp, #16]
str w1, [sp, #12]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB6_2
b LBB6_1
LBB6_1:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB6_5
LBB6_2:
ldr x8, [sp, #16]
ldr w8, [x8]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB6_4
b LBB6_3
LBB6_3:
ldr x8, [sp, #16]
ldr x8, [x8, #8]
str x8, [sp]
ldr x0, [sp, #16]
bl _free
ldr x0, [sp]
ldr w1, [sp, #12]
bl _removeElementsRec
stur x0, [x29, #-8]
b LBB6_5
LBB6_4:
ldr x8, [sp, #16]
ldr x0, [x8, #8]
ldr w1, [sp, #12]
bl _removeElementsRec
ldr x8, [sp, #16]
str x0, [x8, #8]
ldr x8, [sp, #16]
stur x8, [x29, #-8]
b LBB6_5
LBB6_5:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _removeElements2 ; -- Begin function removeElements2
.p2align 2
_removeElements2: ; @removeElements2
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
add x8, sp, #16
str wzr, [sp, #16]
ldur x9, [x29, #-8]
str x9, [sp, #24]
str x8, [sp, #8]
ldur x8, [x29, #-8]
str x8, [sp]
b LBB7_1
LBB7_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_6
b LBB7_2
LBB7_2: ; in Loop: Header=BB7_1 Depth=1
ldr x8, [sp]
ldr w8, [x8]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB7_4
b LBB7_3
LBB7_3: ; in Loop: Header=BB7_1 Depth=1
ldr x8, [sp]
ldr x8, [x8, #8]
ldr x9, [sp, #8]
str x8, [x9, #8]
ldr x0, [sp]
bl _free
ldr x8, [sp, #8]
ldr x8, [x8, #8]
str x8, [sp]
b LBB7_5
LBB7_4: ; in Loop: Header=BB7_1 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8, #8]
str x8, [sp, #8]
ldr x8, [sp]
ldr x8, [x8, #8]
str x8, [sp]
b LBB7_5
LBB7_5: ; in Loop: Header=BB7_1 Depth=1
b LBB7_1
LBB7_6:
ldr x0, [sp, #24]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
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 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
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #28]
str w0, [sp, #24]
str x1, [sp, #16]
adrp x8, l___const.main.xs@PAGE
add x8, x8, l___const.main.xs@PAGEOFF
ldr q0, [x8]
add x0, sp, #32
str q0, [sp, #32]
ldur q0, [x8, #12]
stur q0, [x0, #12]
mov w1, #7
bl _fromArray
mov w1, #6
bl _removeElements
str x0, [sp, #8]
ldr x0, [sp, #8]
bl _printList
ldr x0, [sp, #8]
bl _freeList
mov x9, sp
mov x8, #4
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov x9, sp
mov x8, #8
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov x9, sp
mov x8, #16
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB8_2
b LBB8_1
LBB8_1:
bl ___stack_chk_fail
LBB8_2:
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "["
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz ", "
l_.str.3: ; @.str.3
.asciz "]\n"
.section __TEXT,__const
.p2align 2 ; @__const.main.xs
l___const.main.xs:
.long 1 ; 0x1
.long 2 ; 0x2
.long 6 ; 0x6
.long 3 ; 0x3
.long 4 ; 0x4
.long 5 ; 0x5
.long 6 ; 0x6
.section __TEXT,__cstring,cstring_literals
l_.str.4: ; @.str.4
.asciz "sizeof int: %lu\n"
l_.str.5: ; @.str.5
.asciz "sizeof Node*: %lu\n"
l_.str.6: ; @.str.6
.asciz "sizeof Node: %lu\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _insertVal ## -- Begin function insertVal
.p2align 4, 0x90
_insertVal: ## @insertVal
.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
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movl $16, %edi
callq _malloc
movq %rax, -24(%rbp)
movl -4(%rbp), %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
movq -16(%rbp), %rcx
movq -24(%rbp), %rax
movq %rcx, 8(%rax)
movq -24(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _freeList ## -- Begin function freeList
.p2align 4, 0x90
_freeList: ## @freeList
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -8(%rbp)
je LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -16(%rbp)
movq -8(%rbp), %rdi
callq _free
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB1_1
LBB1_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _reverseList ## -- Begin function reverseList
.p2align 4, 0x90
_reverseList: ## @reverseList
.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, -8(%rbp)
movq $0, -16(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -8(%rbp)
je LBB2_3
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -24(%rbp)
movq -16(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, 8(%rax)
movq -8(%rbp), %rax
movq %rax, -16(%rbp)
movq -24(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB2_1
LBB2_3:
movq -16(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _printList ## -- Begin function printList
.p2align 4, 0x90
_printList: ## @printList
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movq %rax, -16(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -16(%rbp)
je LBB3_6
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq -16(%rbp), %rax
cmpq $0, 8(%rax)
je LBB3_4
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB3_4: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_5
LBB3_5: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -16(%rbp)
jmp LBB3_1
LBB3_6:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _fromArray ## -- Begin function fromArray
.p2align 4, 0x90
_fromArray: ## @fromArray
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq $0, -24(%rbp)
movl -12(%rbp), %eax
subl $1, %eax
movl %eax, -28(%rbp)
LBB4_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -28(%rbp)
jl LBB4_4
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
movl (%rax,%rcx,4), %edi
movq -24(%rbp), %rsi
callq _insertVal
movq %rax, -24(%rbp)
## %bb.3: ## in Loop: Header=BB4_1 Depth=1
movl -28(%rbp), %eax
addl $-1, %eax
movl %eax, -28(%rbp)
jmp LBB4_1
LBB4_4:
movq -24(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _removeElements ## -- Begin function removeElements
.p2align 4, 0x90
_removeElements: ## @removeElements
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
leaq -8(%rbp), %rax
movq %rax, -24(%rbp)
LBB5_1: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
cmpq $0, (%rax)
je LBB5_6
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
movq -24(%rbp), %rax
movq (%rax), %rax
movl (%rax), %eax
cmpl -12(%rbp), %eax
jne LBB5_4
## %bb.3: ## in Loop: Header=BB5_1 Depth=1
movq -24(%rbp), %rax
movq (%rax), %rax
movq 8(%rax), %rax
movq %rax, -32(%rbp)
movq -24(%rbp), %rax
movq (%rax), %rdi
callq _free
movq -32(%rbp), %rcx
movq -24(%rbp), %rax
movq %rcx, (%rax)
jmp LBB5_5
LBB5_4: ## in Loop: Header=BB5_1 Depth=1
movq -24(%rbp), %rax
movq (%rax), %rax
addq $8, %rax
movq %rax, -24(%rbp)
LBB5_5: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_1
LBB5_6:
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _removeElementsRec ## -- Begin function removeElementsRec
.p2align 4, 0x90
_removeElementsRec: ## @removeElementsRec
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
cmpq $0, -16(%rbp)
jne LBB6_2
## %bb.1:
movq $0, -8(%rbp)
jmp LBB6_5
LBB6_2:
movq -16(%rbp), %rax
movl (%rax), %eax
cmpl -20(%rbp), %eax
jne LBB6_4
## %bb.3:
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -32(%rbp)
movq -16(%rbp), %rdi
callq _free
movq -32(%rbp), %rdi
movl -20(%rbp), %esi
callq _removeElementsRec
movq %rax, -8(%rbp)
jmp LBB6_5
LBB6_4:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
movl -20(%rbp), %esi
callq _removeElementsRec
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
LBB6_5:
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _removeElements2 ## -- Begin function removeElements2
.p2align 4, 0x90
_removeElements2: ## @removeElements2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $0, -32(%rbp)
movq -8(%rbp), %rax
movq %rax, -24(%rbp)
leaq -32(%rbp), %rax
movq %rax, -40(%rbp)
movq -8(%rbp), %rax
movq %rax, -48(%rbp)
LBB7_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -48(%rbp)
je LBB7_6
## %bb.2: ## in Loop: Header=BB7_1 Depth=1
movq -48(%rbp), %rax
movl (%rax), %eax
cmpl -12(%rbp), %eax
jne LBB7_4
## %bb.3: ## in Loop: Header=BB7_1 Depth=1
movq -48(%rbp), %rax
movq 8(%rax), %rcx
movq -40(%rbp), %rax
movq %rcx, 8(%rax)
movq -48(%rbp), %rdi
callq _free
movq -40(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -48(%rbp)
jmp LBB7_5
LBB7_4: ## in Loop: Header=BB7_1 Depth=1
movq -40(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -40(%rbp)
movq -48(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -48(%rbp)
LBB7_5: ## in Loop: Header=BB7_1 Depth=1
jmp LBB7_1
LBB7_6:
movq -24(%rbp), %rax
addq $48, %rsp
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 $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -52(%rbp)
movl %edi, -56(%rbp)
movq %rsi, -64(%rbp)
movq l___const.main.xs(%rip), %rax
movq %rax, -48(%rbp)
movq l___const.main.xs+8(%rip), %rax
movq %rax, -40(%rbp)
movq l___const.main.xs+16(%rip), %rax
movq %rax, -32(%rbp)
movl l___const.main.xs+24(%rip), %eax
movl %eax, -24(%rbp)
leaq -48(%rbp), %rdi
movl $7, %esi
callq _fromArray
movq %rax, %rdi
movl $6, %esi
callq _removeElements
movq %rax, -72(%rbp)
movq -72(%rbp), %rdi
callq _printList
movq -72(%rbp), %rdi
callq _freeList
leaq L_.str.4(%rip), %rdi
movl $4, %esi
movb $0, %al
callq _printf
leaq L_.str.5(%rip), %rdi
movl $8, %esi
movb $0, %al
callq _printf
leaq L_.str.6(%rip), %rdi
movl $16, %esi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB8_2
## %bb.1:
xorl %eax, %eax
addq $80, %rsp
popq %rbp
retq
LBB8_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "["
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz ", "
L_.str.3: ## @.str.3
.asciz "]\n"
.section __TEXT,__const
.p2align 4 ## @__const.main.xs
l___const.main.xs:
.long 1 ## 0x1
.long 2 ## 0x2
.long 6 ## 0x6
.long 3 ## 0x3
.long 4 ## 0x4
.long 5 ## 0x5
.long 6 ## 0x6
.section __TEXT,__cstring,cstring_literals
L_.str.4: ## @.str.4
.asciz "sizeof int: %lu\n"
L_.str.5: ## @.str.5
.asciz "sizeof Node*: %lu\n"
L_.str.6: ## @.str.6
.asciz "sizeof Node: %lu\n"
.subsections_via_symbols
| the_stack_data/118060.c |
.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, #112
.cfi_def_cfa_offset 112
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
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
mov w8, #65
str w8, [sp, #52]
ldr w8, [sp, #52]
strb w8, [sp, #38]
adrp x8, l___const.test.b@PAGE
add x8, x8, l___const.test.b@PAGEOFF
ldr q0, [x8]
str q0, [sp, #16]
ldr w8, [sp, #16]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov w8, #1
str w8, [sp, #12]
b LBB0_9
LBB0_2:
ldr w8, [sp, #20]
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
mov w8, #1
str w8, [sp, #12]
b LBB0_9
LBB0_4:
ldr w8, [sp, #24]
subs w8, w8, #5
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
mov w8, #1
str w8, [sp, #12]
b LBB0_9
LBB0_6:
ldr w8, [sp, #28]
subs w8, w8, #12
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
mov w8, #1
str w8, [sp, #12]
b LBB0_9
LBB0_8:
str wzr, [sp, #12]
b LBB0_9
LBB0_9:
ldr w8, [sp, #12]
str w8, [sp, #8] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
bl ___stack_chk_fail
LBB0_11:
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 2 ; @__const.test.b
l___const.test.b:
.long 1 ; 0x1
.long 3 ; 0x3
.long 5 ; 0x5
.long 12 ; 0xc
.subsections_via_symbols
| .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
subq $96, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $65, -44(%rbp)
movl -44(%rbp), %eax
## kill: def $al killed $al killed $eax
movb %al, -58(%rbp)
movq L___const.test.b(%rip), %rax
movq %rax, -80(%rbp)
movq L___const.test.b+8(%rip), %rax
movq %rax, -72(%rbp)
cmpl $1, -80(%rbp)
je LBB0_2
## %bb.1:
movl $1, -84(%rbp)
jmp LBB0_9
LBB0_2:
cmpl $3, -76(%rbp)
je LBB0_4
## %bb.3:
movl $1, -84(%rbp)
jmp LBB0_9
LBB0_4:
cmpl $5, -72(%rbp)
je LBB0_6
## %bb.5:
movl $1, -84(%rbp)
jmp LBB0_9
LBB0_6:
cmpl $12, -68(%rbp)
je LBB0_8
## %bb.7:
movl $1, -84(%rbp)
jmp LBB0_9
LBB0_8:
movl $0, -84(%rbp)
LBB0_9:
movl -84(%rbp), %eax
movl %eax, -88(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_11
## %bb.10:
movl -88(%rbp), %eax ## 4-byte Reload
addq $96, %rsp
popq %rbp
retq
LBB0_11:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## @__const.test.b
L___const.test.b:
.long 1 ## 0x1
.long 3 ## 0x3
.long 5 ## 0x5
.long 12 ## 0xc
.subsections_via_symbols
| the_stack_data/296047.c |
.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, #160
.cfi_def_cfa_offset 160
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
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-44]
stur w0, [x29, #-48]
stur x1, [x29, #-56]
ldur w8, [x29, #-48]
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-44]
b LBB0_20
LBB0_2:
mov w8, #1
stur w8, [x29, #-60]
stur xzr, [x29, #-24]
sturh wzr, [x29, #-16]
ldur x8, [x29, #-56]
ldr x0, [x8, #8]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
str x0, [sp, #72]
ldur x8, [x29, #-56]
ldr x0, [x8, #16]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fopen
str x0, [sp, #64]
ldr x8, [sp, #72]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-44]
b LBB0_20
LBB0_4:
ldr x8, [sp, #64]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-44]
b LBB0_20
LBB0_6:
b LBB0_7
LBB0_7:
b LBB0_8
LBB0_8: ; =>This Loop Header: Depth=1
; Child Loop BB0_12 Depth 2
ldr x0, [sp, #72]
bl _feof
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_19
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_8 Depth=1
stur xzr, [x29, #-40]
sturh wzr, [x29, #-32]
ldr x2, [sp, #72]
sub x0, x29, #24
mov w1, #10
bl _fgets
str x0, [sp, #56]
ldr x8, [sp, #56]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
b LBB0_19
LBB0_11: ; in Loop: Header=BB0_8 Depth=1
ldur w9, [x29, #-60]
; implicit-def: $x8
mov x8, x9
mov x9, x8
add w9, w9, #1
stur w9, [x29, #-60]
mov x9, sp
str x8, [x9]
sub x0, x29, #40
str x0, [sp, #48] ; 8-byte Folded Spill
mov w1, #0
mov x2, #10
adrp x3, l_.str.5@PAGE
add x3, x3, l_.str.5@PAGEOFF
bl ___sprintf_chk
ldr x0, [sp, #48] ; 8-byte Folded Reload
ldr x1, [sp, #64]
bl _fputs
b LBB0_12
LBB0_12: ; Parent Loop BB0_8 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #56]
subs x8, x8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #44] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_12 Depth=2
sub x0, x29, #24
str x0, [sp, #32] ; 8-byte Folded Spill
bl _strlen
ldr x8, [sp, #32] ; 8-byte Folded Reload
subs x9, x0, #1
ldrsb w8, [x8, x9]
subs w8, w8, #10
cset w8, ne
str w8, [sp, #44] ; 4-byte Folded Spill
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_12 Depth=2
ldr w8, [sp, #44] ; 4-byte Folded Reload
tbz w8, #0, LBB0_16
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_12 Depth=2
ldr x1, [sp, #64]
sub x0, x29, #24
str x0, [sp, #24] ; 8-byte Folded Spill
bl _fputs
ldr x0, [sp, #24] ; 8-byte Folded Reload
ldr x2, [sp, #72]
mov w1, #10
bl _fgets
str x0, [sp, #56]
b LBB0_12
LBB0_16: ; in Loop: Header=BB0_8 Depth=1
ldr x8, [sp, #56]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
ldr x8, [sp, #56]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_8 Depth=1
ldr x1, [sp, #64]
sub x0, x29, #24
bl _fputs
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_8 Depth=1
b LBB0_8
LBB0_19:
ldr x0, [sp, #72]
bl _fclose
ldr x0, [sp, #64]
bl _fclose
stur wzr, [x29, #-44]
b LBB0_20
LBB0_20:
ldur w8, [x29, #-44]
str w8, [sp, #20] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_22
b LBB0_21
LBB0_21:
bl ___stack_chk_fail
LBB0_22:
ldr w0, [sp, #20] ; 4-byte Folded Reload
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #160
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "USAGE: copy_ln SRC_FILE DEST_FILE\n"
l_.str.1: ; @.str.1
.asciz "r"
l_.str.2: ; @.str.2
.asciz "w"
l_.str.3: ; @.str.3
.asciz "Could not open source file for reading.\n"
l_.str.4: ; @.str.4
.asciz "Could not open destination file for writing.\n"
l_.str.5: ; @.str.5
.asciz "%d: "
l_.str.6: ; @.str.6
.asciz "[DEBUG] read_result = %p\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 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 $96, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -32(%rbp)
movl %edi, -36(%rbp)
movq %rsi, -48(%rbp)
cmpl $3, -36(%rbp)
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -32(%rbp)
jmp LBB0_20
LBB0_2:
movl $1, -52(%rbp)
leaq -18(%rbp), %rdi
xorl %esi, %esi
movl $10, %edx
callq _memset
movq -48(%rbp), %rax
movq 8(%rax), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -64(%rbp)
movq -48(%rbp), %rax
movq 16(%rax), %rdi
leaq L_.str.2(%rip), %rsi
callq _fopen
movq %rax, -72(%rbp)
cmpq $0, -64(%rbp)
jne LBB0_4
## %bb.3:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -32(%rbp)
jmp LBB0_20
LBB0_4:
cmpq $0, -72(%rbp)
jne LBB0_6
## %bb.5:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -32(%rbp)
jmp LBB0_20
LBB0_6:
jmp LBB0_7
LBB0_7:
jmp LBB0_8
LBB0_8: ## =>This Loop Header: Depth=1
## Child Loop BB0_12 Depth 2
movq -64(%rbp), %rdi
callq _feof
cmpl $0, %eax
setne %al
xorb $-1, %al
testb $1, %al
jne LBB0_9
jmp LBB0_19
LBB0_9: ## in Loop: Header=BB0_8 Depth=1
leaq -28(%rbp), %rdi
xorl %esi, %esi
movl $10, %edx
callq _memset
leaq -18(%rbp), %rdi
movq -64(%rbp), %rdx
movl $10, %esi
callq _fgets
movq %rax, -80(%rbp)
cmpq $0, -80(%rbp)
jne LBB0_11
## %bb.10:
jmp LBB0_19
LBB0_11: ## in Loop: Header=BB0_8 Depth=1
leaq -28(%rbp), %rdi
movl -52(%rbp), %r8d
movl %r8d, %eax
addl $1, %eax
movl %eax, -52(%rbp)
xorl %esi, %esi
movl $10, %edx
leaq L_.str.5(%rip), %rcx
movb $0, %al
callq ___sprintf_chk
leaq -28(%rbp), %rdi
movq -72(%rbp), %rsi
callq _fputs
LBB0_12: ## Parent Loop BB0_8 Depth=1
## => This Inner Loop Header: Depth=2
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq $0, -80(%rbp)
movb %al, -81(%rbp) ## 1-byte Spill
je LBB0_14
## %bb.13: ## in Loop: Header=BB0_12 Depth=2
leaq -18(%rbp), %rdi
callq _strlen
subq $1, %rax
movsbl -18(%rbp,%rax), %eax
cmpl $10, %eax
setne %al
movb %al, -81(%rbp) ## 1-byte Spill
LBB0_14: ## in Loop: Header=BB0_12 Depth=2
movb -81(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_15
jmp LBB0_16
LBB0_15: ## in Loop: Header=BB0_12 Depth=2
leaq -18(%rbp), %rdi
movq -72(%rbp), %rsi
callq _fputs
leaq -18(%rbp), %rdi
movq -64(%rbp), %rdx
movl $10, %esi
callq _fgets
movq %rax, -80(%rbp)
jmp LBB0_12
LBB0_16: ## in Loop: Header=BB0_8 Depth=1
movq -80(%rbp), %rsi
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
cmpq $0, -80(%rbp)
je LBB0_18
## %bb.17: ## in Loop: Header=BB0_8 Depth=1
leaq -18(%rbp), %rdi
movq -72(%rbp), %rsi
callq _fputs
LBB0_18: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_8
LBB0_19:
movq -64(%rbp), %rdi
callq _fclose
movq -72(%rbp), %rdi
callq _fclose
movl $0, -32(%rbp)
LBB0_20:
movl -32(%rbp), %eax
movl %eax, -88(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_22
## %bb.21:
movl -88(%rbp), %eax ## 4-byte Reload
addq $96, %rsp
popq %rbp
retq
LBB0_22:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "USAGE: copy_ln SRC_FILE DEST_FILE\n"
L_.str.1: ## @.str.1
.asciz "r"
L_.str.2: ## @.str.2
.asciz "w"
L_.str.3: ## @.str.3
.asciz "Could not open source file for reading.\n"
L_.str.4: ## @.str.4
.asciz "Could not open destination file for writing.\n"
L_.str.5: ## @.str.5
.asciz "%d: "
L_.str.6: ## @.str.6
.asciz "[DEBUG] read_result = %p\n"
.subsections_via_symbols
| the_stack_data/277689.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub sp, sp, #96
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-12]
sub sp, sp, #16
mov x9, sp
sub x8, x29, #16
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
add sp, sp, #16
ldur w8, [x29, #-16]
; kill: def $x8 killed $w8
mov x9, sp
stur x9, [x29, #-24]
lsl x9, x8, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-72] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-72] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
stur x9, [x29, #-64] ; 8-byte Folded Spill
stur x8, [x29, #-32]
stur wzr, [x29, #-36]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-36]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-64] ; 8-byte Folded Reload
ldursw x9, [x29, #-36]
add x8, x8, x9, lsl #2
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
add sp, sp, #16
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-36]
add w8, w8, #1
stur w8, [x29, #-36]
b LBB0_1
LBB0_4:
ldur w8, [x29, #-16]
; kill: def $x8 killed $w8
lsl x9, x8, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-88] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-88] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
stur x9, [x29, #-80] ; 8-byte Folded Spill
stur x8, [x29, #-48]
stur wzr, [x29, #-52]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-52]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_16
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldur x8, [x29, #-64] ; 8-byte Folded Reload
ldursw x9, [x29, #-52]
ldr w8, [x8, x9, lsl #2]
add w8, w8, #1
mov w10, #5
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_9
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldur x8, [x29, #-64] ; 8-byte Folded Reload
ldursw x9, [x29, #-52]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #38
cset w8, lt
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
ldur x9, [x29, #-80] ; 8-byte Folded Reload
ldur x8, [x29, #-64] ; 8-byte Folded Reload
ldursw x10, [x29, #-52]
ldr w8, [x8, x10, lsl #2]
add w8, w8, #1
ldursw x10, [x29, #-52]
str w8, [x9, x10, lsl #2]
b LBB0_14
LBB0_9: ; in Loop: Header=BB0_5 Depth=1
ldur x8, [x29, #-64] ; 8-byte Folded Reload
ldursw x9, [x29, #-52]
ldr w8, [x8, x9, lsl #2]
add w8, w8, #2
mov w10, #5
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_5 Depth=1
ldur x8, [x29, #-64] ; 8-byte Folded Reload
ldursw x9, [x29, #-52]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #38
cset w8, lt
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_5 Depth=1
ldur x9, [x29, #-80] ; 8-byte Folded Reload
ldur x8, [x29, #-64] ; 8-byte Folded Reload
ldursw x10, [x29, #-52]
ldr w8, [x8, x10, lsl #2]
add w8, w8, #2
ldursw x10, [x29, #-52]
str w8, [x9, x10, lsl #2]
b LBB0_13
LBB0_12: ; in Loop: Header=BB0_5 Depth=1
ldur x9, [x29, #-80] ; 8-byte Folded Reload
ldur x8, [x29, #-64] ; 8-byte Folded Reload
ldursw x10, [x29, #-52]
ldr w8, [x8, x10, lsl #2]
ldursw x10, [x29, #-52]
str w8, [x9, x10, lsl #2]
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_5 Depth=1
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_5 Depth=1
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_5 Depth=1
ldur w8, [x29, #-52]
add w8, w8, #1
stur w8, [x29, #-52]
b LBB0_5
LBB0_16:
stur wzr, [x29, #-56]
b LBB0_17
LBB0_17: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-56]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_20
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_17 Depth=1
ldur x8, [x29, #-80] ; 8-byte Folded Reload
ldursw x9, [x29, #-56]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
add sp, sp, #16
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_17 Depth=1
ldur w8, [x29, #-56]
add w8, w8, #1
stur w8, [x29, #-56]
b LBB0_17
LBB0_20:
ldur x8, [x29, #-24]
mov sp, x8
ldur w8, [x29, #-12]
stur w8, [x29, #-92] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_22
b LBB0_21
LBB0_21:
bl ___stack_chk_fail
LBB0_22:
ldur w0, [x29, #-92] ; 4-byte Folded Reload
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.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 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 $96, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -12(%rbp)
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
leaq -16(%rbp), %rsi
callq _scanf
movl -16(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -72(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -24(%rbp)
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -72(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -64(%rbp) ## 8-byte Spill
movq %rax, -32(%rbp)
movl $0, -36(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -36(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -64(%rbp), %rsi ## 8-byte Reload
movslq -36(%rbp), %rax
shlq $2, %rax
addq %rax, %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB0_1
LBB0_4:
movl -16(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -88(%rbp) ## 8-byte Spill
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -88(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -80(%rbp) ## 8-byte Spill
movq %rax, -48(%rbp)
movl $0, -52(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl -52(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB0_16
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movslq -52(%rbp), %rcx
movl (%rax,%rcx,4), %eax
addl $1, %eax
movl $5, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB0_9
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movslq -52(%rbp), %rcx
cmpl $38, (%rax,%rcx,4)
jl LBB0_9
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
movq -80(%rbp), %rax ## 8-byte Reload
movq -64(%rbp), %rcx ## 8-byte Reload
movslq -52(%rbp), %rdx
movl (%rcx,%rdx,4), %edx
addl $1, %edx
movslq -52(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
jmp LBB0_14
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movslq -52(%rbp), %rcx
movl (%rax,%rcx,4), %eax
addl $2, %eax
movl $5, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB0_12
## %bb.10: ## in Loop: Header=BB0_5 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movslq -52(%rbp), %rcx
cmpl $38, (%rax,%rcx,4)
jl LBB0_12
## %bb.11: ## in Loop: Header=BB0_5 Depth=1
movq -80(%rbp), %rax ## 8-byte Reload
movq -64(%rbp), %rcx ## 8-byte Reload
movslq -52(%rbp), %rdx
movl (%rcx,%rdx,4), %edx
addl $2, %edx
movslq -52(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
jmp LBB0_13
LBB0_12: ## in Loop: Header=BB0_5 Depth=1
movq -80(%rbp), %rax ## 8-byte Reload
movq -64(%rbp), %rcx ## 8-byte Reload
movslq -52(%rbp), %rdx
movl (%rcx,%rdx,4), %edx
movslq -52(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
LBB0_13: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_14
LBB0_14: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_15
LBB0_15: ## in Loop: Header=BB0_5 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB0_5
LBB0_16:
movl $0, -56(%rbp)
LBB0_17: ## =>This Inner Loop Header: Depth=1
movl -56(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB0_20
## %bb.18: ## in Loop: Header=BB0_17 Depth=1
movq -80(%rbp), %rax ## 8-byte Reload
movslq -56(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.19: ## in Loop: Header=BB0_17 Depth=1
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB0_17
LBB0_20:
movq -24(%rbp), %rax
movq %rax, %rsp
movl -12(%rbp), %eax
movl %eax, -92(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_22
## %bb.21:
movl -92(%rbp), %eax ## 4-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB0_22:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/864976.c |
.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, #-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 w27, -24
.cfi_offset w28, -32
sub sp, sp, #1104
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #76]
str w0, [sp, #72]
str x1, [sp, #64]
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
str x8, [sp, #48]
ldr w8, [sp, #72]
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_1
LBB0_1:
ldr x8, [sp, #64]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
bl ___stack_chk_fail
LBB0_3:
mov w0, #-1
add sp, sp, #1104
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_4:
mov w1, #2
mov x0, x1
mov w2, #0
str w2, [sp, #28] ; 4-byte Folded Spill
bl _socket
str w0, [sp, #60]
sub x8, x29, #40
str x8, [sp, #32] ; 8-byte Folded Spill
stur xzr, [x29, #-40]
stur xzr, [x29, #-32]
mov w8, #2
sturb w8, [x29, #-39]
ldr x8, [sp, #64]
ldr x0, [x8, #8]
bl _inet_addr
stur w0, [x29, #-36]
mov w8, #49166
sturh w8, [x29, #-38]
ldr w8, [sp, #60]
str w8, [sp, #44] ; 4-byte Folded Spill
ldr x8, [sp, #48]
str x8, [sp, #16] ; 8-byte Folded Spill
ldr x0, [sp, #48]
bl _strlen
ldr x1, [sp, #16] ; 8-byte Folded Reload
ldr w3, [sp, #28] ; 4-byte Folded Reload
ldr x4, [sp, #32] ; 8-byte Folded Reload
mov x2, x0
ldr w0, [sp, #44] ; 4-byte Folded Reload
mov w5, #16
bl _sendto
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w0, [sp, #60]
add x1, sp, #80
str x1, [sp, #8] ; 8-byte Folded Spill
mov x2, #10000
mov w3, #0
mov x5, #0
mov x4, x5
bl _recvfrom
ldr x8, [sp, #8] ; 8-byte Folded Reload
mov x9, x0
str w9, [sp, #56]
ldrsw x10, [sp, #56]
mov x9, x8
add x9, x9, x10
strb wzr, [x9]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ack"
l_.str.1: ; @.str.1
.asciz "usage:%s <IP address>\n"
l_.str.2: ; @.str.2
.asciz "Received : %s\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 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 $1072, %rsp ## imm = 0x430
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -1028(%rbp)
movl %edi, -1032(%rbp)
movq %rsi, -1040(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -1056(%rbp)
cmpl $2, -1032(%rbp)
je LBB0_3
## %bb.1:
movq -1040(%rbp), %rax
movq (%rax), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_5
## %bb.2:
movl $4294967295, %eax ## imm = 0xFFFFFFFF
addq $1072, %rsp ## imm = 0x430
popq %rbp
retq
LBB0_3:
movl $2, %esi
xorl %edx, %edx
movl %esi, %edi
callq _socket
movl %eax, -1044(%rbp)
leaq -24(%rbp), %rdi
xorl %esi, %esi
movl $16, %edx
callq _memset
movb $2, -23(%rbp)
movq -1040(%rbp), %rax
movq 8(%rax), %rdi
callq _inet_addr
movl %eax, -20(%rbp)
movw $-16370, -22(%rbp) ## imm = 0xC00E
movl -1044(%rbp), %eax
movl %eax, -1068(%rbp) ## 4-byte Spill
movq -1056(%rbp), %rax
movq %rax, -1064(%rbp) ## 8-byte Spill
movq -1056(%rbp), %rdi
callq _strlen
movl -1068(%rbp), %edi ## 4-byte Reload
movq -1064(%rbp), %rsi ## 8-byte Reload
movq %rax, %rdx
leaq -24(%rbp), %r8
xorl %ecx, %ecx
movl $16, %r9d
callq _sendto
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl -1044(%rbp), %edi
leaq -1024(%rbp), %rsi
movl $10000, %edx ## imm = 0x2710
xorl %ecx, %ecx
xorl %eax, %eax
movl %eax, %r9d
movq %r9, %r8
callq _recvfrom
## kill: def $eax killed $eax killed $rax
movl %eax, -1048(%rbp)
movslq -1048(%rbp), %rax
movb $0, -1024(%rbp,%rax)
leaq -1024(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_4
LBB0_5:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ack"
L_.str.1: ## @.str.1
.asciz "usage:%s <IP address>\n"
L_.str.2: ## @.str.2
.asciz "Received : %s\n"
.subsections_via_symbols
| the_stack_data/37297.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov w8, #2
str w8, [sp, #8]
mov w9, #1
str w9, [sp, #4]
str w8, [sp]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
ldr w10, [sp]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
str wzr, [sp, #4]
b LBB0_6
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp]
add w8, w8, #1
str w8, [sp]
b LBB0_1
LBB0_6:
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_9
LBB0_8:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_9
LBB0_9:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "This is not a prime number"
l_.str.1: ; @.str.1
.asciz "This is a prime number"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $2, -8(%rbp)
movl $1, -12(%rbp)
movl $2, -16(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
cltd
idivl -16(%rbp)
cmpl $0, %edx
jne LBB0_4
## %bb.3:
movl $0, -12(%rbp)
jmp LBB0_6
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_5
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_1
LBB0_6:
cmpl $0, -12(%rbp)
jne LBB0_8
## %bb.7:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_9
LBB0_8:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
LBB0_9:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "This is not a prime number"
L_.str.1: ## @.str.1
.asciz "This is a prime number"
.subsections_via_symbols
| the_stack_data/251247.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function ctanhl
lCPI0_0:
.quad 0x7ff0000000000000 ; double +Inf
.section __TEXT,__text,regular,pure_instructions
.globl _ctanhl
.p2align 2
_ctanhl: ; @ctanhl
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str d0, [sp, #56]
str d1, [sp, #64]
ldr d1, [sp, #56]
fmov d0, #2.00000000
fmul d1, d0, d1
str d1, [sp, #32]
ldr d1, [sp, #64]
fmul d0, d0, d1
str d0, [sp, #24]
ldr d0, [sp, #32]
bl _coshl
str d0, [sp, #8] ; 8-byte Folded Spill
ldr d0, [sp, #24]
bl _cos
fmov d1, d0
ldr d0, [sp, #8] ; 8-byte Folded Reload
fadd d0, d0, d1
str d0, [sp, #16]
ldr d0, [sp, #16]
fcmp d0, #0.0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___error
mov w8, #34
str w8, [x0]
adrp x8, lCPI0_0@PAGE
ldr d0, [x8, lCPI0_0@PAGEOFF]
str d0, [sp, #40]
str d0, [sp, #48]
b LBB0_10
LBB0_2:
mov w8, #0
tbz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr d0, [sp, #16]
fcvt s0, d0
stur s0, [x29, #-20]
ldur s0, [x29, #-20]
fabs s0, s0
mov w8, #2139095040
fmov s1, w8
fcmp s0, s1
cset w8, eq
ands w8, w8, #0x1
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_8
LBB0_4:
mov w8, #1
tbz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
ldr d0, [sp, #16]
stur d0, [x29, #-16]
ldur d0, [x29, #-16]
fabs d0, d0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fcmp d0, d1
cset w8, eq
ands w8, w8, #0x1
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_8
LBB0_6:
ldr d0, [sp, #16]
stur d0, [x29, #-8]
ldur d0, [x29, #-8]
fabs d0, d0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fcmp d0, d1
cset w8, eq
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
bl ___error
mov w8, #34
str w8, [x0]
ldr d1, [sp, #32]
movi d0, #0000000000000000
fcmp d1, #0.0
cset w8, gt
and w8, w8, #0x1
fmov d2, #-1.00000000
fmov d1, #1.00000000
ands w8, w8, #0x1
fcsel d1, d1, d2, ne
str d1, [sp, #40]
str d0, [sp, #48]
b LBB0_9
LBB0_8:
ldr d0, [sp, #32]
bl _sinhl
ldr d1, [sp, #16]
fdiv d0, d0, d1
str d0, [sp, #40]
ldr d0, [sp, #24]
bl _sin
ldr d1, [sp, #16]
fdiv d0, d0, d1
str d0, [sp, #48]
b LBB0_9
LBB0_9:
b LBB0_10
LBB0_10:
ldr d1, [sp, #40]
ldr d0, [sp, #48]
stur d1, [x29, #-40]
stur d0, [x29, #-32]
ldur d0, [x29, #-40]
ldur d1, [x29, #-32]
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function ctanhl
LCPI0_0:
.long 0x7f800000 ## float +Inf
.section __TEXT,__literal8,8byte_literals
.p2align 3
LCPI0_1:
.quad 0x7ff0000000000000 ## double +Inf
.section __TEXT,__literal16,16byte_literals
.p2align 4
LCPI0_2:
.quad 0x7fffffffffffffff ## double NaN
.quad 0x7fffffffffffffff ## double NaN
LCPI0_3:
.long 0x7fffffff ## float NaN
.long 0x7fffffff ## float NaN
.long 0x7fffffff ## float NaN
.long 0x7fffffff ## float NaN
.section __TEXT,__text,regular,pure_instructions
.globl _ctanhl
.p2align 4, 0x90
_ctanhl: ## @ctanhl
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $192, %rsp
leaq 16(%rbp), %rax
fldt (%rax)
fadd %st, %st(0)
fstpt -112(%rbp)
fldt 16(%rax)
fadd %st, %st(0)
fstpt -128(%rbp)
fldt -112(%rbp)
movq %rsp, %rax
fstpt (%rax)
callq _coshl
fstpt -168(%rbp) ## 10-byte Folded Spill
fldt -128(%rbp)
movq %rsp, %rax
fstpt (%rax)
callq _cosl
fldt -168(%rbp) ## 10-byte Folded Reload
faddp %st, %st(1)
fstpt -144(%rbp)
fldt -144(%rbp)
fldz
fxch %st(1)
fucompi %st(1), %st
fstp %st(0)
jne LBB0_2
jp LBB0_2
jmp LBB0_1
LBB0_1:
callq ___error
movl $34, (%rax)
flds LCPI0_0(%rip)
fld %st(0)
fstpt -96(%rbp)
fstpt -80(%rbp)
jmp LBB0_10
LBB0_2:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB0_3
jmp LBB0_4
LBB0_3:
fldt -144(%rbp)
fstps -156(%rbp)
movss -156(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -28(%rbp)
movss -28(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movaps LCPI0_3(%rip), %xmm1 ## xmm1 = [NaN,NaN,NaN,NaN]
pand %xmm1, %xmm0
movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
sete %al
setnp %cl
andb %cl, %al
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
jne LBB0_7
jmp LBB0_8
LBB0_4:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB0_5
jmp LBB0_6
LBB0_5:
fldt -144(%rbp)
fstpl -152(%rbp)
movsd -152(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
movaps LCPI0_2(%rip), %xmm1 ## xmm1 = [NaN,NaN]
pand %xmm1, %xmm0
movsd LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
sete %al
setnp %cl
andb %cl, %al
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
jne LBB0_7
jmp LBB0_8
LBB0_6:
fldt -144(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
fabs
flds LCPI0_0(%rip)
fxch %st(1)
fucompi %st(1), %st
fstp %st(0)
setae %al
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
je LBB0_8
LBB0_7:
callq ___error
movl $34, (%rax)
fldt -112(%rbp)
fldz
fxch %st(1)
fucompi %st(1), %st
fld1
fld %st(0)
fchs
fcmovnbe %st(1), %st
fstp %st(1)
fstpt -96(%rbp)
fstpt -80(%rbp)
jmp LBB0_9
LBB0_8:
fldt -112(%rbp)
movq %rsp, %rax
fstpt (%rax)
callq _sinhl
fldt -144(%rbp)
fdivrp %st, %st(1)
fstpt -96(%rbp)
fldt -128(%rbp)
movq %rsp, %rax
fstpt (%rax)
callq _sinl
fldt -144(%rbp)
fdivrp %st, %st(1)
fstpt -80(%rbp)
LBB0_9:
jmp LBB0_10
LBB0_10:
fldt -96(%rbp)
fldt -80(%rbp)
fxch %st(1)
fstpt -64(%rbp)
fstpt -48(%rbp)
fldt -48(%rbp)
fldt -64(%rbp)
addq $192, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/193894002.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _C_N ; -- Begin function C_N
.p2align 2
_C_N: ; @C_N
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str w0, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
stur wzr, [x29, #-4]
b LBB0_3
LBB0_2:
ldr w8, [sp, #8]
mov w9, #2
udiv w0, w8, w9
bl _C_N
ldr w8, [sp, #8]
ldr w9, [sp, #8]
mul w8, w8, w9
add w8, w0, w8
stur w8, [x29, #-4]
b LBB0_3
LBB0_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _C_2pown_formula ; -- Begin function C_2pown_formula
.p2align 2
_C_2pown_formula: ; @C_2pown_formula
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
str wzr, [sp, #8]
mov w8, #1
str w8, [sp, #4]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
ldur w9, [x29, #-4]
add w9, w9, #1
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr w9, [sp, #4]
mov w8, #2
mul w8, w8, w9
ucvtf d0, w8
bl _exp2
fcvtzu w9, d0
ldr w8, [sp, #8]
add w8, w8, w9
str w8, [sp, #8]
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB1_1
LBB1_4:
ldr w0, [sp, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-8]
stur wzr, [x29, #-12]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #65
cset w8, hs
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldur w0, [x29, #-8]
bl _C_N
stur w0, [x29, #-16]
ldur w0, [x29, #-12]
bl _C_2pown_formula
stur w0, [x29, #-20]
ldur w8, [x29, #-16]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, eq
and w8, w8, #0x1
stur w8, [x29, #-24]
ldur w8, [x29, #-8]
; implicit-def: $x12
mov x12, x8
ldur w8, [x29, #-16]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-20]
; implicit-def: $x10
mov x10, x8
ldur w8, [x29, #-24]
subs w8, w8, #0
cset w8, ne
and w13, w8, #0x1
adrp x9, l_.str.4@PAGE
add x9, x9, l_.str.4@PAGEOFF
adrp x8, l_.str.3@PAGE
add x8, x8, l_.str.3@PAGEOFF
ands w13, w13, #0x1
csel x8, x8, x9, ne
mov x9, sp
str x12, [x9]
str x11, [x9, #8]
str x10, [x9, #16]
str x8, [x9, #24]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
ldur s1, [x29, #-12]
; implicit-def: $d0
fmov s0, s1
ucvtf d0, d0
bl _exp2
fcvtzu w8, d0
stur w8, [x29, #-8]
b LBB2_1
LBB2_4:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "N\tC_N (rec.)\tC_N (form.)\tEqual?\n"
l_.str.1: ; @.str.1
.asciz "----------------------------------------------\n"
l_.str.2: ; @.str.2
.asciz "%u\t%u\t\t%u\t\t%s\n"
l_.str.3: ; @.str.3
.asciz "TRUE"
l_.str.4: ; @.str.4
.asciz "FALSE"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _C_N ## -- Begin function C_N
.p2align 4, 0x90
_C_N: ## @C_N
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -8(%rbp)
cmpl $1, -8(%rbp)
jne LBB0_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB0_3
LBB0_2:
movl -8(%rbp), %edi
shrl $1, %edi
callq _C_N
movl -8(%rbp), %ecx
imull -8(%rbp), %ecx
addl %ecx, %eax
movl %eax, -4(%rbp)
LBB0_3:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _C_2pown_formula ## -- Begin function C_2pown_formula
.p2align 4, 0x90
_C_2pown_formula: ## @C_2pown_formula
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl $0, -8(%rbp)
movl $1, -12(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
movl -4(%rbp), %ecx
addl $1, %ecx
cmpl %ecx, %eax
jae LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -12(%rbp), %eax
addl %eax, %eax
## kill: def $rax killed $eax
cvtsi2sd %rax, %xmm0
callq _exp2
cvttsd2si %xmm0, %rax
## kill: def $eax killed $eax killed $rax
addl -8(%rbp), %eax
movl %eax, -8(%rbp)
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_1
LBB1_4:
movl -8(%rbp), %eax
addq $16, %rsp
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 $32, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -8(%rbp)
movl $0, -12(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
cmpl $65, -8(%rbp)
jae LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl -8(%rbp), %edi
callq _C_N
movl %eax, -16(%rbp)
movl -12(%rbp), %edi
callq _C_2pown_formula
movl %eax, -20(%rbp)
movl -16(%rbp), %eax
cmpl -20(%rbp), %eax
sete %al
andb $1, %al
movzbl %al, %eax
movl %eax, -24(%rbp)
movl -8(%rbp), %esi
movl -16(%rbp), %edx
movl -20(%rbp), %ecx
movl -24(%rbp), %edi
leaq L_.str.4(%rip), %r8
leaq L_.str.3(%rip), %rax
cmpl $0, %edi
cmovneq %rax, %r8
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -12(%rbp), %eax
incl %eax
movl %eax, -12(%rbp)
movl -12(%rbp), %eax
## kill: def $rax killed $eax
cvtsi2sd %rax, %xmm0
callq _exp2
cvttsd2si %xmm0, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -8(%rbp)
jmp LBB2_1
LBB2_4:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "N\tC_N (rec.)\tC_N (form.)\tEqual?\n"
L_.str.1: ## @.str.1
.asciz "----------------------------------------------\n"
L_.str.2: ## @.str.2
.asciz "%u\t%u\t\t%u\t\t%s\n"
L_.str.3: ## @.str.3
.asciz "TRUE"
L_.str.4: ## @.str.4
.asciz "FALSE"
.subsections_via_symbols
| the_stack_data/155037.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
movi d0, #0000000000000000
stur s0, [x29, #-12]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur s0, [x29, #-8]
fmov s1, #30.00000000
fcmp s0, s1
cset w8, hi
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur s0, [x29, #-8]
mov w8, #1112014848
fmov s1, w8
fmul s0, s0, s1
stur s0, [x29, #-12]
ldur s0, [x29, #-12]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_6
LBB0_2:
ldur s0, [x29, #-8]
fmov s1, #30.00000000
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldur s0, [x29, #-8]
fmov s1, #30.00000000
fsub s0, s0, s1
mov w8, #32768
movk w8, #17595, lsl #16
fmov s2, w8
mov w8, #1109393408
fmov s1, w8
fmadd s0, s0, s1, s2
stur s0, [x29, #-12]
ldur s0, [x29, #-12]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_5
LBB0_4:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_5
LBB0_5:
b LBB0_6
LBB0_6:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter the distance: "
l_.str.1: ; @.str.1
.asciz "%f"
l_.str.2: ; @.str.2
.asciz "Your amount is: %.2f"
l_.str.3: ; @.str.3
.asciz "Your value is invalid"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function main
LCPI0_0:
.long 0x41f00000 ## float 30
LCPI0_1:
.long 0x42200000 ## float 40
LCPI0_2:
.long 0x44bb8000 ## float 1500
LCPI0_3:
.long 0x42480000 ## float 50
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -12(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -8(%rbp), %xmm0
jb LBB0_2
## %bb.1:
movss LCPI0_3(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -8(%rbp), %xmm0
movss %xmm0, -12(%rbp)
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
jmp LBB0_6
LBB0_2:
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB0_4
## %bb.3:
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
subss %xmm1, %xmm0
movss LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm1, %xmm0
movss LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
addss %xmm1, %xmm0
movss %xmm0, -12(%rbp)
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
jmp LBB0_5
LBB0_4:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB0_5:
jmp LBB0_6
LBB0_6:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter the distance: "
L_.str.1: ## @.str.1
.asciz "%f"
L_.str.2: ## @.str.2
.asciz "Your amount is: %.2f"
L_.str.3: ## @.str.3
.asciz "Your value is invalid"
.subsections_via_symbols
| the_stack_data/775387.c |
.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, #16
.cfi_def_cfa_offset 16
mov x8, x0
mov w0, #0
str wzr, [sp, #12]
str w8, [sp, #8]
str x1, [sp]
add sp, sp, #16
ret
.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 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 $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/841363.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rpl_memcmp ; -- Begin function rpl_memcmp
.p2align 2
_rpl_memcmp: ; @rpl_memcmp
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur x2, [x29, #-32]
ldur x8, [x29, #-16]
str x8, [sp, #24]
ldur x8, [x29, #-24]
str x8, [sp, #16]
ldur x8, [x29, #-32]
subs x8, x8, #16
cset w8, lo
tbnz w8, #0, LBB0_12
b LBB0_1
LBB0_1:
b LBB0_2
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
mov x10, #8
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [sp, #24]
ldrb w8, [x8]
; kill: def $x8 killed $w8
str x8, [sp, #40]
ldr x8, [sp, #16]
ldrb w8, [x8]
; kill: def $x8 killed $w8
str x8, [sp, #32]
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
ldr x8, [sp, #40]
ldr x9, [sp, #32]
subs x8, x8, x9
str x8, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldr x8, [sp, #8]
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-4]
b LBB0_18
LBB0_5: ; in Loop: Header=BB0_2 Depth=1
ldur x8, [x29, #-32]
subs x8, x8, #1
stur x8, [x29, #-32]
b LBB0_2
LBB0_6:
ldr x8, [sp, #24]
mov x10, #8
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
ldr x0, [sp, #24]
ldr x1, [sp, #16]
ldur x8, [x29, #-32]
mov x9, #8
udiv x2, x8, x9
bl _memcmp_common_alignment
; implicit-def: $x8
mov x8, x0
sxtw x8, w8
str x8, [sp, #8]
b LBB0_9
LBB0_8:
ldr x0, [sp, #24]
ldr x1, [sp, #16]
ldur x8, [x29, #-32]
mov x9, #8
udiv x2, x8, x9
bl _memcmp_not_common_alignment
; implicit-def: $x8
mov x8, x0
sxtw x8, w8
str x8, [sp, #8]
b LBB0_9
LBB0_9:
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
ldr x8, [sp, #8]
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-4]
b LBB0_18
LBB0_11:
ldur x8, [x29, #-32]
and x9, x8, #0xfffffffffffffff8
ldr x8, [sp, #24]
add x8, x8, x9
str x8, [sp, #24]
ldur x8, [x29, #-32]
and x9, x8, #0xfffffffffffffff8
ldr x8, [sp, #16]
add x8, x8, x9
str x8, [sp, #16]
ldur x8, [x29, #-32]
mov x10, #8
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
stur x8, [x29, #-32]
b LBB0_12
LBB0_12:
b LBB0_13
LBB0_13: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_17
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_13 Depth=1
ldr x8, [sp, #24]
ldrb w8, [x8]
; kill: def $x8 killed $w8
str x8, [sp, #40]
ldr x8, [sp, #16]
ldrb w8, [x8]
; kill: def $x8 killed $w8
str x8, [sp, #32]
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
ldr x8, [sp, #40]
ldr x9, [sp, #32]
subs x8, x8, x9
str x8, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_16
b LBB0_15
LBB0_15:
ldr x8, [sp, #8]
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-4]
b LBB0_18
LBB0_16: ; in Loop: Header=BB0_13 Depth=1
ldur x8, [x29, #-32]
subs x8, x8, #1
stur x8, [x29, #-32]
b LBB0_13
LBB0_17:
stur wzr, [x29, #-4]
b LBB0_18
LBB0_18:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function memcmp_common_alignment
_memcmp_common_alignment: ; @memcmp_common_alignment
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur x2, [x29, #-32]
ldur x8, [x29, #-32]
mov x10, #4
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
str x8, [sp, #8] ; 8-byte Folded Spill
subs x8, x8, #3
cset w8, hi
tbnz w8, #0, LBB1_2
; %bb.1:
ldr x11, [sp, #8] ; 8-byte Folded Reload
adrp x10, lJTI1_0@PAGE
add x10, x10, lJTI1_0@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB1_2:
b LBB1_3
LBB1_3:
ldur x8, [x29, #-16]
ldr x8, [x8]
str x8, [sp, #40]
ldur x8, [x29, #-24]
ldr x8, [x8]
str x8, [sp, #24]
ldur x8, [x29, #-16]
subs x8, x8, #16
stur x8, [x29, #-16]
ldur x8, [x29, #-24]
subs x8, x8, #16
stur x8, [x29, #-24]
ldur x8, [x29, #-32]
add x8, x8, #2
stur x8, [x29, #-32]
b LBB1_21
LBB1_4:
ldur x8, [x29, #-16]
ldr x8, [x8]
str x8, [sp, #32]
ldur x8, [x29, #-24]
ldr x8, [x8]
str x8, [sp, #16]
ldur x8, [x29, #-16]
subs x8, x8, #8
stur x8, [x29, #-16]
ldur x8, [x29, #-24]
subs x8, x8, #8
stur x8, [x29, #-24]
ldur x8, [x29, #-32]
add x8, x8, #1
stur x8, [x29, #-32]
b LBB1_18
LBB1_5:
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6:
stur wzr, [x29, #-4]
b LBB1_29
LBB1_7:
ldur x8, [x29, #-16]
ldr x8, [x8]
str x8, [sp, #40]
ldur x8, [x29, #-24]
ldr x8, [x8]
str x8, [sp, #24]
b LBB1_15
LBB1_8:
ldur x8, [x29, #-16]
ldr x8, [x8]
str x8, [sp, #32]
ldur x8, [x29, #-24]
ldr x8, [x8]
str x8, [sp, #16]
ldur x8, [x29, #-16]
add x8, x8, #8
stur x8, [x29, #-16]
ldur x8, [x29, #-24]
add x8, x8, #8
stur x8, [x29, #-24]
ldur x8, [x29, #-32]
subs x8, x8, #1
stur x8, [x29, #-32]
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_10
b LBB1_9
LBB1_9:
b LBB1_26
LBB1_10:
b LBB1_11
LBB1_11:
b LBB1_12
LBB1_12:
ldur x8, [x29, #-16]
ldr x8, [x8]
str x8, [sp, #40]
ldur x8, [x29, #-24]
ldr x8, [x8]
str x8, [sp, #24]
ldr x8, [sp, #32]
ldr x9, [sp, #16]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_14
b LBB1_13
LBB1_13:
ldr x0, [sp, #32]
ldr x1, [sp, #16]
bl _memcmp_bytes
stur w0, [x29, #-4]
b LBB1_29
LBB1_14:
b LBB1_15
LBB1_15:
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
str x8, [sp, #32]
ldur x8, [x29, #-24]
ldr x8, [x8, #8]
str x8, [sp, #16]
ldr x8, [sp, #40]
ldr x9, [sp, #24]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_17
b LBB1_16
LBB1_16:
ldr x0, [sp, #40]
ldr x1, [sp, #24]
bl _memcmp_bytes
stur w0, [x29, #-4]
b LBB1_29
LBB1_17:
b LBB1_18
LBB1_18:
ldur x8, [x29, #-16]
ldr x8, [x8, #16]
str x8, [sp, #40]
ldur x8, [x29, #-24]
ldr x8, [x8, #16]
str x8, [sp, #24]
ldr x8, [sp, #32]
ldr x9, [sp, #16]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_20
b LBB1_19
LBB1_19:
ldr x0, [sp, #32]
ldr x1, [sp, #16]
bl _memcmp_bytes
stur w0, [x29, #-4]
b LBB1_29
LBB1_20:
b LBB1_21
LBB1_21:
ldur x8, [x29, #-16]
ldr x8, [x8, #24]
str x8, [sp, #32]
ldur x8, [x29, #-24]
ldr x8, [x8, #24]
str x8, [sp, #16]
ldr x8, [sp, #40]
ldr x9, [sp, #24]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_23
b LBB1_22
LBB1_22:
ldr x0, [sp, #40]
ldr x1, [sp, #24]
bl _memcmp_bytes
stur w0, [x29, #-4]
b LBB1_29
LBB1_23:
ldur x8, [x29, #-16]
add x8, x8, #32
stur x8, [x29, #-16]
ldur x8, [x29, #-24]
add x8, x8, #32
stur x8, [x29, #-24]
ldur x8, [x29, #-32]
subs x8, x8, #4
stur x8, [x29, #-32]
b LBB1_24
LBB1_24:
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_12
b LBB1_25
LBB1_25:
b LBB1_26
LBB1_26:
ldr x8, [sp, #32]
ldr x9, [sp, #16]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_28
b LBB1_27
LBB1_27:
ldr x0, [sp, #32]
ldr x1, [sp, #16]
bl _memcmp_bytes
stur w0, [x29, #-4]
b LBB1_29
LBB1_28:
stur wzr, [x29, #-4]
b LBB1_29
LBB1_29:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
.p2align 2
lJTI1_0:
.long LBB1_5-Ltmp0
.long LBB1_8-Ltmp0
.long LBB1_3-Ltmp0
.long LBB1_4-Ltmp0
; -- End function
.p2align 2 ; -- Begin function memcmp_not_common_alignment
_memcmp_not_common_alignment: ; @memcmp_not_common_alignment
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
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
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur x2, [x29, #-32]
ldur x9, [x29, #-16]
mov x8, #8
udiv x10, x9, x8
mul x10, x10, x8
subs x9, x9, x10
mul x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #20]
ldrsw x9, [sp, #20]
mov x8, #64
subs x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #16]
ldur x8, [x29, #-16]
and x8, x8, #0xfffffffffffffff8
stur x8, [x29, #-16]
ldur x8, [x29, #-32]
mov x10, #4
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
str x8, [sp, #8] ; 8-byte Folded Spill
subs x8, x8, #3
cset w8, hi
tbnz w8, #0, LBB2_2
; %bb.1:
ldr x11, [sp, #8] ; 8-byte Folded Reload
adrp x10, lJTI2_0@PAGE
add x10, x10, lJTI2_0@PAGEOFF
Ltmp1:
adr x8, Ltmp1
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB2_2:
b LBB2_3
LBB2_3:
ldur x8, [x29, #-16]
ldr x8, [x8]
stur x8, [x29, #-48]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
stur x8, [x29, #-56]
ldur x8, [x29, #-24]
ldr x8, [x8]
str x8, [sp, #40]
ldur x8, [x29, #-16]
subs x8, x8, #8
stur x8, [x29, #-16]
ldur x8, [x29, #-24]
subs x8, x8, #16
stur x8, [x29, #-24]
ldur x8, [x29, #-32]
add x8, x8, #2
stur x8, [x29, #-32]
b LBB2_21
LBB2_4:
ldur x8, [x29, #-16]
ldr x8, [x8]
stur x8, [x29, #-40]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
stur x8, [x29, #-48]
ldur x8, [x29, #-24]
ldr x8, [x8]
str x8, [sp, #48]
ldur x8, [x29, #-24]
subs x8, x8, #8
stur x8, [x29, #-24]
ldur x8, [x29, #-32]
add x8, x8, #1
stur x8, [x29, #-32]
b LBB2_18
LBB2_5:
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_7
b LBB2_6
LBB2_6:
stur wzr, [x29, #-4]
b LBB2_29
LBB2_7:
ldur x8, [x29, #-16]
ldr x8, [x8]
str x8, [sp, #64]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
stur x8, [x29, #-40]
ldur x8, [x29, #-24]
ldr x8, [x8]
str x8, [sp, #56]
ldur x8, [x29, #-16]
add x8, x8, #8
stur x8, [x29, #-16]
b LBB2_15
LBB2_8:
ldur x8, [x29, #-16]
ldr x8, [x8]
stur x8, [x29, #-56]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
str x8, [sp, #64]
ldur x8, [x29, #-24]
ldr x8, [x8]
str x8, [sp, #32]
ldur x8, [x29, #-16]
add x8, x8, #16
stur x8, [x29, #-16]
ldur x8, [x29, #-24]
add x8, x8, #8
stur x8, [x29, #-24]
ldur x8, [x29, #-32]
subs x8, x8, #1
stur x8, [x29, #-32]
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_10
b LBB2_9
LBB2_9:
b LBB2_26
LBB2_10:
b LBB2_11
LBB2_11:
b LBB2_12
LBB2_12:
ldur x8, [x29, #-16]
ldr x8, [x8]
stur x8, [x29, #-40]
ldur x8, [x29, #-24]
ldr x8, [x8]
str x8, [sp, #56]
ldur x8, [x29, #-56]
ldr w9, [sp, #20]
; kill: def $x9 killed $w9
lsr x8, x8, x9
ldr x9, [sp, #64]
ldr w10, [sp, #16]
; kill: def $x10 killed $w10
lsl x9, x9, x10
orr x8, x8, x9
str x8, [sp, #24]
ldr x8, [sp, #24]
ldr x9, [sp, #32]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_14
b LBB2_13
LBB2_13:
ldr x0, [sp, #24]
ldr x1, [sp, #32]
bl _memcmp_bytes
stur w0, [x29, #-4]
b LBB2_29
LBB2_14:
b LBB2_15
LBB2_15:
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
stur x8, [x29, #-48]
ldur x8, [x29, #-24]
ldr x8, [x8, #8]
str x8, [sp, #48]
ldr x8, [sp, #64]
ldr w9, [sp, #20]
; kill: def $x9 killed $w9
lsr x8, x8, x9
ldur x9, [x29, #-40]
ldr w10, [sp, #16]
; kill: def $x10 killed $w10
lsl x9, x9, x10
orr x8, x8, x9
str x8, [sp, #24]
ldr x8, [sp, #24]
ldr x9, [sp, #56]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_17
b LBB2_16
LBB2_16:
ldr x0, [sp, #24]
ldr x1, [sp, #56]
bl _memcmp_bytes
stur w0, [x29, #-4]
b LBB2_29
LBB2_17:
b LBB2_18
LBB2_18:
ldur x8, [x29, #-16]
ldr x8, [x8, #16]
stur x8, [x29, #-56]
ldur x8, [x29, #-24]
ldr x8, [x8, #16]
str x8, [sp, #40]
ldur x8, [x29, #-40]
ldr w9, [sp, #20]
; kill: def $x9 killed $w9
lsr x8, x8, x9
ldur x9, [x29, #-48]
ldr w10, [sp, #16]
; kill: def $x10 killed $w10
lsl x9, x9, x10
orr x8, x8, x9
str x8, [sp, #24]
ldr x8, [sp, #24]
ldr x9, [sp, #48]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_20
b LBB2_19
LBB2_19:
ldr x0, [sp, #24]
ldr x1, [sp, #48]
bl _memcmp_bytes
stur w0, [x29, #-4]
b LBB2_29
LBB2_20:
b LBB2_21
LBB2_21:
ldur x8, [x29, #-16]
ldr x8, [x8, #24]
str x8, [sp, #64]
ldur x8, [x29, #-24]
ldr x8, [x8, #24]
str x8, [sp, #32]
ldur x8, [x29, #-48]
ldr w9, [sp, #20]
; kill: def $x9 killed $w9
lsr x8, x8, x9
ldur x9, [x29, #-56]
ldr w10, [sp, #16]
; kill: def $x10 killed $w10
lsl x9, x9, x10
orr x8, x8, x9
str x8, [sp, #24]
ldr x8, [sp, #24]
ldr x9, [sp, #40]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_23
b LBB2_22
LBB2_22:
ldr x0, [sp, #24]
ldr x1, [sp, #40]
bl _memcmp_bytes
stur w0, [x29, #-4]
b LBB2_29
LBB2_23:
ldur x8, [x29, #-16]
add x8, x8, #32
stur x8, [x29, #-16]
ldur x8, [x29, #-24]
add x8, x8, #32
stur x8, [x29, #-24]
ldur x8, [x29, #-32]
subs x8, x8, #4
stur x8, [x29, #-32]
b LBB2_24
LBB2_24:
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_12
b LBB2_25
LBB2_25:
b LBB2_26
LBB2_26:
ldur x8, [x29, #-56]
ldr w9, [sp, #20]
; kill: def $x9 killed $w9
lsr x8, x8, x9
ldr x9, [sp, #64]
ldr w10, [sp, #16]
; kill: def $x10 killed $w10
lsl x9, x9, x10
orr x8, x8, x9
str x8, [sp, #24]
ldr x8, [sp, #24]
ldr x9, [sp, #32]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_28
b LBB2_27
LBB2_27:
ldr x0, [sp, #24]
ldr x1, [sp, #32]
bl _memcmp_bytes
stur w0, [x29, #-4]
b LBB2_29
LBB2_28:
stur wzr, [x29, #-4]
b LBB2_29
LBB2_29:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
.p2align 2
lJTI2_0:
.long LBB2_5-Ltmp1
.long LBB2_8-Ltmp1
.long LBB2_3-Ltmp1
.long LBB2_4-Ltmp1
; -- End function
.p2align 2 ; -- Begin function memcmp_bytes
_memcmp_bytes: ; @memcmp_bytes
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
add x9, sp, #40
str x0, [sp, #40]
add x8, sp, #32
str x1, [sp, #32]
str x9, [sp, #24]
str x8, [sp, #16]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
ldrb w8, [x8]
; kill: def $x8 killed $w8
str x8, [sp, #8]
ldr x8, [sp, #16]
ldrb w8, [x8]
; kill: def $x8 killed $w8
str x8, [sp]
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #8]
ldr x9, [sp]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB3_1
b LBB3_3
LBB3_3:
ldr x8, [sp, #8]
ldr x9, [sp]
subs x8, x8, x9
mov x0, x8
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rpl_memcmp ## -- Begin function rpl_memcmp
.p2align 4, 0x90
_rpl_memcmp: ## @rpl_memcmp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movq -16(%rbp), %rax
movq %rax, -56(%rbp)
movq -24(%rbp), %rax
movq %rax, -64(%rbp)
cmpq $16, -32(%rbp)
jb LBB0_12
## %bb.1:
jmp LBB0_2
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq -64(%rbp), %rax
andq $7, %rax
cmpq $0, %rax
je LBB0_6
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq -56(%rbp), %rax
movzbl (%rax), %eax
## kill: def $rax killed $eax
movq %rax, -40(%rbp)
movq -64(%rbp), %rax
movzbl (%rax), %eax
## kill: def $rax killed $eax
movq %rax, -48(%rbp)
movq -56(%rbp), %rax
addq $1, %rax
movq %rax, -56(%rbp)
movq -64(%rbp), %rax
addq $1, %rax
movq %rax, -64(%rbp)
movq -40(%rbp), %rax
subq -48(%rbp), %rax
movq %rax, -72(%rbp)
cmpq $0, -72(%rbp)
je LBB0_5
## %bb.4:
movq -72(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -4(%rbp)
jmp LBB0_18
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movq -32(%rbp), %rax
subq $1, %rax
movq %rax, -32(%rbp)
jmp LBB0_2
LBB0_6:
movq -56(%rbp), %rax
andq $7, %rax
cmpq $0, %rax
jne LBB0_8
## %bb.7:
movq -56(%rbp), %rdi
movq -64(%rbp), %rsi
movq -32(%rbp), %rdx
shrq $3, %rdx
callq _memcmp_common_alignment
cltq
movq %rax, -72(%rbp)
jmp LBB0_9
LBB0_8:
movq -56(%rbp), %rdi
movq -64(%rbp), %rsi
movq -32(%rbp), %rdx
shrq $3, %rdx
callq _memcmp_not_common_alignment
cltq
movq %rax, -72(%rbp)
LBB0_9:
cmpq $0, -72(%rbp)
je LBB0_11
## %bb.10:
movq -72(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -4(%rbp)
jmp LBB0_18
LBB0_11:
movq -32(%rbp), %rax
andq $-8, %rax
addq -56(%rbp), %rax
movq %rax, -56(%rbp)
movq -32(%rbp), %rax
andq $-8, %rax
addq -64(%rbp), %rax
movq %rax, -64(%rbp)
movq -32(%rbp), %rax
andq $7, %rax
movq %rax, -32(%rbp)
LBB0_12:
jmp LBB0_13
LBB0_13: ## =>This Inner Loop Header: Depth=1
cmpq $0, -32(%rbp)
je LBB0_17
## %bb.14: ## in Loop: Header=BB0_13 Depth=1
movq -56(%rbp), %rax
movzbl (%rax), %eax
## kill: def $rax killed $eax
movq %rax, -40(%rbp)
movq -64(%rbp), %rax
movzbl (%rax), %eax
## kill: def $rax killed $eax
movq %rax, -48(%rbp)
movq -56(%rbp), %rax
addq $1, %rax
movq %rax, -56(%rbp)
movq -64(%rbp), %rax
addq $1, %rax
movq %rax, -64(%rbp)
movq -40(%rbp), %rax
subq -48(%rbp), %rax
movq %rax, -72(%rbp)
cmpq $0, -72(%rbp)
je LBB0_16
## %bb.15:
movq -72(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -4(%rbp)
jmp LBB0_18
LBB0_16: ## in Loop: Header=BB0_13 Depth=1
movq -32(%rbp), %rax
subq $1, %rax
movq %rax, -32(%rbp)
jmp LBB0_13
LBB0_17:
movl $0, -4(%rbp)
LBB0_18:
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function memcmp_common_alignment
_memcmp_common_alignment: ## @memcmp_common_alignment
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movq -32(%rbp), %rax
## kill: def $eax killed $eax killed $rax
andl $3, %eax
## kill: def $rax killed $eax
movq %rax, -72(%rbp) ## 8-byte Spill
subq $3, %rax
ja LBB1_1
## %bb.29:
movq -72(%rbp), %rax ## 8-byte Reload
leaq LJTI1_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB1_1:
jmp LBB1_2
LBB1_2:
movq -16(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -56(%rbp)
movq -16(%rbp), %rax
subq $16, %rax
movq %rax, -16(%rbp)
movq -24(%rbp), %rax
subq $16, %rax
movq %rax, -24(%rbp)
movq -32(%rbp), %rax
addq $2, %rax
movq %rax, -32(%rbp)
jmp LBB1_20
LBB1_3:
movq -16(%rbp), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -64(%rbp)
movq -16(%rbp), %rax
subq $8, %rax
movq %rax, -16(%rbp)
movq -24(%rbp), %rax
subq $8, %rax
movq %rax, -24(%rbp)
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
jmp LBB1_17
LBB1_4:
cmpq $0, -32(%rbp)
jne LBB1_6
## %bb.5:
movl $0, -4(%rbp)
jmp LBB1_28
LBB1_6:
movq -16(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -56(%rbp)
jmp LBB1_14
LBB1_7:
movq -16(%rbp), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -64(%rbp)
movq -16(%rbp), %rax
addq $8, %rax
movq %rax, -16(%rbp)
movq -24(%rbp), %rax
addq $8, %rax
movq %rax, -24(%rbp)
movq -32(%rbp), %rax
subq $1, %rax
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB1_9
## %bb.8:
jmp LBB1_25
LBB1_9:
jmp LBB1_10
LBB1_10:
jmp LBB1_11
LBB1_11:
movq -16(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -56(%rbp)
movq -48(%rbp), %rax
cmpq -64(%rbp), %rax
je LBB1_13
## %bb.12:
movq -48(%rbp), %rdi
movq -64(%rbp), %rsi
callq _memcmp_bytes
movl %eax, -4(%rbp)
jmp LBB1_28
LBB1_13:
jmp LBB1_14
LBB1_14:
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -48(%rbp)
movq -24(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -64(%rbp)
movq -40(%rbp), %rax
cmpq -56(%rbp), %rax
je LBB1_16
## %bb.15:
movq -40(%rbp), %rdi
movq -56(%rbp), %rsi
callq _memcmp_bytes
movl %eax, -4(%rbp)
jmp LBB1_28
LBB1_16:
jmp LBB1_17
LBB1_17:
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -56(%rbp)
movq -48(%rbp), %rax
cmpq -64(%rbp), %rax
je LBB1_19
## %bb.18:
movq -48(%rbp), %rdi
movq -64(%rbp), %rsi
callq _memcmp_bytes
movl %eax, -4(%rbp)
jmp LBB1_28
LBB1_19:
jmp LBB1_20
LBB1_20:
movq -16(%rbp), %rax
movq 24(%rax), %rax
movq %rax, -48(%rbp)
movq -24(%rbp), %rax
movq 24(%rax), %rax
movq %rax, -64(%rbp)
movq -40(%rbp), %rax
cmpq -56(%rbp), %rax
je LBB1_22
## %bb.21:
movq -40(%rbp), %rdi
movq -56(%rbp), %rsi
callq _memcmp_bytes
movl %eax, -4(%rbp)
jmp LBB1_28
LBB1_22:
movq -16(%rbp), %rax
addq $32, %rax
movq %rax, -16(%rbp)
movq -24(%rbp), %rax
addq $32, %rax
movq %rax, -24(%rbp)
movq -32(%rbp), %rax
subq $4, %rax
movq %rax, -32(%rbp)
## %bb.23:
cmpq $0, -32(%rbp)
jne LBB1_11
## %bb.24:
jmp LBB1_25
LBB1_25:
movq -48(%rbp), %rax
cmpq -64(%rbp), %rax
je LBB1_27
## %bb.26:
movq -48(%rbp), %rdi
movq -64(%rbp), %rsi
callq _memcmp_bytes
movl %eax, -4(%rbp)
jmp LBB1_28
LBB1_27:
movl $0, -4(%rbp)
LBB1_28:
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L1_0_set_4, LBB1_4-LJTI1_0
.set L1_0_set_7, LBB1_7-LJTI1_0
.set L1_0_set_2, LBB1_2-LJTI1_0
.set L1_0_set_3, LBB1_3-LJTI1_0
LJTI1_0:
.long L1_0_set_4
.long L1_0_set_7
.long L1_0_set_2
.long L1_0_set_3
.end_data_region
## -- End function
.p2align 4, 0x90 ## -- Begin function memcmp_not_common_alignment
_memcmp_not_common_alignment: ## @memcmp_not_common_alignment
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $128, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movl -16(%rbp), %eax
andl $7, %eax
shll $3, %eax
movl %eax, -108(%rbp)
movl -108(%rbp), %ecx
movl $64, %eax
subl %ecx, %eax
movl %eax, -112(%rbp)
movb -16(%rbp), %al
andb $-8, %al
movb %al, -16(%rbp)
movq -32(%rbp), %rax
## kill: def $eax killed $eax killed $rax
andl $3, %eax
## kill: def $rax killed $eax
movq %rax, -120(%rbp) ## 8-byte Spill
subq $3, %rax
ja LBB2_1
## %bb.29:
movq -120(%rbp), %rax ## 8-byte Reload
leaq LJTI2_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB2_1:
jmp LBB2_2
LBB2_2:
movq -16(%rbp), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -56(%rbp)
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -88(%rbp)
movq -16(%rbp), %rax
subq $8, %rax
movq %rax, -16(%rbp)
movq -24(%rbp), %rax
subq $16, %rax
movq %rax, -24(%rbp)
movq -32(%rbp), %rax
addq $2, %rax
movq %rax, -32(%rbp)
jmp LBB2_20
LBB2_3:
movq -16(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -48(%rbp)
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -80(%rbp)
movq -24(%rbp), %rax
subq $8, %rax
movq %rax, -24(%rbp)
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
jmp LBB2_17
LBB2_4:
cmpq $0, -32(%rbp)
jne LBB2_6
## %bb.5:
movl $0, -4(%rbp)
jmp LBB2_28
LBB2_6:
movq -16(%rbp), %rax
movq (%rax), %rax
movq %rax, -64(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -72(%rbp)
movq -16(%rbp), %rax
addq $8, %rax
movq %rax, -16(%rbp)
jmp LBB2_14
LBB2_7:
movq -16(%rbp), %rax
movq (%rax), %rax
movq %rax, -56(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -64(%rbp)
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -96(%rbp)
movq -16(%rbp), %rax
addq $16, %rax
movq %rax, -16(%rbp)
movq -24(%rbp), %rax
addq $8, %rax
movq %rax, -24(%rbp)
movq -32(%rbp), %rax
subq $1, %rax
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB2_9
## %bb.8:
jmp LBB2_25
LBB2_9:
jmp LBB2_10
LBB2_10:
jmp LBB2_11
LBB2_11:
movq -16(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -72(%rbp)
movq -56(%rbp), %rax
movl -108(%rbp), %ecx
## kill: def $rcx killed $ecx
## kill: def $cl killed $rcx
shrq %cl, %rax
movq -64(%rbp), %rdx
movl -112(%rbp), %ecx
## kill: def $rcx killed $ecx
## kill: def $cl killed $rcx
shlq %cl, %rdx
movq %rdx, %rcx
orq %rcx, %rax
movq %rax, -104(%rbp)
movq -104(%rbp), %rax
cmpq -96(%rbp), %rax
je LBB2_13
## %bb.12:
movq -104(%rbp), %rdi
movq -96(%rbp), %rsi
callq _memcmp_bytes
movl %eax, -4(%rbp)
jmp LBB2_28
LBB2_13:
jmp LBB2_14
LBB2_14:
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -48(%rbp)
movq -24(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -80(%rbp)
movq -64(%rbp), %rax
movl -108(%rbp), %ecx
## kill: def $rcx killed $ecx
## kill: def $cl killed $rcx
shrq %cl, %rax
movq -40(%rbp), %rdx
movl -112(%rbp), %ecx
## kill: def $rcx killed $ecx
## kill: def $cl killed $rcx
shlq %cl, %rdx
movq %rdx, %rcx
orq %rcx, %rax
movq %rax, -104(%rbp)
movq -104(%rbp), %rax
cmpq -72(%rbp), %rax
je LBB2_16
## %bb.15:
movq -104(%rbp), %rdi
movq -72(%rbp), %rsi
callq _memcmp_bytes
movl %eax, -4(%rbp)
jmp LBB2_28
LBB2_16:
jmp LBB2_17
LBB2_17:
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -56(%rbp)
movq -24(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -88(%rbp)
movq -40(%rbp), %rax
movl -108(%rbp), %ecx
## kill: def $rcx killed $ecx
## kill: def $cl killed $rcx
shrq %cl, %rax
movq -48(%rbp), %rdx
movl -112(%rbp), %ecx
## kill: def $rcx killed $ecx
## kill: def $cl killed $rcx
shlq %cl, %rdx
movq %rdx, %rcx
orq %rcx, %rax
movq %rax, -104(%rbp)
movq -104(%rbp), %rax
cmpq -80(%rbp), %rax
je LBB2_19
## %bb.18:
movq -104(%rbp), %rdi
movq -80(%rbp), %rsi
callq _memcmp_bytes
movl %eax, -4(%rbp)
jmp LBB2_28
LBB2_19:
jmp LBB2_20
LBB2_20:
movq -16(%rbp), %rax
movq 24(%rax), %rax
movq %rax, -64(%rbp)
movq -24(%rbp), %rax
movq 24(%rax), %rax
movq %rax, -96(%rbp)
movq -48(%rbp), %rax
movl -108(%rbp), %ecx
## kill: def $rcx killed $ecx
## kill: def $cl killed $rcx
shrq %cl, %rax
movq -56(%rbp), %rdx
movl -112(%rbp), %ecx
## kill: def $rcx killed $ecx
## kill: def $cl killed $rcx
shlq %cl, %rdx
movq %rdx, %rcx
orq %rcx, %rax
movq %rax, -104(%rbp)
movq -104(%rbp), %rax
cmpq -88(%rbp), %rax
je LBB2_22
## %bb.21:
movq -104(%rbp), %rdi
movq -88(%rbp), %rsi
callq _memcmp_bytes
movl %eax, -4(%rbp)
jmp LBB2_28
LBB2_22:
movq -16(%rbp), %rax
addq $32, %rax
movq %rax, -16(%rbp)
movq -24(%rbp), %rax
addq $32, %rax
movq %rax, -24(%rbp)
movq -32(%rbp), %rax
subq $4, %rax
movq %rax, -32(%rbp)
## %bb.23:
cmpq $0, -32(%rbp)
jne LBB2_11
## %bb.24:
jmp LBB2_25
LBB2_25:
movq -56(%rbp), %rax
movl -108(%rbp), %ecx
## kill: def $rcx killed $ecx
## kill: def $cl killed $rcx
shrq %cl, %rax
movq -64(%rbp), %rdx
movl -112(%rbp), %ecx
## kill: def $rcx killed $ecx
## kill: def $cl killed $rcx
shlq %cl, %rdx
movq %rdx, %rcx
orq %rcx, %rax
movq %rax, -104(%rbp)
movq -104(%rbp), %rax
cmpq -96(%rbp), %rax
je LBB2_27
## %bb.26:
movq -104(%rbp), %rdi
movq -96(%rbp), %rsi
callq _memcmp_bytes
movl %eax, -4(%rbp)
jmp LBB2_28
LBB2_27:
movl $0, -4(%rbp)
LBB2_28:
movl -4(%rbp), %eax
addq $128, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L2_0_set_4, LBB2_4-LJTI2_0
.set L2_0_set_7, LBB2_7-LJTI2_0
.set L2_0_set_2, LBB2_2-LJTI2_0
.set L2_0_set_3, LBB2_3-LJTI2_0
LJTI2_0:
.long L2_0_set_4
.long L2_0_set_7
.long L2_0_set_2
.long L2_0_set_3
.end_data_region
## -- End function
.p2align 4, 0x90 ## -- Begin function memcmp_bytes
_memcmp_bytes: ## @memcmp_bytes
.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, -8(%rbp)
movq %rsi, -16(%rbp)
leaq -8(%rbp), %rax
movq %rax, -24(%rbp)
leaq -16(%rbp), %rax
movq %rax, -32(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
movzbl (%rax), %eax
## kill: def $rax killed $eax
movq %rax, -40(%rbp)
movq -32(%rbp), %rax
movzbl (%rax), %eax
## kill: def $rax killed $eax
movq %rax, -48(%rbp)
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -40(%rbp), %rax
cmpq -48(%rbp), %rax
je LBB3_1
## %bb.3:
movq -40(%rbp), %rax
subq -48(%rbp), %rax
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/68887282.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _swift_main
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.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 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _swift_main
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/43889127.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.comm _policy_updater,4,2 ; @policy_updater
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.comm _policy_updater,4,2 ## @policy_updater
.subsections_via_symbols
| the_stack_data/165766129.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hap_platform_memory_malloc ; -- Begin function hap_platform_memory_malloc
.p2align 2
_hap_platform_memory_malloc: ; @hap_platform_memory_malloc
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
bl _malloc
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _hap_platform_memory_calloc ; -- Begin function hap_platform_memory_calloc
.p2align 2
_hap_platform_memory_calloc: ; @hap_platform_memory_calloc
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str x1, [sp]
ldr x0, [sp, #8]
ldr x1, [sp]
bl _calloc
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _hap_platform_memory_free ; -- Begin function hap_platform_memory_free
.p2align 2
_hap_platform_memory_free: ; @hap_platform_memory_free
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
bl _free
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hap_platform_memory_malloc ## -- Begin function hap_platform_memory_malloc
.p2align 4, 0x90
_hap_platform_memory_malloc: ## @hap_platform_memory_malloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
callq _malloc
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _hap_platform_memory_calloc ## -- Begin function hap_platform_memory_calloc
.p2align 4, 0x90
_hap_platform_memory_calloc: ## @hap_platform_memory_calloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq _calloc
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _hap_platform_memory_free ## -- Begin function hap_platform_memory_free
.p2align 4, 0x90
_hap_platform_memory_free: ## @hap_platform_memory_free
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
callq _free
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/84542.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur wzr, [x29, #-12]
mov w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #4
cset w8, gt
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-8]
mov w8, #2
mul w8, w8, w9
ldur w9, [x29, #-8]
mul w8, w8, w9
add w9, w8, #1
ldur w8, [x29, #-12]
add w8, w8, w9
stur w8, [x29, #-12]
ldur w8, [x29, #-8]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_4:
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
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
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "i=%d, running total = %d\n"
l_.str.1: ; @.str.1
.asciz "Grand total = %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 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
movl $0, -4(%rbp)
movl $0, -12(%rbp)
movl $1, -8(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $4, -8(%rbp)
jg LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
shll $1, %eax
imull -8(%rbp), %eax
addl $1, %eax
addl -12(%rbp), %eax
movl %eax, -12(%rbp)
movl -8(%rbp), %esi
movl -12(%rbp), %edx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_4:
movl -12(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "i=%d, running total = %d\n"
L_.str.1: ## @.str.1
.asciz "Grand total = %d\n"
.subsections_via_symbols
| the_stack_data/192329991.c |
.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/879569.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _subr_add ; -- Begin function subr_add
.p2align 2
_subr_add: ; @subr_add
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str w1, [sp, #8]
ldr w8, [sp, #12]
ldr w9, [sp, #8]
ldr w10, [sp, #12]
add w9, w9, w10
subs w0, w8, w9
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _subr_add ## -- Begin function subr_add
.p2align 4, 0x90
_subr_add: ## @subr_add
.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, -4(%rbp)
movl %esi, -8(%rbp)
movl -4(%rbp), %eax
movl -8(%rbp), %ecx
addl -4(%rbp), %ecx
subl %ecx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/64004.c |
.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, #368
.cfi_def_cfa_offset 368
stp x28, x27, [sp, #336] ; 16-byte Folded Spill
stp x29, x30, [sp, #352] ; 16-byte Folded Spill
add x29, sp, #352
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #124]
str w0, [sp, #120]
str x1, [sp, #112]
adrp x8, l___const.main.ping_request@PAGE
add x8, x8, l___const.main.ping_request@PAGEOFF
ldr q0, [x8]
str q0, [sp, #128]
ldr w8, [x8, #16]
str w8, [sp, #144]
str wzr, [sp, #108]
str xzr, [sp, #80]
add x0, sp, #72
bl _time
mov w0, #2
adrp x1, _CTRLDhandler@PAGE
add x1, x1, _CTRLDhandler@PAGEOFF
bl _signal
adds x8, x0, #1
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB0_2:
ldr w8, [sp, #120]
subs w8, w8, #3
cset w8, le
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr x8, [sp, #112]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB0_4:
ldr x8, [sp, #112]
ldr x0, [x8, #8]
bl _gethostbyname
str x0, [sp, #320]
ldr x8, [sp, #320]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB0_6:
add x8, sp, #152
str x8, [sp, #56] ; 8-byte Folded Spill
str wzr, [sp, #288]
str wzr, [sp, #296]
str wzr, [sp, #292]
str xzr, [sp, #304]
str xzr, [sp, #312]
ldr x9, [sp, #320]
ldr x9, [x9, #24]
ldr x9, [x9]
str x9, [sp, #152]
ldr x9, [sp, #112]
ldr x9, [x9, #16]
str x9, [sp, #160]
stur xzr, [x8, #20]
stur xzr, [x8, #28]
mov w8, #2
strb w8, [sp, #173]
ldr x0, [sp, #160]
bl _atoi
and w0, w0, #0xffff
bl __OSSwapInt16
ldr x8, [sp, #56] ; 8-byte Folded Reload
and w9, w0, #0xffff
strh w9, [sp, #174]
add x0, x8, #24
ldr x8, [sp, #320]
ldr x8, [x8, #24]
ldr x1, [x8]
ldr x8, [sp, #320]
ldrsw x2, [x8, #20]
mov x3, #152
bl ___memmove_chk
mov w1, #2
mov x0, x1
mov w2, #17
bl _socket
str w0, [sp, #168]
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB0_8:
ldr x8, [sp, #112]
ldr x8, [x8, #8]
str x8, [sp, #40] ; 8-byte Folded Spill
add x8, sp, #152
str x8, [sp, #48] ; 8-byte Folded Spill
ldr x8, [sp, #320]
ldr x8, [x8, #24]
ldr x8, [x8]
ldr w8, [x8]
mov x0, x8
bl _inet_ntoa
ldr x8, [sp, #40] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
str x0, [x9, #8]
mov x8, #20
str x8, [x9, #16]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr x0, [sp, #48] ; 8-byte Folded Reload
add x1, sp, #128
add x2, sp, #80
add x3, sp, #88
bl _Send_ping
b LBB0_9
LBB0_9: ; =>This Inner Loop Header: Depth=1
adrp x8, _shouldKeep_pinging@PAGE
ldrb w8, [x8, _shouldKeep_pinging@PAGEOFF]
tbz w8, #0, LBB0_19
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
add x0, sp, #96
add x1, sp, #88
bl _IntervalTimer
str w0, [sp, #108]
ldr w8, [sp, #108]
subs w8, w8, #2000
cset w8, lt
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_9 Depth=1
add x0, sp, #152
add x1, sp, #128
add x2, sp, #80
add x3, sp, #88
bl _Send_ping
b LBB0_18
LBB0_12: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #288]
ldr w9, [sp, #296]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_9 Depth=1
add x0, sp, #152
add x1, sp, #80
add x2, sp, #88
bl _waitReply
b LBB0_17
LBB0_14: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #292]
subs w8, w8, #15
cset w8, ne
tbnz w8, #0, LBB0_16
b LBB0_15
LBB0_15:
b LBB0_19
LBB0_16: ; in Loop: Header=BB0_9 Depth=1
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_9 Depth=1
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_9 Depth=1
b LBB0_9
LBB0_19:
add x0, sp, #64
bl _time
ldr x8, [sp, #112]
ldr x8, [x8, #8]
str x8, [sp, #32] ; 8-byte Folded Spill
ldr x0, [sp, #64]
ldr x1, [sp, #72]
bl _difftime
ldr x1, [sp, #32] ; 8-byte Folded Reload
add x0, sp, #152
bl _StatisticsPing
ldr w0, [sp, #168]
bl _close
b LBB0_20
LBB0_20:
b LBB0_21
LBB0_21:
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_23
b LBB0_22
LBB0_22:
bl ___stack_chk_fail
LBB0_23:
mov w0, #0
ldp x29, x30, [sp, #352] ; 16-byte Folded Reload
ldp x28, x27, [sp, #336] ; 16-byte Folded Reload
add sp, sp, #368
ret
.cfi_endproc
; -- End function
.globl _CTRLDhandler ; -- Begin function CTRLDhandler
.p2align 2
_CTRLDhandler: ; @CTRLDhandler
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
adrp x8, _shouldKeep_pinging@PAGE
strb wzr, [x8, _shouldKeep_pinging@PAGEOFF]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function _OSSwapInt16
__OSSwapInt16: ; @_OSSwapInt16
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
strh w0, [sp, #14]
ldrh w9, [sp, #14]
ldrh w8, [sp, #14]
asr w8, w8, #8
orr w8, w8, w9, lsl #8
and w0, w8, #0xffff
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _Send_ping ; -- Begin function Send_ping
.p2align 2
_Send_ping: ; @Send_ping
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
str x2, [sp, #24]
str x3, [sp, #16]
ldur x8, [x29, #-8]
ldr w8, [x8, #16]
str w8, [sp, #12] ; 4-byte Folded Spill
ldur x8, [x29, #-16]
str x8, [sp] ; 8-byte Folded Spill
ldur x0, [x29, #-16]
bl _strlen
ldr x1, [sp] ; 8-byte Folded Reload
mov x2, x0
ldr w0, [sp, #12] ; 4-byte Folded Reload
ldur x8, [x29, #-8]
mov w3, #0
add x4, x8, #20
mov w5, #16
bl _sendto
ldr x8, [sp, #24]
str x0, [x8]
bl _clock
ldr x8, [sp, #16]
str x0, [x8]
ldr x8, [sp, #24]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ge
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB3_2:
ldur x9, [x29, #-8]
ldr w8, [x9, #136]
add w8, w8, #1
str w8, [x9, #136]
ldr x8, [sp, #24]
ldr x10, [x8]
ldur x9, [x29, #-8]
ldr x8, [x9, #152]
add x8, x8, x10
str x8, [x9, #152]
b LBB3_3
LBB3_3:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _IntervalTimer ; -- Begin function IntervalTimer
.p2align 2
_IntervalTimer: ; @IntervalTimer
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str x1, [sp]
bl _clock
ldr x8, [sp]
ldr x8, [x8]
subs x8, x0, x8
ldr x9, [sp, #8]
str x8, [x9]
ldr x8, [sp, #8]
ldr x8, [x8]
mov x9, #1000
mul x8, x8, x9
mov x9, #16960
movk x9, #15, lsl #16
udiv x8, x8, x9
mov x0, x8
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function waitReply
lCPI5_0:
.quad 0x409c200000000000 ; double 1800
.section __TEXT,__text,regular,pure_instructions
.globl _waitReply
.p2align 2
_waitReply: ; @waitReply
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur x2, [x29, #-24]
stur xzr, [x29, #-32]
b LBB5_1
LBB5_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-32]
subs x8, x8, #64
cset w8, hs
tbnz w8, #0, LBB5_7
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
ldur x8, [x29, #-8]
ldr w0, [x8, #16]
ldur x8, [x29, #-8]
add x1, x8, #36
mov x2, #99
mov w3, #0
mov x5, #0
mov x4, x5
bl _recvfrom
ldur x8, [x29, #-16]
str x0, [x8]
ldur x8, [x29, #-16]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ge
tbnz w8, #0, LBB5_4
b LBB5_3
LBB5_3:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB5_4: ; in Loop: Header=BB5_1 Depth=1
ldur x8, [x29, #-16]
ldr x9, [x8]
ldur x8, [x29, #-32]
add x8, x8, x9
stur x8, [x29, #-32]
ldur x8, [x29, #-8]
add x8, x8, #36
ldur x9, [x29, #-16]
ldr x9, [x9]
add x8, x8, x9
strb wzr, [x8]
ldur x8, [x29, #-16]
ldr x10, [x8]
ldur x9, [x29, #-8]
ldr x8, [x9, #160]
add x8, x8, x10
str x8, [x9, #160]
ldur x1, [x29, #-24]
sub x0, x29, #40
bl _IntervalTimer
scvtf d0, w0
adrp x8, lCPI5_0@PAGE
ldr d1, [x8, lCPI5_0@PAGEOFF]
fcmp d0, d1
cset w8, le
tbnz w8, #0, LBB5_6
b LBB5_5
LBB5_5:
ldur x9, [x29, #-8]
ldr w8, [x9, #140]
add w8, w8, #1
str w8, [x9, #140]
b LBB5_7
LBB5_6: ; in Loop: Header=BB5_1 Depth=1
b LBB5_1
LBB5_7:
ldur x8, [x29, #-32]
subs x8, x8, #64
cset w8, ne
tbnz w8, #0, LBB5_9
b LBB5_8
LBB5_8:
ldur x9, [x29, #-8]
ldr w8, [x9, #144]
add w8, w8, #1
str w8, [x9, #144]
ldur x8, [x29, #-32]
str x8, [sp, #40] ; 8-byte Folded Spill
ldur x8, [x29, #-8]
ldr x8, [x8, #168]
ldr x8, [x8]
str x8, [sp, #48] ; 8-byte Folded Spill
ldur x8, [x29, #-8]
ldr x8, [x8, #168]
ldr x8, [x8, #24]
ldr x8, [x8]
ldr w8, [x8]
mov x0, x8
bl _inet_ntoa
str x0, [sp, #56] ; 8-byte Folded Spill
ldur x8, [x29, #-8]
ldr w9, [x8, #144]
; implicit-def: $x8
mov x8, x9
stur x8, [x29, #-48] ; 8-byte Folded Spill
ldur x1, [x29, #-24]
sub x0, x29, #40
bl _IntervalTimer
ldr x12, [sp, #40] ; 8-byte Folded Reload
ldr x11, [sp, #48] ; 8-byte Folded Reload
ldr x10, [sp, #56] ; 8-byte Folded Reload
ldur x8, [x29, #-48] ; 8-byte Folded Reload
mov x9, sp
str x12, [x9]
str x11, [x9, #8]
str x10, [x9, #16]
str x8, [x9, #24]
; implicit-def: $x8
mov x8, x0
str x8, [x9, #32]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB5_9
LBB5_9:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.globl _StatisticsPing ; -- Begin function StatisticsPing
.p2align 2
_StatisticsPing: ; @StatisticsPing
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur d0, [x29, #-24]
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
ldur x8, [x29, #-8]
ldr w8, [x8, #136]
; implicit-def: $x10
mov x10, x8
ldur x8, [x29, #-8]
ldr w8, [x8, #144]
; implicit-def: $x9
mov x9, x8
ldur x8, [x29, #-8]
ldr s0, [x8, #140]
scvtf s0, s0
ldur x8, [x29, #-8]
ldr s1, [x8, #136]
scvtf s1, s1
fdiv s1, s0, s1
mov w8, #1120403456
fmov s0, w8
fmul s0, s0, s1
fcvt d1, s0
ldur d0, [x29, #-24]
mov x8, sp
str x10, [x8]
str x9, [x8, #8]
str d1, [x8, #16]
mov x9, #37
str x9, [x8, #24]
str d0, [x8, #32]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _shouldKeep_pinging ; @shouldKeep_pinging
_shouldKeep_pinging:
.byte 1 ; 0x1
.section __TEXT,__cstring,cstring_literals
l___const.main.ping_request: ; @__const.main.ping_request
.asciz "Ping : Request (8)\n"
l_.str: ; @.str
.asciz "Error: cannot set signal handler\n"
l_.str.1: ; @.str.1
.asciz "Error: Usage: %s <destination> <port>\n"
l_.str.2: ; @.str.2
.asciz "Error: cannot find Ip\n"
l_.str.3: ; @.str.3
.asciz "Error: cannot create a socket() :L \n"
l_.str.4: ; @.str.4
.asciz "\nPING %s (%s) with %d bytes of data.\n"
l_.str.5: ; @.str.5
.asciz "Error: cannot send a request\n"
l_.str.6: ; @.str.6
.asciz "Error: cannot recv data\n"
l_.str.7: ; @.str.7
.asciz "%d bytes from %s (%s): num_seq=%d time=%d ms\n"
l_.str.8: ; @.str.8
.asciz "\n--- %s ping statistics ---\n"
l_.str.9: ; @.str.9
.asciz "%d packets transmitted, %d received, %0.3f%c packet loss, total time %0.2f (s)\n\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 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 $288, %rsp ## imm = 0x120
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -212(%rbp)
movl %edi, -216(%rbp)
movq %rsi, -224(%rbp)
movq L___const.main.ping_request(%rip), %rax
movq %rax, -208(%rbp)
movq L___const.main.ping_request+8(%rip), %rax
movq %rax, -200(%rbp)
movl L___const.main.ping_request+16(%rip), %eax
movl %eax, -192(%rbp)
movl $0, -228(%rbp)
movq $0, -256(%rbp)
leaq -264(%rbp), %rdi
callq _time
movl $2, %edi
leaq _CTRLDhandler(%rip), %rsi
callq _signal
movq $-1, %rcx
cmpq %rcx, %rax
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB0_2:
cmpl $3, -216(%rbp)
jle LBB0_4
## %bb.3:
movq -224(%rbp), %rax
movq (%rax), %rsi
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB0_4:
movq -224(%rbp), %rax
movq 8(%rax), %rdi
callq _gethostbyname
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
jne LBB0_6
## %bb.5:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB0_6:
movl $0, -48(%rbp)
movl $0, -40(%rbp)
movl $0, -44(%rbp)
movq $0, -32(%rbp)
movq $0, -24(%rbp)
movq -16(%rbp), %rax
movq 24(%rax), %rax
movq (%rax), %rax
movq %rax, -184(%rbp)
movq -224(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -176(%rbp)
leaq -184(%rbp), %rdi
addq $20, %rdi
xorl %esi, %esi
movl $16, %edx
callq _memset
movb $2, -163(%rbp)
movq -176(%rbp), %rdi
callq _atoi
## kill: def $ax killed $ax killed $eax
movzwl %ax, %edi
callq __OSSwapInt16
movzwl %ax, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -162(%rbp)
leaq -184(%rbp), %rdi
addq $20, %rdi
addq $4, %rdi
movq -16(%rbp), %rax
movq 24(%rax), %rax
movq (%rax), %rsi
movq -16(%rbp), %rax
movslq 20(%rax), %rdx
movl $152, %ecx
callq ___memmove_chk
movl $2, %esi
movl $17, %edx
movl %esi, %edi
callq _socket
movl %eax, -168(%rbp)
cmpl $0, %eax
jge LBB0_8
## %bb.7:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB0_8:
movq -224(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -280(%rbp) ## 8-byte Spill
movq -16(%rbp), %rax
movq 24(%rax), %rax
movq (%rax), %rax
movl (%rax), %edi
callq _inet_ntoa
movq -280(%rbp), %rsi ## 8-byte Reload
movq %rax, %rdx
leaq L_.str.4(%rip), %rdi
movl $20, %ecx
movb $0, %al
callq _printf
leaq -208(%rbp), %rsi
leaq -184(%rbp), %rdi
leaq -256(%rbp), %rdx
leaq -248(%rbp), %rcx
callq _Send_ping
LBB0_9: ## =>This Inner Loop Header: Depth=1
movb _shouldKeep_pinging(%rip), %al
testb $1, %al
je LBB0_19
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
leaq -240(%rbp), %rdi
leaq -248(%rbp), %rsi
callq _IntervalTimer
movl %eax, -228(%rbp)
cmpl $2000, -228(%rbp) ## imm = 0x7D0
jl LBB0_12
## %bb.11: ## in Loop: Header=BB0_9 Depth=1
leaq -208(%rbp), %rsi
leaq -184(%rbp), %rdi
leaq -256(%rbp), %rdx
leaq -248(%rbp), %rcx
callq _Send_ping
jmp LBB0_18
LBB0_12: ## in Loop: Header=BB0_9 Depth=1
movl -48(%rbp), %eax
cmpl -40(%rbp), %eax
jle LBB0_14
## %bb.13: ## in Loop: Header=BB0_9 Depth=1
leaq -184(%rbp), %rdi
leaq -256(%rbp), %rsi
leaq -248(%rbp), %rdx
callq _waitReply
jmp LBB0_17
LBB0_14: ## in Loop: Header=BB0_9 Depth=1
cmpl $15, -44(%rbp)
jne LBB0_16
## %bb.15:
jmp LBB0_19
LBB0_16: ## in Loop: Header=BB0_9 Depth=1
jmp LBB0_17
LBB0_17: ## in Loop: Header=BB0_9 Depth=1
jmp LBB0_18
LBB0_18: ## in Loop: Header=BB0_9 Depth=1
jmp LBB0_9
LBB0_19:
leaq -272(%rbp), %rdi
callq _time
movq -224(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -288(%rbp) ## 8-byte Spill
movq -272(%rbp), %rdi
movq -264(%rbp), %rsi
callq _difftime
movq -288(%rbp), %rsi ## 8-byte Reload
leaq -184(%rbp), %rdi
callq _StatisticsPing
movl -168(%rbp), %edi
callq _close
## %bb.20:
jmp LBB0_21
LBB0_21:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_23
## %bb.22:
xorl %eax, %eax
addq $288, %rsp ## imm = 0x120
popq %rbp
retq
LBB0_23:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _CTRLDhandler ## -- Begin function CTRLDhandler
.p2align 4, 0x90
_CTRLDhandler: ## @CTRLDhandler
.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, -4(%rbp)
movb $0, _shouldKeep_pinging(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function _OSSwapInt16
__OSSwapInt16: ## @_OSSwapInt16
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movw %di, %ax
movw %ax, -2(%rbp)
movzwl -2(%rbp), %eax
shll $8, %eax
movzwl -2(%rbp), %ecx
sarl $8, %ecx
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movzwl %ax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _Send_ping ## -- Begin function Send_ping
.p2align 4, 0x90
_Send_ping: ## @Send_ping
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
movq -8(%rbp), %rax
movl 16(%rax), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
movq -16(%rbp), %rax
movq %rax, -40(%rbp) ## 8-byte Spill
movq -16(%rbp), %rdi
callq _strlen
movl -44(%rbp), %edi ## 4-byte Reload
movq -40(%rbp), %rsi ## 8-byte Reload
movq %rax, %rdx
movq -8(%rbp), %r8
addq $20, %r8
xorl %ecx, %ecx
movl $16, %r9d
callq _sendto
movq %rax, %rcx
movq -24(%rbp), %rax
movq %rcx, (%rax)
callq _clock
movq %rax, %rcx
movq -32(%rbp), %rax
movq %rcx, (%rax)
movq -24(%rbp), %rax
cmpq $0, (%rax)
jge LBB3_2
## %bb.1:
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB3_2:
movq -8(%rbp), %rax
movl 136(%rax), %ecx
addl $1, %ecx
movl %ecx, 136(%rax)
movq -24(%rbp), %rax
movq (%rax), %rcx
movq -8(%rbp), %rax
addq 152(%rax), %rcx
movq %rcx, 152(%rax)
## %bb.3:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _IntervalTimer ## -- Begin function IntervalTimer
.p2align 4, 0x90
_IntervalTimer: ## @IntervalTimer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
callq _clock
movq %rax, %rcx
movq -16(%rbp), %rax
subq (%rax), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
movq -8(%rbp), %rax
imulq $1000, (%rax), %rax ## imm = 0x3E8
movl $1000000, %ecx ## imm = 0xF4240
xorl %edx, %edx
## kill: def $rdx killed $edx
divq %rcx
## kill: def $eax killed $eax killed $rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function waitReply
LCPI5_0:
.quad 0x409c200000000000 ## double 1800
.section __TEXT,__text,regular,pure_instructions
.globl _waitReply
.p2align 4, 0x90
_waitReply: ## @waitReply
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq $0, -32(%rbp)
LBB5_1: ## =>This Inner Loop Header: Depth=1
cmpq $64, -32(%rbp)
jae LBB5_7
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
movq -8(%rbp), %rax
movl 16(%rax), %edi
movq -8(%rbp), %rsi
addq $36, %rsi
movl $99, %edx
xorl %ecx, %ecx
xorl %eax, %eax
movl %eax, %r9d
movq %r9, %r8
callq _recvfrom
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, (%rax)
movq -16(%rbp), %rax
cmpq $0, (%rax)
jge LBB5_4
## %bb.3:
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB5_4: ## in Loop: Header=BB5_1 Depth=1
movq -16(%rbp), %rax
movq (%rax), %rax
addq -32(%rbp), %rax
movq %rax, -32(%rbp)
movq -8(%rbp), %rax
movq -16(%rbp), %rcx
movq (%rcx), %rcx
movb $0, 36(%rax,%rcx)
movq -16(%rbp), %rax
movq (%rax), %rcx
movq -8(%rbp), %rax
addq 160(%rax), %rcx
movq %rcx, 160(%rax)
movq -24(%rbp), %rsi
leaq -40(%rbp), %rdi
callq _IntervalTimer
cvtsi2sd %eax, %xmm0
movsd LCPI5_0(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jbe LBB5_6
## %bb.5:
movq -8(%rbp), %rax
movl 140(%rax), %ecx
addl $1, %ecx
movl %ecx, 140(%rax)
jmp LBB5_7
LBB5_6: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_1
LBB5_7:
cmpq $64, -32(%rbp)
jne LBB5_9
## %bb.8:
movq -8(%rbp), %rax
movl 144(%rax), %ecx
addl $1, %ecx
movl %ecx, 144(%rax)
movq -32(%rbp), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movq -8(%rbp), %rax
movq 168(%rax), %rax
movq (%rax), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movq -8(%rbp), %rax
movq 168(%rax), %rax
movq 24(%rax), %rax
movq (%rax), %rax
movl (%rax), %edi
callq _inet_ntoa
movq %rax, -56(%rbp) ## 8-byte Spill
movq -8(%rbp), %rax
movl 144(%rax), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
movq -24(%rbp), %rsi
leaq -40(%rbp), %rdi
callq _IntervalTimer
movq -72(%rbp), %rsi ## 8-byte Reload
movq -64(%rbp), %rdx ## 8-byte Reload
movq -56(%rbp), %rcx ## 8-byte Reload
movl -44(%rbp), %r8d ## 4-byte Reload
movl %eax, %r9d
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
LBB5_9:
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function StatisticsPing
LCPI6_0:
.long 0x42c80000 ## float 100
.section __TEXT,__text,regular,pure_instructions
.globl _StatisticsPing
.p2align 4, 0x90
_StatisticsPing: ## @StatisticsPing
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movsd %xmm0, -24(%rbp)
movq -16(%rbp), %rsi
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movl 136(%rax), %esi
movq -8(%rbp), %rax
movl 144(%rax), %edx
movq -8(%rbp), %rax
cvtsi2ssl 140(%rax), %xmm1
movq -8(%rbp), %rax
cvtsi2ssl 136(%rax), %xmm0
divss %xmm0, %xmm1
movss LCPI6_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movsd -24(%rbp), %xmm1 ## xmm1 = mem[0],zero
leaq L_.str.9(%rip), %rdi
movl $37, %ecx
movb $2, %al
callq _printf
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _shouldKeep_pinging ## @shouldKeep_pinging
_shouldKeep_pinging:
.byte 1 ## 0x1
.section __TEXT,__cstring,cstring_literals
.p2align 4 ## @__const.main.ping_request
L___const.main.ping_request:
.asciz "Ping : Request (8)\n"
L_.str: ## @.str
.asciz "Error: cannot set signal handler\n"
L_.str.1: ## @.str.1
.asciz "Error: Usage: %s <destination> <port>\n"
L_.str.2: ## @.str.2
.asciz "Error: cannot find Ip\n"
L_.str.3: ## @.str.3
.asciz "Error: cannot create a socket() :L \n"
L_.str.4: ## @.str.4
.asciz "\nPING %s (%s) with %d bytes of data.\n"
L_.str.5: ## @.str.5
.asciz "Error: cannot send a request\n"
L_.str.6: ## @.str.6
.asciz "Error: cannot recv data\n"
L_.str.7: ## @.str.7
.asciz "%d bytes from %s (%s): num_seq=%d time=%d ms\n"
L_.str.8: ## @.str.8
.asciz "\n--- %s ping statistics ---\n"
L_.str.9: ## @.str.9
.asciz "%d packets transmitted, %d received, %0.3f%c packet loss, total time %0.2f (s)\n\n"
.subsections_via_symbols
| the_stack_data/43742.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x1, [sp, #16]
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov w0, #1
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _errx
LBB0_2:
ldr x8, [sp, #16]
ldr x0, [x8, #8]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
mov w0, #1
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _err
LBB0_4:
ldr x0, [sp, #8]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _fprintf
ldr x0, [sp, #8]
bl _fclose
mov w0, #0
bl _exit
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Tell me the filename"
l_.str.1: ; @.str.1
.asciz "w"
l_.str.2: ; @.str.2
.asciz "fopen"
l_.str.3: ; @.str.3
.asciz "Hello, world!\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 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
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $2, -8(%rbp)
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movl $1, %edi
callq _errx
LBB0_2:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB0_4
## %bb.3:
leaq L_.str.2(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movl $1, %edi
callq _err
LBB0_4:
movq -24(%rbp), %rdi
leaq L_.str.3(%rip), %rsi
xorl %eax, %eax
movl %eax, -28(%rbp) ## 4-byte Spill
callq _fprintf
movq -24(%rbp), %rdi
callq _fclose
movl -28(%rbp), %edi ## 4-byte Reload
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Tell me the filename"
L_.str.1: ## @.str.1
.asciz "w"
L_.str.2: ## @.str.2
.asciz "fopen"
L_.str.3: ## @.str.3
.asciz "Hello, world!\n"
.subsections_via_symbols
| the_stack_data/1173436.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.comm _pp,8,3 ; @pp
.comm _staticObject1,4,2 ; @staticObject1
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.comm _pp,8,3 ## @pp
.comm _staticObject1,4,2 ## @staticObject1
.subsections_via_symbols
| the_stack_data/23698.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _josephus ; -- Begin function josephus
.p2align 2
_josephus: ; @josephus
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str w1, [sp, #8]
str wzr, [sp]
mov w8, #1
str w8, [sp, #4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp]
ldr w9, [sp, #8]
add w8, w8, w9
ldr w10, [sp, #4]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
str w8, [sp]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB0_1
LBB0_4:
ldr w8, [sp]
add w0, w8, #1
add sp, sp, #16
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
mov w8, #0
str w8, [sp, #16] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
bl _scanf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov x9, sp
sub x8, x29, #12
str x8, [x9]
bl _scanf
ldur w0, [x29, #-8]
ldur w1, [x29, #-12]
bl _josephus
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr w0, [sp, #16] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "How many people are in circle:"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "How many people to skip"
l_.str.3: ; @.str.3
.asciz "Winner is:%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _josephus ## -- Begin function josephus
.p2align 4, 0x90
_josephus: ## @josephus
.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, -4(%rbp)
movl %esi, -8(%rbp)
movl $0, -16(%rbp)
movl $1, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
cmpl -4(%rbp), %eax
jg LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl -8(%rbp), %eax
cltd
idivl -12(%rbp)
movl %edx, -16(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_4:
movl -16(%rbp), %eax
addl $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
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
movl -8(%rbp), %edi
movl -12(%rbp), %esi
callq _josephus
movl %eax, %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "How many people are in circle:"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "How many people to skip"
L_.str.3: ## @.str.3
.asciz "Winner is:%d"
.subsections_via_symbols
| the_stack_data/198581157.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-20] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov x8, #-999
stur x8, [x29, #-16]
bl _manager
stur x0, [x29, #-16]
ldur x8, [x29, #-16]
mov x9, sp
adrp x10, l_.str.1@PAGE
add x10, x10, l_.str.1@PAGEOFF
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur w0, [x29, #-20] ; 4-byte Folded Reload
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s%ld\n"
l_.str.1: ; @.str.1
.asciz "the main will return 0 to the operating system. bye "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movq $-999, -16(%rbp) ## imm = 0xFC19
movb $0, %al
callq _manager
movq %rax, -16(%rbp)
movq -16(%rbp), %rdx
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s%ld\n"
L_.str.1: ## @.str.1
.asciz "the main will return 0 to the operating system. bye "
.subsections_via_symbols
| the_stack_data/15762830.c |
.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/134265.c |
.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 0x408f400000000000 ; double 1000
lCPI0_1:
.quad 0x40e3880000000000 ; double 4.0E+4
lCPI0_2:
.quad 0x4097700000000000 ; double 1500
lCPI0_3:
.quad 0x40ed4c0000000000 ; double 6.0E+4
lCPI0_4:
.quad 0x409f400000000000 ; double 2000
lCPI0_5:
.quad 0x40f3880000000000 ; double 8.0E+4
lCPI0_6:
.quad 0x40a3880000000000 ; double 2500
lCPI0_7:
.quad 0x40f86a0000000000 ; double 1.0E+5
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #12
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
str x0, [sp, #24] ; 8-byte Folded Spill
bl _scanf
ldr x0, [sp, #24] ; 8-byte Folded Reload
mov x9, sp
sub x8, x29, #8
str x8, [x9]
bl _scanf
ldur w8, [x29, #-8]
subs w8, w8, #40
cset w8, gt
tbnz w8, #0, LBB0_9
b LBB0_1
LBB0_1:
ldur w8, [x29, #-8]
subs w8, w8, #1
; kill: def $x8 killed $w8
str x8, [sp, #16] ; 8-byte Folded Spill
subs x8, x8, #3
cset w8, hi
tbnz w8, #0, LBB0_7
; %bb.2:
ldr x11, [sp, #16] ; 8-byte Folded Reload
adrp x10, lJTI0_1@PAGE
add x10, x10, lJTI0_1@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB0_3:
mov w8, #40000
stur w8, [x29, #-16]
b LBB0_8
LBB0_4:
mov w8, #60000
stur w8, [x29, #-16]
b LBB0_8
LBB0_5:
mov w8, #14464
movk w8, #1, lsl #16
stur w8, [x29, #-16]
b LBB0_8
LBB0_6:
mov w8, #34464
movk w8, #1, lsl #16
stur w8, [x29, #-16]
b LBB0_8
LBB0_7:
b LBB0_8
LBB0_8:
b LBB0_17
LBB0_9:
ldur w8, [x29, #-8]
subs w8, w8, #1
; kill: def $x8 killed $w8
str x8, [sp, #8] ; 8-byte Folded Spill
subs x8, x8, #3
cset w8, hi
tbnz w8, #0, LBB0_15
; %bb.10:
ldr x11, [sp, #8] ; 8-byte Folded Reload
adrp x10, lJTI0_0@PAGE
add x10, x10, lJTI0_0@PAGEOFF
Ltmp1:
adr x8, Ltmp1
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB0_11:
ldur w8, [x29, #-8]
subs w8, w8, #40
scvtf d0, w8
fmov d1, #1.50000000
fmul d0, d0, d1
adrp x8, lCPI0_1@PAGE
ldr d2, [x8, lCPI0_1@PAGEOFF]
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fmadd d0, d0, d1, d2
fcvtzs w8, d0
stur w8, [x29, #-16]
b LBB0_16
LBB0_12:
ldur w8, [x29, #-8]
subs w8, w8, #40
scvtf d0, w8
fmov d1, #1.50000000
fmul d0, d0, d1
adrp x8, lCPI0_3@PAGE
ldr d2, [x8, lCPI0_3@PAGEOFF]
adrp x8, lCPI0_2@PAGE
ldr d1, [x8, lCPI0_2@PAGEOFF]
fmadd d0, d0, d1, d2
fcvtzs w8, d0
stur w8, [x29, #-16]
b LBB0_16
LBB0_13:
ldur w8, [x29, #-8]
subs w8, w8, #40
scvtf d0, w8
fmov d1, #1.50000000
fmul d0, d0, d1
adrp x8, lCPI0_5@PAGE
ldr d2, [x8, lCPI0_5@PAGEOFF]
adrp x8, lCPI0_4@PAGE
ldr d1, [x8, lCPI0_4@PAGEOFF]
fmadd d0, d0, d1, d2
fcvtzs w8, d0
stur w8, [x29, #-16]
b LBB0_16
LBB0_14:
ldur w8, [x29, #-8]
subs w8, w8, #40
scvtf d0, w8
fmov d1, #1.50000000
fmul d0, d0, d1
adrp x8, lCPI0_7@PAGE
ldr d2, [x8, lCPI0_7@PAGEOFF]
adrp x8, lCPI0_6@PAGE
ldr d1, [x8, lCPI0_6@PAGEOFF]
fmadd d0, d0, d1, d2
fcvtzs w8, d0
stur w8, [x29, #-16]
b LBB0_16
LBB0_15:
b LBB0_16
LBB0_16:
b LBB0_17
LBB0_17:
ldur w9, [x29, #-16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
.p2align 2
lJTI0_0:
.long LBB0_11-Ltmp1
.long LBB0_12-Ltmp1
.long LBB0_13-Ltmp1
.long LBB0_14-Ltmp1
.p2align 2
lJTI0_1:
.long LBB0_3-Ltmp0
.long LBB0_4-Ltmp0
.long LBB0_5-Ltmp0
.long LBB0_6-Ltmp0
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x40a3880000000000 ## double 2500
LCPI0_1:
.quad 0x40f86a0000000000 ## double 1.0E+5
LCPI0_2:
.quad 0x3ff8000000000000 ## double 1.5
LCPI0_3:
.quad 0x409f400000000000 ## double 2000
LCPI0_4:
.quad 0x40f3880000000000 ## double 8.0E+4
LCPI0_5:
.quad 0x4097700000000000 ## double 1500
LCPI0_6:
.quad 0x40ed4c0000000000 ## double 6.0E+4
LCPI0_7:
.quad 0x408f400000000000 ## double 1000
LCPI0_8:
.quad 0x40e3880000000000 ## double 4.0E+4
.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
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
cmpl $40, -8(%rbp)
jg LBB0_8
## %bb.1:
movl -8(%rbp), %eax
decl %eax
movl %eax, %ecx
movq %rcx, -24(%rbp) ## 8-byte Spill
subl $3, %eax
ja LBB0_6
## %bb.17:
movq -24(%rbp), %rax ## 8-byte Reload
leaq LJTI0_1(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_2:
movl $40000, -16(%rbp) ## imm = 0x9C40
jmp LBB0_7
LBB0_3:
movl $60000, -16(%rbp) ## imm = 0xEA60
jmp LBB0_7
LBB0_4:
movl $80000, -16(%rbp) ## imm = 0x13880
jmp LBB0_7
LBB0_5:
movl $100000, -16(%rbp) ## imm = 0x186A0
jmp LBB0_7
LBB0_6:
jmp LBB0_7
LBB0_7:
jmp LBB0_15
LBB0_8:
movl -8(%rbp), %eax
decl %eax
movl %eax, %ecx
movq %rcx, -32(%rbp) ## 8-byte Spill
subl $3, %eax
ja LBB0_13
## %bb.16:
movq -32(%rbp), %rax ## 8-byte Reload
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_9:
movl -8(%rbp), %eax
subl $40, %eax
cvtsi2sd %eax, %xmm0
movsd LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm0
movsd LCPI0_7(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm0
movsd LCPI0_8(%rip), %xmm1 ## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
cvttsd2si %xmm0, %eax
movl %eax, -16(%rbp)
jmp LBB0_14
LBB0_10:
movl -8(%rbp), %eax
subl $40, %eax
cvtsi2sd %eax, %xmm0
movsd LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm0
movsd LCPI0_5(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm0
movsd LCPI0_6(%rip), %xmm1 ## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
cvttsd2si %xmm0, %eax
movl %eax, -16(%rbp)
jmp LBB0_14
LBB0_11:
movl -8(%rbp), %eax
subl $40, %eax
cvtsi2sd %eax, %xmm0
movsd LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm0
movsd LCPI0_3(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm0
movsd LCPI0_4(%rip), %xmm1 ## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
cvttsd2si %xmm0, %eax
movl %eax, -16(%rbp)
jmp LBB0_14
LBB0_12:
movl -8(%rbp), %eax
subl $40, %eax
cvtsi2sd %eax, %xmm0
movsd LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm0
movsd LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
cvttsd2si %xmm0, %eax
movl %eax, -16(%rbp)
jmp LBB0_14
LBB0_13:
jmp LBB0_14
LBB0_14:
jmp LBB0_15
LBB0_15:
movl -16(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
.long L0_0_set_9
.long L0_0_set_10
.long L0_0_set_11
.long L0_0_set_12
.set L0_1_set_2, LBB0_2-LJTI0_1
.set L0_1_set_3, LBB0_3-LJTI0_1
.set L0_1_set_4, LBB0_4-LJTI0_1
.set L0_1_set_5, LBB0_5-LJTI0_1
LJTI0_1:
.long L0_1_set_2
.long L0_1_set_3
.long L0_1_set_4
.long L0_1_set_5
.end_data_region
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
.subsections_via_symbols
| the_stack_data/113523.c |
.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 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
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
mov w1, #0
str wzr, [sp, #28]
add x0, sp, #32
mov x2, #40
bl _memset
str wzr, [sp, #24]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #24]
add x8, sp, #32
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_1
LBB0_4:
str wzr, [sp, #20]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldrsw x10, [sp, #20]
add x9, sp, #32
mov w8, #1
str w8, [x9, x10, lsl #2]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_5
LBB0_8:
str wzr, [sp, #16]
b LBB0_9
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
ldrsw x9, [sp, #16]
add x8, sp, #32
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_9
LBB0_12:
add x0, sp, #32
mov w1, #0
mov x2, #40
bl _memset
str wzr, [sp, #12]
b LBB0_13
LBB0_13: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_16
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_13 Depth=1
ldrsw x9, [sp, #12]
add x8, sp, #32
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_13 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_13
LBB0_16:
ldr w8, [sp, #28]
str w8, [sp, #8] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17:
bl ___stack_chk_fail
LBB0_18:
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 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 $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -52(%rbp)
leaq -48(%rbp), %rdi
xorl %esi, %esi
movl $40, %edx
callq _memset
movl $0, -56(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -56(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -56(%rbp), %rax
movl -48(%rbp,%rax,4), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB0_1
LBB0_4:
movl $0, -60(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpl $10, -60(%rbp)
jge LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movslq -60(%rbp), %rax
movl $1, -48(%rbp,%rax,4)
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
jmp LBB0_5
LBB0_8:
movl $0, -64(%rbp)
LBB0_9: ## =>This Inner Loop Header: Depth=1
cmpl $10, -64(%rbp)
jge LBB0_12
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movslq -64(%rbp), %rax
movl -48(%rbp,%rax,4), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.11: ## in Loop: Header=BB0_9 Depth=1
movl -64(%rbp), %eax
addl $1, %eax
movl %eax, -64(%rbp)
jmp LBB0_9
LBB0_12:
leaq -48(%rbp), %rdi
xorl %esi, %esi
movl $40, %edx
callq _memset
movl $0, -68(%rbp)
LBB0_13: ## =>This Inner Loop Header: Depth=1
cmpl $10, -68(%rbp)
jge LBB0_16
## %bb.14: ## in Loop: Header=BB0_13 Depth=1
movslq -68(%rbp), %rax
movl -48(%rbp,%rax,4), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.15: ## in Loop: Header=BB0_13 Depth=1
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
jmp LBB0_13
LBB0_16:
movl -52(%rbp), %eax
movl %eax, -72(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_18
## %bb.17:
movl -72(%rbp), %eax ## 4-byte Reload
addq $80, %rsp
popq %rbp
retq
LBB0_18:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
.subsections_via_symbols
| the_stack_data/206393083.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-4]
b LBB0_3
LBB0_2:
mov x8, #4278190080
str x8, [sp, #48]
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
mov x1, #0
mov w2, #0
bl _strtoul
stur x0, [x29, #-24]
ldur x8, [x29, #-24]
str x8, [sp, #40]
ldr x8, [sp, #40]
lsr x8, x8, #24
stur x8, [x29, #-32]
mov x8, #255
str x8, [sp, #48]
ldur x9, [x29, #-24]
str x9, [sp, #40]
ldr x10, [sp, #40]
ldr x9, [sp, #48]
and x9, x9, x10, lsr #16
stur x9, [x29, #-40]
mov x9, #65280
str x9, [sp, #48]
ldur x9, [x29, #-24]
ldr x10, [sp, #48]
and x9, x9, x10
stur x9, [x29, #-48]
mov x9, #1023
str x9, [sp, #48]
str x8, [sp, #48]
ldur x8, [x29, #-24]
ldr x9, [sp, #48]
and x8, x8, x9
str x8, [sp, #56]
ldur x12, [x29, #-32]
ldur x11, [x29, #-40]
ldur x10, [x29, #-48]
ldr x8, [sp, #56]
mov x9, sp
str x12, [x9]
str x11, [x9, #8]
str x10, [x9, #16]
str x8, [x9, #24]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
stur wzr, [x29, #-4]
b LBB0_3
LBB0_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Nombre de parametres insuffisant\n"
l_.str.1: ; @.str.1
.asciz "%lu.%lu.%lu.%lu"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $2, -8(%rbp)
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -4(%rbp)
jmp LBB0_3
LBB0_2:
movl $4278190080, %eax ## imm = 0xFF000000
movq %rax, -64(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rdi
xorl %eax, %eax
movl %eax, %esi
xorl %edx, %edx
callq _strtoul
movq %rax, -24(%rbp)
movq -24(%rbp), %rax
movq %rax, -72(%rbp)
movq -72(%rbp), %rax
shrq $24, %rax
movq %rax, -32(%rbp)
movq $255, -64(%rbp)
movq -24(%rbp), %rax
movq %rax, -72(%rbp)
movq -72(%rbp), %rax
shrq $16, %rax
andq -64(%rbp), %rax
movq %rax, -40(%rbp)
movq $65280, -64(%rbp) ## imm = 0xFF00
movq -24(%rbp), %rax
andq -64(%rbp), %rax
movq %rax, -48(%rbp)
movq $1023, -64(%rbp) ## imm = 0x3FF
movq $255, -64(%rbp)
movq -24(%rbp), %rax
andq -64(%rbp), %rax
movq %rax, -56(%rbp)
movq -32(%rbp), %rsi
movq -40(%rbp), %rdx
movq -48(%rbp), %rcx
movq -56(%rbp), %r8
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -4(%rbp)
LBB0_3:
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Nombre de parametres insuffisant\n"
L_.str.1: ## @.str.1
.asciz "%lu.%lu.%lu.%lu"
.subsections_via_symbols
| the_stack_data/111870.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _string@GOTPAGE
ldr x8, [x8, _string@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur wzr, [x29, #-8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr x8, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
bl _is_palindrome
stur w0, [x29, #-8]
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_3
LBB0_2:
ldr x8, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_3
LBB0_3:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _is_palindrome ; -- Begin function is_palindrome
.p2align 2
_is_palindrome: ; @is_palindrome
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
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
adrp x0, _string@GOTPAGE
ldr x0, [x0, _string@GOTPAGEOFF]
str x0, [sp, #8] ; 8-byte Folded Spill
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #24]
str wzr, [sp, #20]
str wzr, [sp, #16]
bl _strlen
mov x8, x0
str w8, [sp, #24]
str wzr, [sp, #28]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldrsw x9, [sp, #28]
ldrsb w0, [x8, x9]
bl _push
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB1_1
LBB1_4:
str wzr, [sp, #28]
b LBB1_5
LBB1_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_8
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_5 Depth=1
bl _pop
ldrsw x9, [sp, #28]
add x8, sp, #38
strb w0, [x8, x9]
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_5 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB1_5
LBB1_8:
ldr x1, [sp, #8] ; 8-byte Folded Reload
add x0, sp, #38
bl _strcmp
str w0, [sp, #16]
ldr w8, [sp, #16]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_10
b LBB1_9
LBB1_9:
mov w8, #1
str w8, [sp, #32]
b LBB1_11
LBB1_10:
str wzr, [sp, #32]
b LBB1_11
LBB1_11:
ldr w8, [sp, #32]
str w8, [sp, #4] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_13
b LBB1_12
LBB1_12:
bl ___stack_chk_fail
LBB1_13:
ldr w0, [sp, #4] ; 4-byte Folded Reload
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.globl _push ; -- Begin function push
.p2align 2
_push: ; @push
.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
sturb w0, [x29, #-1]
adrp x8, _top@PAGE
ldr w8, [x8, _top@PAGEOFF]
subs w8, w8, #50
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB2_2:
adrp x9, _top@PAGE
ldr w8, [x9, _top@PAGEOFF]
add w8, w8, #1
str w8, [x9, _top@PAGEOFF]
ldurb w8, [x29, #-1]
ldrsw x10, [x9, _top@PAGEOFF]
adrp x9, _string@GOTPAGE
ldr x9, [x9, _string@GOTPAGEOFF]
add x9, x9, x10
strb w8, [x9]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _pop ; -- Begin function pop
.p2align 2
_pop: ; @pop
.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
adrp x8, _top@PAGE
ldr w8, [x8, _top@PAGEOFF]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
sturb wzr, [x29, #-1]
b LBB3_3
LBB3_2:
adrp x10, _top@PAGE
ldrsw x9, [x10, _top@PAGEOFF]
mov x8, x9
subs w8, w8, #1
str w8, [x10, _top@PAGEOFF]
adrp x8, _string@GOTPAGE
ldr x8, [x8, _string@GOTPAGEOFF]
add x8, x8, x9
ldrb w8, [x8]
sturb w8, [x29, #-1]
b LBB3_3
LBB3_3:
ldursb w0, [x29, #-1]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _top ; @top
.p2align 2
_top:
.long 4294967295 ; 0xffffffff
.globl _front ; @front
.zerofill __DATA,__common,_front,4,2
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\nEnter an expression :\t"
l_.str.1: ; @.str.1
.asciz "%s"
.comm _string,50,0 ; @string
l_.str.2: ; @.str.2
.asciz "\n%s is not palindrome..\n"
l_.str.3: ; @.str.3
.asciz "\n%s is palindrome..\n"
l_.str.4: ; @.str.4
.asciz "\nError: stack overflow..\n"
l_.str.5: ; @.str.5
.asciz "\nError: No element to pop ..\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 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
movl $0, -4(%rbp)
movl $0, -8(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movq _string@GOTPCREL(%rip), %rsi
movb $0, %al
callq _scanf
callq _is_palindrome
movl %eax, -8(%rbp)
cmpl $0, -8(%rbp)
je LBB0_2
## %bb.1:
leaq L_.str.2(%rip), %rdi
movq _string@GOTPCREL(%rip), %rsi
movb $0, %al
callq _printf
jmp LBB0_3
LBB0_2:
leaq L_.str.3(%rip), %rdi
movq _string@GOTPCREL(%rip), %rsi
movb $0, %al
callq _printf
LBB0_3:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _is_palindrome ## -- Begin function is_palindrome
.p2align 4, 0x90
_is_palindrome: ## @is_palindrome
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -76(%rbp)
movl $0, -80(%rbp)
movl $0, -84(%rbp)
movq _string@GOTPCREL(%rip), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -76(%rbp)
movl $0, -72(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -72(%rbp), %eax
cmpl -76(%rbp), %eax
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movslq -72(%rbp), %rcx
movq _string@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %edi
callq _push
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -72(%rbp), %eax
addl $1, %eax
movl %eax, -72(%rbp)
jmp LBB1_1
LBB1_4:
movl $0, -72(%rbp)
LBB1_5: ## =>This Inner Loop Header: Depth=1
movl -72(%rbp), %eax
cmpl -76(%rbp), %eax
jge LBB1_8
## %bb.6: ## in Loop: Header=BB1_5 Depth=1
callq _pop
movb %al, %cl
movslq -72(%rbp), %rax
movb %cl, -64(%rbp,%rax)
## %bb.7: ## in Loop: Header=BB1_5 Depth=1
movl -72(%rbp), %eax
addl $1, %eax
movl %eax, -72(%rbp)
jmp LBB1_5
LBB1_8:
leaq -64(%rbp), %rdi
movq _string@GOTPCREL(%rip), %rsi
callq _strcmp
movl %eax, -84(%rbp)
cmpl $0, -84(%rbp)
je LBB1_10
## %bb.9:
movl $1, -68(%rbp)
jmp LBB1_11
LBB1_10:
movl $0, -68(%rbp)
LBB1_11:
movl -68(%rbp), %eax
movl %eax, -88(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_13
## %bb.12:
movl -88(%rbp), %eax ## 4-byte Reload
addq $96, %rsp
popq %rbp
retq
LBB1_13:
callq ___stack_chk_fail
ud2
.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
subq $16, %rsp
movb %dil, %al
movb %al, -1(%rbp)
cmpl $50, _top(%rip)
jne LBB2_2
## %bb.1:
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB2_2:
movl _top(%rip), %eax
addl $1, %eax
movl %eax, _top(%rip)
movb -1(%rbp), %dl
movslq _top(%rip), %rcx
movq _string@GOTPCREL(%rip), %rax
movb %dl, (%rax,%rcx)
addq $16, %rsp
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
subq $16, %rsp
cmpl $-1, _top(%rip)
jne LBB3_2
## %bb.1:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movb $0, -1(%rbp)
jmp LBB3_3
LBB3_2:
movl _top(%rip), %eax
movl %eax, %ecx
addl $-1, %ecx
movl %ecx, _top(%rip)
movslq %eax, %rcx
movq _string@GOTPCREL(%rip), %rax
movb (%rax,%rcx), %al
movb %al, -1(%rbp)
LBB3_3:
movsbl -1(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _top ## @top
.p2align 2
_top:
.long 4294967295 ## 0xffffffff
.globl _front ## @front
.zerofill __DATA,__common,_front,4,2
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\nEnter an expression :\t"
L_.str.1: ## @.str.1
.asciz "%s"
.comm _string,50,4 ## @string
L_.str.2: ## @.str.2
.asciz "\n%s is not palindrome..\n"
L_.str.3: ## @.str.3
.asciz "\n%s is palindrome..\n"
L_.str.4: ## @.str.4
.asciz "\nError: stack overflow..\n"
L_.str.5: ## @.str.5
.asciz "\nError: No element to pop ..\n"
.subsections_via_symbols
| the_stack_data/18888402.c |
.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 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
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #20]
mov x9, sp
add x8, sp, #25
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldrsb w10, [sp, #25]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___stack_chk_fail
LBB0_2:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%c"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 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 $64, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -52(%rbp)
leaq L_.str(%rip), %rdi
leaq -48(%rbp), %rsi
movb $0, %al
callq _scanf
movsbl -48(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%c"
.subsections_via_symbols
| the_stack_data/20449571.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x0, [x8]
bl _getc
str w0, [sp, #8]
adds w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
subs w8, w8, #34
; kill: def $x8 killed $w8
str x8, [sp] ; 8-byte Folded Spill
subs x8, x8, #28
cset w8, hi
tbnz w8, #0, LBB0_9
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
ldr x11, [sp] ; 8-byte Folded Reload
adrp x10, lJTI0_0@PAGE
add x10, x10, lJTI0_0@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_10
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_10
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_10
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_10
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_10
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldr w0, [sp, #8]
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x1, [x8]
bl _putc
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_11:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
.p2align 2
lJTI0_0:
.long LBB0_6-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_7-Ltmp0
.long LBB0_8-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_4-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_5-Ltmp0
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "<"
l_.str.1: ; @.str.1
.asciz ">"
l_.str.2: ; @.str.2
.asciz """
l_.str.3: ; @.str.3
.asciz "&"
l_.str.4: ; @.str.4
.asciz "'"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 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
movl $0, -4(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _getc
movl %eax, -8(%rbp)
cmpl $-1, %eax
je LBB0_10
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $-34, %eax
movl %eax, %ecx
movq %rcx, -16(%rbp) ## 8-byte Spill
subl $28, %eax
ja LBB0_8
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax ## 8-byte Reload
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_9
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_9
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_9
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_9
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_9
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %edi
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _putc
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_10:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
.long L0_0_set_5
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_6
.long L0_0_set_7
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_3
.long L0_0_set_8
.long L0_0_set_4
.end_data_region
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "<"
L_.str.1: ## @.str.1
.asciz ">"
L_.str.2: ## @.str.2
.asciz """
L_.str.3: ## @.str.3
.asciz "&"
L_.str.4: ## @.str.4
.asciz "'"
.subsections_via_symbols
| the_stack_data/518058.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vuln ; -- Begin function vuln
.p2align 2
_vuln: ; @vuln
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
adrp x0, _str_head@PAGE
add x0, x0, _str_head@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
bl _strlen
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov x2, x0
mov w0, #0
str w0, [sp, #28] ; 4-byte Folded Spill
bl _write
adrp x0, _binsh@PAGE
add x0, x0, _binsh@PAGEOFF
str x0, [sp, #40] ; 8-byte Folded Spill
bl _strlen
ldr x1, [sp, #40] ; 8-byte Folded Reload
mov x2, x0
ldr w0, [sp, #28] ; 4-byte Folded Reload
bl _write
adrp x0, _str_tail@PAGE
add x0, x0, _str_tail@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _strlen
ldr x1, [sp, #16] ; 8-byte Folded Reload
mov x2, x0
ldr w0, [sp, #28] ; 4-byte Folded Reload
bl _write
ldr w0, [sp, #28] ; 4-byte Folded Reload
sub x1, x29, #40
str x1, [sp, #32] ; 8-byte Folded Spill
mov x2, #32
bl _read
mov x8, x0
ldr x0, [sp, #32] ; 8-byte Folded Reload
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #52]
ldr w8, [sp, #52]
subs w8, w8, #1
add x8, x0, w8, sxtw
strb wzr, [x8]
mov x1, #0
mov w2, #16
bl _strtol
stur x0, [x29, #-48]
ldur x8, [x29, #-48]
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldur x8, [x29, #-48]
str x8, [sp, #56]
ldr x8, [sp, #56]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _puts
ldr x0, [sp, #56]
bl _system
mov w0, #0
bl _exit
LBB0_2:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _puts
b LBB0_3
LBB0_3:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
bl ___stack_chk_fail
LBB0_5:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp 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
adrp x8, _str_head@PAGE
add x8, x8, _str_head@PAGEOFF
str x8, [sp, #24] ; 8-byte Folded Spill
stur x8, [x29, #-16] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
bl _init
ldr x10, [sp, #24] ; 8-byte Folded Reload
ldur x8, [x29, #-16] ; 8-byte Folded Reload
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
bl _vuln
b LBB1_1
.cfi_endproc
; -- End function
.globl _init ; -- Begin function init
.p2align 2
_init: ; @init
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #30
bl _alarm
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x0, [x8]
mov x1, #0
str x1, [sp, #8] ; 8-byte Folded Spill
bl _setbuf
ldr x1, [sp, #8] ; 8-byte Folded Reload
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x0, [x8]
bl _setbuf
ldr x1, [sp, #8] ; 8-byte Folded Reload
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
bl _setbuf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _str_head ; @str_head
_str_head:
.asciz "Please input '"
.globl _binsh ; @binsh
_binsh:
.asciz "/bin/sh"
.globl _str_tail ; @str_tail
_str_tail:
.asciz "' address as a hex number: "
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Your input address is 0x%lx.\n"
l_.str.1: ; @.str.1
.asciz "Congratulation!"
l_.str.2: ; @.str.2
.asciz "You are wrong.\n\n"
l_.str.3: ; @.str.3
.asciz "The address of \"%s\" is 0x%lx.\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vuln ## -- Begin function vuln
.p2align 4, 0x90
_vuln: ## @vuln
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
leaq _str_head(%rip), %rdi
callq _strlen
movq %rax, %rdx
xorl %edi, %edi
leaq _str_head(%rip), %rsi
callq _write
leaq _binsh(%rip), %rdi
callq _strlen
movq %rax, %rdx
xorl %edi, %edi
leaq _binsh(%rip), %rsi
callq _write
leaq _str_tail(%rip), %rdi
callq _strlen
movq %rax, %rdx
xorl %edi, %edi
leaq _str_tail(%rip), %rsi
callq _write
leaq -48(%rbp), %rsi
xorl %edi, %edi
movl $32, %edx
callq _read
## kill: def $eax killed $eax killed $rax
movl %eax, -68(%rbp)
movl -68(%rbp), %eax
subl $1, %eax
cltq
movb $0, -48(%rbp,%rax)
leaq -48(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
movl $16, %edx
callq _strtol
movq %rax, -56(%rbp)
movq -56(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -56(%rbp), %rax
movq %rax, -64(%rbp)
leaq _binsh(%rip), %rax
cmpq %rax, -64(%rbp)
jne LBB0_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
callq _puts
movq -64(%rbp), %rdi
callq _system
xorl %edi, %edi
callq _exit
LBB0_2:
leaq L_.str.2(%rip), %rdi
callq _puts
## %bb.3:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_5
## %bb.4:
addq $80, %rsp
popq %rbp
retq
LBB0_5:
callq ___stack_chk_fail
ud2
.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
movl $0, -4(%rbp)
callq _init
leaq L_.str.3(%rip), %rdi
leaq _str_head(%rip), %rdx
movq %rdx, %rsi
movb $0, %al
callq _printf
LBB1_1: ## =>This Inner Loop Header: Depth=1
callq _vuln
jmp LBB1_1
.cfi_endproc
## -- End function
.globl _init ## -- Begin function init
.p2align 4, 0x90
_init: ## @init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $30, %edi
callq _alarm
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _setbuf
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _setbuf
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _setbuf
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _str_head ## @str_head
_str_head:
.asciz "Please input '"
.globl _binsh ## @binsh
_binsh:
.asciz "/bin/sh"
.globl _str_tail ## @str_tail
.p2align 4
_str_tail:
.asciz "' address as a hex number: "
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Your input address is 0x%lx.\n"
L_.str.1: ## @.str.1
.asciz "Congratulation!"
L_.str.2: ## @.str.2
.asciz "You are wrong.\n\n"
L_.str.3: ## @.str.3
.asciz "The address of \"%s\" is 0x%lx.\n"
.subsections_via_symbols
| the_stack_data/103265814.c |
.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 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
mov w8, #89
sturb w8, [x29, #-1]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
; Child Loop BB0_10 Depth 2
; Child Loop BB0_15 Depth 2
; Child Loop BB0_20 Depth 2
; Child Loop BB0_25 Depth 2
ldursb w8, [x29, #-1]
subs w8, w8, #89
cset w8, eq
mov w9, #1
str w9, [sp, #28] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldursb w8, [x29, #-1]
subs w8, w8, #121
cset w8, eq
str w8, [sp, #28] ; 4-byte Folded Spill
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #28] ; 4-byte Folded Reload
tbz w8, #0, LBB0_43
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
stur wzr, [x29, #-28]
b LBB0_5
LBB0_5: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=2
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, lt
mov w9, #1
str w9, [sp, #24] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=2
ldur w8, [x29, #-8]
subs w8, w8, #100
cset w8, gt
str w8, [sp, #24] ; 4-byte Folded Spill
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_5 Depth=2
ldr w8, [sp, #24] ; 4-byte Folded Reload
tbnz w8, #0, LBB0_5
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
b LBB0_10
LBB0_10: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #12
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_10 Depth=2
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, lt
mov w9, #1
str w9, [sp, #20] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_10 Depth=2
ldur w8, [x29, #-12]
subs w8, w8, #100
cset w8, gt
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_10 Depth=2
ldr w8, [sp, #20] ; 4-byte Folded Reload
tbnz w8, #0, LBB0_10
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_1 Depth=1
b LBB0_15
LBB0_15: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #16
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_15 Depth=2
ldur w8, [x29, #-16]
subs w8, w8, #0
cset w8, lt
mov w9, #1
str w9, [sp, #16] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_15 Depth=2
ldur w8, [x29, #-16]
subs w8, w8, #100
cset w8, gt
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_15 Depth=2
ldr w8, [sp, #16] ; 4-byte Folded Reload
tbnz w8, #0, LBB0_15
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_1 Depth=1
b LBB0_20
LBB0_20: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #20
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_20 Depth=2
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, lt
mov w9, #1
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_23
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_20 Depth=2
ldur w8, [x29, #-20]
subs w8, w8, #100
cset w8, gt
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_20 Depth=2
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbnz w8, #0, LBB0_20
b LBB0_24
LBB0_24: ; in Loop: Header=BB0_1 Depth=1
b LBB0_25
LBB0_25: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #24
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_25 Depth=2
ldur w8, [x29, #-24]
subs w8, w8, #0
cset w8, lt
mov w9, #1
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_28
b LBB0_27
LBB0_27: ; in Loop: Header=BB0_25 Depth=2
ldur w8, [x29, #-24]
subs w8, w8, #100
cset w8, gt
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB0_28
LBB0_28: ; in Loop: Header=BB0_25 Depth=2
ldr w8, [sp, #8] ; 4-byte Folded Reload
tbnz w8, #0, LBB0_25
b LBB0_29
LBB0_29: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
add w8, w8, w9
ldur w9, [x29, #-16]
add w8, w8, w9
ldur w9, [x29, #-20]
add w8, w8, w9
ldur w9, [x29, #-24]
add w8, w8, w9
stur w8, [x29, #-28]
ldur s1, [x29, #-28]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
fmov d1, #5.00000000
fdiv d0, d0, d1
fcvt s0, d0
str s0, [sp, #32]
ldur w9, [x29, #-28]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
ldr s0, [sp, #32]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
ldr s0, [sp, #32]
fcmp s0, #0.0
cset w8, lt
tbnz w8, #0, LBB0_41
b LBB0_30
LBB0_30: ; in Loop: Header=BB0_1 Depth=1
ldr s0, [sp, #32]
mov w8, #1120403456
fmov s1, w8
fcmp s0, s1
cset w8, hi
tbnz w8, #0, LBB0_41
b LBB0_31
LBB0_31: ; in Loop: Header=BB0_1 Depth=1
ldr s0, [sp, #32]
mov w8, #1117782016
fmov s1, w8
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB0_33
b LBB0_32
LBB0_32: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
b LBB0_40
LBB0_33: ; in Loop: Header=BB0_1 Depth=1
ldr s0, [sp, #32]
mov w8, #1112014848
fmov s1, w8
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB0_35
b LBB0_34
LBB0_34: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
b LBB0_39
LBB0_35: ; in Loop: Header=BB0_1 Depth=1
ldr s0, [sp, #32]
mov w8, #1108082688
fmov s1, w8
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB0_37
b LBB0_36
LBB0_36: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
b LBB0_38
LBB0_37: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
b LBB0_38
LBB0_38: ; in Loop: Header=BB0_1 Depth=1
b LBB0_39
LBB0_39: ; in Loop: Header=BB0_1 Depth=1
b LBB0_40
LBB0_40: ; in Loop: Header=BB0_1 Depth=1
b LBB0_42
LBB0_41: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
b LBB0_42
LBB0_42: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x0, [x8]
bl _fflush
mov x9, sp
sub x8, x29, #1
str x8, [x9]
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
bl _scanf
b LBB0_1
LBB0_43:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "* Enter Your Maths Marks *\n"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "* Enter Your English Marks *\n"
l_.str.3: ; @.str.3
.asciz "* Enter Your Science Marks *\n"
l_.str.4: ; @.str.4
.asciz "* Enter Your Hindi Marks *\n"
l_.str.5: ; @.str.5
.asciz "* Enter Your Economics Marks *\n"
l_.str.6: ; @.str.6
.asciz "* Your Total Is %d *\n"
l_.str.7: ; @.str.7
.asciz "* Your Average Marks Are %f *\n"
l_.str.8: ; @.str.8
.asciz "* Grade A *"
l_.str.9: ; @.str.9
.asciz "* Grade B *"
l_.str.10: ; @.str.10
.asciz "* Grade C *"
l_.str.11: ; @.str.11
.asciz "* FAIL *"
l_.str.12: ; @.str.12
.asciz "* INVALID CHOICE *"
l_.str.13: ; @.str.13
.asciz "\n Press Y To Continue \n"
l_.str.14: ; @.str.14
.asciz "%c"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x4014000000000000 ## double 5
.section __TEXT,__literal4,4byte_literals
.p2align 2
LCPI0_1:
.long 0x42c80000 ## float 100
LCPI0_2:
.long 0x42a00000 ## float 80
LCPI0_3:
.long 0x42480000 ## float 50
LCPI0_4:
.long 0x420c0000 ## float 35
.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 $48, %rsp
movb $89, -1(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
## Child Loop BB0_10 Depth 2
## Child Loop BB0_15 Depth 2
## Child Loop BB0_20 Depth 2
## Child Loop BB0_25 Depth 2
movsbl -1(%rbp), %ecx
movb $1, %al
cmpl $89, %ecx
movb %al, -33(%rbp) ## 1-byte Spill
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movsbl -1(%rbp), %eax
cmpl $121, %eax
sete %al
movb %al, -33(%rbp) ## 1-byte Spill
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movb -33(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_4
jmp LBB0_43
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl $0, -28(%rbp)
LBB0_5: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
## %bb.6: ## in Loop: Header=BB0_5 Depth=2
movb $1, %al
cmpl $0, -8(%rbp)
movb %al, -34(%rbp) ## 1-byte Spill
jl LBB0_8
## %bb.7: ## in Loop: Header=BB0_5 Depth=2
cmpl $100, -8(%rbp)
setg %al
movb %al, -34(%rbp) ## 1-byte Spill
LBB0_8: ## in Loop: Header=BB0_5 Depth=2
movb -34(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_5
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_10
LBB0_10: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
## %bb.11: ## in Loop: Header=BB0_10 Depth=2
movb $1, %al
cmpl $0, -12(%rbp)
movb %al, -35(%rbp) ## 1-byte Spill
jl LBB0_13
## %bb.12: ## in Loop: Header=BB0_10 Depth=2
cmpl $100, -12(%rbp)
setg %al
movb %al, -35(%rbp) ## 1-byte Spill
LBB0_13: ## in Loop: Header=BB0_10 Depth=2
movb -35(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_10
## %bb.14: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_15
LBB0_15: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -16(%rbp), %rsi
movb $0, %al
callq _scanf
## %bb.16: ## in Loop: Header=BB0_15 Depth=2
movb $1, %al
cmpl $0, -16(%rbp)
movb %al, -36(%rbp) ## 1-byte Spill
jl LBB0_18
## %bb.17: ## in Loop: Header=BB0_15 Depth=2
cmpl $100, -16(%rbp)
setg %al
movb %al, -36(%rbp) ## 1-byte Spill
LBB0_18: ## in Loop: Header=BB0_15 Depth=2
movb -36(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_15
## %bb.19: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_20
LBB0_20: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -20(%rbp), %rsi
movb $0, %al
callq _scanf
## %bb.21: ## in Loop: Header=BB0_20 Depth=2
movb $1, %al
cmpl $0, -20(%rbp)
movb %al, -37(%rbp) ## 1-byte Spill
jl LBB0_23
## %bb.22: ## in Loop: Header=BB0_20 Depth=2
cmpl $100, -20(%rbp)
setg %al
movb %al, -37(%rbp) ## 1-byte Spill
LBB0_23: ## in Loop: Header=BB0_20 Depth=2
movb -37(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_20
## %bb.24: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_25
LBB0_25: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -24(%rbp), %rsi
movb $0, %al
callq _scanf
## %bb.26: ## in Loop: Header=BB0_25 Depth=2
movb $1, %al
cmpl $0, -24(%rbp)
movb %al, -38(%rbp) ## 1-byte Spill
jl LBB0_28
## %bb.27: ## in Loop: Header=BB0_25 Depth=2
cmpl $100, -24(%rbp)
setg %al
movb %al, -38(%rbp) ## 1-byte Spill
LBB0_28: ## in Loop: Header=BB0_25 Depth=2
movb -38(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_25
## %bb.29: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl -12(%rbp), %eax
addl -16(%rbp), %eax
addl -20(%rbp), %eax
addl -24(%rbp), %eax
movl %eax, -28(%rbp)
cvtsi2sdl -28(%rbp), %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -32(%rbp)
movl -28(%rbp), %esi
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.7(%rip), %rdi
movb $1, %al
callq _printf
movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jb LBB0_41
## %bb.30: ## in Loop: Header=BB0_1 Depth=1
movss LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -32(%rbp), %xmm0
jb LBB0_41
## %bb.31: ## in Loop: Header=BB0_1 Depth=1
movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB0_33
## %bb.32: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_40
LBB0_33: ## in Loop: Header=BB0_1 Depth=1
movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI0_3(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB0_35
## %bb.34: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_39
LBB0_35: ## in Loop: Header=BB0_1 Depth=1
movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI0_4(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB0_37
## %bb.36: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_38
LBB0_37: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
LBB0_38: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_39
LBB0_39: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_40
LBB0_40: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_42
LBB0_41: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.12(%rip), %rdi
movb $0, %al
callq _printf
LBB0_42: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.13(%rip), %rdi
movb $0, %al
callq _printf
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fflush
leaq L_.str.14(%rip), %rdi
leaq -1(%rbp), %rsi
movb $0, %al
callq _scanf
jmp LBB0_1
LBB0_43:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "* Enter Your Maths Marks *\n"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "* Enter Your English Marks *\n"
L_.str.3: ## @.str.3
.asciz "* Enter Your Science Marks *\n"
L_.str.4: ## @.str.4
.asciz "* Enter Your Hindi Marks *\n"
L_.str.5: ## @.str.5
.asciz "* Enter Your Economics Marks *\n"
L_.str.6: ## @.str.6
.asciz "* Your Total Is %d *\n"
L_.str.7: ## @.str.7
.asciz "* Your Average Marks Are %f *\n"
L_.str.8: ## @.str.8
.asciz "* Grade A *"
L_.str.9: ## @.str.9
.asciz "* Grade B *"
L_.str.10: ## @.str.10
.asciz "* Grade C *"
L_.str.11: ## @.str.11
.asciz "* FAIL *"
L_.str.12: ## @.str.12
.asciz "* INVALID CHOICE *"
L_.str.13: ## @.str.13
.asciz "\n Press Y To Continue \n"
L_.str.14: ## @.str.14
.asciz "%c"
.subsections_via_symbols
| the_stack_data/14200927.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _isupper ; -- Begin function isupper
.p2align 2
_isupper: ; @isupper
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb w0, [sp, #11]
ldrsb w8, [sp, #11]
subs w8, w8, #65
cset w8, lt
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldrsb w8, [sp, #11]
subs w8, w8, #90
cset w8, gt
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
mov w8, #1
str w8, [sp, #12]
b LBB0_4
LBB0_3:
str wzr, [sp, #12]
b LBB0_4
LBB0_4:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _isupper ## -- Begin function isupper
.p2align 4, 0x90
_isupper: ## @isupper
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %dil, %al
movb %al, -5(%rbp)
movsbl -5(%rbp), %eax
cmpl $65, %eax
jl LBB0_3
## %bb.1:
movsbl -5(%rbp), %eax
cmpl $90, %eax
jg LBB0_3
## %bb.2:
movl $1, -4(%rbp)
jmp LBB0_4
LBB0_3:
movl $0, -4(%rbp)
LBB0_4:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/247016838.c |
.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 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
mov w8, #0
str w8, [sp, #28] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
stur x8, [x29, #-32]
adrp x8, l_.str.1@PAGE
add x8, x8, l_.str.1@PAGEOFF
str x8, [sp, #40]
ldur x3, [x29, #-32]
sub x0, x29, #16
mov x1, #0
str x1, [sp, #16] ; 8-byte Folded Spill
adrp x2, _print_message_function@PAGE
add x2, x2, _print_message_function@PAGEOFF
str x2, [sp, #8] ; 8-byte Folded Spill
bl _pthread_create
ldr x2, [sp, #8] ; 8-byte Folded Reload
ldr x1, [sp, #16] ; 8-byte Folded Reload
str w0, [sp, #36]
ldr x3, [sp, #40]
sub x0, x29, #24
bl _pthread_create
ldr x1, [sp, #16] ; 8-byte Folded Reload
str w0, [sp, #32]
ldur x0, [x29, #-16]
bl _pthread_join
ldr x1, [sp, #16] ; 8-byte Folded Reload
ldur x0, [x29, #-24]
bl _pthread_join
ldr w9, [sp, #36]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr w9, [sp, #32]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr w0, [sp, #28] ; 4-byte Folded Reload
bl _exit
.cfi_endproc
; -- End function
.globl _print_message_function ; -- Begin function print_message_function
.p2align 2
_print_message_function: ; @print_message_function
.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
str x0, [sp, #16]
ldr x8, [sp, #16]
str x8, [sp, #8]
ldr x8, [sp, #8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Hello"
l_.str.1: ; @.str.1
.asciz "World"
l_.str.2: ; @.str.2
.asciz "Thread 1 returns: %d\n"
l_.str.3: ; @.str.3
.asciz "Thread 2 returns: %d\n"
l_.str.4: ; @.str.4
.asciz "%s \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 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 $80, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -32(%rbp)
leaq L_.str.1(%rip), %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rcx
leaq _print_message_function(%rip), %rdx
movq %rdx, -72(%rbp) ## 8-byte Spill
xorl %eax, %eax
movl %eax, -52(%rbp) ## 4-byte Spill
movl %eax, %esi
movq %rsi, -64(%rbp) ## 8-byte Spill
leaq -16(%rbp), %rdi
callq _pthread_create
movq -72(%rbp), %rdx ## 8-byte Reload
movq -64(%rbp), %rsi ## 8-byte Reload
movl %eax, -44(%rbp)
movq -40(%rbp), %rcx
leaq -24(%rbp), %rdi
callq _pthread_create
movq -64(%rbp), %rsi ## 8-byte Reload
movl %eax, -48(%rbp)
movq -16(%rbp), %rdi
callq _pthread_join
movq -64(%rbp), %rsi ## 8-byte Reload
movq -24(%rbp), %rdi
callq _pthread_join
## kill: def $ecx killed $eax
movl -52(%rbp), %eax ## 4-byte Reload
movl -44(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb %al, -53(%rbp) ## 1-byte Spill
callq _printf
## kill: def $ecx killed $eax
movb -53(%rbp), %al ## 1-byte Reload
movl -48(%rbp), %esi
leaq L_.str.3(%rip), %rdi
callq _printf
movl -52(%rbp), %edi ## 4-byte Reload
callq _exit
.cfi_endproc
## -- End function
.globl _print_message_function ## -- Begin function print_message_function
.p2align 4, 0x90
_print_message_function: ## @print_message_function
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rax
movq %rax, -24(%rbp)
movq -24(%rbp), %rsi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Hello"
L_.str.1: ## @.str.1
.asciz "World"
L_.str.2: ## @.str.2
.asciz "Thread 1 returns: %d\n"
L_.str.3: ## @.str.3
.asciz "Thread 2 returns: %d\n"
L_.str.4: ## @.str.4
.asciz "%s \n"
.subsections_via_symbols
| the_stack_data/71783.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #15
stur w8, [x29, #-4]
mov w8, #10
stur w8, [x29, #-8]
mov w8, #99
stur w8, [x29, #-12]
ldur w0, [x29, #-4]
mov w1, #2
str w1, [sp, #20] ; 4-byte Folded Spill
mov w2, #1
str w2, [sp, #16] ; 4-byte Folded Spill
bl _invert
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
str x0, [sp, #24] ; 8-byte Folded Spill
bl _printf
ldr w1, [sp, #16] ; 4-byte Folded Reload
ldr w2, [sp, #20] ; 4-byte Folded Reload
ldur w0, [x29, #-8]
bl _invert
mov x10, x0
ldr x0, [sp, #24] ; 8-byte Folded Reload
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
bl _printf
ldur w0, [x29, #-12]
mov w1, #7
mov w2, #8
bl _invert
mov x10, x0
ldr x0, [sp, #24] ; 8-byte Folded Reload
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
bl _printf
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _invert ; -- Begin function invert
.p2align 2
_invert: ; @invert
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str w1, [sp, #8]
str w2, [sp, #4]
ldr w8, [sp, #12]
ldr w9, [sp, #4]
mov w10, #-1
lsl w9, w10, w9
mvn w9, w9
ldr w11, [sp, #8]
add w11, w11, #1
ldr w12, [sp, #4]
subs w11, w11, w12
lsl w9, w9, w11
bic w8, w8, w9
ldr w9, [sp, #12]
mvn w9, w9
ldr w11, [sp, #8]
add w11, w11, #1
ldr w12, [sp, #4]
subs w11, w11, w12
lsr w9, w9, w11
ldr w11, [sp, #4]
lsl w10, w10, w11
bic w9, w9, w10
ldr w10, [sp, #8]
add w10, w10, #1
ldr w11, [sp, #4]
subs w10, w10, w11
lsl w9, w9, w10
orr w0, w8, w9
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 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
movl $15, -4(%rbp)
movl $10, -8(%rbp)
movl $99, -12(%rbp)
movl -4(%rbp), %edi
movl $2, %esi
movl $1, %edx
callq _invert
movl %eax, %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -8(%rbp), %edi
movl $1, %esi
movl $2, %edx
callq _invert
movl %eax, %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -12(%rbp), %edi
movl $7, %esi
movl $8, %edx
callq _invert
movl %eax, %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _invert ## -- Begin function invert
.p2align 4, 0x90
_invert: ## @invert
.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, -4(%rbp)
movl %esi, -8(%rbp)
movl %edx, -12(%rbp)
movl -4(%rbp), %eax
movl -12(%rbp), %ecx
movl $4294967295, %edx ## imm = 0xFFFFFFFF
## kill: def $cl killed $ecx
shll %cl, %edx
xorl $-1, %edx
movl -8(%rbp), %ecx
addl $1, %ecx
subl -12(%rbp), %ecx
## kill: def $cl killed $ecx
shll %cl, %edx
movl %edx, %ecx
xorl $-1, %ecx
andl %ecx, %eax
movl -4(%rbp), %edx
xorl $-1, %edx
movl -8(%rbp), %ecx
addl $1, %ecx
subl -12(%rbp), %ecx
## kill: def $cl killed $ecx
shrl %cl, %edx
movl -12(%rbp), %ecx
movl $4294967295, %esi ## imm = 0xFFFFFFFF
## kill: def $cl killed $ecx
shll %cl, %esi
movl %esi, %ecx
xorl $-1, %ecx
andl %ecx, %edx
movl -8(%rbp), %ecx
addl $1, %ecx
subl -12(%rbp), %ecx
## kill: def $cl killed $ecx
shll %cl, %edx
movl %edx, %ecx
orl %ecx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/156389183.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _readBuf ; -- Begin function readBuf
.p2align 2
_readBuf: ; @readBuf
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str x0, [sp, #56]
movi.2d v0, #0000000000000000
stur q0, [x29, #-48]
stur q0, [x29, #-32]
strh wzr, [sp, #52]
strb wzr, [sp, #54]
mov w1, #0
str wzr, [sp, #48]
str wzr, [sp, #44]
str wzr, [sp, #40]
ldr x0, [sp, #56]
bl _open
str w0, [sp, #36]
ldr w8, [sp, #36]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___error
ldr w0, [x0]
bl _strerror
mov x8, sp
str x0, [x8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_31
LBB0_2:
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w0, [sp, #36]
add x1, sp, #52
mov x2, #2
bl _read
mov x8, x0
str w8, [sp, #48]
ldr w8, [sp, #48]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB0_10
b LBB0_4
LBB0_4:
ldr w8, [sp, #48]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #24] ; 8-byte Folded Spill
b LBB0_7
LBB0_6:
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp, #24] ; 8-byte Folded Spill
b LBB0_7
LBB0_7:
ldr x8, [sp, #24] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr w8, [sp, #48]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
b LBB0_15
LBB0_9:
b LBB0_31
LBB0_10: ; in Loop: Header=BB0_3 Depth=1
ldrsb w8, [sp, #52]
subs w8, w8, #10
cset w8, eq
tbnz w8, #0, LBB0_14
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_3 Depth=1
ldrsb w0, [sp, #52]
bl _isxdigit
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_3 Depth=1
ldrsb w0, [sp, #53]
bl _isxdigit
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
ldrsb w11, [sp, #52]
ldrsb w10, [sp, #53]
mov x9, sp
; implicit-def: $x8
mov x8, x11
str x8, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_31
LBB0_14: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
mov x1, #0
mov w2, #16
bl _strtol
ldrsw x10, [sp, #44]
mov x8, x10
add w8, w8, #1
str w8, [sp, #44]
sub x9, x29, #48
mov x8, x0
strb w8, [x9, x10]
b LBB0_3
LBB0_15:
str wzr, [sp, #44]
b LBB0_16
LBB0_16: ; =>This Loop Header: Depth=1
; Child Loop BB0_18 Depth 2
; Child Loop BB0_25 Depth 2
ldr w8, [sp, #44]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB0_30
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_16 Depth=1
str wzr, [sp, #40]
b LBB0_18
LBB0_18: ; Parent Loop BB0_16 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #40]
subs w8, w8, #8
cset w8, ge
tbnz w8, #0, LBB0_24
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_18 Depth=2
ldr w9, [sp, #44]
ldr w8, [sp, #40]
add w9, w8, w9, lsl #3
sub x8, x29, #48
ldrsb w0, [x8, w9, sxtw]
bl _isxdigit
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_21
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_18 Depth=2
ldr w9, [sp, #44]
ldr w8, [sp, #40]
add w9, w8, w9, lsl #3
sub x8, x29, #48
ldrsb w8, [x8, w9, sxtw]
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB0_22
LBB0_21: ; in Loop: Header=BB0_18 Depth=2
mov w8, #46
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_18 Depth=2
ldr w10, [sp, #20] ; 4-byte Folded Reload
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_18 Depth=2
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB0_18
LBB0_24: ; in Loop: Header=BB0_16 Depth=1
str wzr, [sp, #40]
b LBB0_25
LBB0_25: ; Parent Loop BB0_16 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #40]
subs w8, w8, #8
cset w8, ge
tbnz w8, #0, LBB0_28
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_25 Depth=2
ldr w9, [sp, #44]
ldr w8, [sp, #40]
add w9, w8, w9, lsl #3
sub x8, x29, #48
ldrsb w10, [x8, w9, sxtw]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_27
LBB0_27: ; in Loop: Header=BB0_25 Depth=2
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB0_25
LBB0_28: ; in Loop: Header=BB0_16 Depth=1
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_29
LBB0_29: ; in Loop: Header=BB0_16 Depth=1
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB0_16
LBB0_30:
b LBB0_31
LBB0_31:
ldr w8, [sp, #36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_33
b LBB0_32
LBB0_32:
ldr w0, [sp, #36]
bl _close
b LBB0_33
LBB0_33:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_35
b LBB0_34
LBB0_34:
bl ___stack_chk_fail
LBB0_35:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.globl _hello ; -- Begin function hello
.p2align 2
_hello: ; @hello
.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 x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
ldp x29, x30, [sp], #16 ; 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
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x1, [sp, #16]
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
ldr x8, [sp, #16]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
mov w8, #2
stur w8, [x29, #-4]
b LBB2_3
LBB2_2:
ldr x8, [sp, #16]
ldr x0, [x8, #8]
bl _readBuf
stur wzr, [x29, #-4]
b LBB2_3
LBB2_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s\n"
l_.str.1: ; @.str.1
.asciz "End of file"
l_.str.2: ; @.str.2
.asciz "only hex character are allowed:%c, %c\n"
l_.str.3: ; @.str.3
.asciz "%c"
l_.str.4: ; @.str.4
.asciz " %.2x"
l_.str.5: ; @.str.5
.asciz "\n"
l_.str.6: ; @.str.6
.asciz "Hello world\n"
l_.str.7: ; @.str.7
.asciz "%s input_file_name\n"
l_.str.8: ; @.str.8
.asciz "input file name contains 32 2-digit hex chars. ex:\n"
l_.str.9: ; @.str.9
.asciz "0102030405060708091011121314151617181920212223242526272829303132\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _readBuf ## -- Begin function readBuf
.p2align 4, 0x90
_readBuf: ## @readBuf
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -56(%rbp)
leaq -48(%rbp), %rdi
xorl %esi, %esi
movl $32, %edx
callq _memset
leaq -59(%rbp), %rdi
xorl %esi, %esi
movl $3, %edx
callq _memset
movl $0, -64(%rbp)
movl $0, -68(%rbp)
movl $0, -72(%rbp)
movq -56(%rbp), %rdi
xorl %esi, %esi
movb $0, %al
callq _open
movl %eax, -76(%rbp)
cmpl $-1, -76(%rbp)
jne LBB0_2
## %bb.1:
callq ___error
movl (%rax), %edi
callq _strerror
movq %rax, %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_31
LBB0_2:
jmp LBB0_3
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl -76(%rbp), %edi
leaq -59(%rbp), %rsi
movl $2, %edx
callq _read
## kill: def $eax killed $eax killed $rax
movl %eax, -64(%rbp)
cmpl $0, -64(%rbp)
jg LBB0_10
## %bb.4:
cmpl $0, -64(%rbp)
jne LBB0_6
## %bb.5:
leaq L_.str.1(%rip), %rax
movq %rax, -88(%rbp) ## 8-byte Spill
jmp LBB0_7
LBB0_6:
callq ___error
movl (%rax), %edi
callq _strerror
movq %rax, -88(%rbp) ## 8-byte Spill
LBB0_7:
movq -88(%rbp), %rsi ## 8-byte Reload
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
cmpl $0, -64(%rbp)
jne LBB0_9
## %bb.8:
jmp LBB0_15
LBB0_9:
jmp LBB0_31
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
movsbl -59(%rbp), %eax
cmpl $10, %eax
je LBB0_14
## %bb.11: ## in Loop: Header=BB0_3 Depth=1
movsbl -59(%rbp), %edi
callq _isxdigit
cmpl $0, %eax
je LBB0_13
## %bb.12: ## in Loop: Header=BB0_3 Depth=1
movsbl -58(%rbp), %edi
callq _isxdigit
cmpl $0, %eax
jne LBB0_14
LBB0_13:
movsbl -59(%rbp), %esi
movsbl -58(%rbp), %edx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_31
LBB0_14: ## in Loop: Header=BB0_3 Depth=1
leaq -59(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
movl $16, %edx
callq _strtol
movb %al, %cl
movl -68(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -68(%rbp)
cltq
movb %cl, -48(%rbp,%rax)
jmp LBB0_3
LBB0_15:
movl $0, -68(%rbp)
LBB0_16: ## =>This Loop Header: Depth=1
## Child Loop BB0_18 Depth 2
## Child Loop BB0_25 Depth 2
cmpl $4, -68(%rbp)
jge LBB0_30
## %bb.17: ## in Loop: Header=BB0_16 Depth=1
movl $0, -72(%rbp)
LBB0_18: ## Parent Loop BB0_16 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $8, -72(%rbp)
jge LBB0_24
## %bb.19: ## in Loop: Header=BB0_18 Depth=2
movl -68(%rbp), %eax
shll $3, %eax
addl -72(%rbp), %eax
cltq
movsbl -48(%rbp,%rax), %edi
callq _isxdigit
cmpl $0, %eax
je LBB0_21
## %bb.20: ## in Loop: Header=BB0_18 Depth=2
movl -68(%rbp), %eax
shll $3, %eax
addl -72(%rbp), %eax
cltq
movsbl -48(%rbp,%rax), %eax
movl %eax, -92(%rbp) ## 4-byte Spill
jmp LBB0_22
LBB0_21: ## in Loop: Header=BB0_18 Depth=2
movl $46, %eax
movl %eax, -92(%rbp) ## 4-byte Spill
jmp LBB0_22
LBB0_22: ## in Loop: Header=BB0_18 Depth=2
movl -92(%rbp), %esi ## 4-byte Reload
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
## %bb.23: ## in Loop: Header=BB0_18 Depth=2
movl -72(%rbp), %eax
addl $1, %eax
movl %eax, -72(%rbp)
jmp LBB0_18
LBB0_24: ## in Loop: Header=BB0_16 Depth=1
movl $0, -72(%rbp)
LBB0_25: ## Parent Loop BB0_16 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $8, -72(%rbp)
jge LBB0_28
## %bb.26: ## in Loop: Header=BB0_25 Depth=2
movl -68(%rbp), %eax
shll $3, %eax
addl -72(%rbp), %eax
cltq
movsbl -48(%rbp,%rax), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
## %bb.27: ## in Loop: Header=BB0_25 Depth=2
movl -72(%rbp), %eax
addl $1, %eax
movl %eax, -72(%rbp)
jmp LBB0_25
LBB0_28: ## in Loop: Header=BB0_16 Depth=1
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
## %bb.29: ## in Loop: Header=BB0_16 Depth=1
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
jmp LBB0_16
LBB0_30:
jmp LBB0_31
LBB0_31:
cmpl $0, -76(%rbp)
je LBB0_33
## %bb.32:
movl -76(%rbp), %edi
callq _close
LBB0_33:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_35
## %bb.34:
addq $96, %rsp
popq %rbp
retq
LBB0_35:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _hello ## -- Begin function hello
.p2align 4, 0x90
_hello: ## @hello
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
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
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $2, -8(%rbp)
je LBB2_2
## %bb.1:
movq -16(%rbp), %rax
movq (%rax), %rsi
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
movl $2, -4(%rbp)
jmp LBB2_3
LBB2_2:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _readBuf
movl $0, -4(%rbp)
LBB2_3:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s\n"
L_.str.1: ## @.str.1
.asciz "End of file"
L_.str.2: ## @.str.2
.asciz "only hex character are allowed:%c, %c\n"
L_.str.3: ## @.str.3
.asciz "%c"
L_.str.4: ## @.str.4
.asciz " %.2x"
L_.str.5: ## @.str.5
.asciz "\n"
L_.str.6: ## @.str.6
.asciz "Hello world\n"
L_.str.7: ## @.str.7
.asciz "%s input_file_name\n"
L_.str.8: ## @.str.8
.asciz "input file name contains 32 2-digit hex chars. ex:\n"
L_.str.9: ## @.str.9
.asciz "0102030405060708091011121314151617181920212223242526272829303132\n"
.subsections_via_symbols
| the_stack_data/396822.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _popen
str x0, [sp, #8]
ldr x0, [sp, #8]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
ldr x0, [sp, #8]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _fprintf
ldr x0, [sp, #8]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fprintf
ldr x0, [sp, #8]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fprintf
ldr x0, [sp, #8]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _fprintf
ldr x0, [sp, #8]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _fprintf
ldr x0, [sp, #8]
adrp x1, l_.str.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
bl _fprintf
ldr x0, [sp, #8]
adrp x1, l_.str.9@PAGE
add x1, x1, l_.str.9@PAGEOFF
bl _fprintf
ldr x0, [sp, #8]
adrp x1, l_.str.10@PAGE
add x1, x1, l_.str.10@PAGEOFF
bl _fprintf
ldr x0, [sp, #8]
adrp x1, l_.str.11@PAGE
add x1, x1, l_.str.11@PAGEOFF
str x1, [sp] ; 8-byte Folded Spill
bl _fprintf
ldr x0, [sp, #8]
adrp x1, l_.str.12@PAGE
add x1, x1, l_.str.12@PAGEOFF
bl _fprintf
ldr x1, [sp] ; 8-byte Folded Reload
ldr x0, [sp, #8]
bl _fprintf
ldr x0, [sp, #8]
adrp x1, l_.str.13@PAGE
add x1, x1, l_.str.13@PAGEOFF
bl _fprintf
ldr x0, [sp, #8]
adrp x1, l_.str.14@PAGE
add x1, x1, l_.str.14@PAGEOFF
bl _fprintf
ldr x0, [sp, #8]
bl _pclose
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "gnuplot -persist"
l_.str.1: ; @.str.1
.asciz "w"
l_.str.2: ; @.str.2
.asciz "unset label\n"
l_.str.3: ; @.str.3
.asciz "set terminal 'epslatex'\n"
l_.str.4: ; @.str.4
.asciz "set output 'graficazoom.tex'\n"
l_.str.5: ; @.str.5
.asciz "set xrange [0:2]\n"
l_.str.6: ; @.str.6
.asciz "set yrange [-0.5:0.5]\n"
l_.str.7: ; @.str.7
.asciz "set title 'Gr\303\241fica de la funci\303\263n'\n"
l_.str.8: ; @.str.8
.asciz "set xlabel 'x'\n"
l_.str.9: ; @.str.9
.asciz "set ylabel 'f(x)'\n"
l_.str.10: ; @.str.10
.asciz "set grid\n"
l_.str.11: ; @.str.11
.asciz "unset key\n"
l_.str.12: ; @.str.12
.asciz "f(x)=exp(-0.5*x**2)-0.5\n"
l_.str.13: ; @.str.13
.asciz "plot f(x)\n"
l_.str.14: ; @.str.14
.asciz "set output\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 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 L_.str.1(%rip), %rsi
callq _popen
movq %rax, -8(%rbp)
movq -8(%rbp), %rdi
leaq L_.str.2(%rip), %rsi
movb $0, %al
callq _fprintf
movq -8(%rbp), %rdi
leaq L_.str.3(%rip), %rsi
movb $0, %al
callq _fprintf
movq -8(%rbp), %rdi
leaq L_.str.4(%rip), %rsi
movb $0, %al
callq _fprintf
movq -8(%rbp), %rdi
leaq L_.str.5(%rip), %rsi
movb $0, %al
callq _fprintf
movq -8(%rbp), %rdi
leaq L_.str.6(%rip), %rsi
movb $0, %al
callq _fprintf
movq -8(%rbp), %rdi
leaq L_.str.7(%rip), %rsi
movb $0, %al
callq _fprintf
movq -8(%rbp), %rdi
leaq L_.str.8(%rip), %rsi
movb $0, %al
callq _fprintf
movq -8(%rbp), %rdi
leaq L_.str.9(%rip), %rsi
movb $0, %al
callq _fprintf
movq -8(%rbp), %rdi
leaq L_.str.10(%rip), %rsi
movb $0, %al
callq _fprintf
movq -8(%rbp), %rdi
leaq L_.str.11(%rip), %rsi
movb $0, %al
callq _fprintf
movq -8(%rbp), %rdi
leaq L_.str.12(%rip), %rsi
movb $0, %al
callq _fprintf
movq -8(%rbp), %rdi
leaq L_.str.11(%rip), %rsi
movb $0, %al
callq _fprintf
movq -8(%rbp), %rdi
leaq L_.str.13(%rip), %rsi
movb $0, %al
callq _fprintf
movq -8(%rbp), %rdi
leaq L_.str.14(%rip), %rsi
movb $0, %al
callq _fprintf
movq -8(%rbp), %rdi
callq _pclose
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "gnuplot -persist"
L_.str.1: ## @.str.1
.asciz "w"
L_.str.2: ## @.str.2
.asciz "unset label\n"
L_.str.3: ## @.str.3
.asciz "set terminal 'epslatex'\n"
L_.str.4: ## @.str.4
.asciz "set output 'graficazoom.tex'\n"
L_.str.5: ## @.str.5
.asciz "set xrange [0:2]\n"
L_.str.6: ## @.str.6
.asciz "set yrange [-0.5:0.5]\n"
L_.str.7: ## @.str.7
.asciz "set title 'Gr\303\241fica de la funci\303\263n'\n"
L_.str.8: ## @.str.8
.asciz "set xlabel 'x'\n"
L_.str.9: ## @.str.9
.asciz "set ylabel 'f(x)'\n"
L_.str.10: ## @.str.10
.asciz "set grid\n"
L_.str.11: ## @.str.11
.asciz "unset key\n"
L_.str.12: ## @.str.12
.asciz "f(x)=exp(-0.5*x**2)-0.5\n"
L_.str.13: ## @.str.13
.asciz "plot f(x)\n"
L_.str.14: ## @.str.14
.asciz "set output\n"
.subsections_via_symbols
| the_stack_data/22013141.c |
.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 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
adrp x8, _cpuX@GOTPAGE
ldr x8, [x8, _cpuX@GOTPAGEOFF]
stur x8, [x29, #-56] ; 8-byte Folded Spill
adrp x8, _cpuY@GOTPAGE
ldr x8, [x8, _cpuY@GOTPAGEOFF]
stur x8, [x29, #-48] ; 8-byte Folded Spill
adrp x8, _playerX@GOTPAGE
ldr x8, [x8, _playerX@GOTPAGEOFF]
stur x8, [x29, #-40] ; 8-byte Folded Spill
adrp x8, _playerY@GOTPAGE
ldr x8, [x8, _playerY@GOTPAGEOFF]
stur x8, [x29, #-32] ; 8-byte Folded Spill
adrp x8, _playerDir@GOTPAGE
ldr x8, [x8, _playerDir@GOTPAGEOFF]
stur x8, [x29, #-24] ; 8-byte Folded Spill
adrp x8, _i@GOTPAGE
ldr x8, [x8, _i@GOTPAGEOFF]
stur x8, [x29, #-16] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
bl _LEDBARInit
bl _DIPSWInit
bl _PBSwInit
bl _RGB_LEDInit
bl _sysTickInit
mov w0, #16960
movk w0, #15, lsl #16
bl _RIT128x96x4Init
bl _RGB_LEDInit
bl _potentiometersInit
bl _RIT128x96x4Clear
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_2 Depth 2
; Child Loop BB0_4 Depth 3
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
mov w1, #52
str w1, [sp, #12] ; 4-byte Folded Spill
mov w2, #44
str w2, [sp, #40] ; 4-byte Folded Spill
mov w3, #15
stur w3, [x29, #-60] ; 4-byte Folded Spill
bl _RIT128x96x4StringDraw
ldr w2, [sp, #12] ; 4-byte Folded Reload
ldur w3, [x29, #-60] ; 4-byte Folded Reload
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
mov w1, #1
bl _RIT128x96x4StringDraw
bl _waitForButtonPress
bl _RIT128x96x4Clear
ldur w3, [x29, #-60] ; 4-byte Folded Reload
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
mov w2, #0
str w2, [sp, #60] ; 4-byte Folded Spill
mov x1, x2
bl _RIT128x96x4StringDraw
ldr w1, [sp, #60] ; 4-byte Folded Reload
ldur w3, [x29, #-60] ; 4-byte Folded Reload
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
mov w2, #8
bl _RIT128x96x4StringDraw
ldr w1, [sp, #60] ; 4-byte Folded Reload
ldur w3, [x29, #-60] ; 4-byte Folded Reload
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
mov w2, #16
bl _RIT128x96x4StringDraw
ldr w1, [sp, #60] ; 4-byte Folded Reload
ldur w3, [x29, #-60] ; 4-byte Folded Reload
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
mov w2, #24
bl _RIT128x96x4StringDraw
ldr w1, [sp, #60] ; 4-byte Folded Reload
ldur w3, [x29, #-60] ; 4-byte Folded Reload
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
mov w2, #32
bl _RIT128x96x4StringDraw
ldr w1, [sp, #60] ; 4-byte Folded Reload
ldur w3, [x29, #-60] ; 4-byte Folded Reload
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
mov w2, #40
str w2, [sp, #64] ; 4-byte Folded Spill
bl _RIT128x96x4StringDraw
mov w0, #500
bl _sysTickWait1mS
bl _waitForButtonPress
bl _RIT128x96x4Clear
ldur x8, [x29, #-24] ; 8-byte Folded Reload
ldur x13, [x29, #-56] ; 8-byte Folded Reload
ldur x11, [x29, #-48] ; 8-byte Folded Reload
ldur x12, [x29, #-40] ; 8-byte Folded Reload
ldur x10, [x29, #-32] ; 8-byte Folded Reload
ldr w1, [sp, #60] ; 4-byte Folded Reload
ldr w2, [sp, #64] ; 4-byte Folded Reload
ldur w3, [x29, #-60] ; 4-byte Folded Reload
mov w9, #20
str w9, [x13]
mov w9, #48
str w9, [x11]
mov w11, #106
str w11, [x12]
str w9, [x10]
adrp x10, _cpuDir@GOTPAGE
ldr x10, [x10, _cpuDir@GOTPAGEOFF]
mov w9, #2
str w9, [sp, #28] ; 4-byte Folded Spill
str w9, [x10]
str wzr, [x8]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _RIT128x96x4StringDraw
ldur x9, [x29, #-56] ; 8-byte Folded Reload
ldur x8, [x29, #-48] ; 8-byte Folded Reload
ldr w4, [sp, #28] ; 4-byte Folded Reload
ldr w1, [x9]
ldr w2, [x8]
adrp x0, _DOT@PAGE
add x0, x0, _DOT@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
mov x3, x4
bl _RIT128x96x4ImageDraw
ldr w2, [sp, #64] ; 4-byte Folded Reload
ldur w3, [x29, #-60] ; 4-byte Folded Reload
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
mov w1, #108
str w1, [sp, #44] ; 4-byte Folded Spill
bl _RIT128x96x4StringDraw
ldur x9, [x29, #-40] ; 8-byte Folded Reload
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr w4, [sp, #28] ; 4-byte Folded Reload
ldr w1, [x9]
ldr w2, [x8]
mov x3, x4
bl _RIT128x96x4ImageDraw
ldr w2, [sp, #40] ; 4-byte Folded Reload
ldur w3, [x29, #-60] ; 4-byte Folded Reload
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
mov w1, #61
str w1, [sp, #36] ; 4-byte Folded Spill
bl _RIT128x96x4StringDraw
mov w0, #1000
str w0, [sp, #32] ; 4-byte Folded Spill
bl _sysTickWait1mS
ldr w1, [sp, #36] ; 4-byte Folded Reload
ldr w2, [sp, #40] ; 4-byte Folded Reload
ldur w3, [x29, #-60] ; 4-byte Folded Reload
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _RIT128x96x4StringDraw
ldr w0, [sp, #32] ; 4-byte Folded Reload
bl _sysTickWait1mS
ldr w1, [sp, #36] ; 4-byte Folded Reload
ldr w2, [sp, #40] ; 4-byte Folded Reload
ldur w3, [x29, #-60] ; 4-byte Folded Reload
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _RIT128x96x4StringDraw
ldr w0, [sp, #32] ; 4-byte Folded Reload
bl _sysTickWait1mS
ldr w1, [sp, #36] ; 4-byte Folded Reload
ldr w2, [sp, #40] ; 4-byte Folded Reload
ldur w3, [x29, #-60] ; 4-byte Folded Reload
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _RIT128x96x4StringDraw
ldr w1, [sp, #44] ; 4-byte Folded Reload
ldr w2, [sp, #64] ; 4-byte Folded Reload
ldur w3, [x29, #-60] ; 4-byte Folded Reload
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
str x0, [sp, #48] ; 8-byte Folded Spill
bl _RIT128x96x4StringDraw
ldr x0, [sp, #48] ; 8-byte Folded Reload
ldr w1, [sp, #60] ; 4-byte Folded Reload
ldr w2, [sp, #64] ; 4-byte Folded Reload
ldur w3, [x29, #-60] ; 4-byte Folded Reload
bl _RIT128x96x4StringDraw
adrp x8, _progress@PAGE
str wzr, [x8, _progress@PAGEOFF]
b LBB0_2
LBB0_2: ; Parent Loop BB0_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_4 Depth 3
adrp x8, _progress@PAGE
ldr w8, [x8, _progress@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_22
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_2 Depth=2
ldur x9, [x29, #-56] ; 8-byte Folded Reload
ldur x8, [x29, #-48] ; 8-byte Folded Reload
ldr w1, [x9]
ldr w2, [x8]
adrp x0, _DOT@PAGE
add x0, x0, _DOT@PAGEOFF
str x0, [sp] ; 8-byte Folded Spill
mov w4, #2
str w4, [sp, #8] ; 4-byte Folded Spill
mov x3, x4
bl _RIT128x96x4ImageDraw
ldur x9, [x29, #-40] ; 8-byte Folded Reload
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr x0, [sp] ; 8-byte Folded Reload
ldr w4, [sp, #8] ; 4-byte Folded Reload
ldr w1, [x9]
ldr w2, [x8]
mov x3, x4
bl _RIT128x96x4ImageDraw
ldur x11, [x29, #-56] ; 8-byte Folded Reload
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldur x8, [x29, #-16] ; 8-byte Folded Reload
ldr w10, [x11]
add w10, w10, #2
str w10, [x11]
ldr w9, [x9]
adrp x10, _oldPalyerDir@GOTPAGE
ldr x10, [x10, _oldPalyerDir@GOTPAGEOFF]
str w9, [x10]
str wzr, [x8]
b LBB0_4
LBB0_4: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_2 Depth=2
; => This Inner Loop Header: Depth=3
ldur x8, [x29, #-16] ; 8-byte Folded Reload
ldr w8, [x8]
mov w9, #34464
movk w9, #1, lsl #16
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_7
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=3
adrp x8, _oldPalyerDir@GOTPAGE
ldr x8, [x8, _oldPalyerDir@GOTPAGEOFF]
ldr w0, [x8]
bl _updatePlayerDir
ldur x8, [x29, #-24] ; 8-byte Folded Reload
str w0, [x8]
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_4 Depth=3
ldur x9, [x29, #-16] ; 8-byte Folded Reload
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB0_4
LBB0_7: ; in Loop: Header=BB0_2 Depth=2
ldur x8, [x29, #-24] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_2 Depth=2
ldur x9, [x29, #-40] ; 8-byte Folded Reload
ldr w8, [x9]
subs w8, w8, #2
str w8, [x9]
b LBB0_16
LBB0_9: ; in Loop: Header=BB0_2 Depth=2
ldur x8, [x29, #-24] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_2 Depth=2
ldur x9, [x29, #-32] ; 8-byte Folded Reload
ldr w8, [x9]
subs w8, w8, #2
str w8, [x9]
b LBB0_15
LBB0_11: ; in Loop: Header=BB0_2 Depth=2
ldur x8, [x29, #-24] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_2 Depth=2
ldur x9, [x29, #-40] ; 8-byte Folded Reload
ldr w8, [x9]
add w8, w8, #2
str w8, [x9]
b LBB0_14
LBB0_13: ; in Loop: Header=BB0_2 Depth=2
ldur x9, [x29, #-32] ; 8-byte Folded Reload
ldr w8, [x9]
add w8, w8, #2
str w8, [x9]
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_2 Depth=2
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_2 Depth=2
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_2 Depth=2
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_20
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_2 Depth=2
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #128
cset w8, gt
tbnz w8, #0, LBB0_20
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_2 Depth=2
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #96
cset w8, gt
tbnz w8, #0, LBB0_20
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_2 Depth=2
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_21
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_2 Depth=2
adrp x9, _progress@PAGE
mov w8, #1
str w8, [x9, _progress@PAGEOFF]
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_2 Depth=2
b LBB0_2
LBB0_22: ; in Loop: Header=BB0_1 Depth=1
bl _RIT128x96x4Clear
adrp x8, _progress@PAGE
ldr w8, [x8, _progress@PAGEOFF]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_24
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.15@PAGE
add x0, x0, l_.str.15@PAGEOFF
mov w1, #40
mov w2, #44
mov w3, #15
bl _RIT128x96x4StringDraw
b LBB0_25
LBB0_24: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
mov w1, #43
mov w2, #44
mov w3, #15
bl _RIT128x96x4StringDraw
b LBB0_25
LBB0_25: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
mov w1, #1
mov w2, #52
mov w3, #15
bl _RIT128x96x4StringDraw
bl _waitForButtonPress
b LBB0_1
.cfi_endproc
; -- End function
.globl _waitForButtonPress ; -- Begin function waitForButtonPress
.p2align 2
_waitForButtonPress: ; @waitForButtonPress
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #1
bl _read_PBSwitchNum
stur w0, [x29, #-4]
mov w0, #2
bl _read_PBSwitchNum
str w0, [sp, #8]
mov w0, #3
bl _read_PBSwitchNum
str w0, [sp, #4]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, ne
str w8, [sp] ; 4-byte Folded Spill
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp] ; 4-byte Folded Reload
tbz w8, #0, LBB1_6
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
mov w0, #1
bl _read_PBSwitchNum
stur w0, [x29, #-4]
mov w0, #2
bl _read_PBSwitchNum
str w0, [sp, #8]
mov w0, #3
bl _read_PBSwitchNum
str w0, [sp, #4]
b LBB1_1
LBB1_6:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _updatePlayerDir ; -- Begin function updatePlayerDir
.p2align 2
_updatePlayerDir: ; @updatePlayerDir
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
bl _read_PBSwitches
str w0, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2:
b LBB2_11
LBB2_3:
ldr w8, [sp, #8]
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB2_5
b LBB2_4
LBB2_4:
ldr w8, [sp, #8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5:
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
ldur w8, [x29, #-4]
mov w10, #4
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
stur w8, [x29, #-4]
b LBB2_10
LBB2_6:
ldr w8, [sp, #8]
subs w8, w8, #6
cset w8, eq
tbnz w8, #0, LBB2_8
b LBB2_7
LBB2_7:
ldr w8, [sp, #8]
subs w8, w8, #4
cset w8, ne
tbnz w8, #0, LBB2_9
b LBB2_8
LBB2_8:
ldur w8, [x29, #-4]
subs w8, w8, #1
stur w8, [x29, #-4]
ldur w8, [x29, #-4]
mov w10, #4
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
stur w8, [x29, #-4]
b LBB2_9
LBB2_9:
b LBB2_10
LBB2_10:
b LBB2_11
LBB2_11:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.globl _DOT ; @DOT
_DOT:
.byte 255 ; 0xff
.byte 255 ; 0xff
.space 94
.globl _progress ; @progress
.zerofill __DATA,__common,_progress,4,2
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Tron"
l_.str.1: ; @.str.1
.asciz "press button to start"
l_.str.2: ; @.str.2
.asciz "Navigate your"
l_.str.3: ; @.str.3
.asciz "lightcycle and avoid"
l_.str.4: ; @.str.4
.asciz "touching the paths"
l_.str.5: ; @.str.5
.asciz "First player to be"
l_.str.6: ; @.str.6
.asciz "trapped by a trail"
l_.str.7: ; @.str.7
.asciz "will be derezzed-lose"
.comm _cpuX,4,2 ; @cpuX
.comm _cpuY,4,2 ; @cpuY
.comm _playerX,4,2 ; @playerX
.comm _playerY,4,2 ; @playerY
.comm _cpuDir,4,2 ; @cpuDir
.comm _playerDir,4,2 ; @playerDir
l_.str.8: ; @.str.8
.asciz "CPU"
l_.str.9: ; @.str.9
.asciz "YOU"
l_.str.10: ; @.str.10
.asciz "3"
l_.str.11: ; @.str.11
.asciz "2"
l_.str.12: ; @.str.12
.asciz "1"
l_.str.13: ; @.str.13
.asciz " "
l_.str.14: ; @.str.14
.asciz " "
.comm _oldPalyerDir,4,2 ; @oldPalyerDir
.comm _i,4,2 ; @i
l_.str.15: ; @.str.15
.asciz "YOU LOSE"
l_.str.16: ; @.str.16
.asciz "YOU WIN"
.comm _grid,18432,2 ; @grid
.comm _x,8,3 ; @x
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
callq _LEDBARInit
callq _DIPSWInit
callq _PBSwInit
callq _RGB_LEDInit
callq _sysTickInit
movl $1000000, %edi ## imm = 0xF4240
callq _RIT128x96x4Init
callq _RGB_LEDInit
callq _potentiometersInit
callq _RIT128x96x4Clear
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_2 Depth 2
## Child Loop BB0_4 Depth 3
leaq L_.str(%rip), %rdi
movl $52, %esi
movl $44, %edx
movl $15, %ecx
callq _RIT128x96x4StringDraw
leaq L_.str.1(%rip), %rdi
movl $1, %esi
movl $52, %edx
movl $15, %ecx
callq _RIT128x96x4StringDraw
callq _waitForButtonPress
callq _RIT128x96x4Clear
leaq L_.str.2(%rip), %rdi
xorl %edx, %edx
movl $15, %ecx
movl %edx, %esi
callq _RIT128x96x4StringDraw
leaq L_.str.3(%rip), %rdi
xorl %esi, %esi
movl $8, %edx
movl $15, %ecx
callq _RIT128x96x4StringDraw
leaq L_.str.4(%rip), %rdi
xorl %esi, %esi
movl $16, %edx
movl $15, %ecx
callq _RIT128x96x4StringDraw
leaq L_.str.5(%rip), %rdi
xorl %esi, %esi
movl $24, %edx
movl $15, %ecx
callq _RIT128x96x4StringDraw
leaq L_.str.6(%rip), %rdi
xorl %esi, %esi
movl $32, %edx
movl $15, %ecx
callq _RIT128x96x4StringDraw
leaq L_.str.7(%rip), %rdi
xorl %esi, %esi
movl $40, %edx
movl $15, %ecx
callq _RIT128x96x4StringDraw
movl $500, %edi ## imm = 0x1F4
callq _sysTickWait1mS
callq _waitForButtonPress
callq _RIT128x96x4Clear
movq _cpuX@GOTPCREL(%rip), %rax
movl $20, (%rax)
movq _cpuY@GOTPCREL(%rip), %rax
movl $48, (%rax)
movq _playerX@GOTPCREL(%rip), %rax
movl $106, (%rax)
movq _playerY@GOTPCREL(%rip), %rax
movl $48, (%rax)
movq _cpuDir@GOTPCREL(%rip), %rax
movl $2, (%rax)
movq _playerDir@GOTPCREL(%rip), %rax
movl $0, (%rax)
leaq L_.str.8(%rip), %rdi
xorl %esi, %esi
movl $40, %edx
movl $15, %ecx
callq _RIT128x96x4StringDraw
movq _cpuX@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _cpuY@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq _DOT(%rip), %rdi
movl $2, %r8d
movl %r8d, %ecx
callq _RIT128x96x4ImageDraw
leaq L_.str.9(%rip), %rdi
movl $108, %esi
movl $40, %edx
movl $15, %ecx
callq _RIT128x96x4StringDraw
movq _playerX@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _playerY@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq _DOT(%rip), %rdi
movl $2, %r8d
movl %r8d, %ecx
callq _RIT128x96x4ImageDraw
leaq L_.str.10(%rip), %rdi
movl $61, %esi
movl $44, %edx
movl $15, %ecx
callq _RIT128x96x4StringDraw
movl $1000, %edi ## imm = 0x3E8
callq _sysTickWait1mS
leaq L_.str.11(%rip), %rdi
movl $61, %esi
movl $44, %edx
movl $15, %ecx
callq _RIT128x96x4StringDraw
movl $1000, %edi ## imm = 0x3E8
callq _sysTickWait1mS
leaq L_.str.12(%rip), %rdi
movl $61, %esi
movl $44, %edx
movl $15, %ecx
callq _RIT128x96x4StringDraw
movl $1000, %edi ## imm = 0x3E8
callq _sysTickWait1mS
leaq L_.str.13(%rip), %rdi
movl $61, %esi
movl $44, %edx
movl $15, %ecx
callq _RIT128x96x4StringDraw
leaq L_.str.14(%rip), %rdi
movl $108, %esi
movl $40, %edx
movl $15, %ecx
callq _RIT128x96x4StringDraw
leaq L_.str.14(%rip), %rdi
xorl %esi, %esi
movl $40, %edx
movl $15, %ecx
callq _RIT128x96x4StringDraw
movl $0, _progress(%rip)
LBB0_2: ## Parent Loop BB0_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_4 Depth 3
cmpl $0, _progress(%rip)
jne LBB0_22
## %bb.3: ## in Loop: Header=BB0_2 Depth=2
movq _cpuX@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _cpuY@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq _DOT(%rip), %rdi
movl $2, %r8d
movl %r8d, %ecx
callq _RIT128x96x4ImageDraw
movq _playerX@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _playerY@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq _DOT(%rip), %rdi
movl $2, %r8d
movl %r8d, %ecx
callq _RIT128x96x4ImageDraw
movq _cpuX@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $2, %ecx
movq _cpuX@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _playerDir@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _oldPalyerDir@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _i@GOTPCREL(%rip), %rax
movl $0, (%rax)
LBB0_4: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_2 Depth=2
## => This Inner Loop Header: Depth=3
movq _i@GOTPCREL(%rip), %rax
cmpl $100000, (%rax) ## imm = 0x186A0
jge LBB0_7
## %bb.5: ## in Loop: Header=BB0_4 Depth=3
movq _oldPalyerDir@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _updatePlayerDir
movl %eax, %ecx
movq _playerDir@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
## %bb.6: ## in Loop: Header=BB0_4 Depth=3
movq _i@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _i@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB0_4
LBB0_7: ## in Loop: Header=BB0_2 Depth=2
movq _playerDir@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB0_9
## %bb.8: ## in Loop: Header=BB0_2 Depth=2
movq _playerX@GOTPCREL(%rip), %rax
movl (%rax), %ecx
subl $2, %ecx
movq _playerX@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB0_16
LBB0_9: ## in Loop: Header=BB0_2 Depth=2
movq _playerDir@GOTPCREL(%rip), %rax
cmpl $1, (%rax)
jne LBB0_11
## %bb.10: ## in Loop: Header=BB0_2 Depth=2
movq _playerY@GOTPCREL(%rip), %rax
movl (%rax), %ecx
subl $2, %ecx
movq _playerY@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB0_15
LBB0_11: ## in Loop: Header=BB0_2 Depth=2
movq _playerDir@GOTPCREL(%rip), %rax
cmpl $2, (%rax)
jne LBB0_13
## %bb.12: ## in Loop: Header=BB0_2 Depth=2
movq _playerX@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $2, %ecx
movq _playerX@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB0_14
LBB0_13: ## in Loop: Header=BB0_2 Depth=2
movq _playerY@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $2, %ecx
movq _playerY@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB0_14: ## in Loop: Header=BB0_2 Depth=2
jmp LBB0_15
LBB0_15: ## in Loop: Header=BB0_2 Depth=2
jmp LBB0_16
LBB0_16: ## in Loop: Header=BB0_2 Depth=2
movq _playerX@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jl LBB0_20
## %bb.17: ## in Loop: Header=BB0_2 Depth=2
movq _playerX@GOTPCREL(%rip), %rax
cmpl $128, (%rax)
jg LBB0_20
## %bb.18: ## in Loop: Header=BB0_2 Depth=2
movq _playerY@GOTPCREL(%rip), %rax
cmpl $96, (%rax)
jg LBB0_20
## %bb.19: ## in Loop: Header=BB0_2 Depth=2
movq _playerY@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jge LBB0_21
LBB0_20: ## in Loop: Header=BB0_2 Depth=2
movl $1, _progress(%rip)
LBB0_21: ## in Loop: Header=BB0_2 Depth=2
jmp LBB0_2
LBB0_22: ## in Loop: Header=BB0_1 Depth=1
callq _RIT128x96x4Clear
cmpl $1, _progress(%rip)
jne LBB0_24
## %bb.23: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.15(%rip), %rdi
movl $40, %esi
movl $44, %edx
movl $15, %ecx
callq _RIT128x96x4StringDraw
jmp LBB0_25
LBB0_24: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.16(%rip), %rdi
movl $43, %esi
movl $44, %edx
movl $15, %ecx
callq _RIT128x96x4StringDraw
LBB0_25: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.1(%rip), %rdi
movl $1, %esi
movl $52, %edx
movl $15, %ecx
callq _RIT128x96x4StringDraw
callq _waitForButtonPress
jmp LBB0_1
.cfi_endproc
## -- End function
.globl _waitForButtonPress ## -- Begin function waitForButtonPress
.p2align 4, 0x90
_waitForButtonPress: ## @waitForButtonPress
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $1, %edi
callq _read_PBSwitchNum
movl %eax, -4(%rbp)
movl $2, %edi
callq _read_PBSwitchNum
movl %eax, -8(%rbp)
movl $3, %edi
callq _read_PBSwitchNum
movl %eax, -12(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, -4(%rbp)
movb %al, -13(%rbp) ## 1-byte Spill
je LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, -8(%rbp)
movb %al, -13(%rbp) ## 1-byte Spill
je LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
cmpl $0, -12(%rbp)
setne %al
movb %al, -13(%rbp) ## 1-byte Spill
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movb -13(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB1_5
jmp LBB1_6
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movl $1, %edi
callq _read_PBSwitchNum
movl %eax, -4(%rbp)
movl $2, %edi
callq _read_PBSwitchNum
movl %eax, -8(%rbp)
movl $3, %edi
callq _read_PBSwitchNum
movl %eax, -12(%rbp)
jmp LBB1_1
LBB1_6:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _updatePlayerDir ## -- Begin function updatePlayerDir
.p2align 4, 0x90
_updatePlayerDir: ## @updatePlayerDir
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
callq _read_PBSwitches
movl %eax, -8(%rbp)
cmpl $2, -8(%rbp)
je LBB2_2
## %bb.1:
cmpl $0, -8(%rbp)
jne LBB2_3
LBB2_2:
jmp LBB2_11
LBB2_3:
cmpl $3, -8(%rbp)
je LBB2_5
## %bb.4:
cmpl $1, -8(%rbp)
jne LBB2_6
LBB2_5:
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
movl -4(%rbp), %eax
movl $4, %ecx
cltd
idivl %ecx
movl %edx, -4(%rbp)
jmp LBB2_10
LBB2_6:
cmpl $6, -8(%rbp)
je LBB2_8
## %bb.7:
cmpl $4, -8(%rbp)
jne LBB2_9
LBB2_8:
movl -4(%rbp), %eax
subl $1, %eax
movl %eax, -4(%rbp)
movl -4(%rbp), %eax
movl $4, %ecx
cltd
idivl %ecx
movl %edx, -4(%rbp)
LBB2_9:
jmp LBB2_10
LBB2_10:
jmp LBB2_11
LBB2_11:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.globl _DOT ## @DOT
.p2align 4
_DOT:
.byte 255 ## 0xff
.byte 255 ## 0xff
.space 94
.globl _progress ## @progress
.zerofill __DATA,__common,_progress,4,2
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Tron"
L_.str.1: ## @.str.1
.asciz "press button to start"
L_.str.2: ## @.str.2
.asciz "Navigate your"
L_.str.3: ## @.str.3
.asciz "lightcycle and avoid"
L_.str.4: ## @.str.4
.asciz "touching the paths"
L_.str.5: ## @.str.5
.asciz "First player to be"
L_.str.6: ## @.str.6
.asciz "trapped by a trail"
L_.str.7: ## @.str.7
.asciz "will be derezzed-lose"
.comm _cpuX,4,2 ## @cpuX
.comm _cpuY,4,2 ## @cpuY
.comm _playerX,4,2 ## @playerX
.comm _playerY,4,2 ## @playerY
.comm _cpuDir,4,2 ## @cpuDir
.comm _playerDir,4,2 ## @playerDir
L_.str.8: ## @.str.8
.asciz "CPU"
L_.str.9: ## @.str.9
.asciz "YOU"
L_.str.10: ## @.str.10
.asciz "3"
L_.str.11: ## @.str.11
.asciz "2"
L_.str.12: ## @.str.12
.asciz "1"
L_.str.13: ## @.str.13
.asciz " "
L_.str.14: ## @.str.14
.asciz " "
.comm _oldPalyerDir,4,2 ## @oldPalyerDir
.comm _i,4,2 ## @i
L_.str.15: ## @.str.15
.asciz "YOU LOSE"
L_.str.16: ## @.str.16
.asciz "YOU WIN"
.comm _grid,18432,4 ## @grid
.comm _x,8,3 ## @x
.subsections_via_symbols
| the_stack_data/48201.c |
.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 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
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
str x8, [sp, #32] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x3, [x8]
adrp x0, _hashes@PAGE
add x0, x0, _hashes@PAGEOFF
mov x1, #16
mov x2, #20
bl _fread
subs x8, x0, #20
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #36
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___assert_rtn
LBB0_2:
b LBB0_3
LBB0_3:
stur wzr, [x29, #-20]
b LBB0_4
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
mov w9, #16777216
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_9
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=1
ldursw x1, [x29, #-20]
adrp x0, _hashes@PAGE
add x0, x0, _hashes@PAGEOFF
bl _rendezvous
stur w0, [x29, #-24]
ldursw x9, [x29, #-24]
adrp x8, _count@PAGE
add x8, x8, _count@PAGEOFF
add x9, x8, x9, lsl #2
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
ldur w8, [x29, #-20]
mov w10, #1048576
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8]
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_4
LBB0_9:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x1, [x8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _fputs
mov w8, #52429
movk w8, #18764, lsl #16
fmov s0, w8
stur s0, [x29, #-28]
movi d0, #0000000000000000
stur s0, [x29, #-32]
stur wzr, [x29, #-20]
b LBB0_10
LBB0_10: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #20
cset w8, ge
tbnz w8, #0, LBB0_13
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8]
ldur w8, [x29, #-20]
; implicit-def: $x10
mov x10, x8
ldursw x9, [x29, #-20]
adrp x8, _count@PAGE
add x8, x8, _count@PAGEOFF
str x8, [sp, #24] ; 8-byte Folded Spill
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fprintf
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldursw x9, [x29, #-20]
ldr s0, [x8, x9, lsl #2]
scvtf s0, s0
ldur s1, [x29, #-28]
fsub s0, s0, s1
fcvtzs w0, s0
bl _abs
scvtf s1, w0
ldur s0, [x29, #-32]
fadd s0, s0, s1
stur s0, [x29, #-32]
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_10 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_10
LBB0_13:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x1, [x8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _fputs
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8]
ldur s0, [x29, #-28]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fprintf
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldur s0, [x29, #-32]
fmov s1, #20.00000000
fdiv s0, s0, s1
stur s0, [x29, #-32]
ldr x0, [x8]
ldur s0, [x29, #-32]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _fprintf
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldur s0, [x29, #-32]
ldur s1, [x29, #-28]
fdiv s0, s0, s1
stur s0, [x29, #-36]
ldur s0, [x29, #-36]
mov w9, #1120403456
fmov s1, w9
fmul s0, s0, s1
stur s0, [x29, #-36]
ldr x0, [x8]
ldur s0, [x29, #-36]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _fprintf
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function rendezvous
_rendezvous: ; @rendezvous
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
mov x8, #0
; implicit-def: $q0
mov.d v0[0], x8
mov.d v0[1], x8
str x0, [sp, #88]
str x1, [sp, #80]
str wzr, [sp, #72]
str q0, [sp, #48]
str wzr, [sp, #76]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #76]
subs w8, w8, #20
cset w8, ge
tbnz w8, #0, LBB1_10
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #88]
ldrsw x9, [sp, #76]
ldr q1, [x8, x9, lsl #4]
ldr x8, [sp, #80]
mvn x12, x8
mov x11, #0
fmov d0, d1
mov d1, v1[1]
fmov x8, d0
mul x9, x8, x12
fmov x8, d1
mul x8, x8, x12
fmov x10, d0
mul x11, x10, x11
fmov x10, d0
umulh x10, x10, x12
add x8, x8, x11
add x8, x8, x10
; implicit-def: $q0
mov.d v0[0], x9
mov.d v0[1], x8
str q0, [sp, #32]
ldr q0, [sp, #48]
ldr q2, [sp, #32]
fmov d1, d0
mov d3, v0[1]
fmov d0, d2
mov d2, v2[1]
fmov x8, d3
fmov x9, d2
subs x8, x8, x9
cset w9, ls
fmov x8, d3
fmov x10, d2
subs x8, x8, x10
cset w10, eq
fmov x8, d1
fmov x11, d0
subs x8, x8, x11
cset w8, ls
and w10, w10, #0x1
ands w10, w10, #0x1
csel w8, w8, w9, ne
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr q0, [sp, #48]
fmov d1, d0
mov d0, v0[1]
str d1, [sp, #16] ; 8-byte Folded Spill
str d0, [sp, #24] ; 8-byte Folded Spill
b LBB1_5
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr q0, [sp, #32]
fmov d1, d0
mov d0, v0[1]
str d1, [sp, #16] ; 8-byte Folded Spill
str d0, [sp, #24] ; 8-byte Folded Spill
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr d1, [sp, #16] ; 8-byte Folded Reload
ldr d0, [sp, #24] ; 8-byte Folded Reload
fmov x9, d1
fmov x8, d0
; implicit-def: $q0
mov.d v0[0], x9
mov.d v0[1], x8
str q0, [sp, #48]
ldr q1, [sp, #48]
ldr q0, [sp, #32]
fmov d3, d1
mov d1, v1[1]
fmov d2, d0
mov d0, v0[1]
fmov x8, d3
fmov x9, d2
eor x8, x8, x9
fmov x9, d1
fmov x10, d0
eor x9, x9, x10
orr x8, x8, x9
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #76]
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB1_8
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #72]
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
str w8, [sp, #72]
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #76]
add w8, w8, #1
str w8, [sp, #76]
b LBB1_1
LBB1_10:
ldr w0, [sp, #72]
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _hashes ; @hashes
.zerofill __DATA,__common,_hashes,320,4
.globl _count ; @count
.zerofill __DATA,__common,_count,80,2
.section __TEXT,__cstring,cstring_literals
l___func__.main: ; @__func__.main
.asciz "main"
l_.str: ; @.str
.asciz "49189.c"
l_.str.1: ; @.str.1
.asciz "fread (hashes, sizeof (hashes[0]), NODES, stdin) == NODES"
l_.str.2: ; @.str.2
.asciz "%i\n"
l_.str.3: ; @.str.3
.asciz "\n\n\n\n\n\n\n\n"
l_.str.4: ; @.str.4
.asciz "Bin %i\t: %i\n"
l_.str.5: ; @.str.5
.asciz "avg: keys/bin\t= %f\n"
l_.str.6: ; @.str.6
.asciz "mad: keys/bin\t= %f\n"
l_.str.7: ; @.str.7
.asciz "mad / avg\t= %05.2f %%\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function main
LCPI0_0:
.long 0x494ccccd ## float 838860.813
LCPI0_1:
.long 0x42c80000 ## float 100
LCPI0_2:
.long 0x41a00000 ## float 20
.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 $48, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leaq _hashes(%rip), %rdi
movl $16, %esi
movl $20, %edx
callq _fread
cmpq $20, %rax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_2
## %bb.1:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
movl $36, %edx
callq ___assert_rtn
LBB0_2:
jmp LBB0_3
LBB0_3:
movl $0, -20(%rbp)
LBB0_4: ## =>This Inner Loop Header: Depth=1
cmpl $16777216, -20(%rbp) ## imm = 0x1000000
jge LBB0_9
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movslq -20(%rbp), %rsi
leaq _hashes(%rip), %rdi
callq _rendezvous
movl %eax, -24(%rbp)
movslq -24(%rbp), %rcx
leaq _count(%rip), %rax
movl (%rax,%rcx,4), %edx
addl $1, %edx
leaq _count(%rip), %rax
movl %edx, (%rax,%rcx,4)
movl -20(%rbp), %eax
movl $1048576, %ecx ## imm = 0x100000
cltd
idivl %ecx
cmpl $0, %edx
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -20(%rbp), %edx
leaq L_.str.2(%rip), %rsi
movb $0, %al
callq _fprintf
LBB0_7: ## in Loop: Header=BB0_4 Depth=1
jmp LBB0_8
LBB0_8: ## in Loop: Header=BB0_4 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_4
LBB0_9:
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.3(%rip), %rdi
callq _fputs
movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -28(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -32(%rbp)
movl $0, -20(%rbp)
LBB0_10: ## =>This Inner Loop Header: Depth=1
cmpl $20, -20(%rbp)
jge LBB0_13
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -20(%rbp), %edx
movslq -20(%rbp), %rcx
leaq _count(%rip), %rax
movl (%rax,%rcx,4), %ecx
leaq L_.str.4(%rip), %rsi
movb $0, %al
callq _fprintf
movslq -20(%rbp), %rcx
leaq _count(%rip), %rax
cvtsi2ssl (%rax,%rcx,4), %xmm0
subss -28(%rbp), %xmm0
cvttss2si %xmm0, %edi
callq _abs
cvtsi2ss %eax, %xmm0
addss -32(%rbp), %xmm0
movss %xmm0, -32(%rbp)
## %bb.12: ## in Loop: Header=BB0_10 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_10
LBB0_13:
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.3(%rip), %rdi
callq _fputs
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movss -28(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.5(%rip), %rsi
movb $1, %al
callq _fprintf
movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
movss %xmm0, -32(%rbp)
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.6(%rip), %rsi
movb $1, %al
callq _fprintf
movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
divss -28(%rbp), %xmm0
movss %xmm0, -36(%rbp)
movss LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -36(%rbp), %xmm0
movss %xmm0, -36(%rbp)
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movss -36(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.7(%rip), %rsi
movb $1, %al
callq _fprintf
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function rendezvous
_rendezvous: ## @rendezvous
.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, -8(%rbp)
movq %rsi, -16(%rbp)
movl $0, -24(%rbp)
movq $0, -40(%rbp)
movq $0, -48(%rbp)
movl $0, -20(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $20, -20(%rbp)
jge LBB1_10
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rcx
movslq -20(%rbp), %rdx
shlq $4, %rdx
movq (%rcx,%rdx), %rax
movq 8(%rcx,%rdx), %rcx
movq -16(%rbp), %rdx
notq %rdx
imulq %rdx, %rcx
mulq %rdx
addq %rcx, %rdx
movq %rax, -64(%rbp)
movq %rdx, -56(%rbp)
movq -48(%rbp), %rsi
movq -40(%rbp), %rcx
movq -64(%rbp), %rdx
movq -56(%rbp), %rax
subq %rsi, %rdx
sbbq %rcx, %rax
jae LBB1_4
jmp LBB1_3
LBB1_3: ## in Loop: Header=BB1_1 Depth=1
movq -48(%rbp), %rcx
movq -40(%rbp), %rax
movq %rcx, -80(%rbp) ## 8-byte Spill
movq %rax, -72(%rbp) ## 8-byte Spill
jmp LBB1_5
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movq -64(%rbp), %rcx
movq -56(%rbp), %rax
movq %rcx, -80(%rbp) ## 8-byte Spill
movq %rax, -72(%rbp) ## 8-byte Spill
jmp LBB1_5
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movq -80(%rbp), %rcx ## 8-byte Reload
movq -72(%rbp), %rax ## 8-byte Reload
movq %rcx, -48(%rbp)
movq %rax, -40(%rbp)
movaps -48(%rbp), %xmm0
movaps -64(%rbp), %xmm1
pxor %xmm1, %xmm0
ptest %xmm0, %xmm0
jne LBB1_7
jmp LBB1_6
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
movl -20(%rbp), %eax
movl %eax, -84(%rbp) ## 4-byte Spill
jmp LBB1_8
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
movl -24(%rbp), %eax
movl %eax, -84(%rbp) ## 4-byte Spill
LBB1_8: ## in Loop: Header=BB1_1 Depth=1
movl -84(%rbp), %eax ## 4-byte Reload
movl %eax, -24(%rbp)
## %bb.9: ## in Loop: Header=BB1_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB1_1
LBB1_10:
movl -24(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _hashes ## @hashes
.zerofill __DATA,__common,_hashes,320,4
.globl _count ## @count
.zerofill __DATA,__common,_count,80,4
.section __TEXT,__cstring,cstring_literals
L___func__.main: ## @__func__.main
.asciz "main"
L_.str: ## @.str
.asciz "49189.c"
L_.str.1: ## @.str.1
.asciz "fread (hashes, sizeof (hashes[0]), NODES, stdin) == NODES"
L_.str.2: ## @.str.2
.asciz "%i\n"
L_.str.3: ## @.str.3
.asciz "\n\n\n\n\n\n\n\n"
L_.str.4: ## @.str.4
.asciz "Bin %i\t: %i\n"
L_.str.5: ## @.str.5
.asciz "avg: keys/bin\t= %f\n"
L_.str.6: ## @.str.6
.asciz "mad: keys/bin\t= %f\n"
L_.str.7: ## @.str.7
.asciz "mad / avg\t= %05.2f %%\n"
.subsections_via_symbols
| the_stack_data/49189.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _strncmp ; -- Begin function strncmp
.p2align 2
_strncmp: ; @strncmp
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
str x2, [sp, #32]
ldur x8, [x29, #-16]
str x8, [sp, #24]
ldur x8, [x29, #-24]
str x8, [sp, #16]
ldr x8, [sp, #24]
ldr x9, [sp, #32]
add x8, x8, x9
str x8, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
ldr x9, [sp, #8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
ldrb w8, [x8]
ldr x9, [sp, #16]
ldrb w9, [x9]
subs w8, w8, w9
str w8, [sp, #4]
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr w8, [sp, #4]
stur w8, [x29, #-4]
b LBB0_8
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
stur wzr, [x29, #-4]
b LBB0_8
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
mov w0, #42
bl ___mark
b LBB0_1
LBB0_7:
stur wzr, [x29, #-4]
b LBB0_8
LBB0_8:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _strncmp ## -- Begin function strncmp
.p2align 4, 0x90
_strncmp: ## @strncmp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movq -16(%rbp), %rax
movq %rax, -40(%rbp)
movq -24(%rbp), %rax
movq %rax, -48(%rbp)
movq -40(%rbp), %rax
addq -32(%rbp), %rax
movq %rax, -56(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -40(%rbp), %rax
cmpq -56(%rbp), %rax
je LBB0_7
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
movzbl (%rax), %eax
movq -48(%rbp), %rcx
movzbl (%rcx), %ecx
subl %ecx, %eax
movl %eax, -60(%rbp)
cmpl $0, -60(%rbp)
je LBB0_4
## %bb.3:
movl -60(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_8
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
cmpb $0, (%rax)
jne LBB0_6
## %bb.5:
movl $0, -4(%rbp)
jmp LBB0_8
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
addq $1, %rax
movq %rax, -40(%rbp)
movq -48(%rbp), %rax
addq $1, %rax
movq %rax, -48(%rbp)
movl $42, %edi
callq ___mark
jmp LBB0_1
LBB0_7:
movl $0, -4(%rbp)
LBB0_8:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/508102.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _slasq4_ ; -- Begin function slasq4_
.p2align 2
_slasq4_: ; @slasq4_
.cfi_startproc
; %bb.0:
sub sp, sp, #224
.cfi_def_cfa_offset 224
add x9, sp, #184
str x9, [sp, #40] ; 8-byte Folded Spill
ldr x14, [sp, #224]
ldr x13, [sp, #232]
ldr x12, [sp, #240]
ldr x11, [sp, #248]
ldr x10, [sp, #256]
ldr x8, [sp, #264]
str x0, [x9, #24]
str x1, [x9, #16]
str x2, [x9, #8]
str x3, [x9]
str x4, [sp, #176]
str x5, [sp, #168]
str x6, [sp, #160]
str x7, [sp, #152]
str x14, [sp, #144]
str x13, [sp, #136]
str x12, [sp, #128]
str x11, [sp, #120]
str x10, [sp, #112]
str x8, [sp, #104]
ldr x8, [x9, #8]
subs x8, x8, #4
str x8, [x9, #8]
ldr x8, [sp, #168]
ldr s0, [x8]
fcmp s0, #0.0
cset w8, hi
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #168]
ldr s0, [x8]
fneg s0, s0
ldr x8, [sp, #120]
str s0, [x8]
ldr x9, [sp, #112]
mov w8, #-1
str w8, [x9]
str wzr, [sp, #220]
b LBB0_159
LBB0_2:
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x9, #16]
ldr w10, [x8]
ldr x8, [x9]
ldr w8, [x8]
add w8, w8, w10, lsl #2
str w8, [sp, #68]
ldr x8, [sp, #176]
ldr w8, [x8]
ldr x9, [x9, #16]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_90
b LBB0_3
LBB0_3:
ldr x8, [sp, #168]
ldr s0, [x8]
ldr x8, [sp, #144]
ldr s1, [x8]
fcmp s0, s1
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldr x8, [sp, #168]
ldr s0, [x8]
ldr x8, [sp, #136]
ldr s1, [x8]
fcmp s0, s1
cset w8, ne
tbnz w8, #0, LBB0_57
b LBB0_5
LBB0_5:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x9, [x8, #8]
ldr w10, [sp, #68]
subs w10, w10, #3
ldr s0, [x9, w10, sxtw #2]
fcvt d0, s0
fsqrt d0, d0
ldr x9, [x8, #8]
ldr w10, [sp, #68]
subs w10, w10, #5
ldr s1, [x9, w10, sxtw #2]
fcvt d1, s1
fsqrt d1, d1
fmul d0, d0, d1
fcvt s0, d0
str s0, [sp, #80]
ldr x9, [x8, #8]
ldr w10, [sp, #68]
subs w10, w10, #7
ldr s0, [x9, w10, sxtw #2]
fcvt d0, s0
fsqrt d0, d0
ldr x9, [x8, #8]
ldr w10, [sp, #68]
subs w10, w10, #9
ldr s1, [x9, w10, sxtw #2]
fcvt d1, s1
fsqrt d1, d1
fmul d0, d0, d1
fcvt s0, d0
str s0, [sp, #76]
ldr x9, [x8, #8]
ldr w10, [sp, #68]
subs w10, w10, #7
ldr s0, [x9, w10, sxtw #2]
ldr x8, [x8, #8]
ldr w9, [sp, #68]
subs w9, w9, #5
ldr s1, [x8, w9, sxtw #2]
fadd s0, s0, s1
str s0, [sp, #84]
ldr x8, [sp, #168]
ldr s0, [x8]
ldr x8, [sp, #144]
ldr s1, [x8]
fcmp s0, s1
cset w8, ne
tbnz w8, #0, LBB0_29
b LBB0_6
LBB0_6:
ldr x8, [sp, #160]
ldr s0, [x8]
ldr x8, [sp, #136]
ldr s1, [x8]
fcmp s0, s1
cset w8, ne
tbnz w8, #0, LBB0_29
b LBB0_7
LBB0_7:
ldr x8, [sp, #152]
ldr s0, [x8]
ldr s1, [sp, #84]
fsub s2, s0, s1
ldr x8, [sp, #152]
ldr s0, [x8]
fmov s1, #0.25000000
fmsub s0, s0, s1, s2
str s0, [sp, #52]
ldr s0, [sp, #52]
fcmp s0, #0.0
cset w8, le
tbnz w8, #0, LBB0_10
b LBB0_8
LBB0_8:
ldr s0, [sp, #52]
ldr s1, [sp, #76]
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
ldr s0, [sp, #84]
ldr x8, [sp, #144]
ldr s1, [x8]
fsub s2, s0, s1
ldr s0, [sp, #76]
ldr s1, [sp, #52]
fdiv s0, s0, s1
ldr s1, [sp, #76]
fmsub s0, s0, s1, s2
str s0, [sp, #56]
b LBB0_11
LBB0_10:
ldr s0, [sp, #84]
ldr x8, [sp, #144]
ldr s1, [x8]
fsub s0, s0, s1
ldr s1, [sp, #80]
ldr s2, [sp, #76]
fadd s1, s1, s2
fsub s0, s0, s1
str s0, [sp, #56]
b LBB0_11
LBB0_11:
ldr s0, [sp, #56]
fcmp s0, #0.0
cset w8, le
tbnz w8, #0, LBB0_17
b LBB0_12
LBB0_12:
ldr s0, [sp, #56]
ldr s1, [sp, #80]
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB0_17
b LBB0_13
LBB0_13:
ldr x8, [sp, #144]
ldr s2, [x8]
ldr s0, [sp, #80]
ldr s1, [sp, #56]
fdiv s0, s0, s1
ldr s1, [sp, #80]
fmsub s0, s0, s1, s2
str s0, [sp, #96]
ldr x8, [sp, #168]
ldr s0, [x8]
fmov s1, #0.50000000
fmul s0, s0, s1
str s0, [sp, #92]
ldr s0, [sp, #96]
ldr s1, [sp, #92]
fcmp s0, s1
cset w8, lt
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14:
ldr s0, [sp, #96]
str s0, [sp, #36] ; 4-byte Folded Spill
b LBB0_16
LBB0_15:
ldr s0, [sp, #92]
str s0, [sp, #36] ; 4-byte Folded Spill
b LBB0_16
LBB0_16:
ldr s0, [sp, #36] ; 4-byte Folded Reload
str s0, [sp, #88]
ldr x9, [sp, #112]
mov w8, #-2
str w8, [x9]
b LBB0_28
LBB0_17:
movi d0, #0000000000000000
str s0, [sp, #88]
ldr x8, [sp, #144]
ldr s0, [x8]
ldr s1, [sp, #80]
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB0_19
b LBB0_18
LBB0_18:
ldr x8, [sp, #144]
ldr s0, [x8]
ldr s1, [sp, #80]
fsub s0, s0, s1
str s0, [sp, #88]
b LBB0_19
LBB0_19:
ldr s0, [sp, #84]
ldr s1, [sp, #80]
ldr s2, [sp, #76]
fadd s1, s1, s2
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB0_24
b LBB0_20
LBB0_20:
ldr s0, [sp, #88]
str s0, [sp, #96]
ldr s0, [sp, #84]
ldr s1, [sp, #80]
ldr s2, [sp, #76]
fadd s1, s1, s2
fsub s0, s0, s1
str s0, [sp, #92]
ldr s0, [sp, #96]
ldr s1, [sp, #92]
fcmp s0, s1
cset w8, hi
tbnz w8, #0, LBB0_22
b LBB0_21
LBB0_21:
ldr s0, [sp, #96]
str s0, [sp, #32] ; 4-byte Folded Spill
b LBB0_23
LBB0_22:
ldr s0, [sp, #92]
str s0, [sp, #32] ; 4-byte Folded Spill
b LBB0_23
LBB0_23:
ldr s0, [sp, #32] ; 4-byte Folded Reload
str s0, [sp, #88]
b LBB0_24
LBB0_24:
ldr s0, [sp, #88]
str s0, [sp, #96]
ldr x8, [sp, #168]
ldr s0, [x8]
mov w8, #32506
movk w8, #16042, lsl #16
fmov s1, w8
fmul s0, s0, s1
str s0, [sp, #92]
ldr s0, [sp, #96]
ldr s1, [sp, #92]
fcmp s0, s1
cset w8, lt
tbnz w8, #0, LBB0_26
b LBB0_25
LBB0_25:
ldr s0, [sp, #96]
str s0, [sp, #28] ; 4-byte Folded Spill
b LBB0_27
LBB0_26:
ldr s0, [sp, #92]
str s0, [sp, #28] ; 4-byte Folded Spill
b LBB0_27
LBB0_27:
ldr s0, [sp, #28] ; 4-byte Folded Reload
str s0, [sp, #88]
ldr x9, [sp, #112]
mov w8, #-3
str w8, [x9]
b LBB0_28
LBB0_28:
b LBB0_56
LBB0_29:
ldr x9, [sp, #112]
mov w8, #-4
str w8, [x9]
ldr x8, [sp, #168]
ldr s0, [x8]
fmov s1, #0.25000000
fmul s0, s0, s1
str s0, [sp, #88]
ldr x8, [sp, #168]
ldr s0, [x8]
ldr x8, [sp, #144]
ldr s1, [x8]
fcmp s0, s1
cset w8, ne
tbnz w8, #0, LBB0_33
b LBB0_30
LBB0_30:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x9, [sp, #144]
ldr s0, [x9]
str s0, [sp, #60]
movi d0, #0000000000000000
str s0, [sp, #84]
ldr x9, [x8, #8]
ldr w10, [sp, #68]
subs w10, w10, #5
ldr s0, [x9, w10, sxtw #2]
ldr x8, [x8, #8]
ldr w9, [sp, #68]
subs w9, w9, #7
ldr s1, [x8, w9, sxtw #2]
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB0_32
b LBB0_31
LBB0_31:
str wzr, [sp, #220]
b LBB0_159
LBB0_32:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x9, [x8, #8]
ldr w10, [sp, #68]
subs w10, w10, #5
ldr s0, [x9, w10, sxtw #2]
ldr x8, [x8, #8]
ldr w9, [sp, #68]
subs w9, w9, #7
ldr s1, [x8, w9, sxtw #2]
fdiv s0, s0, s1
str s0, [sp, #76]
ldr w8, [sp, #68]
subs w8, w8, #9
str w8, [sp, #64]
b LBB0_38
LBB0_33:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w9, [sp, #68]
ldr x10, [x8]
ldr w10, [x10]
subs w9, w9, w10, lsl #1
str w9, [sp, #64]
ldr x9, [sp, #136]
ldr s0, [x9]
str s0, [sp, #60]
ldr x9, [x8, #8]
ldr w10, [sp, #64]
subs w10, w10, #4
ldr s0, [x9, w10, sxtw #2]
ldr x8, [x8, #8]
ldr w9, [sp, #64]
subs w9, w9, #2
ldr s1, [x8, w9, sxtw #2]
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB0_35
b LBB0_34
LBB0_34:
str wzr, [sp, #220]
b LBB0_159
LBB0_35:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x9, [x8, #8]
ldr w10, [sp, #64]
subs w10, w10, #4
ldr s0, [x9, w10, sxtw #2]
ldr x9, [x8, #8]
ldr w10, [sp, #64]
subs w10, w10, #2
ldr s1, [x9, w10, sxtw #2]
fdiv s0, s0, s1
str s0, [sp, #84]
ldr x9, [x8, #8]
ldr w10, [sp, #68]
subs w10, w10, #9
ldr s0, [x9, w10, sxtw #2]
ldr x8, [x8, #8]
ldr w9, [sp, #68]
subs w9, w9, #11
ldr s1, [x8, w9, sxtw #2]
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB0_37
b LBB0_36
LBB0_36:
str wzr, [sp, #220]
b LBB0_159
LBB0_37:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x9, [x8, #8]
ldr w10, [sp, #68]
subs w10, w10, #9
ldr s0, [x9, w10, sxtw #2]
ldr x8, [x8, #8]
ldr w9, [sp, #68]
subs w9, w9, #11
ldr s1, [x8, w9, sxtw #2]
fdiv s0, s0, s1
str s0, [sp, #76]
ldr w8, [sp, #68]
subs w8, w8, #13
str w8, [sp, #64]
b LBB0_38
LBB0_38:
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr s1, [sp, #76]
ldr s0, [sp, #84]
fadd s0, s0, s1
str s0, [sp, #84]
ldr x8, [x9, #24]
ldr w8, [x8]
lsl w8, w8, #2
subs w8, w8, #1
ldr x9, [x9]
ldr w9, [x9]
add w8, w8, w9
str w8, [sp, #100]
ldr w8, [sp, #64]
str w8, [sp, #72]
b LBB0_39
LBB0_39: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #72]
ldr w9, [sp, #100]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_52
b LBB0_40
LBB0_40: ; in Loop: Header=BB0_39 Depth=1
ldr s0, [sp, #76]
fcmp s0, #0.0
cset w8, ne
tbnz w8, #0, LBB0_42
b LBB0_41
LBB0_41:
b LBB0_53
LBB0_42: ; in Loop: Header=BB0_39 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr s0, [sp, #76]
str s0, [sp, #80]
ldr x9, [x8, #8]
ldrsw x10, [sp, #72]
ldr s0, [x9, x10, lsl #2]
ldr x8, [x8, #8]
ldr w9, [sp, #72]
subs w9, w9, #2
ldr s1, [x8, w9, sxtw #2]
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB0_44
b LBB0_43
LBB0_43:
str wzr, [sp, #220]
b LBB0_159
LBB0_44: ; in Loop: Header=BB0_39 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x9, [x8, #8]
ldrsw x10, [sp, #72]
ldr s0, [x9, x10, lsl #2]
ldr x8, [x8, #8]
ldr w9, [sp, #72]
subs w9, w9, #2
ldr s1, [x8, w9, sxtw #2]
fdiv s1, s0, s1
ldr s0, [sp, #76]
fmul s0, s0, s1
str s0, [sp, #76]
ldr s1, [sp, #76]
ldr s0, [sp, #84]
fadd s0, s0, s1
str s0, [sp, #84]
ldr s0, [sp, #76]
ldr s1, [sp, #80]
fcmp s0, s1
cset w8, lt
tbnz w8, #0, LBB0_46
b LBB0_45
LBB0_45: ; in Loop: Header=BB0_39 Depth=1
ldr s0, [sp, #76]
str s0, [sp, #24] ; 4-byte Folded Spill
b LBB0_47
LBB0_46: ; in Loop: Header=BB0_39 Depth=1
ldr s0, [sp, #80]
str s0, [sp, #24] ; 4-byte Folded Spill
b LBB0_47
LBB0_47: ; in Loop: Header=BB0_39 Depth=1
ldr s0, [sp, #24] ; 4-byte Folded Reload
mov w8, #1120403456
fmov s1, w8
fmul s0, s0, s1
ldr s1, [sp, #84]
fcmp s0, s1
cset w8, mi
tbnz w8, #0, LBB0_49
b LBB0_48
LBB0_48: ; in Loop: Header=BB0_39 Depth=1
ldr s1, [sp, #84]
mov w8, #8389
movk w8, #16144, lsl #16
fmov s0, w8
fcmp s0, s1
cset w8, pl
tbnz w8, #0, LBB0_50
b LBB0_49
LBB0_49:
b LBB0_53
LBB0_50: ; in Loop: Header=BB0_39 Depth=1
b LBB0_51
LBB0_51: ; in Loop: Header=BB0_39 Depth=1
ldr w8, [sp, #72]
subs w8, w8, #4
str w8, [sp, #72]
b LBB0_39
LBB0_52:
b LBB0_53
LBB0_53:
ldr s0, [sp, #84]
mov w8, #26214
movk w8, #16262, lsl #16
fmov s1, w8
fmul s0, s0, s1
str s0, [sp, #84]
ldr s0, [sp, #84]
mov w8, #8389
movk w8, #16144, lsl #16
fmov s1, w8
fcmp s0, s1
cset w8, pl
tbnz w8, #0, LBB0_55
b LBB0_54
LBB0_54:
ldr s0, [sp, #60]
fcvt d0, s0
ldr s1, [sp, #84]
fcvt d1, s1
fsqrt d2, d1
fmov d1, #1.00000000
fsub d1, d1, d2
fmul d0, d0, d1
ldr s1, [sp, #84]
fmov s2, #1.00000000
fadd s1, s1, s2
fcvt d1, s1
fdiv d0, d0, d1
fcvt s0, d0
str s0, [sp, #88]
b LBB0_55
LBB0_55:
b LBB0_56
LBB0_56:
b LBB0_89
LBB0_57:
ldr x8, [sp, #168]
ldr s0, [x8]
ldr x8, [sp, #128]
ldr s1, [x8]
fcmp s0, s1
cset w8, ne
tbnz w8, #0, LBB0_81
b LBB0_58
LBB0_58:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x10, [sp, #112]
mov w9, #-5
str w9, [x10]
ldr x9, [sp, #168]
ldr s0, [x9]
fmov s1, #0.25000000
fmul s0, s0, s1
str s0, [sp, #88]
ldr w9, [sp, #68]
ldr x10, [x8]
ldr w10, [x10]
subs w9, w9, w10, lsl #1
str w9, [sp, #64]
ldr x9, [x8, #8]
ldr w10, [sp, #64]
subs w10, w10, #2
ldr s0, [x9, w10, sxtw #2]
str s0, [sp, #80]
ldr x9, [x8, #8]
ldr w10, [sp, #64]
subs w10, w10, #6
ldr s0, [x9, w10, sxtw #2]
str s0, [sp, #76]
ldr x9, [sp, #128]
ldr s0, [x9]
str s0, [sp, #60]
ldr x8, [x8, #8]
ldr w9, [sp, #64]
subs w9, w9, #8
ldr s0, [x8, w9, sxtw #2]
ldr s1, [sp, #76]
fcmp s0, s1
cset w8, gt
tbnz w8, #0, LBB0_60
b LBB0_59
LBB0_59:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x8, #8]
ldr w9, [sp, #64]
subs w9, w9, #4
ldr s0, [x8, w9, sxtw #2]
ldr s1, [sp, #80]
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB0_61
b LBB0_60
LBB0_60:
str wzr, [sp, #220]
b LBB0_159
LBB0_61:
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x9, #8]
ldr w10, [sp, #64]
subs w10, w10, #8
ldr s0, [x8, w10, sxtw #2]
ldr s1, [sp, #76]
fdiv s0, s0, s1
ldr x8, [x9, #8]
ldr w10, [sp, #64]
subs w10, w10, #4
ldr s1, [x8, w10, sxtw #2]
ldr s2, [sp, #80]
fdiv s1, s1, s2
fmov s2, #1.00000000
fadd s1, s1, s2
fmul s0, s0, s1
str s0, [sp, #84]
ldr x8, [x9, #16]
ldr w8, [x8]
ldr x9, [x9, #24]
ldr w9, [x9]
subs w8, w8, w9
subs w8, w8, #2
cset w8, le
tbnz w8, #0, LBB0_78
b LBB0_62
LBB0_62:
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x9, #8]
ldr w10, [sp, #68]
subs w10, w10, #13
ldr s0, [x8, w10, sxtw #2]
ldr x8, [x9, #8]
ldr w10, [sp, #68]
subs w10, w10, #15
ldr s1, [x8, w10, sxtw #2]
fdiv s0, s0, s1
str s0, [sp, #76]
ldr s1, [sp, #76]
ldr s0, [sp, #84]
fadd s0, s0, s1
str s0, [sp, #84]
ldr x8, [x9, #24]
ldr w8, [x8]
lsl w8, w8, #2
subs w8, w8, #1
ldr x9, [x9]
ldr w9, [x9]
add w8, w8, w9
str w8, [sp, #100]
ldr w8, [sp, #68]
subs w8, w8, #17
str w8, [sp, #72]
b LBB0_63
LBB0_63: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #72]
ldr w9, [sp, #100]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_76
b LBB0_64
LBB0_64: ; in Loop: Header=BB0_63 Depth=1
ldr s0, [sp, #76]
fcmp s0, #0.0
cset w8, ne
tbnz w8, #0, LBB0_66
b LBB0_65
LBB0_65:
b LBB0_77
LBB0_66: ; in Loop: Header=BB0_63 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr s0, [sp, #76]
str s0, [sp, #80]
ldr x9, [x8, #8]
ldrsw x10, [sp, #72]
ldr s0, [x9, x10, lsl #2]
ldr x8, [x8, #8]
ldr w9, [sp, #72]
subs w9, w9, #2
ldr s1, [x8, w9, sxtw #2]
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB0_68
b LBB0_67
LBB0_67:
str wzr, [sp, #220]
b LBB0_159
LBB0_68: ; in Loop: Header=BB0_63 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x9, [x8, #8]
ldrsw x10, [sp, #72]
ldr s0, [x9, x10, lsl #2]
ldr x8, [x8, #8]
ldr w9, [sp, #72]
subs w9, w9, #2
ldr s1, [x8, w9, sxtw #2]
fdiv s1, s0, s1
ldr s0, [sp, #76]
fmul s0, s0, s1
str s0, [sp, #76]
ldr s1, [sp, #76]
ldr s0, [sp, #84]
fadd s0, s0, s1
str s0, [sp, #84]
ldr s0, [sp, #76]
ldr s1, [sp, #80]
fcmp s0, s1
cset w8, lt
tbnz w8, #0, LBB0_70
b LBB0_69
LBB0_69: ; in Loop: Header=BB0_63 Depth=1
ldr s0, [sp, #76]
str s0, [sp, #20] ; 4-byte Folded Spill
b LBB0_71
LBB0_70: ; in Loop: Header=BB0_63 Depth=1
ldr s0, [sp, #80]
str s0, [sp, #20] ; 4-byte Folded Spill
b LBB0_71
LBB0_71: ; in Loop: Header=BB0_63 Depth=1
ldr s0, [sp, #20] ; 4-byte Folded Reload
mov w8, #1120403456
fmov s1, w8
fmul s0, s0, s1
ldr s1, [sp, #84]
fcmp s0, s1
cset w8, mi
tbnz w8, #0, LBB0_73
b LBB0_72
LBB0_72: ; in Loop: Header=BB0_63 Depth=1
ldr s1, [sp, #84]
mov w8, #8389
movk w8, #16144, lsl #16
fmov s0, w8
fcmp s0, s1
cset w8, pl
tbnz w8, #0, LBB0_74
b LBB0_73
LBB0_73:
b LBB0_77
LBB0_74: ; in Loop: Header=BB0_63 Depth=1
b LBB0_75
LBB0_75: ; in Loop: Header=BB0_63 Depth=1
ldr w8, [sp, #72]
subs w8, w8, #4
str w8, [sp, #72]
b LBB0_63
LBB0_76:
b LBB0_77
LBB0_77:
ldr s0, [sp, #84]
mov w8, #26214
movk w8, #16262, lsl #16
fmov s1, w8
fmul s0, s0, s1
str s0, [sp, #84]
b LBB0_78
LBB0_78:
ldr s0, [sp, #84]
mov w8, #8389
movk w8, #16144, lsl #16
fmov s1, w8
fcmp s0, s1
cset w8, pl
tbnz w8, #0, LBB0_80
b LBB0_79
LBB0_79:
ldr s0, [sp, #60]
fcvt d0, s0
ldr s1, [sp, #84]
fcvt d1, s1
fsqrt d2, d1
fmov d1, #1.00000000
fsub d1, d1, d2
fmul d0, d0, d1
ldr s1, [sp, #84]
fmov s2, #1.00000000
fadd s1, s1, s2
fcvt d1, s1
fdiv d0, d0, d1
fcvt s0, d0
str s0, [sp, #88]
b LBB0_80
LBB0_80:
b LBB0_88
LBB0_81:
ldr x8, [sp, #112]
ldr w8, [x8]
adds w8, w8, #6
cset w8, ne
tbnz w8, #0, LBB0_83
b LBB0_82
LBB0_82:
ldr x8, [sp, #104]
ldr s1, [x8]
fmov s0, #1.00000000
fsub s0, s0, s1
ldr x8, [sp, #104]
ldr s2, [x8]
mov w9, #32506
movk w9, #16042, lsl #16
fmov s1, w9
fmadd s0, s0, s1, s2
str s0, [x8]
b LBB0_87
LBB0_83:
ldr x8, [sp, #112]
ldr w8, [x8]
adds w8, w8, #18
cset w8, ne
tbnz w8, #0, LBB0_85
b LBB0_84
LBB0_84:
ldr x8, [sp, #104]
mov w9, #32506
movk w9, #15786, lsl #16
fmov s0, w9
str s0, [x8]
b LBB0_86
LBB0_85:
ldr x8, [sp, #104]
fmov s0, #0.25000000
str s0, [x8]
b LBB0_86
LBB0_86:
b LBB0_87
LBB0_87:
ldr x8, [sp, #104]
ldr s0, [x8]
ldr x8, [sp, #168]
ldr s1, [x8]
fmul s0, s0, s1
str s0, [sp, #88]
ldr x9, [sp, #112]
mov w8, #-6
str w8, [x9]
b LBB0_88
LBB0_88:
b LBB0_89
LBB0_89:
b LBB0_158
LBB0_90:
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr x8, [sp, #176]
ldr w8, [x8]
ldr x9, [x9, #16]
ldr w9, [x9]
add w9, w9, #1
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_124
b LBB0_91
LBB0_91:
ldr x8, [sp, #160]
ldr s0, [x8]
ldr x8, [sp, #136]
ldr s1, [x8]
fcmp s0, s1
cset w8, ne
tbnz w8, #0, LBB0_120
b LBB0_92
LBB0_92:
ldr x8, [sp, #152]
ldr s0, [x8]
ldr x8, [sp, #128]
ldr s1, [x8]
fcmp s0, s1
cset w8, ne
tbnz w8, #0, LBB0_120
b LBB0_93
LBB0_93:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x10, [sp, #112]
mov w9, #-7
str w9, [x10]
ldr x9, [sp, #160]
ldr s0, [x9]
mov w9, #32506
movk w9, #16042, lsl #16
fmov s1, w9
fmul s0, s0, s1
str s0, [sp, #88]
ldr x9, [x8, #8]
ldr w10, [sp, #68]
subs w10, w10, #5
ldr s0, [x9, w10, sxtw #2]
ldr x8, [x8, #8]
ldr w9, [sp, #68]
subs w9, w9, #7
ldr s1, [x8, w9, sxtw #2]
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB0_95
b LBB0_94
LBB0_94:
str wzr, [sp, #220]
b LBB0_159
LBB0_95:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x9, [x8, #8]
ldr w10, [sp, #68]
subs w10, w10, #5
ldr s0, [x9, w10, sxtw #2]
ldr x8, [x8, #8]
ldr w9, [sp, #68]
subs w9, w9, #7
ldr s1, [x8, w9, sxtw #2]
fdiv s0, s0, s1
str s0, [sp, #80]
ldr s0, [sp, #80]
str s0, [sp, #76]
ldr s0, [sp, #76]
fcmp s0, #0.0
cset w8, ne
tbnz w8, #0, LBB0_97
b LBB0_96
LBB0_96:
b LBB0_109
LBB0_97:
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x9, #24]
ldr w8, [x8]
lsl w8, w8, #2
subs w8, w8, #1
ldr x10, [x9]
ldr w10, [x10]
add w8, w8, w10
str w8, [sp, #100]
ldr x8, [x9, #16]
ldr w8, [x8]
lsl w8, w8, #2
subs w8, w8, #9
ldr x9, [x9]
ldr w9, [x9]
add w8, w8, w9
str w8, [sp, #72]
b LBB0_98
LBB0_98: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #72]
ldr w9, [sp, #100]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_108
b LBB0_99
LBB0_99: ; in Loop: Header=BB0_98 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr s0, [sp, #80]
str s0, [sp, #84]
ldr x9, [x8, #8]
ldrsw x10, [sp, #72]
ldr s0, [x9, x10, lsl #2]
ldr x8, [x8, #8]
ldr w9, [sp, #72]
subs w9, w9, #2
ldr s1, [x8, w9, sxtw #2]
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB0_101
b LBB0_100
LBB0_100:
str wzr, [sp, #220]
b LBB0_159
LBB0_101: ; in Loop: Header=BB0_98 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x9, [x8, #8]
ldrsw x10, [sp, #72]
ldr s0, [x9, x10, lsl #2]
ldr x8, [x8, #8]
ldr w9, [sp, #72]
subs w9, w9, #2
ldr s1, [x8, w9, sxtw #2]
fdiv s1, s0, s1
ldr s0, [sp, #80]
fmul s0, s0, s1
str s0, [sp, #80]
ldr s1, [sp, #80]
ldr s0, [sp, #76]
fadd s0, s0, s1
str s0, [sp, #76]
ldr s0, [sp, #80]
ldr s1, [sp, #84]
fcmp s0, s1
cset w8, lt
tbnz w8, #0, LBB0_103
b LBB0_102
LBB0_102: ; in Loop: Header=BB0_98 Depth=1
ldr s0, [sp, #80]
str s0, [sp, #16] ; 4-byte Folded Spill
b LBB0_104
LBB0_103: ; in Loop: Header=BB0_98 Depth=1
ldr s0, [sp, #84]
str s0, [sp, #16] ; 4-byte Folded Spill
b LBB0_104
LBB0_104: ; in Loop: Header=BB0_98 Depth=1
ldr s0, [sp, #16] ; 4-byte Folded Reload
mov w8, #1120403456
fmov s1, w8
fmul s0, s0, s1
ldr s1, [sp, #76]
fcmp s0, s1
cset w8, pl
tbnz w8, #0, LBB0_106
b LBB0_105
LBB0_105:
b LBB0_109
LBB0_106: ; in Loop: Header=BB0_98 Depth=1
b LBB0_107
LBB0_107: ; in Loop: Header=BB0_98 Depth=1
ldr w8, [sp, #72]
subs w8, w8, #4
str w8, [sp, #72]
b LBB0_98
LBB0_108:
b LBB0_109
LBB0_109:
ldr s0, [sp, #76]
mov w8, #26214
movk w8, #16262, lsl #16
fmov s1, w8
fmul s0, s0, s1
fcvt d0, s0
fsqrt d0, d0
fcvt s0, d0
str s0, [sp, #76]
ldr s0, [sp, #76]
str s0, [sp, #96]
ldr x8, [sp, #160]
ldr s0, [x8]
ldr s1, [sp, #96]
ldr s2, [sp, #96]
fmov s3, #1.00000000
fmadd s1, s1, s2, s3
fdiv s0, s0, s1
str s0, [sp, #84]
ldr x8, [sp, #152]
ldr s0, [x8]
ldr s2, [sp, #84]
fmov s1, #0.50000000
fnmsub s0, s0, s1, s2
str s0, [sp, #52]
ldr s0, [sp, #52]
fcmp s0, #0.0
cset w8, le
tbnz w8, #0, LBB0_115
b LBB0_110
LBB0_110:
ldr s0, [sp, #52]
ldr s1, [sp, #76]
ldr s2, [sp, #84]
fmul s1, s1, s2
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB0_115
b LBB0_111
LBB0_111:
ldr s0, [sp, #88]
str s0, [sp, #96]
ldr s0, [sp, #84]
ldr s1, [sp, #84]
mov w8, #18350
movk w8, #16257, lsl #16
fmov s2, w8
fmul s1, s1, s2
ldr s2, [sp, #76]
ldr s3, [sp, #52]
fdiv s2, s2, s3
fmul s1, s1, s2
ldr s2, [sp, #76]
fmov s3, #1.00000000
fmsub s1, s1, s2, s3
fmul s0, s0, s1
str s0, [sp, #92]
ldr s0, [sp, #96]
ldr s1, [sp, #92]
fcmp s0, s1
cset w8, lt
tbnz w8, #0, LBB0_113
b LBB0_112
LBB0_112:
ldr s0, [sp, #96]
str s0, [sp, #12] ; 4-byte Folded Spill
b LBB0_114
LBB0_113:
ldr s0, [sp, #92]
str s0, [sp, #12] ; 4-byte Folded Spill
b LBB0_114
LBB0_114:
ldr s0, [sp, #12] ; 4-byte Folded Reload
str s0, [sp, #88]
b LBB0_119
LBB0_115:
ldr s0, [sp, #88]
str s0, [sp, #96]
ldr s0, [sp, #84]
ldr s1, [sp, #76]
mov w8, #18350
movk w8, #16257, lsl #16
fmov s2, w8
fmov s3, #1.00000000
fmsub s1, s1, s2, s3
fmul s0, s0, s1
str s0, [sp, #92]
ldr s0, [sp, #96]
ldr s1, [sp, #92]
fcmp s0, s1
cset w8, lt
tbnz w8, #0, LBB0_117
b LBB0_116
LBB0_116:
ldr s0, [sp, #96]
str s0, [sp, #8] ; 4-byte Folded Spill
b LBB0_118
LBB0_117:
ldr s0, [sp, #92]
str s0, [sp, #8] ; 4-byte Folded Spill
b LBB0_118
LBB0_118:
ldr s0, [sp, #8] ; 4-byte Folded Reload
str s0, [sp, #88]
ldr x9, [sp, #112]
mov w8, #-8
str w8, [x9]
b LBB0_119
LBB0_119:
b LBB0_123
LBB0_120:
ldr x8, [sp, #160]
ldr s0, [x8]
fmov s1, #0.25000000
fmul s0, s0, s1
str s0, [sp, #88]
ldr x8, [sp, #160]
ldr s0, [x8]
ldr x8, [sp, #136]
ldr s1, [x8]
fcmp s0, s1
cset w8, ne
tbnz w8, #0, LBB0_122
b LBB0_121
LBB0_121:
ldr x8, [sp, #160]
ldr s0, [x8]
fmov s1, #0.50000000
fmul s0, s0, s1
str s0, [sp, #88]
b LBB0_122
LBB0_122:
ldr x9, [sp, #112]
mov w8, #-9
str w8, [x9]
b LBB0_123
LBB0_123:
b LBB0_157
LBB0_124:
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr x8, [sp, #176]
ldr w8, [x8]
ldr x9, [x9, #16]
ldr w9, [x9]
add w9, w9, #2
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_153
b LBB0_125
LBB0_125:
ldr x8, [sp, #152]
ldr s0, [x8]
ldr x8, [sp, #128]
ldr s1, [x8]
fcmp s0, s1
cset w8, ne
tbnz w8, #0, LBB0_151
b LBB0_126
LBB0_126:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x9, [x8, #8]
ldr w10, [sp, #68]
subs w10, w10, #5
ldr s0, [x9, w10, sxtw #2]
fmov s1, #2.00000000
fmul s0, s0, s1
ldr x8, [x8, #8]
ldr w9, [sp, #68]
subs w9, w9, #7
ldr s1, [x8, w9, sxtw #2]
fcmp s0, s1
cset w8, pl
tbnz w8, #0, LBB0_151
b LBB0_127
LBB0_127:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x10, [sp, #112]
mov w9, #-10
str w9, [x10]
ldr x9, [sp, #152]
ldr s0, [x9]
mov w9, #32506
movk w9, #16042, lsl #16
fmov s1, w9
fmul s0, s0, s1
str s0, [sp, #88]
ldr x9, [x8, #8]
ldr w10, [sp, #68]
subs w10, w10, #5
ldr s0, [x9, w10, sxtw #2]
ldr x8, [x8, #8]
ldr w9, [sp, #68]
subs w9, w9, #7
ldr s1, [x8, w9, sxtw #2]
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB0_129
b LBB0_128
LBB0_128:
str wzr, [sp, #220]
b LBB0_159
LBB0_129:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x9, [x8, #8]
ldr w10, [sp, #68]
subs w10, w10, #5
ldr s0, [x9, w10, sxtw #2]
ldr x8, [x8, #8]
ldr w9, [sp, #68]
subs w9, w9, #7
ldr s1, [x8, w9, sxtw #2]
fdiv s0, s0, s1
str s0, [sp, #80]
ldr s0, [sp, #80]
str s0, [sp, #76]
ldr s0, [sp, #76]
fcmp s0, #0.0
cset w8, ne
tbnz w8, #0, LBB0_131
b LBB0_130
LBB0_130:
b LBB0_140
LBB0_131:
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x9, #24]
ldr w8, [x8]
lsl w8, w8, #2
subs w8, w8, #1
ldr x10, [x9]
ldr w10, [x10]
add w8, w8, w10
str w8, [sp, #100]
ldr x8, [x9, #16]
ldr w8, [x8]
lsl w8, w8, #2
subs w8, w8, #9
ldr x9, [x9]
ldr w9, [x9]
add w8, w8, w9
str w8, [sp, #72]
b LBB0_132
LBB0_132: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #72]
ldr w9, [sp, #100]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_139
b LBB0_133
LBB0_133: ; in Loop: Header=BB0_132 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x9, [x8, #8]
ldrsw x10, [sp, #72]
ldr s0, [x9, x10, lsl #2]
ldr x8, [x8, #8]
ldr w9, [sp, #72]
subs w9, w9, #2
ldr s1, [x8, w9, sxtw #2]
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB0_135
b LBB0_134
LBB0_134:
str wzr, [sp, #220]
b LBB0_159
LBB0_135: ; in Loop: Header=BB0_132 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x9, [x8, #8]
ldrsw x10, [sp, #72]
ldr s0, [x9, x10, lsl #2]
ldr x8, [x8, #8]
ldr w9, [sp, #72]
subs w9, w9, #2
ldr s1, [x8, w9, sxtw #2]
fdiv s1, s0, s1
ldr s0, [sp, #80]
fmul s0, s0, s1
str s0, [sp, #80]
ldr s1, [sp, #80]
ldr s0, [sp, #76]
fadd s0, s0, s1
str s0, [sp, #76]
ldr s0, [sp, #80]
mov w8, #1120403456
fmov s1, w8
fmul s0, s0, s1
ldr s1, [sp, #76]
fcmp s0, s1
cset w8, pl
tbnz w8, #0, LBB0_137
b LBB0_136
LBB0_136:
b LBB0_140
LBB0_137: ; in Loop: Header=BB0_132 Depth=1
b LBB0_138
LBB0_138: ; in Loop: Header=BB0_132 Depth=1
ldr w8, [sp, #72]
subs w8, w8, #4
str w8, [sp, #72]
b LBB0_132
LBB0_139:
b LBB0_140
LBB0_140:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr s0, [sp, #76]
mov w9, #26214
movk w9, #16262, lsl #16
fmov s1, w9
fmul s0, s0, s1
fcvt d0, s0
fsqrt d0, d0
fcvt s0, d0
str s0, [sp, #76]
ldr s0, [sp, #76]
str s0, [sp, #96]
ldr x9, [sp, #152]
ldr s0, [x9]
ldr s1, [sp, #96]
ldr s2, [sp, #96]
fmov s3, #1.00000000
fmadd s1, s1, s2, s3
fdiv s0, s0, s1
str s0, [sp, #84]
ldr x9, [x8, #8]
ldr w10, [sp, #68]
subs w10, w10, #7
ldr s0, [x9, w10, sxtw #2]
ldr x9, [x8, #8]
ldr w10, [sp, #68]
subs w10, w10, #9
ldr s1, [x9, w10, sxtw #2]
fadd s0, s0, s1
fcvt d2, s0
ldr x9, [x8, #8]
ldr w10, [sp, #68]
subs w10, w10, #11
ldr s0, [x9, w10, sxtw #2]
fcvt d0, s0
fsqrt d0, d0
ldr x8, [x8, #8]
ldr w9, [sp, #68]
subs w9, w9, #9
ldr s1, [x8, w9, sxtw #2]
fcvt d1, s1
fsqrt d1, d1
fmsub d0, d0, d1, d2
ldr s1, [sp, #84]
fcvt d1, s1
fsub d0, d0, d1
fcvt s0, d0
str s0, [sp, #52]
ldr s0, [sp, #52]
fcmp s0, #0.0
cset w8, le
tbnz w8, #0, LBB0_146
b LBB0_141
LBB0_141:
ldr s0, [sp, #52]
ldr s1, [sp, #76]
ldr s2, [sp, #84]
fmul s1, s1, s2
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB0_146
b LBB0_142
LBB0_142:
ldr s0, [sp, #88]
str s0, [sp, #96]
ldr s0, [sp, #84]
ldr s1, [sp, #84]
mov w8, #18350
movk w8, #16257, lsl #16
fmov s2, w8
fmul s1, s1, s2
ldr s2, [sp, #76]
ldr s3, [sp, #52]
fdiv s2, s2, s3
fmul s1, s1, s2
ldr s2, [sp, #76]
fmov s3, #1.00000000
fmsub s1, s1, s2, s3
fmul s0, s0, s1
str s0, [sp, #92]
ldr s0, [sp, #96]
ldr s1, [sp, #92]
fcmp s0, s1
cset w8, lt
tbnz w8, #0, LBB0_144
b LBB0_143
LBB0_143:
ldr s0, [sp, #96]
str s0, [sp, #4] ; 4-byte Folded Spill
b LBB0_145
LBB0_144:
ldr s0, [sp, #92]
str s0, [sp, #4] ; 4-byte Folded Spill
b LBB0_145
LBB0_145:
ldr s0, [sp, #4] ; 4-byte Folded Reload
str s0, [sp, #88]
b LBB0_150
LBB0_146:
ldr s0, [sp, #88]
str s0, [sp, #96]
ldr s0, [sp, #84]
ldr s1, [sp, #76]
mov w8, #18350
movk w8, #16257, lsl #16
fmov s2, w8
fmov s3, #1.00000000
fmsub s1, s1, s2, s3
fmul s0, s0, s1
str s0, [sp, #92]
ldr s0, [sp, #96]
ldr s1, [sp, #92]
fcmp s0, s1
cset w8, lt
tbnz w8, #0, LBB0_148
b LBB0_147
LBB0_147:
ldr s0, [sp, #96]
str s0, [sp] ; 4-byte Folded Spill
b LBB0_149
LBB0_148:
ldr s0, [sp, #92]
str s0, [sp] ; 4-byte Folded Spill
b LBB0_149
LBB0_149:
ldr s0, [sp] ; 4-byte Folded Reload
str s0, [sp, #88]
b LBB0_150
LBB0_150:
b LBB0_152
LBB0_151:
ldr x8, [sp, #152]
ldr s0, [x8]
fmov s1, #0.25000000
fmul s0, s0, s1
str s0, [sp, #88]
ldr x9, [sp, #112]
mov w8, #-11
str w8, [x9]
b LBB0_152
LBB0_152:
b LBB0_156
LBB0_153:
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr x8, [sp, #176]
ldr w8, [x8]
ldr x9, [x9, #16]
ldr w9, [x9]
add w9, w9, #2
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_155
b LBB0_154
LBB0_154:
movi d0, #0000000000000000
str s0, [sp, #88]
ldr x9, [sp, #112]
mov w8, #-12
str w8, [x9]
b LBB0_155
LBB0_155:
b LBB0_156
LBB0_156:
b LBB0_157
LBB0_157:
b LBB0_158
LBB0_158:
ldr s0, [sp, #88]
ldr x8, [sp, #120]
str s0, [x8]
str wzr, [sp, #220]
b LBB0_159
LBB0_159:
ldr w0, [sp, #220]
add sp, sp, #224
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function slasq4_
LCPI0_0:
.long 0x40000000 ## float 2
LCPI0_1:
.long 0x3e800000 ## float 0.25
LCPI0_2:
.long 0x3eaa7efa ## float 0.333000004
LCPI0_3:
.long 0x42c80000 ## float 100
LCPI0_4:
.long 0x3f800000 ## float 1
LCPI0_5:
.long 0x3f866666 ## float 1.04999995
LCPI0_6:
.long 0x3f8147ae ## float 1.00999999
LCPI0_7:
.long 0x3f000000 ## float 0.5
LCPI0_8:
.long 0x3daa7efa ## float 0.0832500011
LCPI0_9:
.long 0x3f1020c5 ## float 0.563000023
.section __TEXT,__literal8,8byte_literals
.p2align 3
LCPI0_10:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _slasq4_
.p2align 4, 0x90
_slasq4_: ## @slasq4_
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $24, %rsp
movq 72(%rbp), %rax
movq 64(%rbp), %rax
movq 56(%rbp), %rax
movq 48(%rbp), %rax
movq 40(%rbp), %rax
movq 32(%rbp), %rax
movq 24(%rbp), %rax
movq 16(%rbp), %rax
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movq %rcx, -40(%rbp)
movq %r8, -48(%rbp)
movq %r9, -56(%rbp)
movq -32(%rbp), %rax
addq $-4, %rax
movq %rax, -32(%rbp)
movq -56(%rbp), %rax
xorps %xmm0, %xmm0
ucomiss (%rax), %xmm0
jb LBB0_2
## %bb.1:
movq -56(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movd %xmm0, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm0
movq 56(%rbp), %rax
movss %xmm0, (%rax)
movq 64(%rbp), %rax
movl $-1, (%rax)
movl $0, -4(%rbp)
jmp LBB0_159
LBB0_2:
movq -24(%rbp), %rax
movl (%rax), %eax
shll $2, %eax
movq -40(%rbp), %rcx
addl (%rcx), %eax
movl %eax, -92(%rbp)
movq -48(%rbp), %rax
movl (%rax), %eax
movq -24(%rbp), %rcx
cmpl (%rcx), %eax
jne LBB0_90
## %bb.3:
movq -56(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq 32(%rbp), %rax
ucomiss (%rax), %xmm0
jne LBB0_4
jp LBB0_4
jmp LBB0_5
LBB0_4:
movq -56(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq 40(%rbp), %rax
ucomiss (%rax), %xmm0
jne LBB0_57
jp LBB0_57
LBB0_5:
movq -32(%rbp), %rax
movl -92(%rbp), %ecx
subl $3, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
sqrtsd %xmm0, %xmm0
movq -32(%rbp), %rax
movl -92(%rbp), %ecx
subl $5, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
cvtss2sd %xmm1, %xmm1
sqrtsd %xmm1, %xmm1
mulsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -80(%rbp)
movq -32(%rbp), %rax
movl -92(%rbp), %ecx
subl $7, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
sqrtsd %xmm0, %xmm0
movq -32(%rbp), %rax
movl -92(%rbp), %ecx
subl $9, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
cvtss2sd %xmm1, %xmm1
sqrtsd %xmm1, %xmm1
mulsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -84(%rbp)
movq -32(%rbp), %rax
movl -92(%rbp), %ecx
subl $7, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movl -92(%rbp), %ecx
subl $5, %ecx
movslq %ecx, %rcx
addss (%rax,%rcx,4), %xmm0
movss %xmm0, -76(%rbp)
movq -56(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq 32(%rbp), %rax
ucomiss (%rax), %xmm0
jne LBB0_29
jp LBB0_29
## %bb.6:
movq 16(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq 40(%rbp), %rax
ucomiss (%rax), %xmm0
jne LBB0_29
jp LBB0_29
## %bb.7:
movq 24(%rbp), %rax
movss (%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
subss -76(%rbp), %xmm1
movq 24(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movd %xmm0, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm0
movss LCPI0_1(%rip), %xmm2 ## xmm2 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -108(%rbp)
movss -108(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jbe LBB0_10
## %bb.8:
movss -108(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -84(%rbp), %xmm0
jbe LBB0_10
## %bb.9:
movss -76(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq 32(%rbp), %rax
subss (%rax), %xmm1
movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
divss -108(%rbp), %xmm0
movss -84(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movd %xmm0, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm0
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -104(%rbp)
jmp LBB0_11
LBB0_10:
movss -76(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq 32(%rbp), %rax
subss (%rax), %xmm0
movss -80(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
addss -84(%rbp), %xmm1
subss %xmm1, %xmm0
movss %xmm0, -104(%rbp)
LBB0_11:
movss -104(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jbe LBB0_17
## %bb.12:
movss -104(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -80(%rbp), %xmm0
jbe LBB0_17
## %bb.13:
movq 32(%rbp), %rax
movss (%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
divss -104(%rbp), %xmm0
movss -80(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movd %xmm0, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm0
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -64(%rbp)
movq -56(%rbp), %rax
movss LCPI0_7(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss (%rax), %xmm0
movss %xmm0, -68(%rbp)
movss -64(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -68(%rbp), %xmm0
jb LBB0_15
## %bb.14:
movss -64(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -112(%rbp) ## 4-byte Spill
jmp LBB0_16
LBB0_15:
movss -68(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -112(%rbp) ## 4-byte Spill
LBB0_16:
movss -112(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -72(%rbp)
movq 64(%rbp), %rax
movl $-2, (%rax)
jmp LBB0_28
LBB0_17:
xorps %xmm0, %xmm0
movss %xmm0, -72(%rbp)
movq 32(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -80(%rbp), %xmm0
jbe LBB0_19
## %bb.18:
movq 32(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
subss -80(%rbp), %xmm0
movss %xmm0, -72(%rbp)
LBB0_19:
movss -76(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -80(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
addss -84(%rbp), %xmm1
ucomiss %xmm1, %xmm0
jbe LBB0_24
## %bb.20:
movss -72(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -64(%rbp)
movss -76(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -80(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
addss -84(%rbp), %xmm1
subss %xmm1, %xmm0
movss %xmm0, -68(%rbp)
movss -64(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -68(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jb LBB0_22
## %bb.21:
movss -64(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -116(%rbp) ## 4-byte Spill
jmp LBB0_23
LBB0_22:
movss -68(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -116(%rbp) ## 4-byte Spill
LBB0_23:
movss -116(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -72(%rbp)
LBB0_24:
movss -72(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -64(%rbp)
movq -56(%rbp), %rax
movss LCPI0_2(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss (%rax), %xmm0
movss %xmm0, -68(%rbp)
movss -64(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -68(%rbp), %xmm0
jb LBB0_26
## %bb.25:
movss -64(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -120(%rbp) ## 4-byte Spill
jmp LBB0_27
LBB0_26:
movss -68(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -120(%rbp) ## 4-byte Spill
LBB0_27:
movss -120(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -72(%rbp)
movq 64(%rbp), %rax
movl $-3, (%rax)
LBB0_28:
jmp LBB0_56
LBB0_29:
movq 64(%rbp), %rax
movl $-4, (%rax)
movq -56(%rbp), %rax
movss LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss (%rax), %xmm0
movss %xmm0, -72(%rbp)
movq -56(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq 32(%rbp), %rax
ucomiss (%rax), %xmm0
jne LBB0_33
jp LBB0_33
## %bb.30:
movq 32(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -100(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -76(%rbp)
movq -32(%rbp), %rax
movl -92(%rbp), %ecx
subl $5, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movl -92(%rbp), %ecx
subl $7, %ecx
movslq %ecx, %rcx
ucomiss (%rax,%rcx,4), %xmm0
jbe LBB0_32
## %bb.31:
movl $0, -4(%rbp)
jmp LBB0_159
LBB0_32:
movq -32(%rbp), %rax
movl -92(%rbp), %ecx
subl $5, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movl -92(%rbp), %ecx
subl $7, %ecx
movslq %ecx, %rcx
divss (%rax,%rcx,4), %xmm0
movss %xmm0, -84(%rbp)
movl -92(%rbp), %eax
subl $9, %eax
movl %eax, -96(%rbp)
jmp LBB0_38
LBB0_33:
movl -92(%rbp), %eax
movq -40(%rbp), %rcx
movl (%rcx), %ecx
shll $1, %ecx
subl %ecx, %eax
movl %eax, -96(%rbp)
movq 40(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -100(%rbp)
movq -32(%rbp), %rax
movl -96(%rbp), %ecx
subl $4, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movl -96(%rbp), %ecx
subl $2, %ecx
movslq %ecx, %rcx
ucomiss (%rax,%rcx,4), %xmm0
jbe LBB0_35
## %bb.34:
movl $0, -4(%rbp)
jmp LBB0_159
LBB0_35:
movq -32(%rbp), %rax
movl -96(%rbp), %ecx
subl $4, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movl -96(%rbp), %ecx
subl $2, %ecx
movslq %ecx, %rcx
divss (%rax,%rcx,4), %xmm0
movss %xmm0, -76(%rbp)
movq -32(%rbp), %rax
movl -92(%rbp), %ecx
subl $9, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movl -92(%rbp), %ecx
subl $11, %ecx
movslq %ecx, %rcx
ucomiss (%rax,%rcx,4), %xmm0
jbe LBB0_37
## %bb.36:
movl $0, -4(%rbp)
jmp LBB0_159
LBB0_37:
movq -32(%rbp), %rax
movl -92(%rbp), %ecx
subl $9, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movl -92(%rbp), %ecx
subl $11, %ecx
movslq %ecx, %rcx
divss (%rax,%rcx,4), %xmm0
movss %xmm0, -84(%rbp)
movl -92(%rbp), %eax
subl $13, %eax
movl %eax, -96(%rbp)
LBB0_38:
movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -76(%rbp), %xmm0
movss %xmm0, -76(%rbp)
movq -16(%rbp), %rax
movl (%rax), %eax
shll $2, %eax
subl $1, %eax
movq -40(%rbp), %rcx
addl (%rcx), %eax
movl %eax, -60(%rbp)
movl -96(%rbp), %eax
movl %eax, -88(%rbp)
LBB0_39: ## =>This Inner Loop Header: Depth=1
movl -88(%rbp), %eax
cmpl -60(%rbp), %eax
jl LBB0_52
## %bb.40: ## in Loop: Header=BB0_39 Depth=1
movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne LBB0_42
jp LBB0_42
## %bb.41:
jmp LBB0_53
LBB0_42: ## in Loop: Header=BB0_39 Depth=1
movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -80(%rbp)
movq -32(%rbp), %rax
movslq -88(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movl -88(%rbp), %ecx
subl $2, %ecx
movslq %ecx, %rcx
ucomiss (%rax,%rcx,4), %xmm0
jbe LBB0_44
## %bb.43:
movl $0, -4(%rbp)
jmp LBB0_159
LBB0_44: ## in Loop: Header=BB0_39 Depth=1
movq -32(%rbp), %rax
movslq -88(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movl -88(%rbp), %ecx
subl $2, %ecx
movslq %ecx, %rcx
divss (%rax,%rcx,4), %xmm0
mulss -84(%rbp), %xmm0
movss %xmm0, -84(%rbp)
movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -76(%rbp), %xmm0
movss %xmm0, -76(%rbp)
movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -80(%rbp), %xmm0
jb LBB0_46
## %bb.45: ## in Loop: Header=BB0_39 Depth=1
movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -124(%rbp) ## 4-byte Spill
jmp LBB0_47
LBB0_46: ## in Loop: Header=BB0_39 Depth=1
movss -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -124(%rbp) ## 4-byte Spill
LBB0_47: ## in Loop: Header=BB0_39 Depth=1
movss -124(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
movss LCPI0_3(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss %xmm0, %xmm1
movss -76(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
ja LBB0_49
## %bb.48: ## in Loop: Header=BB0_39 Depth=1
movss -76(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI0_9(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB0_50
LBB0_49:
jmp LBB0_53
LBB0_50: ## in Loop: Header=BB0_39 Depth=1
jmp LBB0_51
LBB0_51: ## in Loop: Header=BB0_39 Depth=1
movl -88(%rbp), %eax
addl $-4, %eax
movl %eax, -88(%rbp)
jmp LBB0_39
LBB0_52:
jmp LBB0_53
LBB0_53:
movss LCPI0_5(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -76(%rbp), %xmm0
movss %xmm0, -76(%rbp)
movss LCPI0_9(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -76(%rbp), %xmm0
jbe LBB0_55
## %bb.54:
movss -100(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movss -76(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
cvtss2sd %xmm1, %xmm1
sqrtsd %xmm1, %xmm2
movsd LCPI0_10(%rip), %xmm1 ## xmm1 = mem[0],zero
subsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movss LCPI0_4(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
addss -76(%rbp), %xmm1
cvtss2sd %xmm1, %xmm1
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -72(%rbp)
LBB0_55:
jmp LBB0_56
LBB0_56:
jmp LBB0_89
LBB0_57:
movq -56(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq 48(%rbp), %rax
ucomiss (%rax), %xmm0
jne LBB0_81
jp LBB0_81
## %bb.58:
movq 64(%rbp), %rax
movl $-5, (%rax)
movq -56(%rbp), %rax
movss LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss (%rax), %xmm0
movss %xmm0, -72(%rbp)
movl -92(%rbp), %eax
movq -40(%rbp), %rcx
movl (%rcx), %ecx
shll $1, %ecx
subl %ecx, %eax
movl %eax, -96(%rbp)
movq -32(%rbp), %rax
movl -96(%rbp), %ecx
subl $2, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -80(%rbp)
movq -32(%rbp), %rax
movl -96(%rbp), %ecx
subl $6, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -84(%rbp)
movq 48(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -100(%rbp)
movq -32(%rbp), %rax
movl -96(%rbp), %ecx
subl $8, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -84(%rbp), %xmm0
ja LBB0_60
## %bb.59:
movq -32(%rbp), %rax
movl -96(%rbp), %ecx
subl $4, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -80(%rbp), %xmm0
jbe LBB0_61
LBB0_60:
movl $0, -4(%rbp)
jmp LBB0_159
LBB0_61:
movq -32(%rbp), %rax
movl -96(%rbp), %ecx
subl $8, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
divss -84(%rbp), %xmm0
movq -32(%rbp), %rax
movl -96(%rbp), %ecx
subl $4, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss -80(%rbp), %xmm1
movss LCPI0_4(%rip), %xmm2 ## xmm2 = mem[0],zero,zero,zero
addss %xmm2, %xmm1
mulss %xmm1, %xmm0
movss %xmm0, -76(%rbp)
movq -24(%rbp), %rax
movl (%rax), %eax
movq -16(%rbp), %rcx
subl (%rcx), %eax
cmpl $2, %eax
jle LBB0_78
## %bb.62:
movq -32(%rbp), %rax
movl -92(%rbp), %ecx
subl $13, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movl -92(%rbp), %ecx
subl $15, %ecx
movslq %ecx, %rcx
divss (%rax,%rcx,4), %xmm0
movss %xmm0, -84(%rbp)
movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -76(%rbp), %xmm0
movss %xmm0, -76(%rbp)
movq -16(%rbp), %rax
movl (%rax), %eax
shll $2, %eax
subl $1, %eax
movq -40(%rbp), %rcx
addl (%rcx), %eax
movl %eax, -60(%rbp)
movl -92(%rbp), %eax
subl $17, %eax
movl %eax, -88(%rbp)
LBB0_63: ## =>This Inner Loop Header: Depth=1
movl -88(%rbp), %eax
cmpl -60(%rbp), %eax
jl LBB0_76
## %bb.64: ## in Loop: Header=BB0_63 Depth=1
movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne LBB0_66
jp LBB0_66
## %bb.65:
jmp LBB0_77
LBB0_66: ## in Loop: Header=BB0_63 Depth=1
movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -80(%rbp)
movq -32(%rbp), %rax
movslq -88(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movl -88(%rbp), %ecx
subl $2, %ecx
movslq %ecx, %rcx
ucomiss (%rax,%rcx,4), %xmm0
jbe LBB0_68
## %bb.67:
movl $0, -4(%rbp)
jmp LBB0_159
LBB0_68: ## in Loop: Header=BB0_63 Depth=1
movq -32(%rbp), %rax
movslq -88(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movl -88(%rbp), %ecx
subl $2, %ecx
movslq %ecx, %rcx
divss (%rax,%rcx,4), %xmm0
mulss -84(%rbp), %xmm0
movss %xmm0, -84(%rbp)
movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -76(%rbp), %xmm0
movss %xmm0, -76(%rbp)
movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -80(%rbp), %xmm0
jb LBB0_70
## %bb.69: ## in Loop: Header=BB0_63 Depth=1
movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -128(%rbp) ## 4-byte Spill
jmp LBB0_71
LBB0_70: ## in Loop: Header=BB0_63 Depth=1
movss -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -128(%rbp) ## 4-byte Spill
LBB0_71: ## in Loop: Header=BB0_63 Depth=1
movss -128(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
movss LCPI0_3(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss %xmm0, %xmm1
movss -76(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
ja LBB0_73
## %bb.72: ## in Loop: Header=BB0_63 Depth=1
movss -76(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI0_9(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB0_74
LBB0_73:
jmp LBB0_77
LBB0_74: ## in Loop: Header=BB0_63 Depth=1
jmp LBB0_75
LBB0_75: ## in Loop: Header=BB0_63 Depth=1
movl -88(%rbp), %eax
addl $-4, %eax
movl %eax, -88(%rbp)
jmp LBB0_63
LBB0_76:
jmp LBB0_77
LBB0_77:
movss LCPI0_5(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -76(%rbp), %xmm0
movss %xmm0, -76(%rbp)
LBB0_78:
movss LCPI0_9(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -76(%rbp), %xmm0
jbe LBB0_80
## %bb.79:
movss -100(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movss -76(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
cvtss2sd %xmm1, %xmm1
sqrtsd %xmm1, %xmm2
movsd LCPI0_10(%rip), %xmm1 ## xmm1 = mem[0],zero
subsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movss LCPI0_4(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
addss -76(%rbp), %xmm1
cvtss2sd %xmm1, %xmm1
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -72(%rbp)
LBB0_80:
jmp LBB0_88
LBB0_81:
movq 64(%rbp), %rax
cmpl $-6, (%rax)
jne LBB0_83
## %bb.82:
movq 72(%rbp), %rax
movss LCPI0_4(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
subss (%rax), %xmm0
movq 72(%rbp), %rax
movss (%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss LCPI0_2(%rip), %xmm2 ## xmm2 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, (%rax)
jmp LBB0_87
LBB0_83:
movq 64(%rbp), %rax
cmpl $-18, (%rax)
jne LBB0_85
## %bb.84:
movq 72(%rbp), %rax
movss LCPI0_8(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, (%rax)
jmp LBB0_86
LBB0_85:
movq 72(%rbp), %rax
movss LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, (%rax)
LBB0_86:
jmp LBB0_87
LBB0_87:
movq 72(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -56(%rbp), %rax
mulss (%rax), %xmm0
movss %xmm0, -72(%rbp)
movq 64(%rbp), %rax
movl $-6, (%rax)
LBB0_88:
jmp LBB0_89
LBB0_89:
jmp LBB0_158
LBB0_90:
movq -48(%rbp), %rax
movl (%rax), %eax
movq -24(%rbp), %rcx
movl (%rcx), %ecx
addl $1, %ecx
cmpl %ecx, %eax
jne LBB0_124
## %bb.91:
movq 16(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq 40(%rbp), %rax
ucomiss (%rax), %xmm0
jne LBB0_120
jp LBB0_120
## %bb.92:
movq 24(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq 48(%rbp), %rax
ucomiss (%rax), %xmm0
jne LBB0_120
jp LBB0_120
## %bb.93:
movq 64(%rbp), %rax
movl $-7, (%rax)
movq 16(%rbp), %rax
movss LCPI0_2(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss (%rax), %xmm0
movss %xmm0, -72(%rbp)
movq -32(%rbp), %rax
movl -92(%rbp), %ecx
subl $5, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movl -92(%rbp), %ecx
subl $7, %ecx
movslq %ecx, %rcx
ucomiss (%rax,%rcx,4), %xmm0
jbe LBB0_95
## %bb.94:
movl $0, -4(%rbp)
jmp LBB0_159
LBB0_95:
movq -32(%rbp), %rax
movl -92(%rbp), %ecx
subl $5, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movl -92(%rbp), %ecx
subl $7, %ecx
movslq %ecx, %rcx
divss (%rax,%rcx,4), %xmm0
movss %xmm0, -80(%rbp)
movss -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -84(%rbp)
movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne LBB0_97
jp LBB0_97
## %bb.96:
jmp LBB0_109
LBB0_97:
movq -16(%rbp), %rax
movl (%rax), %eax
shll $2, %eax
subl $1, %eax
movq -40(%rbp), %rcx
addl (%rcx), %eax
movl %eax, -60(%rbp)
movq -24(%rbp), %rax
movl (%rax), %eax
shll $2, %eax
subl $9, %eax
movq -40(%rbp), %rcx
addl (%rcx), %eax
movl %eax, -88(%rbp)
LBB0_98: ## =>This Inner Loop Header: Depth=1
movl -88(%rbp), %eax
cmpl -60(%rbp), %eax
jl LBB0_108
## %bb.99: ## in Loop: Header=BB0_98 Depth=1
movss -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -76(%rbp)
movq -32(%rbp), %rax
movslq -88(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movl -88(%rbp), %ecx
subl $2, %ecx
movslq %ecx, %rcx
ucomiss (%rax,%rcx,4), %xmm0
jbe LBB0_101
## %bb.100:
movl $0, -4(%rbp)
jmp LBB0_159
LBB0_101: ## in Loop: Header=BB0_98 Depth=1
movq -32(%rbp), %rax
movslq -88(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movl -88(%rbp), %ecx
subl $2, %ecx
movslq %ecx, %rcx
divss (%rax,%rcx,4), %xmm0
mulss -80(%rbp), %xmm0
movss %xmm0, -80(%rbp)
movss -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -84(%rbp), %xmm0
movss %xmm0, -84(%rbp)
movss -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -76(%rbp), %xmm0
jb LBB0_103
## %bb.102: ## in Loop: Header=BB0_98 Depth=1
movss -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -132(%rbp) ## 4-byte Spill
jmp LBB0_104
LBB0_103: ## in Loop: Header=BB0_98 Depth=1
movss -76(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -132(%rbp) ## 4-byte Spill
LBB0_104: ## in Loop: Header=BB0_98 Depth=1
movss -132(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
movss LCPI0_3(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss %xmm0, %xmm1
movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB0_106
## %bb.105:
jmp LBB0_109
LBB0_106: ## in Loop: Header=BB0_98 Depth=1
jmp LBB0_107
LBB0_107: ## in Loop: Header=BB0_98 Depth=1
movl -88(%rbp), %eax
addl $-4, %eax
movl %eax, -88(%rbp)
jmp LBB0_98
LBB0_108:
jmp LBB0_109
LBB0_109:
movss LCPI0_5(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -84(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
sqrtsd %xmm0, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -84(%rbp)
movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -64(%rbp)
movq 16(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -64(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -64(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
mulss %xmm2, %xmm1
movss LCPI0_4(%rip), %xmm2 ## xmm2 = mem[0],zero,zero,zero
addss %xmm2, %xmm1
divss %xmm1, %xmm0
movss %xmm0, -76(%rbp)
movq 24(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -76(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
movss LCPI0_7(%rip), %xmm2 ## xmm2 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -108(%rbp)
movss -108(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jbe LBB0_115
## %bb.110:
movss -108(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -84(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss -76(%rbp), %xmm1
ucomiss %xmm1, %xmm0
jbe LBB0_115
## %bb.111:
movss -72(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -64(%rbp)
movss -76(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI0_6(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss -76(%rbp), %xmm1
movss -84(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
divss -108(%rbp), %xmm2
mulss %xmm2, %xmm1
movss -84(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm1
movss LCPI0_4(%rip), %xmm2 ## xmm2 = mem[0],zero,zero,zero
addss %xmm2, %xmm1
mulss %xmm1, %xmm0
movss %xmm0, -68(%rbp)
movss -64(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -68(%rbp), %xmm0
jb LBB0_113
## %bb.112:
movss -64(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -136(%rbp) ## 4-byte Spill
jmp LBB0_114
LBB0_113:
movss -68(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -136(%rbp) ## 4-byte Spill
LBB0_114:
movss -136(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -72(%rbp)
jmp LBB0_119
LBB0_115:
movss -72(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -64(%rbp)
movss -76(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -84(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
movss LCPI0_6(%rip), %xmm2 ## xmm2 = mem[0],zero,zero,zero
mulss %xmm2, %xmm1
movss LCPI0_4(%rip), %xmm2 ## xmm2 = mem[0],zero,zero,zero
addss %xmm2, %xmm1
mulss %xmm1, %xmm0
movss %xmm0, -68(%rbp)
movss -64(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -68(%rbp), %xmm0
jb LBB0_117
## %bb.116:
movss -64(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -140(%rbp) ## 4-byte Spill
jmp LBB0_118
LBB0_117:
movss -68(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -140(%rbp) ## 4-byte Spill
LBB0_118:
movss -140(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -72(%rbp)
movq 64(%rbp), %rax
movl $-8, (%rax)
LBB0_119:
jmp LBB0_123
LBB0_120:
movq 16(%rbp), %rax
movss LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss (%rax), %xmm0
movss %xmm0, -72(%rbp)
movq 16(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq 40(%rbp), %rax
ucomiss (%rax), %xmm0
jne LBB0_122
jp LBB0_122
## %bb.121:
movq 16(%rbp), %rax
movss LCPI0_7(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss (%rax), %xmm0
movss %xmm0, -72(%rbp)
LBB0_122:
movq 64(%rbp), %rax
movl $-9, (%rax)
LBB0_123:
jmp LBB0_157
LBB0_124:
movq -48(%rbp), %rax
movl (%rax), %eax
movq -24(%rbp), %rcx
movl (%rcx), %ecx
addl $2, %ecx
cmpl %ecx, %eax
jne LBB0_153
## %bb.125:
movq 24(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq 48(%rbp), %rax
ucomiss (%rax), %xmm0
jne LBB0_151
jp LBB0_151
## %bb.126:
movq -32(%rbp), %rax
movl -92(%rbp), %ecx
subl $5, %ecx
movslq %ecx, %rcx
movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss (%rax,%rcx,4), %xmm1
movq -32(%rbp), %rax
movl -92(%rbp), %ecx
subl $7, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB0_151
## %bb.127:
movq 64(%rbp), %rax
movl $-10, (%rax)
movq 24(%rbp), %rax
movss LCPI0_2(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss (%rax), %xmm0
movss %xmm0, -72(%rbp)
movq -32(%rbp), %rax
movl -92(%rbp), %ecx
subl $5, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movl -92(%rbp), %ecx
subl $7, %ecx
movslq %ecx, %rcx
ucomiss (%rax,%rcx,4), %xmm0
jbe LBB0_129
## %bb.128:
movl $0, -4(%rbp)
jmp LBB0_159
LBB0_129:
movq -32(%rbp), %rax
movl -92(%rbp), %ecx
subl $5, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movl -92(%rbp), %ecx
subl $7, %ecx
movslq %ecx, %rcx
divss (%rax,%rcx,4), %xmm0
movss %xmm0, -80(%rbp)
movss -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -84(%rbp)
movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne LBB0_131
jp LBB0_131
## %bb.130:
jmp LBB0_140
LBB0_131:
movq -16(%rbp), %rax
movl (%rax), %eax
shll $2, %eax
subl $1, %eax
movq -40(%rbp), %rcx
addl (%rcx), %eax
movl %eax, -60(%rbp)
movq -24(%rbp), %rax
movl (%rax), %eax
shll $2, %eax
subl $9, %eax
movq -40(%rbp), %rcx
addl (%rcx), %eax
movl %eax, -88(%rbp)
LBB0_132: ## =>This Inner Loop Header: Depth=1
movl -88(%rbp), %eax
cmpl -60(%rbp), %eax
jl LBB0_139
## %bb.133: ## in Loop: Header=BB0_132 Depth=1
movq -32(%rbp), %rax
movslq -88(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movl -88(%rbp), %ecx
subl $2, %ecx
movslq %ecx, %rcx
ucomiss (%rax,%rcx,4), %xmm0
jbe LBB0_135
## %bb.134:
movl $0, -4(%rbp)
jmp LBB0_159
LBB0_135: ## in Loop: Header=BB0_132 Depth=1
movq -32(%rbp), %rax
movslq -88(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movl -88(%rbp), %ecx
subl $2, %ecx
movslq %ecx, %rcx
divss (%rax,%rcx,4), %xmm0
mulss -80(%rbp), %xmm0
movss %xmm0, -80(%rbp)
movss -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -84(%rbp), %xmm0
movss %xmm0, -84(%rbp)
movss LCPI0_3(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss -80(%rbp), %xmm1
movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB0_137
## %bb.136:
jmp LBB0_140
LBB0_137: ## in Loop: Header=BB0_132 Depth=1
jmp LBB0_138
LBB0_138: ## in Loop: Header=BB0_132 Depth=1
movl -88(%rbp), %eax
addl $-4, %eax
movl %eax, -88(%rbp)
jmp LBB0_132
LBB0_139:
jmp LBB0_140
LBB0_140:
movss LCPI0_5(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -84(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
sqrtsd %xmm0, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -84(%rbp)
movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -64(%rbp)
movq 24(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -64(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -64(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
mulss %xmm2, %xmm1
movss LCPI0_4(%rip), %xmm2 ## xmm2 = mem[0],zero,zero,zero
addss %xmm2, %xmm1
divss %xmm1, %xmm0
movss %xmm0, -76(%rbp)
movq -32(%rbp), %rax
movl -92(%rbp), %ecx
subl $7, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movl -92(%rbp), %ecx
subl $9, %ecx
movslq %ecx, %rcx
addss (%rax,%rcx,4), %xmm0
cvtss2sd %xmm0, %xmm1
movq -32(%rbp), %rax
movl -92(%rbp), %ecx
subl $11, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
sqrtsd %xmm0, %xmm0
movq -32(%rbp), %rax
movl -92(%rbp), %ecx
subl $9, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
cvtss2sd %xmm2, %xmm2
sqrtsd %xmm2, %xmm2
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movss -76(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
cvtss2sd %xmm1, %xmm1
subsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -108(%rbp)
movss -108(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jbe LBB0_146
## %bb.141:
movss -108(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -84(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss -76(%rbp), %xmm1
ucomiss %xmm1, %xmm0
jbe LBB0_146
## %bb.142:
movss -72(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -64(%rbp)
movss -76(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI0_6(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss -76(%rbp), %xmm1
movss -84(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
divss -108(%rbp), %xmm2
mulss %xmm2, %xmm1
movss -84(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
mulss %xmm2, %xmm1
movss LCPI0_4(%rip), %xmm2 ## xmm2 = mem[0],zero,zero,zero
addss %xmm2, %xmm1
mulss %xmm1, %xmm0
movss %xmm0, -68(%rbp)
movss -64(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -68(%rbp), %xmm0
jb LBB0_144
## %bb.143:
movss -64(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -144(%rbp) ## 4-byte Spill
jmp LBB0_145
LBB0_144:
movss -68(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -144(%rbp) ## 4-byte Spill
LBB0_145:
movss -144(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -72(%rbp)
jmp LBB0_150
LBB0_146:
movss -72(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -64(%rbp)
movss -76(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -84(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movd %xmm1, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm1
movss LCPI0_6(%rip), %xmm2 ## xmm2 = mem[0],zero,zero,zero
mulss %xmm2, %xmm1
movss LCPI0_4(%rip), %xmm2 ## xmm2 = mem[0],zero,zero,zero
addss %xmm2, %xmm1
mulss %xmm1, %xmm0
movss %xmm0, -68(%rbp)
movss -64(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -68(%rbp), %xmm0
jb LBB0_148
## %bb.147:
movss -64(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -148(%rbp) ## 4-byte Spill
jmp LBB0_149
LBB0_148:
movss -68(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -148(%rbp) ## 4-byte Spill
LBB0_149:
movss -148(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -72(%rbp)
LBB0_150:
jmp LBB0_152
LBB0_151:
movq 24(%rbp), %rax
movss LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss (%rax), %xmm0
movss %xmm0, -72(%rbp)
movq 64(%rbp), %rax
movl $-11, (%rax)
LBB0_152:
jmp LBB0_156
LBB0_153:
movq -48(%rbp), %rax
movl (%rax), %eax
movq -24(%rbp), %rcx
movl (%rcx), %ecx
addl $2, %ecx
cmpl %ecx, %eax
jle LBB0_155
## %bb.154:
xorps %xmm0, %xmm0
movss %xmm0, -72(%rbp)
movq 64(%rbp), %rax
movl $-12, (%rax)
LBB0_155:
jmp LBB0_156
LBB0_156:
jmp LBB0_157
LBB0_157:
jmp LBB0_158
LBB0_158:
movss -72(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq 56(%rbp), %rax
movss %xmm0, (%rax)
movl $0, -4(%rbp)
LBB0_159:
movl -4(%rbp), %eax
addq $24, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/11076384.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _isLower ; -- Begin function isLower
.p2align 2
_isLower: ; @isLower
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #8]
str w1, [sp, #4]
ldrsw x8, [sp, #8]
mov x9, #101
mul x9, x8, x9
adrp x8, _tiles@PAGE
add x8, x8, _tiles@PAGEOFF
add x8, x8, x9
ldrsw x9, [sp, #4]
add x8, x8, x9
ldrb w8, [x8]
strb w8, [sp, #3]
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldr w8, [sp, #8]
subs w8, w8, #1
adrp x10, _tiles@PAGE
add x10, x10, _tiles@PAGEOFF
mov w9, #101
smaddl x8, w8, w9, x10
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
ldrsb w9, [sp, #3]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
str wzr, [sp, #12]
b LBB0_13
LBB0_3:
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4:
ldrsw x8, [sp, #8]
mov x9, #101
mul x9, x8, x9
adrp x8, _tiles@PAGE
add x8, x8, _tiles@PAGEOFF
add x8, x8, x9
ldr w9, [sp, #4]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
ldrsb w9, [sp, #3]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
str wzr, [sp, #12]
b LBB0_13
LBB0_6:
ldr w8, [sp, #4]
subs w8, w8, #99
cset w8, ge
tbnz w8, #0, LBB0_9
b LBB0_7
LBB0_7:
ldrsw x8, [sp, #8]
mov x9, #101
mul x9, x8, x9
adrp x8, _tiles@PAGE
add x8, x8, _tiles@PAGEOFF
add x8, x8, x9
ldr w9, [sp, #4]
add w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
ldrsb w9, [sp, #3]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
str wzr, [sp, #12]
b LBB0_13
LBB0_9:
ldr w8, [sp, #8]
subs w8, w8, #99
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_10
LBB0_10:
ldr w8, [sp, #8]
add w8, w8, #1
adrp x10, _tiles@PAGE
add x10, x10, _tiles@PAGEOFF
mov w9, #101
smaddl x8, w8, w9, x10
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
ldrsb w9, [sp, #3]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
str wzr, [sp, #12]
b LBB0_13
LBB0_12:
mov w8, #1
str w8, [sp, #12]
b LBB0_13
LBB0_13:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _getBasin ; -- Begin function getBasin
.p2align 2
_getBasin: ; @getBasin
.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
stur w0, [x29, #-8]
stur w1, [x29, #-12]
str x2, [sp, #8]
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB1_4
b LBB1_1
LBB1_1:
ldur w8, [x29, #-12]
subs w8, w8, #100
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2:
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
ldur w8, [x29, #-8]
subs w8, w8, #100
cset w8, lt
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4:
stur wzr, [x29, #-4]
b LBB1_10
LBB1_5:
ldursw x8, [x29, #-8]
mov x9, #101
mul x9, x8, x9
adrp x8, _tiles@PAGE
add x8, x8, _tiles@PAGEOFF
add x8, x8, x9
ldursw x9, [x29, #-12]
ldrsb w8, [x8, x9]
subs w8, w8, #57
cset w8, ne
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6:
stur wzr, [x29, #-4]
b LBB1_10
LBB1_7:
ldr x8, [sp, #8]
ldursw x9, [x29, #-8]
mov x10, #400
mul x9, x9, x10
add x8, x8, x9
ldursw x9, [x29, #-12]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8:
stur wzr, [x29, #-4]
b LBB1_10
LBB1_9:
mov w8, #1
str w8, [sp, #4]
ldr x9, [sp, #8]
ldursw x10, [x29, #-8]
mov x11, #400
mul x10, x10, x11
add x9, x9, x10
ldursw x10, [x29, #-12]
str w8, [x9, x10, lsl #2]
ldur w8, [x29, #-8]
subs w0, w8, #1
ldur w1, [x29, #-12]
ldr x2, [sp, #8]
bl _getBasin
ldr w8, [sp, #4]
add w8, w8, w0
str w8, [sp, #4]
ldur w8, [x29, #-8]
add w0, w8, #1
ldur w1, [x29, #-12]
ldr x2, [sp, #8]
bl _getBasin
ldr w8, [sp, #4]
add w8, w8, w0
str w8, [sp, #4]
ldur w0, [x29, #-8]
ldur w8, [x29, #-12]
subs w1, w8, #1
ldr x2, [sp, #8]
bl _getBasin
ldr w8, [sp, #4]
add w8, w8, w0
str w8, [sp, #4]
ldur w0, [x29, #-8]
ldur w8, [x29, #-12]
add w1, w8, #1
ldr x2, [sp, #8]
bl _getBasin
ldr w8, [sp, #4]
add w8, w8, w0
str w8, [sp, #4]
ldr w8, [sp, #4]
stur w8, [x29, #-4]
b LBB1_10
LBB1_10:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [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 w27, -24
.cfi_offset w28, -32
mov w9, #40224
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #9, lsl #12 ; =36864
sub sp, sp, #3360
sub x8, x29, #136
str x8, [sp, #24] ; 8-byte Folded Spill
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #100]
str w0, [sp, #96]
str x1, [sp, #88]
ldr w8, [sp, #96]
subs w8, w8, #2
cset w8, ne
mov w9, #0
str w9, [sp, #36] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
mov w8, #1
str w8, [sp, #36] ; 4-byte Folded Spill
b LBB2_2
LBB2_2:
ldr w8, [sp, #36] ; 4-byte Folded Reload
eor w9, w8, #0x1
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov w2, #40
adrp x3, l_.str.2@PAGE
add x3, x3, l_.str.2@PAGEOFF
bl ___assert_rtn
LBB2_4:
b LBB2_5
LBB2_5:
ldr x8, [sp, #88]
ldr x8, [x8, #8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr x8, [sp, #88]
ldr x0, [x8, #8]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fopen
str x0, [sp, #80]
str wzr, [sp, #76]
b LBB2_6
LBB2_6: ; =>This Inner Loop Header: Depth=1
ldr x0, [sp, #80]
ldrsw x8, [sp, #76]
mov x9, x8
add w9, w9, #1
str w9, [sp, #76]
mov x9, #101
mul x9, x8, x9
adrp x8, _tiles@PAGE
add x8, x8, _tiles@PAGEOFF
add x8, x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fscanf
subs w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB2_8
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_6 Depth=1
b LBB2_6
LBB2_8:
str wzr, [sp, #72]
str wzr, [sp, #68]
b LBB2_9
LBB2_9: ; =>This Loop Header: Depth=1
; Child Loop BB2_11 Depth 2
ldr w8, [sp, #68]
subs w8, w8, #100
cset w8, ge
tbnz w8, #0, LBB2_18
b LBB2_10
LBB2_10: ; in Loop: Header=BB2_9 Depth=1
str wzr, [sp, #64]
b LBB2_11
LBB2_11: ; Parent Loop BB2_9 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #64]
subs w8, w8, #100
cset w8, ge
tbnz w8, #0, LBB2_16
b LBB2_12
LBB2_12: ; in Loop: Header=BB2_11 Depth=2
ldr w0, [sp, #68]
ldr w1, [sp, #64]
bl _isLower
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_14
b LBB2_13
LBB2_13: ; in Loop: Header=BB2_11 Depth=2
ldrsw x8, [sp, #68]
mov x9, #101
mul x9, x8, x9
adrp x8, _tiles@PAGE
add x8, x8, _tiles@PAGEOFF
add x8, x8, x9
ldrsw x9, [sp, #64]
ldrsb w8, [x8, x9]
add w8, w8, #1
subs w9, w8, #48
ldr w8, [sp, #72]
add w8, w8, w9
str w8, [sp, #72]
b LBB2_14
LBB2_14: ; in Loop: Header=BB2_11 Depth=2
b LBB2_15
LBB2_15: ; in Loop: Header=BB2_11 Depth=2
ldr w8, [sp, #64]
add w8, w8, #1
str w8, [sp, #64]
b LBB2_11
LBB2_16: ; in Loop: Header=BB2_9 Depth=1
b LBB2_17
LBB2_17: ; in Loop: Header=BB2_9 Depth=1
ldr w8, [sp, #68]
add w8, w8, #1
str w8, [sp, #68]
b LBB2_9
LBB2_18:
ldr w9, [sp, #72]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
ldr x8, [sp, #24] ; 8-byte Folded Reload
str xzr, [x8]
str wzr, [x8, #8]
str wzr, [sp, #60]
b LBB2_19
LBB2_19: ; =>This Loop Header: Depth=1
; Child Loop BB2_21 Depth 2
ldr w8, [sp, #60]
subs w8, w8, #100
cset w8, ge
tbnz w8, #0, LBB2_34
b LBB2_20
LBB2_20: ; in Loop: Header=BB2_19 Depth=1
str wzr, [sp, #56]
b LBB2_21
LBB2_21: ; Parent Loop BB2_19 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #56]
subs w8, w8, #100
cset w8, ge
tbnz w8, #0, LBB2_32
b LBB2_22
LBB2_22: ; in Loop: Header=BB2_21 Depth=2
ldr w0, [sp, #60]
ldr w1, [sp, #56]
bl _isLower
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_30
b LBB2_23
LBB2_23: ; in Loop: Header=BB2_21 Depth=2
add x0, sp, #104
str x0, [sp, #16] ; 8-byte Folded Spill
mov x1, #40000
bl _bzero
ldr x2, [sp, #16] ; 8-byte Folded Reload
ldr w0, [sp, #60]
ldr w1, [sp, #56]
bl _getBasin
ldr x9, [sp, #24] ; 8-byte Folded Reload
str w0, [sp, #52]
ldr w8, [sp, #52]
ldr w9, [x9, #8]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB2_25
b LBB2_24
LBB2_24: ; in Loop: Header=BB2_21 Depth=2
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr w8, [sp, #52]
str w8, [x9, #8]
b LBB2_25
LBB2_25: ; in Loop: Header=BB2_21 Depth=2
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x9, #8]
ldr w9, [x9, #4]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB2_27
b LBB2_26
LBB2_26: ; in Loop: Header=BB2_21 Depth=2
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x9, #8]
str w8, [sp, #48]
ldr w8, [x9, #4]
str w8, [x9, #8]
ldr w8, [sp, #48]
str w8, [x9, #4]
b LBB2_27
LBB2_27: ; in Loop: Header=BB2_21 Depth=2
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x9, #4]
ldr w9, [x9]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB2_29
b LBB2_28
LBB2_28: ; in Loop: Header=BB2_21 Depth=2
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x9, #4]
str w8, [sp, #44]
ldr w8, [x9]
str w8, [x9, #4]
ldr w8, [sp, #44]
str w8, [x9]
b LBB2_29
LBB2_29: ; in Loop: Header=BB2_21 Depth=2
b LBB2_30
LBB2_30: ; in Loop: Header=BB2_21 Depth=2
b LBB2_31
LBB2_31: ; in Loop: Header=BB2_21 Depth=2
ldr w8, [sp, #56]
add w8, w8, #1
str w8, [sp, #56]
b LBB2_21
LBB2_32: ; in Loop: Header=BB2_19 Depth=1
b LBB2_33
LBB2_33: ; in Loop: Header=BB2_19 Depth=1
ldr w8, [sp, #60]
add w8, w8, #1
str w8, [sp, #60]
b LBB2_19
LBB2_34:
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x9]
ldr w10, [x9, #4]
mul w8, w8, w10
ldr w9, [x9, #8]
mul w8, w8, w9
str w8, [sp, #40]
ldr w9, [sp, #40]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
ldr x0, [sp, #80]
bl _fclose
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_36
b LBB2_35
LBB2_35:
bl ___stack_chk_fail
LBB2_36:
mov w0, #0
add sp, sp, #9, lsl #12 ; =36864
add sp, sp, #3360
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _tiles ; @tiles
.zerofill __DATA,__common,_tiles,10100,0
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Must provide one argument => input.txt path"
l___func__.main: ; @__func__.main
.asciz "main"
l_.str.1: ; @.str.1
.asciz "148576925.c"
l_.str.2: ; @.str.2
.asciz "argc == 2 && \"Must provide one argument => input.txt path\""
l_.str.3: ; @.str.3
.asciz "Input file: %s\n\n"
l_.str.4: ; @.str.4
.asciz "r"
l_.str.5: ; @.str.5
.asciz "%s"
l_.str.6: ; @.str.6
.asciz "Answer 1: %d\n"
l_.str.7: ; @.str.7
.asciz "Answer 2: %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _isLower ## -- Begin function isLower
.p2align 4, 0x90
_isLower: ## @isLower
.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, -8(%rbp)
movl %esi, -12(%rbp)
movslq -8(%rbp), %rcx
leaq _tiles(%rip), %rax
imulq $101, %rcx, %rcx
addq %rcx, %rax
movslq -12(%rbp), %rcx
movb (%rax,%rcx), %al
movb %al, -13(%rbp)
cmpl $0, -8(%rbp)
jle LBB0_3
## %bb.1:
movl -8(%rbp), %eax
subl $1, %eax
movslq %eax, %rcx
leaq _tiles(%rip), %rax
imulq $101, %rcx, %rcx
addq %rcx, %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movsbl -13(%rbp), %ecx
cmpl %ecx, %eax
jg LBB0_3
## %bb.2:
movl $0, -4(%rbp)
jmp LBB0_13
LBB0_3:
cmpl $0, -12(%rbp)
jle LBB0_6
## %bb.4:
movslq -8(%rbp), %rcx
leaq _tiles(%rip), %rax
imulq $101, %rcx, %rcx
addq %rcx, %rax
movl -12(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
movsbl -13(%rbp), %ecx
cmpl %ecx, %eax
jg LBB0_6
## %bb.5:
movl $0, -4(%rbp)
jmp LBB0_13
LBB0_6:
cmpl $99, -12(%rbp)
jge LBB0_9
## %bb.7:
movslq -8(%rbp), %rcx
leaq _tiles(%rip), %rax
imulq $101, %rcx, %rcx
addq %rcx, %rax
movl -12(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
movsbl -13(%rbp), %ecx
cmpl %ecx, %eax
jg LBB0_9
## %bb.8:
movl $0, -4(%rbp)
jmp LBB0_13
LBB0_9:
cmpl $99, -8(%rbp)
jge LBB0_12
## %bb.10:
movl -8(%rbp), %eax
addl $1, %eax
movslq %eax, %rcx
leaq _tiles(%rip), %rax
imulq $101, %rcx, %rcx
addq %rcx, %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movsbl -13(%rbp), %ecx
cmpl %ecx, %eax
jg LBB0_12
## %bb.11:
movl $0, -4(%rbp)
jmp LBB0_13
LBB0_12:
movl $1, -4(%rbp)
LBB0_13:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _getBasin ## -- Begin function getBasin
.p2align 4, 0x90
_getBasin: ## @getBasin
.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
movl %edi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
cmpl $0, -12(%rbp)
jl LBB1_4
## %bb.1:
cmpl $100, -12(%rbp)
jge LBB1_4
## %bb.2:
cmpl $0, -8(%rbp)
jl LBB1_4
## %bb.3:
cmpl $100, -8(%rbp)
jl LBB1_5
LBB1_4:
movl $0, -4(%rbp)
jmp LBB1_10
LBB1_5:
movslq -8(%rbp), %rcx
leaq _tiles(%rip), %rax
imulq $101, %rcx, %rcx
addq %rcx, %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $57, %eax
jne LBB1_7
## %bb.6:
movl $0, -4(%rbp)
jmp LBB1_10
LBB1_7:
movq -24(%rbp), %rax
movslq -8(%rbp), %rcx
imulq $400, %rcx, %rcx ## imm = 0x190
addq %rcx, %rax
movslq -12(%rbp), %rcx
cmpl $0, (%rax,%rcx,4)
je LBB1_9
## %bb.8:
movl $0, -4(%rbp)
jmp LBB1_10
LBB1_9:
movl $1, -28(%rbp)
movq -24(%rbp), %rax
movslq -8(%rbp), %rcx
imulq $400, %rcx, %rcx ## imm = 0x190
addq %rcx, %rax
movslq -12(%rbp), %rcx
movl $1, (%rax,%rcx,4)
movl -8(%rbp), %edi
subl $1, %edi
movl -12(%rbp), %esi
movq -24(%rbp), %rdx
callq _getBasin
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
movl -8(%rbp), %edi
addl $1, %edi
movl -12(%rbp), %esi
movq -24(%rbp), %rdx
callq _getBasin
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
movl -8(%rbp), %edi
movl -12(%rbp), %esi
subl $1, %esi
movq -24(%rbp), %rdx
callq _getBasin
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
movl -8(%rbp), %edi
movl -12(%rbp), %esi
addl $1, %esi
movq -24(%rbp), %rdx
callq _getBasin
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
movl -28(%rbp), %eax
movl %eax, -4(%rbp)
LBB1_10:
movl -4(%rbp), %eax
addq $32, %rsp
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 $40208, %eax ## imm = 0x9D10
callq ____chkstk_darwin
subq %rax, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -40132(%rbp)
movl %edi, -40136(%rbp)
movq %rsi, -40144(%rbp)
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $2, -40136(%rbp)
movb %al, -40193(%rbp) ## 1-byte Spill
jne LBB2_2
## %bb.1:
movb $1, %al
movb %al, -40193(%rbp) ## 1-byte Spill
jmp LBB2_2
LBB2_2:
movb -40193(%rbp), %al ## 1-byte Reload
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB2_4
## %bb.3:
leaq L___func__.main(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.2(%rip), %rcx
movl $40, %edx
callq ___assert_rtn
LBB2_4:
jmp LBB2_5
LBB2_5:
movq -40144(%rbp), %rax
movq 8(%rax), %rsi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movq -40144(%rbp), %rax
movq 8(%rax), %rdi
leaq L_.str.4(%rip), %rsi
callq _fopen
movq %rax, -40152(%rbp)
movl $0, -40156(%rbp)
LBB2_6: ## =>This Inner Loop Header: Depth=1
movq -40152(%rbp), %rdi
movl -40156(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -40156(%rbp)
cltq
leaq _tiles(%rip), %rdx
imulq $101, %rax, %rax
addq %rax, %rdx
leaq L_.str.5(%rip), %rsi
movb $0, %al
callq _fscanf
cmpl $1, %eax
jne LBB2_8
## %bb.7: ## in Loop: Header=BB2_6 Depth=1
jmp LBB2_6
LBB2_8:
movl $0, -40160(%rbp)
movl $0, -40164(%rbp)
LBB2_9: ## =>This Loop Header: Depth=1
## Child Loop BB2_11 Depth 2
cmpl $100, -40164(%rbp)
jge LBB2_18
## %bb.10: ## in Loop: Header=BB2_9 Depth=1
movl $0, -40168(%rbp)
LBB2_11: ## Parent Loop BB2_9 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $100, -40168(%rbp)
jge LBB2_16
## %bb.12: ## in Loop: Header=BB2_11 Depth=2
movl -40164(%rbp), %edi
movl -40168(%rbp), %esi
callq _isLower
cmpl $0, %eax
je LBB2_14
## %bb.13: ## in Loop: Header=BB2_11 Depth=2
movslq -40164(%rbp), %rcx
leaq _tiles(%rip), %rax
imulq $101, %rcx, %rcx
addq %rcx, %rax
movslq -40168(%rbp), %rcx
movsbl (%rax,%rcx), %eax
addl $1, %eax
subl $48, %eax
addl -40160(%rbp), %eax
movl %eax, -40160(%rbp)
LBB2_14: ## in Loop: Header=BB2_11 Depth=2
jmp LBB2_15
LBB2_15: ## in Loop: Header=BB2_11 Depth=2
movl -40168(%rbp), %eax
addl $1, %eax
movl %eax, -40168(%rbp)
jmp LBB2_11
LBB2_16: ## in Loop: Header=BB2_9 Depth=1
jmp LBB2_17
LBB2_17: ## in Loop: Header=BB2_9 Depth=1
movl -40164(%rbp), %eax
addl $1, %eax
movl %eax, -40164(%rbp)
jmp LBB2_9
LBB2_18:
movl -40160(%rbp), %esi
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
leaq -124(%rbp), %rdi
xorl %esi, %esi
movl $12, %edx
callq _memset
movl $0, -40172(%rbp)
LBB2_19: ## =>This Loop Header: Depth=1
## Child Loop BB2_21 Depth 2
cmpl $100, -40172(%rbp)
jge LBB2_34
## %bb.20: ## in Loop: Header=BB2_19 Depth=1
movl $0, -40176(%rbp)
LBB2_21: ## Parent Loop BB2_19 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $100, -40176(%rbp)
jge LBB2_32
## %bb.22: ## in Loop: Header=BB2_21 Depth=2
movl -40172(%rbp), %edi
movl -40176(%rbp), %esi
callq _isLower
cmpl $0, %eax
je LBB2_30
## %bb.23: ## in Loop: Header=BB2_21 Depth=2
leaq -40128(%rbp), %rdi
xorl %esi, %esi
movl $40000, %edx ## imm = 0x9C40
callq _memset
movl -40172(%rbp), %edi
movl -40176(%rbp), %esi
leaq -40128(%rbp), %rdx
callq _getBasin
movl %eax, -40180(%rbp)
movl -40180(%rbp), %eax
cmpl -116(%rbp), %eax
jle LBB2_25
## %bb.24: ## in Loop: Header=BB2_21 Depth=2
movl -40180(%rbp), %eax
movl %eax, -116(%rbp)
LBB2_25: ## in Loop: Header=BB2_21 Depth=2
movl -116(%rbp), %eax
cmpl -120(%rbp), %eax
jle LBB2_27
## %bb.26: ## in Loop: Header=BB2_21 Depth=2
movl -116(%rbp), %eax
movl %eax, -40184(%rbp)
movl -120(%rbp), %eax
movl %eax, -116(%rbp)
movl -40184(%rbp), %eax
movl %eax, -120(%rbp)
LBB2_27: ## in Loop: Header=BB2_21 Depth=2
movl -120(%rbp), %eax
cmpl -124(%rbp), %eax
jle LBB2_29
## %bb.28: ## in Loop: Header=BB2_21 Depth=2
movl -120(%rbp), %eax
movl %eax, -40188(%rbp)
movl -124(%rbp), %eax
movl %eax, -120(%rbp)
movl -40188(%rbp), %eax
movl %eax, -124(%rbp)
LBB2_29: ## in Loop: Header=BB2_21 Depth=2
jmp LBB2_30
LBB2_30: ## in Loop: Header=BB2_21 Depth=2
jmp LBB2_31
LBB2_31: ## in Loop: Header=BB2_21 Depth=2
movl -40176(%rbp), %eax
addl $1, %eax
movl %eax, -40176(%rbp)
jmp LBB2_21
LBB2_32: ## in Loop: Header=BB2_19 Depth=1
jmp LBB2_33
LBB2_33: ## in Loop: Header=BB2_19 Depth=1
movl -40172(%rbp), %eax
addl $1, %eax
movl %eax, -40172(%rbp)
jmp LBB2_19
LBB2_34:
movl -124(%rbp), %eax
imull -120(%rbp), %eax
imull -116(%rbp), %eax
movl %eax, -40192(%rbp)
movl -40192(%rbp), %esi
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
movq -40152(%rbp), %rdi
callq _fclose
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_36
## %bb.35:
xorl %eax, %eax
addq $40208, %rsp ## imm = 0x9D10
popq %rbp
retq
LBB2_36:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _tiles ## @tiles
.zerofill __DATA,__common,_tiles,10100,4
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Must provide one argument => input.txt path"
L___func__.main: ## @__func__.main
.asciz "main"
L_.str.1: ## @.str.1
.asciz "148576925.c"
L_.str.2: ## @.str.2
.asciz "argc == 2 && \"Must provide one argument => input.txt path\""
L_.str.3: ## @.str.3
.asciz "Input file: %s\n\n"
L_.str.4: ## @.str.4
.asciz "r"
L_.str.5: ## @.str.5
.asciz "%s"
L_.str.6: ## @.str.6
.asciz "Answer 1: %d\n"
L_.str.7: ## @.str.7
.asciz "Answer 2: %d\n"
.subsections_via_symbols
| the_stack_data/148576925.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _createFile ; -- Begin function createFile
.p2align 2
_createFile: ; @createFile
.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
stur x0, [x29, #-8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
str x0, [sp, #16]
ldr x0, [sp, #16]
ldur x8, [x29, #-8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
ldr x0, [sp, #16]
bl _fclose
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _printFile ; -- Begin function printFile
.p2align 2
_printFile: ; @printFile
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
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
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _fopen
str x0, [sp, #8]
ldr x2, [sp, #8]
add x0, sp, #20
mov w1, #100
bl _fgets
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB1_2:
mov x9, sp
add x8, sp, #20
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldr x0, [sp, #8]
bl _fclose
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
bl ___stack_chk_fail
LBB1_4:
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.globl _readExample ; -- Begin function readExample
.p2align 2
_readExample: ; @readExample
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _createFile
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
mov w1, #0
bl _open
stur w0, [x29, #-4]
mov x8, #15
stur x8, [x29, #-16]
stur xzr, [x29, #-24]
ldur x1, [x29, #-16]
ldur w4, [x29, #-4]
ldur x5, [x29, #-24]
mov x0, #0
mov w2, #1
mov w3, #2
bl _mmap
str x0, [sp, #32]
ldr x8, [sp, #32]
adds x8, x8, #1
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB2_2:
ldr x8, [sp, #32]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
str wzr, [sp, #28]
b LBB2_3
LBB2_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
; kill: def $x8 killed $w8
ldur x9, [x29, #-16]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB2_6
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_3 Depth=1
ldr w9, [sp, #28]
; implicit-def: $x8
mov x8, x9
ldr x9, [sp, #32]
ldr w10, [sp, #28]
; kill: def $x10 killed $w10
ldrsb w11, [x9, x10]
ldr x9, [sp, #32]
ldr w10, [sp, #28]
; kill: def $x10 killed $w10
ldrsb w10, [x9, x10]
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x11
str x8, [x9, #8]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #16]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_3 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB2_3
LBB2_6:
ldr x0, [sp, #32]
ldur x1, [x29, #-16]
bl _munmap
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB2_8
b LBB2_7
LBB2_7:
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB2_8:
ldur w0, [x29, #-4]
bl _close
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _readExampleChange ; -- Begin function readExampleChange
.p2align 2
_readExampleChange: ; @readExampleChange
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _createFile
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
mov w1, #0
bl _open
stur w0, [x29, #-4]
mov x8, #15
stur x8, [x29, #-16]
str xzr, [sp, #24]
ldur x1, [x29, #-16]
ldur w4, [x29, #-4]
ldr x5, [sp, #24]
mov x0, #0
mov w2, #3
mov w3, #2
bl _mmap
str x0, [sp, #16]
ldr x8, [sp, #16]
adds x8, x8, #1
cset w8, ne
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB3_2:
ldr x8, [sp, #16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
ldr x9, [sp, #16]
mov w8, #74
strb w8, [x9]
ldr x8, [sp, #16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _createFile
ldr x8, [sp, #16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
ldr x0, [sp, #16]
ldur x1, [x29, #-16]
bl _munmap
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3:
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB3_4:
ldur w0, [x29, #-4]
bl _close
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _writeExample ; -- Begin function writeExample
.p2align 2
_writeExample: ; @writeExample
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _createFile
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
mov w1, #2
bl _open
stur w0, [x29, #-4]
mov x8, #15
stur x8, [x29, #-16]
str xzr, [sp, #24]
ldur x1, [x29, #-16]
ldur w4, [x29, #-4]
ldr x5, [sp, #24]
mov x0, #0
mov w2, #3
mov w3, #1
bl _mmap
str x0, [sp, #16]
ldr x8, [sp, #16]
adds x8, x8, #1
cset w8, ne
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB4_2:
ldr x8, [sp, #16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
bl _printf
ldr x9, [sp, #16]
mov w8, #74
strb w8, [x9]
ldr x8, [sp, #16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.15@PAGE
add x0, x0, l_.str.15@PAGEOFF
bl _printf
adrp x0, l_.str.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
bl _printf
bl _printFile
ldr x0, [sp, #16]
ldur x1, [x29, #-16]
mov w2, #16
bl _msync
adrp x0, l_.str.17@PAGE
add x0, x0, l_.str.17@PAGEOFF
bl _printf
bl _printFile
ldr x0, [sp, #16]
ldur x1, [x29, #-16]
bl _munmap
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3:
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB4_4:
ldur w0, [x29, #-4]
bl _close
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _mmapAlloc ; -- Begin function mmapAlloc
.p2align 2
_mmapAlloc: ; @mmapAlloc
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x8, #8
str x8, [sp, #8]
ldr x1, [sp, #8]
mov x0, #0
mov w2, #3
mov w3, #4098
mov w4, #-1
mov x5, #0
bl _mmap
str x0, [sp]
ldr x8, [sp]
adds x8, x8, #1
cset w8, ne
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB5_2:
ldr x0, [sp]
ldr x1, [sp, #8]
bl _munmap
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB5_4
b LBB5_3
LBB5_3:
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB5_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _mmapAnonPrivate ; -- Begin function mmapAnonPrivate
.p2align 2
_mmapAnonPrivate: ; @mmapAnonPrivate
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x8, #8
stur x8, [x29, #-8]
ldur x1, [x29, #-8]
mov x0, #0
mov w2, #3
mov w3, #4098
mov w4, #-1
mov x5, #0
bl _mmap
stur x0, [x29, #-16]
ldur x8, [x29, #-16]
adds x8, x8, #1
cset w8, ne
tbnz w8, #0, LBB6_2
b LBB6_1
LBB6_1:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB6_2:
adrp x0, l_.str.18@PAGE
add x0, x0, l_.str.18@PAGEOFF
bl _printf
stur wzr, [x29, #-20]
b LBB6_3
LBB6_3: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
; kill: def $x8 killed $w8
ldur x9, [x29, #-8]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB6_6
b LBB6_4
LBB6_4: ; in Loop: Header=BB6_3 Depth=1
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
ldur x9, [x29, #-16]
ldur w10, [x29, #-20]
; kill: def $x10 killed $w10
ldrsb w10, [x9, x10]
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
adrp x0, l_.str.19@PAGE
add x0, x0, l_.str.19@PAGEOFF
bl _printf
b LBB6_5
LBB6_5: ; in Loop: Header=BB6_3 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB6_3
LBB6_6:
bl _fork
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB6_12
b LBB6_7
LBB6_7:
str wzr, [sp, #24]
b LBB6_8
LBB6_8: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
; kill: def $x8 killed $w8
ldur x9, [x29, #-8]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB6_11
b LBB6_9
LBB6_9: ; in Loop: Header=BB6_8 Depth=1
ldr w9, [sp, #24]
; implicit-def: $x8
mov x8, x9
ldur x9, [x29, #-16]
ldr w10, [sp, #24]
; kill: def $x10 killed $w10
ldrsb w10, [x9, x10]
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
adrp x0, l_.str.20@PAGE
add x0, x0, l_.str.20@PAGEOFF
bl _printf
b LBB6_10
LBB6_10: ; in Loop: Header=BB6_8 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB6_8
LBB6_11:
adrp x0, l_.str.21@PAGE
add x0, x0, l_.str.21@PAGEOFF
bl _printf
mov w0, #0
bl _exit
LBB6_12:
adrp x0, l_.str.22@PAGE
add x0, x0, l_.str.22@PAGEOFF
bl _printf
str wzr, [sp, #20]
b LBB6_13
LBB6_13: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
; kill: def $x8 killed $w8
ldur x9, [x29, #-8]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB6_16
b LBB6_14
LBB6_14: ; in Loop: Header=BB6_13 Depth=1
ldr w8, [sp, #20]
ldur x9, [x29, #-16]
ldr w10, [sp, #20]
; kill: def $x10 killed $w10
strb w8, [x9, x10]
b LBB6_15
LBB6_15: ; in Loop: Header=BB6_13 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB6_13
LBB6_16:
adrp x0, l_.str.23@PAGE
add x0, x0, l_.str.23@PAGEOFF
bl _printf
adrp x0, l_.str.24@PAGE
add x0, x0, l_.str.24@PAGEOFF
bl _printf
mov x0, #0
bl _wait
adrp x0, l_.str.25@PAGE
add x0, x0, l_.str.25@PAGEOFF
bl _printf
adrp x0, l_.str.26@PAGE
add x0, x0, l_.str.26@PAGEOFF
bl _printf
str wzr, [sp, #16]
b LBB6_17
LBB6_17: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
; kill: def $x8 killed $w8
ldur x9, [x29, #-8]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB6_20
b LBB6_18
LBB6_18: ; in Loop: Header=BB6_17 Depth=1
ldr w9, [sp, #16]
; implicit-def: $x8
mov x8, x9
ldur x9, [x29, #-16]
ldr w10, [sp, #16]
; kill: def $x10 killed $w10
ldrsb w10, [x9, x10]
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
adrp x0, l_.str.19@PAGE
add x0, x0, l_.str.19@PAGEOFF
bl _printf
b LBB6_19
LBB6_19: ; in Loop: Header=BB6_17 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB6_17
LBB6_20:
ldur x0, [x29, #-16]
ldur x1, [x29, #-8]
bl _munmap
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB6_22
b LBB6_21
LBB6_21:
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB6_22:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _mmapAnonShared ; -- Begin function mmapAnonShared
.p2align 2
_mmapAnonShared: ; @mmapAnonShared
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x8, #8
stur x8, [x29, #-8]
ldur x1, [x29, #-8]
mov x0, #0
mov w2, #3
mov w3, #4097
mov w4, #-1
mov x5, #0
bl _mmap
stur x0, [x29, #-16]
ldur x8, [x29, #-16]
adds x8, x8, #1
cset w8, ne
tbnz w8, #0, LBB7_2
b LBB7_1
LBB7_1:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB7_2:
adrp x0, l_.str.18@PAGE
add x0, x0, l_.str.18@PAGEOFF
bl _printf
stur wzr, [x29, #-20]
b LBB7_3
LBB7_3: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
; kill: def $x8 killed $w8
ldur x9, [x29, #-8]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB7_6
b LBB7_4
LBB7_4: ; in Loop: Header=BB7_3 Depth=1
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
ldur x9, [x29, #-16]
ldur w10, [x29, #-20]
; kill: def $x10 killed $w10
ldrsb w10, [x9, x10]
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
adrp x0, l_.str.19@PAGE
add x0, x0, l_.str.19@PAGEOFF
bl _printf
b LBB7_5
LBB7_5: ; in Loop: Header=BB7_3 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB7_3
LBB7_6:
bl _fork
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB7_19
b LBB7_7
LBB7_7:
stur wzr, [x29, #-24]
b LBB7_8
LBB7_8: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-24]
; kill: def $x8 killed $w8
ldur x9, [x29, #-8]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB7_11
b LBB7_9
LBB7_9: ; in Loop: Header=BB7_8 Depth=1
ldur w9, [x29, #-24]
; implicit-def: $x8
mov x8, x9
ldur x9, [x29, #-16]
ldur w10, [x29, #-24]
; kill: def $x10 killed $w10
ldrsb w10, [x9, x10]
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
adrp x0, l_.str.20@PAGE
add x0, x0, l_.str.20@PAGEOFF
bl _printf
b LBB7_10
LBB7_10: ; in Loop: Header=BB7_8 Depth=1
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
b LBB7_8
LBB7_11:
adrp x0, l_.str.27@PAGE
add x0, x0, l_.str.27@PAGEOFF
bl _printf
ldur x9, [x29, #-16]
mov w8, #42
strb w8, [x9]
adrp x0, l_.str.28@PAGE
add x0, x0, l_.str.28@PAGEOFF
bl _printf
b LBB7_12
LBB7_12: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-16]
ldur x9, [x29, #-8]
subs x9, x9, #1
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB7_14
b LBB7_13
LBB7_13: ; in Loop: Header=BB7_12 Depth=1
mov w0, #1
bl _sleep
b LBB7_12
LBB7_14:
adrp x0, l_.str.29@PAGE
add x0, x0, l_.str.29@PAGEOFF
bl _printf
stur wzr, [x29, #-28]
b LBB7_15
LBB7_15: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-28]
; kill: def $x8 killed $w8
ldur x9, [x29, #-8]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB7_18
b LBB7_16
LBB7_16: ; in Loop: Header=BB7_15 Depth=1
ldur w9, [x29, #-28]
; implicit-def: $x8
mov x8, x9
ldur x9, [x29, #-16]
ldur w10, [x29, #-28]
; kill: def $x10 killed $w10
ldrsb w10, [x9, x10]
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
adrp x0, l_.str.30@PAGE
add x0, x0, l_.str.30@PAGEOFF
bl _printf
b LBB7_17
LBB7_17: ; in Loop: Header=BB7_15 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB7_15
LBB7_18:
adrp x0, l_.str.31@PAGE
add x0, x0, l_.str.31@PAGEOFF
bl _printf
mov w0, #0
bl _exit
LBB7_19:
adrp x0, l_.str.32@PAGE
add x0, x0, l_.str.32@PAGEOFF
bl _printf
b LBB7_20
LBB7_20: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-16]
ldrsb w8, [x8]
subs w8, w8, #42
cset w8, eq
tbnz w8, #0, LBB7_22
b LBB7_21
LBB7_21: ; in Loop: Header=BB7_20 Depth=1
mov w0, #1
bl _sleep
b LBB7_20
LBB7_22:
adrp x0, l_.str.33@PAGE
add x0, x0, l_.str.33@PAGEOFF
bl _printf
str wzr, [sp, #32]
b LBB7_23
LBB7_23: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #32]
; kill: def $x8 killed $w8
ldur x9, [x29, #-8]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB7_26
b LBB7_24
LBB7_24: ; in Loop: Header=BB7_23 Depth=1
ldr w8, [sp, #32]
ldur x9, [x29, #-16]
ldr w10, [sp, #32]
; kill: def $x10 killed $w10
strb w8, [x9, x10]
b LBB7_25
LBB7_25: ; in Loop: Header=BB7_23 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB7_23
LBB7_26:
adrp x0, l_.str.34@PAGE
add x0, x0, l_.str.34@PAGEOFF
bl _printf
adrp x0, l_.str.24@PAGE
add x0, x0, l_.str.24@PAGEOFF
bl _printf
mov x0, #0
bl _wait
adrp x0, l_.str.25@PAGE
add x0, x0, l_.str.25@PAGEOFF
bl _printf
adrp x0, l_.str.26@PAGE
add x0, x0, l_.str.26@PAGEOFF
bl _printf
str wzr, [sp, #28]
b LBB7_27
LBB7_27: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
; kill: def $x8 killed $w8
ldur x9, [x29, #-8]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB7_30
b LBB7_28
LBB7_28: ; in Loop: Header=BB7_27 Depth=1
ldr w9, [sp, #28]
; implicit-def: $x8
mov x8, x9
ldur x9, [x29, #-16]
ldr w10, [sp, #28]
; kill: def $x10 killed $w10
ldrsb w10, [x9, x10]
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
adrp x0, l_.str.19@PAGE
add x0, x0, l_.str.19@PAGEOFF
bl _printf
b LBB7_29
LBB7_29: ; in Loop: Header=BB7_27 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB7_27
LBB7_30:
ldur x0, [x29, #-16]
ldur x1, [x29, #-8]
bl _munmap
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB7_32
b LBB7_31
LBB7_31:
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB7_32:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, l_.str.35@PAGE
add x0, x0, l_.str.35@PAGEOFF
bl _printf
adrp x0, l_.str.36@PAGE
add x0, x0, l_.str.36@PAGEOFF
bl _printf
adrp x0, l_.str.37@PAGE
add x0, x0, l_.str.37@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
bl _printf
adrp x0, l_.str.38@PAGE
add x0, x0, l_.str.38@PAGEOFF
bl _printf
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _printf
adrp x0, l_.str.39@PAGE
add x0, x0, l_.str.39@PAGEOFF
bl _printf
adrp x0, l_.str.40@PAGE
add x0, x0, l_.str.40@PAGEOFF
bl _printf
adrp x0, l_.str.41@PAGE
add x0, x0, l_.str.41@PAGEOFF
bl _printf
adrp x0, l_.str.42@PAGE
add x0, x0, l_.str.42@PAGEOFF
bl _printf
bl _readExample
adrp x0, l_.str.43@PAGE
add x0, x0, l_.str.43@PAGEOFF
bl _printf
bl _readExampleChange
adrp x0, l_.str.44@PAGE
add x0, x0, l_.str.44@PAGEOFF
bl _printf
bl _writeExample
adrp x0, l_.str.45@PAGE
add x0, x0, l_.str.45@PAGEOFF
bl _printf
bl _mmapAlloc
adrp x0, l_.str.46@PAGE
add x0, x0, l_.str.46@PAGEOFF
bl _printf
bl _mmapAnonPrivate
adrp x0, l_.str.47@PAGE
add x0, x0, l_.str.47@PAGEOFF
bl _printf
bl _mmapAnonShared
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "mmap.temp"
l_.str.1: ; @.str.1
.asciz "w"
l_.str.2: ; @.str.2
.asciz "%s"
l_.str.3: ; @.str.3
.asciz "r"
l_.str.4: ; @.str.4
.asciz "fgets() error\n"
l_.str.5: ; @.str.5
.asciz "file actually contains contains: %s\n"
l_.str.6: ; @.str.6
.asciz "hello world"
l_.str.7: ; @.str.7
.asciz "mmap"
l_.str.8: ; @.str.8
.asciz "Should say hello world: %s\n"
l_.str.9: ; @.str.9
.asciz "ptr[%u] is: '%c' (or %d)\n"
l_.str.10: ; @.str.10
.asciz "munmap"
l_.str.11: ; @.str.11
.asciz "Should say Jello world: %s\n"
l_.str.12: ; @.str.12
.asciz "hello WORLD"
l_.str.13: ; @.str.13
.asciz "Undefined. Might say hello WORLD: %s\n"
l_.str.14: ; @.str.14
.asciz "Before we change the file. Should say hello world: %s\n"
l_.str.15: ; @.str.15
.asciz "After we change the mmap'd memory. Should say hello world: %s\n"
l_.str.16: ; @.str.16
.asciz "File after we change mmap'd memory is undefined before we call msync():\n"
l_.str.17: ; @.str.17
.asciz "File after we change mmap'd memory contains all changes after we call msync():\n"
l_.str.18: ; @.str.18
.asciz "memory is initialized to zero with MAP_ANONYMOUS\n"
l_.str.19: ; @.str.19
.asciz "ptr[%u] = %d\n"
l_.str.20: ; @.str.20
.asciz "child: ptr[%u] = %d\n"
l_.str.21: ; @.str.21
.asciz "Child exited\n"
l_.str.22: ; @.str.22
.asciz "Parent is writing data to the mmap'd area\n"
l_.str.23: ; @.str.23
.asciz "Parent is done writing data to the mmap'd area\n"
l_.str.24: ; @.str.24
.asciz "Parent is waiting for the child to finish\n"
l_.str.25: ; @.str.25
.asciz "Parent detected that child exited.\n"
l_.str.26: ; @.str.26
.asciz "Contents after we store values in memory.\n"
l_.str.27: ; @.str.27
.asciz "Child is putting non-zero data at the beginning of the mmap'd area\n"
l_.str.28: ; @.str.28
.asciz "Child is waiting for non-zero data at the end of the mmap'd area...\n"
l_.str.29: ; @.str.29
.asciz "Child is done waiting.\n"
l_.str.30: ; @.str.30
.asciz "child ptr[%u] = %d\n"
l_.str.31: ; @.str.31
.asciz "Child exited.\n"
l_.str.32: ; @.str.32
.asciz "Parent is waiting for non-zero data in the beginning of the mmap'd area.\n"
l_.str.33: ; @.str.33
.asciz "Parent is done waiting, writing data into entire mmap'd area...\n"
l_.str.34: ; @.str.34
.asciz "Parent is done writing data\n"
l_.str.35: ; @.str.35
.asciz "================= SUMMARY OF MMAP() OPTIONS ===================\n"
l_.str.36: ; @.str.36
.asciz " | File-backed (default) | Anonymous \n"
l_.str.37: ; @.str.37
.asciz "--------+----------------------------+-------------------------\n"
l_.str.38: ; @.str.38
.asciz "Private:| Init memory based on file. | Like malloc(), init to 0\n"
l_.str.39: ; @.str.39
.asciz "Shared: | Init memory based on file. | Share memory between \n"
l_.str.40: ; @.str.40
.asciz " | Write to file when done. | processes. Init to 0. \n"
l_.str.41: ; @.str.41
.asciz " | Shared between processes. | \n"
l_.str.42: ; @.str.42
.asciz "\n\n--- readExample() ---\n"
l_.str.43: ; @.str.43
.asciz "\n\n--- readExampleChange() ---\n"
l_.str.44: ; @.str.44
.asciz "\n\n--- writeExample() ---\n"
l_.str.45: ; @.str.45
.asciz "\n\n--- mmapAlloc() ---\n"
l_.str.46: ; @.str.46
.asciz "\n\n--- mmapAnonPrivate() ---\n"
l_.str.47: ; @.str.47
.asciz "\n\n--- mmapAnonShared() ---\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _createFile ## -- Begin function createFile
.p2align 4, 0x90
_createFile: ## @createFile
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -16(%rbp)
movq -16(%rbp), %rdi
movq -8(%rbp), %rdx
leaq L_.str.2(%rip), %rsi
movb $0, %al
callq _fprintf
movq -16(%rbp), %rdi
callq _fclose
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _printFile ## -- Begin function printFile
.p2align 4, 0x90
_printFile: ## @printFile
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $128, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
leaq L_.str(%rip), %rdi
leaq L_.str.3(%rip), %rsi
callq _fopen
movq %rax, -120(%rbp)
leaq -112(%rbp), %rdi
movq -120(%rbp), %rdx
movl $100, %esi
callq _fgets
cmpq $0, %rax
jne LBB1_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.4(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB1_2:
leaq -112(%rbp), %rsi
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movq -120(%rbp), %rdi
callq _fclose
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_4
## %bb.3:
addq $128, %rsp
popq %rbp
retq
LBB1_4:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _readExample ## -- Begin function readExample
.p2align 4, 0x90
_readExample: ## @readExample
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
leaq L_.str.6(%rip), %rdi
callq _createFile
leaq L_.str(%rip), %rdi
xorl %esi, %esi
movb $0, %al
callq _open
movl %eax, -4(%rbp)
movq $15, -16(%rbp)
movq $0, -24(%rbp)
movq -16(%rbp), %rsi
movl -4(%rbp), %r8d
movq -24(%rbp), %r9
xorl %eax, %eax
movl %eax, %edi
movl $1, %edx
movl $2, %ecx
callq _mmap
movq %rax, -32(%rbp)
movq $-1, %rax
cmpq %rax, -32(%rbp)
jne LBB2_2
## %bb.1:
leaq L_.str.7(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB2_2:
movq -32(%rbp), %rsi
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -36(%rbp)
LBB2_3: ## =>This Inner Loop Header: Depth=1
movl -36(%rbp), %eax
## kill: def $rax killed $eax
cmpq -16(%rbp), %rax
jae LBB2_6
## %bb.4: ## in Loop: Header=BB2_3 Depth=1
movl -36(%rbp), %esi
movq -32(%rbp), %rax
movl -36(%rbp), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %edx
movq -32(%rbp), %rax
movl -36(%rbp), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %ecx
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
## %bb.5: ## in Loop: Header=BB2_3 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB2_3
LBB2_6:
movq -32(%rbp), %rdi
movq -16(%rbp), %rsi
callq _munmap
cmpl $-1, %eax
jne LBB2_8
## %bb.7:
leaq L_.str.10(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB2_8:
movl -4(%rbp), %edi
callq _close
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _readExampleChange ## -- Begin function readExampleChange
.p2align 4, 0x90
_readExampleChange: ## @readExampleChange
.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.6(%rip), %rdi
callq _createFile
leaq L_.str(%rip), %rdi
xorl %esi, %esi
movb $0, %al
callq _open
movl %eax, -4(%rbp)
movq $15, -16(%rbp)
movq $0, -24(%rbp)
movq -16(%rbp), %rsi
movl -4(%rbp), %r8d
movq -24(%rbp), %r9
xorl %eax, %eax
movl %eax, %edi
movl $3, %edx
movl $2, %ecx
callq _mmap
movq %rax, -32(%rbp)
movq $-1, %rax
cmpq %rax, -32(%rbp)
jne LBB3_2
## %bb.1:
leaq L_.str.7(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB3_2:
movq -32(%rbp), %rsi
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
movq -32(%rbp), %rax
movb $74, (%rax)
movq -32(%rbp), %rsi
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.12(%rip), %rdi
callq _createFile
movq -32(%rbp), %rsi
leaq L_.str.13(%rip), %rdi
movb $0, %al
callq _printf
movq -32(%rbp), %rdi
movq -16(%rbp), %rsi
callq _munmap
cmpl $-1, %eax
jne LBB3_4
## %bb.3:
leaq L_.str.10(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB3_4:
movl -4(%rbp), %edi
callq _close
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _writeExample ## -- Begin function writeExample
.p2align 4, 0x90
_writeExample: ## @writeExample
.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.6(%rip), %rdi
callq _createFile
leaq L_.str(%rip), %rdi
movl $2, %esi
movb $0, %al
callq _open
movl %eax, -4(%rbp)
movq $15, -16(%rbp)
movq $0, -24(%rbp)
movq -16(%rbp), %rsi
movl -4(%rbp), %r8d
movq -24(%rbp), %r9
xorl %eax, %eax
movl %eax, %edi
movl $3, %edx
movl $1, %ecx
callq _mmap
movq %rax, -32(%rbp)
movq $-1, %rax
cmpq %rax, -32(%rbp)
jne LBB4_2
## %bb.1:
leaq L_.str.7(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB4_2:
movq -32(%rbp), %rsi
leaq L_.str.14(%rip), %rdi
movb $0, %al
callq _printf
movq -32(%rbp), %rax
movb $74, (%rax)
movq -32(%rbp), %rsi
leaq L_.str.15(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.16(%rip), %rdi
movb $0, %al
callq _printf
callq _printFile
movq -32(%rbp), %rdi
movq -16(%rbp), %rsi
movl $16, %edx
callq _msync
leaq L_.str.17(%rip), %rdi
movb $0, %al
callq _printf
callq _printFile
movq -32(%rbp), %rdi
movq -16(%rbp), %rsi
callq _munmap
cmpl $-1, %eax
jne LBB4_4
## %bb.3:
leaq L_.str.10(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB4_4:
movl -4(%rbp), %edi
callq _close
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _mmapAlloc ## -- Begin function mmapAlloc
.p2align 4, 0x90
_mmapAlloc: ## @mmapAlloc
.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 $8, -8(%rbp)
movq -8(%rbp), %rsi
xorl %eax, %eax
movl %eax, %r9d
movl $3, %edx
movl $4098, %ecx ## imm = 0x1002
movl $4294967295, %r8d ## imm = 0xFFFFFFFF
movq %r9, %rdi
callq _mmap
movq %rax, -16(%rbp)
movq $-1, %rax
cmpq %rax, -16(%rbp)
jne LBB5_2
## %bb.1:
leaq L_.str.7(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB5_2:
movq -16(%rbp), %rdi
movq -8(%rbp), %rsi
callq _munmap
cmpl $-1, %eax
jne LBB5_4
## %bb.3:
leaq L_.str.10(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB5_4:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _mmapAnonPrivate ## -- Begin function mmapAnonPrivate
.p2align 4, 0x90
_mmapAnonPrivate: ## @mmapAnonPrivate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq $8, -8(%rbp)
movq -8(%rbp), %rsi
xorl %eax, %eax
movl %eax, %r9d
movl $3, %edx
movl $4098, %ecx ## imm = 0x1002
movl $4294967295, %r8d ## imm = 0xFFFFFFFF
movq %r9, %rdi
callq _mmap
movq %rax, -16(%rbp)
movq $-1, %rax
cmpq %rax, -16(%rbp)
jne LBB6_2
## %bb.1:
leaq L_.str.7(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB6_2:
leaq L_.str.18(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -20(%rbp)
LBB6_3: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
## kill: def $rax killed $eax
cmpq -8(%rbp), %rax
jae LBB6_6
## %bb.4: ## in Loop: Header=BB6_3 Depth=1
movl -20(%rbp), %esi
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %edx
leaq L_.str.19(%rip), %rdi
movb $0, %al
callq _printf
## %bb.5: ## in Loop: Header=BB6_3 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB6_3
LBB6_6:
callq _fork
cmpl $0, %eax
jne LBB6_12
## %bb.7:
movl $0, -24(%rbp)
LBB6_8: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
## kill: def $rax killed $eax
cmpq -8(%rbp), %rax
jae LBB6_11
## %bb.9: ## in Loop: Header=BB6_8 Depth=1
movl -24(%rbp), %esi
movq -16(%rbp), %rax
movl -24(%rbp), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %edx
leaq L_.str.20(%rip), %rdi
movb $0, %al
callq _printf
## %bb.10: ## in Loop: Header=BB6_8 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB6_8
LBB6_11:
leaq L_.str.21(%rip), %rdi
xorl %eax, %eax
movl %eax, -36(%rbp) ## 4-byte Spill
callq _printf
movl -36(%rbp), %edi ## 4-byte Reload
callq _exit
LBB6_12:
leaq L_.str.22(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -28(%rbp)
LBB6_13: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
## kill: def $rax killed $eax
cmpq -8(%rbp), %rax
jae LBB6_16
## %bb.14: ## in Loop: Header=BB6_13 Depth=1
movl -28(%rbp), %eax
movb %al, %dl
movq -16(%rbp), %rax
movl -28(%rbp), %ecx
## kill: def $rcx killed $ecx
movb %dl, (%rax,%rcx)
## %bb.15: ## in Loop: Header=BB6_13 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB6_13
LBB6_16:
leaq L_.str.23(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.24(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
movl %eax, %edi
callq _wait
leaq L_.str.25(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.26(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -32(%rbp)
LBB6_17: ## =>This Inner Loop Header: Depth=1
movl -32(%rbp), %eax
## kill: def $rax killed $eax
cmpq -8(%rbp), %rax
jae LBB6_20
## %bb.18: ## in Loop: Header=BB6_17 Depth=1
movl -32(%rbp), %esi
movq -16(%rbp), %rax
movl -32(%rbp), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %edx
leaq L_.str.19(%rip), %rdi
movb $0, %al
callq _printf
## %bb.19: ## in Loop: Header=BB6_17 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB6_17
LBB6_20:
movq -16(%rbp), %rdi
movq -8(%rbp), %rsi
callq _munmap
cmpl $-1, %eax
jne LBB6_22
## %bb.21:
leaq L_.str.10(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB6_22:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _mmapAnonShared ## -- Begin function mmapAnonShared
.p2align 4, 0x90
_mmapAnonShared: ## @mmapAnonShared
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq $8, -8(%rbp)
movq -8(%rbp), %rsi
xorl %eax, %eax
movl %eax, %r9d
movl $3, %edx
movl $4097, %ecx ## imm = 0x1001
movl $4294967295, %r8d ## imm = 0xFFFFFFFF
movq %r9, %rdi
callq _mmap
movq %rax, -16(%rbp)
movq $-1, %rax
cmpq %rax, -16(%rbp)
jne LBB7_2
## %bb.1:
leaq L_.str.7(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB7_2:
leaq L_.str.18(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -20(%rbp)
LBB7_3: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
## kill: def $rax killed $eax
cmpq -8(%rbp), %rax
jae LBB7_6
## %bb.4: ## in Loop: Header=BB7_3 Depth=1
movl -20(%rbp), %esi
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %edx
leaq L_.str.19(%rip), %rdi
movb $0, %al
callq _printf
## %bb.5: ## in Loop: Header=BB7_3 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB7_3
LBB7_6:
callq _fork
cmpl $0, %eax
jne LBB7_19
## %bb.7:
movl $0, -24(%rbp)
LBB7_8: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
## kill: def $rax killed $eax
cmpq -8(%rbp), %rax
jae LBB7_11
## %bb.9: ## in Loop: Header=BB7_8 Depth=1
movl -24(%rbp), %esi
movq -16(%rbp), %rax
movl -24(%rbp), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %edx
leaq L_.str.20(%rip), %rdi
movb $0, %al
callq _printf
## %bb.10: ## in Loop: Header=BB7_8 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB7_8
LBB7_11:
leaq L_.str.27(%rip), %rdi
movb $0, %al
callq _printf
movq -16(%rbp), %rax
movb $42, (%rax)
leaq L_.str.28(%rip), %rdi
movb $0, %al
callq _printf
LBB7_12: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movq -8(%rbp), %rcx
subq $1, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
jne LBB7_14
## %bb.13: ## in Loop: Header=BB7_12 Depth=1
movl $1, %edi
callq _sleep
jmp LBB7_12
LBB7_14:
leaq L_.str.29(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -28(%rbp)
LBB7_15: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
## kill: def $rax killed $eax
cmpq -8(%rbp), %rax
jae LBB7_18
## %bb.16: ## in Loop: Header=BB7_15 Depth=1
movl -28(%rbp), %esi
movq -16(%rbp), %rax
movl -28(%rbp), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %edx
leaq L_.str.30(%rip), %rdi
movb $0, %al
callq _printf
## %bb.17: ## in Loop: Header=BB7_15 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB7_15
LBB7_18:
leaq L_.str.31(%rip), %rdi
xorl %eax, %eax
movl %eax, -40(%rbp) ## 4-byte Spill
callq _printf
movl -40(%rbp), %edi ## 4-byte Reload
callq _exit
LBB7_19:
leaq L_.str.32(%rip), %rdi
movb $0, %al
callq _printf
LBB7_20: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movsbl (%rax), %eax
cmpl $42, %eax
je LBB7_22
## %bb.21: ## in Loop: Header=BB7_20 Depth=1
movl $1, %edi
callq _sleep
jmp LBB7_20
LBB7_22:
leaq L_.str.33(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -32(%rbp)
LBB7_23: ## =>This Inner Loop Header: Depth=1
movl -32(%rbp), %eax
## kill: def $rax killed $eax
cmpq -8(%rbp), %rax
jae LBB7_26
## %bb.24: ## in Loop: Header=BB7_23 Depth=1
movl -32(%rbp), %eax
movb %al, %dl
movq -16(%rbp), %rax
movl -32(%rbp), %ecx
## kill: def $rcx killed $ecx
movb %dl, (%rax,%rcx)
## %bb.25: ## in Loop: Header=BB7_23 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB7_23
LBB7_26:
leaq L_.str.34(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.24(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
movl %eax, %edi
callq _wait
leaq L_.str.25(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.26(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -36(%rbp)
LBB7_27: ## =>This Inner Loop Header: Depth=1
movl -36(%rbp), %eax
## kill: def $rax killed $eax
cmpq -8(%rbp), %rax
jae LBB7_30
## %bb.28: ## in Loop: Header=BB7_27 Depth=1
movl -36(%rbp), %esi
movq -16(%rbp), %rax
movl -36(%rbp), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %edx
leaq L_.str.19(%rip), %rdi
movb $0, %al
callq _printf
## %bb.29: ## in Loop: Header=BB7_27 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB7_27
LBB7_30:
movq -16(%rbp), %rdi
movq -8(%rbp), %rsi
callq _munmap
cmpl $-1, %eax
jne LBB7_32
## %bb.31:
leaq L_.str.10(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB7_32:
addq $48, %rsp
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
leaq L_.str.35(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.36(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.37(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.38(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.37(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.39(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.40(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.41(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.42(%rip), %rdi
movb $0, %al
callq _printf
callq _readExample
leaq L_.str.43(%rip), %rdi
movb $0, %al
callq _printf
callq _readExampleChange
leaq L_.str.44(%rip), %rdi
movb $0, %al
callq _printf
callq _writeExample
leaq L_.str.45(%rip), %rdi
movb $0, %al
callq _printf
callq _mmapAlloc
leaq L_.str.46(%rip), %rdi
movb $0, %al
callq _printf
callq _mmapAnonPrivate
leaq L_.str.47(%rip), %rdi
movb $0, %al
callq _printf
callq _mmapAnonShared
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "mmap.temp"
L_.str.1: ## @.str.1
.asciz "w"
L_.str.2: ## @.str.2
.asciz "%s"
L_.str.3: ## @.str.3
.asciz "r"
L_.str.4: ## @.str.4
.asciz "fgets() error\n"
L_.str.5: ## @.str.5
.asciz "file actually contains contains: %s\n"
L_.str.6: ## @.str.6
.asciz "hello world"
L_.str.7: ## @.str.7
.asciz "mmap"
L_.str.8: ## @.str.8
.asciz "Should say hello world: %s\n"
L_.str.9: ## @.str.9
.asciz "ptr[%u] is: '%c' (or %d)\n"
L_.str.10: ## @.str.10
.asciz "munmap"
L_.str.11: ## @.str.11
.asciz "Should say Jello world: %s\n"
L_.str.12: ## @.str.12
.asciz "hello WORLD"
L_.str.13: ## @.str.13
.asciz "Undefined. Might say hello WORLD: %s\n"
L_.str.14: ## @.str.14
.asciz "Before we change the file. Should say hello world: %s\n"
L_.str.15: ## @.str.15
.asciz "After we change the mmap'd memory. Should say hello world: %s\n"
L_.str.16: ## @.str.16
.asciz "File after we change mmap'd memory is undefined before we call msync():\n"
L_.str.17: ## @.str.17
.asciz "File after we change mmap'd memory contains all changes after we call msync():\n"
L_.str.18: ## @.str.18
.asciz "memory is initialized to zero with MAP_ANONYMOUS\n"
L_.str.19: ## @.str.19
.asciz "ptr[%u] = %d\n"
L_.str.20: ## @.str.20
.asciz "child: ptr[%u] = %d\n"
L_.str.21: ## @.str.21
.asciz "Child exited\n"
L_.str.22: ## @.str.22
.asciz "Parent is writing data to the mmap'd area\n"
L_.str.23: ## @.str.23
.asciz "Parent is done writing data to the mmap'd area\n"
L_.str.24: ## @.str.24
.asciz "Parent is waiting for the child to finish\n"
L_.str.25: ## @.str.25
.asciz "Parent detected that child exited.\n"
L_.str.26: ## @.str.26
.asciz "Contents after we store values in memory.\n"
L_.str.27: ## @.str.27
.asciz "Child is putting non-zero data at the beginning of the mmap'd area\n"
L_.str.28: ## @.str.28
.asciz "Child is waiting for non-zero data at the end of the mmap'd area...\n"
L_.str.29: ## @.str.29
.asciz "Child is done waiting.\n"
L_.str.30: ## @.str.30
.asciz "child ptr[%u] = %d\n"
L_.str.31: ## @.str.31
.asciz "Child exited.\n"
L_.str.32: ## @.str.32
.asciz "Parent is waiting for non-zero data in the beginning of the mmap'd area.\n"
L_.str.33: ## @.str.33
.asciz "Parent is done waiting, writing data into entire mmap'd area...\n"
L_.str.34: ## @.str.34
.asciz "Parent is done writing data\n"
L_.str.35: ## @.str.35
.asciz "================= SUMMARY OF MMAP() OPTIONS ===================\n"
L_.str.36: ## @.str.36
.asciz " | File-backed (default) | Anonymous \n"
L_.str.37: ## @.str.37
.asciz "--------+----------------------------+-------------------------\n"
L_.str.38: ## @.str.38
.asciz "Private:| Init memory based on file. | Like malloc(), init to 0\n"
L_.str.39: ## @.str.39
.asciz "Shared: | Init memory based on file. | Share memory between \n"
L_.str.40: ## @.str.40
.asciz " | Write to file when done. | processes. Init to 0. \n"
L_.str.41: ## @.str.41
.asciz " | Shared between processes. | \n"
L_.str.42: ## @.str.42
.asciz "\n\n--- readExample() ---\n"
L_.str.43: ## @.str.43
.asciz "\n\n--- readExampleChange() ---\n"
L_.str.44: ## @.str.44
.asciz "\n\n--- writeExample() ---\n"
L_.str.45: ## @.str.45
.asciz "\n\n--- mmapAlloc() ---\n"
L_.str.46: ## @.str.46
.asciz "\n\n--- mmapAnonPrivate() ---\n"
L_.str.47: ## @.str.47
.asciz "\n\n--- mmapAnonShared() ---\n"
.subsections_via_symbols
| the_stack_data/20843.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _node_create ; -- Begin function node_create
.p2align 2
_node_create: ; @node_create
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur s0, [x29, #-12]
mov x0, #96
bl _malloc
str x0, [sp, #24]
ldr x0, [sp, #24]
ldur x8, [x29, #-8]
mov x9, sp
str x8, [x9]
mov x3, #64
mov x1, x3
mov w2, #0
adrp x4, l_.str@PAGE
add x4, x4, l_.str@PAGEOFF
bl ___snprintf_chk
ldur s0, [x29, #-12]
ldr x8, [sp, #24]
str s0, [x8, #64]
ldr x8, [sp, #24]
; kill: def $x9 killed $xzr
str xzr, [x8, #72]
ldr x8, [sp, #24]
adrp x9, _node_free@PAGE
add x9, x9, _node_free@PAGEOFF
str x9, [sp, #8]
mov w9, #1
strb w9, [sp, #16]
ldur q0, [sp, #8]
str q0, [x8, #80]
ldr x0, [sp, #24]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function node_free
_node_free: ; @node_free
.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
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
subs x8, x8, #80
str x8, [sp, #16]
ldr x8, [sp, #16]
ldr x8, [x8, #72]
str x8, [sp, #8]
ldr x0, [sp, #16]
bl _free
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldr x8, [sp, #8]
add x0, x8, #80
bl _ref_dec_ts
b LBB1_2
LBB1_2:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _node_push ; -- Begin function node_push
.p2align 2
_node_push: ; @node_push
.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
stur x0, [x29, #-8]
str x1, [sp, #16]
str s0, [sp, #12]
ldr x0, [sp, #16]
ldr s0, [sp, #12]
bl _node_create
str x0, [sp]
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr x9, [sp]
str x8, [x9, #72]
ldr x8, [sp]
ldur x9, [x29, #-8]
str x8, [x9]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _node_pop ; -- Begin function node_pop
.p2align 2
_node_pop: ; @node_pop
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr x8, [x8]
str x8, [sp]
ldr x8, [sp, #8]
ldr x8, [x8]
ldr x8, [x8, #72]
ldr x9, [sp, #8]
str x8, [x9]
ldr x8, [sp, #8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
ldr x8, [sp, #8]
ldr x8, [x8]
add x0, x8, #80
bl _ref_inc_ts
b LBB3_2
LBB3_2:
ldr x0, [sp]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function ref_inc_ts
_ref_inc_ts: ; @ref_inc_ts
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
add x9, x8, #8
mov w8, #1
ldaddal w8, w8, [x9]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _node_print ; -- Begin function node_print
.p2align 2
_node_print: ; @node_print
.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
stur x0, [x29, #-8]
b LBB5_1
LBB5_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB5_4
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
ldur x9, [x29, #-8]
ldur x8, [x29, #-8]
ldr s0, [x8, #64]
fcvt d0, s0
mov x8, sp
str x9, [x8]
str d0, [x8, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB5_3
LBB5_3: ; in Loop: Header=BB5_1 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8, #72]
stur x8, [x29, #-8]
b LBB5_1
LBB5_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
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
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #52]
; kill: def $x8 killed $xzr
str xzr, [sp, #40]
b LBB6_1
LBB6_1: ; =>This Inner Loop Header: Depth=1
mov x9, sp
add x8, sp, #56
str x8, [x9]
add x8, sp, #36
str x8, [x9, #8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
subs w8, w0, #2
cset w8, ne
tbnz w8, #0, LBB6_3
b LBB6_2
LBB6_2: ; in Loop: Header=BB6_1 Depth=1
ldr s0, [sp, #36]
add x0, sp, #40
add x1, sp, #56
bl _node_push
b LBB6_1
LBB6_3:
ldr x8, [sp, #40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB6_5
b LBB6_4
LBB6_4:
add x8, sp, #40
str x8, [sp, #16] ; 8-byte Folded Spill
ldr x0, [sp, #40]
bl _node_print
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _node_pop
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
str x8, [sp, #24]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
movi d0, #0000000000000000
bl _node_push
ldr x0, [sp, #40]
bl _node_print
ldr x8, [sp, #24]
add x0, x8, #80
bl _ref_dec_ts
ldr x8, [sp, #40]
add x0, x8, #80
bl _ref_dec
b LBB6_5
LBB6_5:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB6_7
b LBB6_6
LBB6_6:
bl ___stack_chk_fail
LBB6_7:
mov w0, #0
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function ref_dec_ts
_ref_dec_ts: ; @ref_dec_ts
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
add x9, x8, #8
mov w8, #1
neg w8, w8
ldaddal w8, w8, [x9]
subs w8, w8, #1
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB7_2
b LBB7_1
LBB7_1:
ldr x8, [sp, #8]
ldr x8, [x8]
ldr x0, [sp, #8]
blr x8
b LBB7_2
LBB7_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function ref_dec
_ref_dec: ; @ref_dec
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x9, [sp, #8]
ldrb w10, [x9, #8]
mov w8, #-1
add w8, w8, w10, uxtb
strb w8, [x9, #8]
ands w8, w8, #0xff
cset w8, ne
tbnz w8, #0, LBB8_2
b LBB8_1
LBB8_1:
ldr x8, [sp, #8]
ldr x8, [x8]
ldr x0, [sp, #8]
blr x8
b LBB8_2
LBB8_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s"
l_.str.1: ; @.str.1
.asciz "%s = %f\n"
l_.str.2: ; @.str.2
.asciz " %63s %f"
l_.str.3: ; @.str.3
.asciz "foobar"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _node_create ## -- Begin function node_create
.p2align 4, 0x90
_node_create: ## @node_create
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movss %xmm0, -12(%rbp)
movl $96, %edi
callq _malloc
movq %rax, -24(%rbp)
movq -24(%rbp), %rdi
movq -8(%rbp), %r9
movl $64, %ecx
xorl %edx, %edx
leaq L_.str(%rip), %r8
movq %rcx, %rsi
movb $0, %al
callq ___snprintf_chk
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -24(%rbp), %rax
movss %xmm0, 64(%rax)
movq -24(%rbp), %rax
movq $0, 72(%rax)
movq -24(%rbp), %rax
leaq _node_free(%rip), %rcx
movq %rcx, -40(%rbp)
movb $1, -32(%rbp)
movq -40(%rbp), %rcx
movq %rcx, 80(%rax)
movq -32(%rbp), %rcx
movq %rcx, 88(%rax)
movq -24(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function node_free
_node_free: ## @node_free
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
addq $-80, %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movq 72(%rax), %rax
movq %rax, -24(%rbp)
movq -16(%rbp), %rdi
callq _free
cmpq $0, -24(%rbp)
je LBB1_2
## %bb.1:
movq -24(%rbp), %rdi
addq $80, %rdi
callq _ref_dec_ts
LBB1_2:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _node_push ## -- Begin function node_push
.p2align 4, 0x90
_node_push: ## @node_push
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movss %xmm0, -20(%rbp)
movq -16(%rbp), %rdi
movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
callq _node_create
movq %rax, -32(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rcx
movq -32(%rbp), %rax
movq %rcx, 72(%rax)
movq -32(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _node_pop ## -- Begin function node_pop
.p2align 4, 0x90
_node_pop: ## @node_pop
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rax
movq 72(%rax), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
movq -8(%rbp), %rax
cmpq $0, (%rax)
je LBB3_2
## %bb.1:
movq -8(%rbp), %rax
movq (%rax), %rdi
addq $80, %rdi
callq _ref_inc_ts
LBB3_2:
movq -16(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function ref_inc_ts
_ref_inc_ts: ## @ref_inc_ts
.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, -8(%rbp)
movq -8(%rbp), %rax
lock incl 8(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _node_print ## -- Begin function node_print
.p2align 4, 0x90
_node_print: ## @node_print
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
LBB5_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -8(%rbp)
je LBB5_4
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
movq -8(%rbp), %rsi
movq -8(%rbp), %rax
movss 64(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.1(%rip), %rdi
movb $1, %al
callq _printf
## %bb.3: ## in Loop: Header=BB5_1 Depth=1
movq -8(%rbp), %rax
movq 72(%rax), %rax
movq %rax, -8(%rbp)
jmp LBB5_1
LBB5_4:
addq $16, %rsp
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 $112, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -84(%rbp)
movq $0, -96(%rbp)
LBB6_1: ## =>This Inner Loop Header: Depth=1
leaq -80(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
leaq -100(%rbp), %rdx
movb $0, %al
callq _scanf
cmpl $2, %eax
jne LBB6_3
## %bb.2: ## in Loop: Header=BB6_1 Depth=1
leaq -80(%rbp), %rsi
movss -100(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
leaq -96(%rbp), %rdi
callq _node_push
jmp LBB6_1
LBB6_3:
cmpq $0, -96(%rbp)
je LBB6_5
## %bb.4:
movq -96(%rbp), %rdi
callq _node_print
leaq -96(%rbp), %rdi
callq _node_pop
movq %rax, -112(%rbp)
leaq -96(%rbp), %rdi
leaq L_.str.3(%rip), %rsi
xorps %xmm0, %xmm0
callq _node_push
movq -96(%rbp), %rdi
callq _node_print
movq -112(%rbp), %rdi
addq $80, %rdi
callq _ref_dec_ts
movq -96(%rbp), %rdi
addq $80, %rdi
callq _ref_dec
LBB6_5:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB6_7
## %bb.6:
xorl %eax, %eax
addq $112, %rsp
popq %rbp
retq
LBB6_7:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function ref_dec_ts
_ref_dec_ts: ## @ref_dec_ts
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rcx
movl $-1, %eax
lock xaddl %eax, 8(%rcx)
subl $1, %eax
cmpl $0, %eax
jne LBB7_2
## %bb.1:
movq -8(%rbp), %rax
movq (%rax), %rax
movq -8(%rbp), %rdi
callq *%rax
LBB7_2:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function ref_dec
_ref_dec: ## @ref_dec
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rcx
movb 8(%rcx), %al
addb $-1, %al
movb %al, 8(%rcx)
movzbl %al, %eax
cmpl $0, %eax
jne LBB8_2
## %bb.1:
movq -8(%rbp), %rax
movq (%rax), %rax
movq -8(%rbp), %rdi
callq *%rax
LBB8_2:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s"
L_.str.1: ## @.str.1
.asciz "%s = %f\n"
L_.str.2: ## @.str.2
.asciz " %63s %f"
L_.str.3: ## @.str.3
.asciz "foobar"
.subsections_via_symbols
| the_stack_data/154831585.c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.